1 2014-03-14 Roland McGrath <roland@hack.frob.com>
3 * Makeconfig (+gccwarn): Add -Wundef.
4 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5 a dl-sysdep.h breaking its contract.
6 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7 * include/stackinfo.h: New file.
8 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29 * math/libm-test.inc (round_test_data): Add more tests.
31 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36 * math/libm-test.inc (nearbyint_test_data): Add more tests.
38 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43 * math/libm-test.inc (ceil_test_data): Add more tests.
45 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47 * math/libm-test.inc (trunc_test_data): Add more tests related to
50 2014-03-14 Roland McGrath <roland@hack.frob.com>
52 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53 with #if rather than #ifdef.
54 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
56 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
59 first. Disable AVX-512 GCC support if assembler doesn't support
61 * sysdeps/x86_64/configure: Regenerated.
63 2014-03-13 Carlos O'Donell <carlos@redhat.com>
65 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
66 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
67 (__old_pthread_attr_setstack): Likewise.
68 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
69 [!_STACK_GROWS_DOWN]: Likewise.
71 2014-03-13 Mike Frysinger <vapier@gentoo.org>
73 * config.make.in (have-bash2): Delete.
74 * configure.ac (libc_cv_have_bash2): Delete.
75 * configure: Regenerate.
76 * elf/Makefile (common-ldd-rewrite): Rename to ...
77 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
78 (sh-ldd-rewrite): Delete.
79 (bash-ldd-rewrite): Delete.
80 (have-bash2): Delete checks.
81 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
83 2014-03-13 Mike Frysinger <vapier@gentoo.org>
85 * config.make.in (have-ksh): Delete.
87 * configure.ac (libc_cv_have_ksh): Delete.
88 * configure: Regenerate.
90 2014-03-13 Mike Frysinger <vapier@gentoo.org>
92 * elf/Makefile: Delete $(have-ksh) check.
93 ($(objpfx)sotruss): Change KSH to BASH.
94 * elf/sotruss.ksh: Rename to ...
95 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
96 function style to match POSIX. Drop ksh vim mode setting.
98 2014-03-13 Mike Frysinger <vapier@gentoo.org>
100 * manual/time.texi (Specifying the Time Zone with TZ): Change
103 2014-03-13 Mike Frysinger <vapier@gentoo.org>
105 * debug/tst-longjmp_chk2.c: Update header comment.
106 (stackoverflow_handler): Add comment. Call assert on pass value.
108 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
110 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
111 (HAVE_AVX512_ASM_SUPPORT): Likewise.
112 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
113 (La_x86_64_vector): Add zmm.
114 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
115 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
116 ($(objpfx)tst-audit10): New target.
117 ($(objpfx)tst-audit10.out): Likewise.
118 (tst-audit10-ENV): New.
119 (AVX512-CFLAGS): Likewise.
120 (CFLAGS-tst-audit10.c): Likewise.
121 (CFLAGS-tst-auditmod10a.c): Likewise.
122 (CFLAGS-tst-auditmod10b.c): Likewise.
123 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
124 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
125 * sysdeps/x86_64/configure: Regenerated.
126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
127 AVX-512 zmm register support.
128 (_dl_x86_64_save_sse): Likewise.
129 (_dl_x86_64_restore_sse): Likewise.
130 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
131 size vector registers.
132 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
133 (ZMM_SIZE): Likewise.
134 * sysdeps/x86_64/tst-audit10.c: New file.
135 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
136 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
138 2014-03-13 Roland McGrath <roland@hack.frob.com>
140 * configure.ac (HAVE_EHDR_START): New check.
141 * configure: Regenerated.
142 * config.h.in (HAVE_EHDR_START): New #undef.
143 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
144 assuming the lowest-addressed segment maps the start of the file.
146 2014-03-13 Joseph Myers <joseph@codesourcery.com>
148 * INSTALL: Regenerated.
150 2014-03-13 Will Newton <will.newton@linaro.org>
152 * manual/setjmp.texi (System V contexts): Improve
153 clarity and grammar of documentation.
155 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
158 * elf/Makefile (tests): Add tst-pie2.
159 (tests-pie): Add tst-pie2.
160 * elf/tst-pie2.c: New file.
161 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
163 * elf/rtld.c (map_doit): Load executable as lt_executable.
166 2014-03-12 Joseph Myers <joseph@codesourcery.com>
169 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
170 (__ASSUME_PSELECT): Undefine.
172 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
176 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
178 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
179 selector for static builds.
181 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
184 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
187 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
190 selector for static builds.
192 2014-03-11 Joseph Myers <joseph@codesourcery.com>
194 * sysdeps/mips/math_private.h [__mips_hard_float]
195 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
196 libc_feresetround_mips_ctx.
197 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
198 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
199 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
202 * math/s_nextafter.c (__nextafter): Do not return value from
203 overflowing computation.
204 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
205 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
210 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
211 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
213 2014-03-11 Roland McGrath <roland@hack.frob.com>
215 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
216 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
217 Move sfi_sp use from the load-multiple (that no longer sets sp) to
218 the new mov targetting sp.
220 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
224 Define it for static builds as well.
225 (NO_BZERO_IMPL): Likewise.
227 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
229 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
230 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
231 multiarch strspn for PPC64.
232 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
233 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
235 (__libc_ifunc_impl_list): Likewise.
236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
237 multiarch optimizations
238 * string/strspn.c (strspn): Using macro to redefine symbol name.
240 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
241 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
244 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
245 multiarch strncat for PPC64.
246 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
247 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
249 (__libc_ifunc_impl_list): Likewise.
250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
251 multiarch optimizations
253 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
256 * nscd/nscd.service: Make service type forking.
258 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
261 sign in non default rounding modes.
262 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
264 2014-03-08 Joseph Myers <joseph@codesourcery.com>
266 * math/libm-test.inc (ALL_RM_TEST): New macro.
267 (ceil_test): Use ALL_RM_TEST.
268 (cimag_test): Likewise.
269 (conj_test): Likewise.
270 (copysign_test): Likewise.
271 (cproj_test): Likewise.
272 (creal_test): Likewise.
273 (fabs_test): Likewise.
274 (floor_test): Likewise.
275 (fmax_test): Likewise.
276 (fmin_test): Likewise.
277 (fmod_test): Likewise.
278 (fpclassify_test): Likewise.
279 (frexp_test): Likewise.
280 (ilogb_test): Likewise.
281 (isfinite_test): Likewise.
282 (finite_test): Likewise.
283 (isgreater_test): Likewise.
284 (isgreaterequal_test): Likewise.
285 (isinf_test): Likewise.
286 (isless_test): Likewise.
287 (islessequal_test): Likewise.
288 (islessgreater_test): Likewise.
289 (isnan_test): Likewise.
290 (isnormal_test): Likewise.
291 (issignaling_test): Likewise.
292 (isunordered_test): Likewise.
293 (logb_test): Likewise.
294 (logb_downward_test_data): Remove.
295 (logb_test_downward): Likewise.
296 (lround_test): Use ALL_RM_TEST.
297 (llround_test): Likewise.
298 (modf_test): Likewise.
299 (nexttoward_test): Likewise.
300 (remainder_test): Likewise.
301 (drem_test): Likewise.
302 (remainder_tonearest_test_data): Likewise.
303 (remainder_test_tonearest): Likewise.
304 (drem_test_tonearest): Likewise.
305 (remainder_towardzero_test_data): Likewise.
306 (remainder_test_towardzero): Likewise.
307 (drem_test_towardzero): Likewise.
308 (remainder_downward_test_data): Likewise.
309 (remainder_test_downward): Likewise.
310 (drem_test_downward): Likewise.
311 (remainder_upward_test_data): Likewise.
312 (remainder_test_upward): Likewise.
313 (drem_test_upward): Likewise.
314 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
315 (round_test): Use ALL_RM_TEST.
316 (signbit_test): Likewise.
317 (trunc_test): Likewise.
318 (significand_test): Likewise.
319 (main): Don't call removed functions.
321 2014-03-07 Joseph Myers <joseph@codesourcery.com>
324 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
326 (ILL_ILLOPN): Likewise.
327 (ILL_ILLADR): Likewise.
328 (ILL_ILLTRP): Likewise.
329 (ILL_PRVOPC): Likewise.
330 (ILL_PRVREG): Likewise.
331 (ILL_COPROC): Likewise.
332 (ILL_BADSTK): Likewise.
333 (FPE_INTDIV): Likewise.
334 (FPE_INTOVF): Likewise.
335 (FPE_FLTDIV): Likewise.
336 (FPE_FLTOVF): Likewise.
337 (FPE_FLTUND): Likewise.
338 (FPE_FLTRES): Likewise.
339 (FPE_FLTINV): Likewise.
340 (FPE_FLTSUB): Likewise.
341 (SEGV_MAPERR): Likewise.
342 (SEGV_ACCERR): Likewise.
343 (BUS_ADRALN): Likewise.
344 (BUS_ADRERR): Likewise.
345 (BUS_OBJERR): Likewise.
346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
347 (TRAP_TRACE): Likewise.
348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
350 (CLD_KILLED): Likewise.
351 (CLD_DUMPED): Likewise.
352 (CLD_TRAPPED): Likewise.
353 (CLD_STOPPED): Likewise.
354 (CLD_CONTINUED): Likewise.
356 (POLL_OUT): Likewise.
357 (POLL_MSG): Likewise.
358 (POLL_ERR): Likewise.
359 (POLL_PRI): Likewise.
360 (POLL_HUP): Likewise.
361 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
363 (ILL_ILLOPN): Likewise.
364 (ILL_ILLADR): Likewise.
365 (ILL_ILLTRP): Likewise.
366 (ILL_PRVOPC): Likewise.
367 (ILL_PRVREG): Likewise.
368 (ILL_COPROC): Likewise.
369 (ILL_BADSTK): Likewise.
370 (FPE_INTDIV): Likewise.
371 (FPE_INTOVF): Likewise.
372 (FPE_FLTDIV): Likewise.
373 (FPE_FLTOVF): Likewise.
374 (FPE_FLTUND): Likewise.
375 (FPE_FLTRES): Likewise.
376 (FPE_FLTINV): Likewise.
377 (FPE_FLTSUB): Likewise.
378 (SEGV_MAPERR): Likewise.
379 (SEGV_ACCERR): Likewise.
380 (BUS_ADRALN): Likewise.
381 (BUS_ADRERR): Likewise.
382 (BUS_OBJERR): Likewise.
383 (BUS_MCEERR_AR): Likewise.
384 (BUS_MCEERR_AO): Likewise.
385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
386 (TRAP_TRACE): Likewise.
387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
389 (CLD_KILLED): Likewise.
390 (CLD_DUMPED): Likewise.
391 (CLD_TRAPPED): Likewise.
392 (CLD_STOPPED): Likewise.
393 (CLD_CONTINUED): Likewise.
395 (POLL_OUT): Likewise.
396 (POLL_MSG): Likewise.
397 (POLL_ERR): Likewise.
398 (POLL_PRI): Likewise.
399 (POLL_HUP): Likewise.
400 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
401 (ILL_ILLOPN): Likewise.
402 (ILL_ILLADR): Likewise.
403 (ILL_ILLTRP): Likewise.
404 (ILL_PRVOPC): Likewise.
405 (ILL_PRVREG): Likewise.
406 (ILL_COPROC): Likewise.
407 (ILL_BADSTK): Likewise.
408 (FPE_INTDIV): Likewise.
409 (FPE_INTOVF): Likewise.
410 (FPE_FLTDIV): Likewise.
411 (FPE_FLTOVF): Likewise.
412 (FPE_FLTUND): Likewise.
413 (FPE_FLTRES): Likewise.
414 (FPE_FLTINV): Likewise.
415 (FPE_FLTSUB): Likewise.
416 (SEGV_MAPERR): Likewise.
417 (SEGV_ACCERR): Likewise.
418 (BUS_ADRALN): Likewise.
419 (BUS_ADRERR): Likewise.
420 (BUS_OBJERR): Likewise.
421 (BUS_MCEERR_AR): Likewise.
422 (BUS_MCEERR_AO): Likewise.
423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
424 (TRAP_TRACE): Likewise.
425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
427 (CLD_KILLED): Likewise.
428 (CLD_DUMPED): Likewise.
429 (CLD_TRAPPED): Likewise.
430 (CLD_STOPPED): Likewise.
431 (CLD_CONTINUED): Likewise.
433 (POLL_OUT): Likewise.
434 (POLL_MSG): Likewise.
435 (POLL_ERR): Likewise.
436 (POLL_PRI): Likewise.
437 (POLL_HUP): Likewise.
438 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
440 (ILL_ILLOPN): Likewise.
441 (ILL_ILLADR): Likewise.
442 (ILL_ILLTRP): Likewise.
443 (ILL_PRVOPC): Likewise.
444 (ILL_PRVREG): Likewise.
445 (ILL_COPROC): Likewise.
446 (ILL_BADSTK): Likewise.
447 (ILL_BADIADDR): Likewise.
448 (ILL_BREAK): Likewise.
449 (FPE_INTDIV): Likewise.
450 (FPE_INTOVF): Likewise.
451 (FPE_FLTDIV): Likewise.
452 (FPE_FLTOVF): Likewise.
453 (FPE_FLTUND): Likewise.
454 (FPE_FLTRES): Likewise.
455 (FPE_FLTINV): Likewise.
456 (FPE_FLTSUB): Likewise.
457 (FPE_DECOVF): Likewise.
458 (FPE_DECDIV): Likewise.
459 (FPE_DECERR): Likewise.
460 (FPE_INVASC): Likewise.
461 (FPE_INVDEC): Likewise.
462 (SEGV_MAPERR): Likewise.
463 (SEGV_ACCERR): Likewise.
464 (SEGV_PSTKOVF): Likewise.
465 (BUS_ADRALN): Likewise.
466 (BUS_ADRERR): Likewise.
467 (BUS_OBJERR): Likewise.
468 (BUS_MCEERR_AR): Likewise.
469 (BUS_MCEERR_AO): Likewise.
470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
471 (TRAP_TRACE): Likewise.
472 (TRAP_BRANCH): Likewise.
473 (TRAP_HWBKPT): Likewise.
474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
476 (CLD_KILLED): Likewise.
477 (CLD_DUMPED): Likewise.
478 (CLD_TRAPPED): Likewise.
479 (CLD_STOPPED): Likewise.
480 (CLD_CONTINUED): Likewise.
482 (POLL_OUT): Likewise.
483 (POLL_MSG): Likewise.
484 (POLL_ERR): Likewise.
485 (POLL_PRI): Likewise.
486 (POLL_HUP): Likewise.
487 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
488 (ILL_ILLOPN): Likewise.
489 (ILL_ILLADR): Likewise.
490 (ILL_ILLTRP): Likewise.
491 (ILL_PRVOPC): Likewise.
492 (ILL_PRVREG): Likewise.
493 (ILL_COPROC): Likewise.
494 (ILL_BADSTK): Likewise.
495 (FPE_INTDIV): Likewise.
496 (FPE_INTOVF): Likewise.
497 (FPE_FLTDIV): Likewise.
498 (FPE_FLTOVF): Likewise.
499 (FPE_FLTUND): Likewise.
500 (FPE_FLTRES): Likewise.
501 (FPE_FLTINV): Likewise.
502 (FPE_FLTSUB): Likewise.
503 (SEGV_MAPERR): Likewise.
504 (SEGV_ACCERR): Likewise.
505 (BUS_ADRALN): Likewise.
506 (BUS_ADRERR): Likewise.
507 (BUS_OBJERR): Likewise.
508 (BUS_MCEERR_AR): Likewise.
509 (BUS_MCEERR_AO): Likewise.
510 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
511 (TRAP_TRACE): Likewise.
512 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
514 (CLD_KILLED): Likewise.
515 (CLD_DUMPED): Likewise.
516 (CLD_TRAPPED): Likewise.
517 (CLD_STOPPED): Likewise.
518 (CLD_CONTINUED): Likewise.
520 (POLL_OUT): Likewise.
521 (POLL_MSG): Likewise.
522 (POLL_ERR): Likewise.
523 (POLL_PRI): Likewise.
524 (POLL_HUP): Likewise.
525 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
526 (ILL_ILLOPN): Likewise.
527 (ILL_ILLADR): Likewise.
528 (ILL_ILLTRP): Likewise.
529 (ILL_PRVOPC): Likewise.
530 (ILL_PRVREG): Likewise.
531 (ILL_COPROC): Likewise.
532 (ILL_BADSTK): Likewise.
533 (FPE_INTDIV): Likewise.
534 (FPE_INTOVF): Likewise.
535 (FPE_FLTDIV): Likewise.
536 (FPE_FLTOVF): Likewise.
537 (FPE_FLTUND): Likewise.
538 (FPE_FLTRES): Likewise.
539 (FPE_FLTINV): Likewise.
540 (FPE_FLTSUB): Likewise.
541 (SEGV_MAPERR): Likewise.
542 (SEGV_ACCERR): Likewise.
543 (BUS_ADRALN): Likewise.
544 (BUS_ADRERR): Likewise.
545 (BUS_OBJERR): Likewise.
546 (BUS_MCEERR_AR): Likewise.
547 (BUS_MCEERR_AO): Likewise.
548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
549 (TRAP_TRACE): Likewise.
550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
552 (CLD_KILLED): Likewise.
553 (CLD_DUMPED): Likewise.
554 (CLD_TRAPPED): Likewise.
555 (CLD_STOPPED): Likewise.
556 (CLD_CONTINUED): Likewise.
558 (POLL_OUT): Likewise.
559 (POLL_MSG): Likewise.
560 (POLL_ERR): Likewise.
561 (POLL_PRI): Likewise.
562 (POLL_HUP): Likewise.
563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
564 (ILL_ILLOPN): Likewise.
565 (ILL_ILLADR): Likewise.
566 (ILL_ILLTRP): Likewise.
567 (ILL_PRVOPC): Likewise.
568 (ILL_PRVREG): Likewise.
569 (ILL_COPROC): Likewise.
570 (ILL_BADSTK): Likewise.
571 (FPE_INTDIV): Likewise.
572 (FPE_INTOVF): Likewise.
573 (FPE_FLTDIV): Likewise.
574 (FPE_FLTOVF): Likewise.
575 (FPE_FLTUND): Likewise.
576 (FPE_FLTRES): Likewise.
577 (FPE_FLTINV): Likewise.
578 (FPE_FLTSUB): Likewise.
579 (SEGV_MAPERR): Likewise.
580 (SEGV_ACCERR): Likewise.
581 (BUS_ADRALN): Likewise.
582 (BUS_ADRERR): Likewise.
583 (BUS_OBJERR): Likewise.
584 (BUS_MCEERR_AR): Likewise.
585 (BUS_MCEERR_AO): Likewise.
586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
587 (TRAP_TRACE): Likewise.
588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
590 (CLD_KILLED): Likewise.
591 (CLD_DUMPED): Likewise.
592 (CLD_TRAPPED): Likewise.
593 (CLD_STOPPED): Likewise.
594 (CLD_CONTINUED): Likewise.
596 (POLL_OUT): Likewise.
597 (POLL_MSG): Likewise.
598 (POLL_ERR): Likewise.
599 (POLL_PRI): Likewise.
600 (POLL_HUP): Likewise.
601 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
602 (ILL_ILLOPN): Likewise.
603 (ILL_ILLADR): Likewise.
604 (ILL_ILLTRP): Likewise.
605 (ILL_PRVOPC): Likewise.
606 (ILL_PRVREG): Likewise.
607 (ILL_COPROC): Likewise.
608 (ILL_BADSTK): Likewise.
609 (ILL_DBLFLT): Likewise.
610 (ILL_HARDWALL): Likewise.
611 (FPE_INTDIV): Likewise.
612 (FPE_INTOVF): Likewise.
613 (FPE_FLTDIV): Likewise.
614 (FPE_FLTOVF): Likewise.
615 (FPE_FLTUND): Likewise.
616 (FPE_FLTRES): Likewise.
617 (FPE_FLTINV): Likewise.
618 (FPE_FLTSUB): Likewise.
619 (SEGV_MAPERR): Likewise.
620 (SEGV_ACCERR): Likewise.
621 (BUS_ADRALN): Likewise.
622 (BUS_ADRERR): Likewise.
623 (BUS_OBJERR): Likewise.
624 (BUS_MCEERR_AR): Likewise.
625 (BUS_MCEERR_AO): Likewise.
626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
627 (TRAP_TRACE): Likewise.
628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
630 (CLD_KILLED): Likewise.
631 (CLD_DUMPED): Likewise.
632 (CLD_TRAPPED): Likewise.
633 (CLD_STOPPED): Likewise.
634 (CLD_CONTINUED): Likewise.
636 (POLL_OUT): Likewise.
637 (POLL_MSG): Likewise.
638 (POLL_ERR): Likewise.
639 (POLL_PRI): Likewise.
640 (POLL_HUP): Likewise.
641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
642 (ILL_ILLOPN): Likewise.
643 (ILL_ILLADR): Likewise.
644 (ILL_ILLTRP): Likewise.
645 (ILL_PRVOPC): Likewise.
646 (ILL_PRVREG): Likewise.
647 (ILL_COPROC): Likewise.
648 (ILL_BADSTK): Likewise.
649 (FPE_INTDIV): Likewise.
650 (FPE_INTOVF): Likewise.
651 (FPE_FLTDIV): Likewise.
652 (FPE_FLTOVF): Likewise.
653 (FPE_FLTUND): Likewise.
654 (FPE_FLTRES): Likewise.
655 (FPE_FLTINV): Likewise.
656 (FPE_FLTSUB): Likewise.
657 (SEGV_MAPERR): Likewise.
658 (SEGV_ACCERR): Likewise.
659 (BUS_ADRALN): Likewise.
660 (BUS_ADRERR): Likewise.
661 (BUS_OBJERR): Likewise.
662 (BUS_MCEERR_AR): Likewise.
663 (BUS_MCEERR_AO): Likewise.
664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
665 (TRAP_TRACE): Likewise.
666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
668 (CLD_KILLED): Likewise.
669 (CLD_DUMPED): Likewise.
670 (CLD_TRAPPED): Likewise.
671 (CLD_STOPPED): Likewise.
672 (CLD_CONTINUED): Likewise.
674 (POLL_OUT): Likewise.
675 (POLL_MSG): Likewise.
676 (POLL_ERR): Likewise.
677 (POLL_PRI): Likewise.
678 (POLL_HUP): Likewise.
679 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
680 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
683 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
684 before #include of <time.h>.
685 [!__USE_XOPEN2K] (__need_timespec): Likewise.
686 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
687 (test-xfail-UNIX98/sched.h/conform): Likewise.
689 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
691 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
692 error absence of trapping exception support.
693 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
695 2014-03-07 Joseph Myers <joseph@codesourcery.com>
697 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
698 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
699 * timezone/Makefile (testdata): Move definition above include of
701 (test-zones): New variable.
702 (tests-special): Add zone files.
703 (build-testdata): Use $(evaluate-test).
705 * elf/Makefile (tests-special): Rename tests to end with .out.
706 ($(objpfx)noload-mem): Likewise.
707 ($(objpfx)tst-leaks1-mem): Likewise.
708 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
709 * iconv/Makefile (xtests-special): Change test-iconvconfig to
710 $(objpfx)test-iconvconfig.out.
711 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
712 set -e inside subshell and redirect output to file.
713 * iconvdata/Makefile (generated): Rename tests to end with .out.
715 (tests-special): Rename tests to end with .out.
716 ($(objpfx)mtrace-tst-loading): Likewise.
717 * intl/Makefile (generated): Likewise.
718 (tests-special): Likewise.
719 ($(objpfx)mtrace-tst-gettext): Likewise.
720 * misc/Makefile (generated): Likewise.
721 (tests-special): Likewise.
722 ($(objpfx)tst-error1-mem): Likewise.
723 * nptl/Makefile (tests-special): Likewise.
724 ($(objpfx)tst-stack3-mem): Likewise.
725 (generated): Likewise.
726 * posix/Makefile (generated): Likewise.
727 (tests-special): Likewise.
728 (xtests-special): Likewise.
729 ($(objpfx)tst-fnmatch-mem): Likewise.
730 ($(objpfx)bug-regex2-mem): Likewise.
731 ($(objpfx)bug-regex14-mem): Likewise.
732 ($(objpfx)bug-regex21-mem): Likewise.
733 ($(objpfx)bug-regex31-mem): Likewise.
734 ($(objpfx)tst-vfork3-mem): Likewise.
735 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
736 ($(objpfx)tst-pcre-mem): Likewise.
737 ($(objpfx)tst-boost-mem): Likewise.
738 ($(objpfx)bug-ga2-mem): Likewise.
739 ($(objpfx)bug-glob2-mem): Likewise.
740 * resolv/Makefile (generate): Likewise.
741 (tests-special): Likewise.
742 (xtests-special): Likewise.
743 (generated): Likewise.
744 ($(objpfx)mtrace-tst-leaks): Likewise.
745 ($(objpfx)mtrace-tst-leaks2): Likewise.
747 * scripts/merge-test-results.sh: New file.
748 * Makefile (tests-special-notdir): New variable.
749 (tests): Run merge-test-results.sh.
751 * Rules (tests-special-notdir): New variable.
752 (xtests-special-notdir): Likewise.
753 (tests): Run merge-test-results.sh
756 * Makeconfig (test-xfail-name): New variable.
757 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
758 compute variable name for expected failures.
759 * conform/Makefile (conformtest-headers-data): New variable.
760 (conformtest-standards): Likewise.
761 (conformtest-headers-ISO): Likewise.
762 (conformtest-headers-ISO99): Likewise.
763 (conformtest-headers-ISO11): Likewise.
764 (conformtest-headers-POSIX): Likewise.
765 (conformtest-headers-XPG3): Likewise.
766 (conformtest-headers-XPG4): Likewise.
767 (conformtest-headers-UNIX98): Likewise.
768 (conformtest-headers-XOPEN2K): Likewise.
769 (conformtest-headers-POSIX2008): Likewise.
770 (conformtest-headers-XOPEN2K8): Likewise.
771 (conformtest-header-list-base): Likewise.
772 (conformtest-header-list-tests): Likewise.
773 (conformtest-header-base): Likewise.
774 (conformtest-header-tests): Likewise.
775 (tests-special): Add $(conformtest-header-list-tests). If
776 [$(fast-check) && !$(cross-compiling)], add
777 $(conformtest-header-tests) instead of
778 $(objpfx)run-conformtest.out.
779 (generated): Add $(conformtest-header-list-base). If
780 [$(fast-check) && !$(cross-compiling)], add
781 $(conformtest-header-base). Remove previous setting.
782 ($(conformtest-header-list-tests)): New target.
783 (test-xfail-run-conformtest): Remove variable.
784 ($(objpfx)run-conformtest.out): Remove target.
785 (test-xfail-ISO11/complex.h/conform): New variable.
786 (test-xfail-ISO11/stdalign.h/conform): Likewise.
787 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
788 (test-xfail-XPG3/varargs.h/conform): Likewise.
789 (test-xfail-XPG4/varargs.h/conform): Likewise.
790 (test-xfail-UNIX98/varargs.h/conform): Likewise.
791 (test-xfail-XPG4/ndbm.h/conform): Likewise.
792 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
793 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
794 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
795 (test-xfail-XPG3/fcntl.h/conform): Likewise.
796 (test-xfail-XPG3/ftw.h/conform): Likewise.
797 (test-xfail-XPG3/grp.h/conform): Likewise.
798 (test-xfail-XPG3/langinfo.h/conform): Likewise.
799 (test-xfail-XPG3/limits.h/conform): Likewise.
800 (test-xfail-XPG3/pwd.h/conform): Likewise.
801 (test-xfail-XPG3/search.h/conform): Likewise.
802 (test-xfail-XPG3/signal.h/conform): Likewise.
803 (test-xfail-XPG3/stdio.h/conform): Likewise.
804 (test-xfail-XPG3/stdlib.h/conform): Likewise.
805 (test-xfail-XPG3/string.h/conform): Likewise.
806 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
807 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
808 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
809 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
810 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
811 (test-xfail-XPG3/sys/types.h/conform): Likewise.
812 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
813 (test-xfail-XPG3/termios.h/conform): Likewise.
814 (test-xfail-XPG3/time.h/conform): Likewise.
815 (test-xfail-XPG3/unistd.h/conform): Likewise.
816 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
817 (test-xfail-XPG4/fcntl.h/conform): Likewise.
818 (test-xfail-XPG4/langinfo.h/conform): Likewise.
819 (test-xfail-XPG4/netdb.h/conform): Likewise.
820 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
821 (test-xfail-XPG4/signal.h/conform): Likewise.
822 (test-xfail-XPG4/stdio.h/conform): Likewise.
823 (test-xfail-XPG4/stdlib.h/conform): Likewise.
824 (test-xfail-XPG4/stropts.h/conform): Likewise.
825 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
826 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
827 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
828 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
829 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
830 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
831 (test-xfail-XPG4/sys/time.h/conform): Likewise.
832 (test-xfail-XPG4/sys/types.h/conform): Likewise.
833 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
834 (test-xfail-XPG4/termios.h/conform): Likewise.
835 (test-xfail-XPG4/ucontext.h/conform): Likewise.
836 (test-xfail-XPG4/unistd.h/conform): Likewise.
837 (test-xfail-XPG4/utmpx.h/conform): Likewise.
838 (test-xfail-POSIX/sched.h/conform): Likewise.
839 (test-xfail-POSIX/signal.h/conform): Likewise.
840 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
841 (test-xfail-POSIX/tar.h/conform): Likewise.
842 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
843 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
844 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
845 (test-xfail-UNIX98/netdb.h/conform): Likewise.
846 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
847 (test-xfail-UNIX98/sched.h/conform): Likewise.
848 (test-xfail-UNIX98/signal.h/conform): Likewise.
849 (test-xfail-UNIX98/stdio.h/conform): Likewise.
850 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
851 (test-xfail-UNIX98/stropts.h/conform): Likewise.
852 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
853 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
854 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
855 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
856 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
857 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
858 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
859 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
860 (test-xfail-UNIX98/unistd.h/conform): Likewise.
861 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
862 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
863 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
864 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
865 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
866 (test-xfail-XOPEN2K/math.h/conform): Likewise.
867 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
868 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
869 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
870 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
871 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
872 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
873 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
874 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
875 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
876 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
877 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
878 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
879 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
880 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
881 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
882 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
883 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
884 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
885 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
886 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
887 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
888 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
889 (test-xfail-POSIX2008/signal.h/conform): Likewise.
890 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
891 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
892 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
893 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
894 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
895 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
896 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
897 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
898 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
899 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
900 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
901 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
902 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
903 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
904 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
905 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
906 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
907 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
908 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
909 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
910 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
911 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
912 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
913 (conformtest-cc-flags): Likewise.
914 ($(conformtest-header-tests): New target.
915 * conform/check-header-lists.sh: New file.
916 * conform/run-conformtest.sh: Remove.
918 * conform/conformtest.pl: Allow ' and \ in values given for
920 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
922 [POSIX] (sys/types.h): Likewise.
923 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
925 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
927 * conform/data/signal.h-data (SIGIO): Remove expectation.
928 [XPG3] (SIGBUS): Do not expect.
929 [POSIX || XPG3] (SIGPOLL): Likewise.
930 [POSIX || XPG3] (SIGPROF): Likewise.
931 [POSIX || XPG3] (SIGSYS): Likewise.
932 [XPG3] (SIGTRAP): Likewise.
933 [POSIX || XPG3] (SIGURG): Likewise.
934 [POSIX || XPG3] (SIGVTALRM): Likewise.
935 [POSIX || XPG3] (SIGXCPU): Likewise.
936 [POSIX || XPG3] (SIGXFSZ): Likewise.
937 [POSIX] (SA_SIGINFO): Expect.
938 [XPG3] (siginfo_t): Do not expect type or contents.
939 [POSIX] (si_pid): Do not expect element.
940 [POSIX] (si_uid): Likewise.
941 [POSIX] (si_addr): Likewise.
942 [POSIX] (si_status): Likewise.
943 [POSIX] (si_band): Likewise.
944 [XPG4] (si_value): Likewise.
945 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
946 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
947 [POSIX || XPG3] (ILL_ILLADR): Likewise.
948 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
949 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
950 [POSIX || XPG3] (ILL_PRVREG): Likewise.
951 [POSIX || XPG3] (ILL_COPROC): Likewise.
952 [POSIX || XPG3] (ILL_BADSTK): Likewise.
953 [POSIX || XPG3] (FPE_INTDIV): Likewise.
954 [POSIX || XPG3] (FPE_INTOVF): Likewise.
955 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
956 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
957 [POSIX || XPG3] (FPE_FLTUND): Likewise.
958 [POSIX || XPG3] (FPE_FLTRES): Likewise.
959 [POSIX || XPG3] (FPE_FLTINV): Likewise.
960 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
961 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
962 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
963 [POSIX || XPG3] (BUS_ADRALN): Likewise.
964 [POSIX || XPG3] (BUS_ADRERR): Likewise.
965 [POSIX || XPG3] (BUS_OBJERR): Likewise.
966 [POSIX || XPG3] (CLD_EXITED): Likewise.
967 [POSIX || XPG3] (CLD_KILLED): Likewise.
968 [POSIX || XPG3] (CLD_DUMPED): Likewise.
969 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
970 [POSIX || XPG3] (CLD_STOPPED): Likewise.
971 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
972 [POSIX || XPG3] (POLL_IN): Likewise.
973 [POSIX || XPG3] (POLL_OUT): Likewise.
974 [POSIX || XPG3] (POLL_MSG): Likewise.
975 [POSIX || XPG3] (POLL_ERR): Likewise.
976 [POSIX || XPG3] (POLL_PRI): Likewise.
977 [POSIX || XPG3] (POLL_HUP): Likewise.
978 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
979 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
980 (SIG*): Do not allow.
981 [XPG3] (si_*): Likewise.
982 [XPG3] (SI_*): Likewise.
983 [XPG3 || XPG4] (sigev_*): Likewise.
984 [XPG3 || XPG4] (SIGEV_*): Likewise.
985 [XPG3 || XPG4] (sival_*): Likewise.
986 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
987 [POSIX || XPG3] (BUS_*): Likewise.
988 [POSIX || XPG3] (CLD_*): Likewise.
989 [POSIX || XPG3] (FPE_*): Likewise.
990 [POSIX || XPG3] (ILL_*): Likewise.
991 [POSIX || XPG3] (POLL_*): Likewise.
992 [POSIX || XPG3] (SEGV_*): Likewise.
993 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
994 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
995 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
996 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
997 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
998 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
999 Specify type and value.
1000 (TVERSLEN): Likewise.
1001 (REGTYPE): Likewise.
1002 (AREGTYPE): Likewise.
1003 (LNKTYPE): Likewise.
1004 (SYMTYPE): Likewise.
1005 (CHRTYPE): Likewise.
1006 (BLKTYPE): Likewise.
1007 (DIRTYPE): Likewise.
1008 (FIFOTYPE): Likewise.
1009 (CONTTYPE): Likewise.
1014 (TUWRITE): Likewise.
1017 (TGWRITE): Likewise.
1020 (TOWRITE): Likewise.
1022 [POSIX] (TSVTX): Expect constant.
1024 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1026 * Makefile (tests): Change dependencies to ....
1027 (tests-special): ... additions to this variable.
1028 (tests): Depend on $(tests-special).
1029 * Makerules (check-abi-list): New variable.
1030 (check-abi): Depend on $(check-abi-list).
1031 [$(subdir) = elf] (tests-special): Add
1032 $(objpfx)check-abi-libc.out.
1033 [$(build-shared) = yes && subdir] (tests-special): Add
1035 [$(build-shared) = yes && subdir] (tests): Do not depend on
1037 * Rules (tests): Depend on $(tests-special).
1038 (xtests): Depend on $(xtests-special).
1039 * catgets/Makefile (tests): Change dependencies to ....
1040 (tests-special): ... additions to this variable.
1041 * conform/Makefile (tests): Change dependencies to ....
1042 (tests-special): ... additions to this variable.
1043 * elf/Makefile (tests): Change dependencies to ....
1044 (tests-special): ... additions to this variable.
1045 * grp/Makefile (tests): Change dependencies to ....
1046 (tests-special): ... additions to this variable.
1047 * iconv/Makefile (xtests): Change dependencies to ....
1048 (xtests-special): ... additions to this variable.
1049 * iconvdata/Makefile (tests): Change dependencies to ....
1050 (tests-special): ... additions to this variable.
1051 * intl/Makefile (tests): Change dependencies to ....
1052 (tests-special): ... additions to this variable. Also add
1053 $(objpfx)tst-gettext.out.
1054 * io/Makefile (tests): Change dependencies to ....
1055 (tests-special): ... additions to this variable.
1056 * libio/Makefile (tests): Change dependencies to ....
1057 (tests-special): ... additions to this variable.
1058 * malloc/Makefile (tests): Change dependencies to ....
1059 (tests-special): ... additions to this variable.
1060 * misc/Makefile (tests): Change dependencies to ....
1061 (tests-special): ... additions to this variable.
1062 * nptl/Makefile (tests): Change dependencies to ....
1063 (tests-special): ... additions to this variable.
1064 * nptl_db/Makefile (tests): Change dependencies to ....
1065 (tests-special): ... additions to this variable.
1066 * posix/Makefile (tests): Change dependencies to ....
1067 (tests-special): ... additions to this variable.
1068 (xtests): Change dependencies to ....
1069 (xtests-special): ... additions to this variable.
1070 * resolv/Makefile (tests): Change dependencies to ....
1071 (tests-special): ... additions to this variable.
1072 (xtests): Change dependencies to ....
1073 (xtests-special): ... additions to this variable.
1074 * stdio-common/Makefile (tests): Change dependencies to ....
1075 (tests-special): ... additions to this variable.
1076 (do-tst-unbputc): Remove target.
1077 (do-tst-printf): Likewise.
1078 * stdlib/Makefile (tests): Change dependencies to ....
1079 (tests-special): ... additions to this variable.
1080 * string/Makefile (tests): Change dependencies to ....
1081 (tests-special): ... additions to this variable.
1082 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1083 (tests-special): ... additions to this variable.
1085 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1087 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1089 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1090 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1092 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1093 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1094 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1095 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1096 * conform/data/libgen.h-data [XPG3]: Likewise.
1097 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1098 * conform/data/ndbm.h-data [XPG3]: Likewise.
1099 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1100 * conform/data/netdb.h-data [XPG3]: Likewise.
1101 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1102 * conform/data/poll.h-data [XPG3]: Likewise.
1103 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1104 * conform/data/strings.h-data [XPG3]: Likewise.
1105 * conform/data/stropts.h-data [XPG3]: Likewise.
1106 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1107 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1108 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1110 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1111 * conform/data/sys/time.h-data [XPG3]: Likewise.
1112 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1113 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1114 * conform/data/sys/un.h-data [XPG3]: Likewise.
1115 * conform/data/syslog.h-data [XPG3]: Likewise.
1116 * conform/data/ucontext.h-data [XPG3]: Likewise.
1117 * conform/data/utmpx.h-data [XPG3]: Likewise.
1118 * conform/data/varargs.h-data [UNIX98]: Enable file.
1120 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1122 * math/libm-test.inc (struct test_f_f_data): Move expected results
1123 into structure for each rounding mode.
1124 (struct test_ff_f_data): Likewise.
1125 (struct test_ff_f_data_nexttoward): Likewise.
1126 (struct test_fi_f_data): Likewise.
1127 (struct test_fl_f_data): Likewise.
1128 (struct test_if_f_data): Likewise.
1129 (struct test_fff_f_data): Likewise.
1130 (struct test_c_f_data): Likewise.
1131 (struct test_f_f1_data): Likewise.
1132 (struct test_fF_f1_data): Likewise.
1133 (struct test_ffI_f1_data): Likewise.
1134 (struct test_c_c_data): Likewise.
1135 (struct test_cc_c_data): Likewise.
1136 (struct test_f_i_data): Likewise.
1137 (struct test_ff_i_data): Likewise.
1138 (struct test_f_l_data): Likewise.
1139 (struct test_f_L_data): Likewise.
1140 (struct test_fFF_11_data): Likewise.
1142 (RM_FE_DOWNWARD): Likewise.
1143 (RM_FE_TONEAREST): Likewise.
1144 (RM_FE_TOWARDZERO): Likewise.
1145 (RM_FE_UPWARD): Likewise.
1146 (RUN_TEST_LOOP_f_f): Update references to expected results.
1147 (RUN_TEST_LOOP_2_f): Likewise.
1148 (RUN_TEST_LOOP_fff_f): Likewise.
1149 (RUN_TEST_LOOP_c_f): Likewise.
1150 (RUN_TEST_LOOP_f_f1): Likewise.
1151 (RUN_TEST_LOOP_fF_f1): Likewise.
1152 (RUN_TEST_LOOP_fI_f1): Likewise.
1153 (RUN_TEST_LOOP_ffI_f1): Likewise.
1154 (RUN_TEST_LOOP_c_c): Likewise.
1155 (RUN_TEST_LOOP_cc_c): Likewise.
1156 (RUN_TEST_LOOP_f_i): Likewise.
1157 (RUN_TEST_LOOP_f_i_tg): Likewise.
1158 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1159 (RUN_TEST_LOOP_f_b): Likewise.
1160 (RUN_TEST_LOOP_f_b_tg): Likewise.
1161 (RUN_TEST_LOOP_f_l): Likewise.
1162 (RUN_TEST_LOOP_f_L): Likewise.
1163 (RUN_TEST_LOOP_fFF_11): Likewise.
1164 * math/gen-libm-test.pl (parse_args): Output four copies of
1165 expected results for each test.
1167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1168 (__ASSUME_UTIMES): Remove.
1169 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1170 (__ASSUME_UTIMES): Likewise.
1172 * math/gen-auto-libm-tests.c: Update comment on output format.
1173 (output_for_one_input_case): Generate before-rounding and
1174 after-rounding information as conditions on output flags not
1175 floating-point format.
1176 * math/auto-libm-test-out: Regenerated.
1177 * math/gen-libm-test.pl (cond_value): New function.
1178 (or_cond_value): Use cond_value.
1179 (generate_testfile): Handle conditional exceptions.
1181 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1183 * math/libm-test.inc (max_valid_error): New variable.
1184 (init_max_error): Take new argument specifying whether function
1185 results are exactly determined. Set max_valid_error and bound
1186 other variables for errors based on this argument.
1187 (set_max_error): Do not record results above max_valid_error.
1188 (check_float_internal): Only accept errors of up to 0.5ulps if
1189 also at most max_valid_error.
1190 (START): Take new argument EXACT and pass it to init_max_error.
1191 (acos_test): Update call to START.
1192 (acos_test_tonearest): Likewise.
1193 (acos_test_towardzero): Likewise.
1194 (acos_test_downward): Likewise.
1195 (acos_test_upward): Likewise.
1196 (acosh_test): Likewise.
1197 (asin_test): Likewise.
1198 (asin_test_tonearest): Likewise.
1199 (asin_test_towardzero): Likewise.
1200 (asin_test_downward): Likewise.
1201 (asin_test_upward): Likewise.
1202 (asinh_test): Likewise.
1203 (atan_test): Likewise.
1204 (atanh_test): Likewise.
1205 (atan2_test): Likewise.
1206 (cabs_test): Likewise.
1207 (cacos_test): Likewise.
1208 (cacosh_test): Likewise.
1209 (carg_test): Likewise.
1210 (casin_test): Likewise.
1211 (casinh_test): Likewise.
1212 (catan_test): Likewise.
1213 (catanh_test): Likewise.
1214 (cbrt_test): Likewise.
1215 (ccos_test): Likewise.
1216 (ccosh_test): Likewise.
1217 (ceil_test): Likewise.
1218 (cexp_test): Likewise.
1219 (cimag_test): Likewise.
1220 (clog_test): Likewise.
1221 (clog10_test): Likewise.
1222 (conj_test): Likewise.
1223 (copysign_test): Likewise.
1224 (cos_test): Likewise.
1225 (cos_test_tonearest): Likewise.
1226 (cos_test_towardzero): Likewise.
1227 (cos_test_downward): Likewise.
1228 (cos_test_upward): Likewise.
1229 (cosh_test): Likewise.
1230 (cosh_test_tonearest): Likewise.
1231 (cosh_test_towardzero): Likewise.
1232 (cosh_test_downward): Likewise.
1233 (cosh_test_upward): Likewise.
1234 (cpow_test): Likewise.
1235 (cproj_test): Likewise.
1236 (creal_test): Likewise.
1237 (csin_test): Likewise.
1238 (csinh_test): Likewise.
1239 (csqrt_test): Likewise.
1240 (ctan_test): Likewise.
1241 (ctan_test_tonearest): Likewise.
1242 (ctan_test_towardzero): Likewise.
1243 (ctan_test_downward): Likewise.
1244 (ctan_test_upward): Likewise.
1245 (ctanh_test): Likewise.
1246 (ctanh_test_tonearest): Likewise.
1247 (ctanh_test_towardzero): Likewise.
1248 (ctanh_test_downward): Likewise.
1249 (ctanh_test_upward): Likewise.
1250 (erf_test): Likewise.
1251 (erfc_test): Likewise.
1252 (exp_test): Likewise.
1253 (exp_test_tonearest): Likewise.
1254 (exp_test_towardzero): Likewise.
1255 (exp_test_downward): Likewise.
1256 (exp_test_upward): Likewise.
1257 (exp10_test): Likewise.
1258 (exp10_test_tonearest): Likewise.
1259 (exp10_test_towardzero): Likewise.
1260 (exp10_test_downward): Likewise.
1261 (exp10_test_upward): Likewise.
1262 (pow10_test): Likewise.
1263 (exp2_test): Likewise.
1264 (expm1_test): Likewise.
1265 (expm1_test_tonearest): Likewise.
1266 (expm1_test_towardzero): Likewise.
1267 (expm1_test_downward): Likewise.
1268 (expm1_test_upward): Likewise.
1269 (fabs_test): Likewise.
1270 (fdim_test): Likewise.
1271 (floor_test): Likewise.
1272 (fma_test): Likewise.
1273 (fma_test_towardzero): Likewise.
1274 (fma_test_downward): Likewise.
1275 (fma_test_upward): Likewise.
1276 (fmax_test): Likewise.
1277 (fmin_test): Likewise.
1278 (fmod_test): Likewise.
1279 (fpclassify_test): Likewise.
1280 (frexp_test): Likewise.
1281 (hypot_test): Likewise.
1282 (ilogb_test): Likewise.
1283 (isfinite_test): Likewise.
1284 (finite_test): Likewise.
1285 (isgreater_test): Likewise.
1286 (isgreaterequal_test): Likewise.
1287 (isinf_test): Likewise.
1288 (isless_test): Likewise.
1289 (islessequal_test): Likewise.
1290 (islessgreater_test): Likewise.
1291 (isnan_test): Likewise.
1292 (isnormal_test): Likewise.
1293 (issignaling_test): Likewise.
1294 (isunordered_test): Likewise.
1295 (j0_test): Likewise.
1296 (j1_test): Likewise.
1297 (jn_test): Likewise.
1298 (ldexp_test): Likewise.
1299 (lgamma_test): Likewise.
1300 (gamma_test): Likewise.
1301 (lrint_test): Likewise.
1302 (lrint_test_tonearest): Likewise.
1303 (lrint_test_towardzero): Likewise.
1304 (lrint_test_downward): Likewise.
1305 (lrint_test_upward): Likewise.
1306 (llrint_test): Likewise.
1307 (llrint_test_tonearest): Likewise.
1308 (llrint_test_towardzero): Likewise.
1309 (llrint_test_downward): Likewise.
1310 (llrint_test_upward): Likewise.
1311 (log_test): Likewise.
1312 (log10_test): Likewise.
1313 (log1p_test): Likewise.
1314 (log2_test): Likewise.
1315 (logb_test): Likewise.
1316 (logb_test_downward): Likewise.
1317 (lround_test): Likewise.
1318 (llround_test): Likewise.
1319 (modf_test): Likewise.
1320 (nearbyint_test): Likewise.
1321 (nextafter_test): Likewise.
1322 (nexttoward_test): Likewise.
1323 (pow_test): Likewise.
1324 (pow_test_tonearest): Likewise.
1325 (pow_test_towardzero): Likewise.
1326 (pow_test_downward): Likewise.
1327 (pow_test_upward): Likewise.
1328 (remainder_test): Likewise.
1329 (drem_test): Likewise.
1330 (remainder_test_tonearest): Likewise.
1331 (drem_test_tonearest): Likewise.
1332 (remainder_test_towardzero): Likewise.
1333 (drem_test_towardzero): Likewise.
1334 (remainder_test_downward): Likewise.
1335 (drem_test_downward): Likewise.
1336 (remainder_test_upward): Likewise.
1337 (drem_test_upward): Likewise.
1338 (remquo_test): Likewise.
1339 (rint_test): Likewise.
1340 (rint_test_tonearest): Likewise.
1341 (rint_test_towardzero): Likewise.
1342 (rint_test_downward): Likewise.
1343 (rint_test_upward): Likewise.
1344 (round_test): Likewise.
1345 (scalb_test): Likewise.
1346 (scalbn_test): Likewise.
1347 (scalbln_test): Likewise.
1348 (signbit_test): Likewise.
1349 (sin_test): Likewise.
1350 (sin_test_tonearest): Likewise.
1351 (sin_test_towardzero): Likewise.
1352 (sin_test_downward): Likewise.
1353 (sin_test_upward): Likewise.
1354 (sincos_test): Likewise.
1355 (sinh_test): Likewise.
1356 (sinh_test_tonearest): Likewise.
1357 (sinh_test_towardzero): Likewise.
1358 (sinh_test_downward): Likewise.
1359 (sinh_test_upward): Likewise.
1360 (sqrt_test): Likewise.
1361 (sqrt_test_tonearest): Likewise.
1362 (sqrt_test_towardzero): Likewise.
1363 (sqrt_test_downward): Likewise.
1364 (sqrt_test_upward): Likewise.
1365 (tan_test): Likewise.
1366 (tan_test_tonearest): Likewise.
1367 (tan_test_towardzero): Likewise.
1368 (tan_test_downward): Likewise.
1369 (tan_test_upward): Likewise.
1370 (tanh_test): Likewise.
1371 (tgamma_test): Likewise.
1372 (trunc_test): Likewise.
1373 (y0_test): Likewise.
1374 (y1_test): Likewise.
1375 (yn_test): Likewise.
1376 (significand_test): Likewise.
1378 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1379 individual tests in comment.
1380 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1381 (prev_max_error): New variable.
1382 (prev_real_max_error): Likewise.
1383 (prev_imag_max_error): Likewise.
1384 (compare_ulp_data): Don't refer to test names in comment.
1385 (find_test_ulps): Remove function.
1386 (find_function_ulps): Likewise.
1387 (find_complex_function_ulps): Likewise.
1388 (init_max_error): Take function name as argument. Look up ulps
1390 (print_ulps): Remove function.
1391 (print_max_error): Use prev_max_error instead of calling
1393 (print_complex_max_error): Use prev_real_max_error and
1394 prev_imag_max_error instead of calling find_complex_function_ulps.
1395 (check_float_internal): Take max_ulp parameter instead of calling
1396 find_test_ulps. Don't call print_ulps.
1397 (check_float): Update call to check_float_internal.
1398 (check_complex): Update calls to check_float_internal.
1399 (START): Pass argument to init_max_error.
1400 * math/gen-libm-test.pl (%results): Don't include "kind"
1402 (parse_ulps): Don't handle ulps of individual tests.
1403 (print_ulps_file): Likewise.
1404 (output_ulps): Likewise.
1405 * math/README.libm-test: Update.
1406 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1408 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1409 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1410 * sysdeps/arm/libm-test-ulps: Likewise.
1411 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1412 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1413 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1415 * sysdeps/microblaze/libm-test-ulps: Likewise.
1416 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1417 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1419 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1420 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1421 * sysdeps/sh/libm-test-ulps: Likewise.
1422 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1423 * sysdeps/tile/libm-test-ulps: Likewise.
1424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1426 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1428 * math/libm-test.inc (print_complex_max_error): Check separately
1429 whether real and imaginary errors are within allowed range and
1430 pass 0 to print_complex_function_ulps instead of value within
1433 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1435 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1437 (get_handles_fopen): Likewise.
1438 (do_write_test): Likewise.
1440 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1442 * libio/fileops.c (do_ftell): Use cached offset when
1444 * libio/iofwide.c (do_ftell_wide): Likewise.
1445 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1447 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1450 * libio/libioP.h (get_file_offset): New function.
1451 * libio/fileops.c (get_file_offset): Likewise.
1452 (do_ftell): Likewise.
1453 (_IO_new_file_seekoff): Split out ftell logic.
1454 * libio/wfileops.c (do_ftell_wide): Likewise.
1455 (_IO_wfile_seekoff): Split out ftell logic.
1456 * libio/tst-ftell-active-handler.c: New test case.
1457 * libio/Makefile (tests): Add it.
1459 2014-03-03 Roland McGrath <roland@hack.frob.com>
1461 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1462 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1464 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1467 * nscd/connections.c (nscd_init): Call do_exit.
1468 (start_threads): Call do_exit and notify_parent.
1469 (begin_drop_privileges): Call do_exit.
1470 (finish_drop_privileges): Likewise.
1471 * nscd/selinux.c (preserve_capabilities): Likewise.
1472 (install_real_capabilities): Likewise.
1473 (nscd_selinux_enabled): Likewise.
1474 (avc_create_thread): Likewise.
1475 (avc_alloc_lock): Likewise.
1476 (nscd_avc_init): Likewise.
1477 * nscd/nscd.c (parent_fd): New static variable.
1478 (main): Create a pipe between parent and child processes.
1479 Skip closing parent_fd.
1480 (monitor_child): New function.
1481 (do_exit): Likewise.
1482 (notify_parent): Likewise.
1483 * nscd/nscd.h (notify_parent): Likewise.
1484 (do_exit): Likewise.
1486 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1488 * malloc/malloc.c (__libc_calloc): Revert last change.
1490 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1494 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1496 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1500 (__libc_ifunc_impl_list): Likewise.
1501 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1503 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1504 * string/strrchr.c: Define STRRCHR.
1506 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1508 * benchtest/bench-strtok.c (simple_strtok): Delete.
1509 (strtok_string): Use as benchmark.
1510 * string/strtok (STRTOK): New macro.
1512 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1514 * manual/threads.texi: Add header and standard comments to all
1517 * elf/dl-lookup.c (check_match): New function.
1518 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1519 (do_lookup_x): Remove nested function check_match. Use non-nested
1520 function check_match.
1522 2014-02-28 Roland McGrath <roland@hack.frob.com>
1524 * csu/Makefile (generated, before-compile): Use += rather than =.
1525 * catgets/Makefile (generated, generated-dirs): Likewise.
1526 * debug/Makefile (generated): Likewise.
1527 * dlfcn/Makefile (generated): Likewise.
1528 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1529 * iconvdata/Makefile (before-compile, generated): Likewise.
1530 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1531 * libio/Makefile (generated): Likewise.
1532 * malloc/Makefile (generated): Likewise.
1533 * manual/Makefile (generated, generated-dirs): Likewise.
1534 * misc/Makefile (generated): Likewise.
1535 * posix/Makefile (generated): Likewise.
1536 * resolv/Makefile (generated): Likewise.
1537 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1538 * timezone/Makefile (generated, generated-dirs): Likewise.
1540 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1542 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1547 POWER8 llround ifunc implementation.
1548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1549 POWER8 implementation.
1550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1551 POWER8 llround implementation.
1553 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1558 POWER8 llrint ifunc implementation.
1559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1560 POWER8 implementation.
1561 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1562 POWER8 llrint implementation.
1564 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1569 POWER8 finite ifunc implementation.
1570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1571 POWER8 implementation.
1572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1575 POWER8 finite implementation.
1576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1578 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1583 POWER8 isinf ifunc implementation.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1585 POWER8 implementation.
1586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1588 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1589 POWER8 isinf implementation.
1590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1592 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1595 Add hwcap2 initialization.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1599 POWER8 isnan ifunc implementation.
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1601 POWER8 implementation.
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1605 POWER8 isnan implementation.
1606 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1608 2014-02-27 Joey Ye <joey.ye@arm.com>
1610 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1611 (_FP_NANFRAC_Q): Set to zero.
1613 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 * math/auto-libm-test-in: New test inputs.
1617 * math/auto-libm-test-out: Regenerate.
1618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1621 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1623 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1625 * scripts/evaluate-test.sh: Take new argument indicating whether
1626 failure is expected.
1627 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1628 indicating whether failure is expected.
1629 * conform/Makefile (test-xfail-run-conformtest): New variable.
1630 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1632 * posix/Makefile (test-xfail-annexc): New variable.
1633 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1635 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1637 * argp/Makefile: Include Makeconfig immediately after defining
1639 * assert/Makefile: Likewise.
1640 * benchtests/Makefile: Likewise.
1641 * catgets/Makefile: Likewise.
1642 * conform/Makefile: Likewise.
1643 * crypt/Makefile: Likewise.
1644 * csu/Makefile: Likewise.
1645 (all): Remove target.
1646 * ctype/Makefile: Include Makeconfig immediately after defining
1648 * debug/Makefile: Likewise.
1649 * dirent/Makefile: Likewise.
1650 * dlfcn/Makefile: Likewise.
1651 * gmon/Makefile: Likewise.
1652 * gnulib/Makefile: Likewise.
1653 * grp/Makefile: Likewise.
1654 * gshadow/Makefile: Likewise.
1655 * hesiod/Makefile: Likewise.
1656 * hurd/Makefile: Likewise.
1657 (all): Remove target.
1658 * iconvdata/Makefile: Include Makeconfig immediately after
1660 * inet/Makefile: Likewise.
1661 * intl/Makefile: Likewise.
1662 * io/Makefile: Likewise.
1663 * libio/Makefile: Likewise.
1664 (all): Remove target.
1665 * locale/Makefile: Include Makeconfig immediately after defining
1667 * login/Makefile: Likewise.
1668 * mach/Makefile: Likewise.
1669 (all): Remove target.
1670 * malloc/Makefile: Include Makeconfig immediately after defining
1672 (all): Remove target.
1673 * manual/Makefile: Include Makeconfig immediately after defining
1675 * math/Makefile: Likewise.
1676 * misc/Makefile: Likewise.
1677 * nis/Makefile: Likewise.
1678 * nss/Makefile: Likewise.
1679 * po/Makefile: Likewise.
1680 (all): Remove target.
1681 * posix/Makefile: Include Makeconfig immediately after defining
1683 * pwd/Makefile: Likewise.
1684 * resolv/Makefile: Likewise.
1685 * resource/Makefile: Likewise.
1686 * rt/Makefile: Likewise.
1687 * setjmp/Makefile: Likewise.
1688 * shadow/Makefile: Likewise.
1689 * signal/Makefile: Likewise.
1690 * socket/Makefile: Likewise.
1691 * soft-fp/Makefile: Likewise.
1692 * stdio-common/Makefile: Likewise.
1693 * stdlib/Makefile: Likewise.
1694 * streams/Makefile: Likewise.
1695 * string/Makefile: Likewise.
1696 * sunrpc/Makefile: Likewise.
1697 (all): Remove target.
1698 * sysvipc/Makefile: Include Makeconfig immediately after defining
1700 * termios/Makefile: Likewise.
1701 * time/Makefile: Likewise.
1702 * timezone/Makefile: Likewise.
1703 (all): Remove target.
1704 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1706 * wctype/Makefile: Likewise.
1708 2014-02-26 Steve Ellcey <sellcey@mips.com>
1710 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1711 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1712 (libc_feholdexcept_setround_mips): Ditto.
1713 (libc_feholdsetround): New.
1714 (libc_feholdsetroundf): New.
1715 (libc_feholdsetroundl): New.
1716 (libc_feupdateenv_test_mips): New.
1717 (libc_feupdateenv_test): New.
1718 (libc_feupdateenv_testf): New.
1719 (libc_feupdateenv_testl): New.
1720 (libc_feresetround): New.
1721 (libc_feresetroundf): New.
1722 (libc_feresetroundl): New.
1723 (libc_fetestexcept_mips): New.
1724 (libc_fetestexcept): New.
1725 (libc_fetestexceptf): New.
1726 (libc_fetestexceptl): New.
1728 (libc_feholdexcept_setround_mips_ctx): New.
1729 (libc_feholdexcept_setround_ctx): New.
1730 (libc_feholdexcept_setroundf_ctx): New.
1731 (libc_feholdexcept_setroundl_ctx): New.
1732 (libc_fesetenv_mips_ctx): New.
1733 (libc_fesetenv_ctx): New.
1734 (libc_fesetenv_ctxf): New.
1735 (libc_fesetenv_ctxl): New.
1736 (libc_feupdateenv_mips_ctx): New.
1737 (libc_feupdateenv_ctx): New.
1738 (libc_feupdateenvf_ctx): New.
1739 (libc_feupdateenvl_ctx): New.
1740 (libc_feholdsetround_mips_ctx): New.
1741 (libc_feholdsetround_ctx): New.
1742 (libc_feholdsetroundf_ctx): New.
1743 (libc_feholdsetroundl_ctx): New.
1744 (libc_feresetround_mips_ctx): New.
1745 (libc_feresetround_ctx): New.
1746 (libc_feresetroundf_ctx): New.
1747 (libc_feresetroundl_ctx): New.
1749 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1751 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1753 * manual/ipc.texi: New file.
1754 * manual/Makefile (chapters): Add ipc.
1755 * manual/job.texi: Add "Inter-Process Communication" to next.
1756 * manual/process.texi: Add "Inter-Process Communication" to prev.
1758 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1762 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1764 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1766 * manual/arith.texi: Fix spaces after sentences.
1767 * manual/charset.texi: Likewise.
1768 * manual/errno.texi: Likewise.
1769 * manual/install.texi: Likewise.
1770 * manual/llio.texi: Likewise.
1771 * manual/locale.texi: Likewise.
1772 * manual/maint.texi: Likewise.
1773 * manual/math.texi: Likewise.
1774 * manual/memory.texi: Likewise.
1775 * manual/message.texi: Likewise.
1776 * manual/probes.texi: Likewise.
1777 * manual/resource.texi: Likewise.
1778 * manual/signal.texi: Likewise.
1779 * manual/socket.texi: Likewise.
1780 * manual/stdio.texi: Likewise.
1781 * manual/string.texi: Likewise.
1782 * manual/time.texi: Likewise.
1783 * manual/users.texi: Likewise.
1785 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1788 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1789 _DEFAULT_SOURCE is defined.
1791 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1792 Carlos O'Donell <carlos@redhat.com>
1795 * elf/dl-tls.c (_dl_count_modids): New function.
1796 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1797 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1798 audit library and increment generation counter.
1799 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1800 * elf/tst-audit9.c: New file.
1801 * elf/tst-auditmod9a.c: New file.
1802 * elf/tst-auditmod9b.c: New file.
1803 * elf/Makefile: Add rules to build and run tst-audit9.
1805 2014-02-25 Florian Weimer <fweimer@redhat.com>
1808 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1810 2014-02-25 Will Newton <will.newton@linaro.org>
1812 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1813 (__longjmp): Restore sp and lr before restoring callee
1814 saved registers. Add longjmp and longjmp_target
1815 SystemTap probe point.
1816 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1817 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1818 Define to zero to match jmpbuf layout.
1819 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1820 (__sigsetjmp): Save sp and lr before saving callee
1821 saved registers. Add setjmp SystemTap probe point.
1823 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1825 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1827 2014-02-24 Andreas Schwab <schwab@suse.de>
1830 * elf/pldd.c (wait_for_ptrace_stop): New function.
1831 (main): Call it after attaching.
1833 2014-02-22 Roland McGrath <roland@hack.frob.com>
1835 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1836 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1837 Versions files is now verboten.
1838 * hurd/Versions (libc: GLIBC_2.0):
1839 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1840 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1841 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1842 * mach/Versions: Likewise.
1844 * csu/Versions: Remove unused %include.
1845 * resolv/Versions: Likewise.
1847 2014-02-21 Joseph Myers <joseph@codesourcery.com>
1849 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1850 ($(objpfx)check-local-headers.out): Likewise.
1851 ($(objpfx)begin-end-check.out): Likewise.
1852 * Makerules (check-abi-%.out): Likewise.
1853 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1854 ($(objpfx)test2.cat): Likewise.
1855 ($(objpfx)de/libc.cat): Likewise.
1856 ($(objpfx)test-gencat.out): Likewise.
1857 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1858 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1859 ($(objpfx)noload-mem): Likewise.
1860 ($(objpfx)tst-pathopt.out): Likewise.
1861 ($(objpfx)tst-rtld-load-self.out): Likewise.
1862 ($(objpfx)tst-array1-cmp.out): Likewise.
1863 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1864 ($(objpfx)tst-array2-cmp.out): Likewise.
1865 ($(objpfx)tst-array3-cmp.out): Likewise.
1866 ($(objpfx)tst-array4-cmp.out): Likewise.
1867 ($(objpfx)tst-array5-cmp.out): Likewise.
1868 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1869 ($(objpfx)check-textrel.out): Likewise.
1870 ($(objpfx)check-execstack.out): Likewise.
1871 ($(objpfx)check-localplt.out): Likewise.
1872 ($(objpfx)order2-cmp.out): Likewise.
1873 ($(objpfx)tst-leaks1-mem): Likewise.
1874 ($(objpfx)tst-leaks1-static-mem): Likewise.
1875 ($(objpfx)tst-initorder-cmp.out): Likewise.
1876 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1877 ($(objpfx)tst-unused-dep.out): Likewise.
1878 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1880 * iconv/Makefile (test-iconvconfig): Likewise.
1881 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1882 ($(objpfx)iconv-test.out): Likewise.
1883 ($(objpfx)tst-tables.out): Likewise.
1884 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1885 ($(objpfx)tst-gettext.out): Likewise.
1886 ($(objpfx)tst-translit.out): Likewise.
1887 ($(objpfx)tst-gettext2.out): Likewise.
1888 ($(objpfx)tst-gettext4.out): Likewise.
1889 ($(objpfx)tst-gettext6.out): Likewise.
1890 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1891 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1892 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1893 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1894 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1895 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1896 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1897 ($(objpfx)wordexp-tst.out): Likewise.
1898 ($(objpfx)annexc.out): Likewise.
1899 ($(objpfx)tst-fnmatch-mem): Likewise.
1900 ($(objpfx)bug-regex2-mem): Likewise.
1901 ($(objpfx)bug-regex14-mem): Likewise.
1902 ($(objpfx)bug-regex21-mem): Likewise.
1903 ($(objpfx)bug-regex31-mem): Likewise.
1904 ($(objpfx)tst-vfork3-mem): Likewise.
1905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1906 ($(objpfx)tst-pcre-mem): Likewise.
1907 ($(objpfx)tst-boost-mem): Likewise.
1908 ($(objpfx)tst-getconf.out): Likewise.
1909 ($(objpfx)bug-ga2-mem): Likewise.
1910 ($(objpfx)bug-glob2-mem): Likewise.
1911 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1912 ($(objpfx)mtrace-tst-leaks2): Likewise.
1913 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1914 ($(objpfx)tst-printf.out): Likewise.
1915 ($(objpfx)tst-setvbuf1.out): Likewise.
1916 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1917 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1918 ($(objpfx)tst-fmtmsg.out): Likewise.
1919 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1920 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1922 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1923 * bits/sigaction.h [__USE_MISC]: Likewise.
1924 * bits/waitstatus.h: Update #endif comments.
1925 * ctype/ctype.h: Likewise.
1926 * dirent/dirent.h: Likewise.
1927 [__USE_MISC]: Remove redundant conditionals.
1928 * grp/grp.h: Update #endif comments.
1929 [__USE_GNU]: Remove redundant conditionals.
1930 [__USE_MISC]: Likewise.
1931 * inet/netinet/in.h [__USE_GNU]: Likewise.
1932 * io/sys/stat.h [__USE_MISC]: Likewise.
1933 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1934 * libio/bits/stdio.h: Update #endif comments.
1935 [__USE_MISC]: Remove redundant conditionals.
1936 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1937 * libio/stdio.h: Update #endif comments.
1938 [__USE_MISC]: Remove redundant conditionals.
1939 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1940 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1941 * math/math.h: Update #else and #endif comments.
1942 [__USE_MISC]: Remove redundant conditionals.
1943 * misc/sys/uio.h: Update #endif comments.
1944 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1945 * posix/glob.h [__USE_MISC]: Likewise.
1946 * posix/sys/types.h: Update #endif comments.
1947 [__USE_MISC]: Remove redundant conditionals.
1948 * posix/sys/wait.h: Update #endif comments.
1949 [__USE_MISC]: Remove redundant conditionals.
1950 * posix/unistd.h: Update #endif comments.
1951 [__USE_MISC]: Remove redundant conditionals.
1952 * pwd/pwd.h [__USE_GNU]: Likewise.
1953 [__USE_MISC]: Likewise.
1954 * resolv/netdb.h [__USE_GNU]: Likewise.
1955 * signal/signal.h: Update #endif comments.
1956 [__USE_MISC]: Remove redundant conditionals.
1957 * stdlib/stdlib.h: Update #else and #endif comments.
1958 [__USE_MISC]: Remove redundant conditionals.
1959 [__USE_GNU]: Likewise.
1960 * string/bits/string2.h [__USE_MISC]: Likewise.
1961 * string/string.h: Update #endif comments.
1962 [__USE_MISC]: Remove redundant conditionals.
1963 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1965 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1966 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1967 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1969 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1973 [__USE_MISC]: Remove redundant conditionals.
1974 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1975 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1976 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1977 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1978 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1980 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1981 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1983 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1984 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1986 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1988 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1991 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1993 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1994 * sysdeps/x86/bits/string.h: Update #endif comments.
1995 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1997 * time/sys/time.h: Update #endif comments.
1998 * time/time.h: Likewise.
1999 [__USE_MISC]: Remove redundant conditionals.
2001 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2004 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2006 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2008 * Versions.def (librt): Add GLIBC_2.17.
2010 2014-02-21 Adam Conrad <adconrad@0c3.net>
2012 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2013 synonym for _SYS_AUXV_H to allow direct inclusion.
2014 * sysdeps/sparc/bits/hwcap.h: Likewise.
2015 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2016 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2017 * sysdeps/sparc/sysdep.h: Likewise.
2019 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2021 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2023 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2025 * benchtests/bench-strrchr.c: Print length instead of position.
2027 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2030 * sysdeps/unix/sysv/linux/kernel-features.h
2031 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2032 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2033 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2034 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2036 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2037 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2038 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2039 (__ASSUME_SENDMMSG): Define instead of using previous
2040 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2041 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2042 (__ASSUME_SENDMMSG_SYSCALL): Define.
2043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2044 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2047 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2049 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2050 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2052 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2053 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2054 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2055 [__ASSUME_SENDMMSG]: Change conditionals to
2056 [__ASSUME_SENDMMSG_SOCKETCALL].
2057 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2058 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2060 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2061 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2063 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2064 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2065 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2066 [!__ASSUME_SENDMMSG]: Change conditional to
2067 [!__ASSUME_SENDMMSG_SOCKETCALL].
2068 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2069 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2073 * sysdeps/unix/sysv/linux/kernel-features.h
2074 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2075 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2076 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2077 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2078 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2079 [__i386__ || __sparc__]
2080 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2081 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2082 (__ASSUME_RECVMMSG): Define instead of using previous
2083 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2084 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2085 (__ASSUME_RECVMMSG_SYSCALL): Define.
2086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2087 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2089 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2090 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2092 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2093 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2095 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2096 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2097 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2098 [__ASSUME_RECVMMSG]: Change condition to
2099 [__ASSUME_RECVMMSG_SOCKETCALL].
2100 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2101 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2103 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2104 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2105 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2107 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2108 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2109 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2110 [!__ASSUME_RECVMMSG]: Change condition to
2111 [!__ASSUME_RECVMMSG_SOCKETCALL].
2112 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2113 (__ASSUME_RECVMMSG_SYSCALL): Define.
2116 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2117 __powerpc__ || __s390__ || __sh__ || __sparc__]
2118 (__ASSUME_SOCKETCALL): Define.
2119 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2120 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2121 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2122 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2123 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2124 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2125 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2126 (__ASSUME_ACCEPT4): Define instead of using previous
2127 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2128 __powerpc__ || __sparc__ || __s390__)] condition.
2129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2130 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2131 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2132 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2133 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2134 [!__ASSUME_ACCEPT4]: Change condition to
2135 [!__ASSUME_ACCEPT4_SOCKETCALL].
2136 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2137 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2138 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2140 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2141 __ASSUME_ACCEPT4_SYSCALL.
2142 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2143 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2144 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2145 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2146 __ASSUME_ACCEPT4_SYSCALL.
2147 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2148 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2149 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2150 [__ASSUME_ACCEPT4]: Change condition to
2151 [__ASSUME_ACCEPT4_SOCKETCALL].
2152 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2153 (__ASSUME_SOCKETCALL): Define.
2154 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2156 (__ASSUME_SOCKETCALL): Define.
2157 (__ASSUME_ACCEPT4): Remove.
2158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2160 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2161 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2163 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2164 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2166 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2168 (HWCAP_ARM_LPAE): Likewise.
2169 (HWCAP_ARM_EVTSTRM): Likewise.
2170 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2171 Add vpfd32, lpae and evtstrm.
2172 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2175 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2177 * math/auto-libm-test-in: Add tests of clog10.
2178 * math/auto-libm-test-out: Regenerated.
2179 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2180 * sysdeps/i386/fpu/libm-test-ulps: Update.
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183 2014-02-18 Andreas Schwab <schwab@suse.de>
2186 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2187 Store non-zero if the second buffer was newly allocated.
2188 (send_dg): Likewise.
2189 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2190 to send_vc and send_dg.
2191 (res_nsend): Pass NULL for ansp2_malloced.
2192 * resolv/res_query.c (__libc_res_nquery): Add parameter
2193 answerp2_malloced and pass it down to __libc_res_nsend.
2194 (res_nquery): Pass additional NULL to __libc_res_nquery.
2195 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2196 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2197 second answer buffer if answerp2_malloced was set.
2198 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2199 (__libc_res_nquerydomain): Add parameter
2200 answerp2_malloced and pass it down to __libc_res_nquery.
2201 (res_nquerydomain): Pass additional NULL to
2202 __libc_res_nquerydomain.
2203 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2204 additional NULL to __libc_res_nsend and __libc_res_nquery.
2205 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2206 additional NULL to __libc_res_nsearch.
2207 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2208 parameter of __libc_res_nsearch to check for separately allocated
2210 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2212 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2213 additional NULL to __libc_res_nquery.
2214 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2216 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2217 * include/resolv.h: Update prototypes of __libc_res_nquery,
2218 __libc_res_nsearch, __libc_res_nsend.
2220 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2222 * math/auto-libm-test-in: Add tests of fma.
2223 * math/auto-libm-test-out: Regenerated.
2224 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2225 (fma_towardzero_test_data): Likewise.
2226 (fma_downward_test_data): Likewise.
2227 (fma_upward_test_data): Likewise.
2228 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2230 (rounding_modes): Add values for new field.
2231 (func_calc_method): Add value mpfr_fff_f.
2232 (func_calc_desc): Add mpfr_fff_f union field.
2233 (test_function): Add field exact_args.
2234 (FUNC): Add macro argument EXACT_ARGS.
2235 (FUNC_mpfr_f_f): Update call to FUNC.
2236 (FUNC_mpfr_f_f): Likewise.
2237 (FUNC_mpfr_ff_f): Likewise.
2238 (FUNC_mpfr_if_f): Likewise.
2239 (FUNC_mpc_c_f): Likewise.
2240 (FUNC_mpc_c_c): Likewise.
2241 (test_functions): Add fma. Update calls to FUNC.
2242 (handle_input_arg): Add argument exact_args.
2243 (add_test): Update call to handle_input_arg.
2244 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2245 (output_for_one_input_case): Update call to calc_generic_results.
2246 Recalculate exact zero results in each rounding mode.
2248 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2249 non-negative before setting low bit.
2250 * math/auto-libm-test-in: Mark one asin test possibly having
2252 * math/auto-libm-test-out: Regenerated.
2253 * sysdeps/i386/fpu/libm-test-ulps: Update.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2256 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2258 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2259 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2260 ports/sysdeps/unix/sysv/linux/microblaze.
2261 * README: Add missing listing for microblaze*-*-linux-gnu.
2263 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2265 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2266 * sysdeps/unix/sysv/linux/ia64: Move directory from
2267 ports/sysdeps/unix/sysv/linux/ia64.
2268 * README: Update listing for ia64-*-linux-gnu.
2270 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2271 Joseph Myers <joseph@codesourcery.com>
2273 * Makeconfig (test-name): New variable.
2274 (evaluate-test): Likewise.
2275 * Makerules (do-test-clean): Remove .test-result files.
2276 (common-mostlyclean): Likewise.
2277 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2278 * scripts/evaluate-test.sh: New file.
2280 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2282 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2283 separate $(objpfx)tst-fopenloc-cmp.out and
2284 $(objpfx)tst-fopenloc-mem.out targets.
2285 (tests): Update dependencies.
2286 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2287 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2288 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2289 (tst-rxspencer-no-utf8-ARGS): New variable.
2290 (tst-rxspencer-no-utf8-ENV): Likewise.
2291 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2292 instead of $(objpfx)tst-rxspencer-mem.
2293 ($(objpfx)tst-rxspencer-mem): Change target to
2294 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2295 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2296 * posix/tst-rxspencer-no-utf8.c: New file.
2298 * elf/Makefile ($(objpfx)order.out): Remove rule.
2299 [$(run-built-tests) = yes] (tests): Depend on
2300 $(objpfx)order-cmp.out.
2301 ($(objpfx)order-cmp.out): New rule.
2302 [$(run-built-tests) = yes] (tests): Depend on
2303 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2304 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2305 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2306 $(objpfx)tst-array5-static-cmp.out.
2307 ($(objpfx)tst-array1.out): Remove rule.
2308 ($(objpfx)tst-array1-cmp.out): New rule.
2309 ($(objpfx)tst-array1-static.out): Remove rule.
2310 ($(objpfx)tst-array1-static-cmp.out): New rule.
2311 ($(objpfx)tst-array2.out): Remove rule.
2312 ($(objpfx)tst-array2-cmp.out): New rule.
2313 ($(objpfx)tst-array3.out): Remove rule.
2314 ($(objpfx)tst-array3-cmp.out): New rule.
2315 ($(objpfx)tst-array4.out): Remove rule.
2316 ($(objpfx)tst-array4-cmp.out): New rule.
2317 ($(objpfx)tst-array5.out): Remove rule.
2318 ($(objpfx)tst-array5-cmp.out): New rule.
2319 ($(objpfx)tst-array5-static.out): Remove rule.
2320 ($(objpfx)tst-array5-static-cmp.out): New rule.
2321 [$(run-built-tests) = yes] (tests): Depend on
2322 $(objpfx)order2-cmp.out.
2323 ($(objpfx)order2.out): Remove rule.
2324 ($(objpfx)order2-cmp.out): New rule.
2325 ($(objpfx)tst-initorder.out): Remove rule.
2326 [$(run-built-tests) = yes] (tests): Depend on
2327 $(objpfx)tst-initorder-cmp.out.
2328 ($(objpfx)tst-initorder-cmp.out): New rule.
2329 ($(objpfx)tst-initorder2.out): Remove rule.
2330 [$(run-built-tests) = yes] (tests): Depend on
2331 $(objpfx)tst-initorder2-cmp.out.
2332 ($(objpfx)tst-initorder2-cmp.out): New rule.
2333 [$(run-built-tests) = yes] (tests): Depend on
2334 $(objpfx)tst-unused-dep-cmp.out.
2335 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2336 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2337 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2338 on $(objpfx)tst-setvbuf1-cmp.out.
2339 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2340 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2341 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2342 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2343 ($(objpfx)tst-svc.out): Remove rule.
2344 ($(objpfx)tst-svc-cmp.out): New rule.
2346 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2348 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2349 * ctype/ctype.h [__USE_MISC]: Likewise.
2350 * dirent/dirent.h [__USE_MISC]: Likewise.
2351 * grp/grp.h [__USE_MISC]: Likewise.
2352 * io/fcntl.h [__USE_MISC]: Likewise.
2353 * io/sys/stat.h [__USE_MISC]: Likewise.
2354 * libio/stdio.h [__USE_MISC]: Likewise.
2355 * posix/unistd.h [__USE_MISC]: Likewise.
2356 * pwd/pwd.h [__USE_MISC]: Likewise.
2357 * stdlib.h [__USE_MISC]: Likewise.
2358 * string/bits/string2.h [__USE_MISC]: Likewise.
2359 * string/string.h [__USE_MISC]: Likewise.
2360 * time/time.h [__USE_MISC]: Likewise.
2362 2014-02-13 Andreas Schwab <schwab@suse.de>
2365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2366 second answer buffer if it was separately allocated.
2368 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2370 * sysdeps/mips/math-tests.h: Include <features.h>.
2371 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2372 (ROUNDING_TESTS_long_double): Do not define.
2373 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2374 (EXCEPTION_TESTS_long_double): Likewise.
2375 * sysdeps/mips/mips64/libm-test-ulps: Update.
2377 * include/features.h (__USE_BSD): Remove macro definitions.
2378 (__USE_SVID): Likewise.
2379 (_BSD_SOURCE): Likewise.
2380 (_SVID_SOURCE): Likewise.
2381 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2382 from definition of _DEFAULT_SOURCE.
2383 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2385 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2386 * bits/mman.h [__USE_BSD]: Likewise.
2387 * bits/termios.h [__USE_BSD]: Likewise.
2388 * bits/waitstatus.h [__USE_BSD]: Likewise.
2389 * ctype/ctype.h [__USE_SVID]: Likewise.
2390 * dirent/dirent.h [__USE_BSD]: Likewise.
2391 * grp/grp.h [__USE_SVID]: Likewise.
2392 [__USE_BSD]: Likewise.
2393 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2394 * io/fcntl.h [__USE_BSD]: Likewise.
2395 * io/ftw.h [__USE_BSD]: Likewise.
2396 * io/sys/stat.h [__USE_BSD]: Likewise.
2397 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2398 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2399 * libio/stdio.h [__USE_SVID]: Likewise.
2400 [__USE_BSD]: Likewise.
2401 * math/math.h [__USE_SVID]: Likewise.
2402 [__USE_BSD]: Likewise.
2403 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2404 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2405 * misc/search.h [__USE_SVID]: Likewise.
2406 * misc/sys/mman.h [__USE_BSD]: Likewise.
2407 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2408 * misc/sys/uio.h [__USE_BSD]: Likewise.
2409 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2410 * posix/glob.h [__USE_BSD]: Likewise.
2411 * posix/regex.h [__USE_BSD]: Likewise.
2412 * posix/sys/types.h [__USE_BSD]: Likewise.
2413 [__USE_SVID]: Likewise.
2414 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2415 * posix/sys/wait.h [__USE_BSD]: Likewise.
2416 [__USE_SVID]: Likewise.
2417 * posix/unistd.h [__USE_BSD]: Likewise.
2418 [__USE_SVID]: Likewise.
2419 * pwd/pwd.h [__USE_SVID]: Likewise.
2420 * resolv/netdb.h [__USE_BSD]: Likewise.
2421 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2422 * signal/signal.h [__USE_BSD]: Likewise.
2423 [__USE_SVID]: Likewise.
2424 * socket/sys/socket.h [__USE_BSD]: Likewise.
2425 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2426 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2427 [__USE_SVID]: Likewise.
2428 * string/bits/string2.h [__USE_BSD]: Likewise.
2429 [__USE_SVID]: Likewise.
2430 * string/bits/string3.h [__USE_BSD]: Likewise.
2431 * string/endian.h [__USE_BSD]: Likewise.
2432 * string/string.h [__USE_SVID]: Likewise.
2433 [__USE_BSD]: Likewise.
2434 * string/strings.h [__USE_BSD]: Likewise.
2435 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2436 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2438 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2439 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2440 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2444 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2445 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2447 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2448 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2450 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2452 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2453 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2456 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2458 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2459 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2460 * termios/termios.h [__USE_BSD]: Likewise.
2461 * time/sys/time.h [__USE_BSD]: Likewise.
2462 * time/time.h [__USE_BSD]: Likewise.
2463 [__USE_SVID]: Likewise.
2465 * Makefile (subdir_targets): Remove subdir_lint.out.
2467 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2468 (do-tst-printf): Likewise.
2469 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2470 $(objpfx)tst-printf.out.
2472 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2474 * Makerules (check-abi-%): Change target to
2475 $(objpfx)check-abi-%.out.
2476 (check-abi target): Update dependencies.
2477 (check-abi-pattern variable): Redirect output of diff to $@.
2478 (check-abi variable): Likewise.
2479 * elf/Makefile (check-abi): Update dependencies.
2481 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2483 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2484 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2486 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2487 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2488 value has largest subnormal exponent.
2489 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2490 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2491 * sysdeps/aarch64/soft-fp/sfp-machine.h
2492 (_FP_TININESS_AFTER_ROUNDING): New macro.
2493 * sysdeps/alpha/soft-fp/sfp-machine.h
2494 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2495 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2497 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2498 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2499 * sysdeps/mips/soft-fp/sfp-machine.h
2500 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2501 * sysdeps/powerpc/soft-fp/sfp-machine.h
2502 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2503 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2506 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2508 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2509 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2512 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2515 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2518 2014-02-12 Richard Henderson <rth@redhat.com>
2520 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2521 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2522 * sysdeps/unix/sysv/linux/alpha: Move directory from
2523 ports/sysdeps/unix/sysv/linux/alpha.
2524 * README: Update listing for alpha-*-linux-gnu.
2526 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2528 * include/features.h: Update comment documenting feature test
2530 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2532 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2533 (_SVID_SOURCE): Likewise.
2534 (_DEFAULT_SOURCE): Update description of default features.
2535 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2537 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2538 (S_ISVTX): Likewise.
2539 * manual/math.texi (Mathematical Constants): Likewise.
2540 * manual/signal.texi (Interrupted Primitives): Likewise.
2541 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2542 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2543 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2544 Don't refer to _SVID_SOURCE in warning text.
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2548 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2550 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2551 * sysdeps/mips/dl-lookup.c: Remove.
2552 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2554 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2557 * math/auto-libm-test-in: Add testcase for expl.
2558 * math/auto-libm-test-out: Regenerate.
2559 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2560 calculation of unsafe.
2561 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2563 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2565 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2566 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2567 ports/sysdeps/unix/sysv/linux/aarch64.
2568 * README: Update listing for aarch64*-*-linux-gnu.
2570 2014-02-11 Will Newton <will.newton@linaro.org>
2572 * manual/probes.texi (Mathematical Function Probes): Use
2573 "triggered" instead of "hit".
2575 2014-02-11 Will Newton <will.newton@linaro.org>
2577 * manual/probes.texi (Internal Probes): Add documentation
2578 of setjmp, longjmp and longjmp_target probes.
2580 2014-02-11 Will Newton <will.newton@linaro.org>
2582 * include/stap-probe.h: Add comment about probe argument
2585 2014-02-11 Will Newton <will.newton@linaro.org>
2587 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2588 definition. (tr_where, tr_freehook, tr_mallochook,
2589 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2591 2014-02-11 David S. Miller <davem@davemloft.net>
2593 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2594 processing int_tests.
2596 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2598 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2599 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2600 * sysdeps/unix/sysv/linux/mips: Move directory from
2601 ports/sysdeps/unix/sysv/linux/mips.
2602 * README: Update listing for mips-*-linux-gnu and
2605 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2607 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2608 * sysdeps/unix/sysv/linux/m68k: Move directory from
2609 ports/sysdeps/unix/sysv/linux/m68k.
2610 * README: Update listing for m68k-*-linux-gnu.
2612 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2614 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2615 * sysdeps/unix/sysv/linux/generic: Move directory from
2616 ports/sysdeps/unix/sysv/linux/generic.
2617 * sysdeps/unix/sysv/linux/tile: Move directory from
2618 ports/sysdeps/unix/sysv/linux/tile.
2619 * README: Update listing for tile*-*-linux-gnu.
2621 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2623 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2624 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2625 * catgets/open_catalog.c (__open_catalog): Likewise.
2626 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2627 * debug/confstr_chk.c: Likewise.
2628 * debug/fread_chk.c (__fread_chk): Likewise.
2629 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2630 * debug/getgroups_chk.c: Likewise.
2631 * debug/mbsnrtowcs_chk.c: Likewise.
2632 * debug/mbsrtowcs_chk.c: Likewise.
2633 * debug/mbstowcs_chk.c: Likewise.
2634 * debug/memcpy_chk.c: Likewise.
2635 * debug/memmove_chk.c: Likewise.
2636 * debug/mempcpy_chk.c: Likewise.
2637 * debug/memset_chk.c: Likewise.
2638 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2639 * debug/strcat_chk.c (__strcat_chk): Likewise.
2640 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2641 * debug/strncat_chk.c (__strncat_chk): Likewise.
2642 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2643 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2644 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2645 * debug/wcpncpy_chk.c: Likewise.
2646 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2647 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2648 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2649 * debug/wcsncpy_chk.c: Likewise.
2650 * debug/wcsnrtombs_chk.c: Likewise.
2651 * debug/wcsrtombs_chk.c: Likewise.
2652 * debug/wcstombs_chk.c: Likewise.
2653 * debug/wmemcpy_chk.c: Likewise.
2654 * debug/wmemmove_chk.c: Likewise.
2655 * debug/wmempcpy_chk.c: Likewise.
2656 * debug/wmemset_chk.c: Likewise.
2657 * dirent/scandirat.c (SCANDIRAT): Likewise.
2658 * dlfcn/dladdr1.c (dladdr1): Likewise.
2659 * dlfcn/dladdr.c (dladdr): Likewise.
2660 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2661 * dlfcn/dlerror.c (__dlerror): Likewise.
2662 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2663 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2664 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2665 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2666 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2667 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2668 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2669 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2671 * elf/dl-conflict.c: Likewise.
2672 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2673 * elf/dl-dst.h: Likewise.
2674 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2675 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2677 * elf/dl-init.c (call_init, _dl_init): Likewise.
2678 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2679 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2680 _dl_map_object_from_fd, open_verify, open_path,
2681 _dl_map_object): Likewise.
2682 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2684 * elf/dl-minimal.c (__libc_memalign): Likewise.
2685 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2686 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2687 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2688 * elf/dl-sym.c (do_sym): Likewise.
2689 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2690 _dl_tls_get_addr_soft): Likewise.
2691 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2692 * elf/dl-writev.h (_dl_writev): Likewise.
2693 * elf/ldconfig.c (search_dir): Likewise.
2694 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2696 * elf/setup-vdso.h (setup_vdso): Likewise.
2697 * grp/compat-initgroups.c (compat_call): Likewise.
2698 * grp/fgetgrent.c (fgetgrent): Likewise.
2699 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2700 * grp/putgrent.c (putgrent): Likewise.
2701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2703 * hurd/hurdinit.c: Likewise.
2704 * iconvdata/8bit-gap.c (struct): Likewise.
2705 * iconvdata/ansi_x3.110.c : Likewise.
2706 * iconvdata/big5.c : Likewise.
2707 * iconvdata/big5hkscs.c : Likewise.
2708 * iconvdata/cp1255.c: Likewise.
2709 * iconvdata/cp1258.c : Likewise.
2710 * iconvdata/cp932.c : Likewise.
2711 * iconvdata/euc-cn.c: Likewise.
2712 * iconvdata/euc-jisx0213.c : Likewise.
2713 * iconvdata/euc-jp.c: Likewise.
2714 * iconvdata/euc-jp-ms.c : Likewise.
2715 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2716 * iconvdata/gb18030.c : Likewise.
2717 * iconvdata/gbbig5.c (const): Likewise.
2718 * iconvdata/gbgbk.c: Likewise.
2719 * iconvdata/gbk.c : Likewise.
2720 * iconvdata/ibm1364.c : Likewise.
2721 * iconvdata/ibm930.c : Likewise.
2722 * iconvdata/ibm932.c: Likewise.
2723 * iconvdata/ibm933.c : Likewise.
2724 * iconvdata/ibm935.c : Likewise.
2725 * iconvdata/ibm937.c : Likewise.
2726 * iconvdata/ibm939.c : Likewise.
2727 * iconvdata/ibm943.c: Likewise.
2728 * iconvdata/iso_11548-1.c: Likewise.
2729 * iconvdata/iso-2022-cn.c : Likewise.
2730 * iconvdata/iso-2022-cn-ext.c : Likewise.
2731 * iconvdata/iso-2022-jp-3.c: Likewise.
2732 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2733 * iconvdata/iso-2022-kr.c : Likewise.
2734 * iconvdata/iso646.c (gconv_end): Likewise.
2735 * iconvdata/iso_6937-2.c : Likewise.
2736 * iconvdata/iso_6937.c : Likewise.
2737 * iconvdata/iso8859-1.c: Likewise.
2738 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2739 * iconvdata/shift_jisx0213.c : Likewise.
2740 * iconvdata/sjis.c : Likewise.
2741 * iconvdata/t.61.c : Likewise.
2742 * iconvdata/tcvn5712-1.c : Likewise.
2743 * iconvdata/tscii.c: Likewise.
2744 * iconvdata/uhc.c : Likewise.
2745 * iconvdata/unicode.c (gconv_end): Likewise.
2746 * iconvdata/utf-16.c (gconv_end): Likewise.
2747 * iconvdata/utf-32.c (gconv_end): Likewise.
2748 * iconvdata/utf-7.c (base64): Likewise.
2749 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2750 * iconv/gconv_close.c (__gconv_close): Likewise.
2751 * iconv/gconv_open.c (__gconv_open): Likewise.
2752 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2753 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2754 internal_ucs4le_loop_single, ucs4le_internal_loop,
2755 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2756 * iconv/iconv.c (iconv): Likewise.
2757 * iconv/iconv_close.c: Likewise.
2758 * iconv/loop.c (SINGLE): Likewise.
2759 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2760 * include/atomic.h: Likewise.
2761 * inet/inet6_option.c (option_alloc): Likewise.
2762 * intl/bindtextdom.c (set_binding_values): Likewise.
2763 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2764 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2765 * intl/localealias.c (read_alias_file): Likewise.
2766 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2767 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2768 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2769 * libio/fmemopen.c (fmemopen): Likewise.
2770 * libio/iofgets.c (_IO_fgets): Likewise.
2771 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2772 * libio/iofgetws.c (fgetws): Likewise.
2773 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2774 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2775 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2776 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2777 * locale/findlocale.c (_nl_find_locale): Likewise.
2778 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2779 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2781 * locale/setlocale.c (setlocale): Likewise.
2782 * login/programs/pt_chown.c (main): Likewise.
2783 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2784 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2785 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2786 mmap, mmap64, mremap, munmap): Likewise.
2787 * math/e_exp2l.c: Likewise.
2788 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2789 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2790 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2791 * math/s_catan.c (__catan): Likewise.
2792 * math/s_catanf.c (__catanf): Likewise.
2793 * math/s_catanh.c (__catanh): Likewise.
2794 * math/s_catanhf.c (__catanhf): Likewise.
2795 * math/s_catanhl.c (__catanhl): Likewise.
2796 * math/s_catanl.c (__catanl): Likewise.
2797 * math/s_ccosh.c (__ccosh): Likewise.
2798 * math/s_ccoshf.c (__ccoshf): Likewise.
2799 * math/s_ccoshl.c (__ccoshl): Likewise.
2800 * math/s_cexp.c (__cexp): Likewise.
2801 * math/s_cexpf.c (__cexpf): Likewise.
2802 * math/s_cexpl.c (__cexpl): Likewise.
2803 * math/s_clog10.c (__clog10): Likewise.
2804 * math/s_clog10f.c (__clog10f): Likewise.
2805 * math/s_clog10l.c (__clog10l): Likewise.
2806 * math/s_clog.c (__clog): Likewise.
2807 * math/s_clogf.c (__clogf): Likewise.
2808 * math/s_clogl.c (__clogl): Likewise.
2809 * math/s_csin.c (__csin): Likewise.
2810 * math/s_csinf.c (__csinf): Likewise.
2811 * math/s_csinh.c (__csinh): Likewise.
2812 * math/s_csinhf.c (__csinhf): Likewise.
2813 * math/s_csinhl.c (__csinhl): Likewise.
2814 * math/s_csinl.c (__csinl): Likewise.
2815 * math/s_csqrt.c (__csqrt): Likewise.
2816 * math/s_csqrtf.c (__csqrtf): Likewise.
2817 * math/s_csqrtl.c (__csqrtl): Likewise.
2818 * math/s_ctan.c (__ctan): Likewise.
2819 * math/s_ctanf.c (__ctanf): Likewise.
2820 * math/s_ctanh.c (__ctanh): Likewise.
2821 * math/s_ctanhf.c (__ctanhf): Likewise.
2822 * math/s_ctanhl.c (__ctanhl): Likewise.
2823 * math/s_ctanl.c (__ctanl): Likewise.
2824 * math/w_pow.c: Likewise.
2825 * math/w_powf.c: Likewise.
2826 * math/w_powl.c: Likewise.
2827 * math/w_scalb.c (sysv_scalb): Likewise.
2828 * math/w_scalbf.c (sysv_scalbf): Likewise.
2829 * math/w_scalbl.c (sysv_scalbl): Likewise.
2830 * misc/error.c (error_tail): Likewise.
2831 * misc/pselect.c (__pselect): Likewise.
2832 * nis/nis_callback.c (__nis_create_callback): Likewise.
2833 * nis/nis_call.c (__nisfind_server): Likewise.
2834 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2835 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2836 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2837 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2838 * nis/nis_lookup.c (nis_lookup): Likewise.
2839 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2840 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2841 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2842 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2843 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2844 internal_getgrgid_r): Likewise.
2845 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2847 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2848 internal_getpwuid_r): Likewise.
2849 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2850 internal_getspnam_r): Likewise.
2851 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2852 _nss_nis_getaliasbyname_r): Likewise.
2853 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2854 _nss_nis_getntohost_r): Likewise.
2855 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2856 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2858 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2859 internal_nis_gethostent_r, internal_gethostbyname2_r,
2860 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2861 _nss_nis_gethostbyname4_r): Likewise.
2862 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2863 initgroups_netid): Likewise.
2864 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2865 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2866 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2867 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2868 _nss_nis_getprotobynumber_r): Likewise.
2869 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2870 _nss_nis_getsecretkey): Likewise.
2871 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2872 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2874 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2875 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2876 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2877 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2878 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2879 _nss_nis_getspnam_r): Likewise.
2880 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2883 _nss_nisplus_getntohost_r): Likewise.
2884 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2885 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2886 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2887 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2888 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2890 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2891 _nss_nisplus_getnetbyaddr_r): Likewise.
2892 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2893 _nss_nisplus_getprotobynumber_r): Likewise.
2894 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2895 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2896 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2898 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2899 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2900 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2901 _nss_nisplus_getspnam_r): Likewise.
2902 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2903 * nscd/aicache.c (addhstaiX): Likewise.
2904 * nscd/cache.c (cache_search, prune_cache): Likewise.
2905 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2906 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2907 * nscd/grpcache.c (addgrbyX): Likewise.
2908 * nscd/hstcache.c (addhstbyX): Likewise.
2909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2910 * nscd/mem.c (gc, mempool_alloc): Likewise.
2911 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2913 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2915 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2916 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2919 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2921 * nscd/nscd_helper.c (__readvall, open_socket,
2922 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2923 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2924 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2925 * nscd/pwdcache.c (addpwbyX): Likewise.
2926 * nscd/selinux.c (preserve_capabilities): Likewise.
2927 * nscd/servicescache.c (addservbyX): Likewise.
2928 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2929 * posix/fnmatch.c (fnmatch): Likewise.
2930 * posix/getopt.c (_getopt_internal_r): Likewise.
2931 * posix/glob.c (glob, glob_in_dir): Likewise.
2932 * posix/wordexp.c (exec_comm_child): Likewise.
2933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2934 gaih_getanswer_slice): Likewise.
2935 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2936 * resolv/res_init.c: Likewise.
2937 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2938 * resolv/res_query.c (__libc_res_nquery): Likewise.
2939 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2942 * stdio-common/perror.c (perror): Likewise.
2943 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2944 * stdio-common/tmpnam.c (tmpnam): Likewise.
2945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2946 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2948 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2949 * stdlib/putenv.c (putenv): Likewise.
2950 * stdlib/setenv.c (__add_to_environ): Likewise.
2951 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2952 * stdlib/strtol_l.c (INTERNAL): Likewise.
2953 * string/memmem.c (memmem): Likewise.
2954 * string/strerror.c (strerror): Likewise.
2955 * string/strnlen.c (__strnlen): Likewise.
2956 * string/test-memmem.c (simple_memmem): Likewise.
2957 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2958 * sunrpc/pm_getport.c (__get_socket): Likewise.
2959 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2960 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2961 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2962 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2964 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2965 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2968 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2969 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2970 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2971 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2972 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2974 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2975 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2977 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2978 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2979 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2980 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2981 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2990 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2992 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2993 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2994 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2998 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3000 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3001 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3004 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3006 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3008 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3012 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3014 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3015 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3016 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3017 * sysdeps/posix/sleep.c: Likewise.
3018 * sysdeps/posix/tempname.c: Likewise.
3019 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3020 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3022 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3023 elf_machine_rela): Likewise.
3024 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3026 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3027 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3029 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3031 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3033 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3034 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3035 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3036 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3037 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3038 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3040 elf_machine_lazy_rel): Likewise.
3041 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3043 elf_machine_lazy_rel): Likewise.
3044 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3045 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3046 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3047 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3048 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3049 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3050 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3053 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3054 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3055 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3056 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3057 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3058 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3059 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3060 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3061 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3062 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3063 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3065 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3066 (__posix_fallocate64_l64): Likewise.
3067 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3068 (posix_fallocate): Likewise.
3069 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3071 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3072 getifaddrs_internal): Likewise.
3073 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3074 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3075 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3076 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3077 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3078 (__posix_fallocate64_l64): Likewise.
3079 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3081 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3082 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3084 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3085 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3086 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3089 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3090 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3091 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3093 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3094 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3095 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3098 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3099 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3101 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3102 (posix_fallocate): Likewise.
3103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3104 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3105 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3106 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3107 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3109 * time/asctime.c (asctime_internal): Likewise.
3110 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3111 * time/tzset.c (__tzset_parse_tz): Likewise.
3112 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3113 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3114 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3115 * wcsmbs/wcsmbsload.h: Likewise.
3117 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3120 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3122 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3124 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3125 arena_get2): Remove THREAD_STATS conditionals.
3126 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3127 __malloc_stats, int): Likewise.
3129 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3131 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3132 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3134 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3136 * manual/setjmp.texi: Fix typos/grammar errors.
3138 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3140 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3141 Only return early when n is <= 0. Delete unused return statement.
3143 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3145 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3146 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3147 * debug/tst-longjmp_chk3.c: New file.
3149 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3151 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3152 (test_main): Replace code with set_fortify_handler call.
3153 * debug/test-strcpy_chk.c: Likewise.
3154 * debug/tst-chk1.c: Likewise.
3155 * debug/tst-longjmp_chk.c: Likewise.
3156 * test-skeleton.c: Include fcntl.h & paths.h
3157 (set_fortify_handler): Define.
3159 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3161 * debug/tst-longjmp_chk.c: Add header comment and include
3163 (do_test): Mark static.
3164 (TEST_FUNCTION): Define.
3166 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3168 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3169 (IP_PMTUDISC_INTERFACE): Likewise.
3170 (IP_MULTICAST_IF): Likewise.
3171 (IP_MULTICAST_TTL): Likewise.
3172 (IP_MULTICAST_LOOP): Likewise.
3173 (IP_ADD_MEMBERSHIP): Likewise.
3174 (IP_DROP_MEMBERSHIP): Likewise.
3175 (IP_UNBLOCK_SOURCE): Likewise.
3176 (IP_BLOCK_SOURCE): Likewise.
3177 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3178 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3179 (IP_MSFILTER): Likewise.
3180 (MCAST_JOIN_GROUP): Likewise.
3181 (MCAST_BLOCK_SOURCE): Likewise.
3182 (MCAST_UNBLOCK_SOURCE): Likewise.
3183 (MCAST_LEAVE_GROUP): Likewise.
3184 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3185 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3186 (MCAST_MSFILTER): Likewise.
3187 (IP_MULTICAST_ALL): Likewise.
3188 (IP_UNICAST_IF): Likewise.
3190 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3192 * timezone/Makefile: Delete $(have-ksh) check.
3193 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3194 * timezone/tzselect.ksh: Add +x mode bits.
3196 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3198 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3199 (ANON_INODE_FS_MAGIC): Likewise.
3200 (BDEVFS_MAGIC): Likewise.
3201 (BINFMTFS_MAGIC): Likewise.
3202 (BTRFS_TEST_MAGIC): Likewise.
3203 (CRAMFS_MAGIC_WEND): Likewise.
3204 (DEBUGFS_MAGIC): Likewise.
3205 (ECRYPTFS_SUPER_MAGIC): Likewise.
3206 (EXT3_SUPER_MAGIC): Likewise.
3207 (EXT4_SUPER_MAGIC): Likewise.
3208 (FUTEXFS_SUPER_MAGIC): Likewise.
3209 (HOSTFS_SUPER_MAGIC): Likewise.
3210 (HUGETLBFS_MAGIC): Likewise.
3211 (MINIX3_SUPER_MAGIC): Likewise.
3212 (MTD_INODE_FS_MAGIC): Likewise.
3213 (NILFS_SUPER_MAGIC): Likewise.
3214 (OPENPROM_SUPER_MAGIC): Likewise.
3215 (PIPEFS_MAGIC): Likewise.
3216 (PSTOREFS_MAGIC): Likewise.
3217 (QNX6_SUPER_MAGIC): Likewise.
3218 (RAMFS_MAGIC): Likewise.
3219 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3220 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3221 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3222 (SECURITYFS_MAGIC): Likewise.
3223 (SELINUX_MAGIC): Likewise.
3224 (SMACK_MAGIC): Likewise.
3225 (SOCKFS_MAGIC): Likewise.
3226 (SQUASHFS_MAGIC): Likewise.
3227 (STACK_END_MAGIC): Likewise.
3228 (TMPFS_MAGIC): Likewise.
3229 (USBDEVICE_SUPER_MAGIC): Likewise.
3230 (V9FS_MAGIC): Likewise.
3231 (XENFS_SUPER_MAGIC): Likewise.
3232 (CRAMFS_MAGIC): Fix typo in comment.
3233 (EXT2_SUPER_MAGIC): Update comment.
3234 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3236 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3239 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3240 * sysdeps/unix/sysv/linux/arm: Move directory from
3241 ports/sysdeps/unix/sysv/linux/arm.
3242 * README: Update listing for arm-*-linux-gnueabi.
3244 * README: Remove mention of am33.
3246 2014-02-07 Roland McGrath <roland@hack.frob.com>
3248 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3249 than the comma operator, to avoid "rhs of comma has no effect"
3251 (__sigfillset, __sigandset, __sigorset): Likewise.
3252 * include/signal.h (__sigemptyset): Likewise.
3253 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3255 2014-02-07 Allan McRae <allan@archlinux.org>
3257 * version.h (RELEASE): Set to "development".
3258 (VERSION): Set to "2.19.90"
3259 * NEWS: Add 2.20 section.
3261 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3264 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3266 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3268 * manual/contrib.texi: Update entry for Carlos O'Donell,
3269 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3271 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3273 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3275 * sysdeps/unix/sysv/linux/kernel-features.h
3276 [__LINUX_KERNEL_VERSION >= 0x020621]
3277 (__ASSUME_PROC_PID_TASK_COMM): Define.
3279 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3282 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3283 conversion when destination buffer does not have enough space.
3284 * libio/tst-ftell-partial-wide.c: New test case.
3285 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3287 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3288 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3289 Leonard and Allan McRae.
3291 2014-02-04 David S. Miller <davem@davemloft.net>
3293 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3296 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3325 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3328 * shlib-versions: Likewise.
3330 2014-02-04 Roland McGrath <roland@hack.frob.com>
3331 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3333 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3334 (abilist-pattern): New variable, set to %-le.abilist.
3336 * Makerules (abilist-pattern): New variable.
3337 (vpath): Use $(abilist-pattern) in place of %.abilist.
3338 (check-abi-% pattern rule): Likewise.
3339 (check-abi, update-abi): Likewise.
3341 2014-02-04 Eric Wong <normalperson@yhbt.net>
3343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3345 2014-02-04 Eric Wong <normalperson@yhbt.net>
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3349 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3351 * manual/startup.texi: Add next, previous, and top entries for
3352 the `Program Arguments' and `Environment Variables' nodes.
3354 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3356 * manual/macros.texi: Add comments before MTASC-safety macros.
3358 * manual/users.texi: Document MTASC-safety properties.
3360 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3361 pthread_getspecific, pthread_setspecific): Format with
3362 @deftypefun, and add @safety note.
3363 * manual/signal.texi: Move comments that analyze the above
3364 functions to their home place.
3366 2014-02-03 Allan McRae <allan@archlinux.org>
3368 * po/sl.po: Update Slovenian translation from translation project.
3370 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3372 * manual/time.texi (timegm): Add missing blank after @c.
3373 Reported by Joseph Myers <joseph@codesourcery.com>.
3375 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3377 * manual/check-safety.sh: New.
3378 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3380 * manual/terminal.texi: Document MTASC-safety properties.
3382 * manual/filesys.texi: Document MTASC-safety properties.
3384 * manual/errno.texi: Document MTASC-safety properties.
3386 * manual/intro.texi: Document safety identifiers and
3389 * manual/string.texi (wcstok): Fix prototype.
3390 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3392 * manual/time.texi: Document MTASC-safety properties.
3394 * manual/string.texi: Document MTASC-safety properties.
3396 * manual/threads.texi: Document MTASC-safety properties.
3398 * manual/stdio.texi: Document MTASC-safety properties.
3400 * manual/syslog.texi: Document MTASC-safety properties.
3402 * manual/sysinfo.texi: Document MTASC-safety properties.
3404 * manual/startup.texi: Document MTASC-safety properties.
3406 * manual/socket.texi: Document MTASC-safety properties.
3408 * manual/signal.texi: Document MTASC-safety properties.
3410 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3412 * manual/setjmp.texi: Document MTASC-safety properties.
3414 * manual/search.texi: Document MTASC-safety properties.
3416 * manual/resource.texi: Document MTASC-safety properties.
3418 * manual/process.texi: Document MTASC-safety properties.
3420 * manual/platform.texi: Document MTASC-safety properties.
3422 * manual/pipe.texi: Document MTASC-safety properties.
3424 * manual/pattern.texi: Document MTASC-safety properties.
3426 * manual/message.texi: Document MTASC-safety properties.
3429 * manual/memory.texi: Document MTASC-safety properties.
3431 * manual/math.texi: Document MTASC-safety properties.
3433 * manual/locale.texi: Document MTASC-safety properties.
3435 * manual/llio.texi: Document MTASC-safety properties.
3437 * manual/libdl.texi: New.
3439 * manual/lang.texi: Document MTASC-safety properties.
3441 * manual/job.texi: Document MTASC-safety properties.
3443 * manual/getopt.texi: Document MTASC-safety properties.
3445 * manual/ctype.texi: Document MTASC-safety properties.
3447 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3450 * csu/libc-tls.c (static_map): Remove variable.
3451 (__libc_setup_tls): Use main executable's link map for TLS data.
3452 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3453 casing for LM_ID_BASE and GL(dl_nns).
3454 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3455 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3456 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3457 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3458 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3460 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3463 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3465 * manual/debug.texi: Document MTASC-safety properties.
3467 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3470 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3471 of __x86_64__ when disabling x87 inline functions.
3473 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3475 * manual/charset.texi: Document MTASC-safety properties.
3477 * manual/crypt.texi: Document MTASC-safety properties.
3479 * manual/conf.texi: Document MTASC-safety properties.
3481 * manual/arith.texi: Document MTASC-safety properties.
3483 * manual/argp.texi: Document MTASC-safety properties.
3485 * manual/macros.texi: Introduce macros to document multi
3486 thread, asynchronous signal and asynchronous cancellation
3488 * manual/intro.texi: Introduce the properties themselves.
3490 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3492 * sysdeps/sh/sh4/Makefile: New file.
3494 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3496 * math/gen-libm-test.pl ($srcdir): New variable.
3497 ($auto_input): Use it.
3499 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3502 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3503 access beyond array bounds when parsing netgroups file.
3505 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3506 the old buffer before realloc.
3508 2014-01-27 Allan McRae <allan@archlinux.org>
3510 * po/fr.po: Update French translation from translation project.
3512 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3514 * sysdeps/sh/libm-test-ulps: Regenerate.
3516 2014-01-24 David S. Miller <davem@davemloft.net>
3518 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3520 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3522 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3523 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3525 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3528 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3529 string pointers after reallocation.
3531 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3533 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3534 __SH4A__ instead of __SH_FPU_ANY__.
3536 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3538 * sysdeps/sh/fpu_control.h: New file.
3539 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3540 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3541 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3542 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3543 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3544 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3545 * sysdeps/sh/sys/ucontext.h: Remove.
3546 * sysdeps/sh/sys: Remove directory.
3548 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3550 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3551 s390/sys/ucontext.h.
3552 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3553 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3555 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3558 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3560 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3564 Adjust the vDSO correctly for internal calls.
3565 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3567 2014-01-20 Allan McRae <allan@archlinux.org>
3569 * po/ca.po: Update Catalan translation from translation project.
3571 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3573 * sysdeps/s390/sotruss-lib.c: New file.
3575 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3579 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3580 local calls issues by not having a PLT stub required for IFUNC calls.
3581 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3583 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3585 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3586 * math/test-fpucw-static.c: Likewise.
3588 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3591 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3593 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3596 implementation for powerpc.
3598 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3601 * sysdeps/posix/system.c (__libc_system): Do not enable
3602 asynchronous cancellation.
3604 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3607 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3608 handling only for numbers special also in the IEEE case.
3610 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3612 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3614 2014-01-11 Allan McRae <allan@archlinux.org>
3616 * po/bg.po: Update Bulgarian translation from translation project.
3618 * po/de.po: Update German translation from translation project.
3620 2014-01-10 Roland McGrath <roland@hack.frob.com>
3622 * sysdeps/generic/gcc-compat.h: New file.
3624 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * benchtests/asin-inputs: Correct slow inputs.
3627 * benchtests/acos-inputs: Likewise.
3629 2014-01-10 Allan McRae <allan@archlinux.org>
3631 * po:sv.po: Update Swedish translation from translation project.
3633 * po/vi.po: Update Vietnamese translation from translation project.
3635 * po/eo.po: Update Esperanto translation from translation project.
3637 * po/cs.po: Update Czech translation from translation project.
3639 * po/nl.po: Update Dutch translation from translation project.
3641 * po/pl.po: Update Polish translation from translation project.
3643 * po/ru.po: Update Russian translation from translation project.
3645 * po/uk.po: Update Ukrainian translation from translation project.
3647 2014-01-08 Brooks Moses <bmoses@google.com>
3649 * elf/dl-load.c: Fix comment typo.
3651 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3653 * po/header.pot: Rename to...
3654 * po/pot.header: ... this.
3655 * po/Makefile: Use pot.header.
3657 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3658 Maxim Kuvyrkov <maxim@kugelworks.com>
3661 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3662 SRC and DEST against LEN.
3664 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3669 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3671 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3675 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3679 for large positive arguments.
3681 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3683 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3685 * math/auto-libm-test-in: Mark various tests with
3686 xfail-rounding:ldbl-128ibm.
3687 * math/auto-libm-test-out: Regenerated.
3690 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3691 Increase overflow threshold.
3693 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3696 * stdio-common/vfprintf.c: Check for integer overflow.
3698 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3700 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3701 the first argument and return value of __tls_get_addr_internal.
3703 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3705 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3706 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3708 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3710 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3711 * sysdeps/s390/rtld-global-offsets.sym: New file.
3712 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3714 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3715 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3718 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3719 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3725 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3726 halfs of GPRs for high_gprs contexts.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3728 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3732 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3734 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3735 for high GPRs (uc_high_gprs) and for future extensions
3737 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3738 for future extensions (__reserved).
3739 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3741 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3742 SC_HIGHGPRS offset definition.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3744 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3746 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3748 * Versions.def: Add GLIBC_2.19 for libpthread.
3749 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3750 siglongjmp for libpthread with GLIBC_2.19 symver.
3751 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3752 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3753 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3754 * sysdeps/s390/__longjmp.c: New file.
3755 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3756 * sysdeps/s390/longjmp.c: New file.
3757 * sysdeps/s390/setjmp.S: New file.
3758 * sysdeps/s390/sigjmp.S: New file.
3759 * sysdeps/s390/v1-longjmp.c: New file.
3760 * sysdeps/s390/v1-setjmp.h: New file.
3761 * sysdeps/s390/v1-sigjmp.c: New file.
3762 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3763 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3765 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3766 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3767 versioned symbols for ____longjmp_chk.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3778 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3779 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3780 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3781 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3782 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3783 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3784 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3785 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3786 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3787 * sysdeps/s390/rtld-__longjmp.c: New file.
3788 * sysdeps/s390/rtld-setjmp.S: New file.
3790 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3794 Return -__logl (x) for small positive arguments without evaluating
3797 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3799 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3801 (__ptrace_peeksiginfo_args): ... this.
3802 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3806 2014-01-06 Allan McRae <allan@archlinux.org>
3808 * inet/netinet/in.h: Fix typo in comment.
3810 2014-01-05 Andreas Jaeger <aj@suse.de>
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3814 2014-01-05 Allan McRae <allan@archlinux.org>
3816 * po/libc.pot: Regenerated.
3818 * malloc/memusagestat.c: Fix gettext call formatting.
3820 2014-01-04 Sami Kerola <kerolasa@iki.fi>
3822 * nscd/nscd.c: Improve usage() output.
3824 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3826 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3827 * sysdeps/unix/sysv/linux/configure: Regenerated.
3828 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3829 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3831 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3834 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3835 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3837 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3840 extra tokens at end of #undef directive.
3841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3842 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3843 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3845 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3847 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3849 * math/auto-libm-test-in: Mark various tests with
3850 xfail-rounding:ldbl-128ibm.
3851 * math/auto-libm-test-out: Regenerated.
3853 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3856 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3857 numbers with subnormal high part when calculating exponent.
3860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3866 (__ieee754_acoshl): Use __log1pl not __log1p.
3868 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
3870 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3871 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3872 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3873 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3874 Convert to GNU style.
3875 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3876 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3877 memalign_check, __malloc_set_state): Likewise.
3878 * malloc/mallocbug.c (main): Likewise.
3879 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3880 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3881 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3882 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3883 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3884 * malloc/malloc.h: Likewise.
3885 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3886 memalignhook, reallochook, mabort): Likewise.
3887 * malloc/mcheck.h: Likewise.
3888 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3889 mmap64, mremap, munmap, dest): Likewise.
3890 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3891 * malloc/morecore.c (__default_morecore): Likewise.
3892 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3893 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3894 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3895 print_and_abort): Likewise.
3896 * malloc/obstack.h: Likewise.
3897 * malloc/set-freeres.c (__libc_freeres): Likewise.
3898 * malloc/tst-mallocstate.c (main): Likewise.
3899 * malloc/tst-mtrace.c (main): Likewise.
3900 * malloc/tst-realloc.c (do_test): Likewise.
3902 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3905 * nscd/netgroupcache.c (do_notfound): New function.
3906 (addgetnetgrentX): Use it.
3909 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3910 NSS_STATUS_NOTFOUND.
3912 2014-01-01 Joseph Myers <joseph@codesourcery.com>
3914 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917 2014-01-01 Allan McRae <allan@archlinux.org>
3919 * scripts/update-copyrights: Update configure input file suffix.
3921 * NEWS: Update copyright year.
3922 * catgets/gencat.c: Likewise.
3923 * csu/version.c: Likewise.
3924 * debug/catchsegv.sh: Likewise.
3925 * debug/pcprofiledump.c: Likewise.
3926 * debug/xtrace.sh: Likewise.
3927 * elf/ldconfig.c: Likewise.
3928 * elf/ldd.bash.in: Likewise.
3929 * elf/pldd.c: Likewise.
3930 * elf/sotruss.ksh: Likewise.
3931 * elf/sprof.c: Likewise.
3932 * iconv/iconv_prog.c: Likewise.
3933 * iconv/iconvconfig.c: Likewise.
3934 * locale/programs/locale.c: Likewise.
3935 * locale/programs/localedef.c: Likewise.
3936 * login/programs/pt_chown.c: Likewise.
3937 * malloc/memusage.sh: Likewise.
3938 * malloc/memusagestat.c: Likewise.
3939 * malloc/mtrace.pl: Likewise.
3940 * manual/libc.texinfo: Likewise.
3941 * nscd/nscd.c: Likewise.
3942 * nss/getent.c: Likewise.
3943 * nss/makedb.c: Likewise.
3944 * posix/getconf.c: Likewise.
3945 * scripts/test-installation.pl: Likewise.
3947 * All files with FSF copyright notices: Update copyright dates
3948 using scripts/update-copyrights.
3949 * intl/plural.c: Regenerated.
3950 * locale/programs/charmap-kw.h: Likewise.
3951 * locale/programs/locfile-kw.h: Likewise.
3953 2013-12-31 Mike Frysinger <vapier@gentoo.org>
3955 * sysdeps/unix/sysv/linux/configure: Regenerated.
3956 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3957 the linux/fanotify.h header.
3958 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3959 HAVE_LINUX_FANOTIFY_H is defined.
3961 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3963 * benchtests/cos-inputs: New inputs.
3964 * benchtests/sin-inputs: Likewise.
3966 * benchtests/atan-inputs: New inputs. Fix name of multiple
3967 precision fallback inputs.
3969 * benchtests/atanh-inputs: New inputs.
3970 * benchtests/tanh-inputs: Likewise.
3972 * benchtests/acosh-inputs: New inputs.
3973 * benchtests/asinh-inputs: Likewise.
3975 * benchtests/cosh-inputs: New inputs.
3976 * benchtests/sinh-inputs: Likewise.
3978 * benchtests/acos-inputs: Add more inputs.
3979 * benchtests/asin-inputs: Likewise.
3981 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
3984 * manual/arith.texi: Fix spelling.
3985 * manual/charset.texi: Likewise.
3986 * manual/errno.texi: Likewise.
3987 * manual/filesys.texi: Likewise.
3988 * manual/lang.texi: Likewise.
3989 * manual/llio.texi: Likewise.
3990 * manual/locale.texi: Likewise.
3991 * manual/message.texi: Likewise.
3992 * manual/resource.texi: Likewise.
3993 * manual/search.texi: Likewise.
3994 * manual/setjmp.texi: Likewise.
3995 * manual/stdio.texi: Likewise.
3996 * manual/string.texi: Likewise.
3997 * manual/sysinfo.texi: Likewise.
3998 * manual/time.texi: Likewise.
4000 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4002 * po/sl.po: New file.
4004 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4006 * .gitignore: Add core/.gdbinit/.gdb_history.
4008 2013-12-27 Allan McRae <allan@archlinux.org>
4011 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4012 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4014 2013-12-24 Brooks Moses <bmoses@google.com>
4016 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4017 all compilers that claim C++98 compliance, not just GCC.
4018 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4021 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4023 * NEWS: Restore accidentally deleted bug-fix entries.
4025 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4026 Ondřej Bílka <neleai@seznam.cz>
4029 * malloc/malloc.c (_int_free): Perform sanity check only if we
4032 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4035 * manual/stdio.texi (String Input Conversions): Clarify that character
4036 classes are not supported.
4038 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4042 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4045 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4046 Calculate results for small negative arguments directly rather
4047 than using reflection formula with special underflow handling.
4049 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4050 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4051 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4052 (fchflags): Likewise.
4054 (setlogin): Likewise.
4055 (sigaltstack): Likewise.
4058 (sigsetmask): Likewise.
4060 (waitpid): Likewise.
4061 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4062 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4064 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4065 * sysdeps/unix/bsd/Makefile: ... here.
4066 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4067 * sysdeps/unix/bsd/Versions: ... here.
4068 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4069 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4070 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4071 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4072 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4073 * sysdeps/unix/bsd/sigblock.c: ... here.
4074 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4075 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4076 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4077 * sysdeps/unix/bsd/sigvec.c: ... here.
4078 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4079 * sysdeps/unix/bsd/tcdrain.c: ... here.
4080 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4081 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4082 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4083 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4084 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4085 * sysdeps/unix/bsd/wait.c: ... here.
4086 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4087 * sysdeps/unix/bsd/wait3.c: ... here.
4088 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4089 * sysdeps/unix/bsd/waitpid.c: ... here.
4091 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4095 round-to-nearest for [!USE_AS_EXPM1L].
4096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4097 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4098 more tests of exp and exp10. Expect some exp10 tests to miss
4099 exceptions or fail in directed rounding modes.
4100 * math/auto-libm-test-out: Regenerated.
4101 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4102 (exp10_test_tonearest): New function.
4103 (exp10_towardzero_test_data): New array.
4104 (exp10_test_towardzero): New function.
4105 (exp10_downward_test_data): New array.
4106 (exp10_test_downward): New function.
4107 (exp10_upward_test_data): New array.
4108 (exp10_test_upward): New function.
4109 (main): Call the new functions.
4110 * sysdeps/i386/fpu/libm-test-ulps: Update.
4111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4113 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4115 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4116 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4117 * math/auto-libm-test-out: Regenerated.
4118 * math/libm-test.inc (acosh_test_data): Add more tests.
4119 (atanh_test_data): Likewise.
4120 (ceil_test_data): Likewise.
4121 (copysign_test_data): Likewise.
4122 * sysdeps/i386/fpu/libm-test-ulps: Update.
4123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4125 * timezone/checktab.awk: Update from tzcode 2013i.
4126 * timezone/private.h: Likewise.
4127 * timezone/scheck.c: Likewise.
4128 * timezone/tzfile.h: Likewise.
4129 * timezone/tzselect.ksh: Likewise.
4130 * timezone/zdump.c: Likewise.
4131 * timezone/zic.c: Likewise.
4133 * math/auto-libm-test-in: Add tests of cpow.
4134 * math/auto-libm-test-out: Regenerated.
4135 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4136 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4138 (func_calc_desc): Add mpc_cc_c union field.
4139 (test_functions): Add cpow.
4140 (special_fill_2pi): New function.
4141 (special_real_inputs): Add 2pi.
4142 (calc_generic_results): Handle mpc_cc_c.
4143 * sysdeps/i386/fpu/libm-test-ulps: Update.
4144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4146 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4147 csqrt, ctan and ctanh.
4148 * math/auto-libm-test-out: Regenerated.
4149 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4150 (TEST_COND_x86): Likewise.
4151 (ccos_test_data): Use AUTO_TESTS_c_c.
4152 (ccosh_test_data): Likewise.
4153 (cexp_test_data): Likewise.
4154 (clog_test_data): Likewise.
4155 (csqrt_test_data): Likewise.
4156 (ctan_test_data): Likewise.
4157 (ctan_tonearest_test_data): Likewise.
4158 (ctan_towardzero_test_data): Likewise.
4159 (ctan_downward_test_data): Likewise.
4160 (ctan_upward_test_data): Likewise.
4161 (ctanh_test_data): Likewise.
4162 (ctanh_tonearest_test_data): Likewise.
4163 (ctanh_towardzero_test_data): Likewise.
4164 (ctanh_downward_test_data): Likewise.
4165 (ctanh_upward_test_data): Likewise.
4166 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4168 (func_calc_desc): Add mpc_c_c union field.
4169 (FUNC_mpc_c_c): New macro.
4170 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4171 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4173 (special_fill_min_subnorm_p120): New function.
4174 (special_real_inputs): Add min_subnorm_p120.
4175 (calc_generic_results): Handle mpc_c_c.
4176 * sysdeps/i386/fpu/libm-test-ulps: Update.
4177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4179 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4181 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4182 do_sin_slow): New functions.
4183 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4184 cslow2, csloww1, csloww2): Use the new functions.
4186 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4187 Use M to change sign of result instead of X. Assume X is
4189 (csloww1): Likewise.
4193 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4200 (sloww1): Don't adjust sign of DX.
4201 (csloww1): Likewise.
4202 (sloww2): Use X directly and don't adjust sign of DX.
4203 (csloww2): Likewise.
4205 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4207 * math/auto-libm-test-in: Add tests of cabs and carg.
4208 * math/auto-libm-test-out: Regenerated.
4209 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4210 (carg_test_data): Likewise.
4211 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4213 (func_calc_desc): Add mpc_c_f union field.
4214 (test_functions): Add cabs and carg.
4215 (calc_generic_results): Handle mpc_c_f.
4217 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4218 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4219 as a macro and a compat symbol.
4220 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4221 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4222 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4223 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4224 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4225 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4227 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4229 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4231 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4233 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4235 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4237 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4238 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4241 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4245 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4247 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4248 trailing whitespace removed.
4249 * scripts/config.guess: Update to version 2013-11-29.
4250 * scripts/config.sub: Update to version 2013-10-01.
4252 * math/auto-libm-test-in: Add tests of sincos.
4253 * math/auto-libm-test-out: Regenerated.
4254 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4255 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4257 (func_calc_desc): Add mpfr_f_11 union field.
4258 (test_functions): Add sincos.
4259 (calc_generic_results): Handle mpfr_f_11.
4260 * sysdeps/i386/fpu/libm-test-ulps: Update.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4263 2013-12-19 Andreas Schwab <schwab@suse.de>
4265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4269 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4271 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4273 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4278 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4279 round-to-nearest mode when using frndint.
4280 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4284 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4286 * math/auto-libm-test-out: Regenerated.
4287 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4288 (TEST_COND_x86): Likewise.
4289 (expm1_tonearest_test_data): New array.
4290 (expm1_test_tonearest): New function.
4291 (expm1_towardzero_test_data): New array.
4292 (expm1_test_towardzero): New function.
4293 (expm1_downward_test_data): New array.
4294 (expm1_test_downward): New function.
4295 (expm1_upward_test_data): New array.
4296 (expm1_test_upward): New function.
4297 (main): Run the new test functions.
4298 * sysdeps/i386/fpu/libm-test-ulps: Update.
4299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4301 * include/features.h: Update comment documenting feature test
4302 macros. Mention _DEFAULT_SOURCE in comment.
4303 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4304 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4305 _BSD_SOURCE and _SVID_SOURCE.
4306 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4307 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4308 !_SVID_SOURCE]: Likewise.
4309 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4310 (__USE_POSIX_IMPLICITLY): Define.
4311 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4312 (_POSIX_SOURCE): Undefine and redefine.
4313 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4314 (_POSIX_C_SOURCE): Likewise.
4315 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4316 (Feature Test Macros): Update documentation of default features.
4318 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4320 * benchtests/Makefile: Add bench-strtok.
4321 * benchtests/bench-strtok.c: New file: strtok benchtest.
4323 2013-12-19 Allan McRae <allan@archlinux.org>
4325 * manual/install.texi: Suppress menu for plain text output.
4326 * INSTALL: Regenerated.
4328 2013-12-18 Brooks Moses <bmoses@google.com>
4331 * misc/getauxval.c: Include errno.h.
4332 (__getauxval): Set errno to ENOENT if the requested type is not
4334 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4335 don't declare with __attribute_const__.
4336 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4337 * manual/startup.texi: Document that getauxval sets errno.
4339 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4341 * math/auto-libm-test-in: Add tests of jn and yn.
4342 * math/auto-libm-test-out: Regenerated.
4343 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4344 (yn_test_data): Likewise.
4345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4347 (func_calc_desc): Add mpfr_if_f union field.
4348 (FUNC_mpfr_if_f): New macro.
4349 (test_functions): Add jn and yn.
4350 (calc_generic_results): Assert type of second input for
4351 mpfr_ff_f. Handle mpfr_if_f.
4352 (output_for_one_input_case): Disable all checking for arguments
4353 fitting floating-point types in case of an integer argument.
4354 * sysdeps/i386/fpu/libm-test-ulps: Update.
4355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4358 Don't expect fegetround reference in libm.so.
4360 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4362 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4363 $(config-cflags-nofma).
4365 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4367 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4368 * math/auto-libm-test-out: Regenerated.
4371 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4372 to determine exponent and adjust argument to have exponent of -1.
4373 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4375 * math/auto-libm-test-out: Regenerated.
4376 * sysdeps/i386/fpu/libm-test-ulps: Update.
4377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4379 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4381 * manual/probes.texi: Remove cases when per-thread arenas are
4384 2013-12-18 Andreas Schwab <schwab@suse.de>
4386 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4387 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4388 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4389 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4390 * sysdeps/i386/i686/multiarch/Makefile: Update.
4391 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4393 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4395 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4396 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4398 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4401 Support TZ transition times < 00:00:00.
4402 This is needed for version-3 tz-format files; it supports time
4403 stamps past 2037 for America/Godthab (the only entry in the tz
4404 database for which this change is relevant).
4405 * manual/time.texi (TZ Variable): Document transition times
4406 from -167:59:59 through -00:00:01.
4407 * time/tzset.c (tz_rule): Time of day is now signed.
4408 (__tzset_parse_tz): Parse negative time of day.
4410 Document TZ transition times >= 25:00:00.
4411 * manual/time.texi (TZ Variable): Document transition times from
4412 25:00:00 through 167:59:59. These are already supported, and this
4413 support will help with version-3 tz-format files.
4415 * manual/time.texi (TZ Variable): Modernize North America example
4416 to reflect current (i.e., 2007-and-later) daylight saving rules.
4418 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4420 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4422 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4423 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4426 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4427 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4428 * sysdeps/unix/bsd/clock.c: Likewise.
4429 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4430 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4431 * sysdeps/unix/bsd/init-posix.c: Likewise.
4432 * sysdeps/unix/bsd/poll.c: Likewise.
4433 * sysdeps/unix/bsd/ptsname.c: Likewise.
4434 * sysdeps/unix/bsd/seekdir.c: Likewise.
4435 * sysdeps/unix/bsd/setegid.c: Likewise.
4436 * sysdeps/unix/bsd/seteuid.c: Likewise.
4437 * sysdeps/unix/bsd/setgid.c: Likewise.
4438 * sysdeps/unix/bsd/setrgid.c: Likewise.
4439 * sysdeps/unix/bsd/setruid.c: Likewise.
4440 * sysdeps/unix/bsd/setsid.c: Likewise.
4441 * sysdeps/unix/bsd/setuid.c: Likewise.
4442 * sysdeps/unix/bsd/sigaction.c: Likewise.
4443 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4444 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4445 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4446 * sysdeps/unix/bsd/telldir.c: Likewise.
4447 * sysdeps/unix/bsd/times.c: Likewise.
4448 * sysdeps/unix/bsd/usleep.c: Likewise.
4450 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4451 ($(objpfx)libbsd-compat.a): Remove rule.
4453 * include/features.h (__FAVOR_BSD): Do not define.
4454 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4455 features conflicting with POSIX.
4456 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4457 (_BSD_SOURCE): Remove description of not being a subset of other
4458 feature test macros.
4459 * manual/job.texi (getpgrp): Do not document BSD version.
4460 (getpgid): Do not document by reference to BSD getpgrp.
4461 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4462 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4463 * signal/signal.h [__FAVOR_BSD]: Likewise.
4464 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4465 instead of making contents conditional on [__FAVOR_BSD].
4466 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4468 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4472 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4475 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4476 values below 2**-450, not 2**-500.
4477 * math/auto-libm-test-in: Don't allow spurious underflow from
4479 * math/auto-libm-test-out: Regenerated.
4483 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4484 values of ha and hb and sort them after adjusting subnormal
4486 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4488 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4489 values of ea and eb and sort them after adjusting subnormal
4491 * math/auto-libm-test-in: Do not expect some hypot tests of
4492 subnormals to fail. Add more hypot tests.
4493 * math/auto-libm-test-out: Regenerated.
4495 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4498 * sysdeps/sh/s_fma.c: New file.
4499 * sysdeps/sh/s_fmaf.c: New file.
4500 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4502 * sysdeps/sh/Implies: Add sh/soft-fp.
4504 2013-12-16 Roland McGrath <roland@hack.frob.com>
4506 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4507 level of indirection to members `objname', `errstring', `malloced'.
4508 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4509 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4510 it as the __longjmp argument (just pass 1 instead).
4511 (_dl_catch_error): Initialize C with argument pointers and address of
4512 volatile local ERRCODE rather than copying values out of C at return.
4514 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4516 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4517 * math/auto-libm-test-out: Regenerated.
4518 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4519 (hypot_test_data): Likewise.
4520 (pow_test_data): Likewise.
4521 (pow_tonearest_test_data): Likewise.
4522 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4524 (func_calc_desc): Add mpfr_ff_f union field.
4525 (FUNC_mpfr_ff_f): New macro.
4526 (test_functions): Add atan2, hypot and pow.
4527 (special_fill_min): New function.
4528 (special_fill_minus_min): Likewise.
4529 (special_fill_min_subnorm): Likewise.
4530 (special_fill_minus_min_subnorm): Likewise.
4531 (special_real_inputs): Add min, -min, min_subnorm and
4533 (calc_generic_results): Handle mpfr_ff_f.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537 2013-12-16 Will Newton <will.newton@linaro.org>
4539 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4540 (Aligned Memory Blocks): Add documentation for aligned_alloc
4541 and suggest it as an alternative to posix_memalign.
4542 (Hooks for Malloc): Document __memalign_hook is also called
4543 for aligned_alloc. (Summary of Malloc): Add summary for
4544 aligned alloc. Document __memalign_hook is also called
4547 2013-12-16 Will Newton <will.newton@linaro.org>
4549 * manual/memory.texi (Malloc Examples): Clarify default
4550 alignment documentation. Suggest posix_memalign rather
4551 than memalign or valloc.
4552 (Aligned Memory Blocks): Remove suggestion to use memalign
4553 or valloc. Remove obsolete comment about BSD.
4554 Document memalign errno values and mark the function obsolete.
4555 Document posix_memalign returned error codes. Mark valloc
4556 as obsolete. (Hooks for Malloc): __memalign_hook is also
4557 called for posix_memalign and valloc.
4558 (Summary of Malloc): Add posix_memalign to function summary.
4559 __memalign_hook is also called for posix_memalign and valloc.
4561 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4563 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4567 (sloww): Use mynumber union. Expand ternary operator into
4569 (cslow): use mynumber union.
4571 2013-12-16 Allan McRae <allan@archlinux.org>
4573 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4574 * configure: Regenerated.
4576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4579 * configure.ac: Added --enable-maintainer-mode. Check for
4580 autoconf when enabled.
4581 * configure: Regenerated.
4583 * nscd/nscd.service: New file.
4584 * nscd/nscd.tmpfiles: New file.
4586 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4589 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4590 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4591 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4592 (strstr): Add __strstr_sse2_unaligned ifunc.
4593 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4594 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4595 (strcasestr): Remove __strcasestr_sse42 ifunc.
4596 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4600 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4602 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4603 * sysdeps/sh/bits/fenv.h: ... here.
4604 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4606 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4608 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4610 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4613 hypotf multiarch implementations.
4614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4616 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4617 multiarch hypot for PPC64.
4618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4620 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4621 multiarch hypotf for PPC64.
4623 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4626 modff multiarch implementations.
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4630 multiarch modf for PPC64.
4631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4634 multiarch modff for PPC64.
4636 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4639 and logl multiarch implementations.
4640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4643 multiarch logb for PPC64.
4644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4647 multiarch logb for PPC64.
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4651 multiarch logb for PPC64.
4653 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4656 isinff multiarch implementation.
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4661 multiarch isinf for PPC64.
4662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4665 multiarch isinff for PPC64.
4667 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4670 finitef multiarch implementation.
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4675 multiarch finite for PPC64.
4676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4679 multiarch finitef for PPC64.
4681 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4684 lrint multiarch implementation.
4685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4689 multiarch llrint for PPC64.
4690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4691 multiarch lrint for PPC64.
4693 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4696 copysignf multiarch implementation.
4697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4702 multiarch copysign for PPC64.
4703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4704 multiarch copysignf for PPC64.
4706 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4709 multiarch implementation.
4710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4718 multiarch llround for PPC64.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4720 multiarch trunc for PPC64.
4721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4722 multiarch truncf for PPC64.
4724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4727 multiarch implementation.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4736 multiarch llround for PPC64.
4737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4738 multiarch round for PPC64.
4739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4740 multiarch roundf for PPC64.
4742 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4745 multiarch implementation.
4746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4754 multiarch llround for PPC64.
4755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4756 multiarch floor for PPC64.
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4758 multiarch floorf for PPC64.
4760 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4763 multiarch implementation.
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4772 multiarch llround for PPC64.
4773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4774 multiarch ceil for PPC64.
4775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4776 multiarch ceilf for PPC64.
4778 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4781 multiarch implementation.
4782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4789 multiarch llround for PPC64.
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4791 multiarch lround for PPC64.
4793 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4796 multiarch implementation.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4804 multiarch isnan for PPC64.
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4806 multiarch isnanf for PPC64.
4808 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4811 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4812 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4813 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4814 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4817 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4827 multiarch implementations.
4828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4829 (__libc_ifunc_impl_list): Likewise.
4830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4832 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4833 multiarch stpcpy for PPC64.
4835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4838 multiarch implementations.
4839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4840 (__libc_ifunc_impl_list): Likewise.
4841 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4842 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4843 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4844 multiarch strcpy for PPC64.
4846 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4848 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4849 redefine function name.
4850 (_wordcopy_fwd_dest_aligned): Likewise.
4851 (_wordcopy_bwd_aligned): Likewise.
4852 (_wordcopy_bwd_dest_aligned): Likewise.
4853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4854 multiarch implementations.
4855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4856 (__libc_ifunc_impl_list): Likewise.
4857 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4858 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4859 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4860 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4861 multiarch wcscpy for PPC64.
4863 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4866 multiarch implementations.
4867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4868 (__libc_ifunc_impl_list): Likewise.
4869 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4870 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4871 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4872 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4873 multiarch wcscpy for PPC64.
4875 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4878 multiarch implementations.
4879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4880 (__libc_ifunc_impl_list): Likewise.
4881 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4882 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4883 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4884 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4885 multiarch wcsrchr for PPC64.
4887 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4890 multiarch implementations.
4891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4892 (__libc_ifunc_impl_list): Likewise.
4893 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4894 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4895 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4896 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4897 multiarch wcschr for PPC64.
4899 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4902 multiarch implementations.
4903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4904 (__libc_ifunc_impl_list): Likewise.
4905 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4906 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4907 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4908 multiarch strchrnul for PPC64.
4910 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4915 (__libc_ifunc_impl_list): Likewise.
4916 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4917 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4918 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4919 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4927 (__libc_ifunc_impl_list): Likewise.
4928 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4929 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4930 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4931 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4934 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4937 multiarch implementations.
4938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4939 (__libc_ifunc_impl_list): Likewise.
4940 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4941 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4942 strncasecmp for PPC64.
4943 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4944 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4945 multiarch strncasecmp_l for PPC64.
4947 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4950 multiarch implementations.
4951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4952 (__libc_ifunc_impl_list): Likewise.
4953 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4954 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4955 multiarch strcasecmp for PPC64.
4956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4959 multiarch strcasecmp_l for PPC64.
4961 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4966 (__libc_ifunc_impl_list): Likewise.
4967 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4969 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4972 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4983 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4988 (__libc_ifunc_impl_list): Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4990 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4991 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4992 rawmemrchr for PPC64.
4994 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4999 (__libc_ifunc_impl_list): Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5001 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5002 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5005 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5012 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5013 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5021 (__libc_ifunc_impl_list): Likewise.
5022 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5023 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5024 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5027 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5030 avoid cretion of __bzero symbol.
5031 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5033 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5035 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5038 multiarch implementations.
5039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5040 (__libc_ifunc_impl_list): Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5042 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5043 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5044 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5046 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5047 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5048 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5049 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5050 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5052 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5054 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5060 (__libc_ifunc_impl_list): Likewise.
5061 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5062 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5063 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5064 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5067 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5070 multiarch for POWER/PPC64.
5071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5073 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5077 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5079 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5082 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5085 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5086 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5087 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5088 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5089 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5090 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5091 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5092 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5093 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5094 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5095 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5096 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5097 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5098 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5107 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5109 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5111 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5113 * benchtests/Makefile (bench): Add exp2 and log2.
5114 (LDLIBS-bench-exp2): Add -lm.
5115 (LDLIBS-bench-log2): Likewise.
5116 * benchtests/exp2-inputs: New inputs file.
5117 * benchtests/log2-inputs: New inputs file.
5118 * benchtests/log-inputs: Add new inputs.
5119 * benchtests/tan-inputs: Likewise.
5121 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5123 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5125 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5126 csloww1, csloww2): ... from here.
5128 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5129 instead of structures.
5130 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5131 (POLYNOMIAL): Likewise.
5132 (TAYLOR_SLOW): Likewise.
5140 (bsloww1): Likewise.
5141 (bsloww2): Likewise.
5144 (csloww1): Likewise.
5145 (csloww2): Likewise.
5147 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5149 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5150 (__malloc_assert, __libc_realloc, __libc_calloc,
5151 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5153 * malloc/hooks.c (realloc_check): Likewise.
5155 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5157 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5158 * malloc/arena.c: Remove PER_THREAD conditional.
5159 [!PER_THREAD]: Remove code.
5160 (ptmalloc_unlock_all2): Likewise.
5161 (ptmalloc_init): Likewise.
5162 (_int_new_arena): Likewise.
5163 (arena_get2): Likewise.
5164 * malloc/hooks.c (__malloc_get_state): Likewise.
5165 (__malloc_set_state): Likewise.
5166 * malloc/malloc.c: Likewise.
5167 (struct malloc_state): Likewise.
5168 (struct malloc_par): Likewise.
5169 (__libc_realloc): Likewise.
5170 (__libc_mallopt): Likewise.
5172 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5174 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5176 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5178 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5179 macro to a function. Check for zero perturb_byte.
5180 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5182 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5184 * malloc/malloc.c: (force_reg): Remove.
5185 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5186 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5187 force_reg by atomic_forced_read.
5188 * malloc/arena.c (ptmalloc_init): Likewise.
5189 * malloc/hooks.c (top_check): Likewise.
5191 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5195 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5199 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5201 * math/auto-libm-test-in: Add tests of lgamma.
5202 * math/auto-libm-test-out: Regenerated.
5203 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5204 (M_LOG_2_SQRT_PIl): Likewise.
5205 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5206 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5208 (func_calc_desc): Add mpfr_f_f1 union field.
5217 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5218 (test_functions): Add lgamma.
5219 (calc_generic_results): Handle mpfr_f_f1.
5220 * sysdeps/i386/fpu/libm-test-ulps: Update.
5221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5226 __mpn_add_n for PowerPC64/POWER7.
5227 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5228 __mpn_sub_n for PowerPC64/POWER7.
5230 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5233 __mpn_addmul_1 for PowerPC64.
5234 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5235 __mpn_submul_1 for PowerPC64.
5236 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5238 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5241 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5244 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5248 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5250 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5253 add multiarch folders.
5254 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5255 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5256 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5257 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5258 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5259 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5260 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5261 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5262 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5263 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5264 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5275 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5281 multiarch __ieee754_hypot for PowerPC32.
5282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5287 multiarch __ieee754_hypotf for PowerPC32.
5289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5292 long_double_symbol only if __logbl is defined.
5293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5294 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5296 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5298 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5299 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5300 path for implementation.
5301 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5304 logb, and logbl multiarch implementations for PowerPC32.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5310 multiarch logb for PowerPC32.
5311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5316 multiarch logbf for PowerPC32.
5317 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5321 multiarch logbl implementation for PowerPC32.
5323 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5326 and modff multiarch implementations.
5327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5332 multiarch modf for PowerPC32.
5333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5338 multiarch modff for PowerPC32.
5340 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5343 and lrintf multiarch implementations.
5344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5349 multiarch lrint for PowerPC32.
5350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5351 file: multiarch lrintf for PowerPC32.
5353 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5356 and lroundf multiarch implementations.
5357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5364 multiarch lround for PowerPC32.
5365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5366 file: multiarch lroundf for PowerPC32.
5368 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5371 copysign and copysignf multiarch implementations.
5372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5377 file: multiarch copysign for PowerPC32.
5378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5379 file: multiarch copysignf for PowerPC32.
5381 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5384 and truncf multiarch implementations.
5385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5390 multiarch trunc for PowerPC32.
5391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5396 multiarch truncf for PowerPC32.
5398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5401 and roundf multiarch implementations.
5402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5407 multiarch round for PowerPC32.
5408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5413 multiarch roundf for PowerPC32.
5415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5418 and floorf multiarch implementations.
5419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5424 multiarch floor for PowerPC32.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5430 multiarch floorf for PowerPC32.
5432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5435 and ceilf multiarch implementations.
5436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5441 multiarch ceil for PowerPC32.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5447 multiarch ceilf for PowerPC32.
5449 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5453 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5456 and finitef multiarch implementations.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5462 multiarch finite for PowerPC32.
5463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5466 file: multiarch finitef for PowerPC32.
5468 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5471 and isinff multiarch implementations.
5472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5477 multiarch isinf for PowerPC32.
5478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5481 multiarch isinff for PowerPC32.
5483 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5486 alias when __isnan is defined.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5488 and isnanf multiarch implementations.
5489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5498 multiarch isnan for PowerPC32.
5499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5504 multiarch isnanf for PowerPC32.
5506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5509 and sqrtf multiarch implementations.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5515 multiarch sqrt for PowerPC32.
5516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5521 multiarch sqrtf for PowerPC32.
5523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5526 and llroundf multiarch implementations.
5527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5534 file: multiarch llround for PowerPC32.
5535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5536 file: multiarch llroundf for PowerPC32.
5538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5541 multiarch PowerPC32 fpu implementations.
5542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5547 multiarch llrint for PowerPC32.
5548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5555 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5559 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5563 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5565 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5567 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5568 multiarch wordcopy for PPC32.
5569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5572 (__libc_ifunc_impl_list): Likewise.
5573 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5574 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5575 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5576 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5577 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5578 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5580 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5582 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5590 multiarch wcscpy for PPC32.
5591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5594 (__libc_ifunc_impl_list): Likewise.
5595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5596 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5597 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5598 sysdeps/powerpc/power6/wcscpy.c.
5600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5610 multiarch wcsrchr for PPC32.
5611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5614 (__libc_ifunc_impl_list): Likewise.
5615 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5616 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5617 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5618 sysdeps/powerpc/power6/wcsrchr.c.
5620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5628 multiarch wcschr for PPc32.
5629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5632 (__libc_ifunc_impl_list): Likewise.
5633 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5634 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5635 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5636 sysdeps/powerpc/power6/wcschr.c.
5638 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5644 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5645 file: multiarch strchr for PPC32.
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5649 (__libc_ifunc_impl_list): Likewise.
5651 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5653 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5655 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5657 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5660 multiarch strchrnul for PPC32.
5661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5664 (__libc_ifunc_impl_list): Likewise.
5666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5671 multiarch strncasecmp for PPC32.
5672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5675 multiarch strncasecmp_l for PPC32.
5676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5677 strncasecmp multiarch objects.
5678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5679 (__libc_ifunc_impl_list): Likewise.
5681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5686 multiarch strncasecmp for PPC32.
5687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5690 multiarch strcasecmp_l for PPC32.
5691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5694 (__libc_ifunc_impl_list): Likewise.
5696 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5703 multiarch strncmp for PPC32.
5704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5707 (__libc_ifunc_impl_list): Likewise.
5709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5712 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5714 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5715 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5719 (__libc_ifunc_impl_list): Likewise.
5721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5725 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5727 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5731 (__libc_ifunc_impl_list): Likewise.
5733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5739 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5740 multiarch rawmemchr for PPC32.
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5744 (__libc_ifunc_impl_list): Likewise.
5746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5750 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5752 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5753 file: memrchr multiarch for PPC32.
5754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5757 (__libc_ifunc_impl_list): Likewise.
5759 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5766 multiarch memchr for PPC32.
5767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5770 (__libc_ifunc_impl_list): Likewise.
5772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5775 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5777 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5779 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5780 file: multiarch mempcpy for PPC32.
5781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5784 (__libc_ifunc_impl_list): Likewise.
5786 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5792 multiarch bzero for PPC32.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5797 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5798 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5799 file: multiarch memset for PPC32.
5800 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5802 memset multiarch objects.
5803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5804 (__libc_ifunc_impl_list): Likewise.
5806 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5813 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5817 (__libc_ifunc_impl_list): Likewise.
5819 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5829 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5830 multiarch memcpy for PPC32.
5831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5834 (__libc_ifunc_impl_list): Likewise.
5836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5839 support multiarch for POWER/PPC32.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5844 Implies file to make multiarch folder appers before the fpu and
5845 default folder for power4 configuration.
5847 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5849 * scripts/bench.pl: Append volatile keyword to type.
5851 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5853 * sysdeps/sh/sotruss-lib.c: New file.
5854 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5856 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5860 2013-12-05 Joseph Myers <joseph@codesourcery.com>
5863 * math/w_tgamma.c: Include <errno.h>.
5864 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5865 * math/w_tgammaf.c: Include <errno.h>.
5866 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5867 * math/w_tgammal.c: Include <errno.h>.
5868 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5869 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5870 underflow. Add more tgamma tests.
5871 * math/auto-libm-test-out: Regenerated.
5872 * sysdeps/i386/fpu/libm-test-ulps: Update.
5873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5875 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5876 sin, sinh, tan, tanh, tgamma, y0 and y1.
5877 * math/auto-libm-test-out: Regenerated.
5878 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5879 (TEST_COND_x86): Likewise.
5880 (M_E2l): Remove macro.
5882 (M_2_SQRT_PIl): Likewise.
5883 (M_SQRT_PIl): Likewise.
5884 (M_1_DIV_El): Likewise.
5885 (log_test_data): Use AUTO_TESTS_f_f.
5886 (log10_test_data): Likewise.
5887 (log1p_test_data): Likewise.
5888 (log2_test_data): Likewise.
5889 (sin_test_data): Likewise.
5890 (sin_tonearest_test_data): Likewise.
5891 (sin_towardzero_test_data): Likewise.
5892 (sin_downward_test_data): Likewise.
5893 (sin_upward_test_data): Likewise.
5894 (sinh_test_data): Likewise.
5895 (sinh_tonearest_test_data): Likewise.
5896 (sinh_towardzero_test_data): Likewise.
5897 (sinh_downward_test_data): Likewise.
5898 (sinh_upward_test_data): Likewise.
5899 (tan_test_data): Likewise.
5900 (tan_tonearest_test_data): Likewise.
5901 (tan_towardzero_test_data): Likewise.
5902 (tan_downward_test_data): Likewise.
5903 (tan_upward_test_data): Likewise.
5904 (tanh_test_data): Likewise.
5905 (tgamma_test_data): Likewise.
5906 (y0_test_data): Likewise.
5907 (y1_test_data): Likewise.
5908 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5909 (special_real_inputs): Add pi/4.
5910 * sysdeps/i386/fpu/libm-test-ulps: Update.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5916 "longjmp_target" static probes.
5917 (__longjmp): Rename to __longjmp_symbol.
5918 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5919 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5920 on which longjmp to generate.
5921 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5922 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5924 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5925 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5926 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5927 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5928 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5929 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5931 __longjmp_symbol based on which __longjmp to generate.
5932 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5934 (setjmp): Rename to setjmp_symbol.
5935 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5936 (_setjmp): Rename to _setjmp_symbol.
5937 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5938 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5939 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5940 which setjmp to generate.
5941 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5942 "longjmp_target" static probes.
5944 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5946 * benchtests/README: Add note about output arguments.
5947 * benchtests/bench-sincos.c: Remove file.
5948 * benchtests/sincos-inputs: New file.
5949 * scripts/bench.pl: Identify output arguments and define
5950 static variables for them.
5952 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5955 * Makefile (INSTALL): Add install-plain.texi as the primary
5957 * manual/install-plain.texi: New file.
5958 * manual/install.texi: Include node directive only for
5959 non-plaintext output.
5961 2013-12-04 Joseph Myers <joseph@codesourcery.com>
5963 * stdlib/longlong.h: Update from GCC.
5967 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5968 * math/w_j0f.c (y0f): Likewise.
5969 * math/w_j0l.c (__y0l): Likewise.
5970 * math/w_j1.c (y1): Likewise.
5971 * math/w_j1f.c (y1f): Likewise.
5972 * math/w_j1l.c (__y1l): Likewise
5973 * math/w_jn.c (yn): Likewise.
5974 * math/w_jnf.c (ynf): Likewise.
5975 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5976 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5977 value for Bessel function domain errors outside _SVID_ mode.
5978 Adjust sign of return value for yn (negative integer, 0).
5979 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5980 by zero in return for negative x and set sign appropriately for
5982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5983 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5984 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5985 expectations in error cases.
5986 (y1_test_data): Likewise.
5987 (yn_test_data): Likewise.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5991 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5993 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5994 "64" to "64-v1". Add "64-v2".
5995 (abi-64-options): Rename to ...
5996 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5997 (abi-64-condition): Rename to ...
5998 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5999 (abi-64-ld-soname): Rename to ...
6000 (abi-64-v1-ld-soname): ... this.
6001 (abi-64-v2-options): Define.
6002 (abi-64-v2-condition): Likewise.
6003 (abi-64-v2-ld-soname): Likewise.
6004 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6005 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6010 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6011 Alan Modra <amodra@gmail.com>
6013 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6014 New versions for use with the ELFv2 ABI.
6015 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6016 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6018 (struct La_ppc64v2_retval): Likewise.
6019 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6020 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6021 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6022 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6023 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6024 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6025 Do not save or restore CR.
6026 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6027 (_dl_profile_resolve): Do no save or restore CR. Support extended
6028 return values for ELFv2 ABI. Fix location of FPR return registers.
6029 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6030 updated values for _CALL_ELF == 2.
6031 (La_regs, La_retval, int_retval): Likewise.
6033 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6035 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6036 (FRAME_MIN_SIZE_PARM): Likewise.
6037 (FRAME_BACKCHAIN): Likewise.
6038 (FRAME_CR_SAVE): Likewise.
6039 (FRAME_LR_SAVE): Likewise.
6040 (FRAME_TOC_SAVE): Likewise.
6041 (FRAME_PARM_SAVE): Likewise.
6042 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6043 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6044 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6045 (call_mcount_parm_offset): New macro.
6046 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6047 (PROF): Use symbolic stack frame offsets.
6048 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6049 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6050 Redefine in terms of FRAME_MIN_SIZE.
6051 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6052 (_dl_profile_resolve): Likewise. Update comment.
6053 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6054 symbols stack frame offsets.
6055 (__sigsetjmp): Likewise.
6056 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6057 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6058 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6059 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6062 (FRAME_BACKCHAIN): Remove.
6063 (FRAME_CR_SAVE): Likewise.
6064 (FRAME_LR_SAVE): Likewise.
6065 (FRAME_COMPILER_DW): Likewise.
6066 (FRAME_LINKER_DW): Likewise.
6067 (FRAME_TOC_SAVE): Likewise.
6068 (FRAME_PARM_SAVE): Likewise.
6069 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6070 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6071 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6073 (CHECK_SP): Use symbolic stack frame offsets.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6075 zone" instead of caller's parameter save area for temp storage.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6077 Likewise. Also, use symbolic stack frame offsets.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6079 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6080 our own stack frame instead of the caller's.
6081 (__socket): Use symbolic stack frame offsets.
6083 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6084 Alan Modra <amodra@gmail.com>
6086 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6088 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6089 PPC64_LOCAL_ENTRY_OFFSET): Define.
6090 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6092 (elf_machine_fixup_plt): Call it.
6093 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6095 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6096 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6097 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6098 r2 before calling target.
6100 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6101 Alan Modra <amodra@gmail.com>
6103 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6104 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6105 versions of macros to support ELFv2 ABI.
6106 (LOCALENTRY): New macro.
6107 (ENTRY, EALIGN): Use it.
6108 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6109 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6110 fall through into ENTRY entry point.
6111 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6112 Only define if _CALL_ELF != 2.
6114 (elf_machine_matches_host): Verify ABI version matches.
6115 (RTLD_START): Use LOCALENTRY.
6116 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6117 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6118 (PLT_ENTRY_WORDS): New macro.
6119 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6120 (elf_machine_runtime_setup): Support ELFv2 ABI.
6121 (elf_machine_fixup_plt): Likewise.
6122 (elf_machine_plt_conflict): Likewise.
6123 (resolve_ifunc): Likewise.
6124 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6125 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6128 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6130 (makecontext): Support ELFv2 ABI.
6131 * elf/elf.h (EF_PPC64_ABI): Define.
6133 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6135 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6136 New assembler macro.
6137 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6138 [ASSEMBLER] (ENTRY): ... but instead here ...
6139 [ASSEMBLER] (EALIGN): ... and here.
6140 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6141 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6142 [!ASSEMBLER] (ENTRY_2): Use it.
6143 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6144 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6146 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6147 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6149 Use PPC64_LOAD_FUNCPTR.
6151 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6153 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6155 2013-12-04 Alan Modra <amodra@gmail.com>
6157 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6158 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6159 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6160 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6163 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6164 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6165 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6166 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6167 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6169 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6172 (__makecontext): Fix incorrect CFI when backtracing out of
6173 context created via makecontext.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6175 (__setcontext): Fix incorrect CFI during switch to new context.
6176 (__novec_setcontext): Likewise.
6178 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6181 * time/strptime_l.c (__strptime_internal): Allow modifiers
6183 * time/tst-strptime.c (day_tests): Add testcase.
6186 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6188 * scripts/bench.pl: Skip over blank lines.
6190 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6193 * manual/time.texi (Calendar Time): Clarify what timezone functions
6196 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6200 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6202 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6204 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6205 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6206 * debug/memset_chk.c (__memset_chk): Likewise.
6207 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6208 * debug/strncpy_chk.c: Likewise.
6210 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6214 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6215 (__ieee754_exp): For possibly underflowing results, check size of
6216 result and force underflow exception if required.
6217 * math/auto-libm-test-in: Add more tests of exp.
6218 * math/auto-libm-test-out: Regenerated.
6219 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6223 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6224 * math/w_exp2f.c (__exp2f): Likewise.
6225 * math/w_exp2l.c (__exp2l): Likewise.
6226 * math/auto-libm-test-in: Do not allow missing errno on exp2
6228 * math/auto-libm-test-out: Regenerated.
6230 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6233 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6234 handle filename validation.
6235 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6238 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6242 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6243 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6245 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6247 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6249 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6250 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6251 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6252 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6253 Add more erfc tests.
6254 * math/auto-libm-test-out: Regenerated.
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6258 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6259 exp2, expm1, j0 and j1.
6260 * math/auto-libm-test-out: Regenerated.
6261 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6262 (erfc_test_data): Likewise.
6263 (exp_test_data): Likewise.
6264 (exp_tonearest_test_data): Likewise.
6265 (exp_towardzero_test_data): Likewise.
6266 (exp_downward_test_data): Likewise.
6267 (exp_upward_test_data): Likewise.
6268 (exp10_test_data): Likewise.
6269 (exp2_test_data): Likewise.
6270 (expm1_test_data): Likewise.
6271 (j0_test_data): Likewise.
6272 (j1_test_data): Likewise.
6273 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6274 (input_flag_type): Add flag_xfail_rounding.
6275 (input_flags): Add xfail-rounding.
6276 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6277 (output_for_one_input_case): Handle flag_xfail_rounding.
6278 * sysdeps/i386/fpu/libm-test-ulps: Update.
6279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6281 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6284 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6287 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6290 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6291 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6292 (STAP_PROBE0): New macro.
6293 (STAP_PROBE1): Likewise.
6294 (STAP_PROBE2): Likewise.
6295 (STAP_PROBE3): Likewise.
6296 (STAP_PROBE4): Likewise.
6298 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6300 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6302 2013-12-02 Steve Ellcey <sellcey@mips.com>
6304 * benchtests/Makefile (bench): Add sqrt.
6305 (LDLIBS-bench-sqrt): New.
6306 * benchtests/sqrt-input: New.
6308 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6310 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6311 (GAIH_EAI): Likewise.
6312 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6313 (gaih_inet): Likewise.
6314 (getaddrinfo): Don't use GAIH_EAI.
6316 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6317 (struct gaih): Remove definition.
6319 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6321 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6322 Use HERRNOP directly.
6324 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6328 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6330 * math/gen-auto-libm-tests.c (test_functions): Add more
6331 single-argument functions.
6332 (special_fill_pi_2): New function.
6333 (special_fill_minus_pi_2): Likewise.
6334 (special_fill_pi_6): Likewise.
6335 (special_fill_minus_pi_6): Likewise.
6336 (special_fill_pi_3): Likewise.
6337 (special_fill_2pi_3): Likewise.
6338 (special_fill_e): Likewise.
6339 (special_fill_1_e): Likewise.
6340 (special_fill_e_minus_1): Likewise.
6341 (special_real_inputs): Add more special inputs.
6342 (output_for_one_input_case): Do not require ERANGE on underflow to
6343 zero if round-to-nearest result does not underflow to zero, unless
6344 exact results required.
6345 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6346 atan, atanh, cbrt, cos and cosh.
6347 * math/auto-libm-test-out: Regenerated.
6348 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6349 (acos_tonearest_test_data): Likewise.
6350 (acos_towardzero_test_data): Likewise.
6351 (acos_downward_test_data): Likewise.
6352 (acos_upward_test_data): Likewise.
6353 (acosh_test_data): Likewise.
6354 (asin_test_data): Likewise.
6355 (asin_tonearest_test_data): Likewise.
6356 (asin_towardzero_test_data): Likewise.
6357 (asin_upward_test_data): Likewise.
6358 (asinh_test_data): Likewise.
6359 (atan_test_data): Likewise.
6360 (atanh_test_data): Likewise.
6361 (cbrt_test_data): Likewise.
6362 (cos_test_data): Likewise.
6363 (cos_tonearest_test_data): Likewise.
6364 (cos_towardzero_test_data): Likewise.
6365 (cos_downward_test_data): Likewise.
6366 (cos_upward_test_data): Likewise.
6367 (cosh_test_data): Likewise.
6368 (cosh_tonearest_test_data): Likewise.
6369 (cosh_towardzero_test_data): Likewise.
6370 (cosh_downward_test_data): Likewise.
6371 (cosh_upward_test_data): Likewise.
6372 * sysdeps/i386/fpu/libm-test-ulps: Update.
6373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6375 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6378 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6379 * math/w_exp10f.c (__exp10f): Likewise.
6380 * math/w_exp10l.c (__exp10l): Likewise.
6381 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6382 errno settings in existing tests.
6385 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6386 precision control set to double precision.
6387 * sysdeps/i386/fpu/w_sqrt.c: New file.
6388 * math/auto-libm-test-in: Add more tests.
6389 * math/auto-libm-test-out: Update.
6391 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6392 (sqrt_test_tonearest): New function.
6393 (sqrt_towardzero_test_data): New variable.
6394 (sqrt_test_towardzero): New function.
6395 (sqrt_downward_test_data): New variable.
6396 (sqrt_test_downward): New function.
6397 (sqrt_upward_test_data): New variable.
6398 (sqrt_test_upward): New function.
6399 (main): Call the new functions.
6401 * math/gen-auto-libm-tests.c: New file.
6402 * math/auto-libm-test-in: Likewise.
6403 * math/auto-libm-test-out: New generated file.
6404 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6406 (%beautify): Add generated representations of zero.
6407 (top level): Set $auto_input and call parse_auto_input.
6408 (beautify): Remove trailing "f" from hex float constants.
6409 (parse_args): Handle XFAIL_TEST.
6410 (convert_condition): New function.
6411 (or_value): Likewise.
6412 (or_cond_value): Likewise.
6413 (generate_testfile): Handle AUTO_TESTS_* lines.
6414 (parse_auto_input): New function.
6415 * math/libm-test.inc (XFAIL_TEST): New macro.
6416 (ERRNO_UNCHANGED): Update value.
6417 (ERRNO_EDOM): Likewise.
6418 (ERRNO_ERANGE): Likewise.
6419 (IGNORE_RESULT): Likewise.
6420 (TEST_COND_flt_32): New macro.
6421 (TEST_COND_dbl_64): Likewise.
6422 (TEST_COND_ldbl_96_intel): Likewise.
6423 (TEST_COND_ldbl_96_m68k): Likewise.
6424 (TEST_COND_ldbl_128): Likewise.
6425 (TEST_COND_ldbl_128ibm): Likewise.
6426 (TEST_COND_long32): Likewise.
6427 (TEST_COND_long64): Likewise.
6428 (TEST_COND_before_rounding): Likewise.
6429 (TEST_COND_after_rounding): Likewise.
6430 (enable_test): Handle XFAIL_TEST flag.
6431 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6432 with finite results.
6433 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6436 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6437 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6440 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6441 __tls_get_addr_internal instead of __tls_get_offset in order to
6442 avoid GOT pointer dependency. Make rtld export
6443 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6444 __tls_get_addr since we are a __tls_get_offset platform.
6445 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6446 GOT pointer being set up before.
6447 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6449 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6451 * manual/math.texi (Errors in Math Functions): Document accuracy
6455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6456 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6461 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6472 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6473 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6474 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6475 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6476 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6478 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6480 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6482 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6483 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6484 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6485 atomic-feupdateenv and flt-rounds.
6486 * sysdeps/powerpc/nofpu/Versions (libc): Add
6487 __atomic_feholdexcept, __atomic_feclearexcept,
6488 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6489 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6490 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6491 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6492 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6497 * manual/arith.texi (FP Exceptions): Document that exceptions may
6498 not be raised when matherr is used.
6499 (Math Error Reporting): Document overflow in directed rounding
6500 modes. Document that errno may not be set when finite values are
6501 returned on overflow. Document intent to set errno on underflow
6502 only for underflow to zero.
6505 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6506 round-to-nearest then adjust result for other rounding modes.
6507 * include/fenv.h (fegetround): Use libm_hidden_proto.
6508 * math/fegetround.c (fegetround): Use libm_hidden_def.
6509 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6510 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6511 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6512 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6514 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6516 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6517 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6519 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6522 * nss/Versions (libnss_files): Add
6523 _nss_files_gethostbyname3_r.
6524 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6526 (HOST_DB_LOOKUP): Remove macro.
6527 (_nss_files_gethostbyname_r): Implement function without the
6528 HOST_DB_LOOKUP macro.
6529 (_nss_files_gethostbyname2_r): Likewise.
6531 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6533 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6535 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6537 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6538 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6541 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6544 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6547 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6548 __fe_nomask_env_priv and attribute_hidden.
6549 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6550 (libc_feupdateenv_test_ppc): Likewise.
6551 (libc_feresetround_ppc): Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6553 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6554 compat_symbol macro.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6556 (__fe_nomask_env): Likewise.
6557 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6559 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6561 * string/Makefile: Remove ifunc tests.
6562 * string/test-string.h: Define TEST_IFUNC.
6563 * string/test-bcopy-ifunc.c: Remove.
6564 * string/test-bzero-ifunc.c: Likewise.
6565 * string/test-memccpy-ifunc.c: Likewise.
6566 * string/test-memchr-ifunc.c: Likewise.
6567 * string/test-memcmp-ifunc.c: Likewise.
6568 * string/test-memcpy-ifunc.c: Likewise.
6569 * string/test-memmem-ifunc.c: Likewise.
6570 * string/test-memmove-ifunc.c: Likewise.
6571 * string/test-mempcpy-ifunc.c: Likewise.
6572 * string/test-memrchr-ifunc.c: Likewise.
6573 * string/test-memset-ifunc.c: Likewise.
6574 * string/test-rawmemchr-ifunc.c: Likewise.
6575 * string/test-stpcpy-ifunc.c: Likewise.
6576 * string/test-stpncpy-ifunc.c: Likewise.
6577 * string/test-strcasecmp-ifunc.c: Likewise.
6578 * string/test-strcasestr-ifunc.c: Likewise.
6579 * string/test-strcat-ifunc.c: Likewise.
6580 * string/test-strchr-ifunc.c: Likewise.
6581 * string/test-strchrnul-ifunc.c: Likewise.
6582 * string/test-strcmp-ifunc.c: Likewise.
6583 * string/test-strcpy-ifunc.c: Likewise.
6584 * string/test-strcspn-ifunc.c: Likewise.
6585 * string/test-strlen-ifunc.c: Likewise.
6586 * string/test-strncasecmp-ifunc.c: Likewise.
6587 * string/test-strncat-ifunc.c: Likewise.
6588 * string/test-strncmp-ifunc.c: Likewise.
6589 * string/test-strncpy-ifunc.c: Likewise.
6590 * string/test-strnlen-ifunc.c: Likewise.
6591 * string/test-strpbrk-ifunc.c: Likewise.
6592 * string/test-strrchr-ifunc.c: Likewise.
6593 * string/test-strspn-ifunc.c: Likewise.
6594 * string/test-strstr-ifunc.c: Likewise.
6596 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6598 * benchtests/Makefile: Remove ifunc tests.
6599 * benchtests/bench-string.h: Define TEST_IFUNC.
6600 * benchtests/bench-bcopy-ifunc.c: Remove.
6601 * benchtests/bench-bzero-ifunc.c: Likewise.
6602 * benchtests/bench-memccpy-ifunc.c: Likewise.
6603 * benchtests/bench-memchr-ifunc.c: Likewise.
6604 * benchtests/bench-memcmp-ifunc.c: Likewise.
6605 * benchtests/bench-memcpy-ifunc.c: Likewise.
6606 * benchtests/bench-memmem-ifunc.c: Likewise.
6607 * benchtests/bench-memmove-ifunc.c: Likewise.
6608 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6609 * benchtests/bench-memrchr-ifunc.c: Likewise.
6610 * benchtests/bench-memset-ifunc.c: Likewise.
6611 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6612 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6613 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6614 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6615 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6616 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6617 * benchtests/bench-strcat-ifunc.c: Likewise.
6618 * benchtests/bench-strchr-ifunc.c: Likewise.
6619 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6620 * benchtests/bench-strcmp-ifunc.c: Likewise.
6621 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6622 * benchtests/bench-strcpy-ifunc.c: Likewise.
6623 * benchtests/bench-strcspn-ifunc.c: Likewise.
6624 * benchtests/bench-strlen-ifunc.c: Likewise.
6625 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6626 * benchtests/bench-strncat-ifunc.c: Likewise.
6627 * benchtests/bench-strncmp-ifunc.c: Likewise.
6628 * benchtests/bench-strncpy-ifunc.c: Likewise.
6629 * benchtests/bench-strnlen-ifunc.c: Likewise.
6630 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6631 * benchtests/bench-strrchr-ifunc.c: Likewise.
6632 * benchtests/bench-strsep-ifunc.c: Likewise.
6633 * benchtests/bench-strspn-ifunc.c: Likewise.
6634 * benchtests/bench-strstr-ifunc.c: Likewise.
6636 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6638 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6640 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6642 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6643 * rt/aio.h: Likewise.
6644 * sysdeps/gnu/bits/utmp.h: Likewise.
6645 * sysdeps/gnu/bits/utmpx.h: Likewise.
6646 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6647 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6648 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6649 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6650 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6651 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6652 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6653 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6654 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6655 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6656 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6657 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6658 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6661 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6662 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6663 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6664 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6665 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6666 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6667 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6668 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6669 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6670 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6673 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6676 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6679 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6681 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6682 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6683 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6684 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6685 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6686 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6687 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6689 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6692 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6693 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6695 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6697 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6698 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6701 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6704 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6705 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6706 (__fesetround): Remove define.
6707 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6708 rounding and exceptions handling.
6709 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6710 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6711 (__fe_nomask_env): Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6713 __fegetround instead of fegetround.
6714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6717 2013-11-21 Roland McGrath <roland@hack.frob.com>
6719 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6722 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6724 2013-11-21 Meador Inge <meadori@codesourcery.com>
6727 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6728 (encrypt_r): Likewise.
6729 * malloc/obstack.h (obstack_free): Likewise.
6730 * posix/unistd.h (encrypt): Likewise.
6732 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6734 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6735 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6736 DL_CALL_DT_FINI() that call the functions directly.
6737 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6738 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6739 * elf/dl-fini.c: Likewise.
6741 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6743 * malloc/hooks.c (memalign_check): Add alignment rounding.
6744 * malloc/malloc.c (_mid_memalign): New function.
6745 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6746 Implement by calling _mid_memalign.
6747 * manual/probes.texi (Memory Allocation Probes): Remove
6748 memory_valloc_retry and memory_pvalloc_retry.
6750 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6752 * locale/programs/locarchive.c (open_archive): Add const
6753 qualifier to ARCHIVEFNAME and copy default fname to
6757 * libio/tst-widetext.input: Rename Oriya to Odia.
6758 * locale/iso-639.def: Likewise.
6760 * manual/probes.texi (Mathematical Function Probes): Add
6761 documentation for sin, cos, asin and acos probes.
6762 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6763 (__sin32): Add slowasin probe.
6764 (__cos32): Add slowacos probe.
6765 (__mpsin): Add slowsin probe.
6766 (__mpcos): Add slowcos probe.
6768 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6771 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6772 thread-local __sim_exceptions_thread and global
6773 __sim_exceptions_global.
6774 (__sim_disabled_exceptions): Change to thread-local
6775 __sim_disabled_exceptions_thread and global
6776 __sim_disabled_exceptions_global.
6777 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6778 and global __sim_round_mode_global.
6779 (__simulate_exceptions): Use thread-local floating-point state and
6780 set global state from it as needed.
6781 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6782 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6783 __sim_round_mode_thread.
6784 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6785 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6786 and global __sim_exceptions_global.
6787 (__sim_disabled_exceptions): Change to thread-local
6788 __sim_disabled_exceptions_thread and global
6789 __sim_disabled_exceptions_global.
6790 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6791 and global __sim_round_mode_global.
6792 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6793 (SIM_SET_GLOBAL): Likewise.
6794 * sysdeps/powerpc/soft-fp/sfp-machine.h
6795 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6796 __sim_round_mode_thread.
6797 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6798 __sim_disabled_exceptions_thread.
6799 (__sim_exceptions): Change to __sim_exceptions_thread.
6800 (__sim_disabled_exceptions): Change to
6801 __sim_disabled_exceptions_thread.
6802 (__sim_round_mode): Change to __sim_round_mode_thread.
6803 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6804 thread-local floating-point state and set global state from it as
6806 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6807 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6808 (__sim_disabled_exceptions): Remove extern declaration.
6809 (feenableexcept): Use thread-local floating-point state and set
6810 global state from it as needed.
6811 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6813 (__sim_disabled_exceptions): Likewise.
6814 (__sim_round_mode): Likewise.
6815 (__fegetenv): Use thread-local floating-point state.
6816 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6817 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6818 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6819 floating-point state and set global state from it as needed.
6820 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6821 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6822 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6824 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6825 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6827 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6828 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6829 Use __sim_round_mode_thread.
6830 * math/test-fenv-tls.c: New file.
6831 * math/Makefile (tests): Add test-fenv-tls.
6832 ($(objpfx)test-fenv-tls): Depend on
6833 $(common-objpfx)nptl/libpthread.so.
6835 2013-11-19 Andreas Schwab <schwab@suse.de>
6837 * locale/programs/locale.c (show_info): Decode wordarray elements.
6838 * locale/categories.def (LC_MONETARY): Add element for
6839 _NL_MONETARY_CRNCYSTR.
6840 * locale/C-monetary.c (conversion_rate): New variable.
6841 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6844 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6846 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6847 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6849 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6851 * elf/Makefile (tst-auxv): New test.
6852 * elf/tst-auxv.c: New
6853 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6855 2013-11-18 Joseph Myers <joseph@codesourcery.com>
6857 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6858 (hidden_proto): Caller changed.
6859 (hidden_tls_proto): New macro.
6860 (libc_hidden_tls_proto): Likewise.
6861 (rtld_hidden_tls_proto): Likewise.
6862 (libm_hidden_tls_proto): Likewise.
6863 (libresolv_hidden_tls_proto): Likewise.
6864 (librt_hidden_tls_proto): Likewise.
6865 (libdl_hidden_tls_proto): Likewise.
6866 (libnss_files_hidden_tls_proto): Likewise.
6867 (libnsl_hidden_tls_proto): Likewise.
6868 (libnss_nisplus_hidden_tls_proto): Likewise.
6869 (libutil_hidden_tls_proto): Likewise.
6871 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
6874 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6875 (decompose_rpath): Defer expansion to fillin_rpath.
6876 (_dl_init_paths): Pass linkmap to fillin_rpath.
6878 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6880 * benchtests/Makefile: Add strsep.
6881 * benchtests/bench-strsep.c: New file: strsep benchtest.
6882 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6884 2013-11-18 Andreas Schwab <schwab@suse.de>
6886 * locale/programs/locale.c (show_info) [case byte]: Check for
6887 '\377' instead of '\177'.
6888 * locale/C-monetary.c (not_available): Always use "\377".
6889 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6890 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6891 detect unavailable sign_posn locale elements.
6892 * locale/localeconv.c (__localeconv): For grouping and
6893 mon_grouping handle "\177" and "\377" like no grouping.
6894 (INT_ELEM): New macro. Use it to set all numeric members.
6895 * locale/programs/ld-monetary.c (monetary_read)
6896 <tok_mon_grouping>: Normalize single -1 to the empty string.
6897 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6900 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
6903 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6904 when we match (nil).
6905 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6907 2013-11-16 Joseph Myers <joseph@codesourcery.com>
6909 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6910 (NO_TEST_INLINE): Update value.
6911 (ERRNO_UNCHANGED): Likewise.
6912 (ERRNO_EDOM): Likewise.
6913 (ERRNO_ERANGE): Likewise.
6914 (IGNORE_RESULT): Likewise.
6915 (check_float_internal): Check signs of NaN results if
6917 (check_complex): Pass TEST_NAN_SIGN flag through to second
6918 check_float_internal call.
6919 (copysign_test_data): Add tests with quiet NaNs as second
6920 argument. Use TEST_NAN_SIGN.
6921 (fabs_test_data): Add test of negative quiet NaN argument. Use
6923 (signbit_test_data): Add tests of quiet NaN argument.
6924 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6926 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6928 (parse_args): Handle function results specified as IGNORE.
6929 * math/libm-test.inc (IGNORE_RESULT): New macro.
6930 (check_float_internal): Do not check numerical result if flag
6932 (check_complex): Pass through IGNORE_RESULT to second
6933 check_float_internal call.
6934 (check_int): Do not check numerical result if flag IGNORE_RESULT
6936 (check_long): Likewise.
6937 (check_bool): Likewise.
6938 (check_longlong): Likewise.
6939 (lrint_test_data): Add tests of infinite and NaN arguments.
6940 (lrint_tonearest_test_data): Likewise.
6941 (lrint_towardzero_test_data): Likewise.
6942 (lrint_downward_test_data): Likewise.
6943 (lrint_upward_test_data): Likewise.
6944 (llrint_test_data): Likewise.
6945 (llrint_tonearest_test_data): Likewise.
6946 (llrint_towardzero_test_data): Likewise.
6947 (llrint_downward_test_data): Likewise.
6948 (llrint_upward_test_data): Likewise.
6949 (lround_test_data): Likewise.
6950 (llround_test_data): Likewise.
6952 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6953 (ERRNO_UNCHANGED): Update value.
6954 (ERRNO_EDOM): Likewise.
6955 (ERRNO_ERANGE): Likewise.
6956 (NO_TEST_INLINE_FLOAT): New macro.
6957 (NO_TEST_INLINE_DOUBLE): Likewise.
6958 (enable_test): New function.
6959 (RUN_TEST_f_f): Check enable_test before running test.
6960 (RUN_TEST_2_f): Likewise.
6961 (RUN_TEST_fff_f): Likewise.
6962 (RUN_TEST_c_f): Likewise.
6963 (RUN_TEST_f_f1): Likewise.
6964 (RUN_TEST_fF_f1): Likewise.
6965 (RUN_TEST_fI_f1): Likewise.
6966 (RUN_TEST_ffI_f1): Likewise.
6967 (RUN_TEST_c_c): Likewise.
6968 (RUN_TEST_cc_c): Likewise.
6969 (RUN_TEST_f_i): Likewise.
6970 (RUN_TEST_f_i_tg): Likewise.
6971 (RUN_TEST_ff_i_tg): Likewise.
6972 (RUN_TEST_f_b): Likewise.
6973 (RUN_TEST_f_b_tg): Likewise.
6974 (RUN_TEST_f_l): Likewise.
6975 (RUN_TEST_f_L): Likewise.
6976 (RUN_TEST_fFF_11): Likewise.
6977 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6979 (cosh_test_data): Likewise.
6980 (exp_test_data): Likewise.
6981 (expm1_test_data): Likewise.
6982 (hypot_test_data): Likewise.
6983 (pow_test_data): Likewise.
6984 (sinh_test_data): Likewise.
6985 (tanh_test_data): Likewise.
6986 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6989 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6990 tests with quiet NaN input and output.
6991 (acosh_test_data): Likewise.
6992 (asin_test_data): Likewise.
6993 (asinh_test_data): Likewise.
6994 (atan_test_data): Likewise.
6995 (atanh_test_data): Likewise.
6996 (atan2_test_data): Likewise.
6997 (cbrt_test_data): Likewise.
6998 (cos_test_data): Likewise.
6999 (cosh_test_data): Likewise.
7000 (erf_test_data): Likewise.
7001 (erfc_test_data): Likewise.
7002 (exp_test_data): Likewise.
7003 (exp10_test_data): Likewise.
7004 (exp2_test_data): Likewise.
7005 (expm1_test_data): Likewise.
7006 (hypot_test_data): Likewise.
7007 (j0_test_data): Likewise.
7008 (j1_test_data): Likewise.
7009 (jn_test_data): Likewise.
7010 (lgamma_test_data): Likewise.
7011 (log_test_data): Likewise.
7012 (log10_test_data): Likewise.
7013 (log1p_test_data): Likewise.
7014 (log2_test_data): Likewise.
7015 (pow_test_data): Likewise.
7016 (scalb_test_data): Likewise.
7017 (sin_test_data): Likewise.
7018 (sincos_test_data): Likewise.
7019 (sinh_test_data): Likewise.
7020 (tan_test_data): Likewise.
7021 (tanh_test_data): Likewise.
7022 (tgamma_test_data): Likewise.
7023 (y0_test_data): Likewise.
7024 (y1_test_data): Likewise.
7025 (yn_test_data): Likewise.
7028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7029 argument being NaN and avoid computations with second argument in
7031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7033 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7035 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7037 * locale/iso-639.def: Add Chitwani Tharu (the).
7039 2013-11-14 Andreas Schwab <schwab@suse.de>
7041 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7042 word instead of empty string.
7044 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7047 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7049 (__fe_nomask_env): Likewise.
7051 2013-11-13 Steve Ellcey <sellcey@mips.com>
7053 * benchtests/bench-timing.h: Include time.h.
7055 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7058 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7060 * sysdeps/unix/sysv/linux/configure: Regenerated.
7062 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7065 * stdlib/strtod_l.c (round_and_return): Do not consider
7066 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7067 exponent one less than half the least subnormal exponent.
7068 * stdlib/test-strtod-round-data: Add more tests.
7069 * stdlib/tst-strtod-round.c (tests): Regenerated.
7071 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7074 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7075 (__fe_mask_env): Likewise.
7076 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7077 libm_hidden_proto and add function prototype.
7078 (__fe_mask_env): Add function prototype.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7080 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7082 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7084 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7086 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7088 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7089 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7091 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7093 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7094 of htab_find_slot().
7096 2013-11-11 David S. Miller <davem@davemloft.net>
7099 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7100 symbol in the non-vis3 case in static builds.
7101 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7102 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7103 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7104 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7106 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7109 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7112 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7114 * benchtests/Makefile: Add bench-strtod.
7115 * benchtests/bench-strtod.c: New file: strtod benchtest
7117 2013-11-11 Andreas Schwab <schwab@suse.de>
7120 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7121 terminating NUL in key length.
7123 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7125 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7126 Add artificial ODP entry for vDSO symbol for PPC64.
7127 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7128 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7130 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7133 * nss/getent.c (services_keys): Recognize services starting with digit.
7135 2013-11-06 David S. Miller <davem@davemloft.net>
7138 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7139 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7141 2013-11-06 Will Newton <will.newton@linaro.org>
7143 * manual/memory.texi (Malloc Examples): Remove register
7144 keyword from examples.
7146 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7148 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7150 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7153 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7154 depending on [__GCC_IEC_559 > 0].
7155 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7156 depending on [__GCC_IEC_559_COMPLEX > 0].
7158 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7160 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7163 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7165 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7167 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7170 * malloc/malloc (malloc_info): Do not handle first bin as
7173 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7175 * locale/iso-639.def: Add Central Nahuatl (nhn).
7177 2013-11-01 Bruno Haible <bruno@clisp.org>
7180 * manual/math.texi (BSD Random): Specify range upper bound as
7183 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7185 * locale/iso-639.def: Add Meadow Mari (mhr).
7187 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7189 [BZ #14752], [BZ #15763]
7190 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7192 * rt/tst_shm.c: Add test for escaping directory.
7194 2013-10-31 Andreas Schwab <schwab@suse.de>
7197 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7198 followed by 'x' as part of digit sequence.
7199 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7201 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7204 * configure.ac: allow GNU Make 4.0 and greater.
7205 * configure: Regenerated.
7207 2013-10-30 Will Newton <will.newton@linaro.org>
7210 * malloc/hooks.c (memalign_check): Limit alignment to the
7211 maximum representable power of two.
7212 * malloc/malloc.c (__libc_memalign): Likewise.
7213 * malloc/tst-memalign.c (do_test): Add test for very
7214 large alignment values.
7215 * malloc/tst-posix_memalign.c (do_test): Likewise.
7217 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7220 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7221 (munmap_chunk): Likewise.
7222 (mremap_chunk): Likewise.
7224 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7227 * stdlib/div.c (div): Remove obsolete code.
7228 * stdlib/ldiv.c (ldiv): Likewise.
7229 * stdlib/lldiv.c (lldiv): Likewise.
7231 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 * nss/nss_files/files-XXX.c (get_contents_ret): New
7236 (get_contents): New function.
7237 (internal_getent): Use it. Expand size of LINEBUFLEN.
7239 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7241 * configure.in: Moved to ...
7242 * configure.ac: ... here. Change reference to configure.in
7244 * sysdeps/arm/preconfigure.ac: ... here.
7245 configure.in to configure.ac.
7246 * sysdeps/gnu/configure.in: Moved to ...
7247 * sysdeps/gnu/configure.ac: ... here.
7248 * sysdeps/i386/configure.in: Moved to ...
7249 * sysdeps/i386/configure.ac: ... here.
7250 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7251 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7252 * sysdeps/mach/configure.in: Moved to ...
7253 * sysdeps/mach/configure.ac: ... here.
7254 * sysdeps/mach/hurd/configure.in: Moved to ...
7255 * sysdeps/mach/hurd/configure.ac: ... here.
7256 * sysdeps/powerpc/configure.in: Moved to ...
7257 * sysdeps/powerpc/configure.ac: ... here.
7258 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7259 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7260 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7261 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7262 * sysdeps/s390/s390-32/configure.in: Moved to ...
7263 * sysdeps/s390/s390-32/configure.ac: ... here.
7264 * sysdeps/s390/s390-64/configure.in: Moved to ...
7265 * sysdeps/s390/s390-64/configure.ac: ... here.
7266 * sysdeps/sh/configure.in: Moved to ...
7267 * sysdeps/sh/configure.ac: ... here.
7268 * sysdeps/sparc/configure.in: Moved to ...
7269 * sysdeps/sparc/configure.ac: ... here.
7270 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7271 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7272 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7273 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7274 * sysdeps/x86_64/configure.in: Moved to ...
7275 * sysdeps/x86_64/configure.ac: ... here.
7276 * sysdeps/x86_64/preconfigure.in: Moved to ...
7277 * sysdeps/x86_64/preconfigure.ac: ... here.
7278 * aclocal.m4: Change reference to configure.in to configure.ac.
7279 * config.h.in: Likewise.
7280 * manual/install.texi: Likewise.
7281 * manual/maint.texi: Likewise.
7282 * Makefile: Likewise.
7283 * malloc/Makefile: Likewise.
7284 * nscd/Makefile: Likewise.
7285 * Makeconfig: Change reference to configure.in and
7286 preconfigure.in to configure.ac and preconfigure.ac
7288 * INSTALL: Regenerated.
7289 * configure: Likewise.
7290 * sysdeps/gnu/configure: Likewise.
7291 * sysdeps/i386/configure: Likewise.
7292 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7293 * sysdeps/mach/configure: Likewise.
7294 * sysdeps/mach/hurd/configure: Likewise.
7295 * sysdeps/powerpc/configure: Likewise.
7296 * sysdeps/powerpc/powerpc32/configure: Likewise.
7297 * sysdeps/powerpc/powerpc64/configure: Likewise.
7298 * sysdeps/s390/s390-32/configure: Likewise.
7299 * sysdeps/s390/s390-64/configure: Likewise.
7300 * sysdeps/sh/configure: Likewise.
7301 * sysdeps/sparc/configure: Likewise.
7302 * sysdeps/unix/sysv/linux/configure: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7304 * sysdeps/x86_64/configure: Likewise.
7305 * sysdeps/x86_64/preconfigure: Likewise.
7307 2013-10-29 Andreas Schwab <schwab@suse.de>
7309 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7311 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7313 * benchtests/pow-inputs: Add new inputs.
7315 * benchtests/exp-inputs: Add new inputs.
7317 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7318 conditional check for return value.
7319 (__cos32): Likewise.
7321 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7324 to provide a boost for large inputs with word alignment.
7325 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7326 implementation based on optimized PPC64 strcpy.
7327 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7328 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7329 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7330 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7332 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7335 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7337 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7340 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7341 * time/tst-strptime.c (day_tests): Add testcase.
7343 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7346 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7348 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7351 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7352 MAP_FAILED on error.
7354 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7358 heap for large requests.
7360 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7363 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7364 result if the result has no associated interface.
7365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7366 interface for all 127.X.Y.Z addresses.
7368 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7370 * locale/iso-639.def: Add Ligurian (lij)
7372 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7375 * sunrpc/rpc_main.c: Document rpcgen -5.
7377 2013-10-19 Michael Stahl <mstahl@redhat.com>
7379 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7381 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7384 * posix/glob.c: Match only directories when trailing slash is present.
7385 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7386 (main): Add testcase.
7388 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7391 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7393 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7395 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7396 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7397 AUTH_DES and cindex for FIPS 140-2.
7398 (DES Encryption): Add cindex FIPS 46-3.
7400 * locale/locarchive.h (struct locarhandle): Add fname.
7401 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7402 if an optional argument was specified to --list-archive,
7404 * locale/programs/locarchive.c (show_archive_content): Take new
7405 argument fname and pass it via ah.fname to open_archive.
7406 * locale/programs/localedef.h: Update decl.
7407 (open_archive): If AH->fname is non-null, open that file
7408 rather than the default file name, and don't ignore ENOENT.
7409 (create_archive): Set AH.fname to NULL.
7410 (delete_locales_from_archive): Likewise.
7411 (add_locales_to_archive): Likewise.
7412 * locale/programs/locfile.c (write_all_categories): Likewise.
7414 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7415 Aldy Hernandez <aldyh@redhat.com>
7417 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7418 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7419 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7420 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7421 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7422 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7423 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7424 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7425 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7426 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7428 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7429 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7430 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7431 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7433 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7435 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7437 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7439 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7440 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7442 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7443 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7444 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7445 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7447 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7448 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7449 * sysdeps/powerpc/preconfigure: Likewise.
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7452 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7453 Replace contents of file by #include of <fenv_libc.h>.
7454 * sysdeps/powerpc/soft-fp/sfp-machine.h
7455 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7457 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7461 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7462 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7464 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7465 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7466 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7467 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7470 Allow copysignl PLT reference to be missing.
7472 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7473 Joseph Myers <joseph@codesourcery.com
7476 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7478 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7480 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7482 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7483 * elf/tst-tls1.c: Likewise.
7484 * elf/tst-tls10.h: Likewise.
7485 * elf/tst-tls14.c: Likewise.
7486 * elf/tst-tls2.c: Likewise.
7487 * elf/tst-tls3.c: Likewise.
7488 * elf/tst-tls4.c: Likewise.
7489 * elf/tst-tls5.c: Likewise.
7490 * elf/tst-tls6.c: Likewise.
7491 * elf/tst-tls7.c: Likewise.
7492 * elf/tst-tls8.c: Likewise.
7493 * elf/tst-tls9.c: Likewise.
7494 * elf/tst-tlsmod1.c: Likewise.
7495 * elf/tst-tlsmod13.c: Likewise.
7496 * elf/tst-tlsmod13a.c: Likewise.
7497 * elf/tst-tlsmod14a.c: Likewise.
7498 * elf/tst-tlsmod16a.c: Likewise.
7499 * elf/tst-tlsmod16b.c: Likewise.
7500 * elf/tst-tlsmod2.c: Likewise.
7501 * elf/tst-tlsmod3.c: Likewise.
7502 * elf/tst-tlsmod4.c: Likewise.
7503 * elf/tst-tlsmod5.c: Likewise.
7504 * elf/tst-tlsmod6.c: Likewise.
7506 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7509 * malloc/malloc.c: remove checks for statistics.
7511 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7514 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7515 * inet/tst-network.c: Add testcase.
7517 2013-10-17 Andreas Schwab <schwab@suse.de>
7520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7521 to determine canonical name.
7523 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7525 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7526 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7549 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7555 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7584 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7587 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7588 make result into a quiet NaN.
7590 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7592 * soft-fp/adddf3.c: Fix horizontal whitespace.
7593 * soft-fp/addsf3.c: Likewise.
7594 * soft-fp/addtf3.c: Likewise.
7595 * soft-fp/divdf3.c: Likewise.
7596 * soft-fp/divsf3.c: Likewise.
7597 * soft-fp/divtf3.c: Likewise.
7598 * soft-fp/double.h: Likewise.
7599 * soft-fp/eqdf2.c: Likewise.
7600 * soft-fp/eqsf2.c: Likewise.
7601 * soft-fp/eqtf2.c: Likewise.
7602 * soft-fp/extenddftf2.c: Likewise.
7603 * soft-fp/extended.h: Likewise.
7604 * soft-fp/extendsfdf2.c: Likewise.
7605 * soft-fp/extendsftf2.c: Likewise.
7606 * soft-fp/extendxftf2.c: Likewise.
7607 * soft-fp/fixdfdi.c: Likewise.
7608 * soft-fp/fixdfsi.c: Likewise.
7609 * soft-fp/fixdfti.c: Likewise.
7610 * soft-fp/fixsfdi.c: Likewise.
7611 * soft-fp/fixsfsi.c: Likewise.
7612 * soft-fp/fixsfti.c: Likewise.
7613 * soft-fp/fixtfdi.c: Likewise.
7614 * soft-fp/fixtfsi.c: Likewise.
7615 * soft-fp/fixtfti.c: Likewise.
7616 * soft-fp/fixunsdfdi.c: Likewise.
7617 * soft-fp/fixunsdfsi.c: Likewise.
7618 * soft-fp/fixunsdfti.c: Likewise.
7619 * soft-fp/fixunssfdi.c: Likewise.
7620 * soft-fp/fixunssfsi.c: Likewise.
7621 * soft-fp/fixunssfti.c: Likewise.
7622 * soft-fp/fixunstfdi.c: Likewise.
7623 * soft-fp/fixunstfsi.c: Likewise.
7624 * soft-fp/fixunstfti.c: Likewise.
7625 * soft-fp/floatdidf.c: Likewise.
7626 * soft-fp/floatdisf.c: Likewise.
7627 * soft-fp/floatditf.c: Likewise.
7628 * soft-fp/floatsidf.c: Likewise.
7629 * soft-fp/floatsisf.c: Likewise.
7630 * soft-fp/floatsitf.c: Likewise.
7631 * soft-fp/floattidf.c: Likewise.
7632 * soft-fp/floattisf.c: Likewise.
7633 * soft-fp/floattitf.c: Likewise.
7634 * soft-fp/floatundidf.c: Likewise.
7635 * soft-fp/floatundisf.c: Likewise.
7636 * soft-fp/floatunditf.c: Likewise.
7637 * soft-fp/floatunsidf.c: Likewise.
7638 * soft-fp/floatunsisf.c: Likewise.
7639 * soft-fp/floatunsitf.c: Likewise.
7640 * soft-fp/floatuntidf.c: Likewise.
7641 * soft-fp/floatuntisf.c: Likewise.
7642 * soft-fp/floatuntitf.c: Likewise.
7643 * soft-fp/fmadf4.c: Likewise.
7644 * soft-fp/fmasf4.c: Likewise.
7645 * soft-fp/fmatf4.c: Likewise.
7646 * soft-fp/gedf2.c: Likewise.
7647 * soft-fp/gesf2.c: Likewise.
7648 * soft-fp/getf2.c: Likewise.
7649 * soft-fp/ledf2.c: Likewise.
7650 * soft-fp/lesf2.c: Likewise.
7651 * soft-fp/letf2.c: Likewise.
7652 * soft-fp/muldf3.c: Likewise.
7653 * soft-fp/mulsf3.c: Likewise.
7654 * soft-fp/multf3.c: Likewise.
7655 * soft-fp/negdf2.c: Likewise.
7656 * soft-fp/negsf2.c: Likewise.
7657 * soft-fp/negtf2.c: Likewise.
7658 * soft-fp/op-1.h: Likewise.
7659 * soft-fp/op-2.h: Likewise.
7660 * soft-fp/op-4.h: Likewise.
7661 * soft-fp/op-8.h: Likewise.
7662 * soft-fp/op-common.h: Likewise.
7663 * soft-fp/quad.h: Likewise.
7664 * soft-fp/single.h: Likewise.
7665 * soft-fp/soft-fp.h: Likewise.
7666 * soft-fp/sqrtdf2.c: Likewise.
7667 * soft-fp/sqrtsf2.c: Likewise.
7668 * soft-fp/sqrttf2.c: Likewise.
7669 * soft-fp/subdf3.c: Likewise.
7670 * soft-fp/subsf3.c: Likewise.
7671 * soft-fp/subtf3.c: Likewise.
7672 * soft-fp/truncdfsf2.c: Likewise.
7673 * soft-fp/trunctfdf2.c: Likewise.
7674 * soft-fp/trunctfsf2.c: Likewise.
7675 * soft-fp/trunctfxf2.c: Likewise.
7676 * soft-fp/unorddf2.c: Likewise.
7677 * soft-fp/unordsf2.c: Likewise.
7678 * soft-fp/unordtf2.c: Likewise.
7680 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7682 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7683 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7685 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7687 * elf/dl-libc.c: Clear initfini list after freeing.
7689 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7691 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7692 * soft-fp/addsf3.c: Likewise.
7693 * soft-fp/addtf3.c: Likewise.
7694 * soft-fp/divdf3.c: Likewise.
7695 * soft-fp/divsf3.c: Likewise.
7696 * soft-fp/divtf3.c: Likewise.
7697 * soft-fp/double.h: Likewise.
7698 * soft-fp/eqdf2.c: Likewise.
7699 * soft-fp/eqsf2.c: Likewise.
7700 * soft-fp/eqtf2.c: Likewise.
7701 * soft-fp/extenddftf2.c: Likewise.
7702 * soft-fp/extended.h: Likewise.
7703 * soft-fp/extendsfdf2.c: Likewise.
7704 * soft-fp/extendsftf2.c: Likewise.
7705 * soft-fp/extendxftf2.c: Likewise.
7706 * soft-fp/fixdfdi.c: Likewise.
7707 * soft-fp/fixdfsi.c: Likewise.
7708 * soft-fp/fixdfti.c: Likewise.
7709 * soft-fp/fixsfdi.c: Likewise.
7710 * soft-fp/fixsfsi.c: Likewise.
7711 * soft-fp/fixsfti.c: Likewise.
7712 * soft-fp/fixtfdi.c: Likewise.
7713 * soft-fp/fixtfsi.c: Likewise.
7714 * soft-fp/fixtfti.c: Likewise.
7715 * soft-fp/fixunsdfdi.c: Likewise.
7716 * soft-fp/fixunsdfsi.c: Likewise.
7717 * soft-fp/fixunsdfti.c: Likewise.
7718 * soft-fp/fixunssfdi.c: Likewise.
7719 * soft-fp/fixunssfsi.c: Likewise.
7720 * soft-fp/fixunssfti.c: Likewise.
7721 * soft-fp/fixunstfdi.c: Likewise.
7722 * soft-fp/fixunstfsi.c: Likewise.
7723 * soft-fp/fixunstfti.c: Likewise.
7724 * soft-fp/floatdidf.c: Likewise.
7725 * soft-fp/floatdisf.c: Likewise.
7726 * soft-fp/floatditf.c: Likewise.
7727 * soft-fp/floatsidf.c: Likewise.
7728 * soft-fp/floatsisf.c: Likewise.
7729 * soft-fp/floatsitf.c: Likewise.
7730 * soft-fp/floattidf.c: Likewise.
7731 * soft-fp/floattisf.c: Likewise.
7732 * soft-fp/floattitf.c: Likewise.
7733 * soft-fp/floatundidf.c: Likewise.
7734 * soft-fp/floatundisf.c: Likewise.
7735 * soft-fp/floatunsidf.c: Likewise.
7736 * soft-fp/floatunsisf.c: Likewise.
7737 * soft-fp/floatuntidf.c: Likewise.
7738 * soft-fp/floatuntisf.c: Likewise.
7739 * soft-fp/floatuntitf.c: Likewise.
7740 * soft-fp/fmadf4.c: Likewise.
7741 * soft-fp/fmasf4.c: Likewise.
7742 * soft-fp/fmatf4.c: Likewise.
7743 * soft-fp/gedf2.c: Likewise.
7744 * soft-fp/gesf2.c: Likewise.
7745 * soft-fp/getf2.c: Likewise.
7746 * soft-fp/ledf2.c: Likewise.
7747 * soft-fp/lesf2.c: Likewise.
7748 * soft-fp/letf2.c: Likewise.
7749 * soft-fp/muldf3.c: Likewise.
7750 * soft-fp/mulsf3.c: Likewise.
7751 * soft-fp/multf3.c: Likewise.
7752 * soft-fp/negdf2.c: Likewise.
7753 * soft-fp/negsf2.c: Likewise.
7754 * soft-fp/negtf2.c: Likewise.
7755 * soft-fp/op-1.h: Likewise.
7756 * soft-fp/op-2.h: Likewise.
7757 * soft-fp/op-4.h: Likewise.
7758 * soft-fp/op-8.h: Likewise.
7759 * soft-fp/op-common.h: Likewise.
7760 * soft-fp/quad.h: Likewise.
7761 * soft-fp/single.h: Likewise.
7762 * soft-fp/soft-fp.h: Likewise.
7763 * soft-fp/sqrtdf2.c: Likewise.
7764 * soft-fp/sqrtsf2.c: Likewise.
7765 * soft-fp/sqrttf2.c: Likewise.
7766 * soft-fp/subdf3.c: Likewise.
7767 * soft-fp/subsf3.c: Likewise.
7768 * soft-fp/subtf3.c: Likewise.
7769 * soft-fp/truncdfsf2.c: Likewise.
7770 * soft-fp/trunctfdf2.c: Likewise.
7771 * soft-fp/trunctfsf2.c: Likewise.
7772 * soft-fp/trunctfxf2.c: Likewise.
7773 * soft-fp/unorddf2.c: Likewise.
7774 * soft-fp/unordsf2.c: Likewise.
7775 * soft-fp/unordtf2.c: Likewise.
7777 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7780 * misc/error.c (error_tail): Fix possible buffer overflow.
7782 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7785 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7788 2013-10-14 P. J. McDermott <pj@pehjota.net>
7791 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7792 testing pipefail option.
7794 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7796 * soft-fp/double.h: Indent preprocessor directives inside #if.
7797 * soft-fp/extended.h: Likewise.
7798 * soft-fp/op-2.h: Likewise.
7799 * soft-fp/op-4.h: Likewise.
7800 * soft-fp/op-common.h: Likewise.
7801 * soft-fp/quad.h: Likewise.
7802 * soft-fp/single.h: Likewise.
7803 * soft-fp/soft-fp.h: Likewise.
7805 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7807 * iconv/iconv_prog.c: Fix typos.
7808 * stdio-common/psiginfo-data.h: Likewise.
7810 2013-10-12 Reuben Thomas <rrt@sc3d.org>
7813 * locale/setlocale.c: Fix typo.
7815 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7818 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7819 signaling NaN arguments.
7820 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7821 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7824 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7826 * soft-fp/gesf2.c (__gesf2): Likewise.
7827 * soft-fp/getf2.c (__getf2): Likewise.
7828 * soft-fp/ledf2.c (__ledf2): Likewise.
7829 * soft-fp/lesf2.c (__lesf2): Likewise.
7830 * soft-fp/letf2.c (__letf2): Likewise.
7832 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7833 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7834 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7835 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7836 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7837 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7838 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7839 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7840 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7841 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7842 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7843 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7844 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7845 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7846 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7847 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7848 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7849 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7850 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7851 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7852 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7853 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7854 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7855 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7856 * soft-fp/floattidf.c (__floattidf): Likewise.
7857 * soft-fp/floattisf.c (__floattisf): Likewise.
7858 * soft-fp/floattitf.c (__floattitf): Likewise.
7859 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7860 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7861 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7862 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7863 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7864 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7865 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7866 * soft-fp/gesf2.c (__gesf2): Likewise.
7867 * soft-fp/getf2.c (__getf2): Likewise.
7868 * soft-fp/ledf2.c (__ledf2): Likewise.
7869 * soft-fp/lesf2.c (__lesf2): Likewise.
7870 * soft-fp/letf2.c (__letf2): Likewise.
7872 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7873 Undefine and redefine.
7874 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7875 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7876 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7877 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7878 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7879 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7880 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7881 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7882 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7883 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7884 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7885 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7886 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7887 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7888 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7891 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7892 without decrementing exponent if mantissa >= that for the
7894 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7895 denominator, not >. Decrement exponent in < case instead of
7896 incrementing in >= case.
7897 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7898 without decrementing exponent if mantissa >= that for the
7901 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7902 computing saturated result for unsigned overflow.
7904 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7905 Jeff Law <law@redhat.com>
7907 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7908 (atan2Mp): Add systemtap probe marker.
7909 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7910 (__ieee754_log): Add systemtap probe marker.
7911 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7912 (atanMp): Add systemtap probe marker.
7913 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7914 (tanMp): Add systemtap probe marker.
7915 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7916 (__slowexp): Add systemtap probe marker.
7917 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7918 (__slowpow): Add systemtap probe marker.
7919 * manual/probes.texi: Document probes.
7921 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
7924 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7926 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7928 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7929 written to buffer but not flushed.
7930 * libio/iofwrite_u.c: Likewise.
7931 * libio/iopadn.c: Return bytes returned even if EOF was
7933 * libio/iowpadn.c: Likewise.
7934 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7935 if _IO_padn does not write the whole buffer.
7936 [!COMPILE_WPRINTF] (PAD): Likewise.
7938 2013-10-10 David S. Miller <davem@davemloft.net>
7940 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7943 2013-10-10 Joseph Myers <joseph@codesourcery.com>
7945 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7946 instead of FSF address.
7947 * soft-fp/fixdfti.c: Likewise.
7948 * soft-fp/fixsfti.c: Likewise.
7949 * soft-fp/fixtfti.c: Likewise.
7950 * soft-fp/fixunsdfti.c: Likewise.
7951 * soft-fp/fixunssfti.c: Likewise.
7952 * soft-fp/fixunstfti.c: Likewise.
7953 * soft-fp/floattidf.c: Likewise.
7954 * soft-fp/floattisf.c: Likewise.
7955 * soft-fp/floattitf.c: Likewise.
7956 * soft-fp/floatuntidf.c: Likewise.
7957 * soft-fp/floatuntisf.c: Likewise.
7958 * soft-fp/floatuntitf.c: Likewise.
7959 * soft-fp/trunctfxf2.c: Likewise.
7961 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7962 * soft-fp/fixdfti.c: Likewise.
7963 * soft-fp/fixsfti.c: Likewise.
7964 * soft-fp/fixtfti.c: Likewise.
7965 * soft-fp/fixunsdfti.c: Likewise.
7966 * soft-fp/fixunssfti.c: Likewise.
7967 * soft-fp/fixunstfti.c: Likewise.
7968 * soft-fp/floattidf.c: Likewise.
7969 * soft-fp/floattisf.c: Likewise.
7970 * soft-fp/floattitf.c: Likewise.
7971 * soft-fp/floatuntidf.c: Likewise.
7972 * soft-fp/floatuntisf.c: Likewise.
7973 * soft-fp/floatuntitf.c: Likewise.
7974 * soft-fp/trunctfxf2.c: Likewise.
7976 2013-10-10 David S. Miller <davem@davemloft.net>
7978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7980 2013-10-10 Joseph Myers <joseph@codsourcery.com>
7982 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7983 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7984 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7985 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7986 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7987 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7988 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7991 for NaNs before doing comparisons on argument.
7992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7995 2013-10-10 Will Newton <will.newton@linaro.org>
7997 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7998 passed to _int_memalign does not overflow.
8000 2013-10-10 Torvald Riegel <triegel@redhat.com>
8002 * scripts/bench.pl: Add include-sources directive.
8003 * benchtests/README: Update documentation.
8005 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8007 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8008 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8009 instead of FP_INIT_ROUNDMODE.
8010 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8011 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8014 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8015 copy class of input value.
8016 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8017 not handle exceptions.
8018 * soft-fp/negsf2.c (__negsf2): Likewise.
8019 * soft-fp/negtf2.c (__negtf2): Likewise.
8020 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8022 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8024 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8025 semicolon. From Linux kernel.
8027 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8029 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8031 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8034 * manual/socket.texi: Added statement about buffer
8035 for gethostbyname2_r.
8037 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8039 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8040 Use .p2align directive instead, throughout.
8041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8042 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8043 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8046 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8047 * sysdeps/x86_64/strchr.S: Likewise.
8048 * sysdeps/x86_64/strrchr.S: Likewise.
8050 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8052 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8054 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8056 * sysdeps/generic/math_private.h (__mpsin1): Remove
8058 (__mpcos1): Likewise.
8059 (__mpsin): New argument __range_reduce.
8060 (__mpcos): Likewise.
8061 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8062 (slow): Use __mpsin and __mpcos.
8069 (bsloww1): Likewise.
8070 (bsloww2): Likewise.
8073 (csloww1): Likewise.
8074 (csloww2): Likewise.
8075 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8076 range_reduce. Merge in __mpsin1.
8077 (__mpcos): Likewise.
8079 (__mpcos1): Likewise.
8081 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8083 * locale/loadlocale.c (_nl_intern_locale_data): Use
8085 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8086 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8087 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8088 obstack data is appropriately aligned.
8089 (obstack_int32_grow_fast): Likewise.
8090 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8091 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8092 (add_locale_uint32_array): Likewise.
8094 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8096 * benchtests/Makefile: Remove ARGLIST and RET variables.
8097 ($(objpfx)bench-%.c): Pass only function name to the script.
8098 * benchtests/README: Update documentation.
8099 * benchtests/acos-inputs: Add new directives.
8100 * benchtests/acosh-inputs: Likewise.
8101 * benchtests/asin-inputs: Likewise.
8102 * benchtests/asinh-inputs: Likewise.
8103 * benchtests/atan-inputs: Likewise.
8104 * benchtests/atanh-inputs: Likewise.
8105 * benchtests/cos-inputs: Likewise.
8106 * benchtests/cosh-inputs: Likewise.
8107 * benchtests/exp-inputs: Likewise.
8108 * benchtests/log-inputs: Likewise.
8109 * benchtests/pow-inputs: Likewise.
8110 * benchtests/rint-inputs: Likewise.
8111 * benchtests/sin-inputs: Likewise.
8112 * benchtests/sinh-inputs: Likewise.
8113 * benchtests/tan-inputs: Likewise.
8114 * benchtests/tanh-inputs: Likewise.
8115 * scripts/bench.pl: Add support for new directives.
8117 2013-10-07 Alan Modra <amodra@gmail.com>
8119 * README: Fix careless merge.
8121 2013-10-05 Alan Modra <amodra@gmail.com>
8123 * NEWS: Mention powerpc64le support and bugs fixed.
8124 * README: Both big-endian and little-endian powerpc64 supported.
8126 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8128 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8129 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8130 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8131 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8133 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8135 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8138 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8140 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8141 Move -mhard-float appending from
8142 ports/sysdeps/powerpc/powerpc32/Makefile.
8143 [$(with-fp) = yes] (ASFLAGS): Likewise.
8144 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8145 * sysdeps/powerpc/nofpu: Move directory from
8146 ports/sysdeps/powerpc/nofpu.
8147 * sysdeps/powerpc/soft-fp: Move directory from
8148 ports/sysdeps/powerpc/soft-fp.
8149 * sysdeps/powerpc/powerpc32/405: Move directory from
8150 ports/sysdeps/powerpc/powerpc32/405.
8151 * sysdeps/powerpc/powerpc32/440: Move directory from
8152 ports/sysdeps/powerpc/powerpc32/440.
8153 * sysdeps/powerpc/powerpc32/464: Move directory from
8154 ports/sysdeps/powerpc/powerpc32/464.
8155 * sysdeps/powerpc/powerpc32/476: Move directory from
8156 ports/sysdeps/powerpc/powerpc32/476.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8158 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8160 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8162 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8164 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8166 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8167 * README: Update for powerpc-*-linux-gnu software floating point
8170 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8171 case to powerpc/powerpc32*.
8172 * sysdeps/unix/sysv/linux/configure: Regenerated.
8174 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8175 (_FPU_MASK_OM): Define as 0x04.
8176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8184 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8187 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8190 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8191 and setcontext_e500.
8193 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8195 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8197 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 * manual/threads.texi (Default Thread Attributes): Fix typo.
8201 2013-10-04 Will Newton <will.newton@linaro.org>
8203 * malloc/Makefile: Add tst-memalign.
8204 * malloc/tst-memalign.c: New file.
8206 * malloc/tst-posix_memalign.c: Add comments.
8207 (do_test): Add comments and call free on all potentially
8208 allocated pointers. Add space after cast.
8210 * malloc/tst-pvalloc.c: Add comments.
8211 (do_test): Add comments and call free on all potentially
8212 allocated pointers. Remove duplicate check for NULL pointer.
8213 Add space after cast.
8215 * malloc/tst-valloc.c: Add comments.
8216 (do_test): Add comments and call free on all potentially
8217 allocated pointers. Remove duplicate check for NULL pointer.
8218 Add space after cast.
8220 2013-10-04 Alan Modra <amodra@gmail.com>
8222 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8223 Use stdint types in rather than __attribute__((mode())).
8224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8226 2013-10-04 Alan Modra <amodra@gmail.com>
8228 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8229 Correct handling of unaligned relocs for little-endian.
8230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8232 2013-10-04 Alan Modra <amodra@gmail.com>
8234 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8235 * configure: Regenerate.
8236 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8237 * shlib-versions: Likewise.
8239 2013-10-04 Alan Modra <amodra@gmail.com>
8241 * string/tester.c (test_memrchr): Increment reported test cycle.
8243 2013-10-04 Alan Modra <amodra@gmail.com>
8245 * string/test-memcpy.c (do_one_test): When reporting errors, print
8246 string address and don't overrun end of string.
8248 2013-10-04 Alan Modra <amodra@gmail.com>
8250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8251 insrdi. Make better use of reg selection to speed exit slightly.
8252 Schedule entry path a little better. Remove useless "are we done"
8253 checks on entry to main loop. Handle wrapping around zero address.
8254 Correct main loop count. Handle single left-over word from main
8255 loop inline rather than by using loop_small. Remove extra word
8256 case in loop_small caused by wrong loop count. Add little-endian
8258 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8261 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8262 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8263 support. Avoid rlwimi.
8264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8266 2013-10-04 Alan Modra <amodra@gmail.com>
8268 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8270 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8271 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8272 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8273 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8274 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8275 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8277 2013-10-04 Alan Modra <amodra@gmail.com>
8279 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8282 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8283 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8284 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8286 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8287 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8288 use of regs. Use power7 mtocrf. Tidy function tails.
8290 2013-10-04 Alan Modra <amodra@gmail.com>
8292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8293 Formatting. Consistently use rXXX register defines or rN defines.
8294 Use early exit labels that avoid restoring unused non-volatile regs.
8295 Make cr field use more consistent with rWORDn compares. Rename
8296 regs used as shift registers for unaligned loop, using rN defines
8297 for short lifetime/multiple use regs.
8298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8300 addi 1,1,64 to pop stack frame. Simplify return value code.
8301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8303 2013-10-04 Alan Modra <amodra@gmail.com>
8305 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8306 support. Correct typos, formatting. Optimize tail. Use insrdi
8308 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8310 little-endian support. Correct typos.
8311 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8313 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8314 in loop and entry code to keep "and." results.
8315 (strchr): Add little-endian support. Comment. Move cntlzd
8317 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8319 2013-10-04 Alan Modra <amodra@gmail.com>
8321 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8322 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8324 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8326 2013-10-04 Alan Modra <amodra@gmail.com>
8328 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8329 (rTMP): Define as r11.
8330 (strcmp): Add little-endian support. Optimise tail.
8331 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8332 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8333 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8334 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8335 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8339 2013-10-04 Alan Modra <amodra@gmail.com>
8341 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8342 little-endian support. Remove unnecessary "are we done" tests.
8343 Handle "s" wrapping around zero and extremely large "size".
8344 Correct main loop count. Handle single left-over word from main
8345 loop inline rather than by using small_loop. Correct comments.
8346 Delete "zero" tail, use "end_max" instead.
8347 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8349 2013-10-04 Alan Modra <amodra@gmail.com>
8351 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8352 support. Don't branch over align.
8353 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8354 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8355 support. Rearrange tmp reg use to suit. Comment.
8356 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8358 2013-10-04 Alan Modra <amodra@gmail.com>
8360 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8362 2013-10-04 Alan Modra <amodra@gmail.com>
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8365 conditional form of branch and link when obtaining pc.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8368 2013-10-04 Alan Modra <amodra@gmail.com>
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8375 2013-10-04 Alan Modra <amodra@gmail.com>
8377 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8378 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8379 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8380 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8381 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8382 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8383 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8384 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8385 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8386 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8388 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8389 Alistair Popple <alistair@ozlabs.au.ibm.com>
8390 Alan Modra <amodra@gmail.com>
8393 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8394 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8395 _dl_hwcap access for little-endian.
8396 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8397 destroy vmx regs when saving unaligned.
8398 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8399 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8400 destroy vmx regs when saving unaligned.
8402 2013-10-04 Alan Modra <amodra@gmail.com>
8404 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8405 Don't use a union to pack hi/low value.
8407 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8409 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8411 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8412 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8413 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8414 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8415 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8417 2013-10-04 Alan Modra <amodra@gmail.com>
8419 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8420 constants to usual value for .cst8 section, and remove redundant
8422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8423 constant for 0x1p52. Load little-endian words of double from
8424 correct stack offsets.
8426 2013-10-04 Alan Modra <amodra@gmail.com>
8428 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8429 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8430 words of double from correct stack offsets.
8431 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8432 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8433 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8436 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8437 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8438 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8439 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8441 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8442 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8443 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8444 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8447 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8449 2013-10-04 Alan Modra <amodra@gmail.com>
8451 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8452 64-bit int/double union.
8453 (_FPU_SETCW): Likewise.
8454 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8455 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8457 2013-10-04 Alan Modra <amodra@gmail.com>
8459 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8460 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8462 2013-10-04 Alan Modra <amodra@gmail.com>
8464 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8465 use vector int constants.
8466 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8468 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8470 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8471 array with long long.
8472 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8473 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8474 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8475 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8476 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8477 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8478 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8479 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8480 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8481 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8482 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8483 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8484 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8486 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8488 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8489 (__signbit): Likewise. Correct for little-endian.
8490 (__signbitl): Call __signbit.
8491 (lrint): Correct for little-endian.
8492 (lrintf): Call lrint.
8494 2013-10-04 Alan Modra <amodra@gmail.com>
8496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8497 union 32-bit int array member with 64-bit int array.
8498 (t515, tm256): Double rather than long double.
8499 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8501 2013-10-04 Alan Modra <amodra@gmail.com>
8503 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8505 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8506 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8507 version of math_ldbl.h.
8509 2013-10-04 Alan Modra <amodra@gmail.com>
8511 [BZ #15734], [BZ #15735]
8512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8513 all uses of ieee875 long double macros and unions. Simplify test
8514 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8515 ldbl_extract_mantissa value for ix,iy exponents. Properly
8516 normalize after ldbl_extract_mantissa, and don't add hidden bit
8517 already handled. Don't treat low word of ieee854 mantissa like
8518 low word of IBM long double and mask off bit when testing for
8520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8521 all uses of ieee875 long double macros and unions. Simplify tests
8522 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8523 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8524 two1022, instead use their values. Recognise that tests for large
8525 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8527 Rewrite all uses of ieee875 long double macros and unions. Simplify
8528 test for 0.0L and nan. Correct negation.
8529 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8530 ieee875 long double macros and unions. Correct output for large
8531 magnitude x. Correct absolute value calculation.
8532 (__erfcl): Likewise.
8533 * math/libm-test.inc: Add tests for errors discovered in IBM long
8534 double versions of fmodl, remainderl, erfl and erfcl.
8536 2013-10-04 Alan Modra <amodra@gmail.com>
8538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8539 all uses of ieee854 long double macros and unions. Simplify tests
8540 for long doubles that are fully specified by the high double.
8541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8544 Remove dead code too.
8545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8546 (__ieee754_ynl): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8550 Remove dead code too.
8551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8561 Comment on variable precision.
8562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8565 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8569 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8571 2013-10-04 Alan Modra <amodra@gmail.com>
8573 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8575 all uses of ieee854 long double macros and unions.
8576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8589 Simplify sign and nan test too.
8590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8595 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8605 2013-10-04 Alan Modra <amodra@gmail.com>
8607 * stdio-common/printf_size.c (__printf_size): Don't use
8608 union ieee854_long_double in fpnum union.
8609 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8610 signbit macro to retrieve sign from long double.
8611 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8612 retrieve sign from long double.
8613 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8614 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8616 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8617 * math/test-misc.c (main): Don't use union ieee854_long_double.
8619 2013-10-04 Alan Modra <amodra@gmail.com>
8622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8624 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8625 calculation. Remove unnecessary test for denormal exponent.
8626 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8627 Correct handling of denormals. Avoid undefined shift behaviour.
8628 Correct normalisation of low mantissa when low double is denormal.
8629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8630 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8631 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8632 Correct normalisation of low mantissa. Test for overflow of high
8633 mantissa and normalise.
8634 (ldbl_nearbyint): Use more readable constant for two52.
8635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8636 (__mpn_construct_long_double): Fix test for overflow of high
8637 mantissa and correct normalisation. Avoid undefined shift.
8639 2013-10-04 Alan Modra <amodra@gmail.com>
8641 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8642 (union ibm_extended_long_double): Define as an array of ieee754_double.
8643 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8644 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8645 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8646 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8650 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8655 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8657 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8658 page size instead of calling getpagesize.
8660 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8661 (LOCFILE_ALIGN_MASK): Likewise.
8662 (LOCFILE_ALIGN_UP): Likewise.
8663 (LOCFILE_ALIGNED_P): Likewise.
8664 * locale/programs/ld-collate.c (collate_output): Use the new
8665 macros instead of __alignof__ (int32_t).
8666 * locale/weight.h (findidx): Likewise.
8668 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8671 * manual/string.texi: Fix strncat and wcsncat.
8673 2013-10-03 Brooks Moses <bmoses@google.com>
8676 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8677 * Makerules: ...here, and adjust associated comments.
8679 2013-10-02 Will Newton <will.newton@linaro.org>
8681 * malloc/Makefile: Add tst-pvalloc.
8682 * malloc/tst-pvalloc.c: New file.
8684 2013-10-02 Will Newton <will.newton@linaro.org>
8686 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8687 improve test coverage.
8689 2013-10-02 Will Newton <will.newton@linaro.org>
8691 * malloc/Makefile: Add tst-posix_memalign.
8692 * malloc/tst-posix_memalign.c: New file.
8694 2013-10-01 Eric Blake <eblake@redhat.com>
8696 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8697 Use __THROWNL rather than __THROW on static functions.
8699 2013-09-30 Petr Machata <pmachata@redhat.com>
8701 * elf/elf.h (R_AARCH64_ABS16): New macro.
8702 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8703 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8704 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8705 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8706 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8707 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8708 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8709 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8710 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8711 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8712 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8713 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8714 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8715 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8716 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8717 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8718 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8719 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8720 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8721 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8722 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8723 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8724 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8725 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8726 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8727 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8728 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8729 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8730 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8731 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8732 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8733 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8734 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8735 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8736 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8737 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8738 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8739 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8740 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8741 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8742 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8743 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8744 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8745 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8746 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8747 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8748 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8749 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8750 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8751 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8752 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8753 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8754 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8755 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8756 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8757 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8758 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8759 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8760 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8761 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8762 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8763 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8764 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8765 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8766 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8767 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8768 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8769 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8770 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8771 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8772 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8773 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8774 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8775 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8776 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8777 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8778 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8779 (R_AARCH64_TLSDESC_LDR): Likewise.
8780 (R_AARCH64_TLSDESC_ADD): Likewise.
8781 (R_AARCH64_TLSDESC_CALL): Likewise.
8783 2013-09-30 Andreas Schwab <schwab@suse.de>
8786 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8787 the nss database lookup.
8788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8791 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8793 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8795 2013-09-28 P. J. McDermott <pj@pehjota.net>
8797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8798 ${Bash-specific parameter/pattern/string} parameter expansion.
8799 * sysdeps/unix/make-syscalls.sh: Likewise.
8801 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8803 * sysdeps/sh/stackguard-macros.h: New file.
8805 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
8807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8809 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8810 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8811 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8812 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8814 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8816 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8817 Fix thread ID register.
8819 2013-09-25 Joseph Myers <joseph@codesourcery.com>
8821 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8822 [POSIX || UNIX98]: Require rather than permitting all symbols from
8824 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8825 element of struct sched_param.
8826 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8827 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8828 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8829 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8832 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8834 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8835 argument calculation.
8837 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8839 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8841 [POSIX] (pthread_attr_t): Do not require type.
8842 [POSIX] (pthread_cond_t): Likewise.
8843 [POSIX] (pthread_condattr_t): Likewise.
8844 [POSIX] (pthread_key_t): Likewise.
8845 [POSIX] (pthread_mutex_t): Likewise.
8846 [POSIX] (pthread_mutexattr_t): Likewise.
8847 [POSIX] (pthread_once_t): Likewise.
8848 [POSIX] (pthread_t): Likewise.
8849 [POSIX-based standards] (pthread_atfork): Expect function.
8851 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8852 Richard Sandiford <richard@codesourcery.com>
8854 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8855 (swap_endianness_p): New extern variable.
8856 (set_big_endian): New inline function.
8857 (maybe_swap_uint32): Likewise.
8858 (maybe_swap_uint32_array): Likewise.
8859 (maybe_swap_uint32_obstack): Likewise.
8860 * locale/programs/locfile.c: Include <stdbool.h>.
8861 (swap_endianness_p): New variable.
8862 (add_locale_uint32): Call maybe_swap_uint32.
8863 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8864 (write_locale_data): Call maybe_swap_uint32_array.
8865 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8867 (obstack_int32_grow_fast): Likewise.
8868 (output_weightwc): Call maybe_swap_uint32_obstack.
8869 (collate_output): Likewise.
8870 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8871 (OPT_LITTLE_ENDIAN): Likewise.
8872 (options): Add --little-endian and --big-endian options.
8873 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8874 * locale/programs/locarchive.c: Include "locfile.h".
8878 (create_archive): Use the new macros to access fields of
8879 structures directly mapped from or written to locale archives.
8880 (oldlocrecentcmp): Likewise.
8881 (enlarge_archive): Likewise.
8882 (insert_name): Likewise.
8883 (add_alias): Likewise.
8884 (add_locale): Likewise.
8885 (delete_locales_from_archive): Likewise.
8886 (show_archive_content): Likewise.
8887 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8890 2013-09-24 Roland McGrath <roland@hack.frob.com>
8892 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8893 http://www.gnu.org/doc/freemanuals.texi.
8894 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8896 2013-09-24 Will Newton <will.newton@linaro.org>
8898 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8901 2013-09-23 Joseph Myers <joseph@codesourcery.com>
8903 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8906 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8908 * manual/threads.texi (POSIX Threads): Fix a typo.
8910 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8913 * string/tst-strcoll-overflow.c: New test case.
8914 * string/Makefile (xtests): Add tst-strcoll-overflow.
8915 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8916 cache if string sizes may cause integer overflow.
8919 * string/strcoll_l.c (coll_seq): New members rule, idx,
8920 save_idx and back_us.
8921 (get_next_seq_nocache): New function.
8922 (do_compare_nocache): New function.
8923 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8926 2013-09-23 Carlos O'Donell <carlos@redhat.com>
8929 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8930 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8931 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8934 * elf/Makefile (tests): Add tst-ptrguard1.
8935 (tests-static): Add tst-ptrguard1-static.
8936 (tst-ptrguard1-ARGS): Define.
8937 (tst-ptrguard1-static-ARGS): Define.
8938 * elf/tst-ptrguard1.c: New file.
8939 * elf/tst-ptrguard1-static.c: New file.
8940 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8941 * sysdeps/i386/stackguard-macros.h: Likewise.
8942 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8943 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8944 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8945 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8946 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8947 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8949 2013-09-23 Hector Marco <hecmargi@upv.es>
8950 Ismael Ripoll <iripoll@disca.upv.es>
8951 Carlos O'Donell <carlos@redhat.com>
8954 * sysdeps/generic/stackguard-macros.h: Define
8955 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8956 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8957 Define __pointer_chk_guard_local.
8958 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8959 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8961 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8964 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8966 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8968 * include/string.h (__ffs): Declare as hidden.
8969 * string/ffs.c (__ffs): Define as hidden.
8970 * sysdeps/i386/ffs.c (__ffs): Likewise.
8971 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8972 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8973 * sysdeps/s390/ffs.c (__ffs): Likewise.
8974 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8976 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
8978 * NEWS: Mention malloc probes.
8980 * malloc/arena.c (new_heap): New memory_heap_new probe.
8981 (grow_heap): New memory_heap_more probe.
8982 (shrink_heap): New memory_heap_less probe.
8983 (heap_trim): New memory_heap_free probe.
8984 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8985 (systrim): New memory_sbrk_less probe.
8986 * manual/probes.texi: Document them.
8988 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8989 * manual/probes.texi: Document it.
8991 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8992 (__libc_realloc): Add memory_realloc_retry probe.
8993 (__libc_memalign): Add memory_memalign_retry probe.
8994 (__libc_valloc): Add memory_valloc_retry probe.
8995 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8996 (__libc_calloc): Add memory_calloc_retry probe.
8997 * manual/probes.texi: Document them.
8999 * malloc/arena.c (get_free_list): Add probe
9000 memory_arena_reuse_free_list.
9001 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9002 and memory_arena_reuse.
9003 (arena_get2) [!PER_THREAD]: Likewise.
9004 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9005 memory_arena_reuse_realloc.
9006 * manual/probes.texi: Document them.
9008 * malloc/malloc.c (__libc_free): Add
9009 memory_mallopt_free_dyn_thresholds probe.
9010 (__libc_mallopt): Add multiple memory_mallopt probes.
9011 * manual/probes.texi: Document them.
9013 * malloc/malloc.c: Include stap-probe.h.
9014 (__libc_mallopt): Add memory_mallopt probe.
9015 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9016 * manual/probes.texi: New.
9017 * manual/Makefile (chapters): Add probes.
9018 * manual/threads.texi: Set next node.
9020 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9023 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9024 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9025 Add `Chinese' to `nan' entry name.
9027 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9029 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9030 (POLYNOMIAL): Likewise.
9031 (TAYLOR_SINCOS): Likewise.
9032 (TAYLOR_SLOW): Likewise.
9033 (__sin): Use TAYLOR_SINCOS.
9035 (slow): Use TAYLOR_SLOW.
9040 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9042 * stdlib/strtod_l.c: Fix buffer overrun.
9044 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9046 * benchtests/Makefile (bench): Add sincos.
9047 * benchtests/bench-sincos.c: New file.
9049 * math/libm-test.inc (cos_test_data): New test inputs.
9050 (sin_test_data): Likewise.
9052 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9060 (bsloww1): Likewise.
9061 (bsloww2): Likewise.
9063 (csloww1): Likewise.
9064 (csloww2): Likewise.
9066 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9075 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9077 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9078 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9079 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9080 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9081 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9082 * elf/cache.c (print_entry): Handle the new cache flags.
9084 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9085 Aldy Hernandez <aldyh@redhat.com>
9087 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9088 Change condition to [_SOFT_FLOAT].
9089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9101 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9104 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9107 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9109 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9110 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9111 (__longjmp): Use LOAD_GP to load saved GPRs.
9112 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9113 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9114 (__sigsetjmp): Use SAVE_GP to save GPRs.
9116 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9117 Do not append -msoft-float.
9118 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9120 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9122 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9124 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9127 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9128 (_FPU_GETCW): Use initial "__" on variable and field names but not
9129 on macro parameter name.
9130 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9131 parentheses around reference to macro parameter.
9133 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9135 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9137 (ctype_startup): Use uint32_t in cast and sizeof for
9140 2013-09-11 Jia Liu <proljc@gmail.com>
9142 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9144 [__FreeBSD__]: Likewise.
9146 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9150 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9151 (strchr): Remove __strchr_sse42 ifunc selection.
9152 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9153 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9155 2013-09-11 Will Newton <will.newton@linaro.org>
9157 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9158 parameter to RES. Remove hardcoded 1000 value.
9159 * benchtests/bench-skeleton.c (main): Pass RES parameter
9160 to TIMING_INIT and multiply result by 1000.
9162 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9166 2013-09-11 Andreas Schwab <schwab@suse.de>
9168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9170 (O_TMPFILE) [__USE_GNU]: Define.
9171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9174 2013-09-11 Will Newton <will.newton@linaro.org>
9177 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9180 2013-09-11 Will Newton <will.newton@linaro.org>
9183 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9186 2013-09-11 Will Newton <will.newton@linaro.org>
9189 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9192 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9194 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9195 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9200 2013-09-10 Allan McRae <allan@archlinux.org>
9203 * manual/arith.texi (Parsing of Floats): Clarify
9207 * manual/install.texi (Running make install): Mention
9209 * INSTALL: Regenerated.
9211 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9213 * csu/init-first.c (_init): Remove the !SHARED condition around
9214 FPU control word initialization.
9215 * elf/dl-support.c (_dl_fpu_control): New variable.
9216 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9217 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9218 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9219 * math/test-fpucw-static.c: New file.
9220 * math/test-fpucw-ieee.c: New file.
9221 * math/test-fpucw-ieee-static.c: New file.
9222 * math/Makefile (tests): Add `test-fpucw-ieee' and
9224 (tests-static): New variable.
9225 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9227 [($(build-shared),yes)]
9228 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9230 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9233 2013-09-09 Allan McRae <allan@archlinux.org>
9236 * manual/string.texi (Collation Functions): Fix typo in
9238 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9241 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9244 * libio/memstream.c (open_memstream): Fix memory leak.
9245 * libio/wmemstream.c (open_wmemstream): Likewise.
9248 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9250 2013-09-09 Will Newton <will.newton@linaro.org>
9252 * malloc/Makefile: Add tst-realloc to tests.
9253 * malloc/tst-realloc.c: New file.
9255 2013-09-09 Allan McRae <allan@archlinux.org>
9258 * COPYING: Update from GNU website to fix FSF address.
9259 * COPYING.LIB: Likewise.
9261 2013-09-06 David S. Miller <davem@davemloft.net>
9263 * po/zh_TW.po: Update Chinese (traditional) translation from
9264 translation project.
9266 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9267 Joseph Myers <joseph@codesourcery.com>
9269 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9271 (obstack_chunk_alloc): New macro.
9272 (obstack_chunk_free): Likewise.
9273 (record_offset): New function.
9274 (init_locale_data): Likewise.
9275 (align_locale_data): Likewise.
9276 (add_locale_empty): Likewise.
9277 (add_locale_raw_data): Likewise.
9278 (add_locale_raw_obstack): Likewise.
9279 (add_locale_string): Likewise.
9280 (add_locale_wstring): Likewise.
9281 (add_locale_uint32): Likewise.
9282 (add_locale_uint32_array): Likewise.
9283 (add_locale_char): Likewise.
9284 (start_locale_structure): Likewise.
9285 (end_locale_structure): Likewise.
9286 (start_locale_prelude): Likewise.
9287 (end_locale_prelude): Likewise.
9288 (write_locale_data): Take locale_file structure rather than an
9290 * locale/programs/locfile.h: Include "obstack.h".
9291 (struct locale_file): Change to store locale file contents instead
9293 (init_locale_data): New prototype.
9294 (align_locale_data): Likewise.
9295 (add_locale_empty): Likewise.
9296 (add_locale_raw_data): Likewise.
9297 (add_locale_raw_obstack): Likewise.
9298 (add_locale_string): Likewise.
9299 (add_locale_wstring): Likewise.
9300 (add_locale_uint32): Likewise.
9301 (add_locale_uint32_array): Likewise.
9302 (add_locale_char): Likewise.
9303 (start_locale_structure): Likewise.
9304 (end_locale_structure): Likewise.
9305 (start_locale_prelude): Likewise.
9306 (end_locale_prelude): Likewise.
9307 (write_locale_data): Update prototype.
9308 * locale/programs/3level.h (struct TABLE): Remove result field.
9309 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9310 Use new locale_file interface.
9311 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9312 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9313 * locale/programs/ld-address.c (address_output): Use new
9314 locale_file interface.
9315 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9317 (collate_finish): Don't call collseq_table_finalize.
9318 (collate_output): Use new locale_file interface.
9319 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9321 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9322 (TABLE): Move defines earlier in file.
9323 (ELEMENT): Likewise.
9324 (DEFAULT): Likewise.
9325 (wctrans_table_add): Move macro and inline function earlier in
9327 (struct wctype_table): Move type earlier in file.
9328 (add_locale_wctype_table): New static prototype.
9329 (struct locale_ctype_t): Use logical types instead of struct iovec
9330 pointers for members.
9331 (ctype_output): Use new locale_file interface.
9332 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9333 new locale_file interface.
9334 (allocate_arrays): Update for use of new locale_file interface.
9335 * locale/programs/ld-identification.c (identification_output): Use
9336 new locale_file interface.
9337 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9338 * locale/programs/ld-messages.c (messages_output): Likewise.
9339 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9340 * locale/programs/ld-name.c (name_output): Likewise.
9341 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9342 * locale/programs/ld-paper.c (paper_output): Likewise.
9343 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9344 * locale/programs/ld-time.c (time_output): Likewise.
9346 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9348 * benchtests/Makefile: Add memrchr benchmark.
9349 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9350 benchmark as memrchr.
9351 * benchtests/bench-memrchr-ifunc.c: New file.
9352 * benchtests/bench-memrchr.c: New file.
9354 2013-09-06 Will Newton <will.newton@linaro.org>
9356 * benchtests/Makefile (string-bench): Add memcpy.
9358 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9359 Cong Wang <amwang@redhat.com>
9362 * sysdeps/unix/sysv/linux/bits/in.h
9363 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9364 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9365 before __USE_KERNEL_IPV6_DEFS uses.
9366 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9368 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9369 sockaddr_in6, or ipv6_mreq.
9371 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9374 memory access for final bytes in some large inputs.
9375 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9377 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9379 * string/test-memrchr.c: New file.
9380 * string/test-memrchr-ifunc.c: New file.
9381 * string/Makefile: Add new memrchr testcase.
9383 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9385 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9386 fanotify_init returns EPERM.
9388 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9390 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9392 (top level): Treat second token from macro or constant entries for
9393 allowed headers as allowed.
9394 * include/complex.h: Condition internal declarations on
9396 * include/fenv.h: Condition include of <stdbool.h> and internal
9397 declarations on [!_ISOMAC].
9399 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9402 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9404 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9406 * configure.in (--enable-versioning): Remove configure option.
9407 (libc_cv_asm_symver_directive): Remove configure test.
9408 (libc_cv_ld_version_script_option): Likewise.
9409 (VERSIONING): Remove variable and AC_SUBST.
9410 (DO_VERSIONING): Remove AC_DEFINE.
9411 * configure: Regenerated.
9412 * config.h.in (DO_VERSIONING): Remove macro.
9413 * Makerules [$(versioning) = yes]: Change conditionals to
9414 [$(build-shared) = yes].
9415 * config.make.in (versioning): Remove variable.
9416 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9417 [$(build-shared) = yes].
9418 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9419 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9420 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9421 [$(build-shared) = yes].
9422 * extra-lib.mk [$(versioning) = yes]: Likewise.
9423 * hurd/Makefile [$(versioning) = yes]: Likewise.
9424 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9426 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9428 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9429 [SHARED && !NO_HIDDEN].
9430 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9432 [SHARED && DO_VERSIONING]: Likewise..
9433 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9434 [$(build-shared) = yes].
9435 * manual/install.texi (--disable-versioning): Remove
9437 * INSTALL: Regenerated.
9438 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9440 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9441 [$(build-shared) = yes].
9442 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9443 * sysdeps/i386/i686/multiarch/strstr-c.c
9444 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9445 [SHARED && !NO_HIDDEN].
9446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9447 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9448 * sysdeps/powerpc/powerpc32/dl-machine.c
9449 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9450 * sysdeps/powerpc/powerpc32/sysdep.h
9451 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9452 to [SHARED && PIC && !NO_HIDDEN].
9453 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9454 conditional to [SHARED].
9456 2013-09-04 Will Newton <will.newton@linaro.org>
9458 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9459 * benchtests/bench-string.h: Include bench-timing.h instead
9460 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9461 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9462 call to HP_TIMING_DIFF_INIT.
9463 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9464 instead of hp-timing.h macros.
9465 * benchtests/bench-memchr.c: Likewise.
9466 * benchtests/bench-memcmp.c: Likewise.
9467 * benchtests/bench-memcpy.c: Likewise.
9468 * benchtests/bench-memmem.c: Likewise.
9469 * benchtests/bench-memmove.c: Likewise.
9470 * benchtests/bench-memset.c: Likewise.
9471 * benchtests/bench-rawmemchr.c: Likewise.
9472 * benchtests/bench-strcasecmp.c: Likewise.
9473 * benchtests/bench-strcasestr.c: Likewise.
9474 * benchtests/bench-strcat.c: Likewise.
9475 * benchtests/bench-strchr.c: Likewise.
9476 * benchtests/bench-strcmp.c: Likewise.
9477 * benchtests/bench-strcpy.c: Likewise.
9478 * benchtests/bench-strcpy_chk.c: Likewise.
9479 * benchtests/bench-strlen.c: Likewise.
9480 * benchtests/bench-strncasecmp.c: Likewise.
9481 * benchtests/bench-strncat.c: Likewise.
9482 * benchtests/bench-strncmp.c: Likewise.
9483 * benchtests/bench-strncpy.c: Likewise.
9484 * benchtests/bench-strnlen.c: Likewise.
9485 * benchtests/bench-strpbrk.c: Likewise.
9486 * benchtests/bench-strrchr.c: Likewise.
9487 * benchtests/bench-strspn.c: Likewise.
9488 * benchtests/bench-strstr.c: Likewise.
9490 2013-09-04 Will Newton <will.newton@linaro.org>
9492 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9494 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9498 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9499 * math/libm-test.inc (lgamma_test_data): Add more tests.
9500 * sysdeps/i386/fpu/libm-test-ulps: Update.
9501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9505 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9509 Add strcmp-sse2-unaligned
9510 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9512 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9514 * Versions.def (libc): Add GLIBC_2.19.
9516 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9518 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9519 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9521 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9525 intermediate calculations in recurrence.
9526 (__ieee754_ynf): Likewise.
9527 * math/libm-test.inc (jn_test_data): Do not allow spurious
9528 underflow exception. Add more tests.
9529 (yn_test_data): Add more tests.
9530 * sysdeps/i386/fpu/libm-test-ulps: Update.
9531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9537 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9539 * csu/init-first.c: Fix then/than typos.
9540 * locale/programs/ld-collate.c: Likewise.
9541 * locale/programs/linereader.h: Likewise.
9542 * manual/charset.texi: Likewise.
9543 * manual/filesys.texi: Likewise.
9544 * manual/stdio.texi: Likewise.
9545 * manual/string.texi: Likewise.
9546 * stdlib/fmtmsg.c: Likewise.
9547 * sysdeps/i386/stpncpy.S: Likewise.
9548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9549 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9551 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9553 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9555 * elf/dl-open.c: Fix typos.
9556 * iconvdata/gbbig5.c: Likewise.
9557 * iconvdata/iso-2022-jp.c: Likewise.
9558 * iconv/gconv_int.h: Likewise.
9559 * iconv/loop.c: Likewise.
9560 * nis/rpcsvc/nis.h: Likewise.
9561 * resolv/ns_name.c: Likewise.
9562 * stdio-common/vfscanf.c: Likewise.
9563 * streams/stropts.h: Likewise.
9564 * sunrpc/rpc_thread.c: Likewise.
9565 * sysdeps/i386/strpbrk.S: Likewise.
9566 * sysdeps/ieee754/k_standard.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9569 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9570 * sysdeps/mach/hurd/profil.c: Likewise.
9571 * sysdeps/s390/dl-procinfo.h: Likewise.
9572 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9574 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9575 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9578 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9580 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9583 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9585 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9587 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9588 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9589 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9590 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9591 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9592 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9593 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9594 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9596 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9597 Roland McGrath <roland@hack.frob.com>
9599 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9600 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9602 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9604 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9605 __executable_start symbol instead of _start.
9607 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9609 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9610 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9612 * sysdeps/gnu/ldsodefs.h: ... this new file.
9614 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9615 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9616 instead of ELFOSABI_LINUX.
9618 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9619 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9620 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9621 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9623 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9624 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9627 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9628 (ibm_extended_long_double): Add ieee_nan member.
9629 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9630 (do_test): New function.
9632 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9634 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9635 functions, renamed from truncdfsf_test, trunctfsf_test,
9637 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9639 (do_test): Run all these.
9641 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9643 * argp/argp-help.c: Fix typos.
9644 * argp/argp-parse.c: Likewise.
9645 * debug/backtracesyms.c: Likewise.
9646 * elf/elf.h: Likewise.
9647 * malloc/malloc.c: Likewise.
9648 * nis/nis_print.c: Likewise.
9649 * resolv/res_comp.c: Likewise.
9650 * stdlib/stdlib.h: Likewise.
9651 * sunrpc/clnt_tcp.c: Likewise.
9652 * sunrpc/clnt_udp.c: Likewise.
9653 * sunrpc/clnt_unix.c: Likewise.
9654 * sysdeps/unix/bsd/ptsname.c: Likewise.
9655 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9663 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9665 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9667 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9670 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9673 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9674 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9675 ($(objpfx)bug-dl-leaf): New rule.
9676 ($(objpfx)bug-dl-leaf.so): Likewise.
9677 ($(objpfx)bug-dl-leaf.out): Likewise.
9678 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9679 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9680 * dlfcn/bug-dl-leaf.c: New test.
9681 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9682 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9683 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9684 (dlclose): Likewise.
9685 (dlmopen): Likewise.
9687 2013-08-27 Roland McGrath <roland@hack.frob.com>
9689 * include/netdb.h [!_ISOMAC]:
9690 Don't include <tls.h>.
9691 (h_errno, __libc_h_errno): Move declaration and macros out of
9694 * include/resolv.h [_RESOLV_H_]:
9695 Don't include <tls.h>.
9696 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9697 * resolv/res_libc.c: Don't include <tls.h>.
9698 (_res): Use __attribute__ ((nocommon)) in place of
9699 __attribute__ ((section (".bss"))).
9701 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9702 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9704 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9706 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9707 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9709 * resolv/res_mkquery.c: Include <sys/time.h>.
9711 * inet/ifreq.c: Moved to ...
9712 * sysdeps/unix/ifreq.c: ... here.
9713 * inet/ifreq.c: New file, true stub version.
9715 * socket/sa_len.c: New file.
9716 * socket/Makefile (aux): Add it.
9717 * sysdeps/unix/sysv/linux/Makefile
9718 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9719 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9720 and #include <socket/sa_len.c>.
9721 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9722 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9725 * bits/socket.h: ... here.
9727 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9728 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9729 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9731 2013-08-27 Andreas Schwab <schwab@suse.de>
9734 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9735 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9736 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9737 * string/test-strcasecmp.c (test_main): Run tests in several
9739 * string/test-strncasecmp.c (test_main): Likewise.
9741 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9742 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9743 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9745 (__strncasecmp_ssse3) [PIC]: Likewise.
9747 2013-08-26 Roland McGrath <roland@hack.frob.com>
9749 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9751 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9752 instead of explicitly declaring xdecrypt.
9753 * nis/nss_nis/nis-publickey.c: Likewise.
9755 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9758 * nscd/aicache.c: Include res_hconf.h.
9759 (addhstaiX): Initialize res_hconf.
9761 2013-08-26 Andreas Schwab <schwab@suse.de>
9763 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9764 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9766 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9768 * nscd/aicache.c (addhstaiX): Fix indentation.
9770 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9772 * configure.ac: Quote $build_pt_chown test.
9773 * configure: Regenerated.
9775 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9778 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9779 * math/s_cexpf.c (__cexpf): Likewise.
9780 * math/s_cexpl.c (__cexpl): Likewise.
9781 * math/libm-test.inc (cexp_test_data): Correct expected return
9782 value for NaN + i0. Add another test.
9784 2013-08-22 David S. Miller <davem@davemloft.net>
9786 * po/ca.po: Update Catalan translation from translation project.
9787 * po/uk.po: Add Ukrainian translations from translation project.
9789 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9792 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9793 is infinite, not alongside NaN test.
9794 * math/s_fdimf.c (__fdimf): Likewise.
9795 * math/s_fdiml.c (__fdiml): Likewise.
9796 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9799 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
9801 * argp/argp-help.c: Fix typos.
9802 * crypt/speeds.c: Likewise.
9803 * csu/check_fds.c: Likewise.
9804 * elf/dl-load.c: Likewise.
9805 * elf/dl-open.c: Likewise.
9806 * elf/reldep3.c: Likewise.
9807 * elf/reldep.c: Likewise.
9808 * elf/sprof.c: Likewise.
9809 * iconv/iconv_charmap.c: Likewise.
9810 * iconv/skeleton.c: Likewise.
9811 * iconv/strtab.c: Likewise.
9812 * io/lockf64.c: Likewise.
9813 * libio/libioP.h: Likewise.
9814 * resolv/gai_notify.c: Likewise.
9815 * resolv/ns_name.c: Likewise.
9816 * resolv/ns_samedomain.c: Likewise.
9817 * resolv/res_send.c: Likewise.
9818 * stdlib/random.c: Likewise.
9819 * sunrpc/rpc/xdr.h: Likewise.
9820 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9827 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9828 * sysdeps/mach/hurd/check_fds.c: Likewise.
9829 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9831 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9833 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9834 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9835 * sysdeps/pthread/aio_notify.c: Likewise.
9836 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9837 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9842 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9844 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9845 version if bit_Slow_SSE4_2 is set.
9846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9849 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9852 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9853 trampoline stack frame information.
9854 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9856 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9857 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9858 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9859 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9860 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9861 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9863 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9864 interrupting a syscall and set with option SA_SIGINFO.
9866 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9869 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9870 argument is infinite.
9871 * math/s_cprojf.c (__cprojf): Likewise.
9872 * math/s_cprojl.c (__cprojl): Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9874 * math/libm-test.inc (cproj_test_data): Add more tests.
9876 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9878 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9879 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9880 size. Use __ffs to determine corresponding shift.
9882 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9883 Roland McGrath <roland@hack.frob.com>
9885 * Makefile (INSTALL): Remove trailing blank lines from output of
9888 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9890 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9891 Align 32 bit compat elf_greg to 8 bytes.
9893 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9895 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9897 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * string/strcoll_l.c (coll_seq): New structure.
9900 (get_next_seq_cached): New function.
9901 (get_next_seq): New function.
9902 (do_compare): New function.
9903 (STRCOLL): Use GNU style definition. Simplify implementation
9904 by using get_next_seq, get_next_seq_cached and do_compare.
9906 2013-08-16 Florian Weimer <fweimer@redhat.com>
9910 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9912 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9914 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9915 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9916 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9918 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9919 GETDENTS_64BIT_ALIGNED.
9920 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9921 * manual/filesys.texi (Reading/Closing Directory): Document
9922 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9924 * manual/conf.texi (Limits for Files): Add portability note to
9926 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9928 2013-08-13 Andreas Schwab <schwab@suse.de>
9931 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9933 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9934 LDBL_MAX_EXP >= 16384]: Add tests for it.
9936 2013-08-12 David S. Miller <davem@davemloft.net>
9938 * version.h (RELEASE): Set to "development".
9939 (VERSION): Set to "2.18.90".
9940 * NEWS: Add 2.19 section.
9942 2013-08-03 David S. Miller <davem@davemloft.net>
9944 * po/ko.po: Update Korean translation from translation project.
9946 2013-08-01 David S. Miller <davem@davemloft.net>
9948 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9949 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9952 2013-07-30 David S. Miller <davem@davemloft.net>
9954 * po/fr.po: Update French translation from translation project.
9956 2013-07-28 David S. Miller <davem@davemloft.net>
9958 * po/cs.po: Update Czech translation from translation project.
9960 * po/sv.po: Update Swedish translation from translation project.
9962 2013-07-27 David S. Miller <davem@davemloft.net>
9964 * po/eo.po: Update Esperanto translation from translation project.
9966 * po/vi.po: Update Vietnamese translation from translation project.
9968 * po/de.po: Update German translation from translation project.
9970 2013-07-26 David S. Miller <davem@davemloft.net>
9972 * po/bg.po: Update Bulgarian translation from translation project.
9974 * po/nl.po: Update Dutch translation from translation project.
9975 * po/pl.po: Update Polish translation from translation project.
9976 * po/ru.po: Update Russian translation from translation project.
9978 2013-07-24 David S. Miller <davem@davemloft.net>
9980 * po/libc.pot: Update.
9982 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9984 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9986 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9988 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9990 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9992 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9994 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9995 Andreas Schwab <schwab@suse.de>
9996 Roland McGrath <roland@hack.frob.com>
9997 Joseph Myers <joseph@codesourcery.com>
9998 Carlos O'Donell <carlos@redhat.com>
10001 * config.h.in: Define HAVE_PT_CHOWN.
10002 * config.make.in (build-pt-chown): New variable.
10003 * configure.in (--enable-pt_chown): New configure option.
10004 * configure: Regenerate.
10005 * login/Makefile: Include Makeconfig. Build pt_chown only if
10006 build-pt-chown is enabled.
10007 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10008 pt_chown to fix pty ownership.
10009 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10011 * manual/install.texi (Configuring and compiling): Mention
10012 --enable-pt_chown. Add @findex for grantpt.
10013 * INSTALL: Regenerate.
10015 2013-07-20 David S. Miller <davem@davemloft.net>
10017 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10018 difference between 32-bit and 64-bit.
10020 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10023 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10024 Avoid system header dependency with -ffreestanding.
10025 ($(objpfx)bits/syscall%d): Likewise.
10027 2013-07-13 David S. Miller <davem@davemloft.net>
10029 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10030 underflows from atanl/atan2l due to bug 15319.
10031 (casinh_test_data): Likewise.
10033 2013-07-07 David S. Miller <davem@davemloft.net>
10035 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10037 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10042 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10044 * configure.in (--enable-lock-elision): Fix message text.
10045 * INSTALL: Regenerate.
10046 * configure: Regenerate.
10048 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10052 2013-07-03 Andreas Jaeger <aj@suse.de>
10054 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10056 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10057 (ptrace_peeksiginfo_args): Add.
10058 (__ptrace_peeksiginfo_flags): Add.
10059 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10063 2013-07-03 Allan McRae <allan@archlinux.org>
10065 * sysdeps/i386/fpu/libm-test-ulps: Update.
10067 2013-07-02 David S. Miller <davem@davemloft.net>
10069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10071 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10075 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10077 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080 2013-07-02 Andi Kleen <ak@linux.intel.com>
10082 * config.h.in (ENABLE_LOCK_ELISION): Add.
10083 * configure.in (--enable-lock-elision): Add option.
10084 * manual/install.texi: Document --enable lock elision.
10085 * configure: Regenerate
10086 * INSTALL: Regenerate.
10088 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10090 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10091 SSE4.2 strcasecmp for libc.a.
10092 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10094 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10097 * soft-fp/op-common.h (_FP_FMA): New macro.
10098 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10099 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10100 (_FP_MUL_MEAT_1_imm): ... here.
10101 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10102 (_FP_MUL_MEAT_1_wide): ... here.
10103 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10104 (_FP_MUL_MEAT_1_hard): ... here.
10105 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10106 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10107 (_FP_MUL_MEAT_2_wide): ... here.
10108 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10109 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10110 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10111 (_FP_MUL_MEAT_2_gmp): ... here.
10112 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10113 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10114 (_FP_MUL_MEAT_4_wide): ... here.
10115 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10116 (_FP_MUL_MEAT_4_gmp): ... here.
10117 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10118 (_FP_WFRACBITS_DW_S): Likewise.
10119 (_FP_WFRACXBITS_DW_S): Likewise.
10120 (_FP_HIGHBIT_DW_S): Likewise.
10121 (FP_FMA_S): Likewise.
10122 (_FP_FRAC_HIGH_DW_S): Likewise.
10123 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10124 (_FP_WFRACBITS_DW_D): Likewise.
10125 (_FP_WFRACXBITS_DW_D): Likewise.
10126 (_FP_HIGHBIT_DW_D): Likewise.
10127 (FP_FMA_D): Likewise.
10128 (_FP_FRAC_HIGH_DW_D): Likewise.
10129 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10130 (_FP_WFRACBITS_DW_E): Likewise.
10131 (_FP_WFRACXBITS_DW_E): Likewise.
10132 (_FP_HIGHBIT_DW_E): Likewise.
10133 (FP_FMA_E): Likewise.
10134 (_FP_FRAC_HIGH_DW_E): Likewise.
10135 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10136 (_FP_WFRACBITS_DW_Q): Likewise.
10137 (_FP_WFRACXBITS_DW_Q): Likewise.
10138 (_FP_HIGHBIT_DW_Q): Likewise.
10139 (FP_FMA_Q): Likewise.
10140 (_FP_FRAC_HIGH_DW_Q): Likewise.
10141 * soft-fp/fmasf4.c: New file.
10142 * soft-fp/fmadf4.c: Likewise.
10143 * soft-fp/fmatf4.c: Likewise.
10145 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10148 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10152 (index_Slow_SSE4_2): Likewise.
10153 (index_Prefer_PMINUB_for_stringop): Likewise.
10154 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10155 bit_Slow_SSE4_2 is set.
10156 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10159 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10161 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10162 rtld_global._dl_hwcap2.
10163 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10165 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10166 POWER8 feature descriptions defined in _dl_hwcap2.
10167 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10168 string handling for POWER8 feature bits.
10169 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10170 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10171 _dl_powerpc_cap_flags.
10172 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10173 * sysdeps/powerpc/rtld-global-offsets.sym
10174 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10175 _dl_hwcap2 in the rtld_global_ro structure.
10177 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10179 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10180 hardware capabilities in support of AT_HWCAP2.
10181 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10182 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10184 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10185 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10186 explicitly the unknown a_type display mechanism is used.
10187 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10188 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10190 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10191 to macro prototype for AT_HWCAP2 support.
10192 * sysdeps/i386/dl-procinfo.h: Likewise.
10193 * sysdeps/s390/dl-procinfo.h: Likewise.
10194 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10195 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10196 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10197 return -1 for unknown a_type display fallback.
10198 * sysdeps/sparc/dl-procinfo.h: Likewise.
10199 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10200 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10202 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10204 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10205 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10207 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10210 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10211 mprotect making __stack_prot writable.
10213 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10214 Joseph Myers <joseph@codesourcery.com>
10216 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10217 as being properly aligned.
10219 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10221 * dlfcn/modstatic5.c: New file.
10222 * dlfcn/tststatic5.c: New file.
10223 * dlfcn/Makefile (tests): Add tststatic5.
10224 (tests-static): Likewise.
10225 (modules-names): Add modstatic5.
10226 (tststatic5-ENV): New variable.
10227 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10230 * elf/dl-support.c (_dl_main_map): New variable.
10231 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10232 (_dl_nns, _dl_load_adds): Set to 1.
10233 (_dl_initial_searchlist): Refer to _dl_main_map.
10234 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10235 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10236 call to _dl_get_origin.
10237 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10239 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10240 * dlfcn/modstatic3.c: New file.
10241 * dlfcn/tststatic3.c: New file.
10242 * dlfcn/tststatic4.c: New file.
10243 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10244 (tests-static): Likewise.
10245 (modules-names): Add modstatic3.
10246 (tststatic3-ENV, tststatic4-ENV): New variables.
10247 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10248 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10250 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10252 * configure.in (CC): Require GCC version 4.4 or later.
10253 * configure: Regenerated.
10254 * manual/install.texi (Tools for Compilation): Update GCC version
10256 * INSTALL: Regenerated.
10258 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10261 * string/test-memcmp.c (check2): New.
10262 (main): Call check2.
10264 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10266 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10269 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10271 (dl_open_worker) [!SHARED]: ... here.
10273 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10275 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10277 2013-06-25 Richard Henderson <rth@redhat.com>
10279 * locale/programs/locarchive.c: Include <libc-internal.h>
10281 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10283 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10284 trailing whitespace removed.
10286 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10289 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10290 * locale/programs/locarchive.c: Include libc-mmap.h.
10291 (prepare_address_space): Take two new outputs (the mmap base and len).
10292 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10294 (create_archive): Declare new mmap base and len values for
10295 prepare_address_space, and store the result in ah.
10296 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10297 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10298 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10299 Declare new mmap base and len values for
10300 prepare_address_space, and store the result in new_ah.
10301 (open_archive): Declare new mmap base and len values for
10302 prepare_address_space, and store the result in ah.
10303 (close_archive): If ah->mmap_base is not NULL, use that and
10304 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10305 * sysdeps/generic/libc-mmap.h: New file.
10307 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10309 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10310 (ALIGN_UP): Likewise.
10311 (PTR_ALIGN_DOWN): Likewise.
10312 (PTR_ALIGN_UP): Likewise.
10314 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10316 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10317 entry mapped to PPC_PLATFORM_POWER8.
10318 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10320 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10321 (_dl_string_platform): Add case for exporting platform position for
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10324 search path to sysdeps/powerpc/powerpc32/power8 directory.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10326 search path to sysdeps/powerpc/powerpc64/power8 directory.
10327 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10328 power7 directories.
10329 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10330 power7 directories.
10332 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10334 * INSTALL: Regenerate.
10336 * nscd/connections.c (nscd_init): Fix comment.
10338 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10340 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10343 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10344 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10346 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10348 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10350 (DL_DST_REQ_STATIC): Remove macro.
10352 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10355 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10356 with a shift of 0 bits.
10358 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10360 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10363 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10366 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10368 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10370 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10371 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10372 accepts -fno-tree-loop-distribute-patterns.
10373 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10374 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10376 * string/memset.c (memset): Likewise.
10377 * string/test-memmove.c (simple_memmove): Disable loop transformation
10379 * string/test-memset.c (simple_memset): Likewise.
10380 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10381 * benchtests/bench-memset.c (simple_memset): Likewise.
10382 * configure: Regenerated.
10384 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10386 * math/test-misc.c (main): Ignore fesetround failure when failures
10387 of subsequent rounding tests would be ignored.
10390 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10391 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10392 * math/fegetenv.c (__fegetenv): Return 0.
10393 * math/fegetexcept.c (fegetexcept): Return 0.
10394 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10396 * math/feholdexcpt.c (feholdexcept): Return 0.
10397 * math/fesetenv.c (__fesetenv): Return 0.
10398 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10399 argument FE_TONEAREST.
10400 * math/feupdateenv.c (__feupdateenv): Return 0.
10401 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10403 2013-06-18 Roland McGrath <roland@hack.frob.com>
10405 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10406 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10407 ($(objpfx)rtld-%.os rules): Use them.
10409 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10411 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10414 2013-06-17 Roland McGrath <roland@hack.frob.com>
10416 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10417 length of target pattern, then descending length of dependency pattern.
10418 * configure.in (AWK): Require gawk 3.1.2 or newer.
10419 * manual/install.texi (Tools for Compilation): Say that we do.
10420 * configure: Regenerated.
10422 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10423 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10424 * scripts/sysd-rules.awk: ... this new script.
10425 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10426 than a glob-style pattern.
10428 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10430 * math/test-misc.c (main): Do not treat incorrectly rounded
10431 conversions as failure unless ROUNDING_TESTS passes.
10433 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10436 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10437 restore exception state around main square root computation, then
10438 check for inexactness explicitly.
10440 * math/libm-test.inc (fma_test_data): Add another test.
10442 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10444 * manual/threads.texi (Non-POSIX Extensions): New document
10445 node. Document pthread_getattr_default_np and
10446 pthread_setattr_default_np.
10448 * Versions.def (libpthread): Add GLIBC_2.18.
10449 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10458 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10469 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10472 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10474 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10475 H.J. Lu <hjl.tools@gmail.com>
10478 * sysdeps/x86_64/rtld-memset.c: Remove file.
10479 * sysdeps/x86_64/rtld-memset.S: New file.
10481 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10483 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10484 (test_in_one_mode): Take arguments for whether the rounding mode
10485 is supported for each floating-point type.
10486 (do_test): Pass new arguments to test_in_one_mode using
10489 2013-06-13 Roland McGrath <roland@hack.frob.com>
10491 * posix/tst-waitid.c (do_test): Distinguish different instances of
10492 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10493 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10494 before entering the kernel for waitpid.
10496 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10498 * NEWS: Fix note on clock function precision. Text by Roland
10501 2013-06-13 Roland McGrath <roland@hack.frob.com>
10503 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10504 it into place only when and if the sanity check passes.
10506 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10508 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10509 output for whether conversion result is exact. Take argument
10510 indicating whether type is IBM long double.
10511 (round_for_all): Change need_exact field to ibm_ld.
10512 * stdlib/tst-strtod-round.c (struct exactness): New type.
10513 (struct test): Change bool ld_ok field to struct exactness exact.
10514 (TEST): Update all definitions for change to field.
10515 (tests): Regenerate array contents.
10516 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10517 field value. Check for IBM long double here.
10518 (do_test): Update calls to test_in_one_mode.
10520 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10523 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10524 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10526 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10529 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10530 generated by the compiler on loop optimizations.
10531 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10532 general definitions.
10534 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10536 * math/bug-nextafter.c: Include <math-tests.h>.
10537 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10539 * math/bug-nexttoward.c: Include <math-tests.h>.
10540 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10542 * math/test-misc.c: Include <math-tests.h>.
10543 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10546 2013-06-12 Andreas Jaeger <aj@suse.de>
10548 * po/ia.po: Update Interlingua translation from translation
10551 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10553 * include/fenv.h: Include stdbool.h.
10554 (struct rm_ctx): New structure.
10555 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10557 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10558 (SET_RESTORE_ROUNDF): Likewise.
10559 (SET_RESTORE_ROUNDL): Likewise.
10560 (SET_RESTORE_ROUND_NOEX): Likewise.
10561 (SET_RESTORE_ROUND_NOEXF): Likewise.
10562 (SET_RESTORE_ROUND_NOEXL): Likewise.
10563 (SET_RESTORE_ROUND_53BIT): Likewise.
10564 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10565 (libc_feresetround_noexf_ctx): Likewise.
10566 (libc_feresetround_noexl_ctx): Likewise.
10567 (libc_feholdsetround_53bit_ctx): Likewise.
10568 (libc_feresetround_53bit_ctx): Likewise.
10569 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10570 (libc_feholdexcept_setround_sse_ctx): New function.
10571 (libc_fesetenv_sse_ctx): Likewise.
10572 (libc_feupdateenv_sse_ctx): Likewise.
10573 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10574 (libc_feholdexcept_setround_387_ctx): Likewise.
10575 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10576 (libc_feholdsetround_387_prec_ctx): Likewise.
10577 (libc_feholdsetround_387_ctx): Likewise.
10578 (libc_feholdsetround_387_53bit_ctx): Likewise.
10579 (libc_feholdsetround_sse_ctx): Likewise.
10580 (libc_feresetround_sse_ctx): Likewise.
10581 (libc_feresetround_387_ctx): Likewise.
10582 (libc_feupdateenv_387_ctx): Likewise.
10583 (libc_feholdexcept_setroundf_ctx): Define macro.
10584 (libc_fesetenvf_ctx): Likewise.
10585 (libc_feupdateenvf_ctx): Likewise.
10586 (libc_feholdsetroundf_ctx): Likewise.
10587 (libc_feresetroundf_ctx): Likewise.
10588 (libc_feholdexcept_setround_ctx): Likewise.
10589 (libc_fesetenv_ctx): Likewise.
10590 (libc_feupdateenv_ctx): Likewise.
10591 (libc_feholdsetround_ctx): Likewise.
10592 (libc_feresetround_ctx): Likewise.
10593 (libc_feholdexcept_setroundl_ctx): Likewise.
10594 (libc_feupdateenvl_ctx): Likewise.
10595 (libc_feholdsetroundl_ctx): Likewise.
10596 (libc_feresetroundl_ctx): Likewise.
10597 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10598 (libc_feresetround_53bit_ctx): Likewise.
10600 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * locale/iso-639.def: Convert to UTF-8.
10604 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10606 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10607 (EXCEPTION_TESTS_double): Likewise.
10608 (EXCEPTION_TESTS_long_double): Likewise.
10609 (EXCEPTION_TESTS): Likewise.
10610 * math/libm-test.inc (test_exceptions): Only test exceptions if
10611 EXCEPTION_TESTS (FLOAT).
10613 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10615 * benchtests/Makefile (string-bench): Add strcpy_chk and
10617 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10618 * benchtests/bench-stpcpy_chk.c: New file.
10619 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10620 * benchtests/bench-strcpy_chk.c: New file.
10621 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10623 (do_test): Likewise.
10625 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10627 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10628 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10629 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10630 with tabs where appropriate.
10631 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10633 [PPC_PLATFORM_PPC440]: Likewise.
10634 [PPC_PLATFORM_PPC464]: Likewise.
10635 [PPC_PLATFORM_PPC476]: Likewise.
10636 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10637 ppc464, and ppc476 platform strings merging from ports/
10640 2013-06-11 Andreas Schwab <schwab@suse.de>
10643 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10644 (from_ucs4_idx): Regenerate.
10645 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10646 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10647 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10648 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10649 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10650 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10651 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10652 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10653 from FROM_LOOP and TO_LOOP specific macros.
10654 (BODY): Handle combining characters.
10655 * iconvdata/BIG5HKSCS.irreversible: Update.
10656 * iconvdata/BIG5HKSCS.precomposed: New file.
10657 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10659 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10661 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10663 * include/sys/time.h: Fix indentation and add copyright header.
10665 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10666 (do_test): Likewise.
10667 * string/test-memchr.c (do_one_test): Likewise.
10668 (do_test): Likewise.
10669 * string/test-memcmp.c (do_one_test): Likewise.
10670 (do_test): Likewise.
10671 * string/test-memcpy.c (do_one_test): Likewise.
10672 (do_test): Likewise.
10673 * string/test-memmem.c (do_one_test): Likewise.
10674 (do_test): Likewise.
10675 (do_random_tests): Likewise.
10676 * string/test-memmove.c (do_one_test): Likewise.
10677 (do_test): Likewise.
10678 * string/test-memset.c (do_one_test): Likewise.
10679 (do_test): Likewise.
10680 * string/test-rawmemchr.c (do_one_test): Likewise.
10681 (do_test): Likewise.
10682 * string/test-strcasecmp.c (do_one_test): Likewise.
10683 (do_test): Likewise.
10684 * string/test-strcasestr.c (do_one_test): Likewise.
10685 (do_test): Likewise.
10686 * string/test-strcat.c (do_one_test): Likewise.
10687 (do_test): Likewise.
10688 * string/test-strchr.c (do_one_test): Likewise.
10689 (do_test): Likewise.
10690 * string/test-strcmp.c (do_one_test): Likewise.
10691 (do_test): Likewise.
10692 * string/test-strcpy.c (do_one_test): Likewise.
10693 (do_test): Likewise.
10694 * string/test-string.h: Likewise.
10695 (test_init): Likewise.
10696 * string/test-strlen.c (do_one_test): Likewise.
10697 (do_test): Likewise.
10698 * string/test-strncasecmp.c (do_one_test): Likewise.
10699 (do_test): Likewise.
10700 * string/test-strncat.c (do_one_test): Likewise.
10701 (do_test): Likewise.
10702 * string/test-strncmp.c (do_one_test): Likewise.
10703 (do_test_limit): Likewise.
10704 (do_test): Likewise.
10705 * string/test-strncpy.c (do_one_test): Likewise.
10706 (do_test): Likewise.
10707 * string/test-strnlen.c (do_one_test): Likewise.
10708 (do_test): Likewise.
10709 * string/test-strpbrk.c (do_one_test): Likewise.
10710 (do_test): Likewise.
10711 * string/test-strrchr.c (do_one_test): Likewise.
10712 (do_test): Likewise.
10713 * string/test-strspn.c (do_one_test): Likewise.
10714 (do_test): Likewise.
10715 * string/test-strstr.c (do_one_test): Likewise.
10716 (do_test): Likewise.
10718 * benchtests/Makefile (string-bench): Add string benchmarks.
10719 * benchtests/bench-bcopy-ifunc.c: New file.
10720 * benchtests/bench-bcopy.c: New file.
10721 * benchtests/bench-bzero-ifunc.c: New file.
10722 * benchtests/bench-bzero.c: New file.
10723 * benchtests/bench-memccpy-ifunc.c: New file.
10724 * benchtests/bench-memccpy.c: New file.
10725 * benchtests/bench-memchr-ifunc.c: New file.
10726 * benchtests/bench-memchr.c: New file.
10727 * benchtests/bench-memcmp-ifunc.c: New file.
10728 * benchtests/bench-memcmp.c: New file.
10729 * benchtests/bench-memmem-ifunc.c: New file.
10730 * benchtests/bench-memmem.c: New file.
10731 * benchtests/bench-memmove-ifunc.c: New file.
10732 * benchtests/bench-memmove.c: New file.
10733 * benchtests/bench-mempcpy-ifunc.c: New file.
10734 * benchtests/bench-mempcpy.c: New file.
10735 * benchtests/bench-memset-ifunc.c: New file.
10736 * benchtests/bench-memset.c: New file.
10737 * benchtests/bench-rawmemchr-ifunc.c: New file.
10738 * benchtests/bench-rawmemchr.c: New file.
10739 * benchtests/bench-stpcpy-ifunc.c: New file.
10740 * benchtests/bench-stpcpy.c: New file.
10741 * benchtests/bench-stpncpy-ifunc.c: New file.
10742 * benchtests/bench-stpncpy.c: New file.
10743 * benchtests/bench-strcasecmp-ifunc.c: New file.
10744 * benchtests/bench-strcasecmp.c: New file.
10745 * benchtests/bench-strcasestr-ifunc.c: New file.
10746 * benchtests/bench-strcasestr.c: New file.
10747 * benchtests/bench-strcat-ifunc.c: New file.
10748 * benchtests/bench-strcat.c: New file.
10749 * benchtests/bench-strchr-ifunc.c: New file.
10750 * benchtests/bench-strchr.c: New file.
10751 * benchtests/bench-strchrnul-ifunc.c: New file.
10752 * benchtests/bench-strchrnul.c: New file.
10753 * benchtests/bench-strcmp-ifunc.c: New file.
10754 * benchtests/bench-strcmp.c: New file.
10755 * benchtests/bench-strcpy-ifunc.c: New file.
10756 * benchtests/bench-strcpy.c: New file.
10757 * benchtests/bench-strcspn-ifunc.c: New file.
10758 * benchtests/bench-strcspn.c: New file.
10759 * benchtests/bench-strlen-ifunc.c: New file.
10760 * benchtests/bench-strlen.c: New file.
10761 * benchtests/bench-strncasecmp-ifunc.c: New file.
10762 * benchtests/bench-strncasecmp.c: New file.
10763 * benchtests/bench-strncat-ifunc.c: New file.
10764 * benchtests/bench-strncat.c: New file.
10765 * benchtests/bench-strncmp-ifunc.c: New file.
10766 * benchtests/bench-strncmp.c: New file.
10767 * benchtests/bench-strncpy-ifunc.c: New file.
10768 * benchtests/bench-strncpy.c: New file.
10769 * benchtests/bench-strnlen-ifunc.c: New file.
10770 * benchtests/bench-strnlen.c: New file.
10771 * benchtests/bench-strpbrk-ifunc.c: New file.
10772 * benchtests/bench-strpbrk.c: New file.
10773 * benchtests/bench-strrchr-ifunc.c: New file.
10774 * benchtests/bench-strrchr.c: New file.
10775 * benchtests/bench-strspn-ifunc.c: New file.
10776 * benchtests/bench-strspn.c: New file.
10777 * benchtests/bench-strstr-ifunc.c: New file.
10778 * benchtests/bench-strstr.c: New file.
10780 * benchtests/Makefile: Disable parallel execution of targets.
10781 (string-bench): Add memcpy.
10782 (benchset): New variable to store a list of benchmark sets.
10783 (bench-func): Renamed from bench.
10784 (bench-set): New target.
10785 (bench): Depend on bench-func and bench-set.
10786 * benchtests/README: Add section on benchmark sets.
10787 * benchtests/bench-memcpy-ifunc.c: New file.
10788 * benchtests/bench-memcpy.c: New file.
10789 * benchtests/bench-string.h: New file.
10791 2013-06-11 Andreas Schwab <schwab@suse.de>
10794 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10795 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10796 values in the triple.
10797 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10798 terminator in the group key.
10800 2013-06-11 Andreas Jaeger <aj@suse.de>
10802 * po/zh_TW.po: Update Chinese (traditional) translation from
10803 translation project.
10805 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10807 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10808 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10809 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10810 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10811 (clock_getcpuclockid): Likewise.
10812 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10813 Add weak_alias and libc_hidden_def.
10814 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10815 * rt/clock_gettime.c (clock_gettime): Rename to
10816 __clock_gettime. Add weak_alias and libc_hidden_def.
10817 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10818 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10819 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10820 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10821 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10823 * rt/clock_settime.c (clock_settime): Rename to
10824 __clock_settime. Add weak_alias and libc_hidden_def.
10825 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10827 2013-06-10 Joseph Myers <joseph@codesourcery.com>
10829 * mach/err_boot.sub: Remove trailing whitespace.
10830 * mach/err_ipc.sub: Likewise.
10831 * mach/err_mach.sub: Likewise.
10833 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10834 (ROUNDING_TESTS_double): Likewise.
10835 (ROUNDING_TESTS_long_double): Likewise.
10836 (ROUNDING_TESTS): Likewise.
10837 * math/libm-test.inc: Include <math-tests.h>.
10838 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10839 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10840 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10841 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10843 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10845 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10848 2013-06-08 Joseph Myers <joseph@codesourcery.com>
10850 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10851 otherwise empty TRANS lines.
10852 * sysdeps/gnu/errlist.c: Regenerated.
10854 * catgets/gencat.c (error_print): Use (void) in function
10856 * crypt/crypt_util.c (__init_des): Likewise.
10857 * crypt/speeds.c (Stop): Likewise.
10859 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10860 * inet/ruserpass.c (token): Likewise.
10861 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10862 * intl/localealias.c (extend_alias_table): Likewise.
10863 * intl/plural-exp.c (init_germanic_plural): Likewise.
10864 * libio/fcloseall.c (__fcloseall): Likewise.
10865 * libio/genops.c (_IO_flush_all): Likewise.
10866 (_IO_flush_all_linebuffered): Likewise.
10867 (_IO_cleanup): Likewise.
10868 (_IO_iter_begin): Likewise.
10869 (_IO_iter_end): Likewise.
10870 (_IO_list_lock): Likewise.
10871 (_IO_list_unlock): Likewise.
10872 (_IO_list_resetlock): Likewise.
10873 * libio/getchar.c (getchar): Likewise.
10874 * libio/getchar_u.c (getchar_unlocked): Likewise.
10875 * libio/getwchar.c (getwchar): Likewise.
10876 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10877 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10878 * login/getpt.c (__getpt): Likewise.
10879 * login/tst-utmp.c (main): Likewise.
10880 * malloc/hooks.c (__malloc_check_init): Likewise.
10881 * malloc/malloc.c (__malloc_stats): Likewise.
10882 * malloc/mtrace.c (tr_break): Likewise.
10883 (mtrace): Likewise.
10884 (muntrace): Likewise.
10885 * misc/fstab.c (endfsent): Likewise.
10886 * misc/getclktck.c (__getclktck): Likewise.
10887 * misc/getdtsz.c (__getdtablesize): Likewise.
10888 * misc/gethostid.c (gethostid): Likewise.
10889 * misc/getpagesize.c (__getpagesize): Likewise.
10890 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10891 (__get_nprocs): Likewise.
10892 (__get_phys_pages): Likewise.
10893 (__get_avphys_pages): Likewise.
10894 * misc/getttyent.c (getttyent): Likewise.
10895 (setttyent): Likewise.
10896 (endttyent): Likewise.
10897 * misc/getusershell.c (getusershell): Likewise.
10898 (endusershell): Likewise.
10899 (setusershell): Likewise.
10900 (initshells): Likewise.
10901 * misc/hsearch.c (__hdestroy): Likewise.
10902 * misc/sync.c (sync): Likewise.
10903 * misc/syslog.c (closelog_internal): Likewise.
10904 (closelog): Likewise.
10905 * misc/ttyslot.c (ttyslot): Likewise.
10906 * misc/vhangup.c (vhangup): Likewise.
10907 * posix/fork.c (__fork): Likewise.
10908 * posix/getegid.c (__getegid): Likewise.
10909 * posix/geteuid.c (__geteuid): Likewise.
10910 * posix/getgid.c (__getgid): Likewise.
10911 * posix/getpid.c (__getpid): Likewise.
10912 * posix/getppid.c (__getppid): Likewise.
10913 * posix/getuid.c (__getuid): Likewise.
10914 * posix/pause.c (pause): Likewise.
10915 * posix/setpgrp.c (setpgrp): Likewise.
10916 * posix/setsid.c (__setsid): Likewise.
10917 * posix/test-vfork.c (noop): Likewise.
10918 * resolv/gethnamaddr.c (_endhtent): Likewise.
10919 (_gethtent): Likewise.
10920 (ht_endhostent): Likewise.
10921 (gethostent): Likewise.
10922 (dns_service): Likewise.
10923 * stdlib/drand48.c (drand48): Likewise.
10924 * stdlib/lrand48.c (lrand48): Likewise.
10925 * stdlib/mrand48.c (mrand48): Likewise.
10926 * stdlib/rand.c (rand): Likewise.
10927 * stdlib/random.c (__random): Likewise.
10928 * stdlib/setenv.c (clearenv): Likewise.
10929 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10930 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10931 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10932 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10933 (__get_nprocs): Likewise.
10934 (__get_phys_pages): Likewise.
10935 (__get_avphys_pages): Likewise.
10936 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10937 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10938 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10939 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10940 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10941 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10942 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10943 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10944 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10945 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10946 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10947 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10948 * sysdeps/posix/clock.c (clock): Likewise.
10949 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10950 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10951 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10952 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10953 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10955 (__get_nprocs_conf): Likewise.
10956 (__get_phys_pages): Likewise.
10957 (__get_avphys_pages): Likewise.
10958 * time/clock.c (clock): Likewise.
10959 * time/tzset.c (__tzname_max): Likewise.
10961 2013-06-07 Joseph Myers <joseph@codesourcery.com>
10963 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10964 (__bswap_32): Do not use "register".
10965 * crypt/crypt.c (_ufc_doit_r): Likewise.
10966 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10967 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10968 * gmon/gmon.c (__monstartup): Likewise.
10969 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10970 * hurd/hurdmalloc.c (more_memory): Likewise.
10971 (malloc): Likewise.
10973 (realloc): Likewise.
10974 (malloc_fork_prepare): Likewise.
10975 (malloc_fork_parent): Likewise.
10976 (malloc_fork_child): Likewise.
10977 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10978 (_svcauth_des): Likewise.
10979 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10980 * inet/inet_net.c (inet_network): Likewise.
10981 * inet/inet_netof.c (inet_netof): Likewise.
10982 * inet/rcmd.c (__validuser2_sa): Likewise.
10983 * io/fts.c (fts_open): Likewise.
10984 (fts_load): Likewise.
10985 (fts_close): Likewise.
10986 (fts_read): Likewise.
10987 (fts_children): Likewise.
10988 (fts_build): Likewise.
10989 (fts_stat): Likewise.
10990 (fts_sort): Likewise.
10991 (fts_alloc): Likewise.
10992 (fts_lfree): Likewise.
10993 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10994 (_IO_file_xsgetn): Likewise.
10995 (_IO_file_xsgetn_mmap): Likewise.
10996 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10997 (_IO_cookie_write): Likewise.
10998 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10999 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11000 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11001 * malloc/obstack.c (_obstack_begin): Likewise.
11002 (_obstack_begin_1): Likewise.
11003 (_obstack_newchunk): Likewise.
11004 (_obstack_allocated_p): Likewise.
11005 (obstack_free): Likewise.
11006 (_obstack_memory_used): Likewise.
11007 * misc/getttyent.c (getttynam): Likewise.
11008 (getttyent): Likewise.
11011 * misc/getusershell.c (initshells): Likewise.
11012 * misc/syslog.c (__vsyslog_chk): Likewise.
11013 * misc/ttyslot.c (ttyslot): Likewise.
11014 * nis/nis_hash.c (__nis_hash): Likewise.
11015 * posix/fnmatch_loop.c (FCT): Likewise.
11016 * posix/getconf.c (print_all): Likewise.
11018 * posix/getopt.c (exchange): Likewise.
11019 * posix/glob.c (globfree): Likewise.
11020 (prefix_array): Likewise.
11021 (__glob_pattern_type): Likewise.
11022 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11023 (NS_GET32): Likewise.
11024 (NS_PUT16): Likewise.
11025 (NS_PUT32): Likewise.
11026 * resolv/gethnamaddr.c (getanswer): Likewise.
11027 (gethostbyname2): Likewise.
11028 (gethostbyaddr): Likewise.
11029 (_gethtent): Likewise.
11030 (_gethtbyname2): Likewise.
11031 (_gethtbyaddr): Likewise.
11032 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11033 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11034 * resolv/res_init.c (__res_vinit): Likewise.
11035 (net_mask): Likewise.
11036 * resolv/res_mkquery.c (outchar): Likewise.
11038 * stdio-common/printf_fp.c (outchar): Likewise.
11040 * stdio-common/printf_fphex.c (outchar): Likewise.
11042 * stdio-common/printf_size.c (outchar): Likewise.
11044 * stdio-common/test_rdwr.c (main): Likewise.
11045 * stdio-common/tfformat.c (matches): Likewise.
11046 * stdio-common/vfprintf.c (outchar): Likewise.
11047 (printf_unknown): Likewise.
11048 (buffered_vfprintf): Likewise.
11049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11050 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11051 (ReadFile): Likewise.
11052 * stdlib/qsort.c (SWAP): Likewise.
11053 (_quicksort): Likewise.
11054 * stdlib/setenv.c (__add_to_environ): Likewise.
11055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11056 * stdlib/strtol_l.c (__strtol_l): Likewise.
11057 * stdlib/tst-strtod.c (main): Likewise.
11058 * stdlib/tst-strtol.c (main): Likewise.
11059 * stdlib/tst-strtoll.c (main): Likewise.
11060 * string/bits/string2.h (__strcmp_cc): Likewise.
11061 (__strcmp_cg): Likewise.
11062 (__strcspn_c1): Likewise.
11063 (__strcspn_c2): Likewise.
11064 (__strcspn_c3): Likewise.
11065 (__strspn_c1): Likewise.
11066 (__strspn_c2): Likewise.
11067 (__strspn_c3): Likewise.
11068 (__strsep_1c): Likewise.
11069 (__strsep_2c): Likewise.
11070 (__strsep_3c): Likewise.
11071 * string/memccpy.c (__memccpy): Likewise.
11072 * string/stpcpy.c (__stpcpy): Likewise.
11073 * string/strcmp.c (strcmp): Likewise.
11074 * string/strrchr.c (strrchr): Likewise.
11075 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11077 * sysdeps/mach/hurd/getcwd.c
11078 (_hurd_canonicalize_directory_name_internal): Likewise.
11079 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11080 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11081 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11082 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11083 Likewise, in both definitions.
11084 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11086 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11087 64] (__bswap_64): Likewise.
11088 * time/test_time.c (main): Likewise.
11089 * time/tzfile.c (__tzfile_read): Likewise.
11090 (__tzfile_compute): Likewise.
11091 * time/tzset.c (__tzset_parse_tz): Likewise.
11092 (tzset_internal): Likewise.
11093 (compute_change): Likewise.
11094 * wcsmbs/wcscat.c (__wcscat): Likewise.
11095 * wcsmbs/wcschr.c (wcschr): Likewise.
11096 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11097 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11098 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11099 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11100 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11101 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11102 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11103 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11104 * wcsmbs/wmemset.c (wmemset): Likewise.
11106 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11108 * scripts/config.guess: Update to version 2013-05-16.
11109 * scripts/config.sub: Update to version 2013-04-24.
11110 * scripts/install-sh: Update to version 2011-11-20.07.
11111 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11112 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11114 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11116 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11117 * elf/sln.c: Likewise.
11118 * hurd/hurd/ioctl.h: Likewise.
11119 * hurd/hurdmalloc.c: Likewise.
11120 * hurd/xattr.c: Likewise.
11121 * include/shlib-compat.h: Likewise.
11122 * inet/ruserpass.c: Likewise.
11123 * libio/iofgets_u.c: Likewise.
11124 * libio/iofgetws_u.c: Likewise.
11125 * locale/programs/ld-identification.c: Likewise.
11126 * locale/programs/ld-time.c: Likewise.
11127 * mach/msg-destroy.c: Likewise.
11128 * nss/nss_files/files-netgrp.c: Likewise.
11129 * resolv/res_data.c: Likewise.
11130 * soft-fp/op-1.h: Likewise.
11131 * soft-fp/op-2.h: Likewise.
11132 * soft-fp/op-4.h: Likewise.
11133 * soft-fp/op-common.h: Likewise.
11134 * stdio-common/printf_fphex.c: Likewise.
11135 * stdlib/strtod_l.c: Likewise.
11136 * sunrpc/rpc/clnt.h: Likewise.
11137 * sysdeps/generic/framestate.c: Likewise.
11138 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11139 * sysdeps/i386/bsd-setjmp.S: Likewise.
11140 * sysdeps/i386/__longjmp.S: Likewise.
11141 * sysdeps/i386/setjmp.S: Likewise.
11142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11160 * sysdeps/ieee754/support.c: Likewise.
11161 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11162 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11163 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11164 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11165 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11166 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11167 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11168 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11169 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11170 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11171 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11172 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11173 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11174 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11175 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11176 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11177 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11180 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11182 * posix/transbug.c: Remove executable mode.
11184 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11186 * crypt/speeds.c: Remove trailing whitespace.
11187 * dlfcn/default.c: Likewise.
11188 * elf/ifuncdep2.c: Likewise.
11189 * elf/ifuncmain1.c: Likewise.
11190 * elf/ifuncmain1vis.c: Likewise.
11191 * elf/testobj.h: Likewise.
11192 * elf/tst-stackguard1.c: Likewise.
11193 * gmon/sys/gmon.h: Likewise.
11194 * hurd/hurdmsg.c: Likewise.
11195 * hurd/new-fd.c: Likewise.
11196 * hurd/ports-get.c: Likewise.
11197 * iconvdata/ibm1008_420.c: Likewise.
11198 * inet/tst-getni1.c: Likewise.
11199 * inet/tst-getni2.c: Likewise.
11200 * libio/ioungetc.c: Likewise.
11201 * libio/wfiledoalloc.c: Likewise.
11202 * manual/libm-err-tab.pl: Likewise.
11203 * math/w_dremf.c: Likewise.
11204 * misc/ftruncate.c: Likewise.
11205 * posix/bug-glob2.c: Likewise.
11206 * posix/tst-pcre.c: Likewise.
11207 * posix/wait4.c: Likewise.
11208 * resolv/README: Likewise.
11209 * resolv/res_debug.h: Likewise.
11210 * resolv/tst-inet_ntop.c: Likewise.
11211 * setjmp/bug269-setjmp.c: Likewise.
11212 * soft-fp/extended.h: Likewise.
11213 * soft-fp/op-1.h: Likewise.
11214 * soft-fp/op-2.h: Likewise.
11215 * soft-fp/op-4.h: Likewise.
11216 * soft-fp/op-8.h: Likewise.
11217 * soft-fp/testit.c: Likewise.
11218 * stdio-common/bug16.c: Likewise.
11219 * stdlib/random.c: Likewise.
11220 * sunrpc/rpcsvc/rquota.x: Likewise.
11221 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11230 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11250 * sysdeps/ieee754/s_lib_version.c: Likewise.
11251 * sysdeps/mach/hurd/check_fds.c: Likewise.
11252 * sysdeps/mach/hurd/getsockname.c: Likewise.
11253 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11254 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11255 * sysdeps/powerpc/bits/link.h: Likewise.
11256 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11257 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11258 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11259 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11260 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11261 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11262 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11263 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11264 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11265 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11266 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11267 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11268 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11269 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11270 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11271 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11273 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11275 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11276 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11279 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11280 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11282 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11283 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11284 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11285 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11287 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11288 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11289 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11290 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11291 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11292 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11293 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11294 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11295 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11296 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11297 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11298 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11299 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11300 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11301 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11302 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11303 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11304 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11305 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11308 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11309 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11310 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11311 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11312 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11314 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11315 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11316 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11317 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11318 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11319 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11320 * sysdeps/powerpc/sysdep.h: Likewise.
11321 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11322 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11323 * sysdeps/sh/dl-trampoline.S: Likewise.
11324 * sysdeps/sh/memset.S: Likewise.
11325 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11326 * sysdeps/sh/strlen.S: Likewise.
11327 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11328 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11329 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11330 * sysdeps/sparc/sparc32/rem.S: Likewise.
11331 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11332 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11333 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11334 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11335 * sysdeps/sparc/sparc32/urem.S: Likewise.
11336 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11337 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11338 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11339 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11340 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11341 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11342 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11343 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11344 * sysdeps/unix/bsd/times.c: Likewise.
11345 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11346 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11351 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11352 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11354 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11357 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11358 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11359 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11363 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11364 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11365 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11366 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11367 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11368 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11369 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11370 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11373 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11374 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11375 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11376 * sysdeps/x86_64/strcspn.S: Likewise.
11378 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11380 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11381 generated file. Regenerate properly from gen-translit.pl.
11382 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11383 locale/C-translit.h.
11385 2013-06-05 Andreas Schwab <schwab@suse.de>
11388 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11389 week as 6 instead of -1.
11390 * time/tst-strptime.c (day_tests): Add test case.
11392 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11394 * sysdeps/generic/math_private.h
11395 (libc_feholdexcept_setround_53bit): Replace with
11396 libc_feholdsetround_53bit.
11397 (libc_feupdateenv_53bit): Replace with
11398 libc_feresetround_53bit.
11399 (SET_RESTORE_ROUND_53BIT): Adjust.
11401 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11403 * string/test-strchrnul.c: Add copyright header.
11405 * posix/tst-getaddrinfo4.c: Increase test timeout.
11407 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11410 * math/libm-test.inc (MAX_EXP): Remove
11412 (ulp): Use MIN_EXP - MANT_DIG.
11413 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11415 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11417 * po/be.po: Revert last change.
11418 * po/zh_CN.po: Likewise.
11419 * po/header.pot: Likewise.
11421 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11423 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11424 link-libc-deps to empty as target-specific variable.
11425 * Makerules (link-libc-args): New variable.
11426 (libc-for-link): Likewise.
11427 (link-libc-deps): Likewise.
11428 (lib%.so): Depend on $(link-libc-deps). Link with
11430 (build-module): Link with $(link-libc-args).
11431 (build-module-asneeded): Likewise.
11432 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11434 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11435 target-specific variable.
11436 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11437 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11438 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11440 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11442 ($(objpfx)libpcprofile.so): Likewise.
11443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11445 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11446 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11447 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11449 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11450 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11451 * login/Makefile ($(objpfx)libutil.so): Likewise.
11452 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11453 * math/Makefile ($(objpfx)libm.so): Likewise.
11454 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11455 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11456 variable instead of depending directly on libc.
11457 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11458 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11460 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11462 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11463 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11464 ($(objpfx)libanl.so): Likewise.
11465 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11467 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11469 * sysdeps/i386/fpu/Makefile: Remove file.
11470 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11471 ($(objpfx)libm.so): Remove dependency on ld.so.
11473 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11476 * nis/yp_xdr.c (XDRMAXNAME): Define.
11477 (XDRMAXRECORD): Define.
11478 (xdr_domainname): Use XDRMAXNAME.
11479 (xdr_mapname): Likewise.
11480 (xdr_peername): Likewise.
11481 (xdr_keydat): Use XDRMAXRECORD.
11482 (xdr_valdat): Likewise.
11484 2013-05-30 Jeff Law <law@redhat.com>
11487 * manual/errno.texi (ESTALE): Update to account for more than
11488 just NFS file systems.
11489 * sysdeps/gnu/errlist.c: Regenerated.
11491 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11494 * elf/Makefile (tests): Add tst-null-argv.
11495 (modules-names): Add tst-null-argv-lib.
11496 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11497 (tst-null-argv-ENV): Set environment for tst-null-argv.
11498 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11499 (RTLD_PROGNAME): New macro.
11500 * elf/tst-null-argv.c: New test case.
11501 * elf/tst-null-argv-lib.c: Library for test case.
11502 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11503 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11504 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11505 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11506 * elf/dl-init.c (call_init): Likewise.
11507 (_dl_init): Likewise.
11508 * elf/dl-load.c (print_search_path): Likewise.
11509 (_dl_map_object): Likewise.
11510 * elf/dl-lookup.c (do_lookup_x): Likewise.
11511 (add_dependency): Likewise.
11512 (_dl_lookup_symbol_x): Likewise.
11513 (_dl_debug_bindings): Likewise.
11514 * elf/dl-open.c (_dl_show_scope): Likewise.
11515 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11516 * elf/dl-version.c (match_symbol): Likewise.
11517 (_dl_check_map_versions): Likewise.
11518 * elf/rtld.c (dl_main): Likewise.
11519 (print_unresolved): Use RTLD_PROGNAME.
11520 (print_missing_version): Likewise.
11521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11522 (elf_machine_rela): Likewise.
11523 * sysdeps/powerpc/powerpc32/dl-machine.c
11524 (__process_machine_rela): Likewise.
11525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11529 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11531 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11538 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11540 * po/be.po: Add descriptive title.
11541 * po/zh_CN.po: Likewise.
11542 * po/header.pot: Likewise.
11544 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11546 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11548 (enlarge_archive): Likewise.
11550 2013-05-28 Ben North <ben@redfrontdoor.org>
11552 * manual/arith.texi (frexp): It is the magnitude of the return
11553 value which lies in [0.5, 1), not the return value itself.
11555 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11559 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11561 * stdio-common/bug26.c (main): Correct fscanf template.
11563 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11564 declare _dl_skip_args.
11566 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11569 * manual/platform.texi: Add missing @end deftypefun.
11571 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11575 bit of mantissa of 2^16382.
11576 * math/libm-test.inc (hypot_test_data): Add more tests.
11578 * math/libm-test.inc: Add drem and pow10 to list of tested
11580 (pow10_test): New function.
11581 (drem_test): Likewise.
11582 (drem_test_tonearest): Likewise.
11583 (drem_test_towardzero): Likewise.
11584 (drem_test_downward): Likewise.
11585 (drem_test_upward): Likewise.
11586 (main): Call the new functions.
11588 * math/libm-test.inc (finite_test_data): Remove.
11589 (finite_test): Run tests from isfinite_test_data.
11590 (gamma_test_data): Remove.
11591 (gamma_test): Run tests from lgamma_test_data.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597 * manual/platform.texi: Add PowerPC PPR function set documentation.
11598 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11601 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11603 * math/libm-test.inc (MAX_EXP): Define.
11605 (ulp): New function.
11606 (check_float_internal): Use ULPDIFF.
11607 (cpow_test): Disable failing test.
11608 (check_ulp): Test ulp() implemetnation.
11609 (main): Call check_ulp before starting tests.
11611 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11613 * math/gen-libm-test.pl (generate_testfile): Do not handle
11614 START_DATA and END_DATA.
11615 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11617 (acos_tonearest_test_data): Likewise.
11618 (acos_towardzero_test_data): Likewise.
11619 (acos_downward_test_data): Likewise.
11620 (acos_upward_test_data): Likewise.
11621 (acosh_test_data): Likewise.
11622 (asin_test_data): Likewise.
11623 (asin_tonearest_test_data): Likewise.
11624 (asin_towardzero_test_data): Likewise.
11625 (asin_downward_test_data): Likewise.
11626 (asin_upward_test_data): Likewise.
11627 (asinh_test_data): Likewise.
11628 (atan_test_data): Likewise.
11629 (atanh_test_data): Likewise.
11630 (atan2_test_data): Likewise.
11631 (cabs_test_data): Likewise.
11632 (cacos_test_data): Likewise.
11633 (cacosh_test_data): Likewise.
11634 (carg_test_data): Likewise.
11635 (casin_test_data): Likewise.
11636 (casinh_test_data): Likewise.
11637 (catan_test_data): Likewise.
11638 (catanh_test_data): Likewise.
11639 (cbrt_test_data): Likewise.
11640 (ccos_test_data): Likewise.
11641 (ccosh_test_data): Likewise.
11642 (ceil_test_data): Likewise.
11643 (cexp_test_data): Likewise.
11644 (cimag_test_data): Likewise.
11645 (clog_test_data): Likewise.
11646 (clog10_test_data): Likewise.
11647 (conj_test_data): Likewise.
11648 (copysign_test_data): Likewise.
11649 (cos_test_data): Likewise.
11650 (cos_tonearest_test_data): Likewise.
11651 (cos_towardzero_test_data): Likewise.
11652 (cos_downward_test_data): Likewise.
11653 (cos_upward_test_data): Likewise.
11654 (cosh_test_data): Likewise.
11655 (cosh_tonearest_test_data): Likewise.
11656 (cosh_towardzero_test_data): Likewise.
11657 (cosh_downward_test_data): Likewise.
11658 (cosh_upward_test_data): Likewise.
11659 (cpow_test_data): Likewise.
11660 (cproj_test_data): Likewise.
11661 (creal_test_data): Likewise.
11662 (csin_test_data): Likewise.
11663 (csinh_test_data): Likewise.
11664 (csqrt_test_data): Likewise.
11665 (ctan_test_data): Likewise.
11666 (ctan_tonearest_test_data): Likewise.
11667 (ctan_towardzero_test_data): Likewise.
11668 (ctan_downward_test_data): Likewise.
11669 (ctan_upward_test_data): Likewise.
11670 (ctanh_test_data): Likewise.
11671 (ctanh_tonearest_test_data): Likewise.
11672 (ctanh_towardzero_test_data): Likewise.
11673 (ctanh_downward_test_data): Likewise.
11674 (ctanh_upward_test_data): Likewise.
11675 (erf_test_data): Likewise.
11676 (erfc_test_data): Likewise.
11677 (exp_test_data): Likewise.
11678 (exp_tonearest_test_data): Likewise.
11679 (exp_towardzero_test_data): Likewise.
11680 (exp_downward_test_data): Likewise.
11681 (exp_upward_test_data): Likewise.
11682 (exp10_test_data): Likewise.
11683 (exp2_test_data): Likewise.
11684 (expm1_test_data): Likewise.
11685 (fabs_test_data): Likewise.
11686 (fdim_test_data): Likewise.
11687 (finite_test_data): Likewise.
11688 (floor_test_data): Likewise.
11689 (fma_test_data): Likewise.
11690 (fma_towardzero_test_data): Likewise.
11691 (fma_downward_test_data): Likewise.
11692 (fma_upward_test_data): Likewise.
11693 (fmax_test_data): Likewise.
11694 (fmin_test_data): Likewise.
11695 (fmod_test_data): Likewise.
11696 (fpclassify_test_data): Likewise.
11697 (frexp_test_data): Likewise.
11698 (gamma_test_data): Likewise.
11699 (hypot_test_data): Likewise.
11700 (ilogb_test_data): Likewise.
11701 (isfinite_test_data): Likewise.
11702 (isgreater_test_data): Likewise.
11703 (isgreaterequal_test_data): Likewise.
11704 (isinf_test_data): Likewise.
11705 (isless_test_data): Likewise.
11706 (islessequal_test_data): Likewise.
11707 (islessgreater_test_data): Likewise.
11708 (isnan_test_data): Likewise.
11709 (isnormal_test_data): Likewise.
11710 (issignaling_test_data): Likewise.
11711 (isunordered_test_data): Likewise.
11712 (j0_test_data): Likewise.
11713 (j1_test_data): Likewise.
11714 (jn_test_data): Likewise.
11715 (ldexp_test_data): Likewise.
11716 (lgamma_test_data): Likewise.
11717 (lrint_test_data): Likewise.
11718 (lrint_tonearest_test_data): Likewise.
11719 (lrint_towardzero_test_data): Likewise.
11720 (lrint_downward_test_data): Likewise.
11721 (lrint_upward_test_data): Likewise.
11722 (llrint_test_data): Likewise.
11723 (llrint_tonearest_test_data): Likewise.
11724 (llrint_towardzero_test_data): Likewise.
11725 (llrint_downward_test_data): Likewise.
11726 (llrint_upward_test_data): Likewise.
11727 (log_test_data): Likewise.
11728 (log10_test_data): Likewise.
11729 (log1p_test_data): Likewise.
11730 (log2_test_data): Likewise.
11731 (logb_test_data): Likewise.
11732 (logb_downward_test_data): Likewise.
11733 (lround_test_data): Likewise.
11734 (llround_test_data): Likewise.
11735 (modf_test_data): Likewise.
11736 (nearbyint_test_data): Likewise.
11737 (nextafter_test_data): Likewise.
11738 (nexttoward_test_data): Likewise.
11739 (pow_test_data): Likewise.
11740 (pow_tonearest_test_data): Likewise.
11741 (pow_towardzero_test_data): Likewise.
11742 (pow_downward_test_data): Likewise.
11743 (pow_upward_test_data): Likewise.
11744 (remainder_test_data): Likewise.
11745 (remainder_tonearest_test_data): Likewise.
11746 (remainder_towardzero_test_data): Likewise.
11747 (remainder_downward_test_data): Likewise.
11748 (remainder_upward_test_data): Likewise.
11749 (remquo_test_data): Likewise.
11750 (rint_test_data): Likewise.
11751 (rint_tonearest_test_data): Likewise.
11752 (rint_towardzero_test_data): Likewise.
11753 (rint_downward_test_data): Likewise.
11754 (rint_upward_test_data): Likewise.
11755 (round_test_data): Likewise.
11756 (scalb_test_data): Likewise.
11757 (scalbn_test_data): Likewise.
11758 (scalbln_test_data): Likewise.
11759 (signbit_test_data): Likewise.
11760 (sin_test_data): Likewise.
11761 (sin_tonearest_test_data): Likewise.
11762 (sin_towardzero_test_data): Likewise.
11763 (sin_downward_test_data): Likewise.
11764 (sin_upward_test_data): Likewise.
11765 (sincos_test_data): Likewise.
11766 (sinh_test_data): Likewise.
11767 (sinh_tonearest_test_data): Likewise.
11768 (sinh_towardzero_test_data): Likewise.
11769 (sinh_downward_test_data): Likewise.
11770 (sinh_upward_test_data): Likewise.
11771 (sqrt_test_data): Likewise.
11772 (tan_test_data): Likewise.
11773 (tan_tonearest_test_data): Likewise.
11774 (tan_towardzero_test_data): Likewise.
11775 (tan_downward_test_data): Likewise.
11776 (tan_upward_test_data): Likewise.
11777 (tanh_test_data): Likewise.
11778 (tgamma_test_data): Likewise.
11779 (trunc_test_data): Likewise.
11780 (y0_test_data): Likewise.
11781 (y1_test_data): Likewise.
11782 (yn_test_data): Likewise.
11783 (significand_test_data): Likewise.
11785 * math/gen-libm-test.pl (@functions): Remove variable.
11786 (generate_testfile): Don't handle START and END lines.
11787 * math/libm-test.inc (START): New macro.
11789 (END_COMPLEX): Likewise.
11790 (acos_test): Use END macro without arguments.
11791 (acos_test_tonearest): Likewise.
11792 (acos_test_towardzero): Likewise.
11793 (acos_test_downward): Likewise.
11794 (acos_test_upward): Likewise.
11795 (acosh_test): Likewise.
11796 (asin_test): Likewise.
11797 (asin_test_tonearest): Likewise.
11798 (asin_test_towardzero): Likewise.
11799 (asin_test_downward): Likewise.
11800 (asin_test_upward): Likewise.
11801 (asinh_test): Likewise.
11802 (atan_test): Likewise.
11803 (atanh_test): Likewise.
11804 (atan2_test): Likewise.
11805 (cabs_test): Likewise.
11806 (cacos_test): Use END_COMPLEX macro without arguments.
11807 (cacosh_test): Likewise.
11808 (carg_test): Use END macro without arguments.
11809 (casin_test): Use END_COMPLEX macro without arguments.
11810 (casinh_test): Likewise.
11811 (catan_test): Likewise.
11812 (catanh_test): Likewise.
11813 (cbrt_test): Use END macro without arguments.
11814 (ccos_test): Use END_COMPLEX macro without arguments.
11815 (ccosh_test): Likewise.
11816 (ceil_test): Use END macro without arguments.
11817 (cexp_test): Use END_COMPLEX macro without arguments.
11818 (cimag_test): Use END macro without arguments.
11819 (clog_test): Use END_COMPLEX macro without arguments.
11820 (clog10_test): Likewise.
11821 (conj_test): Likewise.
11822 (copysign_test): Use END macro without arguments.
11823 (cos_test): Likewise.
11824 (cos_test_tonearest): Likewise.
11825 (cos_test_towardzero): Likewise.
11826 (cos_test_downward): Likewise.
11827 (cos_test_upward): Likewise.
11828 (cosh_test): Likewise.
11829 (cosh_test_tonearest): Likewise.
11830 (cosh_test_towardzero): Likewise.
11831 (cosh_test_downward): Likewise.
11832 (cosh_test_upward): Likewise.
11833 (cpow_test): Use END_COMPLEX macro without arguments.
11834 (cproj_test): Likewise.
11835 (creal_test): Use END macro without arguments.
11836 (csin_test): Use END_COMPLEX macro without arguments.
11837 (csinh_test): Likewise.
11838 (csqrt_test): Likewise.
11839 (ctan_test): Likewise.
11840 (ctan_test_tonearest): Likewise.
11841 (ctan_test_towardzero): Likewise.
11842 (ctan_test_downward): Likewise.
11843 (ctan_test_upward): Likewise.
11844 (ctanh_test): Likewise.
11845 (ctanh_test_tonearest): Likewise.
11846 (ctanh_test_towardzero): Likewise.
11847 (ctanh_test_downward): Likewise.
11848 (ctanh_test_upward): Likewise.
11849 (erf_test): Use END macro without arguments.
11850 (erfc_test): Likewise.
11851 (exp_test): Likewise.
11852 (exp_test_tonearest): Likewise.
11853 (exp_test_towardzero): Likewise.
11854 (exp_test_downward): Likewise.
11855 (exp_test_upward): Likewise.
11856 (exp10_test): Likewise.
11857 (exp2_test): Likewise.
11858 (expm1_test): Likewise.
11859 (fabs_test): Likewise.
11860 (fdim_test): Likewise.
11861 (finite_test): Likewise.
11862 (floor_test): Likewise.
11863 (fma_test): Likewise.
11864 (fma_test_towardzero): Likewise.
11865 (fma_test_downward): Likewise.
11866 (fma_test_upward): Likewise.
11867 (fmax_test): Likewise.
11868 (fmin_test): Likewise.
11869 (fmod_test): Likewise.
11870 (fpclassify_test): Likewise.
11871 (frexp_test): Likewise.
11872 (gamma_test): Likewise.
11873 (hypot_test): Likewise.
11874 (ilogb_test): Likewise.
11875 (isfinite_test): Likewise.
11876 (isgreater_test): Likewise.
11877 (isgreaterequal_test): Likewise.
11878 (isinf_test): Likewise.
11879 (isless_test): Likewise.
11880 (islessequal_test): Likewise.
11881 (islessgreater_test): Likewise.
11882 (isnan_test): Likewise.
11883 (isnormal_test): Likewise.
11884 (issignaling_test): Likewise.
11885 (isunordered_test): Likewise.
11886 (j0_test): Likewise.
11887 (j1_test): Likewise.
11888 (jn_test): Likewise.
11889 (ldexp_test): Likewise.
11890 (lgamma_test): Likewise.
11891 (lrint_test): Likewise.
11892 (lrint_test_tonearest): Likewise.
11893 (lrint_test_towardzero): Likewise.
11894 (lrint_test_downward): Likewise.
11895 (lrint_test_upward): Likewise.
11896 (llrint_test): Likewise.
11897 (llrint_test_tonearest): Likewise.
11898 (llrint_test_towardzero): Likewise.
11899 (llrint_test_downward): Likewise.
11900 (llrint_test_upward): Likewise.
11901 (log_test): Likewise.
11902 (log10_test): Likewise.
11903 (log1p_test): Likewise.
11904 (log2_test): Likewise.
11905 (logb_test): Likewise.
11906 (logb_test_downward): Likewise.
11907 (lround_test): Likewise.
11908 (llround_test): Likewise.
11909 (modf_test): Likewise.
11910 (nearbyint_test): Likewise.
11911 (nextafter_test): Likewise.
11912 (nexttoward_test): Likewise.
11913 (pow_test): Likewise.
11914 (pow_test_tonearest): Likewise.
11915 (pow_test_towardzero): Likewise.
11916 (pow_test_downward): Likewise.
11917 (pow_test_upward): Likewise.
11918 (remainder_test): Likewise.
11919 (remainder_test_tonearest): Likewise.
11920 (remainder_test_towardzero): Likewise.
11921 (remainder_test_downward): Likewise.
11922 (remainder_test_upward): Likewise.
11923 (remquo_test): Likewise.
11924 (rint_test): Likewise.
11925 (rint_test_tonearest): Likewise.
11926 (rint_test_towardzero): Likewise.
11927 (rint_test_downward): Likewise.
11928 (rint_test_upward): Likewise.
11929 (round_test): Likewise.
11930 (scalb_test): Likewise.
11931 (scalbn_test): Likewise.
11932 (scalbln_test): Likewise.
11933 (signbit_test): Likewise.
11934 (sin_test): Likewise.
11935 (sin_test_tonearest): Likewise.
11936 (sin_test_towardzero): Likewise.
11937 (sin_test_downward): Likewise.
11938 (sin_test_upward): Likewise.
11939 (sincos_test): Likewise.
11940 (sinh_test): Likewise.
11941 (sinh_test_tonearest): Likewise.
11942 (sinh_test_towardzero): Likewise.
11943 (sinh_test_downward): Likewise.
11944 (sinh_test_upward): Likewise.
11945 (sqrt_test): Likewise.
11946 (tan_test): Likewise.
11947 (tan_test_tonearest): Likewise.
11948 (tan_test_towardzero): Likewise.
11949 (tan_test_downward): Likewise.
11950 (tan_test_upward): Likewise.
11951 (tanh_test): Likewise.
11952 (tgamma_test): Likewise.
11953 (trunc_test): Likewise.
11954 (y0_test): Likewise.
11955 (y1_test): Likewise.
11956 (yn_test): Likewise.
11957 (significand_test): Likewise.
11959 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
11962 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11964 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11967 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11968 __ppc_mdoio and __ppc_mdoom.
11969 * manual/platform.texi: Document new functions __ppc_yield,
11970 __ppc_mdoio and __ppc_mdoom.
11972 2013-05-22 Carlos O'Donell <carlos@redhat.com>
11974 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11975 (main): Mention "tls" pseudo-hwcap is legacy.
11976 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11978 2013-05-22 Joseph Myers <joseph@codesourcery.com>
11980 * math/gen-libm-test.pl (parse_args): Output only string of
11981 arguments as text for test name, not full call or descriptions of
11982 tests for extra outputs.
11983 (generate_testfile): Do not pass function name to parse_args.
11984 Generate this_func variable from START.
11985 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11987 (struct test_ff_f_data): Likewise.
11988 (test_ff_f_data_nexttoward): Likewise.
11989 (struct test_fi_f_data): Likewise.
11990 (struct test_fl_f_data): Likewise.
11991 (struct test_if_f_data): Likewise.
11992 (struct test_fff_f_data): Likewise.
11993 (struct test_c_f_data): Likewise.
11994 (struct test_f_f1_data): Likewise. Remove field extra_name.
11995 (struct test_fF_f1_data): Likewise.
11996 (struct test_ffI_f1_data): Likewise.
11997 (struct test_c_c_data): Rename test_name field to arg_str.
11998 (struct test_cc_c_data): Likewise.
11999 (struct test_f_i_data): Likewise.
12000 (struct test_ff_i_data): Likewise.
12001 (struct test_f_l_data): Likewise.
12002 (struct test_f_L_data): Likewise.
12003 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12005 (COMMON_TEST_SETUP): New macro.
12006 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12007 (COMMON_TEST_CLEANUP): Likewise.
12008 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12009 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12011 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12012 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12014 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12015 (RUN_TEST_fff_f): Take argument string. Call new setup and
12017 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12018 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12020 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12021 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12023 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12024 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12026 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12027 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12029 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12030 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12032 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12033 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12035 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12036 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12038 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12039 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12041 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12042 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12044 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12045 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12047 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12048 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12050 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12051 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12053 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12054 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12056 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12057 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12059 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12060 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12062 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12064 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12066 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12067 to _sifields.sigfault.
12068 (si_addr_lsb): Define new macro.
12069 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12071 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12073 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12076 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12078 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12080 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12081 loading the domain.
12083 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12085 * math/gen-libm-test.pl (parse_args): Do not include expected
12086 result in test name.
12087 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12088 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12089 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12090 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12091 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12094 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12096 * benchtests/Makefile: Sort function entries.
12098 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12099 tanh, asinh, acosh, atanh.
12100 * benchtests/acos-inputs: New file.
12101 * benchtests/acosh-inputs: New file.
12102 * benchtests/asin-inputs: New file.
12103 * benchtests/asinh-inputs: New file.
12104 * benchtests/atanh-inputs: New file.
12105 * benchtests/cosh-inputs: New file.
12106 * benchtests/log-inputs: New file.
12107 * benchtests/sinh-inputs: New file.
12108 * benchtests/tanh-inputs: New file.
12110 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12113 * posix/tst-getaddrinfo4.c: New test.
12114 * posix/Makefile (tests): Add it.
12116 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12119 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12120 when no services were used.
12121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12122 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12124 2013-05-21 Andreas Schwab <schwab@suse.de>
12127 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12128 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12130 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12131 redundant variable declarations and reallocation of buffer when
12132 parsing as IPv6 address. Always set NSS status when called from
12133 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12134 buffer too small. Correct computation of needed size.
12135 * nss/Makefile (tests): Add test-digits-dots.
12136 * nss/test-digits-dots.c: New test.
12138 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * benchtests/Makefile: Remove instructions for adding
12142 * benchtests/README: New file to explain how to execute and
12143 enhance the benchmark tests.
12145 2013-05-21 Andreas Schwab <schwab@suse.de>
12148 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12149 * setjmp/tst-sigsetjmp.c: New test.
12151 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12153 * sysdeps/x86_64/memset.S (memset): New implementation.
12154 (__bzero): Likewise.
12155 (__memset_tail): New function.
12157 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12159 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12160 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12161 __memcpy_sse2_unaligned ifunc selection.
12162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12163 Add memcpy-sse2-unaligned.S.
12164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12165 Add: __memcpy_sse2_unaligned.
12167 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12170 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12171 math_force_eval before restoring floating-point envrionment.
12172 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12175 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12177 (__nearbyintl): Use math_force_eval before restoring
12178 floating-point environment.
12179 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12181 * math/gen-libm-test.pl (special_functions): Remove.
12182 (parse_args): Don't handle TEST_extra. Handle functions with no
12184 * math/libm-test.inc (struct test_sincos_data): Replace with
12185 struct test_fFF_11_data.
12186 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12187 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12188 (sincos_test_data): Change element type to struct
12189 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12190 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12191 RUN_TEST_LOOP_sincos.
12192 * math/README.libm-test: Don't mention special handling of
12193 individual functions.
12194 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12196 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12197 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12198 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12201 * math/gen-libm-test.pl (get_variable): Remove function.
12202 (parse_args): Don't show pointer parameters to call in test
12203 names. Use "extra output N" in test names for extra outputs
12204 rather than naming variables.
12206 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12209 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12210 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12211 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12213 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12215 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12218 * math/gen-libm-test.pl (@tests): Remove variable.
12219 ($count): Likewise.
12220 (new_test): Remove function.
12221 (show_exceptions): New function.
12222 (special_functions): Use show_exceptions instead of new_test.
12223 (parse_args): Likewise.
12224 (generate_testfile): Pass only function name in generated call to
12225 print_max_error or print_complex_max_error.
12226 (get_ulps): Do not handle complex tests specially.
12227 (output_test): Rename to ...
12228 (get_all_ulps_for_test): ... this. Return a string rather than
12229 printing to a file. Require ulps to be present.
12230 (output_ulps): Generate arrays rather than #defines.
12231 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12232 (struct ulp_data): New type.
12233 (BUILD_COMPLEX_ULP): Remove macro.
12234 (compare_ulp_data): New function.
12235 (find_ulps): Likewise.
12236 (find_test_ulps): Likewise.
12237 (find_function_ulps): Likewise.
12238 (find_complex_function_ulps): Likewise.
12239 (print_max_error): Determine allowed ulps using
12240 find_function_ulps.
12241 (print_complex_max_error): Determine allowed ulps using
12242 find_complex_function_ulps.
12243 (check_float_internal): Determine max ulps using find_test_ulps.
12244 (check_float): Do not take max_ulp parameter. Update call to
12245 check_float_internal.
12246 (check_complex): Likewise.
12247 (check_int): Do not take max_ulp parameter.
12248 (check_long): Likewise.
12249 (check_bool): Likewise.
12250 (check_longlong): Likewise.
12251 (struct test_f_f_data): Remove max_ulp field.
12252 (struct test_ff_f_data): Likewise.
12253 (struct test_ff_f_data_nexttoward): Likewise.
12254 (struct test_fi_f_data): Likewise.
12255 (struct test_fl_f_data): Likewise.
12256 (struct test_if_f_data): Likewise.
12257 (struct test_fff_f_data): Likewise.
12258 (struct test_c_f_data): Likewise.
12259 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12260 (struct test_fF_f1_data): Likewise.
12261 (struct test_ffI_f1_data): Likewise.
12262 (struct test_c_c_data): Remove max_ulp field.
12263 (struct test_cc_c_data): Likewise.
12264 (struct test_f_i_data): Likewise.
12265 (struct test_ff_i_data): Likewise.
12266 (struct test_f_l_data): Likewise.
12267 (struct test_f_L_data): Likewise.
12268 (struct test_sincos_data): Likewise.
12269 (RUN_TEST_f_f): Do not handle ulps.
12270 (RUN_TEST_LOOP_f_f): Likewise.
12271 (RUN_TEST_2_f): Likewise.
12272 (RUN_TEST_LOOP_2_f): Likewise.
12273 (RUN_TEST_fff_f): Likewise.
12274 (RUN_TEST_LOOP_fff_f): Likewise.
12275 (RUN_TEST_c_f): Likewise.
12276 (RUN_TEST_LOOP_c_f): Likewise.
12277 (RUN_TEST_f_f1): Likewise.
12278 (RUN_TEST_LOOP_f_f1): Likewise.
12279 (RUN_TEST_fF_f1): Likewise.
12280 (RUN_TEST_LOOP_fF_f1): Likewise.
12281 (RUN_TEST_fI_f1): Likewise.
12282 (RUN_TEST_LOOP_fI_f1): Likewise.
12283 (RUN_TEST_ffI_f1): Likewise.
12284 (RUN_TEST_LOOP_ffI_f1): Likewise.
12285 (RUN_TEST_c_c): Likewise.
12286 (RUN_TEST_LOOP_c_c): Likewise.
12287 (RUN_TEST_cc_c): Likewise.
12288 (RUN_TEST_LOOP_cc_c): Likewise.
12289 (RUN_TEST_f_i): Likewise.
12290 (RUN_TEST_LOOP_f_i): Likewise.
12291 (RUN_TEST_f_i_tg): Likewise.
12292 (RUN_TEST_LOOP_f_i_tg): Likewise.
12293 (RUN_TEST_ff_i_tg): Likewise.
12294 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12295 (RUN_TEST_f_b): Likewise.
12296 (RUN_TEST_LOOP_f_b): Likewise.
12297 (RUN_TEST_f_b_tg): Likewise.
12298 (RUN_TEST_LOOP_f_b_tg): Likewise.
12299 (RUN_TEST_f_l): Likewise.
12300 (RUN_TEST_LOOP_f_l): Likewise.
12301 (RUN_TEST_f_L): Likewise.
12302 (RUN_TEST_LOOP_f_L): Likewise.
12303 (RUN_TEST_sincos): Likewise.
12304 (RUN_TEST_LOOP_sincos): Likewise.
12306 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12310 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12311 main case of finite arguments, set rounding mode to FE_TONEAREST
12312 and discard exceptions.
12313 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12315 (remainder_tonearest_test_data): New variable.
12316 (remainder_test_tonearest): New function.
12317 (remainder_towardzero_test_data): New variable.
12318 (remainder_test_towardzero): New function.
12319 (remainder_downward_test_data): New variable.
12320 (remainder_test_downward): New function.
12321 (remainder_upward_test_data): New variable.
12322 (remainder_test_upward): New function.
12323 (main): Call the new test functions.
12325 * math/libm-test.inc (struct test_f_f1_data): Remove field
12327 (struct test_fF_f1_data): Likewise.
12328 (struct test_ffI_f1_data): Likewise.
12329 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12330 based on value of EXTRA_EXPECTED.
12331 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12332 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12333 EXTRA_VAR based on value of EXTRA_EXPECTED.
12334 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12335 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12336 EXTRA_VAR based on value of EXTRA_EXPECTED.
12337 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12338 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12339 EXTRA_VAR based on value of EXTRA_EXPECTED.
12340 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12341 * math/gen-libm-test.pl (parse_args): Don't output initializers
12342 for extra output values.
12344 * math/libm-test.inc (check_int): Expect result to be exactly
12345 equal to expected value and do not handle ulps.
12346 (check_long): Likewise.
12347 (check_longlong): Likewise.
12349 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12351 (cimag_test_data): Likewise.
12352 (conj_test_data): Likewise.
12353 (copysign_test_data): Likewise.
12354 (cproj_test_data): Likewise.
12355 (creal_test_data): Likewise.
12356 (fabs_test_data): Likewise.
12357 (fdim_test_data): Likewise.
12358 (finite_test_data): Likewise.
12359 (floor_test_data): Likewise.
12360 (fmax_test_data): Likewise.
12361 (fmin_test_data): Likewise.
12362 (fmod_test_data): Likewise.
12363 (fpclassify_test_data): Likewise.
12364 (frexp_test_data): Likewise.
12365 (ilogb_test_data): Likewise.
12366 (isfinite_test_data): Likewise.
12367 (isgreater_test_data): Likewise.
12368 (isgreaterequal_test_data): Likewise.
12369 (isinf_test_data): Likewise.
12370 (isless_test_data): Likewise.
12371 (islessequal_test_data): Likewise.
12372 (islessgreater_test_data): Likewise.
12373 (isnan_test_data): Likewise.
12374 (isnormal_test_data): Likewise.
12375 (issignaling_test_data): Likewise.
12376 (isunordered_test_data): Likewise.
12377 (ldexp_test_data): Likewise.
12378 (lrint_test_data): Likewise.
12379 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12380 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12381 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12382 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12383 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12384 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12386 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12387 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12388 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12389 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12391 (lrint_downward_test_data): Test for "inexact" exceptions.
12392 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12393 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12394 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12396 (lrint_upward_test_data): Test for "inexact" exceptions.
12397 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12399 (llrint_test_data): Test for "inexact" exceptions.
12400 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12401 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12402 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12403 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12404 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12405 (llrint_downward_test_data): Test for "inexact" exceptions.
12406 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12407 (llrint_upward_test_data): Test for "inexact" exceptions.
12408 (logb_test_data): Likewise.
12409 (logb_downward_test_data): Likewise.
12410 (nextafter_test_data): Likewise.
12411 (nexttoward_test_data): Likewise.
12412 (remainder_test_data): Likewise.
12413 (remquo_test_data): Likewise.
12414 (scalbn_test_data): Likewise.
12415 (scalbln_test_data): Likewise.
12416 (signbit_test_data): Likewise.
12417 (sqrt_test_data): Likewise.
12418 (significand_test_data): Likewise.
12420 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12423 * benchtests/bench-modf.c (struct args): Mark arg0 as
12425 * scripts/bench.pl: Mark members of struct args as volatile.
12427 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12430 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12431 negative infinity on POWER6 or lower.
12432 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12434 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12437 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12438 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12439 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12440 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12441 (_FP_SETQNAN): New macro.
12442 (_FP_SETQNAN_SEMIRAW): Likewise.
12443 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12444 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12445 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12446 (FP_EXTEND): Use _FP_FRAC_SNANP.
12447 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12448 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12450 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12455 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12457 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12458 with DIVIDE_BY_ZERO_EXCEPTION.
12459 (gamma_test_data): Likewise.
12460 (lgamma_test_data): Likewise.
12461 (log_test_data): Likewise.
12462 (log10_test_data): Likewise.
12463 (log2_test_data): Likewise.
12464 (tgamma_test_data): Likewise.
12466 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12467 (acos_test_tonearest): Likewise.
12468 (acos_test_towardzero): Likewise.
12469 (acos_test_downward): Likewise.
12470 (acos_test_upward): Likewise.
12471 (acosh_test): Likewise.
12472 (asin_test): Likewise.
12473 (asin_test_tonearest): Likewise.
12474 (asin_test_towardzero): Likewise.
12475 (asin_test_downward): Likewise.
12476 (asin_test_upward): Likewise.
12477 (asinh_test): Likewise.
12478 (atan_test): Likewise.
12479 (atanh_test): Likewise.
12480 (atan2_test): Likewise.
12481 (cabs_test): Likewise.
12482 (cacos_test): Likewise.
12483 (cacosh_test): Likewise.
12484 (casin_test): Likewise.
12485 (casinh_test): Likewise.
12486 (catan_test): Likewise.
12487 (catanh_test): Likewise.
12488 (cbrt_test): Likewise.
12489 (ccos_test): Likewise.
12490 (ccosh_test): Likewise.
12491 (cexp_test): Likewise.
12492 (clog_test): Likewise.
12493 (clog10_test): Likewise.
12494 (cos_test): Likewise.
12495 (cos_test_tonearest): Likewise.
12496 (cos_test_towardzero): Likewise.
12497 (cos_test_downward): Likewise.
12498 (cos_test_upward): Likewise.
12499 (cosh_test): Likewise.
12500 (cosh_test_tonearest): Likewise.
12501 (cosh_test_towardzero): Likewise.
12502 (cosh_test_downward): Likewise.
12503 (cosh_test_upward): Likewise.
12504 (cpow_test): Likewise.
12505 (csin_test): Likewise.
12506 (csinh_test): Likewise.
12507 (csqrt_test): Likewise.
12508 (ctan_test): Likewise.
12509 (ctan_test_tonearest): Likewise.
12510 (ctan_test_towardzero): Likewise.
12511 (ctan_test_downward): Likewise.
12512 (ctan_test_upward): Likewise.
12513 (ctanh_test): Likewise.
12514 (ctanh_test_tonearest): Likewise.
12515 (ctanh_test_towardzero): Likewise.
12516 (ctanh_test_downward): Likewise.
12517 (ctanh_test_upward): Likewise.
12518 (erf_test): Likewise.
12519 (erfc_test): Likewise.
12520 (exp_test): Likewise.
12521 (exp_test_tonearest): Likewise.
12522 (exp_test_towardzero): Likewise.
12523 (exp_test_downward): Likewise.
12524 (exp_test_upward): Likewise.
12525 (exp10_test): Likewise.
12526 (exp2_test): Likewise.
12527 (expm1_test): Likewise.
12528 (fmod_test): Likewise.
12529 (gamma_test): Likewise.
12530 (hypot_test): Likewise.
12531 (j0_test): Likewise.
12532 (j1_test): Likewise.
12533 (jn_test): Likewise.
12534 (lgamma_test): Likewise.
12535 (log_test): Likewise.
12536 (log10_test): Likewise.
12537 (log1p_test): Likewise.
12538 (log2_test): Likewise.
12539 (logb_test_downward): Likewise.
12540 (pow_test): Likewise.
12541 (pow_test_tonearest): Likewise.
12542 (pow_test_towardzero): Likewise.
12543 (pow_test_downward): Likewise.
12544 (pow_test_upward): Likewise.
12545 (remainder_test): Likewise.
12546 (remquo_test): Likewise.
12547 (sin_test): Likewise.
12548 (sin_test_tonearest): Likewise.
12549 (sin_test_towardzero): Likewise.
12550 (sin_test_downward): Likewise.
12551 (sin_test_upward): Likewise.
12552 (sincos_test): Likewise.
12553 (sinh_test): Likewise.
12554 (sinh_test_tonearest): Likewise.
12555 (sinh_test_towardzero): Likewise.
12556 (sinh_test_downward): Likewise.
12557 (sinh_test_upward): Likewise.
12558 (sqrt_test): Likewise.
12559 (tan_test): Likewise.
12560 (tan_test_tonearest): Likewise.
12561 (tan_test_towardzero): Likewise.
12562 (tan_test_downward): Likewise.
12563 (tan_test_upward): Likewise.
12564 (tanh_test): Likewise.
12565 (tgamma_test): Likewise.
12566 (y0_test): Likewise.
12567 (y1_test): Likewise.
12568 (yn_test): Likewise.
12570 * math/gen-libm-test.pl (adjust_arg): Remove function.
12571 (special_function): Remove argument $in_func. Only handle
12572 generating output for tables of tests, not inside functions.
12573 (parse_args): Likewise.
12574 (generate_testfile): Remove variable $in_func. Update call to
12576 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12577 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12578 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12579 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12580 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12581 (MAX_VALUE_INIT): Rename macro to max_value.
12582 (MIN_VALUE_INIT): Rename macro to min_value.
12583 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12584 (plus_zero): Remove variable.
12585 (minus_zero): Likewise.
12586 (plus_infty): Likewise.
12587 (minus_infty): Likewise.
12588 (qnan_value): Likewise.
12589 (max_value): Likewise.
12590 (min_value): Likewise.
12591 (min_subnorm_value): Likewise.
12593 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12595 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12596 uint64_t or uint32_t usage.
12597 * crypt/sha256-block.c: Likewise.
12598 * crypt/sha256-crypt.c: Likewise.
12599 * crypt/sha256.c: Likewise.
12600 * crypt/sha512-block.c: Likewise.
12601 * crypt/sha512-crypt.c: Likewise.
12602 * crypt/sha512.c: Likewise.
12603 * debug/backtrace-tst.c: Likewise.
12604 * debug/pcprofiledump.c: Likewise.
12605 * elf/cache.c: Likewise.
12606 * elf/dl-cache.c: Likewise.
12607 * elf/dl-misc.c: Likewise.
12608 * elf/dl-profile.c: Likewise.
12609 * elf/dl-support.c: Likewise.
12610 * elf/ldconfig.c: Likewise.
12611 * elf/sprof.c: Likewise.
12612 * iconv/dummy-repertoire.c: Likewise.
12613 * iconv/iconv_charmap.c: Likewise.
12614 * iconv/skeleton.c: Likewise.
12615 * iconvdata/8bit-generic.c: Likewise.
12616 * iconvdata/cp737.h: Likewise.
12617 * iconvdata/cp775.h: Likewise.
12618 * iconvdata/ibm1008.h: Likewise.
12619 * iconvdata/ibm1025.h: Likewise.
12620 * iconvdata/ibm1046.h: Likewise.
12621 * iconvdata/ibm1097.h: Likewise.
12622 * iconvdata/ibm1112.h: Likewise.
12623 * iconvdata/ibm1122.h: Likewise.
12624 * iconvdata/ibm1123.h: Likewise.
12625 * iconvdata/ibm1124.h: Likewise.
12626 * iconvdata/ibm1129.h: Likewise.
12627 * iconvdata/ibm1130.h: Likewise.
12628 * iconvdata/ibm1132.h: Likewise.
12629 * iconvdata/ibm1133.h: Likewise.
12630 * iconvdata/ibm1137.h: Likewise.
12631 * iconvdata/ibm1140.h: Likewise.
12632 * iconvdata/ibm1141.h: Likewise.
12633 * iconvdata/ibm1142.h: Likewise.
12634 * iconvdata/ibm1143.h: Likewise.
12635 * iconvdata/ibm1144.h: Likewise.
12636 * iconvdata/ibm1145.h: Likewise.
12637 * iconvdata/ibm1146.h: Likewise.
12638 * iconvdata/ibm1147.h: Likewise.
12639 * iconvdata/ibm1148.h: Likewise.
12640 * iconvdata/ibm1149.h: Likewise.
12641 * iconvdata/ibm1153.h: Likewise.
12642 * iconvdata/ibm1154.h: Likewise.
12643 * iconvdata/ibm1155.h: Likewise.
12644 * iconvdata/ibm1156.h: Likewise.
12645 * iconvdata/ibm1157.h: Likewise.
12646 * iconvdata/ibm1158.h: Likewise.
12647 * iconvdata/ibm1160.h: Likewise.
12648 * iconvdata/ibm1161.h: Likewise.
12649 * iconvdata/ibm1162.h: Likewise.
12650 * iconvdata/ibm1163.h: Likewise.
12651 * iconvdata/ibm1164.h: Likewise.
12652 * iconvdata/ibm1166.h: Likewise.
12653 * iconvdata/ibm1167.h: Likewise.
12654 * iconvdata/ibm12712.h: Likewise.
12655 * iconvdata/ibm1390.h: Likewise.
12656 * iconvdata/ibm1399.h: Likewise.
12657 * iconvdata/ibm16804.h: Likewise.
12658 * iconvdata/ibm4517.h: Likewise.
12659 * iconvdata/ibm4899.h: Likewise.
12660 * iconvdata/ibm4909.h: Likewise.
12661 * iconvdata/ibm4971.h: Likewise.
12662 * iconvdata/ibm5347.h: Likewise.
12663 * iconvdata/ibm803.h: Likewise.
12664 * iconvdata/ibm856.h: Likewise.
12665 * iconvdata/ibm901.h: Likewise.
12666 * iconvdata/ibm902.h: Likewise.
12667 * iconvdata/ibm9030.h: Likewise.
12668 * iconvdata/ibm9066.h: Likewise.
12669 * iconvdata/ibm921.h: Likewise.
12670 * iconvdata/ibm922.h: Likewise.
12671 * iconvdata/ibm9448.h: Likewise.
12672 * iconvdata/isiri-3342.h: Likewise.
12673 * iconvdata/jis0201.h: Likewise.
12674 * include/link.h: Likewise.
12675 * include/netdb.h: Likewise.
12676 * inet/check_native.c: Likewise.
12677 * inet/check_pf.c: Likewise.
12678 * inet/getipv4sourcefilter.c: Likewise.
12679 * inet/getnameinfo.c: Likewise.
12680 * inet/getsourcefilter.c: Likewise.
12681 * inet/htonl.c: Likewise.
12682 * inet/setipv4sourcefilter.c: Likewise.
12683 * inet/setsourcefilter.c: Likewise.
12684 * inet/test-inet6_opt.c: Likewise.
12685 * inet/tst-network.c: Likewise.
12686 * locale/C-collate.c: Likewise.
12687 * locale/C-ctype.c: Likewise.
12688 * locale/C-time.c: Likewise.
12689 * locale/C-translit.h: Likewise.
12690 * locale/loadarchive.c: Likewise.
12691 * locale/programs/3level.h: Likewise.
12692 * locale/programs/charmap.c: Likewise.
12693 * locale/programs/charmap.h: Likewise.
12694 * locale/programs/ld-address.c: Likewise.
12695 * locale/programs/ld-collate.c: Likewise.
12696 * locale/programs/ld-ctype.c: Likewise.
12697 * locale/programs/ld-identification.c: Likewise.
12698 * locale/programs/ld-measurement.c: Likewise.
12699 * locale/programs/ld-messages.c: Likewise.
12700 * locale/programs/ld-monetary.c: Likewise.
12701 * locale/programs/ld-name.c: Likewise.
12702 * locale/programs/ld-numeric.c: Likewise.
12703 * locale/programs/ld-paper.c: Likewise.
12704 * locale/programs/ld-telephone.c: Likewise.
12705 * locale/programs/ld-time.c: Likewise.
12706 * locale/programs/linereader.c: Likewise.
12707 * locale/programs/locale.c: Likewise.
12708 * locale/programs/locarchive.c: Likewise.
12709 * locale/programs/locfile.h: Likewise.
12710 * locale/programs/repertoire.c: Likewise.
12711 * locale/programs/simple-hash.c: Likewise.
12712 * locale/programs/simple-hash.h: Likewise.
12713 * malloc/memusage.c: Likewise.
12714 * malloc/memusagestat.c: Likewise.
12715 * nis/nis_defaults.c: Likewise.
12716 * nis/nis_hash.c: Likewise.
12717 * nis/nis_print.c: Likewise.
12718 * nis/nis_xdr.c: Likewise.
12719 * nscd/connections.c: Likewise.
12720 * nscd/hstcache.c: Likewise.
12721 * nscd/nscd_gethst_r.c: Likewise.
12722 * nscd/nscd_getserv_r.c: Likewise.
12723 * nscd/nscd_helper.c: Likewise.
12724 * nscd/servicescache.c: Likewise.
12725 * nss/makedb.c: Likewise.
12726 * nss/nss_db/db-XXX.c: Likewise.
12727 * nss/nss_db/db-initgroups.c: Likewise.
12728 * nss/nss_db/db-netgrp.c: Likewise.
12729 * nss/nss_files/files-network.c: Likewise.
12730 * nss/nss_files/files-parse.c: Likewise.
12731 * posix/bug-regex5.c: Likewise.
12732 * posix/fnmatch_loop.c: Likewise.
12733 * posix/regcomp.c: Likewise.
12734 * posix/regexec.c: Likewise.
12735 * posix/tst-rfc3484-2.c: Likewise.
12736 * posix/tst-rfc3484-3.c: Likewise.
12737 * posix/tst-rfc3484.c: Likewise.
12738 * resolv/nss_dns/dns-canon.c: Likewise.
12739 * resolv/nss_dns/dns-network.c: Likewise.
12740 * resolv/res_init.c: Likewise.
12741 * resolv/res_mkquery.c: Likewise.
12742 * resolv/tst-aton.c: Likewise.
12743 * stdlib/cxa_atexit.c: Likewise.
12744 * stdlib/cxa_finalize.c: Likewise.
12745 * stdlib/gen-fpioconst.c: Likewise.
12746 * stdlib/strtol_l.c: Likewise.
12747 * string/tst-endian.c: Likewise.
12748 * sunrpc/auth_des.c: Likewise.
12749 * sunrpc/clnt_udp.c: Likewise.
12750 * sunrpc/rtime.c: Likewise.
12751 * sunrpc/svcauth_des.c: Likewise.
12752 * sunrpc/xdr.c: Likewise.
12753 * sunrpc/xdr_intXX_t.c: Likewise.
12754 * sunrpc/xdr_rec.c: Likewise.
12755 * sysdeps/generic/ldconfig.h: Likewise.
12756 * sysdeps/generic/ldsodefs.h: Likewise.
12757 * sysdeps/generic/memusage.h: Likewise.
12758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12768 * sysdeps/posix/getaddrinfo.c: Likewise.
12769 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12770 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12771 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12772 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12773 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12774 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12775 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12776 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12777 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12779 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12780 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12781 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12782 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12783 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12784 * sysdeps/x86_64/dl-tls.h: Likewise.
12785 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12786 * time/alt_digit.c: Likewise.
12787 * time/era.c: Likewise.
12788 * wcsmbs/tst-c16c32-1.c: Likewise.
12790 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12792 * math/libm-test.inc (struct test_sincos_data): New type.
12793 (RUN_TEST_LOOP_sincos): New macro.
12794 (sincos_test_data): New variable.
12795 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12797 2013-05-16 Richard Henderson <rth@redhat.com>
12799 * math/atest-exp2.c (LIMB64): New macro.
12800 (CONSTSZ): New macro.
12801 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12803 (print_mpn_fp): ... to function scope.
12804 (read_mpn_hex): Remove.
12805 (get_log2): Remove.
12806 (exp2_mpn): Use mp_log2.
12807 (main): Use mp_exp1.
12809 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12811 * math/libm-test.inc: Remove comment about not testing "inexact"
12813 (INEXACT_EXCEPTION): New macro.
12814 (NO_INEXACT_EXCEPTION): Likewise.
12815 (INVALID_EXCEPTION_OK): Update value.
12816 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12817 (OVERFLOW_EXCEPTION_OK): Likewise.
12818 (UNDERFLOW_EXCEPTION_OK): Likewise.
12819 (IGNORE_ZERO_INF_SIGN): Likewise.
12820 (ERRNO_UNCHANGED): Likewise.
12821 (ERRNO_EDOM): Likewise.
12822 (ERRNO_ERANGE): Likewise.
12823 (test_exceptions): Handle testing "inexact" exceptions.
12824 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12825 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12826 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12827 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12829 (rint_towardzero_test_data): Likewise.
12830 (rint_downward_test_data): Likewise.
12831 (rint_upward_test_data): Likewise.
12833 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12834 with OVERFLOW_EXCEPTION.
12835 (exp10_test_data): Likewise.
12836 (exp2_test_data): Likewise.
12837 (expm1_test_data): Likewise.
12838 (lgamma_test_data): Likewise.
12839 (pow_test_data): Likewise.
12840 (tgamma_test_data): Likewise.
12841 (yn_test_data): Remove duplicate test of overflow.
12843 * math/libm-test.inc (struct test_cc_c_data): New type.
12844 (RUN_TEST_LOOP_cc_c): New macro.
12845 (cpow_test_data): New variable.
12846 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12848 * math/libm-test.inc (struct test_f_L_data): New type.
12849 (RUN_TEST_LOOP_f_L): New macro.
12850 (llrint_test_data): New variable.
12851 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12852 (llrint_tonearest_test_data): New variable.
12853 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12854 (llrint_towardzero_test_data): New variable.
12855 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12856 (llrint_downward_test_data): New variable.
12857 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12858 (llrint_upward_test_data): New variable.
12859 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12860 (llround_test_data): New variable.
12861 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12863 2013-05-13 Peter Collingbourne <pcc@google.com>
12865 * math/atest-exp2.c (get_log2): Remove const attribute.
12867 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12869 * math/libm-test.inc (struct test_f_l_data): New type.
12870 (RUN_TEST_LOOP_f_l): New macro.
12871 (lrint_test_data): New variable.
12872 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12873 (lrint_tonearest_test_data): New variable.
12874 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12875 (lrint_towardzero_test_data): New variable.
12876 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12877 (lrint_downward_test_data): New variable.
12878 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12879 (lrint_upward_test_data): New variable.
12880 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12881 (lround_test_data): New variable.
12882 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12884 2013-05-15 Peter Collingbourne <pcc@google.com>
12886 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12887 (EXTRACT_WORDS64) Use where appropriate.
12888 (INSERT_WORDS64) Likewise.
12890 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12891 constraints with x constraints.
12892 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12894 * malloc/obstack.c (_obstack_compat): Add initializer.
12896 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12898 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12899 si_trapno and add si_addr_lsb to _sifields.sigfault.
12900 (si_trapno): Remove macro.
12901 (si_addr_lsb): Define new macro.
12902 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12904 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12906 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12907 instead of TEST_f_l.
12908 (llrint_test_tonearest): Likewise.
12909 (llrint_test_towardzero): Likewise.
12910 (llrint_test_downward): Likewise.
12911 (llrint_test_upward): Likewise.
12912 (llround_test): Likewise.
12914 * math/libm-test.inc (struct test_f_i_data): Add comment.
12915 (RUN_TEST_LOOP_f_b): New macro.
12916 (RUN_TEST_LOOP_f_b_tg): Likewise.
12917 (finite_test_data): New variable.
12918 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12919 (isfinite_test_data): New variable.
12920 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12921 (isinf_test_data): New variable.
12922 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12923 (isnan_test_data): New variable.
12924 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12925 (isnormal_test_data): New variable.
12926 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12927 (issignaling_test_data): New variable.
12928 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12929 (signbit_test_data): New variable.
12930 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12932 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12933 with INVALID_EXCEPTION.
12934 (acosh_test_data): Likewise.
12935 (asin_test_data): Likewise.
12936 (atanh_test_data): Likewise.
12937 (fmod_test_data): Likewise.
12938 (log_test_data): Likewise.
12939 (log10_test_data): Likewise.
12940 (log2_test_data): Likewise.
12941 (pow_test_data): Likewise.
12942 (sqrt_test_data): Likewise.
12943 (y0_test_data): Likewise.
12944 (y1_test_data): Likewise.
12945 (yn_test_data): Likewise.
12947 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12950 * math/libm-test.inc (struct test_ff_i_data): New type.
12951 (RUN_TEST_LOOP_ff_i_tg): New macro.
12952 (isgreater_test_data): New variable.
12953 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12954 (isgreaterequal_test_data): New variable.
12955 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12956 (isless_test_data): New variable.
12957 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12958 (islessequal_test_data): New variable.
12959 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12960 (islessgreater_test_data): New variable.
12961 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12962 (isunordered_test_data): New variable.
12963 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12965 2013-05-14 David S. Miller <davem@davemloft.net>
12967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12969 2013-05-14 Joseph Myers <joseph@codesourcery.com>
12971 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12973 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12975 (struct test_f_i_data): Change type of max_ulp to int.
12977 * math/libm-test.inc (test_ffI_f1_data): New type.
12978 (RUN_TEST_LOOP_ffI_f1): New macro.
12979 (remquo_test_data): New variable.
12980 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12982 * setjmp/tst-setjmp-fp.c: New file.
12983 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12984 (link-libm): New variable.
12985 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12987 * math/libm-test.inc (struct test_f_i_data): New type.
12988 (RUN_TEST_LOOP_f_i): New macro.
12989 (RUN_TEST_LOOP_f_i_tg): Likewise.
12990 (fpclassify_test_data): New variable.
12991 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12992 (ilogb_test_data): New variable.
12993 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12995 * math/libm-test.inc (scalbln_test): Correct function name in END
12998 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12999 (RUN_TEST_LOOP_fI_f1): New macro.
13000 (frexp_test_data): New variable.
13001 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13003 * math/libm-test.inc (struct test_fF_f1_data): New type.
13004 (RUN_TEST_LOOP_fF_f1): New macro.
13005 (modf_test_data): New variable.
13006 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13008 * math/libm-test.inc (struct test_f_f1_data): New type.
13009 (RUN_TEST_LOOP_f_f1): New macro.
13010 (gamma_test_data): New variable.
13011 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13012 (lgamma_test_data): New variable.
13013 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13015 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13018 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13019 (main): Comment "tls" pseudo-hwcap.
13021 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13023 * math/libm-test.inc (struct test_fl_f_data): New type.
13024 (RUN_TEST_LOOP_fl_f): New variable.
13025 (scalbln_test_data): New variable.
13026 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13028 * math/libm-test.inc (struct test_fi_f_data): New type.
13029 (RUN_TEST_LOOP_fi_f): New macro.
13030 (ldexp_test_data): New variable.
13031 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13032 (scalbn_test_data): New variable.
13033 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13035 * math/libm-test.inc (struct test_c_f_data): New type.
13036 (RUN_TEST_LOOP_c_f): New macro.
13037 (cabs_test_data): New variable.
13038 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13039 (carg_test_data): New variable.
13040 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13041 (cimag_test_data): New variable.
13042 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13043 (creal_test_data): New variable.
13044 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13046 * math/libm-test.inc (struct test_if_f_data): New type.
13047 (RUN_TEST_LOOP_if_f): New macro.
13048 (jn_test_data): New variable.
13049 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13050 (yn_test_data): New variable.
13051 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13053 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13055 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13058 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13060 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13062 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13063 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13064 (bench-deps): Add bench-timing.h.
13065 * benchtests-bench-skeleton.c: Include bench-timing.h.
13066 (main): Use TIMING_* macros instead of clock_gettime.
13067 * benchtests/bench-timing.h: New file.
13070 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13071 Renamed from _LIB_VERSION.
13072 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13074 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13076 * math/libm-test.inc (struct test_fff_f_data): New type.
13077 (RUN_TEST_LOOP_fff_f): New macro.
13078 (fma_test_data): New variable.
13079 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13080 (fma_towardzero_test_data): New variable.
13081 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13082 (fma_downward_test_data): New variable.
13083 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13084 (fma_upward_test_data): New variable.
13085 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13087 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13088 (struct test_c_c_data): New type.
13089 (RUN_TEST_LOOP_c_c): New macro.
13090 (cacos_test_data): New variable.
13091 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13092 (cacosh_test_data): New variable.
13093 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13094 (casin_test_data): New variable.
13095 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13096 (casinh_test_data): New variable.
13097 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13098 (catan_test_data): New variable.
13099 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13100 (catanh_test_data): New variable.
13101 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13102 (ccos_test_data): New variable.
13103 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13104 (ccosh_test_data): New variable.
13105 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13106 (cexp_test_data): New variable.
13107 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13108 (clog_test_data): New variable.
13109 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13110 (clog10_test_data): New variable.
13111 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13112 (conj_test_data): New variable.
13113 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13114 (cproj_test_data): New variable.
13115 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13116 (csin_test_data): New variable.
13117 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13118 (csinh_test_data): New variable.
13119 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13120 (csqrt_test_data): New variable.
13121 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13122 (ctan_test_data): New variable.
13123 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13124 (ctan_tonearest_test_data): New variable.
13125 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13126 (ctan_towardzero_test_data): New variable.
13127 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13128 (ctan_downward_test_data): New variable.
13129 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13130 (ctan_upward_test_data): New variable.
13131 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13132 (ctanh_test_data): New variable.
13133 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13134 (ctanh_tonearest_test_data): New variable.
13135 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13136 (ctanh_towardzero_test_data): New variable.
13137 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13138 (ctanh_downward_test_data): New variable.
13139 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13140 (ctanh_upward_test_data): New variable.
13141 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13142 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13145 * math/libm-test.inc (struct test_ff_f_data): New type.
13146 (struct test_ff_f_data_nexttoward): Likewise.
13147 (RUN_TEST_LOOP_2_f): New macro.
13148 (RUN_TEST_LOOP_ff_f): Likewise.
13149 (atan2_test_data): New variable.
13150 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13151 (copysign_test_data): New variable.
13152 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13153 (fdim_test_data): New variable.
13154 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13155 (fmax_test_data): New variable.
13156 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13157 (fmin_test_data): New variable.
13158 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13159 (fmod_test_data): New variable.
13160 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13161 (hypot_test_data): New variable.
13162 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13163 (nextafter_test_data): New variable.
13164 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13165 (nexttoward_test_data): New variable.
13166 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13167 (pow_test_data): New variable.
13168 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13169 (pow_tonearest_test_data): New variable.
13170 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13171 (pow_towardzero_test_data): New variable.
13172 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13173 (pow_downward_test_data): New variable.
13174 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13175 (pow_upward_test_data): New variable.
13176 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13177 (remainder_test_data): New variable.
13178 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13179 (scalb_test_data): New variable.
13180 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13181 * sysdeps/i386/fpu/libm-test-ulps: Update.
13183 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13185 * math/libm-test.inc (fma_test): Use max_value instead of local
13187 (nextafter_test): Likewise.
13189 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13190 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13191 (acos_downward_test_data): New variable.
13192 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13193 (acos_upward_test_data): New variable.
13194 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13195 (acosh_test_data): New variable.
13196 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13197 (asin_test_data): New variable.
13198 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13199 (asin_tonearest_test_data): New variable.
13200 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13201 (asin_towardzero_test_data): New variable.
13202 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13203 (asin_downward_test_data): New variable.
13204 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13205 (asin_upward_test_data): New variable.
13206 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13207 (asinh_test_data): New variable.
13208 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13209 (atan_test_data): New variable.
13210 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13211 (atanh_test_data): New variable.
13212 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13213 (cbrt_test_data): New variable.
13214 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13215 (ceil_test_data): New variable.
13216 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13217 (cos_test_data): New variable.
13218 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13219 (cos_tonearest_test_data): New variable.
13220 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13221 (cos_towardzero_test_data): New variable.
13222 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13223 (cos_downward_test_data): New variable.
13224 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13225 (cos_upward_test_data): New variable.
13226 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13227 (cosh_test_data): New variable.
13228 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13229 (cosh_tonearest_test_data): New variable.
13230 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13231 (cosh_towardzero_test_data): New variable.
13232 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13233 (cosh_downward_test_data): New variable.
13234 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13235 (cosh_upward_test_data): New variable.
13236 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13237 (erf_test_data): New variable.
13238 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13239 (erfc_test_data): New variable.
13240 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13241 (exp_test_data): New variable.
13242 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13243 (exp_tonearest_test_data): New variable.
13244 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13245 (exp_towardzero_test_data): New variable.
13246 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13247 (exp_downward_test_data): New variable.
13248 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13249 (exp_upward_test_data): New variable.
13250 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13251 (exp10_test_data): New variable.
13252 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13253 (exp2_test_data): New variable.
13254 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13255 (expm1_test_data): New variable.
13256 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13257 (fabs_test_data): New variable.
13258 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13259 (floor_test_data): New variable.
13260 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13261 (j0_test_data): New variable.
13262 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13263 (j1_test_data): New variable.
13264 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13265 (log_test_data): New variable.
13266 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13267 (log10_test_data): New variable.
13268 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13269 (log1p_test_data): New variable.
13270 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13271 (log2_test_data): New variable.
13272 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13273 (logb_test_data): New variable.
13274 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13275 (logb_downward_test_data): New variable.
13276 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13277 (nearbyint_test_data): New variable.
13278 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13279 (rint_test_data): New variable.
13280 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13281 (rint_tonearest_test_data): New variable.
13282 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13283 (rint_towardzero_test_data): New variable.
13284 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13285 (rint_downward_test_data): New variable.
13286 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13287 (rint_upward_test_data): New variable.
13288 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13289 (round_test_data): New variable.
13290 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13291 (sin_test_data): New variable.
13292 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13293 (sin_tonearest_test_data): New variable.
13294 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13295 (sin_towardzero_test_data): New variable.
13296 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13297 (sin_downward_test_data): New variable.
13298 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13299 (sin_upward_test_data): New variable.
13300 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13301 (sinh_test_data): New variable.
13302 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13303 (sinh_tonearest_test_data): New variable.
13304 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13305 (sinh_towardzero_test_data): New variable.
13306 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13307 (sinh_downward_test_data): New variable.
13308 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13309 (sinh_upward_test_data): New variable.
13310 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13311 (sqrt_test_data): New variable.
13312 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13313 (tan_test_data): New variable.
13314 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13315 (tan_tonearest_test_data): New variable.
13316 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13317 (tan_towardzero_test_data): New variable.
13318 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13319 (tan_downward_test_data): New variable.
13320 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13321 (tan_upward_test_data): New variable.
13322 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13323 (tanh_test_data): New variable.
13324 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13325 (tgamma_test_data): New variable.
13326 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13327 (trunc_test_data): New variable.
13328 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13329 (y0_test_data): New variable.
13330 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13331 (y1_test_data): New variable.
13332 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13333 (significand_test_data): New variable.
13334 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13336 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13339 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13341 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13343 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13345 2013-05-10 Andreas Jaeger <aj@suse.de>
13348 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13349 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13351 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13353 * math/gen-libm-test.pl (adjust_arg): New function.
13354 (special_functions): Handle generating output in both functions
13356 (parse_args): Likewise.
13357 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13358 $in_func argument to parse_args.
13359 * math/libm-test.inc (struct test_f_f_data): New type.
13360 (IF_ROUND_INIT_): New macro.
13361 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13362 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13363 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13364 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13365 (ROUND_RESTORE_): Likewise.
13366 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13367 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13368 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13369 (ROUND_RESTORE_FE_UPWARD): Likewise.
13370 (RUN_TEST_LOOP_f_f): New macro.
13371 (acos_test_data): New variable.
13372 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13373 (acos_tonearest_test_data): New variable.
13374 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13376 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13378 * benchtests/bench-skeleton.c (startup): Fix coding style.
13380 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13383 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13384 negative infinity argument.
13385 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13386 negative infinity argument.
13387 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13388 negative infinity argument.
13389 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13392 2013-05-10 Florian Weimer <fweimer@redhat.com>
13394 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13395 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13396 * iconv/iconv_prog.c (main): Likewise.
13397 * locale/programs/charmap-dir.c (charmap_readdir)
13398 (fopen_uncompressed): Likewise.
13399 * locale/programs/locfile.c (siblings_uncached)
13400 (write_locale_data): Use lstat64 instead of lstat.
13401 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13404 2013-05-10 Andreas Jaeger <aj@suse.de>
13407 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13409 Include <locale.h>.
13411 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13413 * elf/dl-close.c (_dl_close_worker): Add comments.
13415 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13418 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13420 (__ieee754_rem_pio2l): Update comments.
13423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13425 (__ieee754_rem_pio2l): Update comments.
13427 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13428 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13430 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13433 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13434 (M_PI_34_LOG10El): Likewise.
13435 (M_PI2_LOG10El): Likewise.
13436 (M_PI4_LOG10El): Likewise.
13437 (M_PI_LOG10El): Likewise.
13439 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13443 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13445 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13446 (MINUS_ZERO_INIT): Likewise.
13447 (PLUS_INFTY_INIT): Likewise.
13448 (MINUS_INFTY_INIT): Likewise.
13449 (QNAN_VALUE_INIT): Likewise.
13450 (MAX_VALUE_INIT): Likewise.
13451 (MIN_VALUE_INIT): Likewise.
13452 (MIN_SUBNORM_VALUE_INIT): Likewise.
13453 (plus_zero): Initialize with PLUS_ZERO_INIT.
13454 (minus_zero): Initialize with MINUS_ZERO_INIT.
13455 (plus_infty): Initialize with PLUS_INFTY_INIT.
13456 (minus_infty): Initialize with MINUS_INFTY_INIT.
13457 (qnan_value): Initialize with QNAN_VALUE_INIT.
13458 (max_value): Initialize with MAX_VALUE_INIT.
13459 (min_value): Initialize with MIN_VALUE_INIT.
13460 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13462 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13463 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13464 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13465 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13467 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13468 (RUN_TEST_2_f): Likewise.
13469 (RUN_TEST_ff_f): Likewise.
13470 (RUN_TEST_fi_f): Likewise.
13471 (RUN_TEST_fl_f): Likewise.
13472 (RUN_TEST_fff_f): Likewise.
13473 (RUN_TEST_c_f): Likewise.
13474 (RUN_TEST_f_f1): Likewise.
13475 (RUN_TEST_fF_f1): Likewise.
13476 (RUN_TEST_fI_f1): Likewise.
13477 (RUN_TEST_ffI_f1): Likewise.
13478 (RUN_TEST_c_c): Likewise.
13479 (RUN_TEST_cc_c): Likewise.
13480 (RUN_TEST_f_i): Likewise.
13481 (RUN_TEST_f_i_tg): Likewise.
13482 (RUN_TEST_ff_i_tg): Likewise.
13483 (RUN_TEST_f_b): Likewise.
13484 (RUN_TEST_f_b_tg): Likewise.
13485 (RUN_TEST_f_l): Likewise.
13486 (RUN_TEST_f_L): Likewise.
13487 (RUN_TEST_sincos): Likewise.
13488 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13489 whether to show exceptions. Do not include ");\n" in return
13491 (special_functions): Output call to RUN_TEST_sincos instead of
13492 check_float calls. Update calls to new_test.
13493 (parse_args): Output call to single RUN_TEST_* macro instead of
13494 check_* calls and other assignments. Update calls to new_test.
13500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13501 input to result for tgamma overflow.
13502 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13503 (gamma_coeff): New variable.
13504 (NCOEFF): New macro.
13505 (gamma_positive): New function.
13506 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13507 underflow here. Use gamma_positive instead of exp (lgamma) for
13509 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13510 (gamma_coeff): New variable.
13511 (NCOEFF): New macro.
13512 (gammaf_positive): New function.
13513 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13514 underflow here. Use gamma_positive instead of exp (lgamma) for
13516 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13517 (gamma_coeff): New variable.
13518 (NCOEFF): New macro.
13519 (gammal_positive): New function.
13520 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13521 underflow here. Use gamma_positive instead of exp (lgamma) for
13523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13524 (gamma_coeff): New variable.
13525 (NCOEFF): New macro.
13526 (gammal_positive): New function.
13527 (__ieee754_gammal_r): Handle positive infinity, overflow and
13528 underflow here. Handle NaN the same as positive infinity. Remove
13529 check x < 0xffffffff for negative integers. Use gamma_positive
13530 instead of exp (lgamma) for other arguments.
13531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13532 (gamma_coeff): New variable.
13533 (NCOEFF): New macro.
13534 (gammal_positive): New function.
13535 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13536 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13541 * sysdeps/generic/math_private.h (__gamma_productf): New
13543 (__gamma_product): Likewise.
13544 (__gamma_productl): Likewise.
13545 * math/Makefile (libm-calls): Add gamma_product.
13546 * math/libm-test.inc (tgamma_test): Add more tests.
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13552 * benchtests/bench-skeleton.c (main): Preheat CPU.
13554 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13556 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13558 2013-05-07 Roland McGrath <roland@hack.frob.com>
13560 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13561 and _dl_skip_args_internal.
13563 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13565 * manual/message.texi (Message Translation): Talk about users.
13566 Message to key mapping impacts design.
13568 2013-05-06 Roland McGrath <roland@hack.frob.com>
13570 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13572 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13574 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13575 * sysdeps/wordsize-64/glob64.c: ... here.
13577 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13578 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13581 * debug/getlogin_r_chk.c: Moved to ...
13582 * login/getlogin_r_chk.c: ... here.
13583 * debug/Makefile (routines): Move getlogin_r_chk to ...
13584 * login/Makefile (routines): ... here.
13585 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13586 * login/Versions (libc: GLIBC_2.4): ... here.
13588 * io/poll.c (__poll): Renamed from poll.
13589 Add libc_hidden_def.
13590 (poll): Define as weak alias.
13592 * debug/ptsname_r_chk.c: Moved to ...
13593 * login/ptsname_r_chk.c: ... here.
13594 * debug/Makefile (routines): Move ptsname_r_chk to ...
13595 * login/Makefile (routines): ... here.
13596 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13597 * login/Versions (libc: GLIBC_2.4): ... here.
13599 * posix/getlogin.c: Moved to ...
13600 * login/getlogin.c: ... here.
13601 * posix/getlogin_r.c: Moved to ...
13602 * login/getlogin_r.c: ... here.
13603 * posix/getlogin_r.c: Moved to ...
13604 * login/getlogin_r.c: ... here.
13605 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13606 * login/Makefile (routines): ... here.
13607 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13608 * login/Versions (libc: GLIBC_2.0): ... here.
13610 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13611 (setrlimit): Define as weak alias.
13613 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13614 Call __ names for open, ftruncate, and close.
13615 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13616 (truncate): Define as weak alias.
13618 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13620 * math/gen-libm-test.pl (parse_args): Initialize x before each
13621 test of frexp, modf and remquo.
13623 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13624 test signgam value.
13626 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13630 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13632 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13634 2013-05-06 Roland McGrath <roland@hack.frob.com>
13636 * elf/dl-writev.h: New file.
13637 * elf/dl-misc.c: Include it.
13638 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13639 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13641 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13643 * math/libm-test.inc (noXFails): Remove variable.
13644 (noXPasses): Likewise.
13645 (BUILD_COMPLEX_INT): Remove macro.
13646 (print_screen): Remove xfail argument.
13647 (print_screen_max_error): Likewise.
13648 (update_stats): Likewise.
13649 (print_max_error): Likewise. Update calls to other affected
13651 (print_complex_max_error): Likewise.
13652 (test_single_exception): Update calls to print_screen.
13653 (test_single_errno): Likewise.
13654 (check_float_internal): Remove xfail argument. Update calls to
13655 other affected functions.
13656 (check_float): Likewise.
13657 (check_complex): Likewise.
13658 (check_int): Likewise.
13659 (check_long): Likewise.
13660 (check_bool): Likewise.
13661 (check_longlong): Likewise.
13662 (main): Don't print noXFails and noXPasses.
13663 * math/gen-libm-test.pl (top level): Don't mention expected
13664 failure handling in comment.
13665 (new_test): Don't handle expected failures.
13666 (parse_args): Don't mention expected failure handling in comment.
13667 (generate_testfile): Don't handle expected failures.
13668 (parse_ulps): Likewise.
13669 (print_ulps_file): Likewise.
13670 (get_failure): Remove function.
13671 (output_test): Don't handle expected failures.
13672 * make/README.libm-test: Don't mention expected failure handling.
13674 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13675 (minus_zero): Likewise.
13676 (plus_infty): Likewise.
13677 (minus_infty): Likewise.
13678 (qnan_value): Likewise.
13679 (max_value): Likewise.
13680 (min_value): Likewise.
13681 (min_subnorm_value): Likewise.
13682 (initialize): Do not initialize those variables dynamically.
13684 2013-05-03 Roland McGrath <roland@hack.frob.com>
13686 * io/open.c (__open_2): Moved to ...
13687 * io/open_2.c: ... this new file.
13688 * io/open64.c (__open64_2): Moved to ...
13689 * io/open64_2.c: ... this new file.
13690 * io/openat.c (__openat_2): Moved to ...
13691 * io/openat_2.c: ... this new file.
13692 * io/openat64.c (__openat64_2): Moved to ...
13693 * io/openat64_2.c: ... this new file.
13694 * io/Makefile (routines): Add them.
13695 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13696 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13697 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13698 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13699 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13700 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13701 (__openat64): Add hidden_ver.
13702 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13703 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13705 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13706 Separately conditionalize setting of GLRO(dl_sysinfo) so
13707 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13708 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13710 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13715 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13716 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13717 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13718 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13719 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13721 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13723 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13724 test signgam value.
13726 * math/libm-test.inc (hypot_test): Do not use
13727 IGNORE_ZERO_INF_SIGN.
13729 2013-05-03 Andreas Jaeger <aj@suse.de>
13731 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13734 (PF_MAX): Adjust for VSOCK change.
13736 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13740 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13743 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13744 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13745 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13747 2013-05-02 David S. Miller <davem@davemloft.net>
13749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13751 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13753 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13755 2013-05-01 Roland McGrath <roland@hack.frob.com>
13757 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13759 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13762 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13763 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13764 Use __attribute__ ((__gnu_inline__)).
13765 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13766 Don't use __attribute__ ((__gnu_inline__)).
13768 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13771 * math/s_catan.c (__catan): Handle small real or imaginary part of
13772 input specially to avoid spurious underflow.
13773 * math/s_catanf.c (__catanf): Likewise.
13774 * math/s_catanh.c (__catanh): Likewise.
13775 * math/s_catanhf.c (__catanhf): Likewise.
13776 * math/s_catanhl.c (__catanhl): Likewise.
13777 * math/s_catanl.c (__catanl): Likewise.
13778 * math/libm-test.inc (catan_test): Add more tests.
13779 (catanh_test): Likewise.
13780 * sysdeps/i386/fpu/libm-test-ulps: Update.
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13783 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13787 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13790 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13791 accurately for denominator in atan2.
13792 * math/s_catanf.c (__catanf): Likewise.
13793 * math/s_catanh.c (__catanh): Likewise.
13794 * math/s_catanhf.c (__catanhf): Likewise.
13795 * math/s_catanhl.c (__catanhl): Likewise.
13796 * math/s_catanl.c (__catanl): Likewise.
13797 * math/libm-test.inc (catan_test): Add more tests.
13798 (catanh_test): Likewise.
13799 * sysdeps/i386/fpu/libm-test-ulps: Update.
13800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13804 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13806 * benchtests/Makefile (bench): Remove slow benchmarks.
13807 * benchtests/atan-inputs: Add slow benchmark inputs.
13808 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13809 (BENCH_FUNC): Accept variant offset.
13811 * benchtests/bench-skeleton.c (main): Run benchmark for each
13813 * benchtests/cos-inputs: Add slow benchmark inputs.
13814 * benchtests/exp-inputs: Likewise.
13815 * benchtests/pow-inputs: Likewise.
13816 * benchtests/sin-inputs: Likewise.
13817 * benchtests/slowatan-inputs: Remove.
13818 * benchtests/slowatan.c: Remove.
13819 * benchtests/slowcos-inputs: Remove.
13820 * benchtests/slowcos.c: Remove.
13821 * benchtests/slowexp-inputs: Remove.
13822 * benchtests/slowexp.c: Remove.
13823 * benchtests/slowpow-inputs: Remove.
13824 * benchtests/slowpow.c: Remove.
13825 * benchtests/slowsin-inputs: Remove.
13826 * benchtests/slowsin.c: Remove.
13827 * benchtests/slowtan-inputs: Remove.
13828 * benchtests/slowtan.c: Remove.
13829 * benchtests/tan-inputs: Add slow benchmark inputs.
13830 * scripts/bench.pl: Parse comments and directives.
13832 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13834 ($(objpfx)bench-%.c): Remove *-ITER.
13835 * benchtests/bench-modf.c: Remove definition of ITER.
13836 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13837 (main): Loop for DURATION seconds instead of fixed number of
13839 * scripts/bench.pl: Don't expect iterations in parameters.
13841 2013-04-29 Roland McGrath <roland@hack.frob.com>
13843 * io/fchdir.c (__fchdir): Renamed from fchdir.
13844 (fchdir): Define as weak alias.
13846 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13848 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13849 (ERRNO_EDOM): Likewise.
13850 (ERRNO_ERANGE): Likewise.
13851 (noErrnoTests): New variable.
13852 (init_max_error): Set errno to 0.
13853 (test_single_errno): New function.
13854 (test_errno): Likewise.
13855 (check_float_internal): Call test_errno. Set errno to 0.
13856 (check_complex): Refer to errno tests in comment.
13857 (check_int): Call test_errno. Set errno to 0.
13858 (check_long): Likewise.
13859 (check_bool): Likewise.
13860 (check_longlong): Likewise.
13861 (cos_test): Use ERRNO_* flags for errno tests instead of
13863 (expm1_test): Likewise.
13864 (fmod_test): Likewise.
13865 (ilogb_test): Likewise.
13866 (lgamma_test): Likewise.
13867 (pow_test): Likewise.
13868 (remainder_test): Likewise.
13869 (sin_test): Likewise.
13870 (tan_test): Likewise.
13871 (yn_test): Likewise.
13872 (initialize): Set errno to 0.
13873 (main): Print number of errno tests.
13874 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13876 2013-04-29 Andreas Jaeger <aj@suse.de>
13879 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13883 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13884 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13888 * stdlib/random.c (__initstate): Return NULL if
13892 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13893 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13896 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13900 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13902 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13903 of individual tests.
13904 (casin_test): Likewise.
13905 (casinh_test): Likewise.
13907 2013-04-27 Joseph Myers <joseph@codesourcery.com>
13910 * math/s_catan.c (__catan): Handle arguments with large real or
13911 imaginary part separately without squaring.
13912 * math/s_catanf.c (__catanf): Likewise.
13913 * math/s_catanh.c (__catanh): Likewise.
13914 * math/s_catanhf.c (__catanhf): Likewise.
13915 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13917 (__catanhl): Handle arguments with large real or imaginary part
13918 separately without squaring.
13919 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13921 (__catanl): Handle arguments with large real or imaginary part
13922 separately without squaring.
13923 * math/libm-test.inc (catan_test): Add more tests.
13924 (catanh_test): Likewise.
13925 * sysdeps/i386/fpu/libm-test-ulps: Update.
13926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13928 2013-04-27 Andreas Jaeger <aj@suse.de>
13931 * stdlib/stdlib.h: Update guards for qecvt.
13932 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13935 2013-04-27 Allan McRae <allan@archlinux.org>
13937 * sysdeps/i386/fpu/libm-test-ulps: Update.
13939 2013-04-26 Joseph Myers <joseph@codesourcery.com>
13942 * math/s_catan.c: Include <float.h>.
13943 (__catan): Ensure underflow exception occurs for underflowed
13945 * math/s_catanf.c: Include <float.h>.
13946 (__catanf): Ensure underflow exception occurs for underflowed
13948 * math/s_catanh.c: Include <float.h>.
13949 (__catanh): Ensure underflow exception occurs for underflowed
13951 * math/s_catanhf.c: Include <float.h>.
13952 (__catanhf): Ensure underflow exception occurs for underflowed
13954 * math/s_catanhl.c: Include <float.h>.
13955 (__catanhl): Ensure underflow exception occurs for underflowed
13957 * math/s_catanl.c: Include <float.h>.
13958 (__catanl): Ensure underflow exception occurs for underflowed
13960 * math/libm-test.inc (catan_test): Add more tests.
13961 (catanh_test): Likewise.
13964 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13965 underflowed result.
13966 * math/s_ccoshf.c (__ccoshf): Likewise.
13967 * math/s_ccoshl.c (__ccoshl): Likewise.
13968 * math/s_csin.c (__csin): Likewise.
13969 * math/s_csinf.c (__csinf): Likewise.
13970 * math/s_csinh.c (__csinh): Likewise.
13971 * math/s_csinhf.c (__csinhf): Likewise.
13972 * math/s_csinhl.c (__csinhl): Likewise.
13973 * math/s_csinl.c (__csinl): Likewise.
13974 * math/libm-test.inc (ccos_test): Add more tests.
13975 (ccosh_test): Likewise.
13976 (csin_test): Likewise.
13977 (csinh_test): Likewise.
13979 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13981 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13982 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13983 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13984 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13985 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13986 powerpc/power5+/fpu folders.
13987 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13990 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13994 2013-04-25 Joseph Myers <joseph@codesourcery.com>
13996 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13997 additions to variable.
13998 [$(config-machine) = x86_64] (modules-names): Likewise.
13999 ($(objpfx)tst-audit3): Remove dependency.
14000 ($(objpfx)tst-audit3.out): Likewise.
14001 ($(objpfx)tst-audit4): Likewise.
14002 ($(objpfx)tst-audit4.out): Likewise.
14003 ($(objpfx)tst-audit5): Likewise.
14004 ($(objpfx)tst-audit5.out): Likewise.
14005 ($(objpfx)tst-audit6): Likewise.
14006 ($(objpfx)tst-audit6.out): Likewise.
14007 ($(objpfx)tst-audit7): Likewise.
14008 ($(objpfx)tst-audit7.out): Likewise.
14009 (tst-audit3-ENV): Remove variable.
14010 (tst-audit4-ENV): Likewise.
14011 (tst-audit5-ENV): Likewise.
14012 (tst-audit6-ENV): Likewise.
14013 (tst-audit7-ENV): Likewise.
14014 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14015 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14016 addition to variable.
14017 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14018 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14019 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14020 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14021 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14022 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14023 tst-audit3, tst-audit4 and tst-audit5.
14024 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14025 tst-audit6 and tst-audit7.
14026 [$(subdir) = elf] (modules-names): Add audit modules for those
14028 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14029 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14030 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14031 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14032 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14033 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14034 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14035 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14036 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14037 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14038 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14039 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14040 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14041 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14042 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14043 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14045 [$(subdir) = elf && $(config-cflags-avx) = yes]
14046 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14047 [$(subdir) = elf && $(config-cflags-avx) = yes]
14048 (CFLAGS-tst-auditmod4a.c): Likewise.
14049 [$(subdir) = elf && $(config-cflags-avx) = yes]
14050 (CFLAGS-tst-auditmod4b.c): Likewise.
14051 [$(subdir) = elf && $(config-cflags-avx) = yes]
14052 (CFLAGS-tst-auditmod6b.c): Likewise.
14053 [$(subdir) = elf && $(config-cflags-avx) = yes]
14054 (CFLAGS-tst-auditmod6c.c): Likewise.
14055 [$(subdir) = elf && $(config-cflags-avx) = yes]
14056 (CFLAGS-tst-auditmod7b.c): Likewise.
14057 * elf/tst-audit3.c: Move to ...
14058 * sysdeps/x86_64/tst-audit3.c: ... here.
14059 * elf/tst-audit4.c: Move to ...
14060 * sysdeps/x86_64/tst-audit4.c: ... here.
14061 * elf/tst-audit5.c: Move to ...
14062 * sysdeps/x86_64/tst-audit5.c: ... here.
14063 * elf/tst-audit6.c: Move to ...
14064 * sysdeps/x86_64/tst-audit6.c: ... here.
14065 * elf/tst-audit7.c: Move to ...
14066 * sysdeps/x86_64/tst-audit7.c: ... here.
14067 * elf/tst-auditmod3a.c: Move to ...
14068 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14069 * elf/tst-auditmod3b.c: Move to ...
14070 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14071 * elf/tst-auditmod4a.c: Move to ...
14072 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14073 * elf/tst-auditmod4b.c: Move to ...
14074 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14075 * elf/tst-auditmod5a.c: Move to ...
14076 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14077 * elf/tst-auditmod5b.c: Move to ...
14078 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14079 * elf/tst-auditmod6a.c: Move to ...
14080 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14081 * elf/tst-auditmod6b.c: Move to ...
14082 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14083 * elf/tst-auditmod6c.c: Move to ...
14084 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14085 * elf/tst-auditmod7a.c: Move to ...
14086 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14087 * elf/tst-auditmod7b.c: Move to ...
14088 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14090 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14093 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14094 define unconditionally.
14095 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14096 define unconditionally.
14097 (INT8_C, INT16_C, etc.): Likewise.
14099 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14101 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14102 __ehdr_start with hidden visibility.
14104 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14106 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14108 * math/libm-test.inc (cos_test): Use accurate hex constants.
14109 (sincost_test): Likewise.
14111 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14113 * math/libm-test.inc (catan_test): Add more tests.
14114 (catanh_test): Likewise.
14116 * math/s_catanf.c (__catanf): Use suffixed floating-point
14118 * math/s_catanhf.c (__catanhf): Likewise.
14119 * math/s_catanhl.c (__catanhl): Likewise.
14120 * math/s_catanl.c (__catanl): Likewise.
14123 * math/s_catan.c (__catan): Calculate imaginary part of result
14124 with log1p not log unless computing log of number close to 0.
14125 * math/s_catanf.c (__catanf): Likewise.
14126 * math/s_catanl.c (__catanl): Likewise.
14127 * math/s_catanh.c (__catanh): Calculate real part of result with
14128 log1p not log unless computing log of number close to 0.
14129 * math/s_catanhf.c (__catanhf): Likewise.
14130 * math/s_catanhl.c (__catanhl): Likewise.
14131 * math/libm-test.inc (catan_test): Add more tests.
14132 (catanh_test): Likewise.
14133 * sysdeps/i386/fpu/libm-test-ulps: Update.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14138 * benchtests/Makefile: Mention files in which fast and slow
14139 paths of math functions are implemented.
14141 2013-04-23 Roland McGrath <roland@hack.frob.com>
14143 * sysdeps/posix/timespec_get.c: New file.
14145 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14149 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14151 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14152 powerpc/power5/fpu folders.
14153 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14154 * benchtests/Makefile: Add modf testcase.
14155 * benchtests/bench-modf.c: New file: Benchmark test for mo
14157 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14160 * time/Makefile (tests): Add tst-strptime-whitespace.
14161 * time/strptime_l.c (get_number): Use ISSPACE.
14162 (__strptime_internal): Likewise.
14163 * time/tst-strptime-whitespace.c: New test case.
14165 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14167 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14169 (_nss_files_init): Set it here.
14171 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14174 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14177 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14179 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14181 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14186 2013-04-21 David S. Miller <davem@davemloft.net>
14188 * po/ru.po: Update Russion translation from translation project.
14190 2013-04-17 Adam Conrad <adconrad@0c3.net>
14192 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14195 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14197 * configure.in: Remove i386 configure warning. Remove i386 case.
14198 * configure: Regenerate.
14199 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14200 Add example to error message.
14201 * sysdeps/i386/configure: Regenerate.
14203 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14207 * benchtests/cos-inputs: New file.
14208 * benchtests/slowcos-inputs: New file.
14209 * benchtests/slowcos.c: New file.
14210 * benchtests/slowtan-inputs: New file.
14211 * benchtests/slowtan.c: New file.
14212 * benchtests/tan-inputs: New file.
14214 2013-04-16 Roland McGrath <roland@hack.frob.com>
14216 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14219 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14221 * benchtests/Makefile: Include cppflags-iterator.mk to add
14222 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14224 * Makefile.in (bench-clean): New target.
14225 * benchtests/Makefile (bench-clean): Likewise.
14227 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14229 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14231 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14233 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14235 2013-04-15 Andreas Schwab <schwab@suse.de>
14237 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14239 * nscd/pwdcache.c (cache_addpw): Likewise.
14240 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14243 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14245 * benchtests/Makefile (bench): Write all output to
14246 bench-out.tmp together.
14248 2013-04-15 Andreas Schwab <schwab@suse.de>
14250 * nscd/nscd.c (main): Don't fork again after closing files.
14252 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14254 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14256 * benchtests/Rules (bench-deps): Collect dependencies into a
14257 single variable. Add Makefile to dependencies.
14258 ($(objpfx)bench-%.c): Depend on bench-deps.
14260 2013-04-12 Roland McGrath <roland@hack.frob.com>
14261 Xavier Roche <roche+kml2@exalead.com>
14264 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14265 just that it's a file descriptor.
14266 * manual/llio.texi (Synchronizing AIO Operations): Update description
14267 for EBADF error from aio_fsync.
14269 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14271 * Rules (bench): Move target definition...
14272 * benchtests/Makefile: ... here.
14274 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14276 * math/libm-test.inc (cos_test): Fix PI/2 test.
14277 (sincos_test): Likewise.
14278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14279 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14281 2013-04-11 Andreas Schwab <schwab@suse.de>
14284 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14285 accept exponent character only when digits were seen.
14286 * stdio-common/Makefile (tests): Add bug26.
14287 * stdio-common/bug26.c: New file.
14290 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14293 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 * Makeconfig (rtld-prefix): Define built linker prefix.
14296 * Rules (run-bench): Use it.
14297 * math/Makefile (run-regen-ulps): Likewise.
14299 * Rules (bench): Remove eval.
14301 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14302 Roland McGrath <roland@hack.frob.com>
14303 Ondrej Bilka <neleai@seznam.cz>
14306 * time/getdate.c: Include ctype.h and alloca.h.
14307 (__getdate_r): Trim leading and trailing spaces of input.
14308 * time/tst-getdate.c (tests): Add tests with leading and
14311 2013-04-08 Roland McGrath <roland@hack.frob.com>
14314 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14315 when computing value.
14317 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14319 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14320 Use testrun.sh to run libm tests.
14323 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14325 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14328 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14330 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14332 * Makefile.in (regen-ulps): New target.
14333 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14334 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14335 [ifneq (no,$(PERL)] (regen-ulps): New target.
14336 [ifeq (no,$(PERL)] (regen-ulps): New target.
14337 * math/libm-test.inc (ulps_file_name): Define.
14338 (output_dir): New variable.
14339 (options): Add "output-dir" option.
14340 (parse_opt): Handle 'o' case.
14341 (main): If output_dir is non-NULL use it as a prefix
14343 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14345 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14347 [BZ #10060, #10062]
14348 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14349 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14350 fail configure if __sync_val_compare_and_swap is not inlined.
14351 * sysdeps/i386/configure: Regenerate.
14352 * configure.in: Build for i686 when configured for i386.
14353 * configure: Regenerate.
14354 * README: Remove i386 reference.
14356 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14358 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14361 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14363 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14364 (lmsnanval): New variables.
14365 (F): Add conversion tests.
14366 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14367 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14369 * stdio-common/tstdiomisc.c (F): Properly collect individual
14372 [BZ #14686, #15336]
14373 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14374 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14375 Instead, use input NaN values or generate a qNaN by arithmetic
14376 operation. Also fix bugs to comply with the standard.
14377 * math/libm-test.inc (remainder_test): Add more tests.
14379 [BZ #15335, #15342]
14380 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14382 input NaN values or generate a qNaN by arithmetic operation.
14384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14387 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14390 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14393 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14394 underflowed result.
14395 * math/s_cexpf.c (__cexpf): Likewise.
14396 * math/s_cexpl.c (__cexpl): Likewise.
14397 * math/libm-test.inc (cexp_test): Add more tests.
14399 2013-04-03 Andreas Schwab <schwab@suse.de>
14402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14403 order arrays from heap if bigger than alloca cutoff.
14405 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14407 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14408 (SNAN_TESTS_double): Refer to GCC PR56831.
14409 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14412 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14414 * Rules (bench): Move bench.out after the run is complete.
14416 * Rules (bench): Echo currently running benchmark.
14418 * benchtests/Makefile (bench): Add atan and slowatan.
14419 * benchtests/atan-inputs: New file.
14420 * benchtests/slowatan-inputs: New file.
14421 * benchtests/slowatan.c: New file.
14423 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14428 * sysdeps/unix/sysv/linux/kernel-features.h
14429 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14430 __ASSUME_XFS_RESTRICTED_CHOWN.
14431 * sysdeps/unix/sysv/linux/pathconf.c
14432 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14433 Save and restore errno.
14435 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14438 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14439 arguments using __kernel_casinh.
14440 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14441 arguments using __kernel_casinhf.
14442 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14443 arguments using __kernel_casinhl.
14444 * math/libm-test.inc (cacosh_test): Add more tests.
14445 * sysdeps/i386/fpu/libm-test-ulps: Update.
14446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14448 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14450 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14453 * bench/Makefile (bench): Add sin and slowsin.
14454 * benchtests/sin-inputs: New file.
14455 * benchtests/slowsin-inputs: New file.
14456 * benchtests/slowsin.c: New file.
14458 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14459 (bench): Add slowexp and slowpow.
14460 (exp-ITER): Increase iterations.
14461 (pow-ITER): Likewise.
14462 * benchtests/exp-inputs: Change input.
14463 * benchtests/pow-inputs: Likewise.
14464 * benchtests/slowexp-inputs: New file.
14465 * benchtests/slowexp.c: New file.
14466 * benchtests/slowpow-inputs: New file.
14467 * benchtests/slowpow.c: New file.
14469 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14471 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14473 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14474 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14475 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14476 * benchtests/Makefile: Add rint benchtest.
14477 * benchtests/rint-inputs: Input for rint benchtest.
14479 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14481 * Versions.def (libm): Add GLIBC_2.18.
14482 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14483 hidden libm prototypes.
14484 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14485 * math/Makefile (libm-calls): Add s_issignaling.
14486 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14487 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14488 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14490 * math/math.h [__USE_GNU] (issignaling): New macro.
14491 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14492 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14494 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14497 * manual/arith.texi (issignaling): New section.
14498 * manual/libm-err-tab.pl (@all_functions): Update comment.
14499 * math/gen-libm-test.pl (parse_args): Apply special handling for
14501 * math/libm-test.inc (print_float, issignaling_test): New
14503 (check_float_internal): Add issignaling checks.
14504 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14505 default definition.
14506 * sysdeps/powerpc/math-tests.h: New file.
14507 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14509 * math/test-snan.c (TEST_FUNC): Likewise.
14511 2013-03-30 David S. Miller <davem@davemloft.net>
14513 * po/de.po: Update from translation team.
14515 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14518 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14519 imaginary part less than 1.0 and real part less than 0.5
14521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14523 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14524 (cacos_test): Add more tests.
14525 (casin_test): Likewise.
14526 (casinh_test): Likewise.
14527 * sysdeps/i386/fpu/libm-test-ulps: Update.
14528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14530 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14532 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14533 ONE with its value.
14535 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14536 (__pow_mp): Replace ONE and MONE with their values.
14537 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14539 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14540 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14541 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14544 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14546 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14547 (__pow_mp): Replace ZERO and MZERO with their values.
14548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14553 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14556 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14558 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14560 2013-03-28 Roland McGrath <roland@hack.frob.com>
14562 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14563 Declare with __attribute__ ((weak)).
14564 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14565 Call __call_tls_dtors only if it's not NULL.
14567 2013-03-28 Roland McGrath <roland@hack.frob.com>
14569 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14570 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14571 magic __ehdr_start linker symbol if it's defined.
14572 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14573 them up here if it was already done.
14575 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14576 (_dl_aux_init): Use const in cast when setting it.
14577 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14578 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14579 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14581 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14583 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14584 * csu/libc-tls.c: Nor here.
14585 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14587 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14588 (__libc_message): Never call vsyslog.
14590 2013-03-28 Alan Modra <amodra@gmail.com>
14592 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14594 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14597 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14604 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14607 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14608 Don't add gid passed as argument.
14610 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14612 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14615 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14616 imaginary part between 1.0 and 1.5 and real part less than 0.5
14618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14620 * math/libm-test.inc (cacos_test): Add more tests.
14621 (casin_test): Likewise.
14622 (casinh_test): Likewise.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14628 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14631 (denorm): Likewise.
14632 (__dbl_mp): Likewise.
14633 (add_magnitudes): Likewise.
14634 (sub_magnitudes): Likewise.
14642 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14644 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14645 (__dubcos): Likewise.
14646 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14647 (__ieee754_acos): Likewise.
14648 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14650 (__exp1): Likewise.
14651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14654 (my_log2): Likewise.
14655 (checkint): Likewise.
14656 * sysdeps/ieee754/dbl-64/e_remainder.c
14657 (__ieee754_remainder): Likewise.
14658 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14660 (bsloww): Likewise.
14661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14663 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14665 MANTISSA_STORE_T to store computations on mantissa. Use
14666 macros for rounding and division.
14667 (denorm): Likewise.
14668 (__dbl_mp): Likewise.
14669 (add_magnitudes): Likewise.
14670 (sub_magnitudes): Likewise.
14673 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14674 powers of two in terms of TWOPOW macro.
14675 (mp_no): Make type of mantissa as MANTISSA_T.
14676 [!RADIXI]: Define RADIXI.
14677 [!TWO52]: Define TWO52.
14678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14680 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14682 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14683 llroundl symbol when building for PPC32.
14685 2013-03-24 Mark H Weaver <mhw@netris.org>
14687 * manual/arith.texi (Normalization Functions): Fix prototypes for
14688 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14690 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14694 high value to check if expl overflow.
14695 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14696 to check for underflow and overflow.
14697 * math/libm-test.inc: Add exp test.
14699 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14702 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14705 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14707 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14710 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14712 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14713 wrap blocks consisting of several statements.
14715 * sysdeps/generic/math-tests.h: New file.
14716 * sysdeps/i386/fpu/math-tests.h: Likewise.
14717 * math/test-snan.c: Include it.
14718 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14720 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14724 (__ieee754_j0l): Do not improve calculations using cos of twice
14725 input for inputs above LDBL_MAX / 2.0L.
14726 (__ieee754_y0l): Likewise.
14727 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14728 (__ieee754_j1l): Do not improve calculations using cos of twice
14729 input for inputs above LDBL_MAX / 2.0L.
14730 (__ieee754_y1l): Likewise.
14731 * math/libm-test.inc (j0_test): Add another test.
14732 (j1_test): Likewise.
14733 (y0_test): Likewise.
14734 (y1_test): Likewise.
14735 * sysdeps/i386/fpu/libm-test-ulps: Update.
14737 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * Rules ($(objpfx)bench-%.c): Include code from a C source
14742 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14746 imaginary part 1.0 and real part less than 0.5 specially.
14747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14749 * math/libm-test.inc (cacos_test): Add more tests.
14750 (casin_test): Likewise.
14751 (casinh_test): Likewise.
14752 * sysdeps/i386/fpu/libm-test-ulps: Update.
14753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14755 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14757 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14758 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14760 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14762 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14763 * config.make.in (config-cflags-sse4): Remove variable.
14764 (config-cflags-avx): Likewise.
14765 (config-cflags-sse2avx): Likewise.
14766 (config-cflags-novzeroupper): Likewise.
14767 (config-asflags-i686): Likewise.
14768 (have-mfma4): Likewise.
14769 (have-as-vis3): Likewise.
14771 * configure.in (MIG): Do not AC_SUBST.
14772 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14773 (libc_cv_cc_sse4): Do not AC_SUBST.
14774 (libc_cv_cc_avx): Likewise.
14775 (libc_cv_cc_sse2avx): Likewise.
14776 (libc_cv_cc_novzeroupper): Likewise.
14777 (libc_cv_cc_fma4): Likewise.
14778 (libc_cv_as_i686): Likewise.
14779 (libc_cv_sparc_as_vis3): Likewise.
14780 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14782 (config-asflags-i686): Likewise.
14783 (config-cflags-avx): Likewise.
14784 (config-cflags-sse2avx): Likewise.
14785 (have-mfma4): Likewise.
14786 (config-cflags-novzeroupper): Likewise.
14787 * sysdeps/mach/configure.in (MIG): Likewise.
14788 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14789 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14791 (config-cflags-avx): Likewise.
14792 (config-cflags-sse2avx): Likewise.
14793 (have-mfma4): Likewise.
14794 (config-cflags-novzeroupper): Likewise.
14795 * configure: Regenerated.
14796 * sysdeps/i386/configure: Likewise.
14797 * sysdeps/mach/configure: Likewise.
14798 * sysdeps/sparc/configure: Likewise.
14799 * sysdeps/x86_64/configure: Likewise.
14801 2013-03-20 Roland McGrath <roland@hack.frob.com>
14804 * locale/programs/localedef.c (options): Put N_ translation marker
14805 on argument names, not just descriptions.
14807 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14809 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14811 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
14814 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14816 2013-03-19 Roland McGrath <roland@hack.frob.com>
14818 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14819 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14820 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14821 [!BEFORE_ABORT] (before_abort): New function.
14822 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14823 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14824 (writev_for_fatal): New function.
14825 (WRITEV_FOR_FATAL): New macro; call that.
14826 (backtrace_and_maps): New function.
14827 (BEFORE_ABORT): New macro; call that.
14828 (struct str_list): Type removed.
14829 (__libc_message, __libc_fatal): Functions removed.
14830 Include <sysdeps/posix/libc_fatal.c> instead.
14832 2013-03-19 Joseph Myers <joseph@codesourcery.com>
14834 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14836 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14839 2013-03-19 Andreas Schwab <schwab@suse.de>
14841 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14842 * sysdeps/gnu/configure: Regenerate.
14844 * configure.in: Substitute libc_cv_rtlddir.
14845 * configure: Regenerate.
14846 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14847 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14848 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14849 * elf/Makefile (install-others, CFLAGS-interp.c)
14850 (ldso_install, common-ldd-rewrite): Likewise.
14851 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14852 $(inst_slibdir)/$(rtld-installed-name).
14853 * scripts/rellns-sh: Add -p option.
14854 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14857 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14859 * manual/nptl.texi: Renamed to ...
14860 * manual/threads.texi: ... this.
14861 * manual/Makefile (chapters): Update.
14863 2013-03-18 Roland McGrath <roland@hack.frob.com>
14866 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14867 on argument names, not just descriptions.
14868 * malloc/memusagestat.c (options): Likewise.
14869 * nss/getent.c (options): Likewise.
14871 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
14874 * iconv/iconv_prog.c (options): Put N_ translation marker
14875 on argument names, not just descriptions.
14876 * iconv/iconvconfig.c (options): Likewise.
14878 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
14880 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14881 implementation which is faster on all x86_64 architectures.
14882 Tested on AMD, Intel Nehalem, SNB, IVB.
14883 * sysdeps/x86_64/strnlen.S: Likewise.
14885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14886 Remove all multiarch strlen and strnlen versions.
14887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14888 Remove strlen and strnlen related parts.
14890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14891 Inline strlen part.
14892 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14894 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14896 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14897 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14898 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14899 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14901 2013-03-17 Carlos O'Donell <carlos@redhat.com>
14903 * manual/memory.texi (Malloc Tunable Parameters):
14904 Sort parameters alphabetically. Add comments for missing entries.
14906 2013-03-17 David S. Miller <davem@davemloft.net>
14908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14910 2013-03-16 Joseph Myers <joseph@codesourcery.com>
14913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14914 for arguments at most half maximum finite value.
14915 * math/libm-test.inc (j0_test): Add more tests.
14916 (j1_test): Likewise.
14917 (y0_test): Likewise.
14918 (y1_test): Likewise.
14919 * sysdeps/i386/fpu/libm-test-ulps: Update.
14920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14924 1 / x and functions P and Q for arguments above 0x1p256L.
14925 (__ieee754_y0l): Likewise.
14926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14927 (__ieee754_y1l): Likewise.
14928 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14929 (j1_test): Likewise.
14930 (y0_test): Likewise.
14931 (y1_test): Likewise.
14933 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14935 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14938 2013-03-15 Roland McGrath <roland@hack.frob.com>
14940 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14941 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14942 zero since it's initialized to EXEC_PAGESIZE.
14944 * sysdeps/unix/sysv/linux/ldsodefs.h
14945 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14946 * sysdeps/generic/ldsodefs.h: ... here.
14948 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14950 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14952 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14954 * math/test-snan.c: Renamed from
14955 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14956 * math/Makefile (tests): Add test-snan.
14957 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14960 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14961 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14963 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14964 __builtin_nan family of functions.
14965 * math/libm-test.inc (initialize): Initialize qnan_value with
14966 __builtin_nan family of functions.
14967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14969 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14971 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14972 storage class. Initialize qNaN_var and sNaN_var with
14973 __builtin_nan and __builtin_nans families of functions,
14976 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14977 (sqrt_test): Remove duplicate test with qNaN input.
14978 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14979 (round_test, signbit_test, significand_test): Note missing +/-Inf
14980 as well as qNaN tests.
14982 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14983 qNaN_var. Fix a few strings, too.
14984 * math/libm-test.inc (nan_value): Rename to qnan_value.
14985 * math/gen-libm-test.pl (%beautify): Adjust to that.
14986 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14987 * math/test-misc.c (main): Likewise.
14988 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14989 to __qnan_bytes, and __qnan_union, respectively.
14990 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14992 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14993 and lqnanval, respectively.
14994 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14995 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14996 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14997 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14999 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15000 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15003 * math/test-misc.c (main): Fix copy'n'pastos.
15004 * misc/tst-efgcvt.c (special): Likewise.
15006 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15007 Remove declarations.
15009 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15012 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15013 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15016 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15019 macro to return vdso values correctly in IFUNC implementations.
15020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15021 Optimization by using IFUNC.
15023 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15024 Richard Henderson <rth@redhat.com>
15025 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15027 * Makefile.in (bench): New target.
15028 * NEWS: Mention the benchmark framework.
15029 * Rules (bench): Likewise.
15030 (binaries-bench): Generate binaries for functions to
15032 * benchtests/Makefile: New makefile for benchmark tests.
15033 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15035 * benchtests/exp-inputs: New input file for EXP function.
15036 * benchtests/pow-inputs: New input file for POW function.
15037 * scripts/bench.pl: New script to generate source files for
15038 benchmark programs.
15040 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15042 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15044 computations on mantissa. Use macros for rounding and
15046 (denorm): Likewise.
15047 (__dbl_mp): Likewise.
15048 (add_magnitudes): Likewise.
15049 (sub_magnitudes): Likewise.
15052 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15053 powers of two in terms of TWOPOW macro.
15054 (mp_no): Make type of mantissa as MANTISSA_T.
15055 [!RADIXI]: Define RADIXI.
15056 [!TWO52]: Define TWO52.
15057 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15059 * manual/nptl.texi (cindex): Modify threads to pthreads.
15061 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15063 * sysdeps/x86_64/preconfigure: Regenerated.
15065 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15068 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15070 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15071 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15073 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15074 * math/libm-test.inc (j0_test): Do not allow one spurious
15075 underflow exception.
15076 (y1_test): Likewise.
15078 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15080 * manual/Makefile (chapters): Add nptl.
15081 * manual/debug.texi (Debugging Support): Add link to Threads
15083 * manual/nptl.texi: New file.
15085 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15087 2013-03-14 Petr Baudis <pasky@ucw.cz>
15089 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15090 for non-NULL pointer before the memory validity test. Pointed
15091 out by Holger Brunck <holger.brunck@keymile.com>.
15093 2013-03-13 Andreas Schwab <schwab@suse.de>
15095 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15098 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15100 * timezone/zic.c: Update from tzcode 2013b.
15102 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15104 * manual/install.texi (Configuring and compiling):
15105 Mention i686 and i586.
15106 * INSTALL: Regenerate.
15108 2013-03-12 Roland McGrath <roland@hack.frob.com>
15110 * sysdeps/init_array/elf-init.c: New file.
15112 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15113 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15115 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15116 __gmon_start__ as global, but as static with a .preinit_array pointer.
15117 * sysdeps/init_array/gmon-start.c: New file. Use that.
15118 * sysdeps/init_array/crti.S: New file, empty except for comments.
15119 * sysdeps/init_array/crtn.S: Likewise.
15121 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15123 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15126 Remove Prefer_SSE_for_memop.
15127 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15128 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15129 HAS_PREFER_SSE_FOR_MEMOP.
15130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15133 Remove bzero, memset ifunc support.
15134 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15135 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15136 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15139 2013-03-11 Andreas Schwab <schwab@suse.de>
15142 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15145 (GLIBC_2.16): Remove pthread_atfork.
15147 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15149 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15150 (ptestcases.h): Likewise.
15152 2013-03-08 Roland McGrath <roland@hack.frob.com>
15154 * Makeconfig ($(common-objpfx)config.status): Depend on
15155 sysdeps/*/preconfigure{,.in} too.
15157 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15159 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15160 (__free_hook): Use void * instead of __malloc_ptr_t.
15161 (__malloc_hook): Likewise.
15162 (__realloc_hook): Likewise.
15163 (__memalign_hook): Likewise.
15164 (__after_morecore_hook): Likewise.
15165 * malloc/arena.c (save_malloc_hook): Likewise.
15166 (save_free_hook): Likewise.
15167 * malloc/hooks.c (malloc_hook_ini): Likewise.
15168 (realloc_hook_ini): Likewise.
15169 (memalign_hook_ini): Likewise.
15170 * malloc/malloc.c (malloc_hook_ini): Likewise.
15171 (realloc_hook_ini): Likewise.
15172 (memalign_hook_ini): Likewise.
15173 (__free_hook): Likewise.
15174 (__malloc_hook): Likewise.
15175 (__realloc_hook): Likewise.
15176 (__memalign_hook): Likewise.
15177 (__libc_malloc): Likewise.
15178 (__libc_free): Likewise.
15179 (__libc_realloc): Likewise.
15180 (__libc_memalign): Likewise.
15181 (__libc_valloc): Likewise.
15182 (__libc_pvalloc): Likewise.
15183 (__libc_calloc): Likewise.
15184 (__posix_memalign): Likewise.
15185 * malloc/morecore.c (__sbrk): Likewise.
15186 (__default_morecore): Likewise.
15188 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15190 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15191 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15192 __malloc_ptrdiff_t.
15194 * malloc/malloc.h (__malloc_size_t): Remove macro.
15195 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15197 (old_memalign_hook): Likewise.
15198 (old_realloc_hook): Likewise.
15199 (struct hdr): Likewise.
15201 (mallochook): Likewise.
15202 (memalignhook): Likewise.
15203 (reallochook): Likewise.
15204 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15205 (tr_old_realloc_hook): Likewise.
15206 (tr_old_memalign_hook): Likewise.
15207 (tr_mallochook): Likewise.
15208 (tr_reallochook): Likewise.
15209 (tr_memalignhook): Likewise.
15211 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15214 default_ldbl_pack and using as default implementation.
15215 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15217 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15218 redundant definition.
15219 (ldbl_insert_mantissa): Likewise.
15220 (ldbl_canonicalize): Likewise.
15221 (ldbl_nearbyint): Likewise.
15222 (ldbl_pack): Rename to ldbl_pack_ppc.
15223 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15224 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15225 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15227 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15230 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15232 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15235 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15236 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15238 2013-03-07 Andreas Jaeger <aj@suse.de>
15240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15243 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15245 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15246 Include mpa.h and declare __MPEXP.
15247 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15252 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15255 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15256 (__slowpow): Use long double EXPL and LOGL functions to
15258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15262 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15266 intermediate variable to calculate exponent.
15268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15272 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15273 [!NO__SQR]: Define __sqr.
15274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15275 and NO__SQR. Remove all code except __mul and __sqr. Include
15276 sysdeps/ieee754/dbl-64/mpa.c.
15277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15280 * posix/Makefile (tests): Add tst-pathconf.
15281 * posix/tst-pathconf.c: New test case.
15282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15284 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15286 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15288 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15290 2013-03-06 Andreas Jaeger <aj@suse.de>
15292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15293 definition via __MAP_ANONYMOUS.
15295 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15296 it's not part of Linux headers.
15298 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15299 (MAP_HUGE_MASK): Define.
15301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15307 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15312 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15314 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15315 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15317 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15318 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15319 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15325 Handle f2fs and efivarfs.
15327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15331 (EFIVARFS_MAGIC): Add.
15332 (F2FS_LINK_MAX): Add.
15334 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15336 * stdio-common/vfprintf.c: Replace __builtin_expect with
15339 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15342 * sysdeps/generic/bp-sym.h: Remove file.
15343 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15345 <bp-sym.h> and <bp-asm.h>.
15346 (__longjmp): Don't use BP_SYM.
15347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15349 (memcpy): Don't use BP_SYM.
15350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15351 <bp-sym.h> and <bp-asm.h>.
15352 (memcpy): Don't use BP_SYM.
15353 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15355 (memcpy): Don't use BP_SYM.
15356 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15358 (memset): Don't use BP_SYM.
15359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15361 (__bzero): Don't use BP_SYM.
15362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15365 <bp-sym.h> and <bp-asm.h>.
15366 (memcmp): Don't use BP_SYM. Remove comment about bounded
15368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15369 <bp-sym.h> and <bp-asm.h>.
15370 (memcpy): Don't use BP_SYM.
15371 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15372 <bp-sym.h> and <bp-asm.h>.
15373 (memset): Don't use BP_SYM.
15374 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15375 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15376 (__bzero): Don't use BP_SYM.
15377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15380 <bp-sym.h> and <bp-asm.h>.
15381 (strncmp): Don't use BP_SYM. Remove comment about bounded
15383 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15384 <bp-sym.h> and <bp-asm.h>.
15385 (memcpy): Don't use BP_SYM.
15386 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15387 <bp-sym.h> and <bp-asm.h>.
15388 (memset): Don't use BP_SYM.
15389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15391 (__bzero): Don't use BP_SYM.
15392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15395 <bp-sym.h> and <bp-asm.h>.
15396 (__memchr): Don't use BP_SYM.
15397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15398 <bp-sym.h> and <bp-asm.h>.
15399 (memcmp): Don't use BP_SYM. Remove comment about bounded
15401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15402 <bp-sym.h> and <bp-asm.h>.
15403 (memcpy): Don't use BP_SYM.
15404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15405 <bp-sym.h> and <bp-asm.h>.
15406 (__mempcpy): Don't use BP_SYM.
15407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15408 <bp-sym.h> and <bp-asm.h>.
15409 (__memrchr): Don't use BP_SYM.
15410 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15411 <bp-sym.h> and <bp-asm.h>.
15412 (memset): Don't use BP_SYM.
15413 (__bzero): Likewise.
15414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15415 <bp-sym.h> and <bp-asm.h>.
15416 (__rawmemchr): Don't use BP_SYM.
15417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15418 <bp-sym.h> and <bp-asm.h>.
15419 (__STRCMP): Don't use BP_SYM.
15420 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15421 <bp-sym.h> and <bp-asm.h>.
15422 (strchr): Don't use BP_SYM.
15423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15424 <bp-sym.h> and <bp-asm.h>.
15425 (__strchrnul): Don't use BP_SYM.
15426 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15427 <bp-sym.h> and <bp-asm.h>.
15428 (strlen): Don't use BP_SYM.
15429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15430 <bp-sym.h> and <bp-asm.h>.
15431 (strncmp): Don't use BP_SYM. Remove comment about bounded
15433 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15434 <bp-sym.h> and <bp-asm.h>.
15435 (__strnlen): Don't use BP_SYM.
15436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15437 <bp-sym.h> and <bp-asm.h>.
15438 (__GI__setjmp): Don't use BP_SYM.
15439 (_setjmp): Likewise.
15440 (__sigsetjmp): Likewise.
15441 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15442 (L(start_addresses)): Don't use BP_SYM.
15443 (_start): Likewise.
15444 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15446 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15447 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15448 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15449 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15450 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15452 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15453 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15454 about bounded pointers.
15455 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15456 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15457 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15459 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15460 about bounded pointers. Remove GKM FIXME comments.
15461 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15462 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15464 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15465 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15466 Remove GKM FIXME comments.
15467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15469 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15472 about bounded pointers. Remove GKM FIXME comment.
15473 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15475 (strncmp): Don't use BP_SYM. Remove comment about bounded
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15478 <bp-sym.h> and <bp-asm.h>.
15479 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15481 <bp-sym.h> and <bp-asm.h>.
15482 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15485 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15487 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15490 2013-03-05 David S. Miller <davem@davemloft.net>
15492 * po/es.po: Update from translation team.
15494 2013-03-05 Andreas Jaeger <aj@suse.de>
15496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15497 <bits/mman-linux.h>.
15498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15501 <bits/mman-linux.h> to end of file.
15502 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15504 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15505 <bits/mman-linux.h> to end of file.
15506 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15509 <bits/mman-linux.h> to end of file.
15511 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15512 (MCL_CURRENT, MCL_FUTURE): Define here.
15514 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15521 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15524 fourth parameter needed for rt_sigprocmask syscall.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15527 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15530 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15532 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15535 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15536 comment about bounded pointers.
15537 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15538 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15540 2013-03-04 Andreas Jaeger <aj@suse.de>
15542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15543 common definitions.
15545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15546 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15547 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15552 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15556 __ieee754_sqrl instead of __sqrl.
15558 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15560 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15561 * sysdeps/powerpc/fpu_control.h: ... here.
15562 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15563 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15564 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15565 * sysdeps/powerpc/bits/mathinline.h: ... here.
15567 2013-03-01 Roland McGrath <roland@hack.frob.com>
15569 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15570 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15571 to just [NEED_DL_SYSINFO_DSO].
15572 * elf/dl-support.c: Likewise.
15573 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15574 * elf/rtld.c (dl_main): Likewise.
15575 * elf/setup-vdso.h (setup_vdso): Likewise.
15576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15577 * sysdeps/unix/sysv/linux/dl-sysdep.c
15578 (_dl_discover_osversion): Likewise.
15580 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15582 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15583 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15585 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * NEWS: Mention libm performance improvements and non-x86 PI
15590 * csu/libc-start.c (__pthread_initialize_minimal): Change
15591 function arguments.
15592 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15594 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15597 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15599 <bp-sym.h> and <bp-asm.h>.
15600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15601 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15603 (memcpy): Don't use BP_SYM.
15604 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15606 (__mpn_add_n): Don't use BP_SYM.
15607 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15608 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15610 (__mpn_addmul_1): Don't use BP_SYM.
15611 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15612 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15614 (_setjmp): Don't use BP_SYM.
15615 (__novmx_setjmp): Likewise.
15616 (__GI__setjmp): Likewise.
15617 (__vmx_setjmp): Likewise.
15618 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15620 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15621 (__bzero): Don't use BP_SYM.
15622 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15623 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15625 <bp-sym.h> and <bp-asm.h>.
15626 (memcpy): Don't use BP_SYM.
15627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15628 <bp-sym.h> and <bp-asm.h>.
15629 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15631 <bp-sym.h> and <bp-asm.h>.
15632 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15633 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15635 (__mpn_lshift): Don't use BP_SYM.
15636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15637 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15639 (memset): Don't use BP_SYM.
15640 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15641 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15642 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15644 (__mpn_mul_1): Don't use BP_SYM.
15645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15647 <bp-sym.h> and <bp-asm.h>.
15648 (memcmp): Don't use BP_SYM.
15649 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15650 <bp-sym.h> and <bp-asm.h>.
15651 (memcpy): Don't use BP_SYM.
15652 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15653 <bp-sym.h> and <bp-asm.h>.
15654 (memset): Don't use BP_SYM.
15655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15656 <bp-sym.h> and <bp-asm.h>.
15657 (strncmp): Don't use BP_SYM.
15658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15659 <bp-sym.h> and <bp-asm.h>.
15660 (memcpy): Don't use BP_SYM.
15661 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15662 <bp-sym.h> and <bp-asm.h>.
15663 (memset): Don't use BP_SYM.
15664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15665 <bp-sym.h> and <bp-asm.h>.
15666 (__memchr): Don't use BP_SYM.
15667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15668 <bp-sym.h> and <bp-asm.h>.
15669 (memcmp): Don't use BP_SYM.
15670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15671 <bp-sym.h> and <bp-asm.h>.
15672 (memcpy): Don't use BP_SYM.
15673 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15674 <bp-sym.h> and <bp-asm.h>.
15675 (__mempcpy): Don't use BP_SYM.
15676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15677 <bp-sym.h> and <bp-asm.h>.
15678 (__memrchr): Don't use BP_SYM.
15679 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15680 <bp-sym.h> and <bp-asm.h>.
15681 (memset): Don't use BP_SYM.
15682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15683 <bp-sym.h> and <bp-asm.h>.
15684 (__rawmemchr): Don't use BP_SYM.
15685 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15686 <bp-sym.h> and <bp-asm.h>.
15687 (__STRCMP): Don't use BP_SYM.
15688 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15689 <bp-sym.h> and <bp-asm.h>.
15690 (strchr): Don't use BP_SYM.
15691 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15692 <bp-sym.h> and <bp-asm.h>.
15693 (__strchrnul): Don't use BP_SYM.
15694 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15695 <bp-sym.h> and <bp-asm.h>.
15696 (strlen): Don't use BP_SYM.
15697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15698 <bp-sym.h> and <bp-asm.h>.
15699 (strncmp): Don't use BP_SYM.
15700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15701 <bp-sym.h> and <bp-asm.h>.
15702 (__strnlen): Don't use BP_SYM.
15703 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15705 (__mpn_rshift): Don't use BP_SYM.
15706 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15707 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15708 <bp-sym.h> and <bp-asm.h>.
15709 (__sigsetjmp): Don't use BP_SYM.
15710 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15711 (L(start_addresses)): Don't use BP_SYM.
15712 (_start): Likewise.
15713 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15715 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15716 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15717 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15718 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15720 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15721 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15722 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15723 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15725 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15727 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15728 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15730 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15732 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15733 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15734 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15736 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15738 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15740 (strncmp): Don't use BP_SYM,
15741 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15743 (__mpn_sub_n): Don't use BP_SYM.
15744 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15745 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15747 (__mpn_submul_1): Don't use BP_SYM.
15748 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15750 <bp-sym.h> and <bp-asm.h>.
15751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15753 <bp-sym.h> and <bp-asm.h>.
15754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15757 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15760 Use ZK to minimize writes to Z.
15761 (sub_magnitudes): Simplify code a bit.
15762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15763 Use ZK to minimize writes to Z.
15764 (sub_magnitudes): Simplify code a bit.
15766 2013-02-27 Roland McGrath <roland@hack.frob.com>
15768 * csu/gmon-start.c: Add special exception to license text.
15770 2013-02-27 Richard Henderson <rth@redhat.com>
15772 * scripts/config.guess: Update from config.git.
15773 * scripts/config.sub: Likewise.
15775 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15779 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15781 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15783 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15785 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15787 2013-02-26 Roland McGrath <roland@hack.frob.com>
15789 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15790 [$(build-shared = yes].
15792 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15794 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15795 (__mul): Reduce iterations for calculating mantissa.
15797 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15799 (__mpranred): Likewise.
15802 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15803 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15805 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15807 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15808 Define __attribute__.
15810 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15812 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15814 * posix/regex_internal.h (__attribute): Remove.
15815 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15816 (re_string_context_at): Likewise.
15817 (bitset_not): Use __attribute__ and mark function as possibly
15819 (bitset_merge): Likewise.
15820 (bitset_mask): Likewise.
15821 (re_string_char_size_at): Likewise.
15822 (re_string_wchar_at): Likewise.
15823 (re_string_elem_size_at): Likewise.
15825 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15827 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15831 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15835 (denorm): Likewise.
15836 (__dbl_mp): Likewise.
15837 (add_magnitudes): Likewise.
15838 (sub_magnitudes): Likewise.
15842 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15845 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15848 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15852 up changes with default code.
15853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15856 2013-02-24 Allan McRae <allan@archlinux.org>
15858 * manual/socket.texi (The Internet Namespace): Order menu items
15859 to match that in the file.
15861 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15862 node listing of the info page menu.
15864 2013-02-21 Joseph Myers <joseph@codesourcery.com>
15867 * sysdeps/i386/bp-asm.h: Remove file.
15868 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15869 (PARMS): Do not use macros from bp-asm.h.
15873 (__mpn_add_n): Do not use BP_SYM
15874 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15876 (PARMS): Do not use macros from bp-asm.h.
15879 (__mpn_addmul_1): Do not use BP_SYM
15880 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15882 (PARMS): Do not use macros from bp-asm.h.
15883 (SIGMSK): Likewise.
15884 (_setjmp): Likewise. Do not use BP_SYM.
15885 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15887 (PARMS): Do not use macros from bp-asm.h.
15888 (SIGMSK): Likewise.
15889 (setjmp): Likewise. Do not use BP_SYM.
15890 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15892 (PARMS): Do not use macros from bp-asm.h.
15893 (__frexp): Do not use BP_SYM.
15895 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15897 (PARMS): Do not use macros from bp-asm.h.
15898 (__frexpf): Do not use BP_SYM.
15899 (frexpf): Likewise.
15900 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15902 (PARMS): Do not use macros from bp-asm.h.
15903 (__frexpl): Do not use BP_SYM.
15904 (frexpl): Likewise.
15905 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15907 (PARMS): Do not use macros from bp-asm.h.
15908 (__remquo): Do not use BP_SYM.
15909 (remquo): Likewise.
15910 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15912 (PARMS): Do not use macros from bp-asm.h.
15913 (__remquof): Do not use BP_SYM.
15914 (remquof): Likewise.
15915 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15917 (PARMS): Do not use macros from bp-asm.h.
15918 (__remquol): Do not use BP_SYM.
15919 (remquol): Likewise.
15920 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15922 (PARMS): Do not use macros from bp-asm.h.
15925 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15926 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15928 (PARMS): Do not use macros from bp-asm.h.
15929 (strlen): Do not use BP_SYM.
15930 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15932 (PARMS): Do not use macros from bp-asm.h.
15936 (__mpn_add_n): Do not use BP_SYM.
15937 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15939 (PARMS): Do not use macros from bp-asm.h.
15942 (__mpn_addmul_1): Do not use BP_SYM.
15943 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15946 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15948 (PARMS): Do not use macros from bp-asm.h.
15951 (__mpn_lshift): Do not use BP_SYM.
15952 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15954 (PARMS): Do not use macros from bp-asm.h.
15958 (memcpy): Likewise. Do not use BP_SYM.
15959 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15960 libc_hidden_def and weak_alias.
15961 (mempcpy): Do not use BP_SYM in weak_alias.
15962 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15964 (PARMS): Do not use macros from bp-asm.h.
15967 [!BZERO_P] (CHR): Likewise.
15968 (memset): Likewise. Do not use BP_SYM.
15969 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15971 (PARMS): Do not use macros from bp-asm.h.
15974 (__mpn_mul_1): Do not use BP_SYM.
15975 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15977 (PARMS): Do not use macros from bp-asm.h.
15980 (__mpn_rshift): Do not use BP_SYM.
15981 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15983 (PARMS): Do not use macros from bp-asm.h.
15986 (strchr): Likewise. Do not use BP_SYM.
15987 (index): Do not use BP_SYM in weak_alias.
15988 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15990 (PARMS): Do not use macros from bp-asm.h.
15993 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15994 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15996 (PARMS): Do not use macros from bp-asm.h.
15997 (strlen): Do not use BP_SYM.
15998 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16000 (PARMS): Do not use macros from bp-asm.h.
16004 (__mpn_sub_n): Do not use BP_SYM.
16005 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16007 (PARMS): Do not use macros from bp-asm.h.
16010 (__mpn_submul_1): Do not use BP_SYM.
16011 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16013 (PARMS): Do not use macros from bp-asm.h.
16017 (__mpn_add_n): Do not use BP_SYM.
16018 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16021 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16023 (PARMS): Do not use macros from bp-asm.h.
16026 (memcmp): Do not use BP_SYM.
16027 (bcmp): Do not use BP_SYM in weak_alias.
16028 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16030 (PARMS): Do not use macros from bp-asm.h.
16034 (memcpy): Likewise. Do not use BP_SYM.
16035 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16037 (PARMS): Do not use macros from bp-asm.h.
16041 (memmove): Likewise. Do not use BP_SYM.
16042 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16044 (PARMS): Do not use macros from bp-asm.h.
16048 (__mempcpy): Likewise. Do not use BP_SYM.
16049 (mempcpy): Do not use BP_SYM in weak_alias.
16050 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16052 (PARMS): Do not use macros from bp-asm.h.
16055 [!BZERO_P] (CHR): Likewise.
16056 (memset): Likewise. Do not use BP_SYM.
16057 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16059 (PARMS): Do not use macros from bp-asm.h.
16061 (strcmp): Do not use BP_SYM.
16062 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16064 (PARMS): Do not use macros from bp-asm.h.
16067 [USE_AS_STRTOK_R] (SAVE): Likewise.
16068 (FUNCTION): Likewise. Do not use BP_SYM.
16069 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16071 (strtok_r): Likewise.
16072 (__GI___strtok_r): Likewise.
16073 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16074 (PARMS): Do not use macros from bp-asm.h.
16077 (__mpn_lshift): Do not use BP_SYM.
16078 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16079 (PARMS): Do not use macros from bp-asm.h.
16082 (__memchr): Do not use BP_SYM.
16083 (memchr): Do not use BP_SYM in weak_alias.
16084 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16085 (PARMS): Do not use macros from bp-asm.h.
16088 (memcmp): Do not use BP_SYM.
16089 (bcmp): Do not use BP_SYM in weak_alias.
16090 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16091 (PARMS): Do not use macros from bp-asm.h.
16094 (__mpn_mul_1): Do not use BP_SYM.
16095 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16097 (PARMS): Do not use macros from bp-asm.h.
16100 (__rawmemchr): Do not use BP_SYM.
16101 (rawmemchr): Do not use BP_SYM in weak_alias.
16102 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16103 (PARMS): Do not use macros from bp-asm.h.
16106 (__mpn_rshift): Do not use BP_SYM.
16107 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16108 (PARMS): Do not use macros from bp-asm.h.
16109 (SIGMSK): Likewise.
16110 (__sigsetjmp): Likewise. Do not use BP_SYM.
16111 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16112 (_start): Do not use BP_SYM.
16113 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16114 (PARMS): Do not use macros from bp-asm.h.
16117 (__stpcpy): Likewise. Do not use BP_SYM.
16118 (stpcpy): Do not use BP_SYM in weak_alias.
16119 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16121 (PARMS): Do not use macros from bp-asm.h.
16125 (__stpncpy): Likewise. Do not use BP_SYM.
16126 (stpncpy): Do not use BP_SYM in weak_alias.
16127 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16128 (PARMS): Do not use macros from bp-asm.h.
16131 (strchr): Likewise. Do not use BP_SYM.
16132 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16134 (PARMS): Do not use macros from bp-asm.h.
16137 (__strchrnul): Likewise. Do not use BP_SYM.
16138 (strchrnul): Do not use BP_SYM in weak_alias.
16139 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16141 (PARMS): Do not use macros from bp-asm.h.
16143 (strcspn): Do not use BP_SYM.
16144 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16146 (PARMS): Do not use macros from bp-asm.h.
16149 (strpbrk): Likewise. Do not use BP_SYM.
16150 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16152 (PARMS): Do not use macros from bp-asm.h.
16155 (strrchr): Likewise. Do not use BP_SYM.
16156 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16157 (PARMS): Do not use macros from bp-asm.h.
16159 (strspn): Do not use BP_SYM.
16160 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16161 (PARMS): Do not use macros from bp-asm.h.
16165 (FUNCTION): Likewise. Do not use BP_SYM.
16166 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16168 (strtok_r): Likewise.
16169 (__GI___strtok_r): Likewise.
16170 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16171 (PARMS): Do not use macros from bp-asm.h.
16175 (__mpn_sub_n): Do not use BP_SYM.
16176 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16178 (PARMS): Do not use macros from bp-asm.h.
16181 (__mpn_submul_1): Do not use BP_SYM.
16182 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16184 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16186 (PARMS): Do not use macros from bp-asm.h.
16191 (__clone): Do not use BP_SYM.
16192 (clone): Do not use BP_SYM in weak_alias.
16193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16195 (PARMS): Do not use macros from bp-asm.h.
16197 (__mmap64): Do not use BP_SYM.
16198 (mmap64): Do not use BP_SYM in weak_alias.
16199 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16200 <bp-sym.h> and <bp-asm.h>.
16201 (PARMS): Do not use macros from bp-asm.h.
16202 (__posix_fadvise64_l64): Do not use BP_SYM.
16203 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16204 (PARMS): Do not use macros from bp-asm.h.
16206 (semtimedop): Do not use BP_SYM.
16207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16210 2013-02-21 Allan McRae <allan@archlinux.org>
16212 * manual/message.texi (Charset conversion in gettext):
16213 Move @end statement to beginning of line.
16215 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16223 (denorm): Likewise.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16227 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16229 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16230 tail-call to the resolved function if pltexit isn't needed.
16232 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16235 or Y being zero as being unlikely.
16236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16239 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16241 * manual/nss.texi (System Databases and Name Service Switch):
16242 Remove frobnicate @pxref.
16244 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16246 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16247 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16249 2013-02-20 Petr Machata <pmachata@redhat.com>
16251 * elf/elf.h (R_ARM_TARGET1): New macro.
16252 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16253 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16254 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16255 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16256 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16257 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16258 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16259 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16260 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16261 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16262 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16263 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16264 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16265 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16266 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16267 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16268 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16269 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16270 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16271 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16272 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16273 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16274 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16275 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16276 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16277 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16278 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16279 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16280 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16281 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16282 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16283 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16284 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16285 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16286 (R_ARM_THM_GOT_BREL12): Likewise.
16287 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16288 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16289 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16290 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16291 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16292 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16293 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16294 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16295 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16297 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16300 __attribute_used__ to __attribute__ ((unused)).
16302 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16307 comment formatting.
16308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16310 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16313 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16315 (ENTER): Remove both macro definitions.
16317 (CHECK_BOUNDS_LOW): Likewise.
16318 (CHECK_BOUNDS_HIGH): Likewise.
16319 (CHECK_BOUNDS_BOTH): Likewise.
16320 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16321 (RETURN_BOUNDED_POINTER): Likewise.
16322 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16323 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16324 (POP_ERRNO_LOCATION_RETURN): Likewise.
16325 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16327 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16330 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16331 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16332 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16333 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16334 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16335 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16336 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16337 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16338 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16339 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16340 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16342 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16344 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16345 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16348 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16349 * sysdeps/i386/i586/memset.S (memset): Likewise.
16350 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16351 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16352 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16354 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16355 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16356 Change uses of L(2) to L(out).
16357 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16358 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16359 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16360 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16361 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16364 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16367 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16368 (RETURN): Do not use macro LEAVE.
16369 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16370 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16371 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16372 * sysdeps/i386/i686/memset.S (memset): Likewise.
16373 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16374 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16375 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16376 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16379 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16380 L(1_2) and L(1_3) into L(1).
16381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16382 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16383 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16384 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16385 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16386 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16387 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16388 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16389 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16391 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16392 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16393 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16394 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16395 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16396 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16397 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16398 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16399 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16400 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16401 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16402 * sysdeps/i386/strspn.S (strspn): Likewise.
16403 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16406 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16408 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16409 L(1_3) into L(1_1).
16410 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16412 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16416 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16418 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16421 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16423 * math/atest-exp.c (exp_mpn): Remove ROUND.
16424 * math/atest-exp2.c (exp_mpn): Likewise.
16425 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16427 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16428 * stdlib/tst-tls-atexit-lib.c: Likewise.
16429 * stdlib/tst-tls-atexit.c: Likewise.
16431 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16433 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16434 and __attribute_alloc_size__.
16436 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16438 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16439 __attribute_alloc_size__.
16440 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16441 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16443 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16445 * include/programs/xmalloc.h: New file.
16446 * catgets/gencat.c: Include it.
16447 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16448 * elf/pldd.c: Likewise.
16449 * iconv/iconv_charmap.c: Likewise.
16450 * iconv/iconvconfig.c: Likewise.
16451 * iconv/strtab.c: Likewise.
16452 * locale/programs/locale.c: Likewise.
16453 * locale/programs/localedef.h: Likewise.
16454 * locale/programs/simple-hash.c: Likewise.
16455 * nscd/nscd.h: Likewise.
16456 * nss/makedb.c: Likewise.
16457 * sysdeps/generic/ldconfig.h: Likewise.
16459 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16461 * Versions.def: Add GLIBC_2.18.
16462 * include/link.h (struct link_map): New member l_tls_dtor_count.
16463 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16464 (__call_tls_dtors): Likewise.
16465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16466 __cxa_thread_atexit_impl.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16483 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16484 (tests): Add test case tst-tls-atexit.
16485 (modules-names): Add shared library for tst-tls-atexit.
16486 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16487 (GLIBC_PRIVATE): Add __call_tls_dtors.
16488 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16490 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16491 * stdlib/tst-tls-atexit.c: New test case.
16492 * stdlib/tst-tls-atexit-lib.c: New test case.
16494 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16496 * elf/Versions (ld): Add _dl_find_dso_for_object.
16497 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16498 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16499 (dl_open_worker): Use _dl_find_dso_for_object.
16500 * elf/dl-sym.c (do_sym): Likewise.
16501 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16503 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16505 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16506 Syntactic changes only.
16507 (_dl_runtime_profile): Do a tail-call to the resolved function.
16509 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16512 * sysdeps/x86_64/bp-asm.h: Remove file.
16513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16514 <bp-sym.h> and <bp-asm.h>.
16515 (__clone): Do not use BP_SYM.
16516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16517 <bp-sym.h> and <bp-asm.h>.
16518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16519 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16521 (_setjmp): Do not use BP_SYM.
16522 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16524 (setjmp): Do not use BP_SYM.
16525 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16527 (mempcpy): Do not use BP_SYM in weak_alias.
16528 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16530 (strchr): Do not use BP_SYM.
16531 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16533 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16534 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16535 (_start): Do not use BP_SYM.
16536 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16538 (strcat): Do not use BP_SYM.
16539 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16541 (STRCMP): Do not use BP_SYM.
16542 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16544 (STRCPY): Do not use BP_SYM.
16545 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16547 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16549 (FUNCTION): Do not use BP_SYM.
16550 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16552 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16554 2013-02-17 Andreas Jaeger <aj@suse.de>
16556 * time/Versions: Sort entries.
16557 * string/Versions: Likewise.
16558 * resolv/Versions: Likewise.
16559 * posix/Versions: Likewise.
16560 * iconv/Versions: Likewise.
16561 * elf/Versions: Likewise.
16562 * wcsmbs/Versions: Likewise.
16564 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16566 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16567 loop termination condition.
16569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16570 variable to calculate EZ.
16573 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16574 the lower precision input.
16576 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16579 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16580 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16581 (run-via-rtld-prefix): Do not handle %-bp tests.
16582 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16583 (all-object-suffixes): Remove .ob.
16584 (bppfx): Remove variable.
16585 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16586 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16587 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16588 [$(build-bounded) = yes] (libtype.ob): Likewise.
16589 * Makerules (elide-routines.ob): Remove variable.
16590 (do-tests-clean): Do not handle *-bp.out.
16591 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16592 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16593 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16594 (tests): Do not include $(tests-bp.out).
16595 (xtests): Do not include $(xtests-bp.out).
16596 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16597 [$(build-bounded) = yes] ($(addprefix
16598 $(objpfx),$(binaries-bounded))): Remove rule.
16599 ($(objpfx)%-bp.out): Remove rule.
16600 * config.make.in (build-bounded): Remove variable.
16601 * crypt/Makefile [$(build-bounded) = yes]
16602 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16603 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16604 append to variable.
16605 [$(build-bounded) = yes] (install-lib): Likewise.
16606 [$(build-bounded) = yes] (generated): Likewise.
16607 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16609 * intl/Makefile [$(build-bounded) = yes]
16610 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16611 * math/Makefile [$(build-bounded) = yes]
16612 ($(tests:%=$(objpfx)%-bp): Likewise.
16613 * misc/Makefile [$(build-bounded) = yes]
16614 ($(objpfx)tst-tsearch-bp): Likewise.
16615 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16616 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16618 * string/Makefile (o-objects.ob): Remove variable.
16619 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16620 (CFLAGS-.ob): Remove variable.
16621 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16622 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16623 both definitions of variable.
16624 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16625 (ASFLAGS-.ob): Remove variable.
16627 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16630 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16631 Remove __BOUNDED_POINTERS__ from condition.
16632 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16633 * string/bits/string2.h [!__NO_STRING_INLINES &&
16634 !__BOUNDED_POINTERS__]: Likewise.
16635 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16637 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16638 Remove conditional code.
16639 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16640 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16641 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16645 * csu/libc-start.c: Do not include <bp-sym.h>.
16646 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16647 * elf/dl-open.c: Do not include <bp-sym.h>.
16648 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16649 * math/fegetenv.c: Do not include <bp-sym.h>.
16650 (fegetenv): Do not use BP_SYM in versioned symbols.
16651 * nptl/sysdeps/pthread/bits/libc-lockP.h
16652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16655 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16657 (__pthread_mutex_destroy): Likewise.
16658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16659 (__pthread_mutex_lock): Likewise.
16660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16661 (__pthread_mutex_trylock): Likewise.
16662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16663 (__pthread_mutex_unlock): Likewise.
16664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16665 (__pthread_mutexattr_init): Likewise.
16666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16667 (__pthread_mutexattr_destroy): Likewise.
16668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16669 (__pthread_mutexattr_settype): Likewise.
16670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16671 (__pthread_rwlock_init): Likewise.
16672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16673 (__pthread_rwlock_destroy): Likewise.
16674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16675 (__pthread_rwlock_rdlock): Likewise.
16676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16677 (__pthread_rwlock_tryrdlock): Likewise.
16678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16679 (__pthread_rwlock_wrlock): Likewise.
16680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16681 (__pthread_rwlock_trywrlock): Likewise.
16682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16683 (__pthread_rwlock_unlock): Likewise.
16684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16685 (__pthread_key_create): Likewise.
16686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16687 (__pthread_setspecific): Likewise.
16688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16689 (__pthread_getspecific): Likewise.
16690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16693 (_pthread_cleanup_push_defer): Likewise.
16694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16695 (_pthread_cleanup_pop_restore): Likewise.
16696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16697 (pthread_setcancelstate): Likewise.
16698 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16700 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16701 (memchr): Do not use BP_SYM in weak_alias.
16702 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16703 (fegetenv): Do not use BP_SYM in versioned symbols.
16704 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16705 (fesetenv): Do not use BP_SYM in versioned symbols.
16706 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16707 (feupdateenv): Do not use BP_SYM in versioned symbols.
16708 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16709 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16710 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16711 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16712 (open64): Do not use BP_SYM in weak_alias.
16713 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16714 (fegetenv): Do not use BP_SYM in versioned symbols.
16715 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16716 (fesetenv): Do not use BP_SYM in versioned symbols.
16717 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16718 (feupdateenv): Do not use BP_SYM in versioned symbols.
16719 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16720 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16721 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16722 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16723 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16724 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16727 (__libc_start_main): Do not use BP_SYM.
16729 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16732 redundant return line.
16734 (denorm): Likewise.
16735 (dbl_mp): Likewise.
16736 (sub_magnitudes): Likewise.
16742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16744 (denorm): Likewise.
16745 (dbl_mp): Likewise.
16746 (sub_magnitudes): Likewise.
16753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16756 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16760 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16762 of __mul for squares.
16763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16767 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16770 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16773 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16775 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16776 prototype or function definition. Rename ubp_* variables and
16777 parameters. Remove argv definitions conditional on
16778 [__BOUNDED_POINTERS__].
16779 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16780 * elf/dl-runtime.c (_dl_fixup): Likewise.
16781 * include/set-hooks.h (RUN_HOOK): Likewise.
16782 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16784 * string/strcpy.c (strcpy): Do not use __unbounded.
16785 * sysdeps/generic/frame.h (struct layout): Likewise.
16786 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16787 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16788 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16789 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16790 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16791 (__backtrace): Likewise.
16792 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16794 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16796 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16798 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16799 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16800 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16801 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16802 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16803 Do not use __unbounded.
16804 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16805 Rename __unboundedrlimits parameter to rlimits in prototype.
16806 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16807 Do not use __unbounded.
16808 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16809 not use __ptrvalue.
16810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16811 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16812 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16813 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16814 __ptrvalue or __unbounded.
16815 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16816 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16818 (__new_msgctl): Do not use __ptrvalue.
16819 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16821 (__libc_msgrcv): Do not use __ptrvalue.
16822 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16823 startup_info): Do not use __unbounded.
16824 (__libc_start_main): Likewise. Rename ubp_* variables and
16825 parameters. Remove argv definitions conditional on
16826 [__BOUNDED_POINTERS__].
16827 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16829 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16831 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16833 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16835 (__new_shmctl): Do not use __ptrvalue.
16836 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16837 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16839 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16841 (__libc_sigaction): Likewise.
16842 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16843 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16847 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
16849 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16851 * string/mempcpy.c: Implement by calling memcpy.
16853 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16860 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16861 values in the mantissa.
16863 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16864 minimize writes to Z.
16865 (sub_magnitudes): Simplify code a bit.
16867 2013-02-12 Roland McGrath <roland@hack.frob.com>
16869 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16870 from the message. The linker prefixes all warnings with that already.
16872 2013-02-12 Andreas Schwab <schwab@suse.de>
16875 * posix/regexec.c (extend_buffers): Add parameter min_len.
16876 (check_matching): Pass minimum needed length.
16877 (clean_state_log_if_needed): Likewise.
16878 (get_subexp): Likewise.
16879 * posix/Makefile (tests): Add bug-regex34.
16880 (bug-regex34-ENV): Define.
16881 * posix/bug-regex34.c: New file.
16884 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16885 elements compare against the byte sequence of it, not its name.
16886 * posix/Makefile (tests): Add bug-regex35.
16887 (bug-regex35-ENV): Define.
16888 * posix/bug-regex35.c: New file.
16890 2013-02-11 Tom de Vries <tom@codesourcery.com>
16892 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16894 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16895 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16896 (CHECK_EOL): Add undef.
16898 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
16900 * bits/stdlib-bsearch.h: New file.
16901 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16902 * stdlib/stdlib.h: Likewise.
16904 2013-02-11 Roland McGrath <roland@hack.frob.com>
16906 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16907 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16909 * manual/search.texi (Array Search Function): Add missing const in
16911 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16912 declaration to use rlim_t.
16913 (Basic Scheduling Functions): Remove erroneous const from
16914 sched_getparam prototype. Remove erroneous * from
16915 sched_get_priority_max and sched_get_priority_min prototypes.
16916 (Resource Usage): Fix summary @comment on vtimes to refer to
16917 sys/vtimes.h rather than vtimes.h.
16918 Add missing *s in vtimes prototype.
16919 (Limits on Resources): Fix ulimit prototype to return long int.
16920 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16921 prototypes to use long int rather than double.
16922 (BSD Random): Fix initstate and setstate to use char *, not void *.
16923 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16924 prototype to make second argument 'struct aiocb64 *const[]'.
16925 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16926 (Status of AIO Operations): Remove erroneous const in aio_return and
16927 aio_return64 prototypes.
16928 (Synchronizing I/O): Fix sync prototype to return void.
16929 * manual/startup.texi (Suboptions): Remove an erroneous const in
16930 getsubopt prototype.
16931 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16932 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16933 use size_t rather than int.
16934 (Scanning All Users): Likewise for getpwent_r.
16935 (Setting Groups): Add missing const to setgroups prototype.
16936 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16937 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16938 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16939 'const void *' rather than 'const char *'.
16940 (Host Address Functions): Likewise for inet_ntop.
16941 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16942 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16943 ssize_t for return value.
16944 (Sending Data): Likewise for send, sendto, sendmsg.
16945 (Socket Option Functions): Add a missing const in setsockopt prototype.
16946 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16947 use wchar_t for the argument.
16948 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16949 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16951 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16952 double/float/long double for second argument.
16953 Fix return types of significand, significandf, significandl.
16954 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16955 argument in fchmod prototype.
16956 (File Owner): Use uid_t and gid_t in fchown prototype.
16957 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16958 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16959 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16960 use 'const struct dirent **' as argument types to CMP function pointer
16962 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16963 (File Times): Fix summary magic @comment for struct utimbuf and utime
16964 to refer to utime.h, not time.h.
16965 * manual/string.texi (Argz Functions): Add missing const in
16966 argz_extract and argz_next prototypes.
16967 (Finding Tokens in a String): Likewise for basename.
16968 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16969 (Copying and Concatenation): Fix typo in wmemmove prototype.
16970 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16971 (Signal Stack): Remove erroneous const in sigstack prototype.
16972 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16974 (Simple Calendar Time): Likewise for stime.
16975 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16977 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16978 say sys/sysctl.h instead.
16979 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16980 and vsyslog prototypes.
16982 2013-02-11 Tom de Vries <tom@codesourcery.com>
16984 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16987 2013-02-11 Roland McGrath <roland@hack.frob.com>
16989 * misc/sys/mman.h: Fix typo in mremap comment.
16991 2013-02-08 Roland McGrath <roland@hack.frob.com>
16993 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16994 the '\0' terminator.
16996 2013-02-08 Joseph Myers <joseph@codesourcery.com>
16999 * debug/segfault.c: Don't include <bp-checks.h>.
17000 * sysdeps/generic/bp-checks.h: Remove file.
17001 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17002 (__GETDENTS): Don't use CHECK_N.
17003 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17004 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17005 (__getgroups): Don't use CHECK_N.
17006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17007 (setgroups): Don't use CHECK_N.
17008 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17009 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17010 (__libc_msgrcv): Don't use CHECK_N.
17011 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17012 (__libc_msgsnd): Don't use CHECK_N.
17013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17015 (__libc_pread): Don't use CHECK_N.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17017 include <bp-checks.h>.
17018 (__libc_pread64): Don't use CHECK_N.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17020 include <bp-checks.h>.
17021 (__libc_pwrite): Don't use CHECK_N.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17023 include <bp-checks.h>.
17024 (__libc_pwrite64): Don't use CHECK_N.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17027 (__libc_pread): Don't use CHECK_N.
17028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17029 include <bp-checks.h>.
17030 (__libc_pread64): Don't use CHECK_N.
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17032 include <bp-checks.h>.
17033 (__libc_pwrite): Don't use CHECK_N.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17035 include <bp-checks.h>.
17036 (__libc_pwrite64): Don't use CHECK_N.
17037 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17038 (do_pread): Don't use CHECK_N.
17039 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17040 (do_pread64): Don't use CHECK_N.
17041 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17042 (do_pwrite): Don't use CHECK_N.
17043 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17044 (do_pwrite64): Don't use CHECK_N.
17045 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17046 (__libc_readv): Don't use CHECK_N.
17047 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17048 (semop): Don't use CHECK_N.
17049 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17051 (semtimedop): Don't use CHECK_N.
17052 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17053 (__libc_pread): Don't use CHECK_N.
17054 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17056 (__libc_pread64): Don't use CHECK_N.
17057 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17059 (__libc_pwrite): Don't use CHECK_N.
17060 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17062 (__libc_pwrite64): Don't use CHECK_N.
17063 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17065 (__libc_msgrcv): Don't use CHECK_N.
17066 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17067 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17068 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17069 (__libc_writev): Don't use CHECK_N.
17071 2013-02-08 Roland McGrath <roland@hack.frob.com>
17073 * string/strcpy.c: Removed unused variable.
17075 * Makeconfig (+sysdep-includes): Define with := rather than =.
17076 Use an existing include/ subdir of each sysdeps dir before it.
17078 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17080 * nscd/connection.c (register_traced_file): Comment function.
17081 [HAVE_INOTIFY] (union __inev): Define.
17082 [HAVE_INOTIFY] (inotify_check_files): New function.
17083 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17084 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17086 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17088 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17090 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17091 loaded if not already and that a failure is permanent.
17093 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17096 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17097 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17099 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17102 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17103 (CHECK_1_NULL_OK): Likewise.
17104 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17105 (__fxstat): Do not use CHECK_1.
17106 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17108 (___fxstat64): Do not use CHECK_1.
17109 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17111 (__fxstatat): Do not use CHECK_1.
17112 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17114 (__fxstatat64): Do not use CHECK_1.
17115 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17117 (__fxstat): Do not use CHECK_1.
17118 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17120 (__fxstatat): Do not use CHECK_1.
17121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17123 (__getresgid): Do not use CHECK_1.
17124 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17126 (__getresuid): Do not use CHECK_1.
17127 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17129 (__lxstat): Do not use CHECK_1.
17130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17132 (__old_msgctl): Do not use CHECK_1.
17133 (__new_msgctl): Likewise.
17134 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17136 (__new_setrlimit): Do not use CHECK_1.
17137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17139 (__old_shmctl): Do not use CHECK_1.
17140 (__new_shmctl): Likewise.
17141 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17143 (__xstat): Do not use CHECK_1.
17144 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17145 (__lxstat): Do not use CHECK_1.
17146 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17148 (___lxstat64): Do not use CHECK_1.
17149 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17150 (__old_msgctl): Do not use CHECK_1.
17151 (__new_msgctl): Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17154 (__gettimeofday): Do not use CHECK_1.
17155 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17156 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17159 (__gettimeofday): Do not use CHECK_1.
17160 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17161 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17162 (__new_shmctl): Do not use CHECK_1.
17163 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17165 (do_sigtimedwait): Do not use CHECK_1.
17166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17168 (do_sigwaitinfo): Do not use CHECK_1.
17169 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17171 (msgctl): Do not use CHECK_1.
17172 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17174 (shmctl): Do not use CHECK_1.
17175 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17176 (ustat): Do not use CHECK_1.
17177 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17179 (__fxstat): Do not use CHECK_1.
17180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17182 (__fxstatat): Do not use CHECK_1.
17183 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17185 (__lxstat): Do not use CHECK_1.
17186 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17188 (__xstat): Do not use CHECK_1.
17189 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17190 (__xstat): Do not use CHECK_1.
17191 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17192 (___xstat64): Do not use CHECK_1.
17195 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17197 (CHECK_BOUNDS_HIGH): Likewise.
17198 * string/strcpy.c: Do not include <bp-checks.h>.
17199 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17201 2013-02-07 Roland McGrath <roland@hack.frob.com>
17203 * nscd/nscd-client.h (__nscd_drop_map_ref):
17204 Add __attribute__ ((unused)).
17205 * nis/nss-nisplus.h (niserr2nss): Likewise.
17207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17208 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17210 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17211 Remove inline keyword.
17212 * include/rounding-mode.h (round_away): Likewise.
17213 * libio/wfileops.c (adjust_wide_data): Likewise.
17214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17215 (__m128i_strloadu_tolower): Likewise.
17216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17217 (__m128i_strloadu_tolower): Likewise.
17218 * time/mktime.c (ydhms_diff): Likewise.
17219 * locale/elem-hash.h (elem_hash): Likewise.
17220 * locale/setlocale.c (setdata): Likewise.
17221 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17222 (re_string_wchar_at): Likewise.
17223 (bitset_not, bitset_merge, bitset_mask): Likewise.
17224 [!(__GNUC__ > 3)] (inline): Remove macro.
17225 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17226 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17227 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17228 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17229 * string/memcmp.c (memcmp_bytes): Likewise.
17230 * locale/programs/locarchive.c (compute_hashval): Likewise.
17231 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17232 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17233 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17234 * nss/getent.c (print_rpc, print_protocols): Likewise.
17235 (print_passwd, print_group, print_aliases): Likewise.
17236 * nis/nss-nisplus.h (niserr2nss): Likewise.
17237 * nscd/connections.c (restart_p): Likewise.
17238 Change return type to bool.
17240 2013-02-05 Roland McGrath <roland@hack.frob.com>
17242 * Makeconfig (all-Depend-files): Add existing
17243 $(sorted-subdirs:=/Depend) files.
17244 (all-subdirs): Remove nss.
17245 * sysdeps/unix/inet/Subdirs: Add it here instead.
17246 * hesiod/Depend: New file.
17248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17249 instead of calling alloca.
17251 * io/lseek.c (__lseek): Rename to __libc_lseek.
17252 Define __lseek as an alias.
17254 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17256 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17258 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17259 else clause and remove check for non-standard endianness.
17261 2013-02-04 David S. Miller <davem@davemloft.net>
17263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17265 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17268 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17269 (__ubp_memchr): Remove prototype.
17270 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17271 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17272 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17273 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17274 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17276 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17277 (__ubp_memchr): Likewise.
17278 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17279 (__ubp_memchr): Likewise.
17280 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17281 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17282 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17285 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17286 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17287 (__getcwd): Do not use CHECK_STRING.
17288 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17290 (__real_chown): Do not use CHECK_STRING.
17291 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17293 (fchownat): Do not use CHECK_STRING.
17294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17296 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17298 (__lchown): Do not use CHECK_STRING.
17299 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17300 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17301 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17302 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17304 include <bp-checks.h>.
17305 (truncate64): Do not use CHECK_STRING.
17306 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17308 (__real_chown): Do not use CHECK_STRING.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17311 (__lchown): Do not use CHECK_STRING.
17312 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17314 (__chown): Do not use CHECK_STRING.
17315 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17317 (truncate64): Do not use CHECK_STRING.
17318 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17320 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17321 (__xmknod): Do not use CHECK_STRING.
17322 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17324 (__xmknodat): Do not use CHECK_STRING.
17325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17326 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17328 2013-02-04 Andreas Schwab <schwab@suse.de>
17331 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17332 * include/netdb.h: Likewise for h_errno.
17333 * elf/tst-stackguard1.c: Include <tls.h>.
17335 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17337 * elf/link.h (struct link_map): Extend the l_addr comment.
17338 * include/link.h (struct link_map): Likewise.
17340 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17343 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17344 (BOUNDED_1): Remove macro.
17345 * debug/backtrace.c: Don't include <bp-checks.h>.
17346 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17347 (__backtrace): Likewise.
17348 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17350 (__backtrace): Don't use BOUNDED_1.
17351 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17353 (__backtrace): Don't use BOUNDED_1.
17354 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17355 (__backtrace): Don't use BOUNDED_1.
17356 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17357 (shmat): Don't use BOUNDED_N.
17359 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17362 * sysdeps/generic/bp-start.h: Remove file.
17363 * csu/libc-start.c: Don't include <bp-start.h>.
17364 (LIBC_START_MAIN): Set up __environ directly instead of using
17365 INIT_ARGV_and_ENVIRON.
17366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17370 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17372 (CHECK_FCNTL): Likewise.
17373 (CHECK_N_PAGES): Likewise.
17376 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17378 (CHECK_SIGSET_NULL_OK): Likewise.
17379 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17381 (sigpending): Don't use CHECK_SIGSET.
17382 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17385 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17387 (do_sigsuspend): Don't use CHECK_SIGSET.
17388 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17390 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17391 (do_sigwait): Don't use CHECK_SIGSET.
17392 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17395 include <bp-checks.h>.
17396 (sigpending): Don't use CHECK_SIGSET.
17397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17398 include <bp-checks.h>.
17399 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17400 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17402 (sigpending): Don't use CHECK_SIGSET.
17403 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17405 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17408 * sysdeps/generic/bp-semctl.h: Remove file.
17409 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17410 <bp-checks.h> and <bp-semctl.h>.
17411 (__old_semctl): Don't use CHECK_SEMCTL.
17412 (__new_semctl): Likewise.
17413 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17415 (__old_semctl): Don't use CHECK_SEMCTL.
17416 (__new_semctl): Likewise.
17417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17418 <bp-checks.h> and <bp-semctl.h>.
17419 (__old_semctl): Don't use CHECK_SEMCTL.
17420 (__new_semctl): Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17422 <bp-checks.h> and <bp-semctl.h>.
17423 (semctl): Don't use CHECK_SEMCTL.
17426 * Makerules (elide-bp-thunks): Remove variable.
17427 (elide-routines.oS): Don't use $(elide-bp-thunks).
17428 (elide-routines.os): Likewise.
17429 (elide-routines.o): Likewise.
17430 (elide-routines.op): Likewise.
17431 (elide-routines.og): Likewise.
17432 (objects): Don't use $(bp-thunks).
17433 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17435 (common-generated): Do not add s-proto-bp.d.
17436 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17439 Do not generate makefile rules for bounded-pointer thunks.
17440 * sysdeps/generic/bp-thunks.h: Remove file.
17441 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17442 * sysdeps/unix/s-proto-bp.S: Likewise.
17445 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17446 parts of result separately when argument is not close to line from
17447 -i to i and one part of argument is small.
17448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17450 * math/libm-test.inc (cacos_test): Add more tests.
17451 (casin_test): Likewise.
17452 (casinh_test): Likewise.
17453 * sysdeps/i386/fpu/libm-test-ulps: Update.
17454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17456 2013-01-31 David S. Miller <davem@davemloft.net>
17458 * po/de.po: Update from translation team.
17460 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17462 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17464 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17466 * configure.in (_AC_PROG_CC_C89): New definition.
17467 * configure: Regenerate.
17469 * configure.in (AC_PROG_CPP): New definition.
17470 * configure: Regenerate.
17472 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17474 * debug/tst-backtrace.h: New file.
17475 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17476 (ret): Remove variable.
17478 (FAIL): Remove macro.
17479 (NO_INLINE): Likewise.
17480 (fn1): Use match function instead of strstr.
17481 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17482 (ret): Remove variable.
17484 (FAIL): Remove macro.
17485 (NO_INLINE): Likewise.
17486 (fn): Use match function instead of strstr.
17487 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17488 (ret): Remove variable.
17490 (FAIL): Remove macro.
17491 (NO_INLINE): Likewise.
17492 (handle_signal): Use match function instead of strstr.
17493 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17494 (ret): Remove variable.
17496 (FAIL): Remove macro.
17497 (NO_INLINE): Likewise.
17498 (handle_signal): Use match function instead of strstr.
17500 2013-01-23 Roland McGrath <roland@hack.frob.com>
17502 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17504 2013-01-23 David S. Miller <davem@davemloft.net>
17506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17507 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17508 argument of CAS if possible.
17509 * sysdeps/sparc/sparc64/bits/atomic.h
17510 (__arch_compare_and_exchange_val_32_acq): Likewise.
17511 (__arch_compare_and_exchange_val_64_acq): Likewise.
17513 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17515 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17516 * sysdeps/posix/ulimit.c: ... this.
17517 Include <limits.h>.
17518 * sysdeps/unix/bsd/ulimit.c: Remove file.
17520 2013-01-23 Adam Conrad <adconrad@0c3.net>
17522 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17523 (LDFLAGS-tst-array5): Likewise.
17525 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17528 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17529 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17530 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17531 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17533 2013-01-21 David S. Miller <davem@davemloft.net>
17535 * sysdeps/sparc/backtrace.c: New file.
17536 * sysdeps/sparc/sparc32/backtrace.h: New file.
17537 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17538 * sysdeps/sparc/sparc64/backtrace.h: New file.
17539 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17540 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17543 2013-01-21 Andreas Schwab <schwab@suse.de>
17546 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17549 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17555 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17556 Mark Mitchell <mark@codesourcery.com>
17557 Tom de Vries <tom@codesourcery.com>
17558 Paul Pluzhnikov <ppluzhnikov@google.com>
17560 * debug/tst-backtrace2.c: New file.
17561 * debug/tst-backtrace3.c: Likewise.
17562 * debug/tst-backtrace4.c: Likewise.
17563 * debug/tst-backtrace5.c: Likewise.
17564 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17565 (CFLAGS-tst-backtrace3.c): Likewise.
17566 (CFLAGS-tst-backtrace4.c): Likewise.
17567 (CFLAGS-tst-backtrace5.c): Likewise.
17568 (LDFLAGS-tst-backtrace2): Likewise.
17569 (LDFLAGS-tst-backtrace3): Likewise.
17570 (LDFLAGS-tst-backtrace4): Likewise.
17571 (LDFLAGS-tst-backtrace5): Likewise.
17572 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17573 tst-backtrace4 and tst-backtrace5.
17575 2013-01-18 Anton Blanchard <anton@samba.org>
17576 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17578 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17579 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17581 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17583 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17584 "+r" and remove output regs list as redundant. Add explicit inline
17585 asm to specify register of return val to work around compiler codegen
17586 bug. Remove (int) cast on return value. Add return type parameter to
17587 use in macro so that this macro does not truncate return value for
17589 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17590 pass to INTERNAL_VSYSCALL_NCS.
17591 (INLINE_VSYSCALL): Add 'long int' as return type to
17592 INTERNAL_VSYSCALL_NCS macro invocation.
17593 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17594 INTERNAL_VSYSCALL_NCS macro invocation.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17597 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17600 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17601 Fix application of SIMD FP exception mask.
17603 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17604 mp_no from a power of two.
17605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17606 __mpexp_twomm1. Use __pow_mp.
17608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17611 2013-01-17 David S. Miller <davem@davemloft.net>
17613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17615 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17618 * include/complex.h: Condition contents on [!_COMPLEX_H].
17619 (__kernel_casinhf): New prototype.
17620 (__kernel_casinh): Likewise.
17621 (__kernel_casinhl): Likewise.
17622 * math/Makefile (libm_calls): Add k_casinh.
17623 * math/k_casinh.c: New file.
17624 * math/k_casinhf.c: Likewise.
17625 * math/k_casinhl.c: Likewise.
17626 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17627 finite nonzero arguments.
17628 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17629 finite nonzero arguments.
17630 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17631 finite nonzero arguments.
17632 * math/s_casinh.c: Do not include <float.h>.
17633 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17634 * math/s_casinhf.c: Do not include <float.h>.
17635 (__casinhf): Move code for finite nonzero arguments to
17637 * math/s_casinhl.c: Do not include <float.h>.
17638 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17640 (__casinhl): Move code for finite nonzero arguments to
17642 * math/libm-test.inc (cacos_test): Add more tests.
17643 * sysdeps/i386/fpu/libm-test-ulps: Update.
17644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17648 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17649 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17650 [!HAVE_MREMAP]: Remove [defined linux] case.
17651 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17653 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17655 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17657 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17659 * elf/elf.h (R_386_SIZE32): New relocation.
17660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17662 (elf_machine_rela): Likewise.
17663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17664 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17666 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17668 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17669 (FP_FAST_FMA): Do not define.
17670 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17671 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17672 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17673 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17674 !_SOFT_FLOAT]: Likewise.
17675 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17676 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17679 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17680 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17682 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17683 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17686 2013-01-16 Andreas Schwab <schwab@suse.de>
17689 * include/stdlib.h (__mktemp): Add declaration.
17690 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17691 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17693 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17698 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17699 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17701 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17702 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17706 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17707 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17711 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17713 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17715 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17717 2013-01-15 David S. Miller <davem@davemloft.net>
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17720 trunc{,f} to libm-sysdep_routes.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17739 nearbyint{,f} to libm-sysdep_routes.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17757 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17761 libc_feholdexcept and libc_fesetenv.
17763 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17765 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17767 2013-01-14 David S. Miller <davem@davemloft.net>
17769 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17770 (SPARC_ASM_VIS2_IFUNC): Likewise.
17771 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17773 use of 'siam' instruction.
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17807 routines to libm-sysdep_routines.
17808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17811 fdim/fdimf to libm-sysdep_routines.
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17820 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17821 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17822 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17823 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17825 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17828 to optimize copies.
17830 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17835 local variable MPTWO.
17836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17839 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17841 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17844 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17846 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17848 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17850 * manual/pattern.texi (glob_t): Document gl_flags.
17851 (glob64_t): Likewise.
17853 2013-01-11 David S. Miller <davem@davemloft.net>
17855 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17856 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17857 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
17858 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17859 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17860 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17862 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17863 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17864 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17865 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17866 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17870 sparc V9 rather than using V8 code.
17871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17879 2013-01-11 Roland McGrath <roland@hack.frob.com>
17881 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17882 not in the main loop.
17883 * configure: Regenerated.
17885 2013-01-11 Joseph Myers <joseph@codesourcery.com>
17887 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17888 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17890 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17891 [!__GLIBC_HAVE_LONG_LONG] case.
17892 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17893 condition to just #else.
17894 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17895 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17896 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17897 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17899 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17900 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17901 #elif condition to just #else.
17902 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17903 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17904 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17905 #elif condition to just #else.
17907 2013-01-11 Steve Ellcey <sellcey@mips.com>
17909 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17910 (EF_MIPS_ARCH_64): Fix value.
17911 (EF_MIPS_ARCH_32R2): New.
17912 (EF_MIPS_ARCH_64R2): New.
17914 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17916 * Makeconfig (+link-pie-before-libc): New.
17917 (+link-pie-after-libc): Likewise.
17918 (+link-pie-tests): Likewise.
17919 (+link-pie): Rewritten.
17920 (link-before-libc): Remove $(config-LDFLAGS).
17921 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17922 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17923 (config-LDFLAGS): Renamed to ...
17924 (rtld-LDFLAGS): This.
17925 (rtld-tests-LDFLAGS): New macro.
17926 (link-libc-rpath-link): Likewise.
17927 (link-libc-tests-rpath-link): Likewise.
17928 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17929 (link-libc): Prepand $(link-libc-rpath-link).
17930 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17931 (test-program-prefix): New macro.
17932 (test-via-rtld-prefix): Likewise.
17933 (test-program-cmd): Likewise.
17934 (host-test-program-cmd): Likewise.
17935 * Makefile ($(common-objpfx)testrun.sh): Replace
17936 $(run-program-prefix) with $(test-program-prefix).
17937 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17939 ($(common-objpfx)shlib.lds): Likewise.
17940 (build-module-helper): Likewise.
17941 ($(common-objpfx)format.lds): Likewise.
17942 * Rules (binaries-pie-tests): New.
17943 (binaries-pie-notests): Likewise.
17944 (binaries-pie): Rewritten.
17945 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17946 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17947 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17948 (make-test-out): Replace $(host-built-program-cmd) with
17949 $(host-test-program-cmd).
17950 * config.make.in (build-hardcoded-path-in-tests): New variable.
17951 * configure.in (--enable-hardcoded-path-in-tests): New configure
17953 (hardcoded_path_in_tests): New AC_SUBST.
17954 * configure: Regenerated.
17955 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17956 $(built-program-cmd) with $(test-program-cmd).
17957 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17958 (test_program_cmd): This.
17959 * elf/Makefile ($(objpfx)order.out): Run test with
17960 $(test-program-prefix).
17961 ($(objpfx)order2.out): Likewise.
17962 ($(objpfx)tst-initorder.out): Likewise.
17963 ($(objpfx)tst-initorder2.out): Likewise.
17964 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17965 $(test-program-cmd).
17966 ($(objpfx)tst-array1-static.out): Likewise.
17967 ($(objpfx)tst-array2.out): Likewise.
17968 ($(objpfx)tst-array3.out): Likewise.
17969 ($(objpfx)tst-array4.out): Likewise.
17970 ($(objpfx)tst-array5.out): Likewise.
17971 ($(objpfx)tst-array5-static.out): Likewise.
17972 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17973 $(test-program-cmd).
17974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17975 $(run-program-prefix) with $(test-program-prefix).
17976 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17977 (test_program_prefix): This.
17978 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17979 $(run-program-prefix) with $(test-program-prefix).
17980 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17981 (test_program_prefix): This.
17982 * iconvdata/tst-tables.sh: Likewise.
17983 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17984 $(run-program-prefix) with $(test-program-prefix).
17985 ($(objpfx)tst-translit.out): Likewise.
17986 ($(objpfx)tst-gettext2.out): Likewise.
17987 ($(objpfx)tst-gettext4.out): Likewise.
17988 ($(objpfx)tst-gettext6.out): Likewise.
17989 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17990 (test_program_prefix): This.
17991 * intl/tst-gettext2.sh: Likewise.
17992 * intl/tst-gettext4.sh Likewise.
17993 * intl/tst-gettext6.sh: Likewise.
17994 * intl/tst-translit.sh: Likewise.
17995 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17996 with $(test-program-cmd).
17997 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17998 $(run-program-prefix) with $(test-program-prefix).
17999 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18000 (test_program_prefix): This.
18001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18002 $(run-program-prefix) with $(test-program-prefix).
18003 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18004 (test_program_prefix): This.
18005 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18006 * posix/Makefile ($(objpfx)globtest.out): Replace
18007 $(run-via-rtld-prefix) and $(test-wrapper) with
18008 $(test-program-prefix) and $(test-via-rtld-prefix).
18009 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18010 $(test-program-prefix).
18011 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18012 $(host-test-program-cmd).
18013 (tst-spawn-ARGS): Likewise.
18014 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18015 $(test-program-prefix).
18016 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18017 (test_via_rtld_prefix): This.
18018 (test_wrapper): Renamed to ...
18019 (test_program_prefix): This.
18020 (run_program_prefix): Replaced by test_program_prefix.
18021 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18022 (test_program_prefix): This.
18023 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18024 with $(host-test-program-cmd).
18025 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18026 $(run-program-prefix) with $(test-program-prefix).
18027 ($(objpfx)tst-printf.out): Likewise.
18028 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18029 $(test-program-cmd).
18030 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18031 (test_program_prefix): This.
18032 * stdio-common/tst-unbputc.sh: Likewise.
18033 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18034 $(run-program-prefix) with $(test-program-prefix).
18035 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18036 (test_program_prefix): This.
18037 * string/Makefile ($(objpfx)tst-svc.out): Replace
18038 $(built-program-cmd) with $(test-program-cmd).
18040 2013-01-11 Andreas Jaeger <aj@suse.de>
18043 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18044 value. Sync with Linux 3.7.
18046 2013-01-10 David S. Miller <davem@davemloft.net>
18048 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18052 2013-01-10 Roland McGrath <roland@hack.frob.com>
18054 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18056 * configure: Regenerated.
18058 2013-01-10 David S. Miller <davem@davemloft.net>
18060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18061 sparc V9 rather than using V8 code.
18062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18065 2013-01-10 Roland McGrath <roland@hack.frob.com>
18067 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18068 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18069 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18070 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18071 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18072 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18073 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18074 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18075 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18076 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18077 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18078 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18079 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18080 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18081 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18082 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18083 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18084 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18085 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18086 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18087 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18088 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18089 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18090 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18091 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18092 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18093 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18095 2013-01-10 David S. Miller <davem@davemloft.net>
18097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18099 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18101 * posix/Makefile (tests-static): New variable.
18102 (tests): Add $(tests-static).
18103 (tst-exec-static-ARGS): New variable.
18104 (tst-spawn-static-ARGS): Likewise.
18105 * posix/tst-exec-static.c: New file.
18106 * posix/tst-spawn-static.c: Likewise.
18107 * posix/tst-exec.c: Support run directly.
18108 * posix/tst-spawn.c: Likewise.
18110 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18112 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18114 * math/bits/mathcalls.h (llrint): Likewise.
18115 (llround): Likewise.
18116 * stdlib/stdlib.h (struct drand48_data): Likewise.
18117 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18118 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18119 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18121 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18124 (elf_greg_t): Likewise.
18125 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18126 (__jmp_buf): Likewise.
18127 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18129 (llrint): Likewise, for all definitions.
18130 (llrintl): Likewise.
18132 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18133 Remove [__GNUC__] condition.
18134 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18135 condition to just [__USE_ISOC99].
18136 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18138 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18141 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18142 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18144 (_POSIX_V6_ILP32_OFF32): Likewise.
18145 (_XBS5_ILP32_OFF32): Likewise.
18146 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18147 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18149 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18151 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18154 doubles __mpexp_twomm1. Adjust usage.
18155 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18158 2013-01-10 Andreas Schwab <schwab@suse.de>
18161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18162 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18164 2013-01-09 David S. Miller <davem@davemloft.net>
18167 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18168 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18169 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18170 TCP_FASTOPEN): Define.
18171 (tcp_repair_opt): New structure.
18172 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18174 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18175 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18176 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18177 (tcp_cookie_transactions): New structure.
18179 2013-01-09 Anton Blanchard <anton@samba.org>
18181 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18186 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18188 * include/features.h (__USE_ANSI): Remove.
18190 2013-01-09 Roland McGrath <roland@hack.frob.com>
18192 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18194 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18196 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18198 * sysdeps/s390/fpu/libm-test-ulps: Update.
18200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18202 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18206 (denorm): Likewise.
18207 (__mp_dbl): Likewise.
18208 (__dbl_mp): Likewise.
18209 (add_magnitudes): Likewise.
18210 (sub_magnitudes): Likewise.
18216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18220 (denorm): Likewise.
18221 (__mp_dbl): Likewise.
18222 (__dbl_mp): Likewise.
18223 (add_magnitudes): Likewise.
18224 (sub_magnitudes): Likewise.
18230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18234 (denorm): Likewise.
18235 (__mp_dbl): Likewise.
18236 (__dbl_mp): Likewise.
18237 (add_magnitudes): Likewise.
18238 (sub_magnitudes): Likewise.
18245 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18247 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18248 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18249 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18250 2 && __USE_EXTERN_INLINES]: Likewise.
18252 2013-01-08 Andreas Jaeger <aj@suse.de>
18255 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18257 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18258 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18260 2013-01-07 Anton Blanchard <anton@samba.org>
18262 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18263 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18264 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18265 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18268 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18272 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18278 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18280 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18285 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18286 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18287 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18291 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18292 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18294 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18302 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18306 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18308 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18309 (__MALLOC_PMT): Likewise.
18310 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18311 [__GNUC__], only on [_LIBC].
18312 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18313 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18314 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18315 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18316 forward declaration.
18317 (realloc_hook_ini): Likewise.
18318 (memalign_hook_ini): Likewise.
18319 (__libc_memalign): Do not use __MALLOC_PMT in variable
18321 (__libc_valloc): Likewise.
18322 (__libc_pvalloc): Likewise.
18323 (__libc_calloc): Likewise.
18324 (__posix_memalign): Likewise.
18327 * math/s_casinh.c: Include <float.h>.
18328 (__casinh): Do not do computation with squaring and square root
18329 for large arguments.
18330 * math/s_casinhf.c: Include <float.h>.
18331 (__casinhf): Do not do computation with squaring and square root
18332 for large arguments.
18333 * math/s_casinhl.c: Include <float.h>.
18334 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18335 (__casinhl): Do not do computation with squaring and square root
18336 for large arguments.
18337 * math/libm-test.inc (casin_test): Add more tests.
18338 (casinh_test): Likewise.
18339 * sysdeps/i386/fpu/libm-test-ulps: Update.
18340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18342 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18344 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18345 (__x86_64_raw_data_cache_size): Likewise.
18346 (__x86_64_data_cache_size_half): Likewise.
18347 (__x86_64_raw_data_cache_size_half): Likewise.
18348 (__x86_64_shared_cache_size): Likewise.
18349 (__x86_64_raw_shared_cache_size): Likewise.
18350 (__x86_64_shared_cache_size_half): Likewise.
18351 (__x86_64_raw_shared_cache_size_half): Likewise.
18352 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18354 (__x86_data_cache_size): This.
18355 (__x86_64_raw_data_cache_size): Renamed to ...
18356 (__x86_raw_data_cache_size): This.
18357 (__x86_64_data_cache_size_half): Renamed to ...
18358 (__x86_data_cache_size_half): This.
18359 (__x86_64_raw_data_cache_size_half): Renamed to ...
18360 (__x86_raw_data_cache_size_half): This.
18361 (__x86_64_shared_cache_size): Renamed to ...
18362 (__x86_shared_cache_size): This.
18363 (__x86_64_raw_shared_cache_size): Renamed to ...
18364 (__x86_raw_shared_cache_size): This.
18365 (__x86_64_shared_cache_size_half): Renamed to ...
18366 (__x86_shared_cache_size_half): This.
18367 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18368 (__x86_raw_shared_cache_size_half): This.
18369 * sysdeps/x86_64/memcpy.S: Updated.
18370 * sysdeps/x86_64/memset.S: Likewise.
18371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18375 2013-01-04 David S. Miller <davem@davemloft.net>
18377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18379 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18382 1 to avoid redefinition warning.
18383 (__USE_GNU): Don't define.
18384 (init_signaling_nan): Protoize.
18386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18388 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18390 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18392 (__cpymn): Likewise.
18393 (norm): Remove commented code.
18394 (denorm): Likewise.
18395 (__mp_dbl): Likewise.
18397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18398 (__cpymn): Likewise.
18399 (norm): Remove commented code.
18400 (denorm): Likewise.
18401 (__mp_dbl): Likewise.
18404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18405 mp_no value for 1.0 and 2.0.
18406 (norm): Use RADIXI instead of radixi.d.
18407 (denorm): Likewise.
18408 (__mul): Use 0.0 instead of zero.d.
18409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18410 mp_no value for 1.0 and 2.0.
18411 (norm): Use RADIXI instead of radixi.d.
18412 (denorm): Likewise.
18413 (__mul): Use 0.0 instead of zero.d.
18415 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18418 * math/s_casinh.c (__casinh): Reduce finite argument to first
18419 quadrant then set signs of results at the end.
18420 * math/s_casinhf.c (__casinhf): Likewise.
18421 * math/s_casinhl.c (__casinhl): Likewise.
18422 * math/libm-test.inc (casin_test): Add more tests.
18423 (casinh_test): Likewise.
18424 * sysdeps/i386/fpu/libm-test-ulps: Update.
18425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18431 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18433 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18435 (denorm): Likewise.
18436 (__mp_dbl): Likewise.
18439 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18440 and adjust the header comment.
18442 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18443 variable name from declaration.
18445 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18448 Initialize COMMON_CPUID_INDEX_7 element.
18449 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18450 (CPUID_RTM): Likewise.
18451 (HAS_RTM): Likewise.
18452 (COMMON_CPUID_INDEX_7): New enum.
18454 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18457 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18458 size is zero, record memory as freed.
18460 2013-01-03 Andreas Jaeger <aj@suse.de>
18462 * po/ia.po: Add new Interlingua translation.
18464 2012-01-03 Allan McRae <allan@archlinux.org>
18466 * locale/programs/localedef.c: Fix description of '--posix' flag.
18468 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18470 * NEWS: Update dates in second copyright notice.
18471 * README: Update copyright dates in example.
18472 * manual/libc.texinfo: Update copyright dates.
18473 * scripts/test-installation.pl: Update copyright date in --version
18476 * hurd/ctty-input.c: Fix copyright notice formatting.
18477 * hurd/ctty-output.c: Likewise.
18478 * hurd/dtable.c: Likewise.
18479 * hurd/hurd-raise.c: Likewise.
18480 * hurd/hurdprio.c: Likewise.
18481 * hurd/msgportdemux.c: Likewise.
18482 * misc/sys/file.h: Likewise.
18483 * misc/sys/ioctl.h: Likewise.
18484 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18485 * sysdeps/mach/hurd/chdir.c: Likewise.
18486 * sysdeps/mach/hurd/fchdir.c: Likewise.
18487 * sysdeps/mach/hurd/rename.c: Likewise.
18488 * sysdeps/mach/hurd/rmdir.c: Likewise.
18489 * sysdeps/mach/hurd/seekdir.c: Likewise.
18490 * sysdeps/mach/hurd/setsid.c: Likewise.
18491 * sysdeps/posix/wait3.c: Likewise.
18493 * All files with FSF copyright notices: Update copyright dates
18494 using scripts/update-copyrights.
18495 * intl/plural.c: Regenerated.
18496 * locale/programs/charmap-kw.h: Likewise.
18497 * locale/programs/locfile-kw.h: Likewise.
18499 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18505 calculation loop and add branch prediction.
18507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18508 check access beyond bounds of m1np.
18510 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18512 (__inv): Remove local variable MPTWO to use the global
18514 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18518 MP3HALFS static const.
18520 2013-01-01 David S. Miller <davem@davemloft.net>
18522 * po/ca.po: Update from translation team.
18524 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18526 * scripts/update-copyrights: New file.
18527 * Makeconfig: Reformat copyright notice.
18528 * ctype/ctype.h: Likewise.
18529 * debug/swprintf_chk.c: Likewise.
18530 * elf/dl-cache.c: Likewise.
18531 * elf/dl-debug.c: Likewise.
18532 * elf/dl-object.c: Likewise.
18533 * grp/initgroups.c: Likewise.
18534 * hurd/Makefile: Likewise.
18535 * hurd/hurd/signal.h: Likewise.
18536 * hurd/hurdfault.c: Likewise.
18537 * hurd/hurdioctl.c: Likewise.
18538 * hurd/hurdlookup.c: Likewise.
18539 * hurd/intr-msg.c: Likewise.
18540 * iconv/gconv_open.c: Likewise.
18541 * libio/swprintf.c: Likewise.
18542 * locale/lc-ctype.c: Likewise.
18543 * locale/nl_langinfo.c: Likewise.
18544 * mach/Machrules: Likewise.
18545 * mach/Makefile: Likewise.
18546 * malloc/obstack.h: Likewise.
18547 * manual/Makefile: Likewise.
18548 * manual/tsort.awk: Likewise.
18549 * misc/bits/stab.def: Likewise.
18550 * nis/nis_print_group_entry.c: Likewise.
18551 * nis/nis_table.c: Likewise.
18552 * nis/nss_compat/compat-pwd.c: Likewise.
18553 * nis/nss_compat/compat-spwd.c: Likewise.
18554 * po/Makefile: Likewise.
18555 * posix/fnmatch.c: Likewise.
18556 * posix/regex.h: Likewise.
18557 * resolv/Makefile: Likewise.
18558 * resolv/nss_dns/dns-network.c: Likewise.
18559 * resolv/res_hconf.c: Likewise.
18560 * scripts/gen-sorted.awk: Likewise.
18561 * soft-fp/soft-fp.h: Likewise.
18562 * stdio-common/printf.h: Likewise.
18563 * stdlib/monetary.h: Likewise.
18564 * stdlib/random.c: Likewise.
18565 * stdlib/random_r.c: Likewise.
18566 * sysdeps/generic/Makefile: Likewise.
18567 * sysdeps/gnu/Makefile: Likewise.
18568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18591 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18592 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18594 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18596 * sysdeps/mach/hurd/errnos.awk: Likewise.
18597 * sysdeps/mach/hurd/fork.c: Likewise.
18598 * sysdeps/mach/hurd/getcwd.c: Likewise.
18599 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18600 * sysdeps/mach/hurd/mmap.c: Likewise.
18601 * sysdeps/mach/hurd/utimes.c: Likewise.
18602 * sysdeps/mach/hurd/xmknod.c: Likewise.
18603 * sysdeps/posix/profil.c: Likewise.
18604 * sysdeps/posix/readdir_r.c: Likewise.
18605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18606 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18607 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18608 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18616 * sysdeps/pthread/lio_listio.c: Likewise.
18617 * sysdeps/sparc/dl-procinfo.h: Likewise.
18618 * sysdeps/unix/i386/sysdep.S: Likewise.
18619 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18620 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18621 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18622 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18624 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18625 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18626 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18627 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18628 * sysdeps/wordsize-32/divdi3.c: Likewise.
18629 * time/sys/time.h: Likewise.
18630 * wcsmbs/Makefile: Likewise.
18632 2013-01-01 David S. Miller <davem@davemloft.net>
18634 * po/fr.po: Update from translation team.
18636 * catgets/gencat.c: Update copyright year.
18637 * csu/version.c: Likewise.
18638 * debug/catchsegv.sh: Likewise.
18639 * debug/pcprofiledump.c: Likewise.
18640 * debug/xtrace.sh: Likewise.
18641 * elf/ldconfig.c: Likewise.
18642 * elf/ldd.bash.in: Likewise.
18643 * elf/pldd.c: Likewise.
18644 * elf/sotruss.ksh: Likewise.
18645 * elf/sprof.c: Likewise.
18646 * iconv/iconv_prog.c: Likewise.
18647 * iconv/iconvconfig.c: Likewise.
18648 * locale/programs/locale.c: Likewise.
18649 * locale/programs/localedef.c: Likewise.
18650 * login/programs/pt_chown.c: Likewise.
18651 * malloc/memusage.sh: Likewise.
18652 * malloc/memusagestat.c: Likewise.
18653 * malloc/mtrace.pl: Likewise.
18654 * nscd/nscd.c: Likewise.
18655 * nss/getent.c: Likewise.
18656 * nss/makedb.c: Likewise.
18657 * posix/getconf.c: Likewise.
18659 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18661 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18664 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18666 * math/bits/mathcalls.h (modf): Use __nonnull.
18668 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18670 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18671 (split): Use macro CN instead of the bare value.
18672 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18675 instead of the bare value.
18676 (power1): Likewise.
18678 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18684 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18686 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18688 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18691 2012-12-28 Andreas Jaeger <aj@suse.de>
18693 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18694 values are from Linux 3.7.
18696 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18697 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18699 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18701 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18707 variables with preprocessor constants.
18708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18712 2012-12-27 Bruno Haible <bruno@clisp.org>
18715 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18718 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18721 and use variable directly.
18722 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18724 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18726 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18731 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18732 include directive. Remove local variable MPONE.
18733 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18734 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18735 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18737 2012-12-25 David S. Miller <davem@davemloft.net>
18739 * version.h (RELEASE): Set to "development".
18740 (VERSION): Set to "2.17.90".
18741 * NEWS: Add 2.18 section.
18743 2012-12-21 David S. Miller <davem@davemloft.net>
18745 * po/hr.po: Update from translation team.
18747 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18749 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18751 2012-12-19 Steve Ellcey <sellcey@mips.com>
18753 * NEWS: Mention new memcpy for MIPS.
18755 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18757 * manual/contrib.texi (Contributors): Spelling correction.
18759 2012-12-15 David S. Miller <davem@davemloft.net>
18761 * po/ru.po: Update from translation team.
18763 2012-12-13 David S. Miller <davem@davemloft.net>
18765 * NEWS: Mention IFUNC testsuite enhancements.
18767 * po/pl.po: Update from translation team.
18768 * po/bg.po: Likewise.
18770 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18771 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18773 2012-12-11 David S. Miller <davem@davemloft.net>
18775 * po/sv.po: Update from translation team.
18777 * po/vi.po: Update from translation team.
18779 * po/cs.po: Update from translation team.
18781 * po/de.po: Update from translation team.
18782 * po/eo.po: Likewise.
18783 * po/nl.po: Likewise.
18785 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18788 * manual/argp.texi (Argp Helper Functions): Move node to follow
18789 Argp Parsing State.
18792 * manual/conf.texi (Limits on File System Capacity): Mention if
18793 terminating null is included in the max size.
18795 2012-12-10 Andreas Jaeger <aj@suse.de>
18797 * po/cs.po: Update from translation team.
18799 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18801 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18802 void pointer and cast to uintptr_t.
18803 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18805 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18806 * sysdeps/s390/s390-64/memset.S: Likewise.
18808 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
18811 * menual/message.texi (Message Translation): Fix typos.
18812 (Helper programs for gettext): Likewise.
18814 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18817 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18820 2012-12-07 David S. Miller <davem@davemloft.net>
18822 * po/libc.pot: Update.
18824 2012-12-07 Richard Henderson <rth@redhat.com>
18827 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18828 normal/normal case to before the switch.
18829 (_FP_DIV): Likewise.
18831 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18832 Mike Frysinger <vapier@gentoo.org>
18834 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18835 check for __NR_fadvise64_64.
18837 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18839 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18840 0, not just to plain "0" as a statement.
18841 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18844 2012-12-06 Joseph Myers <joseph@codesourcery.com>
18846 * NEWS: Use sourceware.org in Bugzilla URL.
18848 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18853 * stdio-common/tst-put-error.c (do_test): Add newline to the
18854 padded test to ensure flush.
18856 2012-12-05 Jeff Law <law@redhat.com>
18858 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18860 2012-12-05 Joseph Myers <joseph@codesourcery.com>
18862 * README: Don't refer to ports add-on as distributed separately.
18863 Mention AArch64 in list of systems supported in the ports add-on.
18865 * LICENSES: Add more non-FSF copyright and license notices.
18867 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18872 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18873 10000 as width of padded output.
18875 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18877 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18880 variable LX with __attribute__ ((unused)).
18881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18883 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18886 with __attribute__ ((unused)).
18888 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
18890 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18892 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18894 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18895 (CFLAGS-nldbl-acos.c): New variable.
18896 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18897 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18898 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18899 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18900 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18901 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18902 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18903 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18904 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18905 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18906 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18907 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18908 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18909 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18910 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18911 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18912 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18913 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18914 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18915 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18916 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18917 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18918 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18919 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18920 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18921 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18922 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18923 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18924 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18925 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18926 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18927 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18928 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18929 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18930 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18931 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18932 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18933 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18934 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18935 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18936 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18937 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18938 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18939 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18940 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18941 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18942 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18943 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18944 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18945 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18946 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18947 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18948 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18949 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18950 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18951 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18952 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18953 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18954 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18955 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18956 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18957 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18958 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18959 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18960 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18961 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18962 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18963 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18964 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18965 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18966 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18967 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18968 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18969 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18970 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18971 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18972 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18973 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18974 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18975 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18976 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18977 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18978 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18979 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18980 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18981 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18982 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18983 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18984 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18985 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18986 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18987 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18988 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18989 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18990 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18991 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18992 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18999 whole low double instead of just low 47 bits when splitting values
19002 2012-12-03 Allan McRae <allan@archlinux.org>
19004 * manual/stdio.texi (Predefined Printf Handlers): Remove
19005 @hsep and @vsep usage.
19007 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19009 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19010 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19012 2012-12-03 Jeff Law <law@redhat.com>
19014 * time/sys/time.h (settimeofday): Do not mark TV argument
19017 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19019 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19020 when currently writing and seek to current position when not.
19021 * libio/Makefile (tests): Remove bug-fclose1.
19022 * libio/bug-fclose1.c: Delete.
19024 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19026 * manual/arith.texi (feenableexcept): Fix typo.
19027 (fedisableexcept): Likewise.
19029 2012-11-30 Roland McGrath <roland@hack.frob.com>
19031 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19032 second, differently-typed declaration, rather than a cast.
19034 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19036 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19037 * include/rpc/svc.h: ... here.
19039 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19042 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19043 depending n and resplen2 to catch cases where answer
19046 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19048 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19049 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19051 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19055 2012-11-29 Roland McGrath <roland@hack.frob.com>
19057 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19059 2012-11-28 Jeff Law <law@redhat.com>
19062 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19063 dataset_temporary. Track alloca usage into alloca_used.
19064 If dataset is large allocate and release it via malloc/free.
19066 2012-06-04 Florian Weimer <fweimer@redhat.com>
19069 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19071 2012-11-28 David S. Miller <davem@davemloft.net>
19073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19075 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19078 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19079 of pi/2 rounded to nearest to 64 bits.
19080 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19081 nearest to 64 bits.
19082 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19085 2012-11-28 Jeff Law <law@redhat.com>
19086 Martin Osvald <mosvald@redhat.com>
19089 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19090 * sunrpc/svc.c: Include time.h.
19091 (__svc_accept_failed): New function.
19092 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19093 any reason other than EINTR, call __svc_accept_failed.
19094 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19095 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19097 2012-11-28 Andreas Schwab <schwab@suse.de>
19099 * scripts/abilist.awk: Also handle indirect functions in .opd
19102 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19105 * sysdeps/x86/fpu/powl_helper.c: New file.
19106 * sysdeps/x86/fpu/Makefile: Likewise.
19107 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19109 (__ieee754_powl): Use __powl_helper for finite arguments except
19110 integer exponents below 8.
19111 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19113 (__ieee754_powl): Use __powl_helper for finite arguments except
19114 integer exponents below 8.
19115 * math/libm-test.inc (pow_test): Add more tests and enable some
19116 previously disabled tests.
19117 * sysdeps/i386/fpu/libm-test-ulps: Update.
19118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19120 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19121 Carlos O'Donell <carlos_odonell@mentor.com>
19123 * nss/makedb.c (is_prime): Assert that input is odd and greater
19124 than 4. Note that fact in a comment too.
19125 (next_prime): Add 4 to input.
19127 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * libio/Makefile (tests): Add test case tst-fwrite-error.
19131 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19132 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19133 * libio/tst-fwrite-error.c: New test case.
19135 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19137 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19138 before casting to void *.
19139 * include/libc-internal.h (__pointer_type): New macro.
19140 (__integer_if_pointer_type_sub): Likewise.
19141 (__integer_if_pointer_type): Likewise.
19142 (cast_to_integer): Likewise.
19143 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19144 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19145 before casting to atomic64_t.
19146 (atomic_exchange_acq): Likewise.
19147 (__arch_exchange_and_add_body): Likewise.
19148 (__arch_add_body): Likewise.
19149 (atomic_add_negative): Likewise.
19150 (atomic_add_zero): Likewise.
19152 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19154 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19155 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19156 (add_fdes): Likewise.
19157 (linear_search_fdes): Likewise.
19158 (binary_search_unencoded_fdes): Likewise.
19160 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19162 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19164 2012-11-24 Adam Conrad <adconrad@0c3.net>
19166 * configure.in: Autodetect C++ header directories.
19167 * configure: Regenerated.
19169 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19171 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19173 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19177 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19179 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19180 LDBL_MANT_DIG == 106]: Disable some tests.
19181 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19183 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19188 input for small inputs. Return +/- pi/2 for large inputs.
19189 * math/libm-test.inc (atan_test): Add more tests.
19191 * sysdeps/generic/unwind-dw2-fde-glibc.c
19192 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19193 __attribute__ ((unused)).
19196 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19197 x * y if x and y are nonzero and z is zero.
19200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19201 nonzero exponents with absolute value below 0x1p-117 to +/-
19205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19206 up arguments below 2**-450, not just those below 2**-500.
19207 * math/libm-test.inc (hypot_test): Add another test.
19210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19211 Return a+b for ratio over 2**120, not 2**60.
19212 * math/libm-test.inc (hypot_test): Add another test.
19214 * math/libm-test.inc (clog_test): Use
19215 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19216 (clog10_test): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19221 2012-11-22 Andreas Schwab <schwab@suse.de>
19223 * sysdeps/i386/fpu/libm-test-ulps: Update.
19225 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19227 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19228 printf output with newline.
19230 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19233 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19234 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19235 -z nodlopen, -z initfirst and -z execstack support.
19236 * configure: Regenerated.
19238 * elf/elf.h (DF_1_NODIRECT): New macro.
19239 (DF_1_IGNMULDEF): Likewise.
19240 (DF_1_NOKSYMS): Likewise.
19241 (DF_1_NOHDR): Likewise.
19242 (DF_1_EDITED): Likewise.
19243 (DF_1_NORELOC): Likewise.
19244 (DF_1_SYMINTPOSE): Likewise.
19245 (DF_1_GLOBAUDIT): Likewise.
19246 (DF_1_SINGLETON): Likewise.
19247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19248 DT_1_SUPPORTED_MASK bits.
19249 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19251 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19253 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19255 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19257 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19260 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19261 (sendmmsg): Move declarations...
19262 * socket/sys/socket.h: ... here.
19263 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19264 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19266 * socket/recvmmsg.c: ... this new file.
19267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19268 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19269 definition of __sendmmsg hidden.
19270 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19271 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19272 Move ENOSYS stub into and include it from...
19273 * socket/sendmmsg.c: ... this new file.
19274 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19275 (sysdep_routines): Move recvmmsg and sendmmsg...
19276 * socket/Makefile (routines): ... here.
19277 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19278 (GLIBC_PRIVATE): Add __sendmmsg.
19279 * include/sys/socket.h (__sendmmsg): Add declarations.
19280 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19283 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19286 variable I1 with __attribute__ ((unused)).
19287 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19289 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19291 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19292 DUMMY variables with __attribute__ ((unused)).
19294 * bits/byteswap.h: Include <bits/types.h>.
19295 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19297 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19299 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19300 string_t. Do not manually set errno.
19301 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19302 length with __strnlen. Make sure to both set errno and return it on
19305 2012-11-19 David S. Miller <davem@davemloft.net>
19307 With help from Joseph Myers.
19308 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19309 very large arguments properly.
19310 * math/libm-test.inc (atan_test): New tests.
19311 (atan2_test): New tests.
19312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19315 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19318 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19321 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19322 [POSIX] (EADDRNOTAVAIL): Likewise.
19323 [POSIX] (EAFNOSUPPORT): Likewise.
19324 [POSIX] (EALREADY): Likewise.
19325 [POSIX] (ECONNABORTED): Likewise.
19326 [POSIX] (ECONNREFUSED): Likewise.
19327 [POSIX] (ECONNRESET): Likewise.
19328 [POSIX] (EDESTADDRREQ): Likewise.
19329 [POSIX] (EDQUOT): Likewise.
19330 [POSIX] (EHOSTUNREACH): Likewise.
19331 [POSIX] (EIDRM): Likewise.
19332 [POSIX] (EISCONN): Likewise.
19333 [POSIX] (ELOOP): Likewise.
19334 [POSIX] (EMULTIHOP): Likewise.
19335 [POSIX] (ENETDOWN): Likewise.
19336 [POSIX] (ENETUNREACH): Likewise.
19337 [POSIX] (ENOBUFS): Likewise.
19338 [POSIX] (ENODATA): Likewise.
19339 [POSIX] (ENOLINK): Likewise.
19340 [POSIX] (ENOMSG): Likewise.
19341 [POSIX] (ENOPROTOOPT): Likewise.
19342 [POSIX] (ENOSR): Likewise.
19343 [POSIX] (ENOSTR): Likewise.
19344 [POSIX] (ENOTCONN): Likewise.
19345 [POSIX] (ENOTSOCK): Likewise.
19346 [POSIX] (EOPNOTSUPP): Likewise.
19347 [POSIX] (EOVERFLOW): Likewise.
19348 [POSIX] (EPROTO): Likewise.
19349 [POSIX] (EPROTONOSUPPORT): Likewise.
19350 [POSIX] (EPROTOTYPE): Likewise.
19351 [POSIX] (ESTALE): Likewise.
19352 [POSIX] (ETIME): Likewise.
19353 [POSIX] (ETXTBSY): Likewise.
19354 [POSIX] (EWOULDBLOCK): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19356 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19357 [POSIX] (SEEK_CUR): Likewise.
19358 [POSIX] (SEEK_END): Likewise.
19359 [POSIX || UNIX98] (mode_t): Do not require.
19360 [POSIX] (off_t): Likewise.
19361 [POSIX] (pid_t): Likewise.
19362 [POSIX] (sys/stat.h): Do not allow header.
19363 [POSIX] (unistd.h): Likewise.
19364 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19365 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19366 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19367 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19369 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19370 sigevent): Specify elements.
19371 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19373 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19374 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19376 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19377 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19378 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19379 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19380 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19381 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19382 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19383 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19386 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19387 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19388 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19391 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19393 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19395 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19398 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19399 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19400 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19402 Specify lower bound on value.
19403 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19407 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19409 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19410 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19412 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19414 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19415 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19416 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19417 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19418 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19419 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19420 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19421 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19422 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19423 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19424 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19425 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19426 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19427 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19428 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19431 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19433 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19434 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19435 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19436 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19437 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19440 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19441 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19442 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19443 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19445 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19448 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19449 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19450 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19451 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19452 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19453 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19454 specify as optional.
19455 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19456 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19459 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19460 [XPG3] (NL_LANGMAX): Likewise.
19461 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19462 [POSIX || XPG3] (NL_NMAX): Likewise.
19463 [POSIX || XPG3] (NL_SETMAX): Likewise.
19464 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19465 [XPG3] (NZERO): Likewise.
19466 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19467 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19468 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19469 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19470 (REG_ERANGE): Expect.
19471 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19473 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19474 Use (void) in prototype.
19475 [POSIX] (*_t): Allow.
19476 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19477 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19478 (WRDE_BADVAL): Expect.
19480 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19482 [XPG3 || XPG4] (O_RSYNC): Likewise.
19483 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19485 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19486 [XPG3 || XPG4] (sigqueue): Likewise.
19487 [XPG3 || XPG4] (sigtimedwait): Likewise.
19488 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19489 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19490 [XPG3 || XPG4] (vsnprintf): Likewise.
19491 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19493 [XPG3 || XPG4] (blksize_t): Likewise.
19494 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19496 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19497 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19498 [XPG3 || XPG4] (struct itimerspec): Likewise.
19499 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19500 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19501 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19502 [XPG3 || XPG4] (clockid_t): Likewise.
19503 [XPG3 || XPG4] (timer_t): Likewise.
19504 [XPG3 || XPG4] (clock_getres): Likewise.
19505 [XPG3 || XPG4] (clock_gettime): Likewise.
19506 [XPG3 || XPG4] (clock_settime): Likewise.
19507 [XPG3 || XPG4] (nanosleep): Likewise.
19508 [XPG3 || XPG4] (timer_create): Likewise.
19509 [XPG3 || XPG4] (timer_delete): Likewise.
19510 [XPG3 || XPG4] (timer_gettime): Likewise.
19511 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19512 [XPG3 || XPG4] (timer_settime): Likewise.
19513 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19514 [XPG3 || XPG4] (getlogin_r): Likewise.
19515 [XPG3 || XPG4] (pread): Likewise.
19516 [XPG3 || XPG4] (pthread_atfork): Likewise.
19517 [XPG3 || XPG4] (pwrite): Likewise.
19520 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19523 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19525 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19526 finalizing MALLSTREAM.
19528 * sysdeps/mach/hurd/syncfs.c: New file.
19530 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19534 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19536 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19537 (_nss_dns_gethostbyname4_r): Likewise.
19538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19539 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19541 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19544 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19546 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19548 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19549 * elf/cache.c (print_entry): Print ",AArch64" for
19552 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19553 * elf/cache.c (print_entry): Print ",hard-float" for
19556 2012-11-18 David S. Miller <davem@davemloft.net>
19558 With help from Joseph Myers.
19559 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19561 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19563 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19564 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19567 * math/libm-test.inc (y0_test): New tests.
19568 (y1_test): New tests.
19569 * sysdeps/i386/fpu/libm-test-ulps: Update.
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19573 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19575 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19577 * configure: Regenerated.
19579 2012-11-17 David S. Miller <davem@davemloft.net>
19582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19583 nonzero exponents with absolute value below 0x1p-128 to +/-
19586 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19588 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19590 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19592 * posix/getconf-speclist.c: New file.
19593 * posix/posix-envs.def: Likewise.
19594 * posix/confstr.c (START_ENV_GROUP): New macro.
19595 (END_ENV_GROUP): Likewise.
19596 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19597 (KNOWN_PRESENT_ENV_STRING): Likewise.
19598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19599 (UNKNOWN_ENVIRONMENT): Likewise.
19600 (confstr): Include posix-envs.def instead of handling
19601 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19602 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19603 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19604 (END_ENV_GROUP): Likewise.
19605 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19606 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19607 (UNKNOWN_ENVIRONMENT): Likewise.
19608 (__sysconf): Include posix-envs.def instead of handling associated
19609 cases directly here.
19610 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19611 preprocessing getconf-speclist.c rather than running getconf or
19612 generating empty file.
19614 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19616 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19618 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19621 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19623 2012-11-16 David S. Miller <davem@davemloft.net>
19625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19626 smaller than LDBL_EPSILON/2.0L, just return xm1.
19628 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19630 * elf/tst-array1.c (init): Set constructor priority to 1000.
19631 (fini): Set destructor priority to 1000.
19632 * elf/tst-array2dep.c: Likewise.
19634 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19637 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19638 (_IO_new_file_xsputn): Also return EOF if none of the input
19639 data was written when overflow failed.
19640 * libio/iopadn.c (_IO_padn): Likewise.
19641 * libio/iowpadn.c (_IO_wpadn): Likewise.
19642 * stdio-common/tst-put-error.c: Add copyright notice.
19643 (do_test): Add case for printing padded string.
19644 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19645 _IO_padn returned error.
19646 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19647 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19650 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19652 * libio/libioP.h: Add comment note that the references to C++
19653 bits are now obsolete.
19655 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19657 * math/libm-test.inc (check_complex): Use asprintf.
19659 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19661 * debug/pcprofiledump.c (print_version): Update copyright year.
19662 * malloc/memusagestat.c (print_version): Likewise.
19664 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19667 * elf/Makefile (tests): Add tst-audit8.
19668 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19669 ($(objpfx)tst-audit8.out): New target.
19670 (tst-audit8-ENV): New variable.
19671 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19672 audit if l_reloc_result is NULL.
19673 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19674 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19675 * elf/tst-audit8.c: New file.
19677 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19679 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19680 * misc/Makefile (CFLAGS-select.c): Define.
19681 * posix/Makefile (CFLAGS-pause.c): Define.
19683 2012-11-13 David S. Miller <davem@davemloft.net>
19685 * crypt/Makefile: Move test targets after toplevel Rules
19686 inclusion. Grab any necessary sysdep routines when linking.
19687 * crypt/md5.c (md5_process_block): Remove define, we will always
19688 name it __md5_process_block.
19689 (md5_finish_ctx): Update md5_process_block call.
19690 (md5_stream): Likewise.
19691 (md5_process_bytes): Likewise.
19692 (md5_process_block): Rename to __md5_process_block and move to ...
19693 * crypt/md5-block.c: ... here.
19694 * crypt/sha256.c (sha256_process_block): Move to ...
19695 * crypt/sha256-block.c: ... here.
19696 * crypt/sha512.c (sha512_process_block): Move to ...
19697 * crypt/sha512-block.c: ... here.
19698 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19700 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19701 * sysdeps/sparc/sparc64/multiarch/Makefile
19702 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19704 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19707 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19708 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19709 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19710 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19711 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19712 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19713 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19714 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19718 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19722 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19724 * timezone/tzselect.ksh: Update from tzcode git revision
19725 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19726 * timezone/zdump.c: Likewise.
19727 * timezone/zic.c: Likewise.
19728 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19729 in TZVERSION setting, not $(PKGVERSION).
19730 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19731 REPORT_BUGS_TO settings.
19734 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19737 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19740 detection to immediately after _FP_ROUND().
19741 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19744 2012-11-11 David S. Miller <davem@davemloft.net>
19746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19748 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19749 __close rather than their public counterparts.
19751 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19753 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19755 [UNIX98] (sem_timedwait): Do not expect.
19756 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19757 [XPG4 || UNIX98] (sockatmark): Do not expect.
19758 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19759 (clock_getcpuclockid): Do not expect.
19760 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19761 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19763 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19764 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19765 [UNIX98] (vwscanf): Likewise.
19766 [UNIX98] (vswscanf): Likewise.
19768 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19770 * timezone/version.h: Remove file.
19771 * timezone/README: Do not refer to version.h.
19772 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19773 $(objpfx)version.h.
19774 ($(objpfx)zdump.o): Likewise.
19775 ($(objpfx)version.h): New target.
19777 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19779 * timezone/README: Don't mention modification to tzselect.ksh.
19780 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19781 work on unmodified tzselect.ksh. Substitute version numbers in
19784 * Makefile (format-me): Remove.
19785 (INSTALL): Adjust indentation. Use commands directly instead of
19786 using $(format-me).
19788 * aclocal.m4 (ACX_PKGVERSION): New macro.
19789 (ACX_BUGURL): Likewise.
19790 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19791 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19792 (REPORT_BUGS_TO): Likewise.
19793 * configure: Regenerated.
19794 * config.h.in (PKGVERSION): New macro.
19795 (REPORT_BUGS_TO): Likewise.
19796 * config.make.in (PKGVERSION): New variable.
19797 (PKGVERSION_TEXI): Likewise.
19798 (REPORT_BUGS_TO): Likewise.
19799 (REPORT_BUGS_TEXI): Likewise.
19800 * Makefile (format-me): Use -I$(common-objpfx)manual.
19801 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19802 ($(common-objpfx)manual/%): New target.
19803 (manual/%): Remove target.
19804 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19805 (print_version): Use PKGVERSION.
19806 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19807 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19808 and REPORT_BUGS_TO.
19809 ($(objpfx)xtrace): Likewise.
19810 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19811 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19812 (print_version): Use PKGVERSION.
19813 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19814 (do_version): Use PKGVERSION.
19815 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19817 (common-ldd-rewrite): Likewise.
19818 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19819 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19820 (print_version): Use PKGVERSION.
19821 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19822 * elf/pldd.c (argp_program_bug_address): Remove variable.
19823 (more_help): New function.
19824 (argp): Use more_help.
19825 (print_version): Use PKGVERSION.
19826 * elf/sln.c (main): Use PKGVERSION.
19827 (usage): Use REPORT_BUGS_TO.
19828 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19829 (top level): Use PKGVERSION.
19830 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19831 (print_version): Use PKGVERSION.
19832 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19833 (print_version): Use PKGVERSION.
19834 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19835 (print_version): Use PKGVERSION.
19836 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19837 (print_version): Use PKGVERSION.
19838 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19839 (print_version): Use PKGVERSION.
19840 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19841 (print_version): Use PKGVERSION.
19842 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19844 ($(objpfx)memusage): Likewise.
19845 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19846 (do_version): Use PKGVERSION.
19847 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19848 (print_version): Use PKGVERSION.
19849 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19850 ($PKGVERSION): New variable.
19851 ($REPORT_BUGS_TO): Likewise.
19852 (usage): Use $REPORT_BUGS_TO.
19853 (top level): Use $PKGVERSION.
19854 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19855 ($(objpfx)pkgvers.texi): New rule.
19856 ($(objpfx)stamp-pkgvers): Likewise.
19857 * manual/install.texi: Include pkgvers.texi.
19858 (--with-pkgversion): Document new configure option.
19859 (--with-bugurl): Likewise.
19860 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19861 than necessarily for this particular distribution. Use
19862 REPORT_BUGS_TO for where to report bugs.
19863 * INSTALL: Regenerated.
19864 * manual/libc.texinfo: Include pkgvers.texi.
19865 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19866 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19867 (print_version): Use PKGVERSION.
19868 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19869 (print_version): Use PKGVERSION.
19870 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19871 (print_version): Use PKGVERSION.
19872 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19873 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19875 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19876 (print_version): Use PKGVERSION.
19877 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19878 (print_version): Use PKGVERSION.
19879 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19882 * timezone/checktab.awk: Update from tzcode 2012i.
19883 * timezone/ialloc.c: Likewise.
19884 * timezone/private.h: Likewise.
19885 * timezone/scheck.c: Likewise.
19886 * timezone/tzfile.h: Likewise.
19887 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19888 (TZVERSION): Hardcode tzcode version number.
19889 * timezone/zdump.c: Update from tzcode 2012i.
19890 * timezone/zic.c: Likewise.
19891 * timezone/version.h: New file.
19892 * timezone/README: Describe version.h. Update upstream location.
19895 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19896 (mktemp): Enable declaration.
19897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19914 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19915 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19916 for copies of such integer values.
19917 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19918 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19920 2012-11-09 Andreas Jaeger <aj@suse.de>
19922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19923 definitions and declarations that are provided by
19924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19926 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19929 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19930 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19933 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19935 * elf/elf.h: Update comment before AArch64 relocations.
19937 2012-11-07 David S. Miller <davem@davemloft.net>
19939 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19941 (__start_context): Declare.
19942 (__makecontext_ret): Delete.
19943 (__makecontext): Hook up __start_context instead of
19945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19946 (sysdep_routines): Add __start_context when in stdlib.
19948 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19951 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19952 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19954 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19955 (READELF): New variable. Use it instead of hardcoded "readelf".
19957 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19959 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19960 * sysdeps/x86/Makefile: Here.
19961 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19962 * sysdeps/x86/tst-xmmymm.sh: This.
19964 2012-11-07 Joseph Myers <joseph@codesourcery.com>
19966 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19968 [UNIX98] (pthread_barrier_t): Do not expect.
19969 [UNIX98] (pthread_barrierattr_t): Likewise.
19970 [UNIX98] (pthread_spinlock_t): Likewise.
19971 [UNIX98] (pthread_barrier_destroy): Likewise.
19972 [UNIX98] (pthread_barrier_init): Likewise.
19973 [UNIX98] (pthread_barrier_wait): Likewise.
19974 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19975 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19976 [UNIX98] (pthread_barrierattr_init): Likewise.
19977 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19978 [UNIX98] (pthread_getcpuclockid): Likewise.
19979 [UNIX98] (pthread_mutex_timedlock): Likewise.
19980 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19981 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19982 [UNIX98] (pthread_sigmask): Likewise.
19983 [UNIX98] (pthread_spin_destroy): Likewise.
19984 [UNIX98] (pthread_spin_init): Likewise.
19985 [UNIX98] (pthread_spin_lock): Likewise.
19986 [UNIX98] (pthread_spin_trylock): Likewise.
19987 [UNIX98] (pthread_spin_unlock): Likewise.
19988 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19990 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19992 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19993 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19994 [XPG3 || XPG4] (pthread_key_t): Likewise.
19995 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19996 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19997 [XPG3 || XPG4] (pthread_once_t): Likewise.
19998 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19999 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20000 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20001 [XPG3 || XPG4] (pthread_t): Likewise.
20003 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20005 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20008 Change function return type to int.
20010 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20011 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20012 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20013 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20014 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20015 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20016 [!POSIX] (posix_madvise): Likewise.
20017 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20019 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20020 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20021 (mode_t): Likewise.
20022 (posix_mem_offset): Likewise.
20023 (posix_typed_mem_get_info): Likewise.
20024 (posix_typed_mem_open): Likewise.
20026 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20027 Change condition to [XOPEN2K8].
20029 * conform/conformtest.pl: Preprocess allow-header data with -x c
20030 instead of from stdin.
20031 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20032 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20033 [C99-based standards] (cerfc): Likewise.
20034 [C99-based standards] (cexp2): Likewise.
20035 [C99-based standards] (cexpm1): Likewise.
20036 [C99-based standards] (clog10): Likewise.
20037 [C99-based standards] (clog1p): Likewise.
20038 [C99-based standards] (clog2): Likewise.
20039 [C99-based standards] (clgamma): Likewise.
20040 [C99-based standards] (ctgamma): Likewise.
20041 [C99-based standards] (cerff): Likewise.
20042 [C99-based standards] (cerfcf): Likewise.
20043 [C99-based standards] (cexp2f): Likewise.
20044 [C99-based standards] (cexpm1f): Likewise.
20045 [C99-based standards] (clog10f): Likewise.
20046 [C99-based standards] (clog1pf): Likewise.
20047 [C99-based standards] (clog2f): Likewise.
20048 [C99-based standards] (clgammaf): Likewise.
20049 [C99-based standards] (ctgammaf): Likewise.
20050 [C99-based standards] (cerfl): Likewise.
20051 [C99-based standards] (cerfcl): Likewise.
20052 [C99-based standards] (cexp2l): Likewise.
20053 [C99-based standards] (cexpm1l): Likewise.
20054 [C99-based standards] (clog10l): Likewise.
20055 [C99-based standards] (clog1pl): Likewise.
20056 [C99-based standards] (clog2l): Likewise.
20057 [C99-based standards] (clgammal): Likewise.
20058 [C99-based standards] (ctgammal): Likewise.
20059 * conform/data/inttypes.h-data [C99-based standards]: Include
20060 stdint.h-data. Remove all expectations for stdint.h contents.
20061 [C99-based standards] (PRI*): Do not allow.
20062 [C99-based standards] (SCN*): Likewise.
20063 [C99-based standards] (*_t): Likewise.
20064 [C99-based-standards] (PRId8): Expect macro.
20065 [C99-based-standards] (PRIi8): Likewise.
20066 [C99-based-standards] (PRIo8): Likewise.
20067 [C99-based-standards] (PRIu8): Likewise.
20068 [C99-based-standards] (PRIx8): Likewise.
20069 [C99-based-standards] (PRIX8): Likewise.
20070 [C99-based-standards] (SCNd8): Likewise.
20071 [C99-based-standards] (SCNi8): Likewise.
20072 [C99-based-standards] (SCNo8): Likewise.
20073 [C99-based-standards] (SCNu8): Likewise.
20074 [C99-based-standards] (SCNx8): Likewise.
20075 [C99-based-standards] (PRIdLEAST8): Likewise.
20076 [C99-based-standards] (PRIiLEAST8): Likewise.
20077 [C99-based-standards] (PRIoLEAST8): Likewise.
20078 [C99-based-standards] (PRIuLEAST8): Likewise.
20079 [C99-based-standards] (PRIxLEAST8): Likewise.
20080 [C99-based-standards] (PRIXLEAST8): Likewise.
20081 [C99-based-standards] (SCNdLEAST8): Likewise.
20082 [C99-based-standards] (SCNiLEAST8): Likewise.
20083 [C99-based-standards] (SCNoLEAST8): Likewise.
20084 [C99-based-standards] (SCNuLEAST8): Likewise.
20085 [C99-based-standards] (SCNxLEAST8): Likewise.
20086 [C99-based-standards] (PRIdFAST8): Likewise.
20087 [C99-based-standards] (PRIiFAST8): Likewise.
20088 [C99-based-standards] (PRIoFAST8): Likewise.
20089 [C99-based-standards] (PRIuFAST8): Likewise.
20090 [C99-based-standards] (PRIxFAST8): Likewise.
20091 [C99-based-standards] (PRIXFAST8): Likewise.
20092 [C99-based-standards] (SCNdFAST8): Likewise.
20093 [C99-based-standards] (SCNiFAST8): Likewise.
20094 [C99-based-standards] (SCNoFAST8): Likewise.
20095 [C99-based-standards] (SCNuFAST8): Likewise.
20096 [C99-based-standards] (SCNxFAST8): Likewise.
20097 [C99-based-standards] (PRId16): Likewise.
20098 [C99-based-standards] (PRIi16): Likewise.
20099 [C99-based-standards] (PRIo16): Likewise.
20100 [C99-based-standards] (PRIu16): Likewise.
20101 [C99-based-standards] (PRIx16): Likewise.
20102 [C99-based-standards] (PRIX16): Likewise.
20103 [C99-based-standards] (SCNd16): Likewise.
20104 [C99-based-standards] (SCNi16): Likewise.
20105 [C99-based-standards] (SCNo16): Likewise.
20106 [C99-based-standards] (SCNu16): Likewise.
20107 [C99-based-standards] (SCNx16): Likewise.
20108 [C99-based-standards] (PRIdLEAST16): Likewise.
20109 [C99-based-standards] (PRIiLEAST16): Likewise.
20110 [C99-based-standards] (PRIoLEAST16): Likewise.
20111 [C99-based-standards] (PRIuLEAST16): Likewise.
20112 [C99-based-standards] (PRIxLEAST16): Likewise.
20113 [C99-based-standards] (PRIXLEAST16): Likewise.
20114 [C99-based-standards] (SCNdLEAST16): Likewise.
20115 [C99-based-standards] (SCNiLEAST16): Likewise.
20116 [C99-based-standards] (SCNoLEAST16): Likewise.
20117 [C99-based-standards] (SCNuLEAST16): Likewise.
20118 [C99-based-standards] (SCNxLEAST16): Likewise.
20119 [C99-based-standards] (PRIdFAST16): Likewise.
20120 [C99-based-standards] (PRIiFAST16): Likewise.
20121 [C99-based-standards] (PRIoFAST16): Likewise.
20122 [C99-based-standards] (PRIuFAST16): Likewise.
20123 [C99-based-standards] (PRIxFAST16): Likewise.
20124 [C99-based-standards] (PRIXFAST16): Likewise.
20125 [C99-based-standards] (SCNdFAST16): Likewise.
20126 [C99-based-standards] (SCNiFAST16): Likewise.
20127 [C99-based-standards] (SCNoFAST16): Likewise.
20128 [C99-based-standards] (SCNuFAST16): Likewise.
20129 [C99-based-standards] (SCNxFAST16): Likewise.
20130 [C99-based-standards] (PRId32): Likewise.
20131 [C99-based-standards] (PRIi32): Likewise.
20132 [C99-based-standards] (PRIo32): Likewise.
20133 [C99-based-standards] (PRIu32): Likewise.
20134 [C99-based-standards] (PRIx32): Likewise.
20135 [C99-based-standards] (PRIX32): Likewise.
20136 [C99-based-standards] (SCNd32): Likewise.
20137 [C99-based-standards] (SCNi32): Likewise.
20138 [C99-based-standards] (SCNo32): Likewise.
20139 [C99-based-standards] (SCNu32): Likewise.
20140 [C99-based-standards] (SCNx32): Likewise.
20141 [C99-based-standards] (PRIdLEAST32): Likewise.
20142 [C99-based-standards] (PRIiLEAST32): Likewise.
20143 [C99-based-standards] (PRIoLEAST32): Likewise.
20144 [C99-based-standards] (PRIuLEAST32): Likewise.
20145 [C99-based-standards] (PRIxLEAST32): Likewise.
20146 [C99-based-standards] (PRIXLEAST32): Likewise.
20147 [C99-based-standards] (SCNdLEAST32): Likewise.
20148 [C99-based-standards] (SCNiLEAST32): Likewise.
20149 [C99-based-standards] (SCNoLEAST32): Likewise.
20150 [C99-based-standards] (SCNuLEAST32): Likewise.
20151 [C99-based-standards] (SCNxLEAST32): Likewise.
20152 [C99-based-standards] (PRIdFAST32): Likewise.
20153 [C99-based-standards] (PRIiFAST32): Likewise.
20154 [C99-based-standards] (PRIoFAST32): Likewise.
20155 [C99-based-standards] (PRIuFAST32): Likewise.
20156 [C99-based-standards] (PRIxFAST32): Likewise.
20157 [C99-based-standards] (PRIXFAST32): Likewise.
20158 [C99-based-standards] (SCNdFAST32): Likewise.
20159 [C99-based-standards] (SCNiFAST32): Likewise.
20160 [C99-based-standards] (SCNoFAST32): Likewise.
20161 [C99-based-standards] (SCNuFAST32): Likewise.
20162 [C99-based-standards] (SCNxFAST32): Likewise.
20163 [C99-based-standards] (PRId64): Likewise.
20164 [C99-based-standards] (PRIi64): Likewise.
20165 [C99-based-standards] (PRIo64): Likewise.
20166 [C99-based-standards] (PRIu64): Likewise.
20167 [C99-based-standards] (PRIx64): Likewise.
20168 [C99-based-standards] (PRIX64): Likewise.
20169 [C99-based-standards] (SCNd64): Likewise.
20170 [C99-based-standards] (SCNi64): Likewise.
20171 [C99-based-standards] (SCNo64): Likewise.
20172 [C99-based-standards] (SCNu64): Likewise.
20173 [C99-based-standards] (SCNx64): Likewise.
20174 [C99-based-standards] (PRIdLEAST64): Likewise.
20175 [C99-based-standards] (PRIiLEAST64): Likewise.
20176 [C99-based-standards] (PRIoLEAST64): Likewise.
20177 [C99-based-standards] (PRIuLEAST64): Likewise.
20178 [C99-based-standards] (PRIxLEAST64): Likewise.
20179 [C99-based-standards] (PRIXLEAST64): Likewise.
20180 [C99-based-standards] (SCNdLEAST64): Likewise.
20181 [C99-based-standards] (SCNiLEAST64): Likewise.
20182 [C99-based-standards] (SCNoLEAST64): Likewise.
20183 [C99-based-standards] (SCNuLEAST64): Likewise.
20184 [C99-based-standards] (SCNxLEAST64): Likewise.
20185 [C99-based-standards] (PRIdFAST64): Likewise.
20186 [C99-based-standards] (PRIiFAST64): Likewise.
20187 [C99-based-standards] (PRIoFAST64): Likewise.
20188 [C99-based-standards] (PRIuFAST64): Likewise.
20189 [C99-based-standards] (PRIxFAST64): Likewise.
20190 [C99-based-standards] (PRIXFAST64): Likewise.
20191 [C99-based-standards] (SCNdFAST64): Likewise.
20192 [C99-based-standards] (SCNiFAST64): Likewise.
20193 [C99-based-standards] (SCNoFAST64): Likewise.
20194 [C99-based-standards] (SCNuFAST64): Likewise.
20195 [C99-based-standards] (SCNxFAST64): Likewise.
20196 [C99-based-standards] (PRIdMAX): Likewise.
20197 [C99-based-standards] (PRIiMAX): Likewise.
20198 [C99-based-standards] (PRIoMAX): Likewise.
20199 [C99-based-standards] (PRIuMAX): Likewise.
20200 [C99-based-standards] (PRIxMAX): Likewise.
20201 [C99-based-standards] (PRIXMAX): Likewise.
20202 [C99-based-standards] (SCNdMAX): Likewise.
20203 [C99-based-standards] (SCNiMAX): Likewise.
20204 [C99-based-standards] (SCNoMAX): Likewise.
20205 [C99-based-standards] (SCNuMAX): Likewise.
20206 [C99-based-standards] (SCNxMAX): Likewise.
20207 [C99-based-standards] (PRIdPTR): Likewise.
20208 [C99-based-standards] (PRIiPTR): Likewise.
20209 [C99-based-standards] (PRIoPTR): Likewise.
20210 [C99-based-standards] (PRIuPTR): Likewise.
20211 [C99-based-standards] (PRIxPTR): Likewise.
20212 [C99-based-standards] (PRIXPTR): Likewise.
20213 [C99-based-standards] (SCNdPTR): Likewise.
20214 [C99-based-standards] (SCNiPTR): Likewise.
20215 [C99-based-standards] (SCNoPTR): Likewise.
20216 [C99-based-standards] (SCNuPTR): Likewise.
20217 [C99-based-standards] (SCNxPTR): Likewise.
20218 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20220 * conform/data/stdint.h-data: Update comments to clarify
20222 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20224 [C99-based standards] (INT8_MAX): Likewise.
20225 [C99-based standards] (INT16_MIN): Likewise.
20226 [C99-based standards] (INT16_MAX): Likewise.
20227 [C99-based standards] (INT32_MIN): Likewise.
20228 [C99-based standards] (INT32_MAX): Likewise.
20229 [C99-based standards] (INT64_MIN): Likewise.
20230 [C99-based standards] (INT64_MAX): Likewise.
20231 [C99-based standards] (UINT8_MAX): Likewise.
20232 [C99-based standards] (UINT16_MAX): Likewise.
20233 [C99-based standards] (UINT32_MAX): Likewise.
20234 [C99-based standards] (UINT64_MAX): Likewise.
20235 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20236 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20237 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20238 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20239 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20240 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20241 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20242 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20243 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20244 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20245 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20246 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20247 [C99-based standards] (INT_FAST8_MIN): Likewise.
20248 [C99-based standards] (INT_FAST8_MAX): Likewise.
20249 [C99-based standards] (INT_FAST16_MIN): Likewise.
20250 [C99-based standards] (INT_FAST16_MAX): Likewise.
20251 [C99-based standards] (INT_FAST32_MIN): Likewise.
20252 [C99-based standards] (INT_FAST32_MAX): Likewise.
20253 [C99-based standards] (INT_FAST64_MIN): Likewise.
20254 [C99-based standards] (INT_FAST64_MAX): Likewise.
20255 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20256 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20257 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20258 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20259 [C99-based standards] (INTPTR_MIN): Likewise.
20260 [C99-based standards] (INTPTR_MAX): Likewise.
20261 [C99-based standards] (UINTPTR_MAX): Likewise.
20262 [C99-based standards] (INTMAX_MIN): Likewise.
20263 [C99-based standards] (INTMAX_MAX): Likewise.
20264 [C99-based standards] (UINTMAX_MAX): Likewise.
20265 [C99-based standards] (PTRDIFF_MIN): Likewise.
20266 [C99-based standards] (PTRDIFF_MAX): Likewise.
20267 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20268 [C99-based standards] (SIZE_MAX): Likewise.
20269 [C99-based standards] (WCHAR_MAX): Likewise.
20270 [C99-based standards] (WINT_MAX): Likewise.
20271 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20272 constraint on value.
20273 [C99-based standards] (WCHAR_MIN): Likewise.
20274 [C99-based standards] (WINT_MIN): Likewise.
20275 [C99-based standards] (*_t): Allow.
20276 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20277 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20278 Include math.h-data and complex.h-data. Remove all expectations
20279 of math.h and complex.h contents.
20280 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20282 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20283 (struct tm): Expect tag.
20284 [C99-based-standards] (wcstof): Expect function.
20285 [C99-based-standards] (wcstold): Likewise.
20286 [C99-based-standards] (wcstoll): Likewise.
20287 [C99-based-standards] (wcstoull): Likewise.
20288 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20289 macro-int-constant. Specify type.
20290 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20291 constraint on value.
20292 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20294 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20296 [ISO C standards]: Do not allow headers.
20297 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20298 wcs[abcdefghijklmnopqrstuvwxyz]*.
20299 [ISO C standards] (*_t): Do not allow.
20300 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20302 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20305 [ISO C standards]: Do not allow headers.
20306 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20307 is[abcdefghijklmnopqrstuvwxyz]*.
20308 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20309 to[abcdefghijklmnopqrstuvwxyz]*.
20310 [ISO C standards] (*_t): Do not allow.
20311 * conform/data/stdalign.h-data: New file.
20312 * conform/data/stdbool.h-data: Likewise.
20313 * conform/data/stdnoreturn.h-data: Likewise.
20315 2012-11-07 Roland McGrath <roland@hack.frob.com>
20318 * manual/filesys.texi (Directory Entries): Typo fix.
20319 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20321 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20323 * elf/elf.h (EM_AARCH64): New macro.
20324 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20325 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20326 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20327 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20328 (R_AARCH64_TLSDESC): Likewise.
20329 (NT_ARM_TLS): Likewise.
20330 (NT_ARM_HW_BREAK): Likewise.
20331 (NT_ARM_HW_WATCH): Likewise.
20333 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20336 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20337 (__ieee754_powl): Saturate nonzero exponents with absolute value
20338 below 0x1p-79 to +/- 0x1p-79.
20339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20340 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20341 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20342 nonzero exponents with absolute value below 0x1p-32 to +/-
20344 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20345 (__ieee754_powl): Saturate nonzero exponents with absolute value
20346 below 0x1p-79 to +/- 0x1p-79.
20347 * math/libm-test.inc (pow_test): Add more tests.
20349 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20352 _dl_s390_cap_flags with kernel. Increase string length.
20353 (_dl_s390_platforms): Add z196 and zEC12.
20355 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20357 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20358 Change XOPEN21K to XOPEN2K.
20360 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20362 * string/memmove.c: Use memcpy when possible.
20364 2012-11-06 Andreas Jaeger <aj@suse.de>
20366 * po/eo.po: Update from translation team.
20368 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20372 exponent and small x and y exponents, scale x or y up. Increase
20373 by 2 the exponent used in scaling up.
20374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20376 * math/libm-test.inc (fma_test): Add more tests.
20377 (fma_test_towardzero): Likewise.
20378 (fma_test_downward): Likewise.
20379 (fma_test_upward): Likewise.
20381 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20384 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20388 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20389 namespace for names of struct fields.
20390 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20392 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20393 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20395 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20398 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20400 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20402 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20406 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20409 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20413 definitely overflow as x * y not x * y + z.
20414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20416 * math/libm-test.inc (fma_test): Add more tests.
20417 (fma_test_towardzero): Likewise.
20418 (fma_test_downward): Likewise.
20419 (fma_test_upward): Likewise.
20421 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20425 * include/stub-tag.h: Remove file.
20426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20428 * manual/maint.texi (Porting): Don't reference it.
20429 * Makerules ($(objpfx)stubs): Likewise.
20430 * dirent/closedir.c: Don't include <stub-tag.h>.
20431 * dirent/dirfd.c: Likewise.
20432 * dirent/fdopendir.c: Likewise.
20433 * dirent/getdents.c: Likewise.
20434 * dirent/getdents64.c: Likewise.
20435 * dirent/opendir.c: Likewise.
20436 * dirent/readdir.c: Likewise.
20437 * dirent/readdir64.c: Likewise.
20438 * dirent/readdir64_r.c: Likewise.
20439 * dirent/readdir_r.c: Likewise.
20440 * dirent/rewinddir.c: Likewise.
20441 * dirent/seekdir.c: Likewise.
20442 * dirent/telldir.c: Likewise.
20443 * gmon/profil.c: Likewise.
20444 * grp/setgroups.c: Likewise.
20445 * inet/if_index.c: Likewise.
20446 * io/access.c: Likewise.
20447 * io/chdir.c: Likewise.
20448 * io/chmod.c: Likewise.
20449 * io/chown.c: Likewise.
20450 * io/close.c: Likewise.
20451 * io/dup.c: Likewise.
20452 * io/dup2.c: Likewise.
20453 * io/dup3.c: Likewise.
20454 * io/euidaccess.c: Likewise.
20455 * io/faccessat.c: Likewise.
20456 * io/fchdir.c: Likewise.
20457 * io/fchmod.c: Likewise.
20458 * io/fchmodat.c: Likewise.
20459 * io/fchown.c: Likewise.
20460 * io/fchownat.c: Likewise.
20461 * io/fcntl.c: Likewise.
20462 * io/flock.c: Likewise.
20463 * io/fstatfs.c: Likewise.
20464 * io/fstatfs64.c: Likewise.
20465 * io/fstatvfs.c: Likewise.
20466 * io/fstatvfs64.c: Likewise.
20467 * io/futimens.c: Likewise.
20468 * io/fxstat.c: Likewise.
20469 * io/fxstat64.c: Likewise.
20470 * io/fxstatat.c: Likewise.
20471 * io/fxstatat64.c: Likewise.
20472 * io/getcwd.c: Likewise.
20473 * io/isatty.c: Likewise.
20474 * io/lchmod.c: Likewise.
20475 * io/lchown.c: Likewise.
20476 * io/link.c: Likewise.
20477 * io/linkat.c: Likewise.
20478 * io/lseek.c: Likewise.
20479 * io/lseek64.c: Likewise.
20480 * io/lxstat64.c: Likewise.
20481 * io/mkdir.c: Likewise.
20482 * io/mkdirat.c: Likewise.
20483 * io/mkfifo.c: Likewise.
20484 * io/mkfifoat.c: Likewise.
20485 * io/open.c: Likewise.
20486 * io/open64.c: Likewise.
20487 * io/openat.c: Likewise.
20488 * io/openat64.c: Likewise.
20489 * io/pipe.c: Likewise.
20490 * io/pipe2.c: Likewise.
20491 * io/poll.c: Likewise.
20492 * io/posix_fadvise.c: Likewise.
20493 * io/posix_fadvise64.c: Likewise.
20494 * io/posix_fallocate.c: Likewise.
20495 * io/posix_fallocate64.c: Likewise.
20496 * io/read.c: Likewise.
20497 * io/readlink.c: Likewise.
20498 * io/readlinkat.c: Likewise.
20499 * io/rmdir.c: Likewise.
20500 * io/sendfile.c: Likewise.
20501 * io/sendfile64.c: Likewise.
20502 * io/statfs.c: Likewise.
20503 * io/statfs64.c: Likewise.
20504 * io/statvfs.c: Likewise.
20505 * io/statvfs64.c: Likewise.
20506 * io/symlink.c: Likewise.
20507 * io/symlinkat.c: Likewise.
20508 * io/ttyname.c: Likewise.
20509 * io/ttyname_r.c: Likewise.
20510 * io/umask.c: Likewise.
20511 * io/unlink.c: Likewise.
20512 * io/unlinkat.c: Likewise.
20513 * io/utime.c: Likewise.
20514 * io/utimensat.c: Likewise.
20515 * io/write.c: Likewise.
20516 * io/xmknod.c: Likewise.
20517 * io/xmknodat.c: Likewise.
20518 * io/xstat.c: Likewise.
20519 * io/xstat64.c: Likewise.
20520 * login/getpt.c: Likewise.
20521 * login/grantpt.c: Likewise.
20522 * login/unlockpt.c: Likewise.
20523 * math/e_acoshl.c: Likewise.
20524 * math/e_acosl.c: Likewise.
20525 * math/e_asinl.c: Likewise.
20526 * math/e_atan2l.c: Likewise.
20527 * math/e_atanhl.c: Likewise.
20528 * math/e_coshl.c: Likewise.
20529 * math/e_expl.c: Likewise.
20530 * math/e_fmodl.c: Likewise.
20531 * math/e_gammal_r.c: Likewise.
20532 * math/e_hypotl.c: Likewise.
20533 * math/e_j0l.c: Likewise.
20534 * math/e_j1l.c: Likewise.
20535 * math/e_jnl.c: Likewise.
20536 * math/e_lgammal_r.c: Likewise.
20537 * math/e_log10l.c: Likewise.
20538 * math/e_log2l.c: Likewise.
20539 * math/e_logl.c: Likewise.
20540 * math/e_powl.c: Likewise.
20541 * math/e_rem_pio2l.c: Likewise.
20542 * math/e_sinhl.c: Likewise.
20543 * math/e_sqrtl.c: Likewise.
20544 * math/fclrexcpt.c: Likewise.
20545 * math/fedisblxcpt.c: Likewise.
20546 * math/feenablxcpt.c: Likewise.
20547 * math/fegetenv.c: Likewise.
20548 * math/fegetexcept.c: Likewise.
20549 * math/fegetround.c: Likewise.
20550 * math/feholdexcpt.c: Likewise.
20551 * math/fesetenv.c: Likewise.
20552 * math/fesetround.c: Likewise.
20553 * math/feupdateenv.c: Likewise.
20554 * math/fgetexcptflg.c: Likewise.
20555 * math/fraiseexcpt.c: Likewise.
20556 * math/fsetexcptflg.c: Likewise.
20557 * math/ftestexcept.c: Likewise.
20558 * math/k_cosl.c: Likewise.
20559 * math/k_rem_pio2l.c: Likewise.
20560 * math/k_sinl.c: Likewise.
20561 * math/k_tanl.c: Likewise.
20562 * math/s_asinhl.c: Likewise.
20563 * math/s_atanl.c: Likewise.
20564 * math/s_cbrtl.c: Likewise.
20565 * math/s_erfl.c: Likewise.
20566 * math/s_expm1l.c: Likewise.
20567 * math/s_log1pl.c: Likewise.
20568 * math/s_tanhl.c: Likewise.
20569 * misc/acct.c: Likewise.
20570 * misc/brk.c: Likewise.
20571 * misc/chflags.c: Likewise.
20572 * misc/chroot.c: Likewise.
20573 * misc/fchflags.c: Likewise.
20574 * misc/fgetxattr.c: Likewise.
20575 * misc/flistxattr.c: Likewise.
20576 * misc/fremovexattr.c: Likewise.
20577 * misc/fsetxattr.c: Likewise.
20578 * misc/fsync.c: Likewise.
20579 * misc/ftruncate.c: Likewise.
20580 * misc/futimes.c: Likewise.
20581 * misc/futimesat.c: Likewise.
20582 * misc/getdomain.c: Likewise.
20583 * misc/getdtsz.c: Likewise.
20584 * misc/gethostid.c: Likewise.
20585 * misc/gethostname.c: Likewise.
20586 * misc/getloadavg.c: Likewise.
20587 * misc/getpagesize.c: Likewise.
20588 * misc/getsysstats.c: Likewise.
20589 * misc/getxattr.c: Likewise.
20590 * misc/gtty.c: Likewise.
20591 * misc/ioctl.c: Likewise.
20592 * misc/lgetxattr.c: Likewise.
20593 * misc/listxattr.c: Likewise.
20594 * misc/llistxattr.c: Likewise.
20595 * misc/lremovexattr.c: Likewise.
20596 * misc/lsetxattr.c: Likewise.
20597 * misc/lutimes.c: Likewise.
20598 * misc/madvise.c: Likewise.
20599 * misc/mincore.c: Likewise.
20600 * misc/mlock.c: Likewise.
20601 * misc/mlockall.c: Likewise.
20602 * misc/mmap.c: Likewise.
20603 * misc/mprotect.c: Likewise.
20604 * misc/msync.c: Likewise.
20605 * misc/munlock.c: Likewise.
20606 * misc/munlockall.c: Likewise.
20607 * misc/munmap.c: Likewise.
20608 * misc/preadv.c: Likewise.
20609 * misc/preadv64.c: Likewise.
20610 * misc/ptrace.c: Likewise.
20611 * misc/pwritev.c: Likewise.
20612 * misc/pwritev64.c: Likewise.
20613 * misc/readv.c: Likewise.
20614 * misc/reboot.c: Likewise.
20615 * misc/remap_file_pages.c: Likewise.
20616 * misc/removexattr.c: Likewise.
20617 * misc/revoke.c: Likewise.
20618 * misc/select.c: Likewise.
20619 * misc/setdomain.c: Likewise.
20620 * misc/setegid.c: Likewise.
20621 * misc/seteuid.c: Likewise.
20622 * misc/sethostid.c: Likewise.
20623 * misc/sethostname.c: Likewise.
20624 * misc/setregid.c: Likewise.
20625 * misc/setreuid.c: Likewise.
20626 * misc/setxattr.c: Likewise.
20627 * misc/sstk.c: Likewise.
20628 * misc/stty.c: Likewise.
20629 * misc/swapoff.c: Likewise.
20630 * misc/swapon.c: Likewise.
20631 * misc/sync.c: Likewise.
20632 * misc/syncfs.c: Likewise.
20633 * misc/syscall.c: Likewise.
20634 * misc/truncate.c: Likewise.
20635 * misc/ualarm.c: Likewise.
20636 * misc/usleep.c: Likewise.
20637 * misc/ustat.c: Likewise.
20638 * misc/utimes.c: Likewise.
20639 * misc/vhangup.c: Likewise.
20640 * misc/writev.c: Likewise.
20641 * posix/_exit.c: Likewise.
20642 * posix/alarm.c: Likewise.
20643 * posix/execve.c: Likewise.
20644 * posix/fexecve.c: Likewise.
20645 * posix/fork.c: Likewise.
20646 * posix/fpathconf.c: Likewise.
20647 * posix/getaddrinfo.c: Likewise.
20648 * posix/getegid.c: Likewise.
20649 * posix/geteuid.c: Likewise.
20650 * posix/getgid.c: Likewise.
20651 * posix/getgroups.c: Likewise.
20652 * posix/getlogin.c: Likewise.
20653 * posix/getlogin_r.c: Likewise.
20654 * posix/getpgid.c: Likewise.
20655 * posix/getpid.c: Likewise.
20656 * posix/getppid.c: Likewise.
20657 * posix/getresgid.c: Likewise.
20658 * posix/getresuid.c: Likewise.
20659 * posix/getsid.c: Likewise.
20660 * posix/getuid.c: Likewise.
20661 * posix/glob64.c: Likewise.
20662 * posix/nanosleep.c: Likewise.
20663 * posix/pathconf.c: Likewise.
20664 * posix/pause.c: Likewise.
20665 * posix/posix_madvise.c: Likewise.
20666 * posix/pread.c: Likewise.
20667 * posix/pread64.c: Likewise.
20668 * posix/pwrite.c: Likewise.
20669 * posix/pwrite64.c: Likewise.
20670 * posix/sched_getaffinity.c: Likewise.
20671 * posix/sched_getp.c: Likewise.
20672 * posix/sched_gets.c: Likewise.
20673 * posix/sched_primax.c: Likewise.
20674 * posix/sched_primin.c: Likewise.
20675 * posix/sched_rr_gi.c: Likewise.
20676 * posix/sched_setaffinity.c: Likewise.
20677 * posix/sched_setp.c: Likewise.
20678 * posix/sched_sets.c: Likewise.
20679 * posix/sched_yield.c: Likewise.
20680 * posix/setgid.c: Likewise.
20681 * posix/setlogin.c: Likewise.
20682 * posix/setpgid.c: Likewise.
20683 * posix/setresgid.c: Likewise.
20684 * posix/setresuid.c: Likewise.
20685 * posix/setsid.c: Likewise.
20686 * posix/setuid.c: Likewise.
20687 * posix/sleep.c: Likewise.
20688 * posix/spawni.c: Likewise.
20689 * posix/sysconf.c: Likewise.
20690 * posix/times.c: Likewise.
20691 * posix/wait.c: Likewise.
20692 * posix/wait3.c: Likewise.
20693 * posix/wait4.c: Likewise.
20694 * posix/waitpid.c: Likewise.
20695 * resolv/gai_sigqueue.c: Likewise.
20696 * resource/getpriority.c: Likewise.
20697 * resource/getrlimit.c: Likewise.
20698 * resource/getrusage.c: Likewise.
20699 * resource/nice.c: Likewise.
20700 * resource/setpriority.c: Likewise.
20701 * resource/setrlimit.c: Likewise.
20702 * resource/ulimit.c: Likewise.
20703 * rt/aio_cancel.c: Likewise.
20704 * rt/aio_fsync.c: Likewise.
20705 * rt/aio_read.c: Likewise.
20706 * rt/aio_sigqueue.c: Likewise.
20707 * rt/aio_suspend.c: Likewise.
20708 * rt/aio_write.c: Likewise.
20709 * rt/clock_getres.c: Likewise.
20710 * rt/clock_gettime.c: Likewise.
20711 * rt/clock_nanosleep.c: Likewise.
20712 * rt/clock_settime.c: Likewise.
20713 * rt/lio_listio.c: Likewise.
20714 * rt/mq_close.c: Likewise.
20715 * rt/mq_getattr.c: Likewise.
20716 * rt/mq_notify.c: Likewise.
20717 * rt/mq_open.c: Likewise.
20718 * rt/mq_receive.c: Likewise.
20719 * rt/mq_send.c: Likewise.
20720 * rt/mq_setattr.c: Likewise.
20721 * rt/mq_timedreceive.c: Likewise.
20722 * rt/mq_timedsend.c: Likewise.
20723 * rt/mq_unlink.c: Likewise.
20724 * rt/shm_open.c: Likewise.
20725 * rt/shm_unlink.c: Likewise.
20726 * rt/timer_create.c: Likewise.
20727 * rt/timer_delete.c: Likewise.
20728 * rt/timer_getoverr.c: Likewise.
20729 * rt/timer_gettime.c: Likewise.
20730 * rt/timer_settime.c: Likewise.
20731 * setjmp/__longjmp.c: Likewise.
20732 * setjmp/setjmp.c: Likewise.
20733 * signal/kill.c: Likewise.
20734 * signal/killpg.c: Likewise.
20735 * signal/raise.c: Likewise.
20736 * signal/sigaction.c: Likewise.
20737 * signal/sigaltstack.c: Likewise.
20738 * signal/sigblock.c: Likewise.
20739 * signal/sigignore.c: Likewise.
20740 * signal/sigintr.c: Likewise.
20741 * signal/signal.c: Likewise.
20742 * signal/sigpause.c: Likewise.
20743 * signal/sigpending.c: Likewise.
20744 * signal/sigqueue.c: Likewise.
20745 * signal/sigreturn.c: Likewise.
20746 * signal/sigset.c: Likewise.
20747 * signal/sigsetmask.c: Likewise.
20748 * signal/sigstack.c: Likewise.
20749 * signal/sigsuspend.c: Likewise.
20750 * signal/sigtimedwait.c: Likewise.
20751 * signal/sigvec.c: Likewise.
20752 * signal/sigwait.c: Likewise.
20753 * signal/sigwaitinfo.c: Likewise.
20754 * signal/sysv_signal.c: Likewise.
20755 * socket/accept.c: Likewise.
20756 * socket/accept4.c: Likewise.
20757 * socket/bind.c: Likewise.
20758 * socket/connect.c: Likewise.
20759 * socket/getpeername.c: Likewise.
20760 * socket/getsockname.c: Likewise.
20761 * socket/getsockopt.c: Likewise.
20762 * socket/isfdtype.c: Likewise.
20763 * socket/listen.c: Likewise.
20764 * socket/recv.c: Likewise.
20765 * socket/recvfrom.c: Likewise.
20766 * socket/recvmsg.c: Likewise.
20767 * socket/send.c: Likewise.
20768 * socket/sendmsg.c: Likewise.
20769 * socket/sendto.c: Likewise.
20770 * socket/setsockopt.c: Likewise.
20771 * socket/shutdown.c: Likewise.
20772 * socket/sockatmark.c: Likewise.
20773 * socket/socket.c: Likewise.
20774 * socket/socketpair.c: Likewise.
20775 * stdio-common/ctermid.c: Likewise.
20776 * stdio-common/cuserid.c: Likewise.
20777 * stdio-common/remove.c: Likewise.
20778 * stdio-common/rename.c: Likewise.
20779 * stdio-common/renameat.c: Likewise.
20780 * stdio-common/tempname.c: Likewise.
20781 * stdlib/getcontext.c: Likewise.
20782 * stdlib/makecontext.c: Likewise.
20783 * stdlib/setcontext.c: Likewise.
20784 * stdlib/swapcontext.c: Likewise.
20785 * stdlib/system.c: Likewise.
20786 * streams/fattach.c: Likewise.
20787 * streams/fdetach.c: Likewise.
20788 * streams/getmsg.c: Likewise.
20789 * streams/getpmsg.c: Likewise.
20790 * streams/putmsg.c: Likewise.
20791 * streams/putpmsg.c: Likewise.
20792 * sysdeps/unix/bsd/getpt.c: Likewise.
20793 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20794 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20798 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20799 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20800 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20801 * sysvipc/msgctl.c: Likewise.
20802 * sysvipc/msgget.c: Likewise.
20803 * sysvipc/msgrcv.c: Likewise.
20804 * sysvipc/msgsnd.c: Likewise.
20805 * sysvipc/semctl.c: Likewise.
20806 * sysvipc/semget.c: Likewise.
20807 * sysvipc/semop.c: Likewise.
20808 * sysvipc/semtimedop.c: Likewise.
20809 * sysvipc/shmat.c: Likewise.
20810 * sysvipc/shmctl.c: Likewise.
20811 * sysvipc/shmdt.c: Likewise.
20812 * sysvipc/shmget.c: Likewise.
20813 * termios/tcdrain.c: Likewise.
20814 * termios/tcflow.c: Likewise.
20815 * termios/tcflush.c: Likewise.
20816 * termios/tcgetattr.c: Likewise.
20817 * termios/tcgetpgrp.c: Likewise.
20818 * termios/tcsendbrk.c: Likewise.
20819 * termios/tcsetattr.c: Likewise.
20820 * termios/tcsetpgrp.c: Likewise.
20821 * time/adjtime.c: Likewise.
20822 * time/clock.c: Likewise.
20823 * time/getitimer.c: Likewise.
20824 * time/gettimeofday.c: Likewise.
20825 * time/setitimer.c: Likewise.
20826 * time/settimeofday.c: Likewise.
20827 * time/stime.c: Likewise.
20828 * time/time.c: Likewise.
20830 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
20832 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20835 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20837 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20839 2012-11-03 Joseph Myers <joseph@codesourcery.com>
20842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20843 FE_TONEAREST before applying Dekker multiplication and Knuth
20844 addition. Clear inexact exceptions and check for exact zero
20845 results afterwards.
20846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20849 * math/libm-test.inc (fma_test): Add more tests.
20850 (fma_test_towardzero): Likewise.
20851 (fma_test_downward): Likewise.
20852 (fma_test_upward): Likewise.
20853 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20855 (libc_fesetround): New macro.
20856 (libc_fesetroundf): Likewise.
20857 (libc_fesetroundl): Likewise.
20858 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20860 (libc_fesetround_387): Likewise.
20861 (libc_fesetroundf): New macro.
20862 (libc_fesetround): Likewise.
20863 (libc_fesetroundl): Likewise.
20864 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20866 (libc_fesetroundf): New macro.
20867 (libc_fesetround): Likewise.
20868 (libc_fesetroundl): Likewise.
20869 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20870 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20871 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20873 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20874 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20876 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20877 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20879 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20883 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20884 integer constant usable in #if and use that to give value to enum
20886 (FE_DIVBYZERO): Likewise.
20887 (FE_UNDERFLOW): Likewise.
20888 (FE_OVERFLOW): Likewise.
20889 (FE_INVALID): Likewise.
20890 (FE_INVALID_SNAN): Likewise.
20891 (FE_INVALID_ISI): Likewise.
20892 (FE_INVALID_IDI): Likewise.
20893 (FE_INVALID_ZDZ): Likewise.
20894 (FE_INVALID_IMZ): Likewise.
20895 (FE_INVALID_COMPARE): Likewise.
20896 (FE_INVALID_SOFTWARE): Likewise.
20897 (FE_INVALID_SQRT): Likewise.
20898 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20899 (FE_TONEAREST): Likewise.
20900 (FE_TOWARDZERO): Likewise.
20901 (FE_UPWARD): Likewise.
20902 (FE_DOWNWARD): Likewise.
20903 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20904 (FE_DIVBYZERO): Likewise.
20905 (FE_OVERFLOW): Likewise.
20906 (FE_UNDERFLOW): Likewise.
20907 (FE_INEXACT): Likewise.
20908 (FE_TONEAREST): Likewise.
20909 (FE_DOWNWARD): Likewise.
20910 (FE_UPWARD): Likewise.
20911 (FE_TOWARDZERO): Likewise.
20912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20913 (FE_UNDERFLOW): Likewise.
20914 (FE_OVERFLOW): Likewise.
20915 (FE_DIVBYZERO): Likewise.
20916 (FE_INVALID): Likewise.
20917 (FE_TONEAREST): Likewise.
20918 (FE_TOWARDZERO): Likewise.
20919 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20920 (FE_OVERFLOW): Likewise.
20921 (FE_UNDERFLOW): Likewise.
20922 (FE_DIVBYZERO): Likewise.
20923 (FE_INEXACT): Likewise.
20924 (FE_TONEAREST): Likewise.
20925 (FE_TOWARDZERO): Likewise.
20926 (FE_UPWARD): Likewise.
20927 (FE_DOWNWARD): Likewise.
20928 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20929 (FE_DIVBYZERO): Likewise.
20930 (FE_OVERFLOW): Likewise.
20931 (FE_UNDERFLOW): Likewise.
20932 (FE_INEXACT): Likewise.
20933 (FE_TONEAREST): Likewise.
20934 (FE_DOWNWARD): Likewise.
20935 (FE_UPWARD): Likewise.
20936 (FE_TOWARDZERO): Likewise.
20938 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20940 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20942 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20944 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20945 commands. Quote $PWD.
20946 (blacklist_exports): Don't use remove_newlines. Replace "declare
20948 (remove_newlines): Remove.
20950 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20952 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20953 * stdlib/stdlib.h (atof): Moved to ...
20954 * include/bits/stdlib-float.h: Here. New file.
20955 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20956 * stdlib/bits/stdlib-float.h: New file.
20957 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20962 2012-11-02 Joseph Myers <joseph@codesourcery.com>
20964 * conform/conformtest.pl (@headers): Add fenv.h.
20965 * conform/data/fenv.h-data: New file.
20966 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20967 include of <math/fenv.h>.
20969 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20970 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20971 && !UNIX98]. Enables tests for XOPEN2K8.
20972 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20973 POSIX2008]: Likewise.
20975 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20976 (struct rusage): Do not expect type or its members.
20979 * math/math.h (FP_NAN): Define macro to integer constant usable in
20980 #if and use that to give value to enum constant.
20981 (FP_INFINITE): Likewise.
20982 (FP_ZERO): Likewise.
20983 (FP_SUBNORMAL): Likewise.
20984 (FP_NORMAL): Likewise.
20986 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20988 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20989 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20992 2012-11-02 Roland McGrath <roland@hack.frob.com>
20994 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20995 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20996 autoconf-time if not.
20997 * configure.in: Remove AC_PREREQ.
20999 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21001 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21002 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21003 of the internal implementation.
21005 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21007 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21008 except include of <misc/sys/syslog.h>.
21010 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21013 function returns with a NULL context exit with zero.
21015 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21017 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21019 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21021 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21022 (run_program_cmd): This.
21023 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21024 (tst_langinfo): New variable. Use it.
21026 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21028 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21029 floating point opcodes.
21031 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21033 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21036 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21038 * sysdeps/mach/hurd/powerpc: Remove directory.
21039 * sysdeps/mach/powerpc: Likewise.
21041 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21043 * scripts/check-local-headers.sh: Ignore c++ headers.
21045 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21047 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21048 __libc_cleanup_region_start argument.
21050 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21055 x * y using scaling, not as x * y + z.
21056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21058 * math/libm-test.inc (fma_test): Add more tests.
21059 (fma_test_towardzero): Likewise.
21060 (fma_test_downward): Likewise.
21061 (fma_test_upward): Likewise.
21063 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21065 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21067 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21069 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21072 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21074 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21076 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21083 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21086 Fix the order of the list for glibc 2.17.
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21090 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21094 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21098 for low part of x being zero before using __atanl (y).
21099 * math/libm-test.inc (atan2_test): Add another test.
21101 * manual/install.texi (Configuring and compiling): Document
21102 general use of test-wrapper and test-wrapper-env.
21103 * INSTALL: Regenerated.
21105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21106 (__fma): Do not extract and scale down low bits on after-rounding
21107 systems when result rounded to normal precision would have normal
21109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21110 (__fmal): Do not extract and scale down low bits on after-rounding
21111 systems when result rounded to normal precision would have normal
21113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21114 (__fmal): Do not extract and scale down low bits on after-rounding
21115 systems when result rounded to normal precision would have normal
21117 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21119 (fma_test): Add more tests.
21120 (fma_test_towardzero): Likewise.
21121 (fma_test_downward): Likewise.
21122 (fma_test_upward): Likewise.
21124 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21126 * sysdeps/i386/tininess.h: Renamed to ...
21127 * sysdeps/x86/tininess.h: This.
21128 * sysdeps/x86_64/tininess.h: Removed.
21130 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21132 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21133 input. Use $(build-program-cmd).
21134 ($(objpfx)tst-array1-static.out): Likewise.
21135 ($(objpfx)tst-array2.out): Likewise.
21136 ($(objpfx)tst-array3.out): Likewise.
21137 ($(objpfx)tst-array4.out): Likewise.
21138 ($(objpfx)tst-array5.out): Likewise.
21139 ($(objpfx)tst-array5-static.out): Likewise.
21141 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21143 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21146 * nss/nsswitch.h (nss_interface_function): Provide new
21147 macro for use with NSS functions.
21148 * grp/initgroups.c: Use new macro.
21149 * nss/getXXbyYY.c: Likewise.
21150 * nss/getXXbyYY_r.c: Likewise.
21151 * nss/getXXent.c: Likewise.
21152 * nss/getXXent_r.c: Likewise.
21153 * sysdeps/posix/getaddrinfo.c: Likewise.
21155 2012-10-30 Andreas Jaeger <aj@suse.de>
21157 * po/ru.po: Update Russion translation from translation project.
21159 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21164 result and shift together with sticky bit instead of replicating
21165 round-to-nearest rounding.
21166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21168 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21169 missing underflow exceptions.
21170 (fma_test_towardzero): Add more tests.
21171 (fma_test_downward): Likewise.
21172 (fma_test_upward): Likewise.
21175 * sysdeps/generic/tininess.h: New file.
21176 * sysdeps/i386/tininess.h: Likewise.
21177 * sysdeps/sh/tininess.h: Likewise.
21178 * sysdeps/x86_64/tininess.h: Likewise.
21179 * stdlib/tst-strtod-underflow.c: Likewise.
21180 * stdlib/tst-tininess.c: Likewise.
21181 * stdlib/strtod_l.c: Include <tininess.h>.
21182 (round_and_return): Do not set errno for exact underflow cases.
21183 Force an underflow exception when setting errno for underflow.
21184 Determine underflow based on rounding to normal precision if
21185 TININESS_AFTER_ROUNDING.
21186 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21187 ERANGE for exact underflow cases.
21188 * stdlib/Makefile (tests): Add tst-tininess and
21189 tst-strtod-underflow.
21190 ($(objpfx)tst-tininess): Use $(link-libm).
21191 ($(objpfx)tst-strtod-underflow): Likewise.
21193 2012-10-30 Andreas Jaeger <aj@suse.de>
21196 * elf/Makefile (tests): Remove conditional for have-initfini-array
21197 since this is now always required and the variable does not exist
21199 (tests-static): Likewise.
21200 (modules-names): Likewise.
21202 * po/eo.po: Add Esperanto translation from translation project.
21204 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21205 merged with constructor/destructor.
21206 (init_array): Likewise.
21207 * elf/tst-array2dep.c (fini_array): Likewise.
21208 (init_array): Likewise.
21210 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21212 * manual/message.texi: Delete @cartouche tags.
21214 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21216 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21218 * sysdeps/mach/hurd/fsync.c: Likewise.
21220 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21221 [_POSIX_REALTIME_SIGNALS]: Change condition to
21222 [_POSIX_REALTIME_SIGNALS > 0].
21224 2012-10-27 Andreas Jaeger <aj@suse.de>
21226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21227 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21229 [__WORDSIZE != 64]: Likewise.
21231 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21233 * iconvdata/tst-table.sh: Remove ${SHELL}.
21234 * iconvdata/tst-tables.sh: Likewise.
21236 2012-10-25 David S. Miller <davem@davemloft.net>
21238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21239 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21245 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21246 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21249 2012-10-25 Roland McGrath <roland@hack.frob.com>
21251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21252 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21255 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21256 Jim Blandy <jimb@codesourcery.com>
21258 * scripts/cross-test-ssh.sh: New file.
21259 * manual/install.texi (Configuring and compiling): Document use of
21261 * INSTALL: Regenerated.
21263 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21265 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21268 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21270 * Makeconfig (run-program-prefix): Fix comment.
21272 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21273 Jim Blandy <jimb@codesourcery.com>
21275 * Makeconfig (test-wrapper): New variable,
21276 (test-wrapper-env): Likewise.
21277 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21278 (run-built-tests): Define to yes.
21279 (run-program-prefix): Use $(test-wrapper).
21280 (built-program-cmd): Likewise.
21281 * Rules (make-test-out): Use $(test-wrapper-env) and
21282 $(host-built-program-cmd).
21283 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21284 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21286 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21287 $(test-wrapper-env) to tst-rtld-load-self.sh.
21288 ($(objpfx)order2.out): Use $(test-wrapper).
21289 ($(objpfx)tst-initorder.out): Likewise.
21290 ($(objpfx)tst-initorder2.out): Likewise.
21291 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21292 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21293 (test_wrapper_env): New variable. Use it to run ld.so.
21294 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21295 Use it to run ld.so.
21296 (test_wrapper_env): Likewise.
21297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21298 $(test-wrapper) to run-iconv-test.sh.
21299 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21300 (ICONV): Use $test_wrapper.
21301 * posix/Makefile ($(objpfx)globtest.out): Pass
21302 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21303 globtest.sh, not $(run-program-prefix).
21304 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21305 (test_wrapper): Likewise.
21306 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21307 set together with run_via_rtld_prefix.
21308 (run_program_prefix): Define in terms of test_wrapper and
21309 run_via_rtld_prefix.
21311 2012-10-24 Roland McGrath <roland@hack.frob.com>
21313 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21314 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21318 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21319 Declare __clock_getres, __clock_gettime, __clock_settime,
21320 __clock_nanosleep, and __clock_getcpuclockid.
21321 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21322 Remove librt_hidden_def (clock_gettime).
21323 * sysdeps/unix/clock_gettime.c: Likewise.
21324 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21326 * rt/clock_getres.c: Define __clock_getres as an alias.
21327 * sysdeps/posix/clock_getres.c: Likewise.
21328 * rt/clock_settime.c: Define __clock_settime as an alias.
21329 * sysdeps/unix/clock_settime.c: Likewise.
21330 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21331 * sysdeps/unix/clock_nanosleep.c: Likewise.
21332 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21333 * rt/clock-compat.c: New file.
21334 * rt/Makefile (librt-routines): Add clock-compat and move
21335 $(clock-routines) to ...
21336 (routines): ... here, new variable.
21337 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21338 Don't add get_clockfreq here.
21339 * rt/Versions (libc: GLIBC_2.17): New version set.
21340 Add clock_* symbols here.
21341 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21343 (GLIBC_2.17): Add clock_* symbols.
21344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21355 * NEWS: Mention the move.
21357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21358 Use __open, __read, __close rather than their public counterparts.
21359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21360 (__get_clockfreq_via_cpuinfo): Likewise.
21361 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21362 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21364 * config.h.in (HAVE_IFUNC): New #undef.
21365 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21367 * configure: Regenerated.
21369 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21371 * configure.in: Move READELF check to start of file.
21372 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21373 libc_cv_asm_gnu_indirect_function in the process.
21374 * configure: Regenerated.
21376 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21378 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21379 send the output to /dev/null.
21380 (libc_cv_cc_with_libunwind): Likewise.
21381 (libc_cv_as_noexecstack): Likewise.
21382 * configure: Regenerate.
21384 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21386 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21388 * posix/globtest.sh (TMPDIR): Do not set.
21389 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21390 (testout): Likewise.
21392 2012-10-24 Andreas Jaeger <aj@suse.de>
21394 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21395 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21396 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21397 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21398 posix_fadvise64, posix_fallocate64.
21400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21401 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21402 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21404 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21406 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21409 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21410 <bits/fcntl-linux.h>.
21411 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21414 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21415 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21416 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21417 [__WORDSIZE != 64]: Likewise.
21419 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21421 * Makeconfig (run-built-tests): New variable.
21422 * Rules [$(cross-compiling) = yes]: Change condition to
21423 [$(run-built-tests) = no].
21424 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21425 to [$(run-built-tests) = yes].
21426 * elf/Makefile [$(cross-compiling) = no]: Likewise
21427 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21428 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21429 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21430 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21431 * io/Makefile [$(cross-compiling) = no]: Likewise.
21432 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21433 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21434 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21435 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21436 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21437 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21438 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21439 * string/Makefile [$(cross-compiling) = no]: Likewise.
21441 * posix/Makefile ($(objpfx)globtest.out): Pass
21442 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21443 $(rtld-installed-name).
21444 * posix/globtest.sh (elf_objpfx): Remove variable.
21445 (rtld_installed_name): Likewise.
21446 (library_path): Likewise.
21447 (run_program_prefix): New variable. Use for running globtest
21450 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21451 Joseph Myers <joseph@codesourcery.com>
21453 * Makeconfig (host-built-program-cmd): New variable.
21454 * elf/Makefile (tst-stackguard1-ARGS): Use
21455 $(host-built-program-cmd).
21456 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21457 (tst-spawn-ARGS): Likewise.
21458 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21460 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21461 Jim Blandy <jimb@codesourcery.com>
21463 * Makeconfig (run-via-rtld-prefix): New variable.
21464 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21465 (built-program-cmd): Likewise.
21467 2012-10-22 Andreas Jaeger <aj@suse.de>
21469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21470 __O_RSYNC if it exists, otherwise to O_SYNC.
21472 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21473 Joseph Myers <joseph@codesourcery.com>
21475 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21477 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21479 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21482 2012-10-22 Andreas Jaeger <aj@suse.de>
21484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21489 bits/fcntl-linux.h.
21491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21492 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21499 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21500 Joseph Myers <joseph@codesourcery.com>
21502 * config.make.in (NM): New variable.
21504 2012-10-21 Andreas Jaeger <aj@suse.de>
21506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21507 definitions and declarations that are provided by
21508 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21510 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21513 * elf/Makefile (tests-static): Add tst-leaks1-static.
21514 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21515 ($(objpfx)tst-leaks1-static): New rule.
21516 ($(objpfx)tst-leaks1-static-mem): Likewise.
21517 (tst-leaks1-static-ENV): New macro.
21518 * elf/dl-open.c (dl_open_worker): Check the main application
21519 only if SHARED is defined.
21520 * elf/tst-leaks1-static.c: New file.
21522 2012-10-20 Andreas Jaeger <aj@suse.de>
21524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21525 generic values for Linux.
21526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21527 and declarations that are provided by <bits/fcntl-linux.h> and
21528 include <bits/fcntl-linux.h>.
21529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21532 2012-10-20 Roland McGrath <roland@hack.frob.com>
21534 * io/fcntl.h: Move include of <bits/types.h> to the top and
21535 include it unconditionally.
21537 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21539 * wcsmbs/Makefile (tests-ifunc): New variable.
21540 (tests): Add $(tests-ifunc).
21541 * wcsmbs/test-wcschr-ifunc.c: New file.
21542 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21543 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21544 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21545 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21546 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21548 * string/Makefile (tests-ifunc): New variable.
21549 (tests): Add $(tests-ifunc).
21550 * string/test-memccpy.c (TEST_NAME): New macro.
21551 * string/test-memchr.c (TEST_NAME): Likewise.
21552 * string/test-memcmp.c (TEST_NAME): Likewise.
21553 * string/test-memcpy.c (TEST_NAME): Likewise.
21554 * string/test-memmem.c (TEST_NAME): Likewise.
21555 * string/test-memmove.c (TEST_NAME): Likewise.
21556 * string/test-memset.c (TEST_NAME): Likewise.
21557 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21558 * string/test-stpcpy.c (TEST_NAME): Likewise.
21559 * string/test-stpncpy.c (TEST_NAME): Likewise.
21560 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21561 * string/test-strcasestr.c (TEST_NAME): Likewise.
21562 * string/test-strcat.c (TEST_NAME): Likewise.
21563 * string/test-strchr.c (TEST_NAME): Likewise.
21564 * string/test-strcmp.c(TEST_NAME): Likewise.
21565 * string/test-strcpy.c (TEST_NAME): Likewise.
21566 * string/test-strcspn.c (TEST_NAME): Likewise.
21567 * string/test-strlen.c (TEST_NAME): Likewise.
21568 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21569 * string/test-strncmp.c (TEST_NAME): Likewise.
21570 * string/test-strncpy.c (TEST_NAME): Likewise.
21571 * string/test-strnlen.c (TEST_NAME): Likewise.
21572 * string/test-strpbrk.c (TEST_NAME): Likewise.
21573 * string/test-strrchr.c (TEST_NAME): Likewise.
21574 * string/test-strspn.c (TEST_NAME): Likewise.
21575 * string/test-strstr.c (TEST_NAME): Likewise.
21576 * string/test-bcopy-ifunc.c: New file.
21577 * string/test-bzero-ifunc.c: Likewise.
21578 * string/test-memccpy-ifunc.c: Likewise.
21579 * string/test-memchr-ifunc.c: Likewise.
21580 * string/test-memcmp-ifunc.c: Likewise.
21581 * string/test-memcpy-ifunc.c: Likewise.
21582 * string/test-memmem-ifunc.c: Likewise.
21583 * string/test-memmove-ifunc.c: Likewise.
21584 * string/test-mempcpy-ifunc.c: Likewise.
21585 * string/test-memset-ifunc.c: Likewise.
21586 * string/test-rawmemchr-ifunc.c: Likewise.
21587 * string/test-stpcpy-ifunc.c: Likewise.
21588 * string/test-stpncpy-ifunc.c: Likewise.
21589 * string/test-strcasecmp-ifunc.c: Likewise.
21590 * string/test-strcasestr-ifunc.c: Likewise.
21591 * string/test-strcat-ifunc.c: Likewise.
21592 * string/test-strchr-ifunc.c: Likewise.
21593 * string/test-strchrnul-ifunc.c: Likewise.
21594 * string/test-strcmp-ifunc.c: Likewise.
21595 * string/test-strcpy-ifunc.c: Likewise.
21596 * string/test-strcspn-ifunc.c: Likewise.
21597 * string/test-strlen-ifunc.c: Likewise.
21598 * string/test-strncasecmp-ifunc.c: Likewise.
21599 * string/test-strncat-ifunc.c: Likewise.
21600 * string/test-strncmp-ifunc.c: Likewise.
21601 * string/test-strncpy-ifunc.c: Likewise.
21602 * string/test-strnlen-ifunc.c: Likewise.
21603 * string/test-strpbrk-ifunc.c: Likewise.
21604 * string/test-strrchr-ifunc.c: Likewise.
21605 * string/test-strspn-ifunc.c: Likewise.
21606 * string/test-strstr-ifunc.c: Likewise.
21608 * debug/Makefile (tests-ifunc): New variable.
21609 (tests): Add $(tests-ifunc).
21610 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21611 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21612 * debug/test-stpcpy_chk-ifunc.c: New file.
21613 * debug/test-strcpy_chk-ifunc.c: Likewise.
21615 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21618 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21619 header is not read in.
21621 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21623 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21624 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21625 directly. Pass built executable to script as
21626 $(built-program-cmd).
21627 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21628 $testprogram without using LD_LIBRARY_PATH and $ldso.
21630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21631 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21632 $(rtld-installed-name).
21633 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21634 (rtld_installed_name): Likewise.
21635 (library_path): Likewise.
21636 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21638 $(run-program-prefix) to tst-tables.sh.
21639 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21640 it to run tst-table-from and tst-table-to.
21641 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21642 Pass it to tst-table.sh.
21643 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21644 $(run-program-prefix) to tst-gettext.sh.
21645 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21647 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21649 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21650 to run tst-gettext.
21651 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21652 to run tst-gettext2.
21653 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21654 to run tst-translit.
21655 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21656 $(run-program-prefix) to tst-mtrace.sh.
21657 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21659 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21660 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21661 $(rtld-installed-name).
21662 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21663 (rtld_installed_name): Likewise.
21664 (run_program_prefix): New variable. Use it to run wordexp-test.
21666 * Makeconfig (ARCH): Remove all definitions.
21667 (machine): Likewise.
21668 [ARCH]: Remove conditional code.
21669 [!objdir]: Give error.
21670 [!objdir] (objpfx): Remove.
21671 [!objdir] (common-objpfx): Likewise.
21672 [!objdir] (common-objdir): Likewise.
21673 * configure.in (config_makefile): Remove. Hardcode Makefile in
21674 AC_CONFIG_FILES call.
21675 * configure: Regenerated.
21678 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21680 (testout): Likewise.
21682 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21683 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21684 $(rtld-installed-name).
21685 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21686 (rtld_installed_name): Likwise.
21687 (runit): Remove function.
21688 (run_getconf): New variable, Use it for running getconf binary.
21690 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21693 * string/test-memmem.c (check_result): New function.
21694 (do_one_test): Use it.
21695 (check1): New function.
21696 (test_main): Use it.
21698 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21700 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21702 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21704 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21705 (_G_LSEEK64): Likewise.
21706 (_G_MMAP64): Likewise.
21707 (_G_FSTAT64): Likewise.
21708 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21709 (_G_LSEEK64): Likewise.
21710 (_G_MMAP64): Likewise.
21711 (_G_FSTAT64): Likewise.
21712 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21713 unconditional. Call __mmap64 directly.
21714 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21715 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21716 __lseek64 directly.
21717 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21718 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21720 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21721 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21722 __lseek64 directly.
21723 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21724 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21725 __lseek64 directly.
21726 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21727 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21728 __lseek64 directly.
21729 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21730 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21731 __fxstat64 directly.
21732 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21733 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21735 (freopen64) [!_G_OPEN64]: Remove conditional code.
21736 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21738 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21739 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21741 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21742 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21744 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21745 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21747 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21748 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21750 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21751 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21753 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21754 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21756 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21758 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21761 * manual/memory.texi (Malloc Tunable Parameters): Add note
21762 about free list pointers overwriting some perturb bytes.
21763 Wording suggested by Roland McGrath.
21765 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21767 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21768 (lgamma_test): Likewise.
21769 (tgamma_test): Likewise.
21771 2012-10-16 Florian Weimer <fweimer@redhat.com>
21774 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21775 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21777 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21779 * NEWS: Mention BZ #14716.
21780 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21781 when removing AVAILABLE1_USES_J macro.
21783 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21785 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21786 (__bswap_64): __uint64_t for unsigned 64-bit int.
21788 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21790 * include/string.h (memmem): Declare libc hidden alias.
21791 * string/memmem.c (memmem): Define libc hidden alias.
21792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21793 __read, __close instead of open, read, close.
21795 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21798 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21800 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21801 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21802 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21804 (__rawmemchr_sse2): Likewise.
21805 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21807 (__strchr_sse2): Likewise.
21808 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21809 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21810 (__strcasecmp_sse2): Likewise.
21811 (__strncasecmp_sse2): Likewise.
21812 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21813 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21814 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21815 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21816 (__strrchr_sse2): Likewise.
21817 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21819 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21820 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21821 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21823 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21824 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21825 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21827 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21828 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21829 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21832 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21833 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21834 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21835 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21836 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21837 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21838 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21839 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21840 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21841 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21842 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21843 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21845 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21847 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21848 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21850 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21852 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21853 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21854 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21855 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21857 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21859 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21860 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21861 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21862 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21867 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21868 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21869 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21870 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21871 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21872 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21873 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21877 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21878 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21881 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21889 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21890 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21891 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21892 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21898 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21906 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21907 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21908 * include/ifunc-impl-list.h: New file.
21909 * misc/ifunc-impl-list.c: Likewise.
21910 * misc/Makefile (routines): Add ifunc-impl-list.
21911 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21912 * string/test-string.h: Include <ifunc-impl-list.h>.
21913 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21914 impl_array): New variables.
21915 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21917 (test_init): Call __libc_ifunc_impl_list to initialize
21918 func_list if TEST_IFUNC and TEST_NAME are defined.
21920 * string/Makefile (strop-tests): Add bcopy and bzero.
21921 * string/test-bcopy.c: New file.
21922 * string/test-bzero.c: Likewise.
21923 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21925 * string/test-memset.c: Support bzero test if TEST_BZERO is
21927 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21929 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21931 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21934 2012-10-10 Joseph Myers <joseph@codesourcery.com>
21936 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21937 * configure: Regenerated.
21939 * Makeconfig (+link-static-before-libc): Don't include
21940 $(link-static-libc).
21942 * libio/libio.h (_IO_pos_t): Remove.
21944 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21946 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21949 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21951 * crypt/crypt-entry.c: Include fips-private.h.
21952 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21953 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21954 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21955 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21957 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
21959 * crypt/crypt-private.h: Include stdbool.h.
21960 (_ufc_setup_salt_r): Return bool.
21961 * crypt/crypt-entry.c: Include errno.h.
21962 (__crypt_r): Return NULL with EINVAL for bad salt.
21963 * crypt/crypt_util.c (bad_for_salt): New.
21964 (_ufc_setup_salt_r): Check that salt is long enough and within
21965 the specified alphabet.
21966 * crypt/badsalttest.c: New file.
21967 * crypt/Makefile (tests): Add it.
21968 ($(objpfx)badsalttest): New.
21970 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21972 * NEWS: Add entry for BZ #14602.
21974 2012-10-09 Joseph Myers <joseph@codesourcery.com>
21976 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21978 * math/libm-test.inc: Update comment listing what functions and
21980 (isgreater_test): New function.
21981 (isgreaterequal_test): Likewise.
21982 (isless_test): Likewise.
21983 (islessequal_test): Likewise.
21984 (islessgreater_test): Likewise.
21985 (isunordered_test): Likewise.
21986 (main): Call the new functions.
21988 2012-10-09 Roland McGrath <roland@hack.frob.com>
21990 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21991 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21992 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21993 * sysdeps/i386/configure: Regenerated.
21994 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21995 * sysdeps/mach/configure: Regenerated.
21996 * sysdeps/mach/hurd/configure: Regenerated.
21997 * sysdeps/powerpc/configure: Regenerated.
21998 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21999 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22000 * sysdeps/s390/s390-32/configure: Regenerated.
22001 * sysdeps/s390/s390-64/configure: Regenerated.
22002 * sysdeps/sh/configure: Regenerated.
22003 * sysdeps/sparc/configure: Regenerated.
22004 * sysdeps/unix/sysv/linux/configure: Regenerated.
22005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22006 * sysdeps/x86_64/configure: Regenerated.
22008 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22009 defined. Don't check if MAP is NULL.
22011 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22013 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22014 (_G_stat64): Likewise.
22015 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22016 (_G_stat64): Likewise.
22017 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22018 instead of struct _G_stat64.
22019 * libio/fileops.c (mmap_remap_check): Likewise.
22020 (decide_maybe_mmap): Likewise.
22021 (_IO_new_file_seekoff): Likewise.
22022 (_IO_file_stat): Likewise.
22023 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22025 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22026 instead of struct _G_stat64.
22027 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22029 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22032 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22034 (CHECK_EOL): New macro.
22035 (two_way_short_needle): Check beginning of haystack for EOL. Use
22037 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22038 Replace with CHECK_EOL.
22039 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22040 Replace with CHECK_EOL.
22042 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22044 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22046 * math/libm-test.inc: Update comment listing what functions and
22048 (finite_test): New function.
22049 (isinf_test): Likewise.
22050 (isnan_test): Likewise.
22051 (fpclassify_test): Test subnormal input.
22052 (isfinite_test): Likewise.
22053 (isnormal_test): Likewise.
22054 (main): Call the new functions.
22056 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22059 * Makerules (%.dynsym): Force C locale when running
22060 $(OBJDUMP) --dynamic-syms.
22062 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22067 2012-10-06 David S. Miller <davem@davemloft.net>
22069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22070 upper 32-bits of the length value in %o2 since we use branch-on-register
22071 tests which consider the entire 64-bit register.
22073 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22075 * string/test-strstr.c (check2): Add a test for page boundary.
22077 2012-10-05 David S. Miller <davem@davemloft.net>
22079 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22085 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22086 and bzero when HWCAP_SPARC_CRYPTO is present.
22088 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22091 * string/test-strstr.c (check2): New function.
22092 (test_main): Call check2.
22094 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22096 * string/bug-strcasestr1.c (do_test): Moved to ...
22097 * string/test-strcasestr.c (check1): Here. New function.
22098 (do_one_test): Break out result checking code into ...
22099 (check_result): This. New function.
22100 (do_one_test): Call check_result.
22101 (test_main): Call check1.
22102 * string/bug-strchr1.c (do_test): Moved to ...
22103 * string/test-strchr.c (check1): Here. New function.
22104 (do_one_test): Break out result checking code into ...
22105 (check_result): This. New function.
22106 (do_one_test): Call check_result.
22107 (test_main): Call check1.
22108 * string/bug-strstr1.c (main): Moved to ...
22109 * string/test-strstr.c (check1): Here. New function.
22110 (do_one_test): Break out result checking code into ...
22111 (check_result): This. New function.
22112 (do_one_test): Call check_result.
22113 (test_main): Call check1.
22114 * string/bug-strcasestr1.c: Removed.
22115 * string/bug-strchr1.c: Likewise.
22116 * string/bug-strstr1.c: Likewise.
22118 * elf/Makefile (dl-routines): Add hwcaps.
22119 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22120 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22121 (_dl_important_hwcaps): Moved to ...
22122 * elf/dl-hwcaps.c: Here. New file.
22123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22126 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22127 if IS_IN_rtld isn't defined.
22129 * elf/dl-support.c (_dl_sysinfo_map): New.
22130 Include "get-dynamic-info.h" and "setup-vdso.h".
22131 (_dl_non_dynamic_init): Call setup_vdso.
22132 * elf/dynamic-link.h: Don't include <assert.h>.
22133 (elf_get_dynamic_info): Moved to ...
22134 * elf/get-dynamic-info.h: Here. New file.
22135 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22136 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22137 * elf/setup-vdso.h: Here. New file.
22138 * elf/rtld.c: Include "setup-vdso.h".
22139 (dl_main): Call setup_vdso.
22141 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22143 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22144 creal in comment listing functions tested. List finite, isinf,
22145 isnan, isless, islessequal, isgreater, isgreaterequal,
22146 islessgreater, isunordered, lgamma_r and pow10 as functions and
22147 macros not tested. Mention which functions not tested are aliases
22148 for other functions. Fix typo. Note that signs of NaNs are not
22151 * scripts/config.guess: Update from config.git.
22152 * scripts/config.sub: Likewise.
22154 2012-10-04 Roland McGrath <roland@hack.frob.com>
22156 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22157 * misc/madvise.c (madvise): Renamed to __madvise.
22158 Make madvise a weak alias.
22159 * include/sys/mman.h: Declare __madvise.
22160 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22161 * sysdeps/unix/syscalls.list
22162 (madvise): Make __madvise the strong name, and madvise a weak alias.
22163 * sysdeps/unix/sysv/linux/syscalls.list
22164 (madvise, mmap): Remove redundant entries.
22165 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22166 * malloc/malloc.c (mtrim): Likewise.
22167 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22169 2012-10-03 Roland McGrath <roland@hack.frob.com>
22171 * sysdeps/mach/hurd/dl-cache.c: File removed.
22172 * config.h.in (USE_LDCONFIG): New #undef.
22173 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22174 * configure: Regenerated.
22175 * elf/Makefile (dl-routines): Add dl-cache only under
22176 [$(use-ldconfig) = yes].
22177 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22178 cache on [USE_LDCONFIG].
22179 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22181 * elf/rtld.c (dl_main): Likewise.
22183 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22185 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22186 _SC_LEVEL4_CACHE_LINESIZE.
22188 2012-10-03 Roland McGrath <roland@hack.frob.com>
22190 * sysdeps/unix/bsd/confstr.h: File removed.
22192 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22194 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22197 2012-10-02 Roland McGrath <roland@hack.frob.com>
22199 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22200 Make 'mapoff' field ElfW(Off) rather than off_t.
22202 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22204 * nscd/Makefile: Remove nscd-cflags and all its users.
22205 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22206 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22209 * malloc.c (malloc_printerr): Clarify error message.
22211 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22215 Set bit_FMA_Usable if FMA is supported.
22216 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22218 (bit_FMA4_Usable): Updated.
22219 (index_FMA_Usable): New macro.
22220 (CPUID_FMA): Likewise
22221 (HAS_FMA): Defined with bit_FMA_Usable.
22223 2012-10-01 Roland McGrath <roland@hack.frob.com>
22225 * bits/types.h (__swblk_t): Type removed.
22226 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22227 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22229 (__SWBLK_T_TYPE): Likewise.
22230 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22231 (__SWBLK_T_TYPE): Likewise.
22232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22233 (__SWBLK_T_TYPE): Likewise.
22234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22235 (__SWBLK_T_TYPE): Likewise.
22237 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22238 Honza Horak <hhorak@redhat.com>
22240 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22241 (xdr_mapname): Use YPMAXMAP as maxsize.
22242 (xdr_peername): Use YPMAXPEER as maxsize.
22243 (xdr_keydat): Use YPAXRECORD as maxsize.
22244 (xdr_valdat): Use YPMAXRECORD as maxsize.
22246 2012-10-01 Roland McGrath <roland@hack.frob.com>
22248 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22250 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22251 * csu/init-first.c: ... here.
22252 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22253 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22256 * sysdeps/i386/init-first.c: File removed.
22257 * sysdeps/sh/init-first.c: File removed.
22259 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22263 if x * y might underflow to zero and z is zero.
22264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22266 * math/libm-test.inc (min_subnorm_value): New variable.
22267 (fma_test): Add more tests.
22268 (fma_test_towardzero): Likewise.
22269 (fma_test_downward): Likewise
22270 (fma_test_upward): Likewise.
22271 (initialize): Set min_subnorm_value.
22273 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22278 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22279 mode for addition resulting in exact zero.
22280 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22285 * math/libm-test.inc (fma_test): Add more tests.
22286 (fma_test_towardzero): New function.
22287 (fma_test_downward): Likewise.
22288 (fma_test_upward): Likewise.
22289 (main): Call the new functions.
22291 2012-09-28 David S. Miller <davem@davemloft.net>
22293 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22295 2012-09-28 Roland McGrath <roland@hack.frob.com>
22297 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22298 instead of SIGALRM.
22300 * sysdeps/gnu/_G_config.h: Moved to ...
22301 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22302 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22303 * sysdeps/generic/_G_config.h: ... here.
22305 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22307 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22309 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22310 Conditionalize target on [libnss_test1.so-version].
22312 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22314 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22315 (elfobjdir): Move out of conditionals.
22317 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22318 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22319 (__nss_lookup_function): Conditionalize label remove_from_tree on
22320 [!DO_STATIC_NSS || SHARED], matching its only use.
22322 2012-09-28 David S. Miller <davem@davemloft.net>
22324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22325 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22327 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22331 when HWCAP_SPARC_CRYPTO is present.
22333 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22335 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22337 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22340 * stdio-common/vfprintf.c (process_string_arg): Revert
22343 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22345 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22347 * stdio-common/tst-sprintf.c: Include <locale.h>
22348 (main): Test sprintf's handling of incomplete multibyte
22351 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22353 * elf/dl-runtime.c (VERSYMIDX): Removed.
22354 * elf/dl-version.c (VERSYMIDX): Likewise.
22355 * elf/do-rel.h (VERSYMIDX): Likewise.
22356 (VALIDX): Likewise.
22357 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22358 * elf/rtld.c (VALIDX): Likewise.
22359 (ADDRIDX): Likewise.
22360 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22361 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22362 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22363 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22364 (VALIDX): Likewise.
22365 (ADDRIDX): Likewise.
22367 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22369 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22371 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22374 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22376 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22377 addresses are in the same scope as 192.0.2/24.
22378 * posix/gai.conf: Document new scope table defaults.
22380 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22383 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22384 for ftell. Compute offsets from write pointers instead.
22385 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22387 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22390 * libio/Makefile (tests): New test case tst-fseek.
22391 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22392 combination works in wide mode.
22393 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22394 state when the external buffer state changes.
22396 2012-09-27 David S. Miller <davem@davemloft.net>
22399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22400 pass reloc->r_addend in as the 'high' argument to
22401 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22405 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22407 * rt/tst-aio2.c: Include <pthread.h>.
22408 * rt/tst-aio3.c: Likewise.
22410 2012-09-27 Steve Ellcey <sellcey@mips.com>
22412 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22414 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22416 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22417 contents on [SHARED].
22419 2012-09-26 Marek Polacek <polacek@redhat.com>
22423 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22424 for C++ and GCC <4.3 as well as for non GCC compilers.
22426 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22430 2012-09-25 Roland McGrath <roland@hack.frob.com>
22432 * Makefile.in (all, install): Declare with .PHONY.
22433 Reported by Michael Hope <michael.hope@linaro.org>.
22435 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22437 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22438 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22440 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22442 (sydep_routines): Add the new and the internal functions.
22443 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22444 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22446 (GLIBC_2.17): Add the new function.
22447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22448 (GLIBC_2.17): Likewise.
22449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22450 (GLIBC_2.17): Likewise.
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22452 (GLIBC_2.17): Likewise.
22453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22455 2012-09-25 Alan Modra <amodra@gmail.com>
22457 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22458 Add release barrier before setting once_control to say
22459 initialisation is done. Add hints on lwarx. Use macro in
22461 (clear_once_control): Add release barrier.
22463 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22466 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22468 * math/s_clog10.c (__clog10): Likewise.
22469 * math/s_clog10f.c (__clog10f): Likewise.
22470 * math/s_clog10l.c (__clog10l): Likewise.
22471 * math/s_clogf.c (__clogf): Likewise.
22472 * math/s_clogl.c (__clogl): Likewise.
22473 * math/Makefile (libm-calls): Add x2y2m1.
22474 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22475 (__x2y2m1): Likewise.
22476 (__x2y2m1l): Likewise.
22477 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22478 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22481 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22482 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22483 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22484 * sysdeps/i386/fpu/libm-test-ulps: Update.
22485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22488 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22489 int as type of variable DEPTH.
22490 (glob): Use size_t instead of int as type of variables NEWCOUNT
22493 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22495 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22496 Add s_sincosf-sse2.
22497 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22498 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22499 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22500 macros for using routine as __sincosf_ia32.
22501 Use macro for function declaration and weak_alias.
22502 * sysdeps/i386/fpu/libm-test-ulps: Update.
22504 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22507 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22508 subnormal argument.
22509 * math/s_cexpf.c (__cexpf): Likewise.
22510 * math/s_csinf.c (__csinf): Likewise.
22511 * math/s_csinhf.c (__csinhf): Likewise.
22512 * math/s_ctanf.c (__ctanf): Likewise.
22513 * math/s_ctanhf.c (__ctanhf): Likewise.
22514 * math/s_ccosh.c (__ccoshf): Likewise.
22515 * math/s_cexp.c (__cexpl): Likewise.
22516 * math/s_csin.c (__csin): Likewise.
22517 * math/s_csinh.c (__csinh): Likewise.
22518 * math/s_ctan.c (__ctan): Likewise.
22519 * math/s_ctanh.c (ctanh): Likewise.
22520 * math/s_ccoshl.c (__ccoshl): Likewise.
22521 * math/s_cexpl.c (__cexpl): Likewise.
22522 * math/s_csinl.c (__csinl): Likewise.
22523 * math/s_csinhl.c (__csinhl): Likewise.
22524 * math/s_ctanl.c (__ctanl): Likewise.
22525 * math/s_ctanhl.c (__ctanhl): Likewise.
22527 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22529 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22530 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22531 (_IO_off_t): Define to __off_t, not _G_off_t.
22532 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22533 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22534 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22535 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22536 type of __dummy and __dummy2 fields.
22537 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22538 (_G_ssize_t): Likewise.
22539 (_G_off_t): Likewise.
22540 (_G_pid_t): Likewise.
22541 (_G_uid_t): Likewise.
22542 (_G_wchar_t): Likewise.
22543 (_G_wint_t): Likewise.
22544 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22545 (_G_ssize_t): Likewise.
22546 (_G_off_t): Likewise.
22547 (_G_pid_t): Likewise.
22548 (_G_uid_t): Likewise.
22549 (_G_wchar_t): Likewise.
22550 (_G_wint_t): Likewise.
22551 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22552 (_G_ssize_t): Likewise.
22553 (_G_off_t): Likewise.
22554 (_G_pid_t): Likewise.
22555 (_G_uid_t): Likewise.
22556 (_G_wchar_t): Likewise.
22557 (_G_wint_t): Likewise.
22559 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22561 * malloc/arena.c: Include malloc-sysdep.h.
22562 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22563 is sufficient to shrink the heap or an unmap is needed.
22564 * sysdeps/generic/malloc-sysdep.h: New file. Define
22565 new function check_may_shrink_heap.
22566 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22567 new function check_may_shrink_heap.
22569 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22571 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22574 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22576 * catgets/test-gencat.sh: Add "set -e".
22577 * elf/tst-pathopt.sh: Likewise.
22578 * grp/tst_fgetgrent.sh: Likewise.
22579 * iconvdata/run-iconv-test.sh: Likewise.
22580 * intl/tst-gettext.sh: Likewise.
22581 * intl/tst-gettext2.sh: Likewise.
22582 * intl/tst-gettext4.sh: Likewise.
22583 * intl/tst-gettext6.sh: Likewise.
22584 * intl/tst-translit.sh: Likewise.
22585 * io/ftwtest-sh: Likewise.
22586 * libio/test-freopen.sh: Likewise.
22587 * malloc/tst-mtrace.sh: Likewise.
22588 * posix/globtest.sh: Likewise.
22589 * posix/tst-getconf.sh: Likewise.
22590 * posix/wordexp-tst.sh: Likewise.
22591 * stdio-common/tst-printf.sh: Likewise.
22592 * stdio-common/tst-unbputc.sh: Likewise.
22593 * stdlib/tst-fmtmsg.sh: Likewise.
22594 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22595 * catgets/Makefile: Do not specify -e option when running
22596 testsuite shell scripts.
22597 * elf/Makefile: Likewise.
22598 * grp/Makefile: Likewise.
22599 * iconvdata/Makefile: Likewise.
22600 * intl/Makefile: Likewise.
22601 * io/Makefile: Likewise.
22602 * libio/Makefile: Likewise.
22603 * malloc/Makefile: Likewise.
22604 * posix/Makefile: Likewise.
22605 * stdio-common/Makefile: Likewise.
22606 * stdlib/Makefile: Likewise.
22607 * sysdeps/x86_64/Makefile: Likewise.
22609 * io/ftwtest-sh: Add copyright header.
22610 * posix/globtest.sh: Likewise.
22611 * posix/tst-getconf.sh: Likewise.
22612 * posix/wordexp-tst.sh: Likewise.
22613 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22615 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22618 * Makeconfig (+link): Defined as $(+link-static) if
22619 $(build-shared) isn't yes.
22620 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22622 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22624 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22627 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22628 new chunk size with MALLOC_ALIGN_MASK.
22630 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22633 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22635 (__printf_fphex): Determine rounding using get_rounding_mode and
22637 * stdio-common/tst-printf-round.c (struct hex_test): New
22639 (hex_tests): New variable.
22640 (test_hex_in_one_mode): New function.
22641 (do_test): Also run tests for hex float output.
22643 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22645 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22647 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22648 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22649 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22650 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22651 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22654 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22656 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22657 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22658 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22659 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22661 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22664 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22666 * elf/tst-rtld-load-self.sh: New test.
22667 * elf/Makefile: Run it.
22669 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22671 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22672 (tst-writev-ENV): Remove.
22673 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22675 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22677 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22679 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22681 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22683 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22685 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22686 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22690 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22693 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22694 * config.make.in (have-cpp-asm-debuginfo): Removed.
22695 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22696 * configure: Regenerated.
22698 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22701 * stdio-common/printf_fp.c: Include <stdbool.h> and
22703 (___printf_fp): Determine rounding using get_rounding_mode and
22705 * stdio-common/tst-printf-round.c: New file.
22706 * stdio-common/Makefile (tests): Add tst-printf-round.
22707 (link-libm): New variable.
22708 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22710 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22713 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22714 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22716 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22719 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22721 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22722 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22723 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22726 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22729 * include/rounding-mode.h: New file.
22730 * sysdeps/generic/get-rounding-mode.h: Likewise.
22731 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22732 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22733 (MAX_VALUE): New macro.
22734 (MIN_VALUE): Likewise.
22735 (overflow_value): New function.
22736 (underflow_value): Likewise.
22737 (round_and_return): Use overflow_value and underflow_value to
22738 determine return values in overflow and underflow cases. Use
22739 round_away to determine rounding depending on rounding mode.
22740 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22741 determine return values in overflow and underflow cases.
22742 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22743 (struct test_results): New structure.
22744 (struct test): Use struct test_results to store expected results
22745 for all rounding modes.
22746 (TEST): Include expected results for all rounding modes.
22747 (test_in_one_mode): New function.
22748 (do_test): Use test_in_one_mode to compute and check results.
22749 Check results for all rounding modes.
22750 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22753 2012-12-09 Allan McRae <allan@archlinux.org>
22755 * sysdeps/i386/fpu/libm-test-ulps: Update
22757 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22759 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22760 (_G_int32_t): Likewise.
22761 (_G_uint16_t): Likewise.
22762 (_G_uint32_t): Likewise.
22763 (_G_HAVE_BOOL): Likewise.
22764 (_G_HAVE_ATEXIT): Likewise.
22765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22766 (_G_HAVE_IO_FILE_OPEN): Likewise.
22767 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22768 (_G_int32_t): Likewise.
22769 (_G_uint16_t): Likewise.
22770 (_G_uint32_t): Likewise.
22771 (_G_HAVE_BOOL): Likewise.
22772 (_G_HAVE_ATEXIT): Likewise.
22773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22774 (_G_HAVE_IO_FILE_OPEN): Likewise.
22775 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22776 (_G_int32_t): Likewise.
22777 (_G_uint16_t): Likewise.
22778 (_G_uint32_t): Likewise.
22779 (_G_HAVE_BOOL): Likewise.
22780 (_G_HAVE_ATEXIT): Likewise.
22781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22782 (_G_HAVE_IO_FILE_OPEN): Likewise.
22784 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22786 * csu/libc-tls.c: Update copyright years.
22788 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22790 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22791 [!_G_USING_THUNKS]: Remove conditional code.
22792 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22793 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22795 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22796 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22797 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22798 (_G_VTABLE_LABEL_PREFIX): Likewise.
22799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22800 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22802 (_G_VTABLE_LABEL_PREFIX): Likewise.
22803 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22804 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22805 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22806 (_G_VTABLE_LABEL_PREFIX): Likewise.
22807 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22809 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22811 * libio/Makefile: Include ../Makeconfig before tests.
22812 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22813 only if $(build-shared) is yes.
22815 * iconv/gconv_db.c: Update copyright years.
22817 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22819 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22820 unwind info if defined PIC. Fix special cases description.
22821 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22823 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22825 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22827 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22829 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22831 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22834 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22835 (LDLIBS-tst-chk4): This.
22836 (LDFLAGS-tst-chk5): Renamed to ...
22837 (LDLIBS-tst-chk5): This.
22838 (LDFLAGS-tst-chk6): Renamed to ...
22839 (LDLIBS-tst-chk6): This.
22840 (LDFLAGS-tst-lfschk4): Renamed to ...
22841 (LDLIBS-tst-lfschk4): This.
22842 (LDFLAGS-tst-lfschk5): Renamed to ...
22843 (LDLIBS-tst-lfschk5): This.
22844 (LDFLAGS-tst-lfschk6): Renamed to ...
22845 (LDLIBS-tst-lfschk6): This.
22847 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22848 on $(common-objpfx)soversions.mk.
22850 2012-09-07 Joseph Myers <joseph@codesourcery.com>
22853 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22856 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22858 * malloc/arena.c (arena_get_retry): New function that gets
22859 another arena for the caller to try its request on.
22860 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22861 current arena cannot fulfill the request.
22862 (__libc_memalign): Likewise.
22863 (__libc_memalign): Likewise.
22864 (__libc_pvalloc): Likewise.
22865 (__libc_calloc): Likewise.
22867 2012-09-05 John Tobey <john.tobey@gmail.com>
22870 * manual/arith.texi (Operations on Complex): Fix description
22871 of carg branch cut.
22873 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22876 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22880 * manual/memory.texi (Memory): Make order of menu items match
22883 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22885 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22886 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22887 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22889 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22891 * csu/libc-tls.c (static_dtv): Renamed to ...
22892 (_dl_static_dtv): This. Make it global.
22893 (_dl_initial_dtv): Removed.
22894 (__libc_setup_tls): Updated.
22895 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22896 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22899 2012-09-06 Petr Machata <pmachata@redhat.com>
22901 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22902 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22903 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22904 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22906 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22909 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22910 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22913 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22916 * Makeconfig (link-static-before-libc): Replace $(+prector)
22918 (link-static-after-libc): Replace $(+postctor) with
22920 (link-bounded): Replace $(+prector)/$(+postctor) with
22921 $(+prectorT)/$(+postctorT).
22922 (+prectorT): New macro.
22923 (+postctorT): Likewise.
22925 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22927 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22928 (round_str): Handle values above the maximum for IBM long double
22930 * stdlib/tst-strtod-round.c (tests): Regenerated.
22932 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22934 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22936 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22937 zarch_nohighgprs around the zarch optimized routines.
22938 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22939 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22943 2012-09-05 David S. Miller <davem@davemloft.net>
22945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22947 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22948 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22949 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22950 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22955 * malloc/arena.c: Fold copyright years.
22956 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22958 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22962 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22964 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22968 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22969 change internal state upon failure.
22971 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
22973 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22974 * malloc/memusage.c (mmap): Likewise.
22975 (mmap64, mremap): Likewise. Adjust name in comment.
22977 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22979 * libio/fileops.c: Fix typos in comments.
22980 * libio/oldfileops.c: Likewise.
22981 * libio/wfileops.c: Likewise.
22983 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22987 (tst-malloc-usable-ENV): Set environment for test case.
22988 * malloc/hooks.c (malloc_check_get_size): New function to get
22990 * malloc/malloc.c (musable): Use malloc_check_get_size.
22991 * malloc/tst-malloc-usable.c: New test case.
22993 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22995 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22997 2012-09-05 Allan McRae <allan@archlinux.org>
23000 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23001 determine header location.
23002 * configure: Regenerated.
23004 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23006 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23008 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23009 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23011 (test): Regenerate.
23013 2012-09-04 David S. Miller <davem@davemloft.net>
23015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23019 2012-09-04 Florian Weimer <fweimer@redhat.com>
23021 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23024 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23026 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23029 * libio/iogetdelim.c: Include <limits.h>.
23030 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23031 + len + 1 would overflow.
23033 2012-09-03 Andreas Jaeger <aj@suse.de>
23035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23036 * sysdeps/i386/fpu/libm-test-ulps: Update.
23038 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23041 Add s_sinf-sse2, s_conf-sse2.
23043 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23045 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23048 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23049 for using routine as __sinf_ia32.
23050 Use macro for function declaration and weak_alias.
23051 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23052 for using routine as __cosf_ia32.
23053 Use macro for function declaration and weak_alias.
23055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23056 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23058 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23059 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23062 * math/libm-test.inc (cos_test): Add more test cases.
23063 (sin_test): Likewise.
23064 (sincos_test): Likewise.
23066 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23069 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23073 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23076 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23077 first element of the GOT.
23078 (elf_machine_load_address): Return the difference between
23079 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23081 2012-09-01 Allan McRae <allan@archlinux.org>
23084 * configure.in (AWK): Require gawk version 3.0 or later.
23085 * configure: Regenerated.
23087 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23089 * sysdeps/unix/sysv/linux/kernel-features.h
23090 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23092 [__NR_clock_getres]: Make code unconditional.
23093 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23094 (clock_getcpuclockid): Remove code left unreachable by removal of
23096 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23097 code unconditional.
23098 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23100 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23101 Make code unconditional.
23102 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23104 * sysdeps/unix/sysv/linux/clock_settime.c
23105 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23107 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23110 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23113 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23114 scripts/test-installation.pl.
23116 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23117 and $ld_so_version if it is set.
23119 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23123 failure if reading from procfs failed.
23124 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23126 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/unix/sysv/linux/kernel-features.h
23129 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23130 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23131 Remove conditional code.
23132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23133 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23134 Remove conditional code.
23135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23136 * sysdeps/unix/sysv/linux/i386/fxstat.c
23137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23139 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23142 * sysdeps/unix/sysv/linux/i386/lxstat.c
23143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23145 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23146 Remove conditional code.
23147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23148 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23149 Remove conditional code.
23150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23151 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23152 <kernel-features.h>.
23153 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23155 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23156 Remove conditional code.
23157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23158 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23159 Remove conditional.
23161 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23164 * NEWS: Add fixed bug number.
23166 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23169 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23170 underflowing exponent in case of negative sign.
23171 * stdlib/tst-strtod-round-data: Add more tests.
23172 * stdlib/tst-strtod-round.c (tests): Regenerated.
23175 * stdlib/strtod_l.c (NDIG): Remove.
23176 (HEXNDIG): Likewise.
23177 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23178 smallest representable value.
23179 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23180 lie within an exact representation of 1/2 ulp of the result.
23181 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23183 (TENS_P9_IDX): Define unconditionally.
23184 (TENS_P9_SIZE): Likewise.
23185 (TENS_P10_IDX): Likewise.
23186 (TENS_P10_SIZE): Likewise.
23187 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23188 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23189 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23190 entries for 10^2^13 and 10^2^14.
23191 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23192 (TENS_P13_IDX): Define.
23193 (TENS_P13_SIZE): Likewise.
23194 (TENS_P14_IDX): Likewise.
23195 (TENS_P14_SIZE): Likewise.
23196 (_fpioconst_pow10): Change array size to
23197 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23199 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23200 1024]: Add entries for 10^2^13 and 10^2^14.
23201 [LAST_POW10 > _LAST_POW10]: Remove #error.
23202 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23203 (_fpioconst_pow10): Change array size to
23204 FPIOCONST_POW10_ARRAY_SIZE.
23205 * stdlib/gen-fpioconst.c: New file.
23206 * stdlib/gen-tst-strtod-round.c: Likewise.
23207 * stdlib/tst-strtod-round-data: Likewise.
23208 * stdlib/tst-strtod-round.c: Likewise.
23209 * stdlib/Makefile (tests): Add tst-strtod-round.
23212 * stdlib/strtod_l.c: Include <stdint.h>.
23213 (NDEBUG): Do not define.
23214 (round_and_return): Change EXPONENT parameter to type intmax_t.
23215 Rearrange calculations to avoid internal overflow possibilities.
23216 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23217 Rearrange calculations to avoid internal overflow possibilities.
23218 Assert that number fits inside MPNSIZE limbs.
23219 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23220 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23221 calculations and add assertions to avoid internal overflow
23222 possibilities. Add casts to avoid signed/unsigned operations.
23223 * stdlib/tst-strtod-overflow.c: New file.
23224 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23226 2012-08-25 Marek Polacek <polacek@redhat.com>
23228 * time/time.h: Fix some typos in comments.
23230 2012-08-23 Roland McGrath <roland@hack.frob.com>
23232 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23233 * posix/tst-rfc3484-2.c: Likewise.
23234 * posix/tst-rfc3484-3.c: Likewise.
23236 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23238 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23239 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23241 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23243 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23244 #include of fxstatat64.c.
23246 2012-08-22 Roland McGrath <roland@hack.frob.com>
23248 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23249 * shadow/getspent_r.c: Likewise.
23250 * shadow/getspnam.c: Likewise.
23251 * shadow/getspnam_r.c: Likewise.
23252 * gshadow/getsgent.c: Likewise.
23253 * gshadow/getsgent_r.c: Likewise.
23254 * gshadow/getsgnam.c: Likewise.
23255 * gshadow/getsgnam_r.c: Likewise.
23256 * inet/getnetbyad.c: Likewise.
23257 * inet/getnetbyad_r.c: Likewise.
23258 * inet/getnetbynm.c: Likewise.
23259 * inet/getnetbynm_r.c: Likewise.
23260 * inet/getnetent.c: Likewise.
23261 * inet/getnetent_r.c: Likewise.
23262 * inet/getproto.c: Likewise.
23263 * inet/getproto_r.c: Likewise.
23264 * inet/getprtent.c: Likewise.
23265 * inet/getprtent_r.c: Likewise.
23266 * inet/getprtname.c: Likewise.
23267 * inet/getprtname_r.c: Likewise.
23268 * inet/getrpcbyname.c: Likewise.
23269 * inet/getrpcbyname_r.c: Likewise.
23270 * inet/getrpcbynumber.c: Likewise.
23271 * inet/getrpcbynumber_r.c: Likewise.
23272 * inet/getrpcent.c: Likewise.
23273 * inet/getrpcent_r.c: Likewise.
23274 * inet/getaliasent.c: Likewise.
23275 * inet/getaliasent_r.c: Likewise.
23276 * inet/getaliasname.c: Likewise.
23277 * inet/getaliasname_r.c: Likewise.
23278 * nscd/getgrgid_r.c: Likewise.
23279 * nscd/getgrnam_r.c: Likewise.
23280 * nscd/gethstbyad_r.c: Likewise.
23281 * nscd/gethstbynm3_r.c: Likewise.
23282 * nscd/getpwnam_r.c: Likewise.
23283 * nscd/getpwuid_r.c: Likewise.
23284 * nscd/getsrvbynm_r.c: Likewise.
23285 * nscd/getsrvbypt_r.c: Likewise.
23286 * nscd/gai.c: Likewise.
23288 * configure.in (build_nscd): New substituted variable, set
23289 by --disable-build-nscd and defaults to $use_nscd.
23290 * configure: Regenerated.
23291 * config.make.in (build-nscd): New substituted variable.
23292 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23293 Change conditional to require [$(build-nscd) = yes] as well.
23294 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23297 * configure.in (use_nscd): New substituted variable, set by
23298 --disable-nscd. If enabled, define USE_NSCD.
23299 * configure: Regenerated.
23300 * config.h.in: Add USE_NSCD.
23301 * config.make.in (use-nscd): New substituted variable.
23302 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23303 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23304 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23305 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23306 (CFLAGS-getgrnam_r.c): Likewise.
23307 (CFLAGS-initgroups.c): Likewise.
23308 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23309 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23311 * inet/getnetgrent_r.c
23312 (nscd_setnetgrent): New function, broken out of ...
23313 (setnetgrent): ... here. Call it.
23314 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23315 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23316 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23317 * nscd/Makefile (routines, aux): Move definitions after include of
23318 Makeconfig. Conditionalize on [$(use-nscd) != no].
23319 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23320 Conditionalize on [USE_NSCD].
23321 (is_nscd, nscd_init_cb): Likewise.
23322 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23323 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23324 * nss/nss_db/db-init.c: Likewise.
23325 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23327 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23328 (make_request): Use it.
23329 (cache_valid_p): New function.
23330 (__check_pf): Use it.
23331 * NEWS: Add item for --disable-nscd.
23333 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23335 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23336 to support sed >= 4.2.1-20-ga9bf076.
23337 * configure: Regenerated.
23339 2012-08-22 Roland McGrath <roland@hack.frob.com>
23341 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23342 Conditionalize whole body on [IREL].
23344 2012-08-22 Jeff Law <law@redhat.com>
23347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23348 if the family is PF_UNSPEC.
23350 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23352 * Makerules (lib-version): Rename from V.
23353 (install-lib-nosubdir): Change V to lib-version.
23355 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23358 * powerpc32/power6/wcschr.c: New file.
23359 * powerpc32/power6/wcscpy.c: New file.
23360 * powerpc32/power6/wcsrchr.c: New file.
23361 * powerpc64/power6/wcschr.c: New file.
23362 * powerpc64/power6/wcscpy.c: New file.
23363 * powerpc64/power6/wcsrchr.c: New file.
23365 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23367 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23368 (two_way_short_needle): Use it.
23369 * string/strstr.c (AVAILABLE1_USES_J): Define.
23370 * string/strcasestr.c: Likewise.
23372 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23374 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23377 * NEWS: Add an entry.
23378 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23379 define their defaults.
23380 (two_way_short_needle): Detect end-of-string on-the-fly.
23381 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23382 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23383 * string/bug-strcasestr1.c: New test.
23384 * string/Makefile: Run it.
23386 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23389 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23390 the first character.
23392 2012-08-21 Roland McGrath <roland@hack.frob.com>
23394 * csu/elf-init.c (__libc_csu_irel): Function removed.
23395 * csu/libc-start.c (apply_irel): New function.
23396 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23398 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23400 * sysdeps/unix/sysv/linux/kernel-features.h
23401 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23402 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23403 <kernel-features.h>.
23404 [__NR_fadvise64_64]: Make code unconditional.
23405 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23406 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23407 !__NR_fadvise64_64)]: Likewise.
23408 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23409 !__NR_fadvise64_64))]: Likewise.
23410 [__NR_fadvise64]: Make code unconditional.
23411 [!__NR_fadvise64]: Remove conditional code.
23412 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23413 <kernel-features.h>.
23414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23419 not include <kernel-features.h>.
23420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23424 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23425 include <kernel-features.h>.
23426 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23428 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23431 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23434 slight instruction rearrangements per scrollpipe analysis.
23435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23437 2012-08-20 Roland McGrath <roland@hack.frob.com>
23439 * manual/syslog.texi (syslog; vsyslog, closelog):
23440 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23441 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23443 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23444 DSOCAPS to match condition on defining it.
23446 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23448 * sysdeps/unix/sysv/linux/kernel-features.h
23449 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23460 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23461 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23463 * sysdeps/unix/sysv/linux/kernel-features.h
23464 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23465 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23467 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23468 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23469 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23470 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23471 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23472 Make code unconditional.
23473 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23474 (__mmap64) [!__NR_mmap2]: Likewise.
23475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23476 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23477 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23478 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23479 [__NR_mmap2]: Make code unconditional.
23480 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23481 (__mmap64) [!__NR_mmap2]: Likewise.
23483 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23485 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23487 2012-08-18 Andreas Jaeger <aj@suse.de>
23489 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23491 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23493 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23494 * include/unistd.h (__have_sock_cloexec): Likewise.
23495 (__have_pipe2): Likewise.
23496 (__have_dup3): Likewise.
23498 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23501 * include/unistd.h (__have_pipe2): Change define into an extern int.
23502 (__have_dup3): Likewise.
23503 * socket/have_sock_cloexec.c: Include fcntl.h.
23504 (__have_pipe2): New variable.
23505 (__have_dup3): Likewise.
23507 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23509 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23511 2012-08-17 Marek Polacek <polacek@redhat.com>
23513 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23514 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23516 2012-08-17 Roland McGrath <roland@hack.frob.com>
23518 * configure.in: Add AC_SUBST for sysheaders.
23519 * configure: Regenerated.
23520 * config.make.in (sysheaders): New substituted variable.
23522 * sysdeps/unix/mkfifo.c: Moved ...
23523 * sysdeps/posix/mkfifo.c: ... here.
23524 * sysdeps/unix/mkfifoat.c: Moved ...
23525 * sysdeps/posix/mkfifoat.c: ... here.
23527 * sysdeps/unix/utime.c: Moved ...
23528 * sysdeps/posix/utime.c: ... here.
23530 * sysdeps/unix/time.c: Moved ...
23531 * sysdeps/posix/time.c: ... here.
23532 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23533 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23535 * sysdeps/unix/nice.c: Moved ...
23536 * sysdeps/posix/nice.c: ... here.
23538 * sysdeps/unix/alarm.c: Moved ...
23539 * sysdeps/posix/alarm.c: ... here.
23541 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23543 2012-08-17 Jeff Law <law@redhat.com>
23545 * intl/Makefile (codeset_mo): New variable.
23546 ($(codeset_mo)): New target.
23547 (tst-codeset.out): Depend on that. Remove explicit rule.
23548 (tst-gettext3.out, tst-gettext5.out): Likewise.
23549 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23550 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23551 * intl/tst-codeset.sh: Remove.
23552 * intl/tst-gettext3.sh: Likewise.
23553 * intl/tst-gettext5.sh: Likewise.
23555 2012-08-17 Roland McGrath <roland@hack.frob.com>
23557 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23558 * sysdeps/unix/syscalls.list: ... here.
23560 * sysdeps/posix/getaddrinfo.c
23561 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23562 (gaiconf_init, gaiconf_reload): Use them.
23563 [!_STATBUF_ST_NSEC]
23564 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23565 Define using time_t rather than struct timespec.
23567 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23568 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23570 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23572 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23573 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23577 __libc_cleanup_push argument.
23579 * bits/param.h: New file.
23580 * misc/sys/param.h: New file.
23581 * include/sys/param.h: New file.
23582 * misc/Makefile (headers): Add bits/param.h.
23583 * sysdeps/generic/sys/param.h: File removed.
23584 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23585 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23586 * sysdeps/mach/hurd/bits/param.h: New file.
23587 * sysdeps/mach/hurd/sys/param.h: File removed.
23589 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23592 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23594 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23595 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23598 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23599 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23600 rather than -D_IO_MTSAFE_IO conditionally.
23601 * stdio-common/Makefile (CPPFLAGS): Likewise.
23602 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23603 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23604 Use $(libio-mtsafe).
23605 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23606 of -D_IO_MTSAFE_IO.
23607 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23608 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23609 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23610 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23611 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23612 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23613 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23614 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23615 (CFLAGS-fread_u_chk.c): Likewise.
23616 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23617 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23618 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23619 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23620 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23621 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23622 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23623 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23624 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23626 * libio/Makefile: Test [$(libc-reentrant) = yes]
23627 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23630 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23631 * sysdeps/pthread/configure: File removed.
23632 * sysdeps/pthread/Makeconfig: New file.
23633 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23634 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23636 2012-08-16 Gary Benson <gbenson@redhat.com>
23638 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23639 unmapping the first object in a namespace.
23641 2012-08-16 Roland McGrath <roland@hack.frob.com>
23643 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23644 (__internal_setnetgrent): ... this. Add internal_function to
23645 definition. Add libc_hidden_def.
23646 (setnetgrent): Update caller.
23647 (internal_endnetgrent): Renamed to ...
23648 (__internal_endnetgrent): ... this. Add internal_function to
23649 definition. Add libc_hidden_def.
23650 (endnetgrent): Update caller.
23651 (internal_getnetgrent_r): Renamed to ...
23652 (__internal_getnetgrent_r): ... this. Add internal_function to
23653 definition. Add libc_hidden_def.
23654 (__getnetgrent_r): Update caller.
23655 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23657 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23659 * stdlib/longlong.h: Update from GCC.
23661 2012-08-16 Roland McGrath <roland@hack.frob.com>
23663 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23664 on _QL, which is set by umul_ppmm but never used.
23665 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23666 variables, which are set by GMP macros but never used.
23667 * stdio-common/_itowa.c (_itowa): Likewise.
23668 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23669 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23671 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23673 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23674 struct La_sh_regs is not constant.
23675 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23676 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23677 and struct La_sparc64_regs are not constant.
23679 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23681 * sysdeps/unix/sysv/linux/kernel-features.h
23682 (__ASSUME_POSIX_TIMERS): Remove.
23683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23685 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23686 Make code unconditional.
23687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23688 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23689 Make code unconditional.
23690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23691 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23692 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23694 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23695 Make code unconditional.
23696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23697 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23698 (__libc_missing_posix_timers): Remove.
23700 2012-08-15 Roland McGrath <roland@hack.frob.com>
23702 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23703 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23705 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23707 * elf/dl-sym.c: Include <stdlib.h>.
23709 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23710 constants, which avoids warnings in 32-bit builds.
23712 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23713 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23715 * misc/lseek.c: File moved to ...
23716 * io/lseek.c: ... here.
23718 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23720 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23721 shifting LEN more than 31 bits at once.
23723 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23726 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23727 segmentation fault for a case of two empty input strings.
23728 * string/test-strncasecmp.c (check1): Renamed to...
23729 (bz12205): ...this.
23730 (bz14195): Add new testcase for two empty input strings and N > 0.
23731 (test_main): Call new testcase, adapt for renamed function.
23733 2012-08-15 Andreas Jaeger <aj@suse.de>
23736 * crypt/md5test2.c: New test, based on test supplied by Serge
23737 Belyshev <belyshev@depni.sinp.msu.ru>.
23738 * crypt/Makefile (xtests): Add md5test-giant..
23739 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23741 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23744 * crypt/md5.c (md5_process_block): Don't assume the buffer
23745 length is less than 2**32.
23746 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23747 length is less than 2**64.
23749 2012-08-15 Roland McGrath <roland@hack.frob.com>
23751 * string/str-two-way.h: Include <sys/param.h>.
23752 (MAX): Macro removed.
23754 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23755 Move #define and #undef of memmove to just before and after
23756 including <string.h>.
23758 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23759 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23760 and after including <string.h>. Move declarations of
23761 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23762 to before #include "string/memmove.c".
23764 * include/dirent.h: Declare __getdirentries.
23766 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23767 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23769 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23771 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23772 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23773 * sysdeps/i386/configure: Regenerated.
23774 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23775 STABS_CURRENT_FILE, and STABS_FUN.
23776 (END): Remove call to STABS_FUN_END.
23777 (STABS_CURRENT_FILE1): Delete.
23778 (STABS_CURRENT_FILE): Likewise.
23779 (STABS_FUN): Likewise.
23780 (STABS_FUN_END): Likewise.
23781 (STABS_FUN2): Likewise.
23782 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23783 * sysdeps/x86_64/configure: Regenerated.
23785 2012-08-14 Roland McGrath <roland@hack.frob.com>
23787 * elf/dl-open.c: Include <atomic.h>.
23788 * elf/dl-lookup.c: Likewise.
23790 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/unix/sysv/linux/kernel-features.h
23793 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23794 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23796 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23798 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23799 condition on __ASSUME_CLONE_THREAD_FLAGS.
23801 2012-08-14 Andreas Jaeger <aj@suse.de>
23803 * sysdeps/i386/fpu/libm-test-ulps: Update.
23805 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23807 * include/atomic.h (atomic_exchange_and_add): Split into ...
23808 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23811 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23815 2012-08-13 Jeff Law <law@redhat.com>
23817 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23818 null byte in the output string.
23820 2012-08-10 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/unix/sysv/linux/kernel-features.h
23823 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23824 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23825 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23827 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23828 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23829 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23831 2012-08-09 Jeff Law <law@redhat.com>
23834 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23835 When avoid_arena is set, don't retry in the that arena. Pick the
23836 next one, whatever it might be.
23837 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23838 (arena_lock): Pass in new parameter to arena_get2.
23839 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23841 (__libc_malloc): Unify retrying after main arena failure with
23842 __libc_memalign version.
23843 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23845 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23848 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23849 to __redirect_strstr.
23850 (__strstr_sse42): Use typeof __redirect_strstr.
23851 (__strstr_ia32): Likewise.
23852 (__libc_strstr): New prototype.
23853 (strstr): Renamed to ...
23854 (__libc_strstr): This.
23855 (strstr): New strong alias of __libc_strstr.
23856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23860 (__libc_time): New prototype.
23861 (time_ifunc): Replace time with __libc_time.
23862 (time): New strong alias and hidden definition of __libc_time.
23863 (__GI_time): Remove strong alias.
23864 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23865 Include <stddef.h>.
23866 (memmove): Redefined to __redirect_memmove.
23867 (__memmove_sse2): Use typeof __redirect_memmove.
23868 (__memmove_ssse3): Likewise.
23869 (__memmove_ssse3_back): Likewise.
23870 (__libc_memmove): New prototype.
23871 (memmove): Renamed to ...
23872 (__libc_memmove): This.
23873 (memmove): New strong alias of __libc_memmove.
23875 2012-08-08 Mark Salter <msalter@redhat.com>
23878 (R_MN10300_TLS_GD): Define.
23879 (R_MN10300_TLS_LD): Likewise.
23880 (R_MN10300_TLS_LDO): Likewise.
23881 (R_MN10300_TLS_GOTIE): Likewise.
23882 (R_MN10300_TLS_IE): Likewise.
23883 (R_MN10300_TLS_LE): Likewise.
23884 (R_MN10300_TLS_DTPMOD): Likewise.
23885 (R_MN10300_TLS_DTPOFF): Likewise.
23886 (R_MN10300_TLS_TPOFF): Likewise.
23887 (R_MN10300_SYM_DIFF): Likewise.
23888 (R_MN10300_ALIGN): Likewise.
23889 (R_MN10300_NUM): Update.
23891 2012-08-08 Joseph Myers <joseph@codesourcery.com>
23893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23896 2012-08-08 Roland McGrath <roland@hack.frob.com>
23898 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23900 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23901 sysdeps/unix -> sysdeps/posix move.
23902 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23904 2012-08-07 Allan McRae <allan@archlinux.org>
23907 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23908 (SUNOS_CPP): Likewise.
23909 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23911 (open_input): Call CPP using execvp.
23913 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23915 * sysdeps/unix/sysv/linux/kernel-features.h
23916 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23917 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23918 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23919 (__ASSUME_WAITID_SYSCALL): Likewise.
23920 * sysdeps/unix/sysv/linux/dl-execstack.c
23921 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23922 code unconditional.
23923 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23925 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23926 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23927 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23929 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23931 [__ASSUME_WAITID_SYSCALL]: Likewise.
23932 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23934 2012-08-07 Roland McGrath <roland@hack.frob.com>
23936 * sysdeps/unix/closedir.c: Renamed to ...
23937 * sysdeps/posix/closedir.c: ... here.
23938 * sysdeps/unix/dirfd.c: Renamed to ...
23939 * sysdeps/posix/dirfd.c: ... here.
23940 * sysdeps/unix/dirstream.h: Renamed to ...
23941 * sysdeps/posix/dirstream.h: ... here.
23942 * sysdeps/unix/fdopendir.c: Renamed to ...
23943 * sysdeps/posix/fdopendir.c: ... here.
23944 * sysdeps/unix/opendir.c: Renamed to ...
23945 * sysdeps/posix/opendir.c: ... here.
23946 * sysdeps/unix/readdir.c: Renamed to ...
23947 * sysdeps/posix/readdir.c: ... here.
23948 * sysdeps/unix/readdir_r.c: Renamed to ...
23949 * sysdeps/posix/readdir_r.c: ... here.
23950 * sysdeps/unix/rewinddir.c: Renamed to ...
23951 * sysdeps/posix/rewinddir.c: ... here.
23952 * sysdeps/unix/seekdir.c: Renamed to ...
23953 * sysdeps/posix/seekdir.c: ... here.
23954 * sysdeps/unix/telldir.c: Renamed to ...
23955 * sysdeps/posix/telldir.c: ... here.
23956 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23957 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23958 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23959 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23962 * bits/fcntl.h: ... here.
23964 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23966 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23967 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23968 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23969 (struct flock): Move l_start, l_len to the beginning.
23970 Use __pid_t for l_pid.
23971 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23972 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23973 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23974 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23975 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23976 [__USE_LARGEFILE64] (struct flock64): New type.
23977 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23980 * bits/dirent.h: ... here.
23982 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23983 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23985 2012-08-07 Joseph Myers <joseph@codesourcery.com>
23987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23988 Change from 2.6.0 to 2.6.16.
23989 * sysdeps/unix/sysv/linux/configure: Regenerated.
23990 * sysdeps/unix/sysv/linux/kernel-features.h
23991 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23992 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23994 (__ASSUME_UTIMES): Likewise.
23995 (__ASSUME_CLONE_STOPPED): Remove.
23996 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23997 architectures, not kernel version.
23998 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24001 (__ASSUME_WAITID_SYSCALL): Likewise.
24002 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24003 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24004 * README: State 2.6.16 as minimum Linux kernel version. Do not
24005 refer to older versions.
24007 2012-08-06 Roland McGrath <roland@hack.frob.com>
24009 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24010 Define alphasort64 as an alias.
24011 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24012 Define versionsort64 as an alias.
24013 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24014 Define scandir64 as an alias.
24015 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24016 Define scandirat64 as an alias.
24017 * dirent/alphasort64.c (alphasort64):
24018 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24019 * dirent/versionsort64.c: Likewise.
24020 * dirent/scandir64.c: Likewise.
24021 * dirent/scandirat64.c: Likewise.
24022 * sysdeps/wordsize-64/alphasort.c: File removed.
24023 * sysdeps/wordsize-64/alphasort64.c: File removed.
24024 * sysdeps/wordsize-64/scandir.c: File removed.
24025 * sysdeps/wordsize-64/scandir64.c: File removed.
24026 * sysdeps/wordsize-64/scandirat.c: File removed.
24027 * sysdeps/wordsize-64/scandirat64.c: File removed.
24028 * sysdeps/wordsize-64/versionsort.c: File removed.
24029 * sysdeps/wordsize-64/versionsort64.c: File removed.
24030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24039 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24041 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24043 [defined __arch64__ || defined __sparcv9]
24044 (__INO_T_MATCHES_INO64_T): New macro.
24045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24046 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24047 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24048 * sysdeps/unix/sysv/linux/bits/dirent.h
24049 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24050 (_DIRENT_MATCHES_DIRENT64): New macro.
24052 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24053 Define lockf64 as an alias.
24054 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24055 Define fseeko64 as an alias.
24056 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24057 Define ftello64 as an alias.
24058 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24059 Define _IO_fgetpos64 and fgetpos64 as aliases.
24060 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24061 Define _IO_fsetpos64 and fsetpos64 as aliases.
24062 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24063 Conditionalize body on this.
24064 * libio/fseeko64.c: Likewise.
24065 * libio/ftello64.c: Likewise.
24066 * libio/iofgetpos64.c: Likewise.
24067 * libio/iofsetpos64.c: Likewise.
24068 * sysdeps/wordsize-64/lockf.c: File removed.
24069 * sysdeps/wordsize-64/lockf64.c: File removed.
24070 * sysdeps/wordsize-64/fseeko.c: File removed.
24071 * sysdeps/wordsize-64/fseeko64.c: File removed.
24072 * sysdeps/wordsize-64/ftello.c: File removed.
24073 * sysdeps/wordsize-64/ftello64.c: File removed.
24074 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24075 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24076 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24077 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24079 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24086 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24087 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24089 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24091 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24093 [defined __arch64__ || defined __sparcv9]
24094 (__OFF_T_MATCHES_OFF64_T): New macro.
24095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24096 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24098 (__OFF_T_MATCHES_OFF64_T): New macro.
24100 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24102 * stdlib/secure-getenv.c (__secure_getenv): Replace
24103 GLIBC_2_16 with GLIBC_2_17.
24105 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24110 2012-08-03 David S. Miller <davem@davemloft.net>
24112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24114 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24118 (__ASSUME_CORRECT_SI_PID): Likewise.
24119 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24120 (__ASSUME_TMPFS_NAME): Likewise.
24121 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24122 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24123 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24124 (HAVE_AUX_SECURE): Make definition unconditional.
24125 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24126 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24128 2012-08-03 Roland McGrath <roland@hack.frob.com>
24130 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24131 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24132 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24134 __eloop_threshold instead of SYMLOOP_MAX.
24136 * sysdeps/generic/eloop-threshold.h: New file.
24137 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24139 * elf/chroot_canon.c (chroot_canon): Likewise.
24141 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24145 Change to 2.6.0 everywhere.
24146 * sysdeps/unix/sysv/linux/configure: Regenerated.
24147 * sysdeps/unix/sysv/linux/kernel-features.h
24148 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24149 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24151 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24152 (__ASSUME_FUTEX_REQUEUE): Remove.
24153 (__ASSUME_STATFS64): Define unconditionally.
24154 (__ASSUME_AT_SECURE): Likewise.
24155 (__ASSUME_CORRECT_SI_PID): Likewise.
24156 (__ASSUME_TGKILL): Define without depending on kernel version for
24158 (__ASSUME_UTIMES): Likewise.
24159 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24161 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24162 (__ASSUME_TMPFS_NAME): Likewise.
24163 * README: Update reference to Linux kernel versions.
24165 2012-08-02 Marek Polacek <polacek@redhat.com>
24168 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24169 libc_cv_asm_type_prefix with %.
24170 * configure: Regenerated.
24171 * include/libc-symbols.h: Remove comment about
24172 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24173 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24174 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24175 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24176 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24177 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24178 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24179 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24180 * elf/tst-unique2mod1.c: Likewise.
24181 * elf/tst-unique1mod2.c: Likewise.
24182 * elf/tst-unique1mod1.c: Likewise.
24183 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24184 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24185 Replace ASM_TYPE_DIRECTIVE with .type.
24186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24187 * sysdeps/i386/sysdep.h: Likewise.
24188 * sysdeps/x86_64/sysdep.h: Likewise.
24189 * sysdeps/sh/sysdep.h: Likewise.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24191 Do not define ASM_TYPE_DIRECTIVE.
24192 * sysdeps/powerpc/sysdep.h: Likewise.
24193 * sysdeps/powerpc/powerpc32/sysdep.h:
24194 Replace ASM_TYPE_DIRECTIVE with .type.
24195 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24196 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24197 * sysdeps/i386/fpu/e_powf.S: Likewise.
24198 * sysdeps/i386/fpu/e_expl.S: Likewise.
24199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24201 * sysdeps/i386/fpu/e_pow.S: Likewise.
24202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24206 * sysdeps/i386/fpu/e_log2.S: Likewise.
24207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24209 * sysdeps/i386/fpu/e_powl.S: Likewise.
24210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24212 * sysdeps/i386/fpu/e_logl.S: Likewise.
24213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24218 * sysdeps/i386/fpu/e_log.S: Likewise.
24219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24220 * sysdeps/i386/fpu/e_logf.S: Likewise.
24221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24223 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24224 * sysdeps/i386/fpu/e_log10.S: Likewise.
24225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24231 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24232 * sysdeps/i386/i686/strtok.S: Likewise.
24233 * sysdeps/i386/i386-mcount.S: Likewise.
24234 * sysdeps/i386/strtok.S: Likewise.
24235 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24239 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24244 * sysdeps/x86_64/_mcount.S: Likewise.
24245 * sysdeps/x86_64/strtok.S: Likewise.
24246 * sysdeps/sh/_mcount.S: Likewise.
24248 2012-08-01 Roland McGrath <roland@hack.frob.com>
24250 * libio/iofopen.c: Include <fcntl.h>.
24251 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24252 (_IO_fopen64, fopen64): Define as aliases.
24253 * libio/iofopen64.c: Include <fcntl.h>.
24254 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24255 Conditionalize body on this.
24256 * sysdeps/wordsize-64/iofopen.c: File removed.
24257 * sysdeps/wordsize-64/iofopen64.c: File removed.
24259 2012-08-01 Marek Polacek <polacek@redhat.com>
24261 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24262 Use dlfcn directly instead of a variable.
24263 (binfmt-subdir): Do not define.
24266 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24269 Remove all definitions.
24270 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24271 <kernel-features.h>.
24272 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24273 (miss_F_GETOWN_EX): Remove all definitions.
24274 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24276 [!__ASSUME_FCNTL64]: Remove conditional code.
24277 [__ASSUME_FCNTL64]: Make code unconditional.
24278 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24279 <kernel-features.h>.
24280 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24281 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24282 (lockf64) [__NR_fcntl64]: Make code unconditional.
24283 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24285 * sysdeps/unix/sysv/linux/kernel-features.h
24286 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24287 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24288 Make code unconditional.
24289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24292 [__NR_vfork]: Make code unconditional.
24293 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24294 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24296 [__NR_vfork]: Make code unconditional.
24297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24300 2012-08-01 Roland McGrath <roland@hack.frob.com>
24302 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24303 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24305 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24306 Define mkstemp64 as an alias.
24307 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24308 Define mkstemps64 as an alias.
24309 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24310 Define mkostemp64 as an alias.
24311 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24312 Define mkostemps64 as an alias.
24313 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24314 Conditionalize body on this.
24315 * misc/mkostemp64.c: Likewise.
24316 * misc/mkostemps64.c: Likewise.
24317 * misc/mkstemps64.c: Likewise.
24318 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24319 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24320 * sysdeps/wordsize-64/mkostemp.c: File removed.
24321 * sysdeps/wordsize-64/mkstemp.c: File removed.
24322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24328 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24329 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24330 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24331 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24333 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24334 compat_symbol macros from <shlib-compat.h> rather than the underlying
24335 default_symbol_version and symbol_version macros, so that DEFAULT
24336 lines in shlib-versions are respected.
24337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24339 2012-08-01 Florian Weimer <fweimer@redhat.com>
24341 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24342 Declare with warn_unused_result.
24343 (setgid, setregid, setegid, setresgid): Likewise.
24344 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24346 * WUR-REPORT: Remove set*id functions.
24348 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24350 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24352 2012-07-31 Roland McGrath <roland@hack.frob.com>
24355 * include/sys/socket.h (__libc_accept, __libc_accept4):
24356 Add attribute_hidden.
24357 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24359 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24361 * inet/getnetgrent_r.c (setup): Likewise.
24363 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24365 2012-07-31 David S. Miller <davem@davemloft.net>
24367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24369 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24372 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24373 value between 1.0 and 2.0 and smaller part has absolute value less
24375 * math/s_clog10.c (__clog10): Likewise.
24376 * math/s_clog10f.c (__clog10f): Likewise.
24377 * math/s_clog10l.c (__clog10l): Likewise.
24378 * math/s_clogf.c (__clogf): Likewise.
24379 * math/s_clogl.c (__clogl): Likewise.
24380 * math/libm-test.inc (clog_test): Add more tests.
24381 (clog10_test): Likewise.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24385 2012-07-31 Florian Weimer <fweimer@redhat.com>
24387 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24388 Exit with zero in case no suitable GID is found, and write a
24389 message to standard error.
24391 2012-07-30 Roland McGrath <roland@hack.frob.com>
24393 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24395 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24396 (MAXPATHLEN): Removed.
24397 (NOGROUP, NODEV): New macros.
24398 (setbit, clrbit, isset, isclr): New macros.
24399 (howmany, roundup, powerof2): New macros.
24400 (DEV_BSIZE): New macro.
24402 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24403 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24405 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24406 definition on [!__NO_LONG_DOUBLE_MATH].
24408 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24409 PTR_MANGLE and PTR_DEMANGLE.
24411 * socket/accept4.c (accept4): Rename to __libc_accept4.
24412 Define accept4 as a weak alias.
24414 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24415 on [_DIRENT_HAVE_D_TYPE].
24416 * io/ftw.c (ftw_dir): Likewise.
24418 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24420 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24422 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24423 Use the BSD numbers rather than the arbitrary ones we had.
24424 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24425 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24426 (SIGXCPU, SIGXFSZ): New macros.
24429 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24430 initializer on [_LIBC_REENTRANT].
24432 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24433 definitions inside [_POSIX_MAPPED_FILES].
24435 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24437 * dirent/opendir.c: Include <fcntl.h>.
24439 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24440 (__libc_getspecific): Likewise.
24441 (__libc_key_create): Likewise.
24443 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24444 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24445 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24446 (tmpfile64): Define as alias.
24447 * sysdeps/wordsize-64/tmpfile.c: File removed.
24448 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24449 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24452 * stdio-common/vfscanf.c: Include <stdbool.h>.
24453 * nss/makedb.c: Likewise.
24454 * stdio-common/_i18n_number.h: Likewise.
24455 * argp/argp-help.c: Likewise.
24456 * posix/wordexp.c: Likewise.
24457 * sysdeps/posix/spawni.c: Likewise.
24458 * nss/nss_files/files-initgroups.c: Likewise.
24459 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24460 * nss/nss_files/files-initgroups.c: Likewise.
24461 * nss/nss_db/db-netgrp.c: Likewise.
24462 * nss/nss_db/db-initgroups.c: Likewise.
24463 * io/fchmodat.c: Include <sys/stat.h>.
24465 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24466 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24468 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24471 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24472 Add multiple inclusion protection.
24474 2012-07-27 David S. Miller <davem@davemloft.net>
24476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24478 2012-07-27 Gary Benson <gbenson@redhat.com>
24481 * elf/rtld.c: Include <stap-probe.h>.
24482 (dl_main): Added static probes "init_start" and "init_complete".
24483 * elf/dl-load.c: Include <stap-probe.h>.
24484 (lose): Take new parameter "nsid".
24485 Added static probe "map_failed".
24486 (_dl_map_object_from_fd): Pass namespace id to lose.
24487 Added static probe "map_start".
24488 (open_verify): Pass namespace id to lose.
24489 * elf/dl-open.c: Include <stap-probe.h>.
24490 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24491 and "reloc_complete".
24492 * elf/dl-close.c: Include <stap-probe.h>.
24493 (_dl_close_worker): Added static probes "unmap_start" and
24495 * elf/rtld-debugger-interface.txt: New file documenting the above.
24497 2012-07-26 Roland McGrath <roland@hack.frob.com>
24499 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24500 rather than a string variable.
24501 * sunrpc/rpc_main.c (h_output): Likewise.
24502 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24504 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24506 * inet/check_native.c: New file.
24508 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24511 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24512 if larger part has absolute value 1.0.
24513 * math/s_clog10.c (__clog10): Likewise.
24514 * math/s_clog10f.c (__clog10f): Likewise.
24515 * math/s_clog10l.c (__clog10l): Likewise.
24516 * math/s_clogf.c (__clogf): Likewise.
24517 * math/s_clogl.c (__clogl): Likewise.
24518 * math/libm-test.inc (clog_test): Add more tests.
24519 (clog10_test): Likewise.
24520 * sysdeps/i386/fpu/libm-test-ulps: Update.
24521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24523 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24524 (pltexit): Likewise.
24525 (La_regs): Likewise.
24526 (La_retval): Likewise.
24527 (int_retval): Likewise.
24528 Update #error for removed macros to refer only to definitions in
24530 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24532 (pltexit): Likewise.
24533 (La_regs): Likewise.
24534 (La_retval): Likewise.
24535 (int_retval): Likewise.
24536 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24538 (pltexit): Likewise.
24539 (La_regs): Likewise.
24540 (La_retval): Likewise.
24541 (int_retval): Likewise.
24542 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24544 (pltexit): Likewise.
24545 (La_regs): Likewise.
24546 (La_retval): Likewise.
24547 (int_retval): Likewise.
24548 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24550 (pltexit): Likewise.
24551 (La_regs): Likewise.
24552 (La_retval): Likewise.
24553 (int_retval): Likewise.
24554 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24556 (pltexit): Likewise.
24557 (La_regs): Likewise.
24558 (La_retval): Likewise.
24559 (int_retval): Likewise.
24560 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24562 (pltexit): Likewise.
24563 (La_regs): Likewise.
24564 (La_retval): Likewise.
24565 (int_retval): Likewise.
24566 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24567 macro definitions in tst-audit.h.
24568 * sysdeps/i386/tst-audit.h: New file.
24569 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24570 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24571 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24572 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24573 * sysdeps/sh/tst-audit.h: Likewise.
24574 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24575 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24576 * sysdeps/x86_64/tst-audit.h: Likewise.
24578 2012-07-26 Andreas Jaeger <aj@suse.de>
24580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24583 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24584 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24585 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24587 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24588 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24589 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24591 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24594 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24596 (si_call_addr, si_syscall, si_arch): Define new macro.
24597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24599 (si_call_addr, si_syscall, si_arch): Define new marcro.
24600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24602 (si_call_addr, si_syscall, si_arch): Define new macro.
24603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24605 (si_call_addr, si_syscall, si_arch): Define new macro.
24607 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24611 Change to 2.4.21 where previously 2.4.1.
24612 * sysdeps/unix/sysv/linux/configure: Regenerated.
24613 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24614 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24615 Linux kernel version.
24616 (__ASSUME_STD_AUXV): Remove.
24617 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24619 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24620 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24621 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24622 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24623 (__ASSUME_NETLINK_SUPPORT): Likewise.
24624 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24625 (__no_netlink_support): Remove conditional definition.
24626 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24628 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24629 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24630 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24631 (if_nameindex_ioctl): Remove.
24632 (if_nameindex_netlink): Do not handle __no_netlink_support.
24633 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24635 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24636 Remove conditional code.
24637 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24639 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24641 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24642 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24643 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24645 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24646 [!__ASSUME_STD_AUXV]: Remove conditional code.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24648 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24649 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24651 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24652 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24654 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24656 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24657 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24659 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24661 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24664 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24667 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24668 code unconditional.
24669 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24671 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24673 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24676 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24678 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24681 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24682 code unconditional.
24683 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24685 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24687 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24690 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24691 code unconditional.
24692 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24694 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24696 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24699 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24701 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24702 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24703 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24704 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24705 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24706 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24708 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24709 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24710 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24711 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24712 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24713 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24714 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24717 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24719 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24721 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24722 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24725 2012-07-25 Florian Weimer <fweimer@redhat.com>
24727 * Versions.def: Add GLIBC_2.17.
24728 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24729 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24730 Introduce __libc_secure_getenv.
24731 * stdlib/Versions (2.17): Add secure_getenv
24732 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24733 * stdlib/secure-getenv.c: Rename __secure_getenv to
24734 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24735 symbol __secure_getenv for GLIBC_2.0.
24736 * stdlib/tst-secure-getenv.c: New.
24737 * stdlib/Makefile (tests): Add testcase.
24738 * manual/startup.texi (Environment Access): Document
24740 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24741 __libc_secure_getenv.
24742 * inet/ruserpass.c (ruserpass): Likewise.
24743 * malloc/mtrace.c (mtrace): Likewise.
24744 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24745 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24746 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24747 * sysdeps/posix/tempname.c: Likewise. Evaluate
24748 HAVE_SECURE_GETENV.
24749 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24750 __secure_getenv to __libc_secure_getenv.
24751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24764 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24766 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24767 (struct La_i86_retval): Likewise.
24768 (struct La_x86_64_regs): Likewise.
24769 (struct La_x86_64_retval): Likewise.
24770 (struct La_x32_regs): Likewise.
24771 (struct La_x32_retval): Likewise.
24772 (struct La_ppc32_regs): Likewise.
24773 (struct La_ppc32_retval): Likewise.
24774 (struct La_ppc64_regs): Likewise.
24775 (struct La_ppc64_retval): Likewise.
24776 (struct La_sh_regs): Likewise.
24777 (struct La_sh_retval): Likewise.
24778 (struct La_s390_32_regs): Likewise.
24779 (struct La_s390_32_retval): Likewise.
24780 (struct La_s390_64_regs): Likewise.
24781 (struct La_s390_64_retval): Likewise.
24782 (struct La_sparc32_regs): Likewise.
24783 (struct La_sparc32_retval): Likewise.
24784 (struct La_sparc64_regs): Likewise.
24785 (struct La_sparc64_retval): Likewise.
24786 (struct audit_ifaces): Remove architecture-specific pltenter and
24788 * sysdeps/i386/ldsodefs.h: New file.
24789 * sysdeps/powerpc/ldsodefs.h: Likewise.
24790 * sysdeps/s390/ldsodefs.h: Likewise.
24791 * sysdeps/sh/ldsodefs.h: Likewise.
24792 * sysdeps/sparc/ldsodefs.h: Likewise.
24793 * sysdeps/x86_64/ldsodefs.h: Likewise.
24795 2012-07-25 Marek Polacek <polacek@redhat.com>
24798 * math/libm-test.inc (yn_test): Add another test.
24799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24800 to ERANGE when the result is +-Inf.
24801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24802 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24803 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24804 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24806 2012-07-24 Joseph Myers <joseph@codesourcery.com>
24808 * conform/data/time.h-data (NULL): Use macro-constant. Require
24810 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24812 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24814 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24816 * configure.in <sysdeps resolving>: Correct printing
24818 * configure: Regenerate.
24820 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24822 * math/w_ilogb.c: Include <limits.h>.
24823 * math/w_ilogbl.c: Likewise.
24825 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24827 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24828 va_copy. Document allowing for unavailable va_copy only as
24829 pre-C99 compatibility.
24830 * manual/string.texi (Copying and Concatenation): Use va_copy
24831 instead of __va_copy in concat example.
24833 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24835 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24836 (__sendto): Use create_address_port. Initialize APORT and deallocate
24839 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24840 with O_NOLINK passed to __file_name_lookup.
24842 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24843 with O_NOLINK passed to __file_name_lookup.
24845 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24846 negative N or less than NGIDS.
24848 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24849 type to string_t. Set ERANGE as errno and return it if NAME is not big
24850 enough. Use memcpy instead of strncpy.
24852 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24854 * elf/Makefile (check-data): Remove.
24855 (localplt.data): New vpath directive.
24856 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24857 instead of $(check-data).
24858 * scripts/data/localplt-generic.data: Move to ...
24859 * sysdeps/generic/localplt.data: ... here.
24860 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24861 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24862 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24865 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24868 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24871 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24874 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24877 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24881 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24883 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24884 PPC32 and PPC64 files.
24885 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24886 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24888 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24890 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24891 __makecontext_ret to ...
24892 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24893 ... here and call exit if uc_link is NULL. New file.
24894 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24895 __makecontext_ret.S.
24896 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24897 __makecontext_ret to ...
24898 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24899 ... here and call exit if uc_link is NULL. New file.
24900 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24901 __makecontext_ret.S.
24903 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24905 * elf/elf.h (R_390_IRELATIVE): New definition.
24906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24907 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24908 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24910 (elf_machine_lazy_rel): Likewise.
24911 * sysdeps/s390/dl-irel.h: New file.
24912 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24913 * sysdeps/s390/s390-64/memset.S: New asm code.
24914 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24915 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24916 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24917 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24918 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24919 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24921 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24922 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24923 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24924 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24925 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24926 * sysdeps/s390/s390-32/memset.S: New asm code.
24927 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24929 2012-07-17 Marek Polacek <polacek@redhat.com>
24932 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24933 * sysdeps/s390/s390-64/configure.in: Likewise.
24934 * sysdeps/sparc/configure.in: Likewise.
24935 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24936 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24937 * sysdeps/i386/configure.in: Likewise.
24938 * sysdeps/x86_64/configure.in: Likewise.
24939 * sysdeps/sh/configure.in: Likewise.
24940 * sysdeps/s390/s390-32/configure: Regenerated.
24941 * sysdeps/s390/s390-64/configure: Likewise.
24942 * sysdeps/x86_64/configure: Likewise.
24943 * sysdeps/sh/configure: Likewise.
24944 * sysdeps/powerpc/powerpc64/configure: Likewise.
24945 * sysdeps/powerpc/powerpc32/configure: Likewise.
24946 * sysdeps/sparc/configure: Likwise.
24947 * sysdeps/i386/configure: Likewise.
24949 * elf/dl-open.c: Comment fixes.
24951 2012-07-17 Joseph Myers <joseph@codesourcery.com>
24953 * Makefile [CXX] (check-data): Remove.
24954 [CXX] (c++-types.data): New vpath directive.
24955 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24956 vpath. Do not allow for C++ type data being missing.
24957 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24958 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24959 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24960 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24961 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24962 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24963 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24966 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24969 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24972 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24975 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24978 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24981 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24984 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24987 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24988 definitions to architecture-specific files.
24989 (TLS_IE): Likewise.
24990 (TLS_LD): Likewise.
24991 (TLS_GD): Likewise.
24992 * sysdeps/i386/tls-macros.h: New file.
24993 * sysdeps/powerpc/tls-macros.h: Likewise.
24994 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24995 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24996 * sysdeps/sh/tls-macros.h: Likewise.
24997 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24998 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24999 * sysdeps/x86_64/tls-macros.h: Likewise.
25001 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25004 zero value for regular exit case.
25006 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25007 (__start_context): Preserve zero value for regular exit case.
25009 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25010 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25012 * manual/setjmp.texi (setcontext): Clarify normal process
25013 termination when uc_link is the null pointer.
25014 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25017 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25019 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25020 preprocessor. Test for each exception mask separately.
25022 2012-07-16 Andreas Jaeger <aj@suse.de>
25024 * po/ru.po: Update from translation team.
25026 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25028 * conform/data/string.h-data (NULL): Use macro-constant. Require
25030 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25032 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25033 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25036 2012-07-13 Andreas Jaeger <aj@suse.de>
25038 * po/fr.po: Update from translation team.
25040 2012-07-12 Marek Polacek <polacek@redhat.com>
25043 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25047 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25051 Change to 2.4.1 where previously 2.4.0.
25052 * sysdeps/unix/sysv/linux/configure: Regenerated.
25053 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25054 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25056 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25057 (__ASSUME_AT_CLKTCK): Remove.
25058 (__ASSUME_AT_PAGESIZE): Likewise.
25059 (__ASSUME_AT_XID): Likewise.
25060 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25061 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25062 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25064 (HAVE_AUX_PAGESIZE): Likewise.
25065 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25066 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25067 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25069 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25073 the temporary buffer used to invoke __gethostbyname2_r,
25074 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25075 host_data / struct gaih_addrtuple.
25076 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25077 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25078 header file nss/nsswitch.h.
25079 * nss/nsswitch.h (global scope): Add definition of implementation
25080 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25081 resolv/nss_dns/dns-host.c).
25083 2012-07-11 Andreas Jaeger <aj@suse.de>
25085 * po/fr.po: Update from translation team.
25087 * po/sv.po: Update from translation team
25088 * po/fr.po: Another update from translation team.
25090 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25093 for subnormals or multiply small sinh result by itself.
25094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25097 2012-07-11 David S. Miller <davem@davemloft.net>
25099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25101 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25104 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25105 (INTERNAL_MARK): Shift it here.
25107 2012-07-10 Marek Polacek <polacek@redhat.com>
25110 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25111 libc_cv_asm_global_directive with .globl.
25112 * configure: Regenerated.
25113 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25115 * sysdeps/i386/configure: Regenerated.
25116 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25118 * sysdeps/x86_64/configure: Regenerated.
25119 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25120 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25121 * elf/tst-unique2mod2.c: Likewise.
25122 * elf/tst-unique2mod1.c: Likewise.
25123 * elf/tst-unique1mod2.c: Likewise.
25124 * elf/tst-unique1mod1.c: Likewise.
25125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25126 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25128 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25129 * sysdeps/mach/sysdep.h: Likewise.
25130 * sysdeps/i386/sysdep.h: Likewise.
25131 * sysdeps/i386/i386-mcount.S: Likewise.
25132 * sysdeps/x86_64/_mcount.S: Likewise.
25133 * sysdeps/x86_64/sysdep.h: Likewise.
25134 * sysdeps/sh/_mcount.S: Likewise.
25135 * sysdeps/sh/sysdep.h: Likewise.
25136 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25137 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25138 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25140 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25141 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25142 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25143 * locale/localeinfo.h: Likewise.
25144 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25145 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25147 2012-07-09 Roland McGrath <roland@hack.frob.com>
25150 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25152 * manual/message.texi (The Uniforum approach): Likewise.
25153 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25154 (glibc iconv Implementation): Likewise.
25156 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25159 * math/s_clog.c (__clog): Avoid scaling a value down where that
25160 could result in underflow.
25161 * math/s_clog10.c (__clog10): Likewise.
25162 * math/s_clog10f.c (__clog10f): Likewise.
25163 * math/s_clog10l.c (__clog10l): Likewise.
25164 * math/s_clogf.c (__clogf): Likewise.
25165 * math/s_clogl.c (__clogl): Likewise.
25166 * math/libm-test.inc (clog_test): Add more tests.
25167 (clog10_test): Likewise.
25168 * sysdeps/i386/fpu/libm-test-ulps: Update.
25169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25171 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25175 by 7 not 8 to examine high bit of fractional part.
25178 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25179 for call to __mcount_internal.
25180 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25181 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25182 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25184 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25187 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25188 approximation for values within 0x1p-13f of an odd multiple of
25190 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25191 exception. Add more tests.
25192 * sysdeps/i386/fpu/libm-test-ulps: Update.
25195 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25196 inputs and return -1 for them. Do not check for +Inf in case not
25197 reachable for +Inf.
25198 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25199 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25201 and return -1 for them. Do not check for +Inf in case not
25202 reachable for +Inf.
25203 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25206 and return -1 for them. Do not check for +Inf in case not
25207 reachable for +Inf.
25208 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25209 spurious underflow.
25210 * sysdeps/i386/fpu/libm-test-ulps: Update.
25211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25213 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25215 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25217 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25221 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25222 could result in spurious underflow. Scale down values above
25223 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25224 * math/s_csqrtf.c (__csqrtf): Likewise.
25225 * math/s_csqrtl.c (__csqrtl): Likewise.
25226 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25227 spurious underflow.
25228 * sysdeps/i386/fpu/libm-test-ulps: Update.
25229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25231 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25233 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25235 * catgets/xopen-msg.awk: New file.
25236 * catgets/xopen-msg.sed: Removed.
25238 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25240 * intl/po2test.awk: New file.
25241 * intl/po2test.sed: Removed.
25243 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25246 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25247 or multiply small sinh result by itself.
25248 * math/s_ctanf.c (__ctanf): Likewise.
25249 * math/s_ctanh.c (__ctanh): Likewise.
25250 * math/s_ctanhf.c (__ctanhf): Likewise.
25251 * math/s_ctanhl.c (__ctanhl): Likewise.
25252 * math/s_ctanl.c (__ctanl): Likewise.
25253 * math/libm-test.inc (ctan_test_tonearest): New function.
25254 (ctan_test_towardzero): Likewise.
25255 (ctan_test_downward): Likewise.
25256 (ctan_test_upward): Likewise.
25257 (ctanh_test_tonearest): Likewise.
25258 (ctanh_test_towardzero): Likewise.
25259 (ctanh_test_downward): Likewise.
25260 (ctanh_test_upward): Likewise.
25261 (main): Call these new functions.
25262 * sysdeps/i386/fpu/libm-test-ulps: Update.
25263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25265 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25267 * .gitignore: Delete /ports entry.
25269 2012-07-03 Andreas Jaeger <aj@suse.de>
25271 * po/bg.po: Update from translation team.
25272 * po/cs.po: Likewise.
25273 * po/de.po: Likewise.
25274 * po/hr.po: Likewise.
25275 * po/nl.pl: Likewise.
25276 * po/pl.po: Likewise.
25277 * po/vi.po: Likewise.
25279 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25281 * Makeconfig [!+link] (+link-before-libc): New variable.
25282 [!+link] (+link-after-libc): Likewise.
25283 [!+link] (+link-tests): Likewise.
25284 [!+link] (+link): Define in terms of $(+link-before-libc) and
25285 $(+link-after-libc).
25286 [!+link-static] (+link-static-before-libc): New variable.
25287 [!+link-static] (+link-static-after-libc): Likewise.
25288 [!+link-static] (+link-static-tests): Likewise.
25289 [!+link-static] (+link-static): Define in terms of
25290 $(+link-static-before-libc) and $(+link-static-after-libc).
25291 [build-shared] (link-libc-before-gnulib): New variable.
25292 [build-shared] (link-libc-tests): Likewise.
25293 [build-shared] (link-libc): Define in terms of
25294 $(link-libc-before-gnulib).
25295 [!build-shared] (link-libc-tests): New variable.
25296 (link-libc-static-tests): New variable.
25297 [!gnulib] (gnulib-arch): New variable.
25298 [!gnulib] (gnulib-tests): Likewise.
25299 [!gnulib] (static-gnulib-arch): Likewise.
25300 [!gnulib] (static-gnulib-tests): Likewise.
25301 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25302 Define with "=" instead of ":=".
25303 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25304 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25305 * Rules (binaries-all-notests): New variable.
25306 (binaries-all-tests): Likewise.
25307 (binaries-static-notests): Likewise.
25308 (binaries-static-tests): Likewise.
25309 (binaries-all): Define using $(binaries-all-notests) and
25310 $(binaries-all-tests).
25311 (binaries-static): Define using $(binaries-static-notests) and
25312 $(binaries-static-tests).
25313 (binaries-shared-tests): New variable.
25314 (binaries-shared-notests): Likewise.
25315 (binaries-shared): Remove variable.
25316 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25317 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25318 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25319 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25320 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25321 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25322 * elf/Makefile (sln-modules): New variable.
25323 (extra-objs): Add $(sln-modules:=.o).
25324 (ldconfig-modules): Add static-stubs.
25325 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25326 * elf/static-stubs.c: New file.
25329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25330 by 7 not 8 to examine high bit of fractional part. Use volatile
25331 variables when splitting into final array of floats if
25332 __FLT_EVAL_METHOD__ != 0.
25333 * math/libm-test.inc (cos_test): Add another test.
25334 (sin_test): Likewise.
25335 * sysdeps/i386/fpu/libm-test-ulps: Update.
25338 * math/libm-test.inc (cosh_test): Add more tests.
25340 * version.h (RELEASE): Set to "development".
25341 (VERSION): Set to "2.16.90".
25343 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25345 * NEWS: Update copyright. Remove last-updated date.
25346 Mention math library bug fixes and timezone data changes.
25347 * README: Mention GNU/Hurd, x32, and HPPA support status.
25349 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25351 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25353 2012-06-27 Andreas Jaeger <aj@suse.de>
25355 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25357 2012-06-25 Andreas Jaeger <aj@suse.de>
25359 * sysdeps/s390/fpu/libm-test-ulps: Update.
25361 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25362 Thomas Schwinge <thomas@codesourcery.com>
25364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25365 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25369 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25371 * sysdeps/mach/start.c: Remove file.
25372 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25373 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25374 * sysdeps/sh/init-first.c: Likewise.
25376 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25377 registers for frame unwinding purposes, add CFI directives.
25378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25380 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25383 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25384 __fortify_fail returning.
25385 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25387 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25388 sysdeps/sh/____longjmp_chk.S.
25389 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25390 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25391 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25392 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25394 * sysdeps/sh/abort-instr.h: New file.
25395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25396 process in case exit returns.
25398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25399 initialize the GOT register before use.
25401 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25402 calculation of ARGC > 4.
25404 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25405 meaningful names to some local labels.
25407 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25408 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25410 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25411 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25412 (__arch_compare_and_exchange_val_16_acq): Likewise.
25413 (__arch_compare_and_exchange_val_32_acq): Likewise.
25414 (atomic_exchange_and_add): Fix gUSA sequence.
25415 (atomic_add): Likewise.
25416 (atomic_add_negative): Likewise.
25417 (atomic_add_zero): Likewise.
25418 (atomic_bit_test_set): Likewise.
25420 2012-06-22 Andreas Schwab <schwab@redhat.com>
25423 * include/link.h (struct link_map): Add l_free_initfini.
25424 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25426 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25427 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25428 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25431 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25433 * configure.in: Use AC_LANG_SOURCE.
25434 * configure: Regenerate.
25436 2012-06-22 Roland McGrath <roland@hack.frob.com>
25438 * configure.in (libc_cv_localstatedir): New substituted variable.
25439 * configure: Regenerated.
25440 * config.make.in (localstatedir): New variable, substituted from
25441 libc_cv_localstatedir.
25442 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25443 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25444 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25445 * sysdeps/gnu/configure: Regenerated.
25447 2012-06-21 Jeff Law <law@redhat.com>
25450 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25451 free. Simplify list management for _LIBC case.
25453 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25457 Clear sign bit of 64-bit integer value before comparing against
25460 * sysdeps/mach/configure: Regenerated.
25462 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25465 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25467 2012-06-21 Jeff Law <law@redhat.com>
25470 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25471 uint16_t for elements in the "seen" array to avoid char overflows.
25472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25473 * elf/dl-open.c (dl_open_worker): Likewise.
25475 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25477 * scripts/list-sources.sh: Scan PORTS for translations.
25478 * po/libc.pot: Regenerated.
25480 2012-06-21 Andreas Jaeger <aj@suse.de>
25483 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25485 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25486 * bits/byteswap-16.h (__bswap_16): Likewise.
25487 * bits/byteswap.h (__bswap_constant_16): Likewise.
25489 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25492 * sysdeps/i386/fpu_control.h: Removed.
25493 * sysdeps/x86_64/fpu_control.h: Moved to ...
25494 * sysdeps/x86/fpu_control.h: Here.
25496 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25497 (_FPU_SETCW): Likewise.
25499 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25502 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25503 * sysdeps/x86/fpu/bits/mathinline.h: This.
25504 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25508 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25509 functions if __x86_64__ is defined.
25511 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25513 * string/endian.h: Add !__ASSEMBLER__ condition for including
25514 conversion interfaces.
25516 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25520 of ABS(x) in calculating zero to negative powers other than odd
25522 * math/libm-test.inc (pow_test): Add more tests.
25524 2012-06-15 Andreas Jaeger <aj@suse.de>
25526 * manual/contrib.texi (Contributors): Update entry of Liubov
25527 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25530 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25532 * string/string.h: Add __wur to GNU version of strerror_r.
25534 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25537 * string/Makefile (tests): Add tst-strtok_r.
25538 * string/tst-strtok_r.c: New file.
25539 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25540 RAX_LP/RDX_LP on SAVE_PTR.
25542 2012-06-14 Roland McGrath <roland@hack.frob.com>
25544 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25546 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25548 * libm_test.inc (csqrt_test): Allow more spurious underflow
25550 (j0_test): Likewise.
25551 (j1_test): Likewise.
25552 (y0_test): Likewise.
25553 (y1_test): Likewise.
25555 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25557 * po/Makefile (libc.pot): Use UTF-8 charset.
25559 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25562 Suppress sign-conversion warning from FD_SET.
25563 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25564 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25565 not unsigned long int.
25566 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25568 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25572 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25573 __extern_always_inline instead of __extern_inline.
25574 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25575 (__signbit): Likewise.
25576 (__signbitl): Support C++ namespace.
25577 (lrintf): New inline function.
25579 (llrintf): Likewise.
25580 (llrint): Likewise.
25590 (floorf): Likewise.
25591 (nearbyint): Likewise.
25592 (nearbyintf): Likewise.
25594 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25597 non-default versions.
25599 2012-06-11 Roland McGrath <roland@hack.frob.com>
25602 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25604 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25606 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25607 (FE_UPWARD, FE_DOWNWARD): Don't define.
25608 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25614 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25616 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25618 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25621 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25623 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25626 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25627 * sysdeps/i386/fpu/Implies: New file.
25628 * sysdeps/x86_64/fpu/Implies: Likewise.
25629 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25630 * sysdeps/x86/fpu/bits/fenv.h: This.
25632 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25635 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25638 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25639 character 0xffff that matches the last element of the
25642 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25647 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25650 values higher than 25.6283.
25652 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25655 subnormal exponent extraction and add some __builtin_expect.
25656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25657 Fix for subnormal mantissa calculation.
25659 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25661 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25662 cpu2 is -1 and errno is not ENOSYS.
25664 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25667 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25668 * sysdeps/x86/bits/string.h: This.
25669 * sysdeps/x86_64/bits/string.h: Removed.
25671 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25672 if not compiling for x86-64, but compiling for >= i486.
25674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25675 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25677 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25678 New macro from Linux kernel 3.4.0.
25679 (FP_XSTATE_MAGIC2): Likewise.
25680 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25681 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25682 (struct _fpx_sw_bytes): New struct.
25683 (struct _xsave_hdr): Likewise.
25684 (struct _ymmh_state): Likewise.
25685 (struct _xstate): Likewise.
25687 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25688 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25690 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25691 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25692 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25694 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25695 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25696 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25697 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25698 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25699 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25701 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25704 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25705 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25706 (sysdep_headers): Include sys/platform/ppc.h.
25707 * sysdeps/powerpc/test-gettimebase.c: Test for
25708 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25709 * manual/Makefile (appendices): Include platform.texi.
25710 * manual/contrib.texi (Contributors): Update @node pointers.
25711 * manual/maint.texi (Maintenance): Likewise.
25712 (Platform): New node.
25713 * manual/platform.texi: New file. Document the new features.
25715 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25716 Jakub Jelinek <jakub@redhat.com>
25719 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25720 where __builtin_expect is unavailable.
25722 2012-06-03 David S. Miller <davem@davemloft.net>
25724 * stdlib/longlong.h: Updated from GCC.
25726 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25729 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25730 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25733 (GLIBC_2.16): Likewise.
25735 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25737 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25739 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25742 (default-abi): New variable.
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25744 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25746 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25748 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25750 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25753 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25754 definition. Document in comment.
25756 2012-06-01 David S. Miller <davem@davemloft.net>
25758 * stdlib/longlong.h: Updated from GCC.
25760 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25763 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25764 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25765 sys/debugreg.h sys/io.h here.
25766 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25767 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25769 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25770 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25771 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25772 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25773 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25774 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25777 Define only if __x86_64__ is defined.
25779 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25782 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25783 Use int64_t for variable i.
25784 * math/libm-test.inc (fmod_test): Add more tests.
25786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25787 z computation is not scheduled after fetestexcept.
25788 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25789 Use math_force_eval instead of asm to ensure calculation scheduled
25790 before exception test.
25791 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25792 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25794 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25797 computation is not scheduled after fetestexcept.
25799 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25802 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25803 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25805 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25807 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25808 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25810 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25813 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25815 (__WCHAR_MIN): Support __WORDSIZE == 64.
25816 (__WCHAR_MAX): Likewise.
25818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25822 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25823 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25826 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25827 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25829 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25830 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25832 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25833 Defined to 1 if __x86_64__ isn't defined.
25834 (_STAT_VER_LINUX_OLD): New.
25835 (st_atime): Remove duplicate.
25836 (st_mtime): Likewise.
25837 (st_ctime): Likewise.
25839 2012-05-31 David S. Miller <davem@davemloft.net>
25841 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25844 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25846 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25850 * elf/dl-reloc.c: Include <_itoa.h>.
25851 (_dl_reloc_bad_type): Remove use of INTUSE.
25852 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25853 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25854 * stdio-common/psiginfo.c (psiginfo): Likewise.
25855 * stdio-common/psignal.c (psignal): Likewise.
25856 * string/strsignal.c (strsignal): Likewise.
25857 * include/signal.h (_sys_siglist): Declare hidden proto.
25858 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25859 INTVARDEF with libc_hidden_data_def.
25860 * stdio-common/itoa-udigits.c: Likewise.
25861 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25862 (_itoa_lower_digits_internal): Remove declaration.
25863 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25864 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25865 (_sys_sigabbrev_internal): Remove aliases.
25866 (_sys_siglist): Define hidden alias.
25868 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25873 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25876 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25877 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25879 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25880 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25882 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25884 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25886 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25888 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25899 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25900 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25902 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25903 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25905 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25906 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25907 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25909 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25910 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25919 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25920 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25922 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25924 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25925 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25926 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25928 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25930 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25932 2012-05-31 Joseph Myers <joseph@codesourcery.com>
25934 * math/math.h (M_El): Use two more decimal places.
25935 (M_LOG2El): Likewise.
25936 (M_LOG10El): Likewise.
25937 (M_LN2l): Likewise.
25938 (M_LN10l): Likewise.
25940 (M_PI_2l): Likewise.
25941 (M_PI_4l): Likewise.
25942 (M_1_PIl): Likewise.
25943 (M_2_PIl): Likewise.
25944 (M_2_SQRTPIl): Likewise.
25945 (M_SQRT2l): Likewise.
25946 (M_SQRT1_2l): Likewise.
25948 2012-05-31 David S. Miller <davem@davemloft.net>
25950 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25951 values between float registers.
25952 * sysdeps/sparc/sparc64/memset.S: Likewise.
25953 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25955 2012-05-31 Mike Frysinger <vapier@gentoo.org>
25957 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25958 -D_FORTIFY_SOURCE=1.
25959 (CPPFLAGS-tst-longjmp_chk.c): Define.
25960 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25961 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25962 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25963 CFLAGS-tst-wchar-h.c.
25965 2012-05-31 Marek Polacek <polacek@redhat.com>
25968 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25969 __endmntent_internal): Remove declaration.
25970 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25971 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25972 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25974 2012-05-30 David S. Miller <davem@davemloft.net>
25976 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25977 (___Q_simulate_exceptions): Use real FP ops rather than writing
25979 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25982 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25985 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25986 * sysdeps/x86/bits/xtitypes.h: This.
25988 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25989 * sysdeps/x86/bits/wordsize.h: This.
25991 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25992 * sysdeps/x86/bits/huge_vall.h: This.
25994 * sysdeps/i386/bits/select.h: Removed.
25995 * sysdeps/x86_64/bits/select.h: Renamed to ...
25996 * sysdeps/x86/bits/select.h: This.
25998 * sysdeps/i386/bits/setjmp.h: Removed.
25999 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26000 * sysdeps/x86/bits/setjmp.h: This.
26002 * sysdeps/i386/bits/mathdef.h: Removed.
26003 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26004 * sysdeps/x86/bits/mathdef.h: This.
26006 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26009 * include/sys/socket.h (__connect_internal)
26010 (__libc_sa_len_internal): Remove declaration.
26011 (__connect, __libc_sa_len): Declare hidden_proto.
26012 (SA_LEN): Remove use of INTUSE.
26013 * socket/connect.c: Add libc_hidden_def.
26014 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26015 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26016 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26018 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26019 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26020 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26021 of adding _internal alias.
26023 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26026 * sysdeps/i386/bits/link.h: Removed.
26027 * sysdeps/i386/bits/linkmap.h: Likewise.
26028 * sysdeps/x86_64/bits/link.h: Renamed to ...
26029 * sysdeps/x86/bits/link.h: This.
26030 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26031 * sysdeps/x86/bits/linkmap.h: This.
26033 * sysdeps/i386/bits/endian.h: Removed.
26034 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26035 * sysdeps/x86/bits/endian.h: This.
26037 * sysdeps/i386/bits/byteswap.h: Removed.
26038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26039 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26040 * sysdeps/x86/bits/byteswap.h: This.
26041 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26042 * sysdeps/x86/bits/byteswap-16.h: This.
26043 * sysdeps/i386/Implies: Add x86.
26044 * sysdeps/x86_64/Implies: Likewise.
26046 2012-05-30 David S. Miller <davem@davemloft.net>
26048 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26049 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26050 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26051 (FP_TRAPPING_EXCEPTIONS): Define.
26052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26053 (FP_TRAPPING_EXCEPTIONS): Define.
26054 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26055 subnormals only when inexact has been signalled or underflow
26056 exceptions are enabled.
26057 (_FP_PACK_CANONICAL): Likewise.
26059 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26063 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26065 2012-05-30 Richard Henderson <rth@twiddle.net>
26067 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26068 with #ifndef NOT_IN_libc.
26070 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26071 marked to avoid plt entry.
26073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26076 * Makeconfig (default-abi): New macro.
26077 (abi-includes): Likewise.
26078 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26079 $(abi-$(default-abi)-lib-soname) for soname if defined.
26080 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26082 * Makefile (installed-stubs): Likewise.
26083 * include/stubs-biarch.h: Removed.
26084 * scripts/lib-names.awk: Only handle one library at a time.
26085 * scripts/soversions.awk: Remove WORDSIZE support.
26086 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26090 (syscall-list-default-condition): Likewise.
26091 (syscall-list-default-condition): Likewise.
26092 (syscall-list-includes): Likewise.
26093 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26094 syscall-list-* with abi-*. Handle undefined abi-variants.
26095 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26096 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26097 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26100 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26102 (syscall-list-32-options): Likewise.
26103 (syscall-list-32-condition): Likewise.
26104 (syscall-list-64-options): Likewise.
26105 (syscall-list-64-condition): Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26108 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26111 (abi-64-ld-soname): New macro.
26112 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26113 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26116 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26117 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26119 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26121 * sysdeps/unix/sysv/linux/kernel-features.h
26122 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26123 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26124 include <kernel-features.h>.
26125 [!__NR_ftruncate64]: Remove conditional code.
26126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26127 [__NR_ftruncate64]: Make code unconditional.
26128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26129 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26130 include <kernel-features.h>.
26131 [!__NR_ftruncate64]: Remove conditional code.
26132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26133 [__NR_ftruncate64]: Make code unconditional.
26134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26136 include <kernel-features.h>.
26137 [!__NR_ftruncate64]: Remove conditional code.
26138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26139 [__NR_ftruncate64]: Make code unconditional.
26140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26142 include <kernel-features.h>.
26143 [!__NR_ftruncate64]: Remove conditional code.
26144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26145 [__NR_ftruncate64]: Make code unconditional.
26146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26148 * configure.in (libc_cv_fpie): Weaken to a compile test using
26149 LIBC_TRY_CC_OPTION.
26150 * configure: Regenerated.
26152 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26167 2012-05-27 David S. Miller <davem@davemloft.net>
26169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26171 (__Q_simulate_exceptions): Return void. Change to simulate
26172 exceptions by writing into the %fsr.
26173 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26174 (__Qp_handle_exceptions): Likewise.
26176 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26177 __Qp_handle_exceptions.
26178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26179 __Qp_handle_exceptions.
26180 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26181 as unused and give dummy FP_RND_NEAREST initializer.
26182 (FP_INHIBIT_RESULTS): Define.
26183 (___Q_simulate_exceptions): Update declaration.
26184 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26186 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26187 as unused and give dummy FP_RND_NEAREST initializer.
26188 (__Qp_handle_exceptions): Update declaration.
26189 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26192 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26194 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26195 the temporary FPU control word.
26196 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26197 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26199 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26200 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26201 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26202 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26203 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26204 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26205 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26208 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26210 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26213 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26215 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26216 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26217 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26218 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26220 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26221 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26224 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26226 * po/h.po: Update from translation team.
26228 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26230 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26233 handling of denormals.
26234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26235 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26243 2012-05-26 Marek Polacek <polacek@redhat.com>
26246 * math/libm-test.inc (fma_test): Don't always expect underflow
26249 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26252 * elf/tst-execstack.c: Include stackinfo.h.
26253 (do_test): Adjust test case to ensure that pthread_getattr_np
26254 behaviour remains the same after marking stack executable.
26256 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26258 * sysdeps/unix/sysv/linux/kernel-features.h
26259 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26260 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26262 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26263 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26264 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26266 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26267 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26269 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26271 * configure.in: Define the default includes to being none.
26272 * configure: Regenerated.
26274 2012-05-25 Roland McGrath <roland@hack.frob.com>
26276 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26277 * sysdeps/x86_64/setjmp.S: Likewise.
26278 * sysdeps/i386/bsd-setjmp.S: Likewise.
26279 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26280 * sysdeps/i386/setjmp.S: Likewise.
26281 * sysdeps/i386/__longjmp.S: Likewise.
26282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26285 * include/stap-probe.h: New file.
26286 * configure.in: Handle --enable-systemtap.
26287 * configure: Regenerated.
26288 * config.h.in (USE_STAP_PROBE): New #undef.
26289 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26290 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26291 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26293 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26297 to 2.4.0 where earlier.
26298 * sysdeps/unix/sysv/linux/configure: Regenerated.
26299 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26300 <kernel-features.h>.
26301 [__ASSUME_32BITUIDS]: Make code unconditional.
26302 [!__ASSUME_32BITUIDS]: Remove conditional code.
26303 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26304 <kernel-features.h>.
26305 [__ASSUME_32BITUIDS]: Make code unconditional.
26306 [!__ASSUME_32BITUIDS]: Remove conditional code.
26307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26308 [__ASSUME_32BITUIDS]: Make code unconditional.
26309 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26310 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26311 <kernel-features.h>.
26312 [__ASSUME_32BITUIDS]: Make code unconditional.
26313 [!__ASSUME_32BITUIDS]: Remove conditional code.
26314 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26315 <kernel-features.h>.
26316 [__ASSUME_32BITUIDS]: Make code unconditional.
26317 [!__ASSUME_32BITUIDS]: Remove conditional code.
26318 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26319 <kernel-features.h>.
26320 [__ASSUME_32BITUIDS]: Make code unconditional.
26321 [!__ASSUME_32BITUIDS]: Remove conditional code.
26322 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26323 <kernel-features.h>.
26324 [__ASSUME_32BITUIDS]: Make code unconditional.
26325 [!__ASSUME_32BITUIDS]: Remove conditional code.
26326 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26327 <kernel-features.h>.
26328 [__ASSUME_32BITUIDS]: Make code unconditional.
26329 [!__ASSUME_32BITUIDS]: Remove conditional code.
26330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26331 <kernel-features.h>.
26332 [__ASSUME_32BITUIDS]: Make code unconditional.
26333 [!__ASSUME_32BITUIDS]: Remove conditional code.
26334 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26335 <kernel-features.h>.
26336 [__ASSUME_32BITUIDS]: Make code unconditional.
26337 [!__ASSUME_32BITUIDS]: Remove conditional code.
26338 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26339 <kernel-features.h>.
26340 [__ASSUME_32BITUIDS]: Make code unconditional.
26341 [!__ASSUME_32BITUIDS]: Remove conditional code.
26342 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26343 <kernel-features.h>.
26344 [__ASSUME_32BITUIDS]: Make code unconditional.
26345 [!__ASSUME_32BITUIDS]: Remove conditional code.
26346 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26347 <kernel-features.h>.
26348 [__ASSUME_32BITUIDS]: Make code unconditional.
26349 [!__ASSUME_32BITUIDS]: Remove conditional code.
26350 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26351 <kernel-features.h>.
26352 [__NR_setresgid] (__setresgid): Do not declare.
26353 [__ASSUME_32BITUIDS]: Make code unconditional.
26354 [!__ASSUME_32BITUIDS]: Remove conditional code.
26355 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26356 <kernel-features.h>.
26357 [__NR_setresuid] (__setresuid): Do not declare.
26358 [__ASSUME_32BITUIDS]: Make code unconditional.
26359 [!__ASSUME_32BITUIDS]: Remove conditional code.
26360 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26361 <kernel-features.h>.
26362 [__ASSUME_32BITUIDS]: Make code unconditional.
26363 [!__ASSUME_32BITUIDS]: Remove conditional code.
26364 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26365 <kernel-features.h>.
26366 [__ASSUME_32BITUIDS]: Make code unconditional.
26367 [!__ASSUME_32BITUIDS]: Remove conditional code.
26368 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26369 <kernel-features.h>.
26370 [__ASSUME_32BITUIDS]: Make code unconditional.
26371 [!__ASSUME_32BITUIDS]: Remove conditional code.
26372 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26373 <kernel-features.h>.
26374 [__ASSUME_32BITUIDS]: Make code unconditional.
26375 [!__ASSUME_32BITUIDS]: Remove conditional code.
26376 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26377 <kernel-features.h>.
26378 [__ASSUME_32BITUIDS]: Make code unconditional.
26379 [!__ASSUME_32BITUIDS]: Remove conditional code.
26380 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26381 <kernel-features.h>.
26382 [__ASSUME_32BITUIDS]: Make code unconditional.
26383 [!__ASSUME_32BITUIDS]: Remove conditional code.
26384 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26385 <kernel-features.h>.
26386 [__ASSUME_32BITUIDS]: Make code unconditional.
26387 [!__ASSUME_32BITUIDS]: Remove conditional code.
26388 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26389 <kernel-features.h>.
26390 [__ASSUME_32BITUIDS]: Make code unconditional.
26391 [!__ASSUME_32BITUIDS]: Remove conditional code.
26392 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26393 <kernel-features.h>.
26394 [__ASSUME_32BITUIDS]: Make code unconditional.
26395 [!__ASSUME_32BITUIDS]: Remove conditional code.
26396 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26397 <kernel-features.h>.
26398 [__ASSUME_32BITUIDS]: Make code unconditional.
26399 [!__ASSUME_32BITUIDS]: Remove conditional code.
26400 * sysdeps/unix/sysv/linux/kernel-features.h
26401 (__ASSUME_SETRESUID_SYSCALL): Remove.
26402 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26403 (__ASSUME_32BITUIDS): Likewise.
26404 (__ASSUME_LDT_WORKS): Likewise.
26405 (__ASSUME_O_DIRECTORY): Likewise.
26406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26407 architecture but not kernel version.
26408 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26409 (__ASSUME_MMAP2_SYSCALL): Likewise.
26410 (__ASSUME_STAT64_SYSCALL): Likewise.
26411 (__ASSUME_IPC64): Likewise.
26412 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26413 <kernel-features.h>.
26414 [__ASSUME_32BITUIDS]: Make code unconditional.
26415 [!__ASSUME_32BITUIDS]: Remove conditional code.
26416 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26417 <kernel-features.h>.
26418 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26419 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26420 132096]: Remove conditional code.
26421 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26422 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26423 <kernel-features.h>.
26424 [__ASSUME_32BITUIDS]: Make code unconditional.
26425 [!__ASSUME_32BITUIDS]: Remove conditional code.
26426 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26427 <kernel-features.h>.
26428 [__ASSUME_32BITUIDS]: Make code unconditional.
26429 [!__ASSUME_32BITUIDS]: Remove conditional code.
26430 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26431 <kernel-features.h>.
26432 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26434 (__setresgid): Do not declare.
26435 [__ASSUME_32BITUIDS]: Make code unconditional.
26436 [!__ASSUME_32BITUIDS]: Remove conditional code.
26437 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26438 <kernel-features.h>.
26439 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26441 (__setresuid): Do not declare.
26442 [__ASSUME_32BITUIDS]: Make code unconditional.
26443 [!__ASSUME_32BITUIDS]: Remove conditional code.
26444 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26445 <kernel-features.h>.
26446 [__ASSUME_32BITUIDS]: Make code unconditional.
26447 [!__ASSUME_32BITUIDS]: Remove conditional code.
26448 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26449 <kernel-features.h>.
26450 [__ASSUME_32BITUIDS]: Make code unconditional.
26451 [!__ASSUME_32BITUIDS]: Remove conditional code.
26453 2012-05-25 Richard Henderson <rth@twiddle.net>
26455 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26456 dl_hwcap to ifunc resolver.
26457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26459 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26460 dl_hwcap to ifunc resolver.
26461 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26463 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26466 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26467 for |x| <= 2**-26, not 2**-57.
26468 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26471 2012-05-24 Jeff Law <law@redhat.com>
26473 * stdio-common/Makefile (tests): Add bug25.
26474 * stdio-common/bug25.c: New test.
26476 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26479 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26480 multiple of MALLOC_ALIGNMENT in size.
26481 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26483 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26485 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26487 (FILENAME_MAX): Use macro-int-constant.
26488 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26489 (_IOFBF): Use macro-int-constant.
26490 (_IOLBF): Likewise.
26491 (_IONBF): Likewise.
26492 (SEEK_CUR): Likewise.
26493 (SEEK_END): Likewise.
26494 (SEEK_SET): Likewise.
26495 (TMP_MAX): Likewise.
26496 (EOF): Use macro-int-constant. Require < 0.
26497 (NULL): Use macro-constant. Require == 0.
26498 (stdin): Require type to be FILE *.
26499 (stdout): Likewise.
26500 (stderr): Likewise.
26501 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26502 macro-int-constant.
26503 (EXIT_SUCCESS): Likewise.
26504 (NULL): Use macro-constant. Require == 0.
26505 (RAND_MAX): Use macro-int-constant.
26506 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26507 [C99-based standards] (strtof): Require function.
26508 [C99-based standards] (strtold): Likewise.
26509 [C99-based standards] (strtoll): Likewise.
26510 [C99-based standards] (strtoull): Likewise.
26511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26512 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26513 [ISO || ISO99 || ISO11] (math.h): Likewise.
26514 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26515 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26518 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26521 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26522 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26523 * intl/dgettext.c (DCGETTEXT): Likewise.
26524 * intl/gettext.c (DCGETTEXT): Likewise.
26525 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26526 * posix/regex_internal.h (gettext): Likewise.
26527 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26528 Remove declaration.
26529 * include/argz.h (__argz_count_internal)
26530 (__argz_stringify_internal): Remove declaration.
26531 (__argz_count, __argz_stringify): Declare hidden proto.
26532 * intl/dcgettext.c: Remove use of INTDEF.
26533 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26534 * string/argz-stringify.c: Likewise.
26535 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26536 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26537 Declare hidden proto.
26538 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26539 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26540 Declare hidden proto.
26541 * include/stdio.h (__asprintf_internal): Don't declare.
26542 (__asprintf): Don't define as macro. Declare hidden proto.
26543 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26544 (__fsetlocking): Declare hidden proto.
26545 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26546 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26548 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26549 (_IO_setlinebuf): Remove use of INTUSE.
26550 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26551 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26552 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26553 Remove declaration.
26554 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26555 (_IO_do_flush): Remove use of INTUSE.
26556 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26557 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26558 (_IO_adjust_column, _IO_least_wmarker)
26559 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26560 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26561 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26562 (_IO_default_doallocate, _IO_wdefault_doallocate)
26563 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26564 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26565 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26566 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26567 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26568 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26569 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26570 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26571 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26572 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26573 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26574 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26575 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26577 (_IO_flush_all_internal, _IO_adjust_column_internal)
26578 (_IO_default_uflow_internal, _IO_default_finish_internal)
26579 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26580 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26581 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26582 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26583 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26584 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26585 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26586 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26587 (_IO_file_close_internal, _IO_file_close_it_internal)
26588 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26589 (_IO_file_init_internal, _IO_file_attach_internal)
26590 (_IO_file_fopen_internal, _IO_file_read_internal)
26591 (_IO_file_sync_internal, _IO_file_seek_internal)
26592 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26593 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26594 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26595 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26596 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26597 (_IO_list_all_internal, _IO_link_in_internal)
26598 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26599 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26600 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26601 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26602 (_IO_do_write_internal, _IO_padn_internal)
26603 (_IO_getline_info_internal, _IO_getline_internal)
26604 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26605 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26606 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26607 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26608 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26609 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26610 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26611 with libc_hidden_ver, remove use of INTUSE.
26612 * libio/genops.c: Likewise.
26613 * libio/freopen.c: Likewise.
26614 * libio/freopen64.c: Likewise.
26615 * libio/iofclose.c: Likewise.
26616 * libio/iofdopen.c: Likewise.
26617 * libio/iofflush.c: Likewise.
26618 * libio/iofflush_u.c: Likewise.
26619 * libio/iofgets.c: Likewise.
26620 * libio/iofgets_u.c: Likewise.
26621 * libio/iofopen.c: Likewise.
26622 * libio/iofopncook.c: Likewise.
26623 * libio/iofread.c: Likewise.
26624 * libio/iofread_u.c: Likewise.
26625 * libio/ioftell.c: Likewise.
26626 * libio/iofwrite.c: Likewise.
26627 * libio/iogetline.c: Likewise.
26628 * libio/iogets.c: Likewise.
26629 * libio/iogetwline.c: Likewise.
26630 * libio/iopadn.c: Likewise.
26631 * libio/iopopen.c: Likewise.
26632 * libio/ioseekoff.c: Likewise.
26633 * libio/ioseekpos.c: Likewise.
26634 * libio/iosetbuffer.c: Likewise.
26635 * libio/iosetvbuf.c: Likewise.
26636 * libio/ioungetc.c: Likewise.
26637 * libio/ioungetwc.c: Likewise.
26638 * libio/iovdprintf.c: Likewise.
26639 * libio/iovsprintf.c: Likewise.
26640 * libio/iovsscanf.c: Likewise.
26641 * libio/memstream.c: Likewise.
26642 * libio/obprintf.c: Likewise.
26643 * libio/oldfileops.c: Likewise.
26644 * libio/oldiofclose.c: Likewise.
26645 * libio/oldiofdopen.c: Likewise.
26646 * libio/oldiofopen.c: Likewise.
26647 * libio/oldiopopen.c: Likewise.
26648 * libio/oldstdfiles.c: Likewise.
26649 * libio/putc.c: Likewise.
26650 * libio/setbuf.c: Likewise.
26651 * libio/setlinebuf.c: Likewise.
26652 * libio/stdfiles.c: Likewise.
26653 * libio/strops.c: Likewise.
26654 * libio/vasprintf.c: Likewise.
26655 * libio/vscanf.c: Likewise.
26656 * libio/vsnprintf.c: Likewise.
26657 * libio/vswprintf.c: Likewise.
26658 * libio/wfiledoalloc.c: Likewise.
26659 * libio/wfileops.c: Likewise.
26660 * libio/wgenops.c: Likewise.
26661 * libio/wmemstream.c: Likewise.
26662 * libio/wstrops.c: Likewise.
26663 * libio/__fpurge.c: Likewise.
26664 * libio/__fsetlocking.c: Likewise.
26665 * assert/assert.c: Likewise.
26666 * debug/fgets_chk.c: Likewise.
26667 * debug/fgets_u_chk.c: Likewise.
26668 * debug/fread_chk.c: Likewise.
26669 * debug/fread_u_chk.c: Likewise.
26670 * debug/gets_chk.c: Likewise.
26671 * debug/obprintf_chk.c: Likewise.
26672 * debug/vasprintf_chk.c: Likewise.
26673 * debug/vdprintf_chk.c: Likewise.
26674 * debug/vsnprintf_chk.c: Likewise.
26675 * debug/vsprintf_chk.c: Likewise.
26676 * malloc/mtrace.c: Likewise.
26677 * misc/error.c: Likewise.
26678 * misc/syslog.c: Likewise.
26679 * stdio-common/asprintf.c: Likewise.
26680 * stdio-common/fxprintf.c: Likewise.
26681 * stdio-common/getw.c: Likewise.
26682 * stdio-common/isoc99_fscanf.c: Likewise.
26683 * stdio-common/isoc99_scanf.c: Likewise.
26684 * stdio-common/isoc99_vfscanf.c: Likewise.
26685 * stdio-common/isoc99_vscanf.c: Likewise.
26686 * stdio-common/isoc99_vsscanf.c: Likewise.
26687 * stdio-common/printf-prs.c: Likewise.
26688 * stdio-common/printf_fp.c: Likewise.
26689 * stdio-common/printf_fphex.c: Likewise.
26690 * stdio-common/printf_size.c: Likewise.
26691 * stdio-common/putw.c: Likewise.
26692 * stdio-common/scanf.c: Likewise.
26693 * stdio-common/sprintf.c: Likewise.
26694 * stdio-common/tmpfile.c: Likewise.
26695 * stdio-common/vfprintf.c: Likewise.
26696 * stdio-common/vfscanf.c: Likewise.
26697 * stdlib/strfmon_l.c: Likewise.
26698 * sunrpc/openchild.c: Likewise.
26699 * sunrpc/xdr_stdio.c: Likewise.
26700 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26701 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26703 2012-05-24 Roland McGrath <roland@hack.frob.com>
26705 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26707 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26708 in the third column, to generate for the shared library an IFUNC
26709 that uses _dl_vdso_vsym.
26710 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26711 * Makeconfig (object-suffixes-noshared): New variable.
26713 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26714 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26715 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26716 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26719 * include/sys/time.h (__gettimeofday): Remove macro.
26720 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26721 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26723 (__gettimeofday): Add libc_hidden_def.
26724 (gettimeofday): Add libc_hidden_weak.
26725 * sysdeps/mach/gettimeofday.c: Likewise.
26726 * sysdeps/posix/gettimeofday.c: Likewise.
26727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26728 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26730 (__gettimeofday_internal): Remove strong_alias.
26731 (__gettimeofday): Add libc_hidden_def.
26732 (gettimeofday): Add libc_hidden_weak.
26733 * sysdeps/unix/syscalls.list (gettimeofday):
26734 Remove __gettimeofday_internal alias.
26736 2012-05-24 Daniel Jacobowitz <drow@false.org>
26737 H.J. Lu <hongjiu.lu@intel.com>
26740 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26741 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26742 (largebin_index_32_big): New.
26743 (largebin_index): Use it for 16-byte alignment.
26744 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26745 correction with front_misalign.
26747 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26775 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26776 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26778 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26782 * math/libm-test.inc (exp_test): Add test from bug 14036.
26783 (pow_test): Add test from bug 10846.
26785 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26787 (special_function): Do not include flags in test name.
26788 (parse_args): Likewise.
26789 * sysdeps/i386/fpu/libm-test-ulps: Update.
26790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26791 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26792 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26795 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26797 * math/libm-test.inc ("Philosophy"): Update comment about
26799 (UNDERFLOW_EXCEPTION): New macro.
26800 (UNDERFLOW_EXCEPTION_OK): Likewise.
26801 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26802 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26803 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26804 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26805 (INVALID_EXCEPTION_OK): Update value.
26806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26807 (OVERFLOW_EXCEPTION_OK): Likewise.
26808 (IGNORE_ZERO_INF_SIGN): Likewise.
26809 (test_exceptions): Handle underflow exceptions.
26810 (acos_test): Update for underflow exception expectations.
26811 (cexp_test): Likewise.
26812 (clog_test): Likewise.
26813 (clog10_test): Likewise.
26814 (csqrt_test): Likewise.
26815 (ctan_test): Likewise.
26816 (ctanh_test): Likewise.
26817 (exp_test): Likewise.
26818 (exp10_test): Likewise.
26819 (exp2_test): Likewise.
26820 (expm1_test): Likewise.
26821 (fma_test): Likewise.
26822 (j0_test): Likewise.
26823 (jn_test): Likewise.
26824 (nexttoward_test): Likewise.
26825 (pow_test): Likewise.
26826 (scalbn_test): Likewise.
26827 (scalbln_test): Likewise.
26828 (tan_test): Likewise.
26829 (y1_test): Likewise.
26830 * sysdeps/i386/fpu/libm-test-ulps: Update.
26831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26833 2012-05-23 David S. Miller <davem@davemloft.net>
26835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26836 (__libc_sigaction): Remove unused local variables.
26838 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26840 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26842 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26844 mktime: avoid signed integer overflow
26845 * time/mktime.c (__mktime_internal): Do not mishandle the case
26846 where diff == INT_MIN.
26848 mktime: simplify computation of average
26849 * time/mktime.c (ranged_convert): Use new time_t_avg function
26850 instead of rolling our own (probably-slower) code.
26852 mktime: do not assume signed right shift propagates sign bit
26853 * time/mktime.c (isdst_differ): New static function.
26854 (__mktime_internal): No need to normalize tm_isdst now.
26855 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26858 mktime: merge another wrapv change from gnulib
26859 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26860 from some compilers.
26862 mktime: remove incorrect attempt at unusual arithmetics
26863 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26864 The code didn't really work on such machines anyway.
26865 (TYPE_MINIMUM): Assume two's complement.
26866 (twos_complement_arithmetic): Verify that long_int and time_t
26867 are two's complement (or unsigned, in the latter case).
26869 mktime: check signed shifts on long_int and time_t, too
26870 * time/mktime.c (SHR): Check that shifts work as desired
26871 on the types long_int and time_t too, as SHR is used on
26874 mktime: do not assume 'long' is wide enough
26875 * time/mktime.c (verify): Move decl up.
26876 (long_int): New type.
26877 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26878 to remove assumption in the code that 'long' is wide enough to
26879 store year values. This assumption is not true on x32 and on
26880 some non-glibc platforms.
26882 mktime: merge wrapv change from gnulib
26883 * time/mktime.c (WRAPV): New macro.
26884 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26885 (guess_time_tm, __mktime_internal): Do not assume that signed
26886 integer overflow wraps around; modern compilers generate code
26887 where this assumption is no longer valid.
26889 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26891 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26892 Replace "jmp L(pseudo_end)" with "ret".
26893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26896 2012-05-23 Andreas Jaeger <aj@suse.de>
26898 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26899 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26901 2012-05-23 Andreas Jaeger <aj@suse.de>
26902 Maximilian Attems <max@stro.at>
26904 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26907 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26909 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26910 code so that pseudo_end is just ret and the stack pointer is
26911 correct also for static library in error case.
26913 2012-05-23 Joseph Myers <joseph@codesourcery.com>
26915 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26916 move to syscalls.list.
26917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26922 * manual/install.texi (Running make install): Do not mention Linux
26923 kernel version for which pt_chown is not needed.
26924 (Linux): Do not mention problems with nscd with 2.0 kernels.
26925 * INSTALL: Regenerated.
26927 2012-05-23 Andreas Jaeger <aj@suse.de>
26929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26930 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26932 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26934 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26936 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26937 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26938 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26942 * sysdeps/unix/sysv/linux/bits/in.h
26943 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26945 2012-05-22 Roland McGrath <roland@hack.frob.com>
26947 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26948 (PREPARE_VERSION): Just use assert instead, it will be elided
26949 under [NDEBUG] anyway.
26951 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26953 * sysdeps/unix/sysv/linux/Makefile: Include
26954 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26955 (sysdep_routines): Remove sysctl.
26956 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26957 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26959 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26960 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26962 2012-05-22 Andreas Jaeger <aj@suse.de>
26964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26965 that pseudo_end is just ret and the stack pointer is correct also
26966 for static library in error case.
26968 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26971 * nss/nsswitch.c (defconfig_entries): New variable.
26972 (__nss_database_lookup): Don't leak defconfig entries.
26973 (nss_parse_service_list): Don't leak on error paths.
26974 (free_database_entries): New function.
26975 (free_defconfig): New function.
26976 (free_mem): Move common code to free_database_entries.
26978 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26984 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26985 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26988 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26989 (INTERNAL_SYSCALL_TYPES): Likewise.
26990 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26991 (LOAD_REGS_TYPES_[1-6]): Likewise.
26992 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26993 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26995 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26997 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26998 copysignl for GLIBC_2_0.
26999 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27000 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27002 logbl for GLIBC_2_0.
27003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27004 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27006 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27009 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27011 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27014 * time/mktime.c: Update copyright years.
27016 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27018 mktime: merge comment-quoting-style change from gnulib
27019 * time/mktime.c: Quote 'like this' in comments.
27020 The GNU coding standards suggest that we no longer quote `like this',
27021 as "`" and "'" are typically rendered asymmetrically nowadays.
27022 The typical gnulib style is to quote 'like this' when quoting
27023 code, and "like this" when quoting English.
27025 * time/mktime.c (compile-command): Add "-I.".
27027 mktime: merge mktime-internal.h change from gnulib
27028 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27030 mktime: merge time_r change from gnulib
27031 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27033 mktime: merge DEBUG change from gnulib
27034 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27035 case system <time.h> has a #define.
27037 mktime: merge <sys/types.h> change from gnulib
27038 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27039 since <time.t> is now guaranteed to define time_t.
27041 mktime: merge HAVE_CONFIG_H change from gnulib
27042 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27044 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27051 (struct rusage): Use anonymous union to pad each field to
27054 2012-05-21 David S. Miller <davem@davemloft.net>
27056 * Makefules (o-iterator): Remove .s cases.
27057 (compile-command.s): Delete.
27058 (COMPILE.s): Delete.
27059 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27061 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27063 * configure.in (libc_cv_predef_stack_protector): Only consider
27064 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27065 * configure: Regenerated.
27067 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27070 New macro. Use R*LP on int and pointer.
27071 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27072 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27073 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27074 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27076 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27077 [__WORDSIZE_TIME64_COMPAT32] instead of
27078 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27079 (struct utmp): Likewise.
27080 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27081 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27083 (__WORDSIZE_TIME64_COMPAT32): This.
27084 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27085 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27086 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27087 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27088 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27089 (__WORDSIZE_TIME64_COMPAT32): New macro.
27091 2012-05-21 Andreas Jaeger <aj@suse.de>
27093 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27094 only if [SHARED]. Add prototype for __wcschr_ia32.
27096 2012-05-21 Roland McGrath <roland@hack.frob.com>
27098 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27099 of %rbp unmolested in the jmp_buf while mangling the low bits.
27100 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27101 unmolested high bits of %rbp while demangling the low bits.
27102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27104 2012-05-21 Andreas Jaeger <aj@suse.de>
27106 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27107 * sunrpc/svc_simple.c: Use it for registerrpc.
27108 * sunrpc/xcrypt.c: Use it for passwd2des.
27110 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27112 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27114 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27115 Don't define if [__SYSCALL_WORDSIZE != 32].
27116 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27119 2012-05-21 Bruno Haible <bruno@clisp.org>
27120 Andreas Jaeger <aj@suse.de>
27122 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27123 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27124 inptr and inend for must_buffer_ch.
27125 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27126 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27127 * stdio-common/Makefile (tests): Remove bug15.
27128 (bug15-ENV): Remove macro.
27129 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27132 2012-05-19 Andreas Jaeger <aj@suse.de>
27133 Roland McGrath <roland@hack.frob.com>
27135 * manual/contrib.texi: Completely rewritten. It contains now an
27136 alphabetical list of contributors and their contributions.
27138 2012-05-21 Richard Henderson <rth@twiddle.net>
27140 * misc/getauxval.c (__getauxval): Use unsigned long int.
27141 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27142 (getauxval): Use unsigned long int.
27144 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27148 2012-05-21 Roland McGrath <roland@hack.frob.com>
27150 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27151 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27152 __alignof__ (long double).
27154 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27158 2012-05-20 Richard Henderson <rth@twiddle.net>
27160 * misc/getauxval.c: New file.
27161 * misc/sys/auxv.h: New file.
27162 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27163 (routines): Add getauxval.
27164 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27166 * elf/dl-sysdep.c (_dl_auxv): Remove.
27167 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27168 * elf/dl-support.c (_dl_auxv): New variable.
27169 (_dl_aux_init): Initialize it.
27170 * manual/startup.texi (Auxiliary Vector): New node.
27171 * sysdeps/generic/bits/hwcap.h: New file.
27172 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27173 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27174 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27175 * sysdeps/sparc/sysdep.h: ... here. Include it.
27176 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27177 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27189 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27193 2012-05-19 David S. Miller <davem@davemloft.net>
27195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27197 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27200 * math/s_ccosh.c: Include <float.h>
27201 (__ccosh): Avoid internal overflow calculating sinh and cosh
27202 values before multiplying by sin and cos values.
27203 * math/s_ccoshf.c: Likewise.
27204 * math/s_ccoshl.c: Likewise.
27205 * math/s_csin.c: Likewise.
27206 * math/s_csinf.c: Likewise.
27207 * math/s_csinl.c: Likewise.
27208 * math/s_csinh.c: Likewise.
27209 * math/s_csinhf.c: Likewise.
27210 * math/s_csinhl.c: Likewise.
27211 * math/libm-test.inc (ccos_test): Add more tests.
27212 (ccosh_test): Likewise.
27213 (csin_test): Likewise.
27214 (csinh_test): Likewise.
27215 * sysdeps/i386/fpu/libm-test-ulps: Update.
27216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27218 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27220 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27221 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27223 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27225 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27227 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27228 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27229 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27230 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27231 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27232 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27233 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27234 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27235 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27236 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27237 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27238 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27239 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27240 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27241 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27242 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27243 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27244 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27245 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27246 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27247 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27248 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27249 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27250 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27251 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27252 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27253 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27254 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27255 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27256 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27257 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27259 2012-05-18 Andreas Jaeger <aj@suse.de>
27261 * csu/.gitignore: Delete.
27263 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27265 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27266 (timex): Use __syscall_slong_t.
27268 2012-05-18 Andreas Jaeger <aj@suse.de>
27269 Carlos O'Donell <carlos_odonell@mentor.com>
27271 * manual/install.texi (Configuring and compiling): Update
27272 description about files modified in the source directory.
27273 * INSTALL: Regenerated.
27275 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27277 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27278 value. Use "or" to set return value to -1.
27279 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27280 negate return value.
27282 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27284 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27285 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27286 failure if the compiler has Graphite support disabled.
27287 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27289 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27290 CFLAGS-memmove.c): Likewise.
27291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27294 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27296 * sysdeps/x86_64/x32/_itoa.h: New file.
27298 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27299 getdents system call only if kernel and user dirents have the
27300 same d_ino and d_off.
27302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27303 LLONG_MAX != LONG_MAX.
27304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27305 (_fitoa_word): Likewise.
27307 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27311 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27314 include <bits/wordsize.h>. Check __x86_64__ instead of
27316 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27317 if __x86_64__ is defined. Use anonymous union on fpstate.
27319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27322 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27324 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27325 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27327 Refer to _rtld_local_ro instead of _rtld_global_ro.
27328 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27330 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27332 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27334 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27335 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27336 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27338 * sysdeps/powerpc/powerpc32/dl-machine.c
27339 (__elf_machine_runtime_setup) [PROF]: Don't reference
27342 2012-05-18 Andreas Jaeger <aj@suse.de>
27344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27345 function only available for GCCs before 3.4 since GCC 3.4
27346 introduced a builtin.
27348 (llrintf): Likewise.
27349 (llrint): Likewise.
27356 (nearbyint): Likewise.
27357 (nearbyintf): Likewise.
27361 (floorf): Likewise.
27363 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27365 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27366 on both fields and cast pointer to __syscall_ulong_t.
27368 * bits/types.h (__fsword_t): New type.
27369 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27370 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27372 (__FSWORD_T_TYPE): Likewise.
27373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27374 (__FSWORD_T_TYPE): Likewise.
27375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27376 (__FSWORD_T_TYPE): Likewise.
27377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27378 (__FSWORD_T_TYPE): Likewise.
27379 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27380 __SWORD_TYPE with __fsword_t.
27381 (statfs64): Likewise.
27383 2012-05-17 David S. Miller <davem@davemloft.net>
27385 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27387 2012-05-17 Andreas Jaeger <aj@suse.de>
27389 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27392 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27396 2012-05-17 Andreas Jaeger <aj@suse.de>
27398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27401 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27403 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27405 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27407 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27408 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27410 2012-05-17 Andreas Jaeger <aj@suse.de>
27411 Carlos O'Donell <carlos_odonell@mentor.com>
27414 * sysdeps/x86_64/multiarch/init-arch.h
27415 (bit_YMM_Usable): Rename to...
27416 (bit_AVX_Usable): ... this.
27417 (bit_FMA4_Usable): New macro.
27418 (bit_XMM_state): New macro.
27419 (bit_YMM_state): New macro.
27420 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27421 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27422 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27423 (CPUID_OSXSAVE): New macro.
27424 (CPUID_AVX): New macro.
27425 (CPUID_FMA4): New macro.
27426 (index_YMM_Usable): Rename to...
27427 (index_AVX_Usable): ... this.
27428 (HAS_AVX): Use HAS_ARCH_FEATURE.
27429 (HAS_FMA4): Likewise.
27430 (HAS_YMM_USABLE): Remove.
27431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27432 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27434 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27435 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27436 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27437 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27438 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27440 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27442 * math/libm-test.c: Support platforms without multiple rounding modes.
27443 * math/bug-nextafter.c: Support platforms without FP exceptions.
27444 * math/bug-nexttoward.c: Likewise.
27445 * math/test-fenv.c: Likewise.
27446 * math/test-misc.c: Likewise.
27447 * stdlib/bug-getcontext.c: Likewise.
27449 2012-05-17 Andreas Jaeger <aj@suse.de>
27451 * manual/examples/search.c (critter_cmp): Change signature to
27453 * manual/string.texi (Collation Functions): Likewise.
27455 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27457 * bits/types.h: Fold copyright years.
27458 * bits/typesizes.h: Likewise.
27459 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27463 * time/time.h: Likewise.
27465 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27468 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27469 in instead of returning them. Return void.
27470 (__libc_mallinfo): Accumulate over all arenas.
27471 (__malloc_stats): Adjust for change in int_mallinfo interface.
27473 2012-05-16 Roland McGrath <roland@hack.frob.com>
27476 * configure.in (NM): Add AC_CHECK_TOOL for it.
27477 (libc_extra_cflags): New substituted variable.
27478 Check for -fstack-protector being used implicitly.
27479 * configure: Regenerated.
27480 * config.make.in (config-extra-cflags): New variable,
27481 gets @libc_extra_cflags@.
27482 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27485 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27486 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27487 * configure: Regenerated.
27488 * config.make.in (CPPUNDEFS): New substituted variable.
27489 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27490 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27491 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27493 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27495 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27496 (mq_attr): Use __syscall_slong_t.
27498 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27501 Check __x86_64__ instead of __WORDSIZE.
27502 (_STAT_VER_LINUX): Likewise.
27503 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27504 __syscall_ulong_t and __syscall_slong_t.
27505 (stat64): Likewise.
27507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27509 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27511 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27513 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27517 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27520 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27521 include <bits/wordsize.h>. Check __x86_64__ instead of
27523 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27525 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27528 include <bits/wordsize.h>. Check __x86_64__ instead of
27530 (user_regs_struct): Use "__extension__ unsigned long long"
27531 instead of "unsigned long" if __x86_64__ is defined.
27532 (user): Likewise. Pad after pointer field if __ILP32__ is
27535 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27537 * configure.in (makeinfo): Require version 4.5 or later. Allow
27539 * configure: Regenerated.
27540 * manual/install.texi (texinfo): Increase version requirement to
27542 * INSTALL: Regenerated.
27544 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27546 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27548 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27550 * sysdeps/x86_64/x32/ffs.c: New file.
27552 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27554 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27555 defined. Use __syscall_ulong_t.
27556 (shminfo): Use __syscall_ulong_t.
27557 (shm_info): Likewise.
27559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27564 (msgqnum_t): Use __syscall_ulong_t.
27565 (msglen_t): Likewise.
27566 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27569 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27572 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27574 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27575 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27577 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27581 include <bits/wordsize.h>. Check __x86_64__ instead of
27584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27585 "unsigned long long int" if __x86_64__ is defined.
27586 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27590 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27594 (GET_PC): Cast to uintptr_t first.
27595 (GET_FRAME): Likewise.
27596 (GET_STACK): Likewise.
27598 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27604 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27605 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27606 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27608 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27609 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27611 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27612 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27614 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27616 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27617 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27623 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27628 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27630 * Makerules (+depfiles): Also collect depfiles from .oS in
27632 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27633 .oS, $(libnldbl-routines)).
27635 * Makerules (native-compile-mkdep-flags): Define.
27636 * sunrpc/Makefile (extra-objs): Add $(addprefix
27637 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27638 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27639 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27640 calling $(make-target-directory).
27642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27644 * bits/types.h (__snseconds_t): Removed.
27645 * time/time.h (struct timespec): Replace __snseconds_t with
27647 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27648 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27651 (__SNSECONDS_T_TYPE): Likewise.
27652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27653 (__SNSECONDS_T_TYPE): Likewise.
27654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27655 (__SNSECONDS_T_TYPE): Likewise.
27657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27659 * sysdeps/mach/hurd/bits/typesizes.h
27660 (__SYSCALL_SLONG_TYPE): New macro.
27661 (__SYSCALL_ULONG_TYPE): Likewise.
27663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27665 * bits/types.h (__syscall_slong_t): New type.
27666 (__syscall_ulong_t): Likewise.
27668 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27669 (__SYSCALL_ULONG_TYPE): Likewise.
27670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27671 (__SYSCALL_SLONG_TYPE): Likewise.
27672 (__SYSCALL_ULONG_TYPE): Likewise.
27673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27674 (__SYSCALL_SLONG_TYPE): Likewise.
27675 (__SYSCALL_ULONG_TYPE): Likewise.
27676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27677 (__SYSCALL_SLONG_TYPE): Likewise.
27678 (__SYSCALL_ULONG_TYPE): Likewise.
27680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27682 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27683 Add sigaltstack-offsets.sym.
27684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27685 <sigaltstack-offsets.h>.
27686 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27687 longjmp_msg pointer.
27688 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27689 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27691 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27693 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27695 * elf/stackguard-macros.h: Remove file.
27696 * sysdeps/generic/stackguard-macros.h: New file.
27697 * sysdeps/i386/stackguard-macros.h: Likewise.
27698 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27699 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27700 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27701 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27702 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27703 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27704 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27705 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27706 <elf/stackguard-macros.h>.
27709 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27710 __aligned__ in attribute.
27711 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27712 (gregset_t): Likewise.
27714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27716 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27717 * sysdeps/x86_64/64/Implies-after: Here. New file.
27718 * sysdeps/x86_64/x32/Implies-after: New file.
27720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27722 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27723 and access return value for _dl_profile_fixup. Use R10_LP to
27726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27728 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27732 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27733 * sysdeps/x86_64/x32/sysdep.h: New file.
27735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27737 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27738 * sysdeps/x86_64/setjmp.S: Likewise.
27740 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27744 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27745 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27746 remove unused global constant.
27748 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27750 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27751 include of <not-cancel.h>.
27753 2012-05-15 Roland McGrath <roland@hack.frob.com>
27755 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27757 2012-05-15 Jeff Law <law@redhat.com>
27758 Andreas Jaeger <aj@suse.de>
27761 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27763 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27764 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27766 code changing __hst_map_handle.map.
27768 2012-05-15 Roland McGrath <roland@hack.frob.com>
27770 * configure.in (sysnames): Look for Implies-before and Implies-after
27772 * configure: Regenerated.
27774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27776 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27777 8-byte data alignment with LP_SIZE alignment.
27779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27786 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27790 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27791 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27792 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27794 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27798 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27799 (stackinfo_sub_sp): Likewise.
27801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27813 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27818 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27822 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27823 into R11_LP and load __x86_64_shared_cache_size_half into
27826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27831 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27839 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27840 powerpc32/power7/fpu/s_logb.c via #include.
27841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27842 powerpc32/power7/fpu/s_logbf.c via #include.
27843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27844 powerpc32/power7/fpu/s_logbl.c via #include.
27846 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27848 * README.libm: Remove file.
27850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27852 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27853 count for x32. Use R*_LP and omit operand-size suffix.
27855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27857 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27858 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27859 * sysdeps/x86_64/x32/shlib-versions: New file.
27861 2012-05-14 Roland McGrath <roland@hack.frob.com>
27863 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27864 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27865 Use _dl_fatal_printf instead.
27867 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27869 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27870 set if not set by the user. Do not allow for being unset.
27871 * sysdeps/unix/sysv/linux/configure: Regenerated.
27873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27875 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27876 the `q' suffix from lea and replace .quad with ASM_ADDR.
27878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27881 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27883 (PTR_DEMANGLE): Likewise.
27885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27887 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27889 (ASM_ADDR): Likewise.
27890 (RAX_LP): Likewise.
27891 (RBP_LP): Likewise.
27892 (RBX_LP): Likewise.
27893 (RCX_LP): Likewise.
27894 (RDI_LP): Likewise.
27895 (RSI_LP): Likewise.
27896 (RSP_LP): Likewise.
27899 (R10_LP): Likewise.
27900 (R10_LP): Likewise.
27901 (R11_LP): Likewise.
27902 (R12_LP): Likewise.
27903 (R13_LP): Likewise.
27904 (R14_LP): Likewise.
27905 (R15_LP): Likewise.
27907 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27909 * sysdeps/x86_64/x32/dl-machine.h: New file.
27911 2012-05-14 Andreas Jaeger <aj@suse.de>
27913 * manual/Makefile (subdir): Remove export of subdir.
27914 (all): Remove target.
27915 (.PHONY): Remove all from list.
27916 (mkinstalldirs): Remove.
27917 (.PHONY): Remove installdirs from list.
27918 ($(inst_infodir)/libc.info): Use make-target-directory.
27919 (installdirs): Remove.
27920 (subdir_%): Remove.
27921 (glibc-targets): Remove.
27924 ($(objpfx)stubs ../po/manual.pot): Remove.
27925 ($(objpfx)stamp%): Remove.
27926 (make-target-directory): Remove.
27927 (subdir_install): Remove.
27928 (routines): Remove.
27935 * manual/.gitignore: Remove, it's not needed anymore.
27936 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27938 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27940 (texis): Renamed to $(objpfx)texis.
27941 (texis-path): New, contains path to generated files.
27942 (chapters.%): Use texis-path for complete path, add extra argument
27944 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27945 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27946 (summary,texi, stamp-summary): Use complete path of
27947 files. Generate files in build dir.
27948 (dir-add.texi): Build in build dir.
27949 (libm-err.texi,stamp-libm-err): Likewise.
27950 (version.texi, stamp-version): Likewise.
27951 (.%c.texi): Likewise.
27952 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27953 (mostlyclean): Remove target.
27954 (realclean): Remove target.
27955 (generated): Add new variable with contents from mostlyclean and
27956 realclean, remove entries duplicated in common-mostlyclean, add
27957 stamp-libm-err and stamp-version.
27958 (generated-dirs): Add libc directory.
27959 ($(inst_infodir)/libc.info): Install files from build dir.
27961 * manual/install.texi (Configuring and compiling): Adjust since
27962 the info files are not part of the tar ball anymore.
27964 2012-05-14 Andreas Jaeger <aj@suse.de>
27966 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27969 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27973 to 2.2.0 where earlier.
27974 * sysdeps/unix/sysv/linux/configure: Regenerated.
27975 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27976 Remove conditional code.
27977 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27978 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27979 Remove conditional code.
27980 [!__NR_lchown]: Likewise.
27981 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27982 [__NR_lchown]: Likewise.
27983 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27984 comment referencing __ASSUME_LCHOWN_SYSCALL.
27985 * sysdeps/unix/sysv/linux/i386/sigaction.c
27986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27988 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27989 Remove conditional code.
27990 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27991 (__protocol_available): Remove #if 0 code.
27992 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27994 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27995 * sysdeps/unix/sysv/linux/kernel-features.h
27996 (__ASSUME_GETCWD_SYSCALL): Don't define.
27997 (__ASSUME_REALTIME_SIGNALS): Likewise.
27998 (__ASSUME_PREAD_SYSCALL): Likewise.
27999 (__ASSUME_PWRITE_SYSCALL): Likewise.
28000 (__ASSUME_POLL_SYSCALL): Likewise.
28001 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28002 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28004 (__ASSUME_SIOCGIFNAME): Don't define.
28005 (__ASSUME_MSG_NOSIGNAL): Likewise.
28006 (__ASSUME_SENDFILE): Define unconditionally.
28007 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28008 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28010 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28011 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28012 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28013 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28015 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28016 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28033 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28041 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28042 Remove conditional code.
28043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28044 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28045 Remove conditional code.
28046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28047 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28048 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28049 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28050 Remove conditional code.
28051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28052 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28053 Remove conditional code.
28054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28055 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28056 Remove conditional code.
28057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28058 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28059 Remove conditional code.
28060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28061 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28062 Remove conditional code.
28063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28064 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28067 * sysdeps/unix/sysv/linux/sigaction.c
28068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28070 * sysdeps/unix/sysv/linux/sigpending.c
28071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28073 * sysdeps/unix/sysv/linux/sigprocmask.c
28074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28076 * sysdeps/unix/sysv/linux/sigsuspend.c
28077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28080 (__libc_missing_rt_sigs): Remove.
28081 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28082 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28083 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28084 Remove conditional code.
28085 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28086 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28089 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28091 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28093 2012-05-14 Andreas Jaeger <aj@suse.de>
28095 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28096 it's not used in glibc.
28097 (__coshm1): Likewise.
28098 (__acosh1p): Likewise.
28101 * manual/string.texi (Copying and Concatenation): Add missing
28102 variable in concat example.
28103 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28109 __builtin_clzl with __builtin_clzll.
28111 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28114 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28117 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28119 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28120 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28121 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28122 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28124 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28126 * NEWS: Update ia64 info.
28128 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28130 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28133 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28135 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28136 * sysdeps/unix/syscalls.list (dup3): Likewise.
28137 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28138 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28140 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28142 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28143 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28145 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28147 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28149 (TLS_IE): Use mov/add instead of movq/addq to load thread
28151 (TLS_GD_PREFIX): New.
28154 2012-05-11 David S. Miller <davem@davemloft.net>
28156 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28157 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28158 (_FPU_SETCW): Likewise.
28160 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28162 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28163 is 32-byte aligned.
28165 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28168 * iconvdata/gb18030.c: Update tables.
28169 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28170 characters specially.
28171 (BODY for TO_LOOP): Add encoding of missing ranges.
28173 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28176 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28177 * sysdeps/mach/hurd/dup3.c: Likewise.
28178 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28179 * sysdeps/powerpc/memmove.c:: Likewise.
28181 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28184 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28186 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28188 * elf/elf.h (R_X86_64_RELATIVE64): New.
28189 (R_X86_64_NUM): Updated.
28190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28191 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28192 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28193 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28194 tst-quad1pie tst-quad2pie
28195 (modules-names): Add tst-quadmod1 tst-quadmod2.
28196 ($(objpfx)tst-quad1): New dependency.
28197 ($(objpfx)tst-quad2): Likewise.
28198 ($(objpfx)tst-quad1pie): Likewise.
28199 ($(objpfx)tst-quad2pie): Likewise.
28200 * sysdeps/x86_64/tst-quad1.c: New file.
28201 * sysdeps/x86_64/tst-quad1pie.c: New file.
28202 * sysdeps/x86_64/tst-quad2.c: Likewise.
28203 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28204 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28205 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28206 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28207 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28211 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28212 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28213 * streams/stropts.h (t_scalar_t): Define type.
28215 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28216 (_PATH_PRESERVE): Set to "/var/lib".
28217 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28219 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28222 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28223 if __dir_mkfile succeeded.
28225 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28226 checking for _hurd_dtablesize. Unlock it right after having
28227 finished _hurd_dtable allocation.
28229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28231 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28232 * sysdeps/mach/hurd/configure: Regenerated.
28233 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28234 special-casing to...
28235 * sysdeps/gnu/configure.in: ... this new file.
28236 * sysdeps/unix/sysv/linux/configure: Regenerated.
28237 * sysdeps/gnu/configure: New generated file.
28239 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28240 for Linux: use nsec instead of usec, as well as:
28241 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28242 members of type struct timespec.
28243 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28245 (struct stat64): Likewise.
28246 (_STATBUF_ST_NSEC): New macro.
28247 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28249 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28250 __strtoul_internal rather than strtoul.
28252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28254 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28257 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28259 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28260 which preserves existing values.
28261 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28263 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28265 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28266 TIMEOUT values. Return EINVAL for NFDS values either negative or
28267 greater than FD_SETSIZE.
28269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28271 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28272 allocated, call __vm_protect to finish enabling the existing space, and
28273 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28274 allocate the remainder.
28276 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28278 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28279 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28283 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28284 sysdeps/mach/hurd/readlink.c.
28286 * posix/tst-sysconf.c (posix_options): Only use
28287 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28288 _POSIX_SYNCHRONIZED_IO when they are defined
28289 * sysdeps/mach/hurd/bits/posix_opt.h:
28290 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28291 (_XOPEN_REALTIME): Undefine macro.
28292 (_XOPEN_REALTIME_THREADS): Undefine macro.
28293 (_XOPEN_SHM): Undefine macro.
28294 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28296 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28298 (_POSIX_ASYNC_IO): Undefine macro.
28299 (_POSIX_PRIORITIZED_IO): Undefine macro.
28300 (_POSIX_SPIN_LOCKS): Define macro to -1.
28302 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28303 SA_NODEFER, SA_RESETHAND.
28304 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28305 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28308 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28310 * elf/Makefile (pldd-modules): Define unconditionally.
28312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28314 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28316 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28318 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28319 Return ENOENT when name is empty.
28320 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28324 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28326 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28328 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28330 Fix mlock in all cases except non-readable pages.
28331 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28332 instead of VM_PROT_ALL as parameter to __vm_wire function.
28334 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28335 (__mkdir): When path is `/', just fail with EEXIST.
28336 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28338 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28340 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28341 <sys/uio.h> (for writev).
28342 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28343 and <sys/param.h> (for MIN).
28345 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28347 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28348 REQUESTED_TIME. Properly set the remaining time and return EINTR
28351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28353 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28354 Depend on against $(link-rpcuserlibs).
28356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28358 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28359 (__libc_stack_end): Do not use attribute_relro.
28360 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28361 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28362 to libthread-provided value.
28363 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28369 * bits/libc-lock.h (__libc_once_get): New macro.
28370 * sysdeps/mach/bits/libc-lock.h: Likewise.
28371 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28373 instead of using implementation details.
28375 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28376 * libio/freopen.c: Likewise.
28377 * libio/freopen64.c: Likewise.
28378 * misc/syslog.c: Likewise.
28379 * nscd/connections.c: Likewise.
28380 * nscd/netgroupcache.c: Likewise.
28381 * sysdeps/posix/getcwd.c: Likewise.
28383 2012-05-10 Roland McGrath <roland@hack.frob.com>
28385 * math/w_ilogbf.c: Add #include <limits.h>.
28387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28389 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28390 path instead of returning without unlocking.
28392 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28393 immediate-write ioctls.
28394 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28396 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28398 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28399 __builtin_frame_address instead of making assumptions about the
28400 location of the return address relative to DATA. Force early load of
28401 the return address.
28402 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28403 __builtin_frame_address.
28406 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28407 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28408 implement dup3 and do some further code clean-ups.
28409 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28414 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28416 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28417 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28418 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28419 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28420 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28423 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28424 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28425 when handler == SIG_ERR, not when handler != SIG_ERR.
28427 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28429 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28430 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28433 accept4 for GNU Hurd.
28434 * include/sys/socket.h (__libc_accept4): New prototype.
28435 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28436 to implement __libc_accept4.
28437 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28439 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28441 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28442 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28443 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28444 signal-defines.sym.
28446 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28448 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28452 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28453 assertion on O_CLOEXEC flag.
28454 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28455 * hurd/intern-fd.c: Likewise.
28456 * hurd/port2fd.c: Likewise.
28458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28461 * bits/in.h (IPV6_PKTINFO): Define new macro.
28462 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28464 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28471 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28472 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28475 * math/libm-test.inc (logb_test) : Additional logb tests.
28477 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28478 Andreas Jaeger <aj@suse.de>
28480 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28481 * configure: Regenerated.
28482 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28483 * config.make.in (link-obsolete-rpc): New substituted variable.
28484 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28485 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28486 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28487 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28488 so that libc.a contains the symbols.
28489 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28490 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28491 * sunrpc/auth_none.c: Likewise.
28492 * sunrpc/auth_unix.c: Likewise.
28493 * sunrpc/authdes_prot.c: Likewise.
28494 * sunrpc/authuxprot.c: Likewise.
28495 * sunrpc/clnt_gen.c: Likewise.
28496 * sunrpc/clnt_perr.c: Likewise.
28497 * sunrpc/clnt_raw.c: Likewise.
28498 * sunrpc/clnt_simp.c: Likewise.
28499 * sunrpc/clnt_tcp.c: Likewise.
28500 * sunrpc/clnt_udp.c: Likewise.
28501 * sunrpc/clnt_unix.c: Likewise.
28502 * sunrpc/des_crypt.c: Likewise.
28503 * sunrpc/des_soft.c: Likewise.
28504 * sunrpc/get_myaddr.c: Likewise.
28505 * sunrpc/key_call.c: Likewise.
28506 * sunrpc/key_prot.c: Likewise.
28507 * sunrpc/netname.c: Likewise.
28508 * sunrpc/pm_getmaps.c: Likewise.
28509 * sunrpc/pm_getport.c: Likewise.
28510 * sunrpc/pmap_clnt.c: Likewise.
28511 * sunrpc/pmap_prot.c: Likewise.
28512 * sunrpc/pmap_prot2.c: Likewise.
28513 * sunrpc/pmap_rmt.c: Likewise.
28514 * sunrpc/publickey.c: Likewise.
28515 * sunrpc/rpc_cmsg.c: Likewise.
28516 * sunrpc/rpc_common.c: Likewise.
28517 * sunrpc/rpc_dtable.c: Likewise.
28518 * sunrpc/rpc_prot.c: Likewise.
28519 * sunrpc/rpc_thread.c: Likewise.
28520 * sunrpc/rtime.c: Likewise.
28521 * sunrpc/svc.c: Likewise.
28522 * sunrpc/svc_auth.c: Likewise.
28523 * sunrpc/svc_raw.c: Likewise.
28524 * sunrpc/svc_run.c: Likewise.
28525 * sunrpc/svc_tcp.c: Likewise.
28526 * sunrpc/svc_udp.c: Likewise.
28527 * sunrpc/svc_unix.c: Likewise.
28528 * sunrpc/svcauth_des.c: Likewise.
28529 * sunrpc/xcrypt.c: Likewise.
28530 * sunrpc/xdr.c: Likewise.
28531 * sunrpc/xdr_array.c: Likewise.
28532 * sunrpc/xdr_float.c: Likewise.
28533 * sunrpc/xdr_intXX_t.c: Likewise.
28534 * sunrpc/xdr_mem.c: Likewise.
28535 * sunrpc/xdr_rec.c: Likewise.
28536 * sunrpc/xdr_ref.c: Likewise.
28537 * sunrpc/xdr_sizeof.c: Likewise.
28538 * sunrpc/xdr_stdio.c: Likewise.
28540 2012-05-10 Roland McGrath <roland@hack.frob.com>
28542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28543 change. Update copyright years.
28545 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28547 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28549 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28550 Joseph Myers <joseph@codesourcery.com>
28551 Paul Pluzhnikov <ppluzhnikov@google.com>
28554 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28556 [cross-compiling] (extra-libs): Likewise.
28557 [cross-compiling] (extra-libs-others): Likewise.
28558 [cross-compiling] (librpcsvc-routines): Likewise.
28559 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28560 [cross-compiling] (omit-deps): Likewise.
28561 (sunrpc-CPPFLAGS): New variable.
28562 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28563 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28564 (cross-rpcgen-objs): New variable.
28565 (extra-objs): Append $(cross-rpcgen-objs).
28566 ($(cross-rpcgen-objs)): New rule.
28567 ($(objpfx)cross-rpcgen): Likewise.
28568 (rpcgen-cmd): Define to use $(built-program-file). Expand
28570 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28571 ($(objpfx)x%.stmp): Likewise.
28572 * sunrpc/proto.h [IS_IN_build] (_): Define.
28573 [IS_IN_build] (_libc_intl_domainname): Likewise.
28575 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28578 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28579 and R_X86_64_TPOFF64.
28581 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28583 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28584 sysdeps/unix/sysv/syscalls.list.
28587 * sysdeps/unix/sysv/syscalls.list: Remove file.
28589 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28592 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28593 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28594 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28595 (__LC_IDENTIFICATION): Make these macros useful in #if
28596 expressions, as required by C99.
28598 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28600 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28601 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28604 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28606 * stdlib/longlong.h: Updated from GCC.
28608 2012-05-09 Andreas Jaeger <aj@suse.de>
28610 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28611 default is first entry.
28612 (run_mode): Set type.
28613 (main): Remove informal message about syslog.
28614 (options): Fix typo.
28617 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28620 (llrintf): Likewise.
28621 (llrint): Likewise.
28624 (nearbyint): Likewise.
28625 (nearbyintf): Likewise.
28627 2012-05-09 Andreas Jaeger <aj@suse.de>
28628 Pedro Alves <palves@redhat.com>
28630 * nscd/nscd.c (run_mode): Use enum.
28631 (main): Cleanup coding style issue.
28633 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28634 Andreas Jaeger <aj@suse.de>
28636 * nscd/nscd.c (go_background): Replaced with...
28637 (run_mode): ... this.
28638 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28639 (options): Add -F --foreground.
28640 (main): Implement it.
28641 (parse_opt): Parse it.
28643 2012-05-09 Andreas Jaeger <aj@suse.de>
28646 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28647 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28648 -Wconversion warning.
28649 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28652 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28654 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28656 (LC_ALL): Use macro-int-constant.
28657 (LC_COLLATE): Likewise.
28658 (LC_CTYPE): Likewise.
28659 (LC_MESSAGES): Likewise.
28660 (LC_MONETARY): Likewise.
28661 (LC_NUMERIC): Likewise.
28662 (LC_TIME): Likewise.
28663 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28664 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28666 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28668 [C99-based standards] (float_t): Expect type.
28669 [C99-based standards] (double_t): Expect type.
28670 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28672 [C99-based standards] (HUGE_VALL): Likewise.
28673 [C99-based standards] (INFINITY): Likewise.
28674 [C99-based standards] (NAN): Likewise.
28675 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28676 [C99-based standards] (FP_NAN): Likewise.
28677 [C99-based standards] (FP_NORMAL): Likewise.
28678 [C99-based standards] (FP_SUBNORMAL): Likewise.
28679 [C99-based standards] (FP_ZERO): Likewise.
28680 [C99-based standards] (FP_FAST_FMA): Use
28681 optional-macro-int-constant. Specify type. Require == 1.
28682 [C99-based standards] (FP_FAST_FMAF): Likewise.
28683 [C99-based standards] (FP_FAST_FMAL): Likewise.
28684 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28685 [C99-based standards] (FP_ILOGBNAN): Likewise.
28686 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28688 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28689 [C99-based standards] (math_errhandling): Specify type.
28690 [ISO99 || ISO11] (signgam): Do not allow.
28691 [non-C99-based standards] (copysignf): Do not allow.
28692 [non-C99-based standards] (exp2f): Likewise.
28693 [non-C99-based standards] (log2f): Likewise.
28694 [non-C99-based standards] (modff): Allow.
28695 [non-C99-based standards] (erff): Do not allow.
28696 [non-C99-based standards] (erfcf): Likewise.
28697 [non-C99-based standards] (gammaf): Likewise.
28698 [non-C99-based standards] (hypotf): Likewise.
28699 [non-C99-based standards] (j0f): Likewise.
28700 [non-C99-based standards] (j1f): Likewise.
28701 [non-C99-based standards] (jnf): Likewise.
28702 [non-C99-based standards] (lgammaf): Likewise.
28703 [non-C99-based standards] (tgammaf): Likewise.
28704 [non-C99-based standards] (y0f): Likewise.
28705 [non-C99-based standards] (y1f): Likewise.
28706 [non-C99-based standards] (ynf): Likewise.
28707 [non-C99-based standards] (isnanf): Likewise.
28708 [non-C99-based standards] (acoshf): Likewise.
28709 [non-C99-based standards] (asinhf): Likewise.
28710 [non-C99-based standards] (atanhf): Likewise.
28711 [non-C99-based standards] (cbrtf): Likewise.
28712 [non-C99-based standards] (expm1f): Likewise.
28713 [non-C99-based standards] (ilogbf): Likewise.
28714 [non-C99-based standards] (log1pf): Likewise.
28715 [non-C99-based standards] (logbf): Likewise.
28716 [non-C99-based standards] (nextafterf): Likewise.
28717 [non-C99-based standards] (remainderf): Likewise.
28718 [non-C99-based standards] (rintf): Likewise.
28719 [non-C99-based standards] (scalbf): Likewise.
28720 [non-C99-based standards] (copysignl): Likewise.
28721 [non-C99-based standards] (exp2l): Likewise.
28722 [non-C99-based standards] (log2l): Likewise.
28723 [non-C99-based standards] (modfl): Allow.
28724 [non-C99-based standards] (erfl): Do not allow.
28725 [non-C99-based standards] (erfcl): Likewise.
28726 [non-C99-based standards] (gammal): Likewise.
28727 [non-C99-based standards] (hypotl): Likewise.
28728 [non-C99-based standards] (j0l): Likewise.
28729 [non-C99-based standards] (j1l): Likewise.
28730 [non-C99-based standards] (jnl): Likewise.
28731 [non-C99-based standards] (lgammal): Likewise.
28732 [non-C99-based standards] (tgammal): Likewise.
28733 [non-C99-based standards] (y0l): Likewise.
28734 [non-C99-based standards] (y1l): Likewise.
28735 [non-C99-based standards] (ynl): Likewise.
28736 [non-C99-based standards] (isnanl): Likewise.
28737 [non-C99-based standards] (acoshl): Likewise.
28738 [non-C99-based standards] (asinhl): Likewise.
28739 [non-C99-based standards] (atanhl): Likewise.
28740 [non-C99-based standards] (cbrtl): Likewise.
28741 [non-C99-based standards] (expm1l): Likewise.
28742 [non-C99-based standards] (ilogbl): Likewise.
28743 [non-C99-based standards] (log1pl): Likewise.
28744 [non-C99-based standards] (logbl): Likewise.
28745 [non-C99-based standards] (nextafterl): Likewise.
28746 [non-C99-based standards] (remainderl): Likewise.
28747 [non-C99-based standards] (rintl): Likewise.
28748 [non-C99-based standards] (scalbl): Likewise.
28749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28750 [non-C99-based standards] (FP_*): Do not allow.
28751 [C99-based standards] (FP_*): Change to
28752 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28753 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28755 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28756 (SIG_ERR): Likewise.
28757 [X/Open-based standards] (SIG_HOLD): Likewise.
28758 (SIG_IGN): Likewise.
28759 (SIGABRT): Use macro-int-constant. Specify type. Require
28761 (SIGFPE): Likewise.
28762 (SIGILL): Likewise.
28763 (SIGINT): Likewise.
28764 (SIGSEGV): Likewise.
28765 (SIGTER): Likewise.
28766 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28767 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28768 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28769 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28770 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28771 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28772 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28773 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28774 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28775 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28776 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28777 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28778 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28779 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28780 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28781 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28782 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28783 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28784 [X/Open-based standards] (SIGTRAP): Likewise.
28785 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28786 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28787 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28788 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28789 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28792 2012-05-08 Ian Wienand <ianw@vmware.com>
28795 * time/tzset.c (__tzset_parse_tz): Update default rules for
28796 daylight time changes in the Energy Policy Act of 2005.
28798 2012-05-09 Andreas Jaeger <aj@suse.de>
28801 * elf/ldconfig.c (parse_conf): Change string to make clear that
28802 ldconfig only issued a warning if ld.so.conf does not exist.
28804 2012-05-08 David S. Miller <davem@davemloft.net>
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28807 movxtod instead of popping the value on the stack.
28809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28811 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28813 * config.h.in: Add HAVE_ARM_PCS_VFP.
28815 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
28818 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28819 checking but the checks are disabled for any reason.
28821 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28824 and ELF64_R_TYPE with ELFW(R_TYPE).
28826 2012-05-08 Joseph Myers <joseph@codesourcery.com>
28828 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28829 (ulimit): Likewise.
28831 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28832 (settimeofday): Likewise.
28834 2012-05-08 Mike Frysinger <vapier@gentoo.org>
28836 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28837 a struct th_u2 inside the union, and move tu_block/tu_code into
28838 a new th_u3 union of tu_block/tu_code inside of that. Move
28839 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28840 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28841 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28842 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28843 (th_stuff): Change to th_u1.tu_stuff.
28845 (th_msg): Change to th_u1.th_u2.tu_data.
28847 2012-05-07 David S. Miller <davem@davemloft.net>
28849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28852 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28853 (SETUP_PIC_REG): Use it.
28854 (SETUP_PIC_REG_LEAF): Use it.
28856 2012-05-07 Joseph Myers <joseph@codesourcery.com>
28860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28862 (EXPL_FINITE): Likewise.
28863 (FLDLOG): Likewise.
28864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28865 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28869 (EXPL_FINITE): Likewise.
28870 (FLDLOG): Likewise.
28871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28872 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28874 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28875 test of -max_value argument for long double.
28876 * sysdeps/i386/fpu/libm-test-ulps: Update.
28877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28879 2012-05-06 David S. Miller <davem@davemloft.net>
28881 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28882 quad soft-float symbols whose references which are compiler
28884 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28886 2012-05-06 Joseph Myers <joseph@codesourcery.com>
28890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28892 (EXPL_FINITE): Likewise.
28893 (FLDLOG): Likewise.
28896 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28897 Adjust comments for base varying.
28898 (__expl_finite): Change alias to EXPL_FINITE.
28899 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28901 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28902 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28904 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28907 (EXPL_FINITE): Likewise.
28908 (FLDLOG): Likewise.
28911 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28912 Adjust comments for base varying.
28913 (__expl_finite): Change alias to EXPL_FINITE.
28914 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28919 * math/libm-test.inc (check_float_internal): Correct ulp
28920 calculation for subnormal expected results.
28922 2012-05-06 Andreas Jaeger <aj@suse.de>
28924 * Makeconfig (+math-flags): New, set to -frounding-math.
28925 (+cflags): Add +math-flags so that all of glibc gets compiled with
28928 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28930 2012-05-05 Joseph Myers <joseph@codesourcery.com>
28932 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28938 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28939 (__ieee754_expl): Allow for and saturate large arguments.
28940 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28941 (u_threshold): Likewise.
28942 (__exp): Call __ieee754_exp before checking for overflow and
28944 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28945 (u_threshold): Likewise.
28946 (__expf): Call __ieee754_expf before checking for overflow and
28948 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28949 (u_threshold): Likewise.
28950 (__expl): Call __ieee754_expl before checking for overflow and
28952 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28953 (__ieee754_expl): Allow for and saturate large arguments.
28954 * math/libm-test.inc (exp_test): Add another test. Do not allow
28955 missing overflow exception on overflow.
28956 (expm1_test): Do not allow missing overflow exception on overflow.
28958 * sysdeps/i386/fpu/e_expl.c: Move to ...
28959 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28960 rather than using inline asm.
28961 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28962 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28963 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28965 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28968 (signal): Likewise.
28972 2012-05-04 Joseph Myers <joseph@codesourcery.com>
28974 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28975 sysdeps/unix/common/syscalls.list.
28976 (fchmod): Likewise.
28977 (fchown): Likewise.
28978 (ftruncate): Likewise.
28979 (getrusage): Likewise.
28980 (gettimeofday): Likewise.
28981 (setpgid): Likewise.
28982 (setregid): Likewise.
28983 (setreuid): Likewise.
28984 (sigaction): Likewise.
28985 (truncate): Likewise.
28986 (vhangup): Likewise.
28987 * sysdeps/unix/common/syscalls.list: Remove file.
28988 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28989 * sysdeps/unix/sysv/linux/Implies: Likewise.
28991 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29008 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29011 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29014 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29021 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29028 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29036 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29038 * sysdeps/unix/common/bits/dirent.h: Remove file.
29039 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29041 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29042 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29043 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29044 * sysdeps/unix/bsd/isatty.c: Likewise.
29045 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29046 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29047 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29049 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29053 long double comparison inaccuracies.
29054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29057 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29059 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29062 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29066 nonzero digits before rounding a hex value.
29067 * stdlib/tst-strtod.c (tests): Add another test.
29069 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29071 * sysdeps/s390/fpu/libm-test-ulps: Update.
29073 2012-05-03 Andreas Jaeger <aj@suse.de>
29075 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29076 does not get optimized out.
29077 (malloc_opt_barrier): New.
29079 2012-05-03 Andreas Jaeger <aj@suse.de>
29080 Roland McGrath <roland@hack.frob.com>
29082 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29083 intermediate file deletion.
29084 (generated): Add .symlist files.
29086 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29089 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29090 Redirect under this condition.
29091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29092 [__USE_GNU] (__dprintf_chk): Not under this condition.
29093 [__USE_GNU] (__vdprintf_chk): Likewise.
29094 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29095 under this condition.
29096 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29097 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29098 [__USE_XOPEN2K8] (vdprintf): Likewise.
29099 [__USE_GNU] (__dprintf_chk): Not under this condition.
29100 [__USE_GNU] (__vdprintf_chk): Likewise.
29101 [__USE_GNU] (dprintf): Likewise.
29102 [__USE_GNU] (vdprintf): Likewise.
29104 2012-05-03 Roland McGrath <roland@hack.frob.com>
29106 * elf/Makefile (common-generated): Set this instead of generated for
29107 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29108 $(all-built-dso)-derived lists.
29110 2012-05-03 Andreas Jaeger <aj@suse.de>
29112 * sysdeps/i386/fpu/libm-test-ulps: Update.
29115 * FAQ.in: Likewise.
29116 * scripts/gen-FAQ.pl: Likewise.
29117 * manual/install.texi (Installation): Point to online location of
29119 * Makefile (files-for-dist): Remove FAQ.
29122 2012-05-02 Allan McRae <allan@archlinux.org>
29124 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29125 (LDFLAGS-reldepmod5.so): Likewise.
29126 (LDFLAGS-reldep6mod1.so): Likewise.
29127 (LDFLAGS-reldep6mod4.so): Likewise.
29128 (LDFLAGS-reldep8mod3.so): Likewise.
29129 (LDFLAGS-unload4mod1.so): Likewise.
29130 (LDFLAGS-unload4mod2.so): Likewise.
29131 (LDFLAGS-tst-initorder): Likewise.
29132 (LDFLAGS-tst-initordera2.so): Likewise.
29133 (LDFLAGS-tst-initordera3.so): Likewise.
29134 (LDFLAGS-tst-initordera4.so): Likewise.
29135 (LDFLAGS-tst-initorderb2.so): Likewise.
29136 (LDFLAGS-noload): Likewise.
29137 (LDFLAGS-next): Likewise.
29138 (LDFLAGS-order2mod1.so): Likewise.
29139 (LDFLAGS-order2mod2.so): Likewise.
29140 (LDFLAGS-tst-initorder2): Likewise.
29141 (LDFLAGS-tst-initorder2a.so): Likewise.
29142 (LDFLAGS-tst-initorder2b.so): Likewise.
29143 (LDFLAGS-tst-initorder2c.so): Likewise.
29144 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29146 2012-05-02 David S. Miller <davem@davemloft.net>
29148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29150 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29153 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29155 2012-05-02 Andreas Jaeger <aj@suse.de>
29157 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29158 since we manipulate rounding mode.
29159 (CPPFLAGS-test-idouble.c): Likewise.
29160 (CPPFLAGS-test-ifloat.c): Likewise.
29161 (CFLAGS-test-ldouble.c): Likewise.
29162 (CFLAGS-test-double.c): Likewise.
29163 (CFLAGS-test-float.c): Likewise.
29164 (CFLAGS-test-misc.c): Likewise.
29165 (CFLAGS-test-test-fenv.c): Likewise.
29167 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29172 comparisons to determine direction to adjust input.
29174 2012-05-01 Roland McGrath <roland@hack.frob.com>
29176 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29177 output to the target.
29179 * scripts/localplt.awk: New file.
29180 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29181 (check-localplt-CFLAGS): Variable removed.
29182 ($(all-built-dso:=.jmprel)): New static pattern rule.
29183 (generated): Add those targets.
29184 (localplt-built-dso): New variable.
29185 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29187 * elf/check-localplt.c: File removed.
29189 * scripts/check-execstack.awk: New file.
29190 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29191 (check-execstack-CFLAGS): Variable removed.
29192 ($(objpfx)check-execstack.h): Target removed.
29193 ($(objpfx)execstack-default): New target.
29194 (generated): Add that instead of check-execstack.h.
29195 ($(all-built-dso:=.phdr)): New static pattern rule.
29196 (generated): Add those targets.
29197 * elf/check-execstack.c: File removed.
29199 * scripts/check-textrel.awk: New file.
29200 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29201 (check-textrel-CFLAGS): Variable removed.
29202 (all-built-dso): Use := to define.o
29203 ($(all-built-dso:=.dyn)): New static pattern rule.
29204 (generated): Add those targets.
29205 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29206 * config.make.in (READELF): New substituted variable.
29207 * elf/check-textrel.c: File removed.
29209 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29211 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29213 * conform/data/ctype.h-data [C99-based standards] (isblank):
29215 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29216 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29218 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29219 Specify type. Require positive value.
29220 (EILSEQ): Likewise.
29221 (ERANGE): Likewise.
29222 [ISO || POSIX] (EILSEQ): Do not expect.
29223 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29224 Specify type. Require positive value.
29225 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29226 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29227 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29228 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29229 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29230 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29231 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29232 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29233 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29234 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29235 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29236 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29237 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29238 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29239 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29240 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29241 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29242 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29244 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29245 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29246 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29247 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29248 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29249 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29250 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29251 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29252 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29253 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29254 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29255 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29256 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29257 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29258 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29259 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29260 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29261 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29262 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29263 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29264 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29265 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29266 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29267 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29268 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29269 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29270 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29271 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29272 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29273 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29274 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29275 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29276 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29277 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29278 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29279 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29280 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29281 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29282 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29283 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29284 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29288 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29289 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29290 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29291 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29295 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29296 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29297 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29298 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29299 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29300 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29301 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29303 (FLT_ROUNDS): Expect as macro, not constant.
29304 (FLT_MANT_DIG): Use macro-int-constant.
29305 (DBL_MANT_DIG): Likewise.
29306 (LDBL_MANT_DIG): Likewise.
29307 (FLT_DIG): Likewise.
29308 (DBL_DIG): Likewise.
29309 (LDBL_DIG): Likewise.
29310 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29311 (DBL_MIN_EXP): Likewise.
29312 (LDBL_MIN_EXP): Likewise.
29313 (FLT_MAX_EXP): Use macro-int-constant.
29314 (DBL_MAX_EXP): Likewise.
29315 (LDBL_MAX_EXP): Likewise.
29316 (FLT_MAX_10_EXP): Likewise.
29317 (DBL_MAX_10_EXP): Likewise.
29318 (LDBL_MAX_10_EXP): Likewise.
29319 (FLT_MAX): Use macro-constant.
29320 (DBL_MAX): Likewise.
29321 (LDBL_MAX): Likewise.
29322 (FLT_EPSILON): Use macro-constant. Give upper bound.
29323 (DBL_EPSILON): Likewise.
29324 (LDBL_EPSILON): Likewise.
29325 (FLT_MIN): Likewise.
29326 (DBL_MIN): Likewise.
29327 (LDBL_MIN): Likewise.
29328 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29329 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29330 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29331 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29332 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29333 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29334 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29335 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29336 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29337 [ISO11] (FLT_TRUE_MIN): Likewise.
29338 [ISO11] (LDBL_TRUE_MIN): Likewise.
29339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29340 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29341 (SCHAR_MIN): Use macro-int-constant. Specify type.
29342 (SCHAR_MAX): Likewise.
29343 (UCHAR_MAX): Likewise.
29344 (CHAR_MIN): Likewise.
29345 (CHAR_MAX): Likewise.
29346 (MB_LEN_MAX): Use macro-int-constant.
29347 (SHRT_MIN): Use macro-int-constant. Specify type.
29348 (SHRT_MAX): Likewise.
29349 (USHRT_MAX): Likewise.
29350 (INT_MAX): Likewise.
29351 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29353 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29355 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29357 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29358 bound negative. Suffix upper bound with "L".
29359 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29361 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29363 [C99-based standards] (LLONG_MAX): Likewise.
29364 [C99-based standards] (ULLONG_MAX): Likewise.
29365 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29367 [ISO11] (max_align_t): Require type.
29368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29370 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29371 from $CFLAGS, without defining away __attribute__ calls.
29372 (checknamespace): Use $CFLAGS_namespace.
29374 * conform/conformtest.pl (@keywords): Only include C99 keywords
29375 for standards based on C99 or C11.
29377 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29379 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29382 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29383 usability of symbols in #if.
29385 * conform/conformtest.pl: If macro or constant types start
29386 "promoted:", expect the symbol to be of the following type
29387 promoted by the integer promotions.
29389 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29390 in one place. Also handle "macro-constant".
29392 * conform/conformtest.pl: Only accept expected macro values with
29393 "==". Parse all "macro" lines in one place.
29394 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29396 * conform/conformtest.pl: Handle braced types on "constant" lines
29397 instead of handling "typed-constant".
29398 * conform/data/signal.h-data: Use "constant" instead of
29401 * conform/conformtest.pl: Handle "optional-" at start of lines in
29402 one place rather than duplicating several cases. Handle each
29403 format of "macro" line with initial "optional-".
29405 * conform/conformtest.pl: Only accept expected constant or
29406 optional-constant values with "==". Parse all "constant" lines in
29407 one place. Parse all "optional-constant" lines in one place.
29408 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29409 * conform/data/fmtmsg.h-data: Likewise.
29410 * conform/data/netinet/in.h-data: Likewise.
29411 * conform/data/tar.h-data: Likewise.
29412 * conform/data/limits.h-data: Use "==" form on "constant" and
29413 "optional-constant" lines.
29415 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29416 Use -std=c99 for XOPEN2K.
29417 (@knownproblems): Remove.
29418 (newtoken): Don't check %isknown.
29420 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29421 Do not expect macro.
29422 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29424 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29425 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29426 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29427 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29428 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29429 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29430 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29434 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29435 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29444 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29452 [XPG3] (acosh): Likewise.
29453 [XPG3] (asinh): Likewise.
29454 [XPG3] (atanh): Likewise.
29455 [XPG3] (cbrt): Likewise.
29456 [XPG3] (expm1): Likewise.
29457 [XPG3] (ilogb): Likewise.
29458 [XPG3] (log1p): Likewise.
29459 [XPG3] (logb): Likewise.
29460 [XPG3] (nextafter): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29463 [XPG3] (remainder): Likewise.
29464 [XPG3] (rint): Likewise.
29465 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29466 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29467 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29468 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29469 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29470 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29472 [UNIX98 || XOPEN2K] (scalb): Expect.
29473 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29474 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29475 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29476 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29477 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29478 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29479 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29480 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29481 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29482 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29483 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29484 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29485 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29486 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29487 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29488 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29489 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29490 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29491 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29492 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29493 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29495 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29496 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29497 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29498 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29499 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29500 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29501 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29502 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29504 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29505 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29506 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29508 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29509 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29510 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29512 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29513 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29514 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29515 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29517 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29518 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29519 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29520 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29521 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29522 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29523 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29524 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29525 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29526 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29527 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29528 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29529 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29530 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29531 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29532 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29533 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29534 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29535 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29536 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29537 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29538 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29539 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29540 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29541 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29542 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29543 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29544 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29545 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29546 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29553 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29554 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29558 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29559 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29561 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29562 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29563 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29564 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29565 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29566 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29567 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29568 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29569 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29572 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29576 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29577 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29578 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29579 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29580 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29581 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29582 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29583 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29584 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29587 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29588 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29591 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29592 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29593 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29596 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29597 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29598 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29600 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29601 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29602 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29603 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29604 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29605 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29606 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29607 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29608 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29611 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29612 _XOPEN_SOURCE_EXTENDED for XPG4.
29614 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29616 * Makeconfig (localtime): Remove variable.
29617 (inst_localtime-file): Likewise.
29619 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29640 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29644 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29645 comparisons to determine direction to adjust input.
29646 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29647 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29650 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29652 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29657 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29659 * math/libm-test.inc (nexttoward_test): Add more tests.
29661 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29665 in version GLIBC_2.1, not GLIBC_2.0.
29666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29669 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29675 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29676 * math/libm-test.inc (acos_test): Add more tests.
29677 (asin_test): Likewise.
29678 * sysdeps/i386/fpu/libm-test-ulps: Update.
29679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29684 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29685 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29686 * math/libm-test.inc (acos_test_tonearest): New function.
29687 (acos_test_towardzero): Likewise.
29688 (acos_test_downward): Likewise.
29689 (acos_test_upward): Likewise.
29690 (asin_test_tonearest): Likewise.
29691 (asin_test_towardzero): Likewise.
29692 (asin_test_downward): Likewise.
29693 (asin_test_upward): Likewise.
29694 (main): Call the new functions.
29695 * sysdeps/i386/fpu/libm-test-ulps: Update.
29696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29700 * math/e_exp10.c: Include <float.h>.
29701 (__ieee754_exp10): Handle underflow here rather than multiplying
29702 large negative argument by M_LN10.
29703 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29705 * math/e_exp10l.c: Include <float.h>.
29706 (__ieee754_exp10l): Handle underflow here rather than multiplying
29707 large negative argument by M_LN10l.
29708 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29709 spurious overflow exception on underflow.
29711 2012-04-29 Marek Polacek <polacek@redhat.com>
29713 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29714 (__fortify_function): New macro.
29715 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29716 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29717 __extern_always_inline.
29718 * libio/bits/stdio2.h: Likewise.
29719 * libio/bits/stdio.h: Likewise.
29720 * string/string.h: Likewise.
29721 * string/bits/string3.h: Likewise.
29722 * include/stdio.h: Likewise.
29723 * stdlib/bits/stdlib.h: Likewise.
29724 * stdlib/stdlib.h: Likewise.
29725 * rt/bits/mqueue2.h: Likewise.
29726 * rt/mqueue.h: Likewise.
29727 * posix/bits/unistd.h: Likewise.
29728 * posix/unistd.h: Likewise.
29729 * io/bits/poll2.h: Likewise.
29730 * io/bits/fcntl2.h: Likewise.
29731 * io/fcntl.h: Likewise.
29732 * io/sys/poll.h: Likewise.
29733 * misc/bits/syslog.h: Likewise.
29734 * misc/bits/syslog-ldbl.h: Likewise.
29735 * misc/sys/syslog.h: Likewise.
29736 * socket/bits/socket2.h: Likewise.
29737 * socket/sys/socket.h: Likewise.
29738 * debug/tst-chk1.c: Likewise.
29739 * wcsmbs/bits/wchar2.h: Likewise.
29740 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29741 * wcsmbs/wchar.h: Likewise.
29743 2012-04-29 Andreas Jaeger <aj@suse.de>
29745 * Makerules (tests): Remove enable-check-abi protection.
29746 (check-abi-warn): Remove.
29747 (check-abi-%): Remove check-abi-warn usage.
29749 * configure.in: Remove check-abi configure option.
29750 * configure: Regenerated.
29751 * config.make.in (enable-check-abi): Remove.
29753 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29756 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29757 double functions to double *_finite functions.
29760 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29761 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29763 * stdio-common/Makefile (tests): Add tst-sprintf3.
29764 * stdio-common/tst-sprintf3.c: New file.
29766 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29767 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29769 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29771 * conform/conformtest.pl: Remove duplicate typed-constant
29774 2012-04-28 David S. Miller <davem@davemloft.net>
29776 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29777 (check-abi-%): Remove AWK script prerequisite and explicit
29779 (check-abi): Rewrite to just diff the symlist with the abilist.
29780 (config-tls, config-abi-config): Delete, no longer used.
29781 (update-abi-%): Remove AWK script and explicit abilist directory.
29782 (update-abi): Rewrite to simply compare and conditionally copy the
29783 symlist and the sysdep abilist file. Remove update-abi-config
29785 * abilist/ld.abilist: Remove.
29786 * abilist/libBrokenLocale.abilist: Remove.
29787 * abilist/libanl.abilist: Remove.
29788 * abilist/libcrypt.abilist: Remove.
29789 * abilist/libdl.abilist: Remove.
29790 * abilist/librt.abilist: Remove.
29791 * abilist/libthread_db.abilist: Remove.
29792 * abilist/libutil.abilist: Remove.
29793 * scripts/extract-abilist.awk: Remove.
29794 * scripts/merge-abilist.awk: Remove.
29795 * sysdeps/generic/libcidn.abilist: New file.
29796 * sysdeps/generic/libnss_compat.abilist: New file.
29797 * sysdeps/generic/libnss_db.abilist: New file.
29798 * sysdeps/generic/libnss_dns.abilist: New file.
29799 * sysdeps/generic/libnss_files.abilist: New file.
29800 * sysdeps/generic/libnss_hesiod.abilist: New file.
29801 * sysdeps/generic/libnss_nis.abilist: New file.
29802 * sysdeps/generic/libnss_nisplus.abilist: New file.
29803 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29804 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29805 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29808 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29809 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29810 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29811 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29813 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29814 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29815 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29817 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29818 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29819 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29820 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29822 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29824 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29827 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29830 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29831 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29833 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29936 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29937 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29938 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29941 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29942 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29943 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29944 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29946 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29947 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29948 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29949 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30001 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30003 * conform/conformtest.pl: Fix typo in handling typed-constant from
30006 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30008 * README: Cut down references to pre-2.6 Linux kernels and
30009 Linuxthreads. Update lists of configurations in libc and ports
30010 and sort alphabetically. Say "or newer" with Linux kernel version
30013 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30015 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30018 * math/libm-test.inc (logb_test_downward): New test to expose
30019 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30022 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30025 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30027 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30028 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30030 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30032 * sysdeps/unix/i386/brk.S: Remove file.
30033 * sysdeps/unix/i386/dl-brk.S: Likewise.
30034 * sysdeps/unix/i386/pipe.S: Likewise.
30035 * sysdeps/unix/i386/sigreturn.S: Likewise.
30036 * sysdeps/unix/i386/syscall.S: Likewise.
30037 * sysdeps/unix/i386/vfork.S: Likewise.
30038 * sysdeps/unix/i386/wait.S: Likewise.
30040 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30041 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30043 * configure.in (arm*-none*): Do not allow without
30044 --enable-hacker-mode.
30045 (netbsd*): Remove case setting base_os.
30046 (386bsd*): Likewise.
30047 (freebsd*): Likewise.
30050 (sunos*): Likewise.
30051 (ultrix*): Likewise.
30052 (newsos*): Likewise.
30053 (dynix*): Likewise.
30059 (minix*): Likewise.
30060 (irix4*): Likewise.
30061 (irix6*): Likewise.
30062 (solaris[2-9]*): Likewise.
30064 * configure: Regenerated.
30066 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30070 overflow or cancellation in calculating denominator.
30071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30073 down expression to avoid unexpected rounding in newer GCCs.
30074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30076 2012-04-26 David S. Miller <davem@davemloft.net>
30078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30079 long-double compat symbols.
30080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30094 2012-04-25 David S. Miller <davem@davemloft.net>
30096 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30097 HWCAP_* values only after the memory barriers have been defined.
30098 (atomic_full_barrier): Define.
30099 (atomic_read_barrier): Define.
30100 (atomic_write_barrier): Define.
30102 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30104 * shlib-versions: Add libgcc_s version information.
30105 * sysdeps/generic/libgcc_s.h: Remove.
30106 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30108 * sysdeps/gnu/unwind-resume.c: Likewise.
30109 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30111 2012-04-25 David S. Miller <davem@davemloft.net>
30113 * sysdeps/unix/sparc/brk.S: Delete.
30114 * sysdeps/unix/sparc/dl-brk.S: Delete.
30115 * sysdeps/unix/sparc/pipe.S: Delete.
30116 * sysdeps/unix/sparc/sysdep.S: Delete.
30117 * sysdeps/unix/sparc/sysdep.h: Delete.
30118 * sysdeps/unix/sparc/vfork.S: Delete.
30119 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30120 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30122 ret_ERRVAL, r0, r1, MOVE): Define.
30123 (JUMPTARGET): Remove.
30124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30125 sysdeps/unix/sparc/sysdep.h
30126 (ENTRY, END): Remove.
30127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30129 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30131 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30132 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30135 * timezone/README: Update upstream location and email address for
30137 * timezone/zdump.c: Update from tzcode 2012b.
30138 * timezone/zic.c: Likewise.
30140 * configure.in (libc_cv_as_needed): Remove test.
30141 * configure: Regenerated.
30142 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30143 conditional definition.
30144 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30145 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30146 * config.make.in (have-as-needed): Remove variable.
30148 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30149 Paul Pluzhnikov <ppluzhnikov@google.com>
30151 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30154 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30156 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30157 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30158 * sysdeps/sh/strlen.S: Likewise.
30160 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30162 * sysdeps/unix/fork.S: Remove file.
30163 * sysdeps/unix/i386/fork.S: Likewise.
30164 * sysdeps/unix/sparc/fork.S: Likewise.
30166 * sysdeps/unix/system.c: Remove file.
30167 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30169 * sysdeps/unix/getegid.S: Remove file.
30170 * sysdeps/unix/geteuid.S: Likewise.
30172 2012-04-24 Roland McGrath <roland@hack.frob.com>
30174 * scripts/check-localplt.awk: New file.
30175 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30177 * scripts/data/localplt-generic.data: Add a comment.
30179 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30180 NODE when __dir_mkfile failed.
30181 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30182 Reported by Ludovic Courtès <ludo@gnu.org>.
30184 2012-04-24 Andreas Jaeger <aj@suse.de>
30186 * Makerules (common-clean): Also remove gen-as-const-headers
30189 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30191 * Makerules (native-compile): Do not change working directory for
30192 build. Use $(OUTPUT_OPTION) in command.
30193 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30195 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30198 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30199 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30200 * math/libm-test.inc (floor_test): Add more tests.
30201 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30203 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30205 * sysdeps/unix/getdents.c: Remove file.
30206 * sysdeps/unix/sysv/getdents.c: Likewise.
30207 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30209 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30210 sysdeps/unix/mman/syscalls.list.
30212 (mprotect): Likewise.
30214 (munmap): Likewise.
30215 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30216 * sysdeps/unix/mman/syscalls.list: Remove.
30217 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30219 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30220 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30221 * configure: Regenerated.
30222 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30223 $(libgcc_s_suffix).
30224 * config.make.in (libgcc_s_suffix): Remove variable.
30226 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30228 * sysdeps/unix/sysv/gethostname.c: Move to ...
30229 * sysdeps/posix/gethostname.c: ... here.
30231 * sysdeps/unix/execve.S: Remove file.
30233 * sysdeps/unix/_exit.S: Remove file.
30235 2012-04-23 Andreas Jaeger <aj@suse.de>
30238 * manual/Makefile: Remove make dist support, there's no
30239 need for a stand-alone documentation tar ball.
30240 (TEXI2DVI): Define always, it's not in Makeconfig.
30243 (edition): Removed.
30244 (glibc-doc-$(edition).tar): Removed
30248 (ETAGS): Remove, it's in Makeconfig.
30249 (move-if-change): Remove, it's in Makeconfig.
30251 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30254 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30255 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30256 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30257 (strtod_l, strtof_l, strtold_l): Remove __wur.
30258 It is not necessarily an error to ignore strtol's return value.
30259 One can reliably look at the stored endptr to decide whether
30260 the number had valid syntax.
30262 2012-04-21 Andreas Jaeger <aj@suse.de>
30265 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30267 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30269 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30270 * sysdeps/unix/sysv/Versions: Remove file.
30272 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30277 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30281 version from __vm86.
30283 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/unix/common/lxstat.c: Remove file.
30286 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30288 * sysdeps/unix/sysv/Makefile: Remove file.
30290 * sysdeps/unix/sysv/direct.h: Remove file.
30292 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30293 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30294 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30295 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30296 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30297 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30298 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30300 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30302 * sysdeps/unix/xmknod.c: Remove file.
30303 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30305 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30307 * sysdeps/unix/sysv/i386/time.S: Remove file.
30309 * sysdeps/unix/fxstat.c: Remove file.
30310 * sysdeps/unix/xstat.c: Likewise.
30311 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30313 * sysdeps/unix/sysv/sigaction.c: Remove file.
30315 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30316 (sysdep_headers): Remove variable.
30317 [termio.h not in sysdep_headers] (generated): Likewise.
30318 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30319 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30320 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30321 * sysdeps/unix/sysv/tcflow.c: Likewise.
30322 * sysdeps/unix/sysv/tcflush.c: Likewise.
30323 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30324 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30325 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30326 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30327 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30329 * sysdeps/unix/siglist.c: Remove file.
30331 * sysdeps/unix/getppid.S: Remove file.
30333 * sysdeps/unix/mkdir.c: Remove file.
30334 * sysdeps/unix/rmdir.c: Likewise.
30336 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30338 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30340 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30341 errlist-compat value.
30343 2012-04-18 David S. Miller <davem@davemloft.net>
30345 * sysdeps/generic/memcopy.h (reg_char): Delete.
30346 * debug/strcat_chk.c: Use char, not reg_char.
30347 * debug/strcpy_chk.c: Likewise.
30348 * debug/strncat_chk.c: Likewise.
30349 * debug/strncpy_chk.c: Likewise.
30350 * string/memchr.c: Likewise.
30351 * string/memrchr.c: Likewise.
30352 * string/rawmemchr.c: Likewise.
30353 * string/strcat.c: Likewise.
30354 * string/strchr.c: Likewise.
30355 * string/strchrnul.c: Likewise.
30356 * string/strcmp.c: Likewise.
30357 * string/strcpy.c: Likewise.
30358 * string/strncat.c: Likewise.
30359 * string/strncmp.c: Likewise.
30360 * string/strncpy.c: Likewise.
30362 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30364 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30365 __builtin_memcopy is called when src and dest ranges are known to not
30368 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30371 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30372 fwd_align_merge macro call.
30373 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30374 bwd_align_merge macro call.
30375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30377 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30380 bwd_align_merge macros.
30381 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30382 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30385 2012-04-18 David S. Miller <davem@davemloft.net>
30387 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30389 2012-04-18 Andreas Jaeger <aj@suse.de>
30392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30393 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30394 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30396 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30397 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30400 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30401 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30402 Adjust for changed ldbl-128 files.
30404 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30405 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30408 2012-04-17 David S. Miller <davem@davemloft.net>
30410 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30412 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30414 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30415 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30416 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30417 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30418 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30421 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30424 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30425 * math/libm-test.inc: Add ilogb errno and exception tests.
30426 * math/w_ilogb.c: New file: ilogb wrapper.
30427 * math/w_ilogbf.c: New file: ilogbf wrapper.
30428 * math/w_ilogbl.c: New file: ilogbl wrapper.
30429 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30430 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30431 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30432 exception being thrown with 0.0 as argument.
30433 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30434 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30435 exception being thrown with 0.0 as argument.
30436 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30437 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30438 exception being thrown with 0.0 as argument.
30439 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30440 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30441 exception being thrown with 0.0 as argument.
30442 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30443 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30445 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30447 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30448 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30449 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30450 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30452 2012-04-17 Petr Baudis <pasky@ucw.cz>
30454 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30457 2012-04-16 Marek Polacek <polacek@redhat.com>
30459 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30461 2012-04-16 Marek Polacek <polacek@redhat.com>
30463 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30464 operands of fdivp instruction.
30466 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30468 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30469 * elf/tst-auditmod3b.c: Likewise.
30470 * elf/tst-auditmod4b.c: Likewise.
30471 * elf/tst-auditmod5b.c: Likewise.
30472 * elf/tst-auditmod6b.c: Likewise.
30473 * elf/tst-auditmod6c.c: Likewise.
30474 * elf/tst-auditmod7b.c: Likewise.
30475 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30476 * sysdeps/x86_64/preconfigure.in: Likewise.
30477 * sysdeps/x86_64/preconfigure: Regenerated.
30479 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30484 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30487 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30489 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30492 * locale/iso-639.def: Fix gl language name. Spotted by
30495 2012-04-12 Roland McGrath <roland@hack.frob.com>
30498 * libio/libio.h (__io_write_fn): Update comment.
30500 2012-04-12 Petr Baudis <pasky@ucw.cz>
30503 * stdio.texi (Hook Functions): The user provided writer function
30504 is not allowed to return -1.
30506 2012-04-11 David S. Miller <davem@davemloft.net>
30508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30510 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30512 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30513 Add a leading slash to rtkaio.
30515 2012-04-11 Jim Meyering <meyering@redhat.com>
30518 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30519 It is not necessarily an error to ignore fwrite's return
30520 value. One can reliably use ferror to test for errors after
30523 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30525 * bits/types.h (__snseconds_t): New type.
30526 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30528 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30530 (__SNSECONDS_T_TYPE): Likewise.
30531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30532 (__SNSECONDS_T_TYPE): Likewise.
30533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30534 (__SNSECONDS_T_TYPE): Likewise.
30536 2012-04-10 Andreas Jaeger <aj@suse.de>
30539 * manual/time.texi (Processor Time): Return type of times is
30540 elapsed real time since an arbitrary point in the past.
30541 (CPU Time): Move CLK_TCK from here...
30542 (Processor Time): ...to here. Correct description.
30543 * manual/conf.texi (Constants for Sysconf): Correct description of
30546 2012-04-10 David S. Miller <davem@davemloft.net>
30549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30550 where the is a gap between DT_REL(A) and DT_JMPREL.
30552 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30554 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30555 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30556 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30558 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30560 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30561 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30562 (dl_main): Handle --inhibit-cache.
30563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30565 * elf/dl-load.c (_dl_map_object): Use it.
30566 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30568 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30571 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30572 (__ieee754_powl): Saturate large exponents rather than testing for
30573 overflow of y*log2(x).
30574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30575 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30579 * math/s_ctan.c: Include <float.h>.
30580 (__ctan): Avoid internal overflow or cancellation in calculating
30582 * math/s_ctanf.c: Likewise.
30583 * math/s_ctanl.c: Likewise.
30584 * math/s_ctanh.c: Likewise.
30585 * math/s_ctanhf.c: Likewise.
30586 * math/s_ctanhl.c: Likewise.
30587 * math/libm-test.inc (ctan_test): Add more tests.
30588 (ctanh_test): Likewise.
30589 * sysdeps/i386/fpu/libm-test-ulps: Update.
30590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30592 2012-04-09 Andreas Jaeger <aj@suse.de>
30595 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30596 is an optional BSD extension.
30599 * manual/stdio.texi (Opening Streams): Document additional fopen
30602 2012-04-09 Roland McGrath <roland@hack.frob.com>
30604 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30605 %eax without telling the compiler.
30607 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30610 * manual/install.texi: Use sourceware.org.
30612 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30615 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30616 (__ieee754_pow): Generate overflow and underflow using huge*huge
30617 and tiny*tiny rather than just returning constant infinity or zero
30618 for large exponents.
30619 * math/libm-test.inc (pow_test): Require overflow exceptions for
30620 applicable cases of large exponents.
30623 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30624 (__ieee754_pow): Use iterative multiplication algorithm only for
30625 integer exponents with absolute value below 1024. Check for odd
30626 integer exponents when using algorithm for real exponents.
30627 * math/libm-test.inc (pow_test): Add more tests.
30628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30630 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30633 * math/libm-test.inc (exp_test): Do not allow overflow exception
30636 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30639 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30640 instead of __kernel_standard_f.
30642 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30644 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30645 * sysdeps/x86_64/memset_chk.S: Likewise.
30647 2012-04-08 Andreas Jaeger <aj@suse.de>
30650 * manual/startup.texi (Environment Access): Describe return value
30651 for putenv and setenv.
30654 * manual/filesys.texi (Directory Entries): Add description for
30658 * manual/filesys.texi (Directory Entries): Clarify that it's file
30659 system not operating system in the description of DT_UNKNOWN.
30662 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30664 2012-04-08 Stephen Compall <s11@member.fsf.org>
30667 * manual/llio.texi (Opening and Closing Files): Add cross
30668 reference to explain mode argument.
30670 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30672 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30673 * sysdeps/x86_64/memset_chk.S: Likewise.
30675 2012-04-07 David S. Miller <davem@davemloft.net>
30677 * elf/elf.h (R_SPARC_WDISP10): Define.
30678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30681 R_SPARC_SIZE64 and R_SPARC_H34.
30683 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30686 conditions and remove no longer applicable assertion.
30688 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30690 * bits/byteswap.h: Include <features.h>.
30691 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30692 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30694 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30696 * bits/byteswap.h (__bswap_16): Removed.
30697 Include <bits/byteswap-16.h> to get __bswap_16.
30698 * sysdeps/i386/bits/byteswap.h: Likewise.
30699 * sysdeps/s390/bits/byteswap.h: Likewise.
30700 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30701 * bits/byteswap-16.h: New file.
30702 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30703 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30704 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30705 * string/Makefile (headers): Add bits/byteswap-16.h.
30707 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30710 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30712 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30713 * nss/tst-nss-static.c: New.
30715 2012-04-06 Robert Millan <rmh@gnu.org>
30718 * manual/llio.texi (File Position Primitive): lseek
30719 refers to WHENCE when it really means OFFSET.
30721 2012-04-06 Andreas Jaeger <aj@suse.de>
30723 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30724 strncmp declarations.
30726 * abilist/libc.abilist: Add __poll and __ppoll.
30728 2012-04-05 David S. Miller <davem@davemloft.net>
30730 * scripts/check-local-headers.sh: Accept a host triplet in the
30731 path matched by the exclude regexp.
30733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30735 * sysdeps/powerpc/powerpc32/dl-machine.h
30736 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30737 * sysdeps/s390/s390-32/dl-machine.h
30738 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30739 * sysdeps/sparc/sparc32/dl-machine.h
30740 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30741 * sysdeps/sparc/sparc64/dl-machine.h
30742 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30744 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30746 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30747 undefined symbol errors.
30749 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30752 2012-04-05 Michael Matz <matz@suse.de>
30755 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30757 2012-04-05 Andreas Jaeger <aj@suse.de>
30760 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30765 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30766 which ROUND is no valid rounding mode.
30768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30772 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30774 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30776 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30777 an exception using FPU order intentionally.
30779 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30781 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30782 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30783 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30784 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30786 2012-04-05 Simon Josefsson <simon@josefsson.org>
30789 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30790 EINVAL when BUFLEN is too smal.
30792 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30795 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30796 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30798 2012-04-03 Andreas Jaeger <aj@suse.de>
30801 * manual/setjmp.texi (System V contexts): Fix sentence.
30804 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30805 New macro for this case.
30806 [!__GNUC__] (__bswap_64): New inline function for this case.
30807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30808 * bits/byteswap.h: Likewise.
30809 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30810 ull, guard with __GLIBC_HAVE_LONG_LONG.
30812 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30813 __GLIBC_HAVE_LONG_LONG.
30815 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30816 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30818 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30821 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30822 inptr and inend, rather than using last_ch.
30824 2012-04-02 David S. Miller <davem@davemloft.net>
30826 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30827 * stdio-common/printf-parse.h (read_int): Change return type to
30828 'int', return -1 on INT_MAX overflow.
30829 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30830 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30831 overflows INT_MAX. Check for overflow of in-format-string precision
30832 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30833 SIZE_MAX not INT_MAX for integer overflow test.
30834 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30835 skip the construct in the format string but do not record anything.
30836 * stdio-common/bug22.c: Adjust to test both width/prevision
30837 INT_MAX overflow as well as total length INT_MAX overflow. Check
30838 explicitly for proper errno values.
30840 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30842 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30844 * string/test-strcmp.c [! WIDE]: Likewise.
30845 * time/tst-mktime2.c: Likewise for INT_MAX.
30846 * string/test-string.h: #include <sys/param.h> for MIN.
30848 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30849 * sysdeps/i386/init-first.c (init): Likewise.
30850 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30851 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30852 * sysdeps/sh/init-first.c (init): Likewise.
30854 2012-04-01 Ulrich Drepper <drepper@gmail.com>
30856 * po/ru.po: Update from translation team.
30857 * po/vi.po: Likewise.
30859 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30861 * resolv/nss_dns/dns-host.c: Merge copyright years.
30863 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30866 Optimize memcpy with prefetch if
30867 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30868 src, dst pointers have unequal 16 byte alignments.
30870 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30873 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30874 from a CNAME entry and return the minimum ttl for the query.
30875 (gaih_getanswer_slice): Likewise.
30877 2012-03-30 Jeff Law <law@redhat.com>
30879 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30881 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30882 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30884 * resolv/nss_dns/dns-host.c: Update copyright year.
30886 2012-03-30 Ulrich Drepper <drepper@gmail.com>
30888 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30889 requests to save a system call. Fix check that all bytes are sent.
30891 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30892 comments for sendmmsg.
30894 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30897 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30898 with only 1 character between 0x0041 and 0x01b0.
30899 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30900 * wcsmbs/tst-mbsnrtowcs.c: New file.
30902 2012-03-29 David S. Miller <davem@davemloft.net>
30904 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30905 small copies by hand.
30907 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30910 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30911 _nss_compat_initgroups_dyn): Fall back to malloc/free
30912 for large group memberships.
30914 2012-03-28 David S. Miller <davem@davemloft.net>
30916 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30917 that branches into memcpy.
30918 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30921 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30924 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30925 implementation too.
30926 * sysdeps/sparc/mempcpy.S: New file.
30928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30929 the IFUNC routine in the libc case.
30930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30932 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30933 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30934 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30935 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30936 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30937 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30938 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30939 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30941 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30942 loop to 256 bytes instead of 64 bytes and fix test signedness.
30944 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30945 * sysdeps/sparc/sparc32/Makefile: rather than here...
30946 * sysdeps/sparc/sparc64/Makefile: and here.
30948 2012-03-28 Ulrich Drepper <drepper@gmail.com>
30950 * malloc/mallocbug.c: Avoid warnings about unused variables.
30952 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30955 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30956 in the right place. Discard and retry query if response is
30957 larger than input buffer size.
30959 2012-03-28 Joseph Myers <joseph@codesourcery.com>
30964 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30965 x for large integer exponent.
30966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30967 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30968 sign of result as needed afterwards.
30969 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30970 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30971 result for underflowing pow the same as for overflow.
30972 (__kernel_standard_l): Handle powl overflow and underflow here
30973 rather than calling __kernel_standard.
30974 * math/libm-test.inc (pow_test): Add more tests.
30989 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30990 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30991 (__kernel_standard_l): New function.
30992 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30994 * math/w_acosl.c (__acosl): Likewise.
30995 * math/w_asinl.c (__asinl): Likewise.
30996 * math/w_atan2l.c (__atan2l): Likewise.
30997 * math/w_atanhl.c (__atanhl): Likewise.
30998 * math/w_coshl.c (__coshl): Likewise.
30999 * math/w_exp10l.c (__exp10l): Likewise.
31000 * math/w_exp2l.c (__exp2l): Likewise.
31001 * math/w_fmodl.c (__fmodl): Likewise.
31002 * math/w_hypotl.c (__hypotl): Likewise.
31003 * math/w_j0l.c (__j0l, __y0l): Likewise.
31004 * math/w_j1l.c (__j1l, __y1l): Likewise.
31005 * math/w_jnl.c (__jnl, __ynl): Likewise.
31006 * math/w_lgammal.c (__lgammal): Likewise.
31007 * math/w_log10l.c (__log10l): Likewise.
31008 * math/w_log2l.c (__log2l): Likewise.
31009 * math/w_logl.c (__logl): Likewise.
31010 * math/w_powl.c (__powl): Likewise.
31011 * math/w_remainderl.c (__remainderl): Likewise.
31012 * math/w_scalbl.c (sysv_scalbl): Likewise.
31013 * math/w_sinhl.c (__sinhl): Likewise.
31014 * math/w_sqrtl.c (__sqrtl): Likewise.
31015 * math/w_tgammal.c (__tgammal): Likewise.
31016 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31017 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31018 * math/libm-test.inc (acos_test): Add more tests.
31019 (acosh_test): Likewise.
31020 (asin_test): Likewise.
31021 (atanh_test): Likewise.
31022 (exp_test): Likewise.
31023 (exp10_test): Likewise.
31024 (exp2_test): Likewise.
31025 (expm1_test): Likewise.
31026 (lgamma_test): Likewise.
31027 (log_test): Likewise.
31028 (log10_test): Likewise.
31029 (log1p_test): Likewise.
31030 (log2_test): Likewise.
31031 (pow_test): Do not allow some spurious overflow exceptions.
31032 (sqrt_test): Add more tests.
31033 (tgamma_test): Likewise.
31034 (y0_test): Likewise.
31035 (y1_test): Likewise.
31036 (yn_test): Likewise.
31038 2012-03-27 Anton Blanchard <anton@samba.org>
31040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31046 2012-03-27 David S. Miller <davem@davemloft.net>
31048 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31050 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31051 have-as-vis3 check.
31053 2012-03-27 Andreas Jaeger <aj@suse.de>
31055 * sysdeps/x86_64/elf/configure.in: Moved to ...
31056 * sysdeps/x86_64/configure.in: ... here.
31057 * sysdeps/x86_64/elf/start.S: Moved to ...
31058 * sysdeps/x86_64/start.S: ... here.
31059 * sysdeps/x86_64/elf/configure: Delete.
31061 * sysdeps/x86_64/configure.in: Merge contents from
31062 sysdeps/i386/configure.in (without i686 check).
31064 * sysdeps/i386/elf/Versions: Merge into ...
31065 * sysdeps/i386/Versions: ... this.
31066 * sysdeps/i386/elf/Versions: Delete file.
31067 * sysdeps/i386/elf/start.S: Moved to ...
31068 * sysdeps/i386/start.S: ...here.
31069 * sysdeps/i386/elf/configure.in: Merge into...
31070 * sysdeps/i386/configure.in: ...here.
31071 * sysdeps/i386/elf/configure.in: Delete file.
31072 * sysdeps/i386/elf/configure: Delete file.
31074 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31075 * debug/backtracesyms.c: ... here.
31076 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31077 * debug/backtracesymsfd.c: ... here.
31078 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31079 * sysdeps/generic/ifunc-sel.h: ... here.
31081 * sysdeps/unix/i386/start.c: Delete file.
31082 * sysdeps/unix/sparc/start.c: Delete file.
31083 * sysdeps/unix/start.c: Delete file.
31085 * sysdeps/sh/elf/configure.in: Moved to ...
31086 * sysdeps/sh/configure.in: ... here.
31087 * sysdeps/sh/elf/start.S: Moved to ...
31088 * sysdeps/sh/start.S: ... here.
31089 * sysdeps/sh/elf/configure: Delete file.
31091 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31092 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31093 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31094 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31095 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31096 * sysdeps/powerpc/powerpc64/start.S: here.
31097 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31098 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31099 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31100 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31101 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31103 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31104 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31105 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31106 * sysdeps/powerpc/powerpc32/start.S: ... here.
31107 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31108 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31109 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31111 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31112 * sysdeps/powerpc/ifunc-sel.h: ... here.
31113 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31114 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31116 * sysdeps/sparc/elf/configure.in: Moved to ...
31117 * sysdeps/sparc/configure.in: ... here.
31118 * sysdeps/sparc/elf/configure: Delete file.
31119 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31120 * sysdeps/sparc/sparc32/start.S: ... here.
31121 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31122 * sysdeps/sparc/sparc64/start.S: ... here.
31123 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31124 * sysdeps/sparc/sparc32/Makefile: ... this.
31125 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31126 * sysdeps/sparc/sparc64/Makefile: ... this.
31128 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31129 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31130 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31131 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31132 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31133 * sysdeps/s390/s390-32/setjmp.S: ... here.
31134 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31135 * sysdeps/s390/s390-32/configure.in: ... here.
31136 * sysdeps/s390/s390-32/elf/configure: Delete file.
31137 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31138 * sysdeps/s390/s390-32/start.S: ... here.
31140 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31141 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31142 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31143 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31144 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31145 * sysdeps/s390/s390-64/setjmp.S: ... here.
31146 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31147 * sysdeps/s390/s390-64/configure.in: ... here
31148 * sysdeps/s390/s390-64/elf/configure: Delete file.
31149 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31150 * sysdeps/s390/s390-64/start.S: ... here.
31151 * sysdeps/s390/s390-64/elf/configure: Delete.
31153 * configure.in: Remove support for elf directories in sysdeps.
31155 * configure: Regenerated.
31156 * sysdeps/i386/configure: Regenerated.
31157 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31158 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31159 * sysdeps/s390/s390-32/configure: Regenerated.
31160 * sysdeps/s390/s390-64/configure: Regenerated.
31161 * sysdeps/sh/configure: Regenerated.
31162 * sysdeps/sparc/configure: Regenerated.
31163 * sysdeps/x86_64/configure: Regenerated.
31165 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31170 denormal result into account.
31172 2012-03-25 Roland McGrath <roland@hack.frob.com>
31174 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31175 Reported by Allan McRae <allan@archlinux.org>.
31177 2012-03-23 Jeff Law <law@redhat.com>
31179 * nss/getnssent.c (__nss_getent): Fix typo.
31181 2012-03-23 David S. Miller <davem@davemloft.net>
31183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31185 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31187 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31188 to pad to uint64_t for each field.
31189 (dl_tls_index): Replace unsigned long with uint64_t.
31191 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31192 Paul Pluzhnikov <ppluzhnikov@google.com>
31195 * grp/Makefile (otherlibs): Don't set it.
31196 * inet/Makefile (otherlibs): Likewise.
31197 * login/Makefile (otherlibs): Likewise.
31198 * nscd/Makefile (otherlibs): Likewise.
31199 * posix/Makefile (otherlibs): Likewise.
31200 * pwd/Makefile (otherlibs): Likewise.
31201 * rt/Makefile (otherlibs): Likewise.
31202 * sunrpc/Makefile (otherlibs): Likewise.
31203 * nss/Makefile (otherlibs): Likewise.
31204 Add libnss_files to routines and static-only-routines.
31205 ($(objpfx)getent): Remove rule.
31206 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31207 static-only-routines.
31209 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31212 * math/s_cexp.c: Include <float.h>.
31213 (__cexp): Handle exp result overflowing not necessarily
31214 overflowing both real and imaginary parts of result.
31215 * math/s_cexpf.c: Likewise.
31216 * math/s_cexpl.c: Likewise.
31217 * math/libm-test.inc (cexp_test): Add more tests.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31223 * include/link.h (ELFW): New macro.
31224 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31225 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31229 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31232 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31234 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31236 (struct La_x32_retval): Likewise.
31238 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31240 * sysdeps/x86_64/preconfigure.in: New file.
31241 * sysdeps/x86_64/preconfigure: New generated file.
31243 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31246 * math/e_exp2l.c: Include <float.h>.
31247 (__ieee754_exp2l): Handle overflow and underflow cases
31248 separately. Only pass fractional part of argument to
31250 * math/libm-test.inc (exp2_test): Add more tests.
31252 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31253 negating x to take absolute value.
31254 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31259 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31260 computing low part if x was negated.
31261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31263 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31265 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31266 la_x32_gnu_pltexit.
31267 (pltexit): Cast int_retval to ptrdiff_t.
31268 * elf/tst-auditmod3b.c: Likewise.
31269 * elf/tst-auditmod4b.c: Likewise.
31270 * elf/tst-auditmod5b.c: Likewise.
31271 * elf/tst-auditmod6b.c: Likewise.
31272 * elf/tst-auditmod6c.c: Likewise.
31273 * elf/tst-auditmod7b.c: Likewise.
31275 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31276 and x32_gnu_pltexit.
31278 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31279 __ELF_NATIVE_CLASS.
31280 (La_x32_regs): New macro.
31281 (La_x32_retval): Likewise.
31282 (la_x32_gnu_pltenter): New function prototype.
31283 (la_x32_gnu_pltexit): Likewise.
31285 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31292 * configure.in (libc_cv_cc_nofma): Check for option to disable
31293 generation of FMA instructions.
31294 * configure: Regenerate.
31295 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31296 * sysdeps/ieee754/dbl-64/Makefile: New file.
31297 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31298 Remove brandred-fma4.
31299 (CFLAGS-brandred-fma4.c): Remove.
31300 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31306 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31309 LLONG_MAX != LONG_MAX.
31310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31311 (_fitoa_word): Likewise.
31312 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31313 LLONG_MAX != LONG_MAX.
31314 * stdio-common/_itowa.h: Include <_itoa.h>.
31315 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31316 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31317 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31318 only if not defined.
31319 (_ITOA_WORD_TYPE): Likewise.
31320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31321 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31323 2012-03-21 David S. Miller <davem@davemloft.net>
31325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31327 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31329 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31330 of x86_64 when setting libc_cv_slibdir, libdir and
31332 * sysdeps/unix/sysv/linux/configure: Regenerated.
31334 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31336 * manual/lang.texi (Old Varargs): Remove section.
31337 (How Variadic): Update menu.
31338 (va_start): Do not mention varargs.h.
31340 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31341 Joseph Myers <joseph@codesourcery.com>
31343 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31345 * configure: Regenerated.
31347 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31349 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31350 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31353 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31356 * Makefile (files-for-dist): Remove NOTES.
31357 (NOTES): Remove rule.
31358 * README: Don't refer to NOTES.
31359 * manual/creature.texi: Don't include macros.texi.
31360 * manual/intro.texi (creature.texi): Remove comment referring to
31363 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31364 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31365 * configure: Regenerated.
31366 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31367 LIBC_TRY_CC_OPTION.
31368 (libc_cv_as_i686): Likewise.
31369 (libc_cv_cc_avx): Likewise.
31370 (libc_cv_cc_sse2avx): Likewise.
31371 (libc_cv_cc_fma4): Likewise.
31372 (libc_cv_cc_novzeroupper): Likewise.
31373 * sysdeps/i386/configure: Regenerated.
31376 * sysdeps/i386/fpu/s_cexp.S: Remove.
31377 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31378 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31379 * math/libm-test.inc (cexp_test): Add more tests.
31380 * sysdeps/i386/fpu/libm-test-ulps: Update.
31381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31383 2012-03-21 Allan McRae <allan@archlinux.org>
31385 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31387 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31390 * math/w_exp2.c: Do not include <float.h>.
31391 (o_threshold, u_threshold): Remove.
31392 (__exp2): Calculate result before checking finiteness and calling
31394 * math/w_exp2f.c: Likewise.
31395 * math/w_exp2l.c: Likewise.
31396 * math/libm-test.inc (exp2_test): Require overflow exception for
31400 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31401 range of signed 64-bit integers before using fistpll. Remove
31402 checks for whether integers fit in mantissa bits.
31403 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31404 the range of signed 32-bit integers before using fistpl. Remove
31405 checks for whether integers fit in mantissa bits.
31406 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31407 (__ieee754_powl): Test for y outside the range of signed 64-bit
31408 integers before using fistpll. Reduce 64-bit values to 63-bit
31410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31411 divide-by-zero is raised for zero to large negative powers.
31412 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31413 (__ieee754_powl): Test for y outside the range of signed 64-bit
31414 integers before using fistpll. Reduce 64-bit values to 63-bit
31416 * math/libm-test.inc (pow_test): Add more tests.
31418 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31420 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31421 <stdio-common/_itoa.h>.
31422 * debug/segfault.c: Likewise.
31423 * elf/dl-cache.c: Likewise.
31424 * elf/dl-minimal.c: Likewise.
31425 * elf/dl-misc.c: Likewise.
31426 * elf/dl-sysdep.c: Likewise.
31427 * elf/dl-version.c: Likewise.
31428 * elf/rtld.c: Likewise.
31429 * hurd/hurdsock.c: Likewise.
31430 * hurd/lookup-retry.c: Likewise.
31431 * malloc/malloc.c: Likewise.
31432 * malloc/mtrace.c: Likewise.
31433 * nscd/nscd_getgr_r.c: Likewise.
31434 * nscd/nscd_getpw_r.c: Likewise.
31435 * nscd/nscd_getserv_r.c: Likewise.
31436 * posix/getopt_init.c: Likewise.
31437 * posix/wordexp.c: Likewise.
31438 * stdio-common/_itoa.c: Likewise.
31439 * stdio-common/printf_fphex.c: Likewise.
31440 * stdio-common/vfprintf.c: Likewise.
31441 * string/_strerror.c: Likewise.
31442 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31443 * sysdeps/i386/i686/hp-timing.h: Likewise.
31444 * sysdeps/mach/_strerror.c: Likewise.
31445 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31446 * sysdeps/mach/hurd/sethostid.c: Likewise.
31447 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31448 * sysdeps/mach/xpg-strerror.c: Likewise.
31449 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31451 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31452 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31454 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31455 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31456 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31457 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31458 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31459 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31460 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31461 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31462 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31463 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31465 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31466 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31467 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31468 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31471 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31473 * stdio-common/_itoa.h: Moved to ...
31474 * sysdeps/generic/_itoa.h: Here.
31476 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31478 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31479 instead of "_itoa.h" and "_itowa.h".
31480 * stdio-common/vfprintf.: Likewise.
31482 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31484 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31486 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31487 (__signbit): Likwise.
31488 (llrintf): Likwise.
31491 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31493 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31496 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31498 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31499 OVERFLOW_EXCEPTION_OK.
31500 * math/libm-test.inc ("Philosophy"): Update comment about
31502 (OVERFLOW_EXCEPTION): Define.
31503 (OVERFLOW_EXCEPTION_OK): Likewise.
31504 (INVALID_EXCEPTION_OK): Renumber.
31505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31506 (IGNORE_ZERO_INF_SIGN): Likewise.
31507 (test_exceptions): Handle FE_OVERFLOW.
31508 (exp10_test): Expect overflow exceptions.
31509 (exp2_test): Likewise.
31510 (expm1_test): Likewise.
31511 (nextafter_test): Likewise.
31512 (pow_test): Likewise.
31513 (scalbn_test): Likewise.
31514 (scalbln_test): Likewise.
31516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31518 * sysdeps/x86_64/bits/atomic.h
31519 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31521 (atomic_exchange_acq): Likewise.
31522 (__arch_exchange_and_add_body): Likewise.
31523 (__arch_add_body): Likewise.
31524 (atomic_add_negative): Likewise.
31525 (atomic_add_zero): Likewise.
31527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31529 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31530 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31532 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31534 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31535 Check __x86_64__ instead of __WORDSIZE.
31537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31539 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31541 2012-03-19 David S. Miller <davem@davemloft.net>
31543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31545 * sysdeps/sparc/fpu/fenv_private.h: New file.
31546 * sysdeps/sparc/fpu/math_private.h: Use it.
31547 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31549 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31550 (libc_feholdexcept_setroundl): Remove.
31551 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31553 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31554 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31559 int64_t instead of long int.
31560 (INSERT_WORDS64): Likwise.
31562 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31564 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31565 _Unwind_GetCFA return to _Unwind_Ptr first.
31567 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31570 * math/s_clog.c: Include <float.h>.
31571 (__clog): Scale large or subnormal inputs.
31572 * math/s_clogf.c: Likewise.
31573 * math/s_clogl.c: Likewise.
31574 * math/s_clog10.c: Include <float.h>.
31575 (M_LOG10_2): Define.
31576 (__clog10): Scale large or subnormal inputs.
31577 * math/s_clog10f.c: Likewise.
31578 * math/s_clog10l.c: Likewise.
31579 * math/libm-test.inc (clog_test): Add more tests.
31580 (clog10_test): Likewise.
31581 * sysdeps/i386/fpu/libm-test-ulps: Update.
31582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31585 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31587 * math/libm-test.inc (atan2_test): Add another test.
31589 * Makerules (common-objdir-compile): Remove.
31590 * sysdeps/unix/Makefile (config-generated): Do not add
31591 $(unix-generated) to variable.
31592 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31593 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31595 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31597 [generic bits/local_lim.h] (before-compile): Do not append to
31599 [generic bits/local_lim.h] (common-generated): Likewise.
31600 [generic sys/param.h] (before-compile): Do not append to variable.
31601 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31602 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31603 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31604 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31606 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31607 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31608 [generic sys/param.h] ($(addprefix
31609 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31610 [generic sys/param.h] (common-generated): Do not append to
31612 [generic sys/param.h] (sysdep_headers): Likewise.
31613 [generic bits/errno.h] (before-compile): Do not append to
31615 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31617 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31618 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31619 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31620 [generic bits/errno.h] (common-generated): Do not append to
31622 [generic bits/ioctls.h] (before-compile): Do not append to
31624 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31626 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31627 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31628 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31630 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31631 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31632 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31633 [generic bits/ioctls.h] (common-generated): Do not append to
31635 [generic sys/syscall.h] (syscall.h): Remove variable.
31636 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31638 [generic sys/syscall.h] (before-compile): Do not append to
31640 [generic sys/syscall.h] (common-generated): Likewise.
31641 * sysdeps/unix/errnos-tmpl.c: Remove file.
31642 * sysdeps/unix/errnos.awk: Likewise.
31643 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31644 * sysdeps/unix/ioctls.awk: Likewise.
31645 * sysdeps/unix/mk-local_lim.c: Likewise.
31646 * sysdeps/unix/snarf-ioctls: Likewise.
31648 2012-03-19 Richard Henderson <rth@twiddle.net>
31650 * sysdeps/i386/fpu/fenv_private.h: New file.
31651 * sysdeps/i386/fpu/math_private.h: Use it.
31652 (math_opt_barrier, math_force_eval): Remove.
31653 (libc_feholdexcept_setround_53bit): Remove.
31654 (libc_feupdateenv_53bit): Remove.
31655 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31656 (math_opt_barrier, math_force_eval): Remove.
31657 (libc_feholdexcept): Remove.
31658 (libc_feholdexcept_setround): Remove.
31659 (libc_fetestexcept, libc_fesetenv): Remove.
31660 (libc_feupdateenv_test): Remove.
31661 (libc_feupdateenv, libc_feholdsetround): Remove.
31662 (libc_feresetround): Remove.
31664 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31665 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31667 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31668 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31669 (libc_feupdateenv_testl): New.
31670 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31671 (libc_feupdateenv_testf): New.
31672 (libc_feupdateenv): Use libc_feupdateenv_test.
31673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31676 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31677 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31678 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31679 (libc_feresetround_noex): New.
31680 (libc_feresetround_noexf): New.
31681 (libc_feresetround_noexl): New.
31682 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31683 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31684 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31690 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31691 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31692 SET_RESTORE_ROUND_NOEX.
31693 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31694 SET_RESTORE_ROUND_NOEXF.
31695 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31696 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31697 (libc_feholdsetroundf): New.
31698 (libc_feresetround, libc_feresetroundf): New.
31700 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31701 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31702 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31704 * sysdeps/generic/math_private.h: Include <fenv.h>.
31705 (default_libc_feholdexcept): New.
31706 (default_libc_feholdexcept_setround): New.
31707 (default_libc_fesetenv, default_libc_feupdateenv): New.
31708 (libc_feholdexcept): Only define if undefined.
31709 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31711 (libc_feholdexcept_setroundl): Likewise.
31712 (libc_feholdexcept_setround_53bit): Likewise.
31713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31716 (libc_feupdateenv_53bit): Likewise.
31717 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31718 (libc_feholdexcept): Convert from macro to inline function.
31719 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31720 (libc_fesetenv, libc_feupdateenv): Likewise.
31722 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31723 not previously defined.
31724 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31725 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31726 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31727 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31728 * sysdeps/ieee754/flt-32/math_private.h: New file.
31729 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31730 math_private.h below SET_FLOAT_WORD.
31731 (__isnan, __isinf_ns, __finite): Remove.
31732 (__isnanf, __isinf_nsf, __finitef): Remove.
31734 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31738 2012-03-17 David S. Miller <davem@davemloft.net>
31741 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31744 2012-03-16 David S. Miller <davem@davemloft.net>
31746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31750 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31752 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31753 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31754 sysdep_routines when subdir is sysvipc.
31755 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31756 __getshmlba helper.
31758 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31762 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31765 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31768 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31769 (__lround): Renamed to ...
31770 (__llround): This. Replace long int with long long int.
31771 Define lround functions as aliases of llround functions.
31772 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31776 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31777 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31778 adresses to uintptr_t. Replace "long int" and "unsigned long
31779 int" with "greg_t" on va_arg.
31781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31783 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31784 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31786 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31787 Move e_machine check before EI_CLASS check. Handle x32
31788 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31789 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31790 SKIP_EM_IA_64 and include
31791 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31793 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31794 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31795 (add_system_dir): New macro.
31797 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31800 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31811 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31813 * math/w_j0f.c (j0f): Likewise.
31815 * math/w_j0l.c (__j0l): Likewise.
31817 * math/w_j1.c (j1): Likewise.
31819 * math/w_j1f.c (j1f): Likewise.
31821 * math/w_j1l.c (__j1l): Likewise.
31823 * math/w_jn.c (jn): Likewise.
31825 * math/w_jnf.c (jnf): Likewise.
31827 * math/w_jnl.c (__jnl): Likewise.
31829 * math/libm-test.inc (j0_test): Add more tests.
31830 (j1_test): Likewise.
31831 (jn_test): Likewise. Add trailing semicolon to existing test.
31832 (y0_test): Likewise.
31833 (y1_test): Likewise.
31834 * sysdeps/i386/fpu/libm-test-ulps: Update.
31835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31840 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31841 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31842 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31843 (__tanl): Set errno for infinite argument.
31844 * sysdeps/i386/fpu/mptan.c: Remove.
31845 * sysdeps/i386/fpu/s_tan.S: Likewise.
31846 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31847 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31848 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31849 * math/libm-test.inc (tan_test): Add more tests and enable more
31850 tests for double and long double.
31851 * sysdeps/i386/fpu/libm-test-ulps: Update.
31852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31854 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31856 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31857 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31859 2012-03-16 Roland McGrath <roland@hack.frob.com>
31861 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31862 * configure.in: Use it for both main tree and add-ons.
31863 * configure: Regenerated.
31865 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31867 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31869 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31871 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31875 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31876 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31877 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31879 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31881 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31883 != 0 for prec == 2.
31884 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31885 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31886 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31887 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31888 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31889 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31890 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31891 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31892 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31893 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31894 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31895 * math/libm-test.inc (cos_test): Add more tests and enable more
31896 tests for long double.
31897 (sin_test): Likewise.
31898 (sincos_test): Likewise.
31899 * sysdeps/i386/fpu/libm-test-ulps: Update.
31900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31902 2012-03-16 David S. Miller <davem@davemloft.net>
31904 * sysdeps/sparc/fpu/math_private.h: New file.
31906 2012-03-15 David S. Miller <davem@davemloft.net>
31908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31922 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31923 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31925 * sysdeps/sparc/sparc-ifunc.h: New file.
31926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31971 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31973 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31977 2012-03-15 Andreas Jaeger <aj@suse.de>
31980 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31981 ieee754/flt-32 implementation for sin, cos and sincos.
31982 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31983 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31984 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31985 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31986 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31987 ieee754/flt-32 implementation for tan.
31989 * math/libm-test.inc (cos_test): Enable some large input tests for
31991 (sin_test): Likewise.
31992 (sincos_test): Likewise.
31993 (tan_test): Add tests for large input.
31995 * sysdeps/i386/fpu/libm-test-ulps: Update.
31997 2012-03-15 Andreas Jaeger <aj@suse.de>
32000 * math/libm-test.inc (cos_test): Add more test cases.
32001 (sin_test): Likewise.
32002 (sincos_test): Likewise.
32004 2012-03-15 Andreas Jaeger <aj@suse.de>
32007 * math/libm-test.inc (cos_test): Add a test case for large input
32009 (sin_test): Likewise.
32010 (sincos_test): Likewise.
32012 2012-03-15 Andreas Jaeger <aj@suse.de>,
32013 Joseph Myers <joseph@codesourcery.com>
32016 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32017 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32018 * sysdeps/i386/fpu/branred.c: Likewise.
32019 * sysdeps/i386/fpu/dosincos.c: Likewise.
32020 * sysdeps/i386/fpu/mpa.c: Likewise.
32021 * sysdeps/i386/fpu/s_cos.S: Likewise.
32022 * sysdeps/i386/fpu/s_sin.S: Likewise.
32023 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32024 * sysdeps/i386/fpu/sincos32.c: Likewise.
32026 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32028 (libc_feupdateenv_53bit): Define.
32029 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32031 (libc_feupdateenv_53bit): Define.
32033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32034 53 bit (without extend i386 double precision).
32036 * math/libm-test.inc (sincos_test): Add tests for large input.
32040 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32042 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32046 2012-03-15 David S. Miller <davem@davemloft.net>
32048 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32049 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32050 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32051 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32076 fmin/fmax sysdep routines.
32077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32079 2012-03-14 David S. Miller <davem@davemloft.net>
32081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32158 * sysdeps/sparc/configure.in: New file.
32159 * sysdeps/sparc/configure: Generate.
32160 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32161 * configure: Regenerate.
32162 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32163 * config.make.in (have-as-vis3): New.
32164 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32165 available use -Av9d instead of -Av9a.
32166 * sysdeps/sparc/sparc64/Makefile: Likewise.
32167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32182 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32183 fzeros/fnegs to load 0x80000000 into a float register instead of
32185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32187 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32191 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32192 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32193 ($(inst_includedir)/bits/syscall.h): Remove rule.
32194 ($(objpfx)bits/syscall.d): Include instead of
32195 $(objpfx)syscall-list.d.
32196 (generated): Change syscall-list.h and syscall-list.d to
32197 bits/syscall.h and bits/syscall.d.
32199 2012-03-14 Roland McGrath <roland@hack.frob.com>
32202 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32204 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32207 * math/s_csqrt.c: Include <float.h>.
32208 (__csqrt): Scale large or subnormal inputs.
32209 * math/s_csqrtf.c: Likewise.
32210 * math/s_csqrtl.c: Likewise.
32211 * math/libm-test.inc (csqrt_test): Add more tests.
32212 * sysdeps/i386/fpu/libm-test-ulps: Update.
32213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32216 * math/libm-test.inc (hypot_test): Add more tests.
32218 2012-03-13 David S. Miller <davem@davemloft.net>
32221 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32222 double-precision for the calculation instead of scaling.
32224 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32226 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32227 manipulate bits before adding and subtracting TWO52[sx].
32228 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32229 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32231 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32233 2012-03-13 David S. Miller <davem@davemloft.net>
32235 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32236 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32238 rtld-global-offsets.h
32239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32241 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32244 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32246 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32247 'err' in the ifdef scope in which it is actually used.
32249 * nss/nss_db/db-init.c: Include string.h
32251 2012-03-12 David S. Miller <davem@davemloft.net>
32253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32254 masking out of the most significant byte of random value used.
32255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32256 Fix coding style in previous change.
32258 * sysdeps/unix/sysv/linux/kernel-features.h
32259 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32260 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32262 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32265 2012-03-11 David S. Miller <davem@davemloft.net>
32267 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32268 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32270 for 'resultvar' otherwise things get truncated on 64-bit.
32272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32273 Fix masking out of the most significant byte of random value used.
32275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32277 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32281 2012-03-09 David S. Miller <davem@davemloft.net>
32283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32284 variables with appropriate CPP guards.
32285 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32286 frame pointer, not the stack pointer. Correct layout comments. Fix test
32287 on resulting framesize and the management of the outregs buffer for pltexit.
32288 Preserve floating point return values across _dl_call_pltexit call.
32289 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32290 framesize and the management of the outregs buffer for pltexit.
32291 Preserve floating point return values across _dl_call_pltexit
32293 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32294 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32295 (print_exit): Fix format string for return register value.
32297 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32299 * sunrpc/Makefile (others): Add rpcgen.
32300 ($(objpfx)rpcgen): Remove special build rule and dependency on
32302 * sunrpc/rpcgen.c: New file.
32304 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32307 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32308 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32309 * sysdeps/i386/crti.S: Likewise.
32310 * sysdeps/i386/crtn.S: Likewise.
32311 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32312 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32313 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32314 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32315 * sysdeps/sh/crti.S: Likewise.
32316 * sysdeps/sh/crtn.S: Likewise.
32317 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32320 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32322 * locale/programs/locfile-kw.gperf: Likewise.
32323 * locale/programs/charmap-kw.h: Regenerated.
32324 * locale/programs/locfile-kw.h: Likewise.
32327 * intl/plural.y: Replace FSF snail mail address with URL.
32328 * intl/plural.c: Regenerated.
32330 2012-03-09 Richard Henderson <rth@twiddle.net>
32332 * include/math_private.h: Remove file.
32333 * math/math_private.h: Move file ...
32334 * sysdeps/generic/math_private.h: ... here.
32336 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32337 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32338 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32340 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32341 and <math_private.h>.
32342 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32343 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32344 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32345 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32346 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32406 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32408 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32413 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32421 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32422 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32429 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32430 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32431 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32432 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32433 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32435 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32436 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32437 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32438 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32439 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32440 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32441 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32442 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32443 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32444 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32445 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32447 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32448 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32449 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32450 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32451 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32452 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32453 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32454 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32455 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32456 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32458 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32459 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32460 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32461 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32462 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32463 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32464 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32465 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32466 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32468 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32469 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32470 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32471 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32472 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32473 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32474 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32475 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32476 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32477 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32478 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32479 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32480 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32481 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32483 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32484 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32485 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32486 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32487 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32488 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32489 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32490 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32491 * sysdeps/ieee754/k_standard.c: Likewise.
32492 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32495 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32496 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32497 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32498 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32500 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32505 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32506 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32512 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32514 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32515 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32516 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32517 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32519 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32520 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32523 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32595 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32596 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32605 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32607 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32617 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32628 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32634 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32641 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32642 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32652 * sysdeps/ieee754/s_lib_version.c: Likewise.
32653 * sysdeps/ieee754/s_matherr.c: Likewise.
32654 * sysdeps/ieee754/s_signgam.c: Likewise.
32655 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32656 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32657 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32658 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32659 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32660 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32661 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32662 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32663 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32664 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32665 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32666 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32667 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32668 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32669 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32670 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32671 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32672 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32673 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32677 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32679 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32680 * sunrpc/rpc_main.c: Likewise.
32681 * sunrpc/rpc_svcout.c: Likewise.
32683 2012-03-09 David S. Miller <davem@davemloft.net>
32685 * include/math_private.h: New file.
32687 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32689 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32690 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32691 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32692 from <bits/socket_type.h>.
32693 (enum __socket_type): Don't define here.
32694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32696 bits/socket_type.h.
32699 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32700 checking __USE_GNU.
32702 * Makerules ($(inst_includedir)/%.h): New rule.
32703 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32704 (install-others): Remove variable setting.
32705 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32707 2012-03-08 Richard Henderson <rth@twiddle.net>
32709 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32710 from macro to inline function; merge with the
32711 !__LIBC_INTERNAL_MATH_INLINES version.
32712 (__ieee754_sqrtf): Likewise.
32714 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32715 to inline function.
32716 (__rintf, __floor, __floorf): Likewise.
32718 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32719 macro to inline function.
32720 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32723 not <math/math_private.h>.
32725 2012-03-08 David S. Miller <davem@davemloft.net>
32727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32729 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32731 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32733 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32735 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32736 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32738 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32740 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32741 be defined individually, they must be defined as a block. Define
32742 S for printing a string instead of hidint the different by using a
32743 macro for adding the 'l'.
32744 * stdio-common/tst-fphex-wide.c: Adjust.
32746 2012-03-07 Marek Polacek <polacek@redhat.com>
32748 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32750 2012-03-08 Marek Polacek <polacek@redhat.com>
32753 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32754 * stdio-common/tst-fphex.c: Define a few macros to make the
32755 test reusable. Use them.
32756 * stdio-common/tst-fphex-wide.c: New file.
32758 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32761 * manual/macros.texi (gnusystems): New macro.
32762 (nongnusystems): Likewise.
32763 (gnulinuxhurdsystems): Likewise.
32764 (gnuhurdsystems): Likewise..
32765 (gnulinuxsystems): Likewise.
32766 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32767 variants of the GNU system, not "GNU system".
32768 * manual/conf.texi: Likewise.
32769 * manual/errno.texi: Likewise. Update example of errno macro
32771 * manual/filesys.texi: Likewise.
32772 (getumask): Document as specific to GNU/Hurd.
32773 * manual/install.texi: Likewise. Reword some references to
32775 * manual/intro.texi: Likewise.
32776 * manual/io.texi: Likewise.
32777 (File Name Portability): Detail which constraints are inapplicable
32778 to all GNU systems and which are only inapplicable to GNU/Hurd.
32779 * manual/job.texi: Likewise.
32780 * manual/llio.texi: Likewise.
32781 (O_NOCTTY): Document as present on GNU/Linux.
32782 * manual/maint.texi: Likewise.
32783 * manual/memory.texi: Likewise.
32784 * manual/pattern.texi: Likewise.
32785 * manual/pipe.texi: Likewise.
32786 * manual/process.texi: Likewise.
32787 * manual/resource.texi: Likewise.
32788 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32790 * manual/setjmp.texi: Likewise.
32791 * manual/signal.texi: Likewise.
32792 * manual/startup.texi: Likewise.
32793 * manual/stdio.texi: Likewise.
32794 * manual/terminal.texi: Likewise.
32795 (ONLCR): Document as POSIX.
32796 (OXTABS): Document availability on GNU/Linux as XTABS.
32797 (ONOEOT): Document availability separately from other bits.
32798 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32799 * manual/time.texi: Likewise.
32800 * manual/users.texi: Likewise.
32801 * INSTALL: Regenerated.
32802 * sysdeps/gnu/errlist.c: Regenerated.
32804 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32805 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32806 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32808 * configure: Regenerated.
32810 2012-03-07 Joseph Myers <joseph@codesourcery.com>
32812 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32813 default includes instead of AC_HEADER_CHECK.
32814 * sysdeps/i386/configure: Regenerated.
32817 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32818 * math/s_cacoshf.c (__cacoshf): Likewise.
32819 * math/s_cacoshl.c (__cacoshl): Likewise.
32820 * math/s_casinh.c (__casinh): Set signs of result from argument.
32821 * math/s_casinhf.c (__casinhf): Likewise.
32822 * math/s_casinhl.c (__casinhl): Likewise.
32823 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32824 (casinh_test): Add more tests.
32825 * sysdeps/i386/fpu/libm-test-ulps: Update.
32826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32828 2012-03-07 Ulrich Drepper <drepper@gmail.com>
32830 * po/zh_TW.po: Update from translation team.
32832 * login/Makefile (distribute): Remove variable.
32833 * catgets/Makefile: Likewise.
32834 * mach/Makefile: Likewise.
32835 * malloc/Makefile: Likewise.
32836 * misc/Makefile: Likewise.
32837 * iconv/Makefile: Likewise.
32838 * nscd/Makefile: Likewise.
32839 * hurd/Makefile: Likewise.
32840 * manual/Makefile: Likewise.
32841 * locale/Makefile: Likewise.
32842 * intl/Makefile: Likewise.
32843 * conform/Makefile: Likewise.
32844 * nss/Makefile: Likewise.
32845 * time/Makefile: Likewise.
32846 * soft-fp/Makefile: Likewise.
32847 * dirent/Makefile: Likewise.
32848 * gmon/Makefile: Likewise.
32849 * po/Makefile: Likewise.
32850 * rt/Makefile: Likewise.
32851 * socket/Makefile: Likewise.
32852 * math/Makefile: Likewise.
32853 * signal/Makefile: Likewise.
32854 * debug/Makefile: Likewise.
32855 * elf/Makefile: Likewise.
32856 * timezone/Makefile: Likewise.
32857 * stdlib/Makefile: Likewise.
32858 * iconvdata/Makefile: Likewise.
32859 * sunrpc/Makefile: Likewise.
32860 * io/Makefile: Likewise.
32861 * argp/Makefile: Likewise.
32862 * inet/Makefile: Likewise.
32863 * hesiod/Makefile: Likewise.
32864 * grp/Makefile: Likewise.
32865 * csu/Makefile: Likewise.
32866 * wctype/Makefile: Likewise.
32867 * crypt/Makefile: Likewise.
32868 * libio/Makefile: Likewise.
32869 * string/Makefile: Likewise.
32870 * nis/Makefile: Likewise.
32871 * resolv/Makefile: Likewise.
32872 * stdio-common/Makefile: Likewise.
32873 * wcsmbs/Makefile: Likewise.
32874 * dlfcn/Makefile: Likewise.
32875 * posix/Makefile: Likewise.
32878 * timezone/Makefile: Don't install timezone files, just the programs
32881 2012-03-06 Ulrich Drepper <drepper@gmail.com>
32883 * nss/databases.def: Add missing gshadow entry.
32885 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32887 2012-03-06 Marek Polacek <polacek@redhat.com>
32890 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32891 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32892 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32893 * stdio-common/tst-long-dbl-fphex.c: New file.
32895 2012-03-06 David S. Miller <davem@davemloft.net>
32897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32898 (set_obp_int): New function.
32899 (get_obp_int): New function.
32900 (__get_clockfreq_via_dev_openprom): Likewise.
32901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32902 Avoid unused variable warnings on 'val' and use builtin_expect.
32903 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32905 (INLINE_CLONE_SYSCALL): Likewise.
32907 2012-03-05 David S. Miller <davem@davemloft.net>
32909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32911 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32916 only for |x| >= 40.
32917 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32919 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
32921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32922 Replace gettimeofday with __vdso_gettimeofday.
32924 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32925 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32926 __vdso_clock_gettime and __vdso_getcpu.
32928 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32929 time with __vdso_time.
32931 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32933 * manual/lang.texi (size_t): Note types to which size_t may be
32934 equivalent with the GNU C Library, but do not describe when
32935 differences between them are significant.
32937 2012-03-05 Andreas Jaeger <aj@suse.de>
32939 * sysdeps/i386/fpu/libm-test-ulps: Update.
32941 2012-03-05 Joseph Myers <joseph@codesourcery.com>
32944 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32945 (__ieee754_pow): Save and restore rounding mode and use
32946 round-to-nearest for main computations.
32947 * math/libm-test.inc (pow_test_tonearest): New function.
32948 (pow_test_towardzero): Likewise.
32949 (pow_test_downward): Likewise.
32950 (pow_test_upward): Likewise.
32951 (main): Call the new functions.
32952 * sysdeps/i386/fpu/libm-test-ulps: Update.
32953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32956 * math/libm-test.inc (cosh_test_tonearest): New function.
32957 (cosh_test_towardzero): Likewise.
32958 (cosh_test_downward): Likewise.
32959 (cosh_test_upward): Likewise.
32960 (sinh_test_tonearest): Likewise.
32961 (sinh_test_towardzero): Likewise.
32962 (sinh_test_downward): Likewise.
32963 (sinh_test_upward): Likewise.
32964 (main): Call the new functions.
32965 * sysdeps/i386/fpu/libm-test-ulps: Update.
32966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968 2012-03-05 Tom de Vries <tom@codesourcery.com>
32970 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32971 default stack guard is set in last bytes.
32972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32974 2012-03-05 Kees Cook <keescook@chromium.org>
32976 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32979 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32980 possibly allocate from heap instead of stack.
32981 * stdio-common/bug-vfprintf-nargs.c: New file.
32982 * stdio-common/Makefile (tests): Add nargs overflow test.
32984 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32988 2012-03-03 Marek Polacek <polacek@redhat.com>
32990 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32991 * math/math_private.h: Likewise.
32992 * stdlib/tst-strtod.c: Likewise.
32993 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32994 * sysdeps/x86_64/bits/atomic.h: Likewise.
32996 2012-03-02 David S. Miller <davem@davemloft.net>
32998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33002 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33003 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33004 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33005 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33007 2012-03-02 Roland McGrath <roland@hack.frob.com>
33010 * manual/examples/README: New file, says the example source files
33011 can be used under GPL>=2.
33012 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33013 line containing just "*/".
33014 * manual/examples/add.c: Add copyright header (GPL>=2).
33015 * manual/examples/argp-ex1.c: Likewise.
33016 * manual/examples/argp-ex2.c: Likewise.
33017 * manual/examples/argp-ex3.c: Likewise.
33018 * manual/examples/argp-ex4.c: Likewise.
33019 * manual/examples/atexit.c: Likewise.
33020 * manual/examples/db.c: Likewise.
33021 * manual/examples/dir.c: Likewise.
33022 * manual/examples/dir2.c: Likewise.
33023 * manual/examples/execinfo.c: Likewise.
33024 * manual/examples/filecli.c: Likewise.
33025 * manual/examples/filesrv.c: Likewise.
33026 * manual/examples/fmtmsgexpl.c: Likewise.
33027 * manual/examples/genpass.c: Likewise.
33028 * manual/examples/inetcli.c: Likewise.
33029 * manual/examples/inetsrv.c: Likewise.
33030 * manual/examples/isockad.c: Likewise.
33031 * manual/examples/longopt.c: Likewise.
33032 * manual/examples/memopen.c: Likewise.
33033 * manual/examples/memstrm.c: Likewise.
33034 * manual/examples/mkfsock.c: Likewise.
33035 * manual/examples/mkisock.c: Likewise.
33036 * manual/examples/mygetpass.c: Likewise.
33037 * manual/examples/pipe.c: Likewise.
33038 * manual/examples/popen.c: Likewise.
33039 * manual/examples/rprintf.c: Likewise.
33040 * manual/examples/search.c: Likewise.
33041 * manual/examples/select.c: Likewise.
33042 * manual/examples/setjmp.c: Likewise.
33043 * manual/examples/sigh1.c: Likewise.
33044 * manual/examples/sigusr.c: Likewise.
33045 * manual/examples/stpcpy.c: Likewise.
33046 * manual/examples/strdupa.c: Likewise.
33047 * manual/examples/strftim.c: Likewise.
33048 * manual/examples/strncat.c: Likewise.
33049 * manual/examples/subopt.c: Likewise.
33050 * manual/examples/swapcontext.c: Likewise.
33051 * manual/examples/termios.c: Likewise.
33052 * manual/examples/testopt.c: Likewise.
33053 * manual/examples/testpass.c: Likewise.
33054 * manual/examples/timeval_subtract.c: Likewise.
33057 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33059 * manual/timeval_subtract.c.texi: ... here, new file.
33061 2012-03-02 David S. Miller <davem@davemloft.net>
33063 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33065 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33068 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33069 (__sin): Save and restore rounding mode and use round-to-nearest
33070 for all computations.
33071 (__cos): Save and restore rounding mode and use round-to-nearest
33072 for all computations.
33073 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33075 (tan): Save and restore rounding mode and use round-to-nearest for
33077 * math/libm-test.inc (cos_test_tonearest): New function.
33078 (cos_test_towardzero): Likewise.
33079 (cos_test_downward): Likewise.
33080 (cos_test_upward): Likewise.
33081 (sin_test_tonearest): Likewise.
33082 (sin_test_towardzero): Likewise.
33083 (sin_test_downward): Likewise.
33084 (sin_test_upward): Likewise.
33085 (tan_test_tonearest): Likewise.
33086 (tan_test_towardzero): Likewise.
33087 (tan_test_downward): Likewise.
33088 (tan_test_upward): Likewise.
33089 (main): Call the new functions.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33094 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33095 small n, then large n, before computing and testing k+n.
33096 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33101 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33102 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33108 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33109 * math/libm-test.inc (scalbn_test): Add more tests.
33110 (scalbln_test): Likewise.
33112 * manual/filesys.texi (mode_t): Describe constraints on size and
33113 signedness, not exact equivalence to a particular type.
33115 (ino64_t): Likewise.
33117 (nlink_t): Likewise.
33118 (blkcnt_t): Likewise.
33119 (blkcnt64_t): Likewise.
33120 * manual/llio.texi (off_t): Likewise.
33123 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33124 (__ieee754_exp): Save and restore rounding mode and use
33125 round-to-nearest for all computations.
33126 * math/libm-test.inc (exp_test_tonearest): New function.
33127 (exp_test_towardzero): Likewise.
33128 (exp_test_downward): Likewise.
33129 (exp_test_upward): Likewise.
33130 (main): Call the new functions.
33131 * sysdeps/i386/fpu/libm-test-ulps: Update.
33132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33134 2012-03-01 Chris Demetriou <cgd@google.com>
33136 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33137 have predictable order.
33139 2012-03-01 David S. Miller <davem@davemloft.net>
33141 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33143 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33144 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33145 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33146 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33148 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33149 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33150 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33152 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33153 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33154 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33155 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33156 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33161 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33162 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33164 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33165 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33166 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33167 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33168 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33171 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33172 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33173 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33174 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33178 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33180 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33181 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33182 * sysdeps/sparc/elf/configure: Regenerated.
33184 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33186 * configure.in (AS, LD): Require binutils 2.20 or later.
33187 * configure: Regenerated.
33188 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33189 as required minimum version.
33190 * INSTALL: Regenerated.
33194 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33195 before squaring exponent.
33196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33197 bottom long double and 27 bits of top long double before squaring
33199 * math/libm-test.inc (erfc_test): Add more tests.
33200 * sysdeps/i386/fpu/libm-test-ulps: Update.
33201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33204 2012-03-01 Kai Tietz <ktietz@redhat.com>
33206 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33207 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33208 containing bit-fields.
33209 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33210 * soft-fp/single.h (_FP_UNION_S): Likewise.
33211 * soft-fp/double.h (_FP_UNION_D): Likewise.
33213 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33216 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33217 not include ../strcmp.S.
33218 [USE_AS_STRNCASECMP_L]: Likewise.
33219 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33220 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33221 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33222 (__strncasecmp_l_ia32): Define as alias to
33223 __strncasecmp_l_nonascii.
33226 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33227 * sysdeps/i386/fpu/libm-test-ulps: Update.
33228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33230 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33233 2012-02-29 Jeff Law <law@redhat.com>
33235 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33236 out of bounds read.
33238 2012-02-29 Marek Polacek <polacek@redhat.com>
33241 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33242 * elf/Makefile: Add rules to run tst-unused-dep.out.
33244 2012-02-28 David S. Miller <davem@davemloft.net>
33246 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33247 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33253 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33255 * math/libm-test.inc (llround_test): Move one test from
33256 lround_test. Use TEST_f_L in moved test.
33257 (lround_test): Move misplaced test to llround_test. Add testcase
33260 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33262 * sysdeps/x86_64/fpu/e_expf.S: New file.
33263 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33265 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33268 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33269 of remain_len that may cause incomplete multi-byte character and
33271 * posix/bug-regex33.c: New file.
33272 * posix/Makefile (tests): Add bug-regex33.
33274 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33276 * manual/macros.texi: New file.
33277 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33278 * manual/libc.texinfo: Include macros.texi.
33279 * manual/creatute.texi: Likewise.
33280 * manual/install.texi: Likewise.
33281 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33282 @glibcadj{} in references to the GNU C Library.
33283 * manual/charset.texi: Likewise.
33284 * manual/conf.texi: Likewise.
33285 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33286 when not using those macros.
33287 * manual/creature.texi: Likewise.
33288 * manual/crypt.texi: Likewise.
33289 * manual/errno.texi: Likewise.
33290 * manual/filesys.texi: Likewise.
33291 * manual/header.texi: Likewise.
33292 * manual/install.texi: Likewise.
33293 * manual/intro.texi: Likewise.
33294 * manual/io.texi: Likewise.
33295 * manual/job.texi: Likewise.
33296 * manual/lang.texi: Likewise.
33297 * manual/libc.texiinfo: Likewise.
33298 * manual/llio.texi: Likewise.
33299 * manual/locale.texi: Likewise.
33300 * manual/maint.texi: Likewise.
33301 * manual/math.texi: Likewise.
33302 * manual/memory.texi: Likewise.
33303 * manual/message.texi: Likewise.
33304 * manual/nss.texi: Likewise.
33305 * manual/pattern.texi: Likewise.
33306 * manual/process.texi: Likewise.
33307 * manual/resource.texi: Likewise.
33308 * manual/search.texi: Likewise.
33309 * manual/setjmp.texi: Likewise.
33310 * manual/signal.texi: Likewise.
33311 * manual/socket.texi: Likewise.
33312 * manual/startup.texi: Likewise.
33313 * manual/stdio.texi: Likewise.
33314 * manual/string.texi: Likewise.
33315 * manual/sysinfo.texi: Likewise.
33316 * manual/syslog.texi: Likewise.
33317 * manual/terminal.texi: Likewise.
33318 * manual/time.texi: Likewise.
33319 * manual/users.texi: Likewise.
33320 * INSTALL: Regenerated.
33321 * NOTES: Regenerated.
33322 * sysdeps/gnu/errlist.c: Regenerated.
33324 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33326 * include/dirent.h: Include <dirstream.h> before
33329 2012-02-28 David S. Miller <davem@davemloft.net>
33331 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33332 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33333 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33334 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33336 2012-02-27 David S. Miller <davem@davemloft.net>
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33340 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33341 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33344 frame pointer instead of stack pointer relative arg slot.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33346 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33347 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33349 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33352 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33354 2012-02-27 David S. Miller <davem@davemloft.net>
33356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33362 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33363 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33365 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33367 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33368 later. Allow versions 5-9.
33369 * configure: Regenerated.
33370 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33371 required minimum version and 4.6 as recommended version. Do not
33372 mention bugs in GCC 2.7 and 2.8.
33373 * INSTALL: Regenerated.
33375 2012-02-27 David S. Miller <davem@davemloft.net>
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33381 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33382 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33383 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33387 manipulate bits before adding and subtracting TWO112[sx].
33388 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33390 2012-02-27 Roland McGrath <roland@hack.frob.com>
33393 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33394 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33395 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33396 being in POSIX, because they are in 1003.1-2008.
33398 * rt/tst-aio.c: Include <fcntl.h>.
33399 * rt/tst-aio7.c: Likewise.
33400 * rt/tst-aio64.c: Likewise.
33402 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33404 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33406 * manual/install.texi (--with-headers): Describe headers as
33407 interface headers, not private headers.
33408 (Specific advice for GNU/Linux systems): Describe use of headers
33409 from "make headers_install", not private headers from older
33411 * INSTALL: Regenerated.
33412 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33414 * sysdeps/unix/sysv/linux/configure: Regenerated.
33416 * manual/llio.texi (fclean): Remove documentation.
33418 * manual/Makefile (libc-texi-generated): New variable. Include
33420 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33421 $(libc-texi-generated), not duplicated list of files.
33422 (version.texi, stamp-version): New rules.
33423 (realclean): Remove $(libc-texi-generated), not individual files
33424 from that list. Do not remove dir-add.texinfo.
33425 * manual/libc.texinfo: Comment out uses of edition numbers and
33426 references to printed manual. Remove last-updated dates.
33427 (EDITION): Comment out.
33429 (VERSION, UPDATED): Remove.
33430 (version.texi): Include.
33432 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33434 * sysdeps/posix/spawni.c: Include <signal.h>.
33435 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33436 * sysdeps/pthread/aio_fsync.c: Likewise.
33438 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33440 * conform/Makefile (tests): Run only when not cross-compiling and
33441 when fast-check is not defined.
33443 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33444 * conform/data/limits.h-data: Fixes for POSIX2008.
33445 * conform/run-conformtest.sh: Run all tests.
33446 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33448 * include/bits/dlfcn.h: Likewise.
33449 * include/langinfo.h: Likewise.
33450 * include/monetary.h: Likewise.
33451 * include/sys/poll.h: Likewise.
33453 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33455 * posix/spawn.h: Define __need_sigset_t.
33456 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33457 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33458 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33459 to get sigevent_t only.
33460 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33461 only for __USE_GNU.
33462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33463 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33464 process_vm_writev only for __USE_GNU.
33465 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33467 * conform/Makefile: For now ignore errors from run-conformtest.
33468 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33469 POSIX to avoid namespace pollution. Don't prepend headers.
33470 * conform/data/aio.h-data: Fixes for POSIX testing.
33471 * conform/data/fcntl.h-data: Likewise.
33472 * conform/data/glob.h-data: Likewise.
33473 * conform/data/grp.h-data: Likewise.
33474 * conform/data/pthread.h-data: Likewise.
33475 * conform/data/pwd.h-data: Likewise.
33476 * conform/data/signal.h-data: Likewise.
33477 * conform/data/spawn.h-data: Likewise.
33478 * conform/data/stdio.h-data: Likewise.
33479 * conform/data/stdlib.h-data: Likewise.
33480 * conform/data/stropts.h-data: Likewise.
33481 * conform/data/sys/mman.h-data: Likewise.
33482 * conform/data/sys/stat.h-data: Likewise.
33483 * conform/data/sys/types.h-data: Likewise.
33484 * conform/data/sys/wait.h-data: Likewise.
33485 * conform/data/time.h-data: Likewise.
33486 * conform/data/unistd.h-data: Likewise.
33487 * conform/data/utime.h-data: Likewise.
33489 * io/sys/stat.h: fchmod was always in POSIX.
33490 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33491 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33492 * rt/aio.h: Define __need_timespec before including <time.h>.
33493 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33494 struct. Add forward declaration of pthread_attr_t and use it in
33496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33498 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33499 always remove CLK_TCK definition.
33501 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33503 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33505 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33507 * conform/run-conformtest.sh: New file.
33508 * conform/Makefile: Run run-conformtest for tests.
33509 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33512 * conform/data/uchar.h-data: New file.
33513 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33514 * conform/data/arpa/inet.h-data: Likewise.
33515 * conform/data/assert.h-data: Likewise.
33516 * conform/data/complex.h-data: Likewise.
33517 * conform/data/cpio.h-data: Likewise.
33518 * conform/data/ctype.h-data: Likewise.
33519 * conform/data/dirent.h-data: Likewise.
33520 * conform/data/dlfcn.h-data: Likewise.
33521 * conform/data/errno.h-data: Likewise.
33522 * conform/data/fcntl.h-data: Likewise.
33523 * conform/data/float.h-data: Likewise.
33524 * conform/data/fmtmsg.h-data: Likewise.
33525 * conform/data/fnmatch.h-data: Likewise.
33526 * conform/data/ftw.h-data: Likewise.
33527 * conform/data/glob.h-data: Likewise.
33528 * conform/data/grp.h-data: Likewise.
33529 * conform/data/iconv.h-data: Likewise.
33530 * conform/data/inttypes.h-data: Likewise.
33531 * conform/data/langinfo.h-data: Likewise.
33532 * conform/data/libgen.h-data: Likewise.
33533 * conform/data/limits.h-data: Likewise.
33534 * conform/data/locale.h-data: Likewise.
33535 * conform/data/math.h-data: Likewise.
33536 * conform/data/monetary.h-data: Likewise.
33537 * conform/data/mqueue.h-data: Likewise.
33538 * conform/data/ndbm.h-data: Likewise.
33539 * conform/data/net/if.h-data: Likewise.
33540 * conform/data/netdb.h-data: Likewise.
33541 * conform/data/netinet/in.h-data: Likewise.
33542 * conform/data/nl_types.h-data: Likewise.
33543 * conform/data/poll.h-data: Likewise.
33544 * conform/data/pthread.h-data: Likewise.
33545 * conform/data/pwd.h-data: Likewise.
33546 * conform/data/regex.h-data: Likewise.
33547 * conform/data/sched.h-data: Likewise.
33548 * conform/data/search.h-data: Likewise.
33549 * conform/data/semaphore.h-data: Likewise.
33550 * conform/data/setjmp.h-data: Likewise.
33551 * conform/data/signal.h-data: Likewise.
33552 * conform/data/spawn.h-data: Likewise.
33553 * conform/data/stdarg.h-data: Likewise.
33554 * conform/data/stdio.h-data: Likewise.
33555 * conform/data/stdlib.h-data: Likewise.
33556 * conform/data/string.h-data: Likewise.
33557 * conform/data/strings.h-data: Likewise.
33558 * conform/data/stropts.h-data: Likewise.
33559 * conform/data/sys/ipc.h-data: Likewise.
33560 * conform/data/sys/mman.h-data: Likewise.
33561 * conform/data/sys/msg.h-data: Likewise.
33562 * conform/data/sys/resource.h-data: Likewise.
33563 * conform/data/sys/select.h-data: Likewise.
33564 * conform/data/sys/sem.h-data: Likewise.
33565 * conform/data/sys/shm.h-data: Likewise.
33566 * conform/data/sys/socket.h-data: Likewise.
33567 * conform/data/sys/stat.h-data: Likewise.
33568 * conform/data/sys/statvfs.h-data: Likewise.
33569 * conform/data/sys/time.h-data: Likewise.
33570 * conform/data/sys/timeb.h-data: Likewise.
33571 * conform/data/sys/times.h-data: Likewise.
33572 * conform/data/sys/types.h-data: Likewise.
33573 * conform/data/sys/uio.h-data: Likewise.
33574 * conform/data/sys/un.h-data: Likewise.
33575 * conform/data/sys/utsname.h-data: Likewise.
33576 * conform/data/sys/wait.h-data: Likewise.
33577 * conform/data/syslog.h-data: Likewise.
33578 * conform/data/tar.h-data: Likewise.
33579 * conform/data/termios.h-data: Likewise.
33580 * conform/data/utime.h-data: Likewise.
33581 * conform/data/utmpx.h-data: Likewise.
33582 * conform/data/varargs.h-data: Likewise.
33583 * conform/data/wchar.h-data: Likewise.
33584 * conform/data/wctype.h-data: Likewise.
33585 * conform/data/wordexp.h-data: Likewise.
33587 * include/stropts.h: New file.
33588 * include/uchar.h: New file.
33589 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33590 * include/assert.h: Likewise.
33591 * include/ctype.h: Likewise.
33592 * include/dirent.h: Likewise.
33593 * include/dlfcn.h: Likewise.
33594 * include/fcntl.h: Likewise.
33595 * include/fnmatch.h: Likewise.
33596 * include/glob.h: Likewise.
33597 * include/grp.h: Likewise.
33598 * include/libio.h: Likewise.
33599 * include/locale.h: Likewise.
33600 * include/math.h: Likewise.
33601 * include/net/if.h: Likewise.
33602 * include/netdb.h: Likewise.
33603 * include/netinet/in.h: Likewise.
33604 * include/pthread.h: Likewise.
33605 * include/pwd.h: Likewise.
33606 * include/regex.h: Likewise.
33607 * include/sched.h: Likewise.
33608 * include/search.h: Likewise.
33609 * include/setjmp.h: Likewise.
33610 * include/signal.h: Likewise.
33611 * include/stdio.h: Likewise.
33612 * include/stdlib.h: Likewise.
33613 * include/string.h: Likewise.
33614 * include/sys/cdefs.h: Likewise.
33615 * include/sys/mman.h: Likewise.
33616 * include/sys/msg.h: Likewise.
33617 * include/sys/resource.h: Likewise.
33618 * include/sys/select.h: Likewise.
33619 * include/sys/socket.h: Likewise.
33620 * include/sys/stat.h: Likewise.
33621 * include/sys/statvfs.h: Likewise.
33622 * include/sys/time.h: Likewise.
33623 * include/sys/times.h: Likewise.
33624 * include/sys/uio.h: Likewise.
33625 * include/sys/utsname.h: Likewise.
33626 * include/sys/wait.h: Likewise.
33627 * include/termios.h: Likewise.
33628 * include/time.h: Likewise.
33629 * include/ulimit.h: Likewise.
33630 * include/unistd.h: Likewise.
33631 * include/utime.h: Likewise.
33632 * include/wchar.h: Likewise.
33633 * include/wctype.h: Likewise.
33634 * include/wordexp.h: Likewise.
33636 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33638 * time/time.h: TIME_UTC must be a macro.
33639 Make timespec_get available for ISO C11 only as well.
33641 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33643 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33644 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33646 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33648 * configure.in: Use -o not -a in test for unsupported multi-arch.
33650 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33652 * manual/texinfo.tex: Update to version 2012-01-19.16.
33654 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33656 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33658 2012-02-24 Roland McGrath <roland@hack.frob.com>
33661 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33662 * manual/fdl-1.3.texi: New file.
33663 * manual/fdl-1.1.texi: File removed.
33666 * manual/libc.texinfo (FDL_VERSION): New @set.
33667 Use it for mention of FDL in cover text.
33668 (Documentation License): Use it in @include file name.
33670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33671 Roland McGrath <roland@hack.frob.com>
33674 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33675 not LONG_LONG_MAX and LONG_LONG_MIN.
33676 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33677 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33679 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33685 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33686 manipulate bits before adding and subtracting TWO23[sx].
33687 * math/libm-test.inc (nearbyint_test): Add more tests.
33689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33692 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33693 bits before adding and subtracting TWO23[sx].
33694 * math/libm-test.inc (rint_test): Add more tests.
33695 (rint_test_tonearest): Likewise.
33696 (rint_test_towardzero): Likewise.
33697 (rint_test_downward): Likewise.
33698 (rint_test_upward: Likewise.
33700 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33703 * include/stdc-predef.h: New file. Extracted from features.h.
33704 * include/features.h: Include stdc-predef.h.
33705 * Makefile (headers): Add stdc-predef.h.
33706 * CONFORMANCE (Compiler limitations): Update.
33708 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33710 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33712 2012-02-21 David S. Miller <davem@davemloft.net>
33714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33715 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33717 2012-02-20 David S. Miller <davem@davemloft.net>
33719 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33720 using a normal save/restore sequence, rather than allocating a
33721 dummy stack frame just to store a frame pointer and restore.
33722 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33724 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33726 * manual/install.texi: Fix stray word in line-wrapped comment.
33728 2012-02-20 David S. Miller <davem@davemloft.net>
33730 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33731 both binutils and gcc support GOTDATA.
33733 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33734 "rd %pc" in the PIC register setup sequences.
33736 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33737 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33738 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33739 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33740 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33745 (SYSCALL_ERROR_HANDLER): Likewise.
33746 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33747 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33749 (SYSCALL_ERROR_HANDLER): Likewise.
33751 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33752 (HAVE_GCC_GOTDATA): New.
33753 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33754 relocation support in both binutils and gcc.
33755 * sysdeps/sparc/elf/configure: Regenerate.
33757 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33758 * sysdeps/sparc/sparc32/elf/configure: Delete.
33759 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33760 * sysdeps/sparc/sparc64/elf/configure: Delete.
33761 * sysdeps/sparc/elf/configure.in: New file.
33762 * sysdeps/sparc/elf/configure: Generate.
33764 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33765 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33766 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33767 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33768 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33770 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33772 * manual/install.texi: Do not mention specific glibc version
33774 * manual/libc.texinfo (VERSION, UPDATED): Update.
33775 (@copying): Use @copyright{} and range of years.
33777 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33780 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33781 [crti.S not in sysdirs] (generated): Do not append.
33782 [crti.S not in sysdirs] (omit-deps): Likewise.
33783 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33784 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33785 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33786 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33787 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33789 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33790 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33791 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33792 * csu/defs.awk: Remove file.
33793 * sysdeps/generic/initfini.c: Likewise.
33794 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33796 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33799 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33801 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33802 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33804 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33808 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33809 (__EPOLL_PACKED): Define to empty if not defined by
33811 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33815 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33817 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33818 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33819 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33820 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33822 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33826 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33828 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33835 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33840 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33842 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33843 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33845 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33847 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33850 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33852 * math/w_acos.c: Use non-signaling floating-point comparisons.
33853 * math/w_acosf.c: Likewise.
33854 * math/w_acosh.c: Likewise.
33855 * math/w_acoshf.c: Likewise.
33856 * math/w_acoshl.c: Likewise.
33857 * math/w_acosl.c: Likewise.
33858 * math/w_asin.c: Likewise.
33859 * math/w_asinf.c: Likewise.
33860 * math/w_asinl.c: Likewise.
33861 * math/w_atanh.c: Likewise.
33862 * math/w_atanhf.c: Likewise.
33863 * math/w_atanhl.c: Likewise.
33864 * math/w_exp2.c: Likewise.
33865 * math/w_exp2f.c: Likewise.
33866 * math/w_exp2l.c: Likewise.
33867 * math/w_j0.c: Likewise.
33868 * math/w_j0f.c: Likewise.
33869 * math/w_j0l.c: Likewise.
33870 * math/w_j1.c: Likewise.
33871 * math/w_j1f.c: Likewise.
33872 * math/w_j1l.c: Likewise.
33873 * math/w_jn.c: Likewise.
33874 * math/w_jnf.c: Likewise.
33875 * math/w_log.c: Likewise.
33876 * math/w_log10.c: Likewise.
33877 * math/w_log10f.c: Likewise.
33878 * math/w_log10l.c: Likewise.
33879 * math/w_log2.c: Likewise.
33880 * math/w_log2f.c: Likewise.
33881 * math/w_log2l.c: Likewise.
33882 * math/w_logf.c: Likewise.
33883 * math/w_logl.c: Likewise.
33884 * math/w_sqrt.c: Likewise.
33885 * math/w_sqrtf.c: Likewise.
33886 * math/w_sqrtl.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33893 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33896 * manual/string.texi (strnlen): Use correct parameter name in
33897 equivalent expression.
33899 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33902 * manual/users.texi (seteuid): Consistently use neweuid for
33905 2012-02-19 Joseph Myers <joseph@codesourcery.com>
33908 * manual/nss.texi (Services in the NSS configuration): Correct
33909 list of services in example configuration file.
33911 2012-02-19 Nick Bowler <nbowler@draconx.ca>
33914 * manual/arith.texi: Remove statements about negative zero
33915 behaving identically to zero.
33917 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33920 * manual/install.texi: Do not document upgrading from libc5.
33922 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33925 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33927 2012-02-18 David S. Miller <davem@davemloft.net>
33929 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33930 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33931 %o7 across the call.
33932 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33935 SETUP_PIC_REG_LEAF.
33936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33937 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33938 * sysdeps/sparc/crtn.S: Likewise.
33940 2012-02-17 Ulrich Drepper <drepper@gmail.com>
33942 * aout/Makefile: Remove.
33944 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33947 * manual/examples/argp-ex1.c (main): Format definition in GNU
33949 * manual/examples/argp-ex2.c (main): Likewise.
33950 * manual/examples/argp-ex3.c (main): Likewise.
33951 * manual/examples/argp-ex4.c (main): Likewise.
33952 * manual/examples/longopt.c (main): Use new-style prototype
33954 * manual/examples/strncat.c (main): Specify return type and use
33955 (void) for arguments.
33956 * manual/examples/subopt.c (main): Use char **argv argument.
33958 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33961 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33964 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33967 * manual/string.texi (strchr): Change when strchrnul is
33970 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33973 * manual/locale.texi (setlocale): Document LOCPATH.
33975 2012-02-17 Joseph Myers <joseph@codesourcery.com>
33978 * manual/process.texi (execle): Move @dots{} before last argument.
33980 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
33983 * manual/charset.texi (Generic Charset Conversion): Fix typo
33984 (LC_TYPE -> LC_CTYPE).
33986 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33989 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33990 (scalbnf): Likewise.
33991 (scalbnl): Likewise.
33992 (scalbln): Likewise.
33993 (scalblnf): Likewise.
33994 (scalblnl): Likewise.
33995 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33996 (vwarnx): Likewise.
33999 * manual/filesys.texi (telldir): Use braces around return type.
34000 * manual/llio.texi (mmap): Add space after comma.
34001 (mmap64): Likewise.
34002 * manual/math.texi (jn): Use @var{} on parameter names.
34008 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34010 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34012 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34013 (sched_get_priority_max): Likewise.
34014 * manual/signal.texi (sigvec): Add space after comma.
34015 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34017 (if_indextoname): Likewise.
34018 (if_freenameindex): Likewise.
34019 (sendto): Use ',' instead of '.' in prototype.
34020 * manual/startup.texi (syscall): Use @dots{} instead of literal
34022 * manual/stdio.texi (__fpending): Separate initial words of
34023 paragraph from @deftypefun line.
34024 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34026 (vsyslog): Use @var{} on parameter names.
34027 * manual/terminal.texi (stty): Use @var{} on parameter names.
34028 * manual/users.texi (getutmp): Use @var{} on parameter names.
34029 (getutmpx): Likewise.
34031 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34034 * manual/stdio.texi (fopen): Fix typos in description of
34037 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34040 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34041 get clock_id definition.
34043 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34046 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34047 (madvise): Cast every argument to void on its own.
34049 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34052 * manual/startup.texi (Exit Status): Fix typo.
34054 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34057 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34058 * manual/examples/argp-ex2.c: Likewise.
34059 * manual/examples/argp-ex3.c: Likewise.
34061 2012-02-16 Richard Henderson <rth@redhat.com>
34063 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34064 * sysdeps/s390/s390-32/initfini.c: Remove.
34065 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34066 * sysdeps/s390/s390-64/initfini.c: Remove.
34068 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34070 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34071 compiler output for sysdeps/generic/initfini.c.
34072 * sysdeps/sh/elf/initfini.c: Remove file.
34074 2012-02-16 David S. Miller <davem@davemloft.net>
34077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34079 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34080 * sysdeps/sparc/crti.S: New file.
34081 * sysdeps/sparc/crtn.S: New file.
34082 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34083 * sysdeps/sparc/sparc64/Makefile: Likewise.
34085 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34088 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34090 2012-02-15 Roland McGrath <roland@hack.frob.com>
34093 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34095 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34096 (write, read, close): Likewise.
34097 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34099 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34101 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34102 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34103 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34104 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34106 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34110 2012-02-14 Marek Polacek <polacek@redhat.com>
34112 * sysdeps/x86_64/crti.S: New file.
34113 * sysdeps/x86_64/crtn.S: New file.
34114 * sysdeps/x86_64/elf/initfini.c: Remove file.
34116 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34118 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34119 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34120 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34121 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34123 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34127 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34129 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34130 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34131 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34132 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34134 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34138 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34140 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34141 __feraiseexcept instead of feraiseexcept.
34143 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34144 nanosleep invocations.
34145 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34146 strings, and add error checking for a nanosleep invocations.
34148 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34150 Replace FSF snail mail address with URLs, as per GNU coding standards.
34151 Most of the snail mail addresses were wrong anyway, and omitting
34152 them makes the source code easier to maintain. Almost all of the
34153 changes are to license notices and to locale LC_IDENTIFICATION
34154 addresses, except for this one:
34155 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34156 not its snail mail address.
34158 2012-02-09 Richard Henderson <rth@twiddle.net>
34160 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34161 of kernel-features.h.
34163 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34165 2012-02-08 Marek Polacek <polacek@redhat.com>
34167 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34168 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34169 * sysdeps/gnu/_G_config.h: Likewise.
34170 * sysdeps/generic/_G_config.h: Likewise.
34172 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34174 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34178 * sysdeps/powerpc/powerpc32/crti.S: New file.
34179 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34180 * sysdeps/powerpc/powerpc64/crti.S: New file.
34181 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34183 * Makeconfig (have-initfini): Don't set.
34184 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34185 * configure.in (nopic_initfini): Don't substitute.
34186 * config.h.in (HAVE_INITFINI): Don't #undef.
34187 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34188 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34190 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34192 Support crti.S and crtn.S provided directly by architectures.
34193 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34194 [crti.S in sysdirs] (omit-deps): Likewise.
34195 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34196 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34197 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34198 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34199 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34200 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34201 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34202 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34203 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34204 compiler output for sysdeps/generic/initfini.c.
34205 * sysdeps/i386/elf/Makefile: Remove file.
34206 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34208 2012-02-07 Marek Polacek <polacek@redhat.com>
34210 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34211 * sysdeps/gnu/_G_config.h: Likewise.
34212 * sysdeps/mach/hurd/_G_config.h: Likewise.
34214 2012-02-07 Marek Polacek <polacek@redhat.com>
34216 * math/Makefile (tests): Add tst-CMPLX2.
34217 * math/tst-CMPLX2.c: New file.
34219 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34221 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34223 * math/libm-test.inc (jn_test): Add missing L suffix.
34225 2012-02-06 Marek Polacek <polacek@redhat.com>
34227 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34228 * sysdeps/i386/fpu/e_powf.S: Likewise.
34229 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34230 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34231 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34232 * sysdeps/i386/fpu/e_pow.S: Likewise.
34233 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34234 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34235 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34236 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34237 * sysdeps/i386/fpu/e_log2.S: Likewise.
34238 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34239 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34240 * sysdeps/i386/fpu/e_powl.S: Likewise.
34241 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34242 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34243 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34244 * sysdeps/i386/fpu/e_logl.S: Likewise.
34245 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34246 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34247 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34248 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34249 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34250 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34251 * sysdeps/i386/fpu/e_log.S: Likewise.
34252 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34253 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34254 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34255 * sysdeps/i386/fpu/e_logf.S: Likewise.
34256 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34257 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34258 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34259 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34260 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34261 * sysdeps/i386/fpu/e_log10.S: Likewise.
34262 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34263 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34264 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34265 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34266 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34267 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34268 * sysdeps/i386/asm-syntax.h: Likewise.
34269 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34270 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34271 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34272 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34273 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34274 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34275 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34276 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34278 * sysdeps/powerpc/sysdep.h: Likewise.
34279 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34282 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34285 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34287 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34289 * sysdeps/i386/sysdep.h: Include <features.h>.
34290 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34293 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34295 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34297 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34300 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34302 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34303 (SETUP_PIC_REG): Use GET_PC_THUNK.
34304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34307 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34309 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34310 for non-PIC compilation.
34311 (SETUP_PIC_REG): Add .p2align directive.
34312 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34313 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34314 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34317 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34327 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34328 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34329 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34330 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34331 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34333 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34338 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34339 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34340 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34345 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34346 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34347 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34348 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34349 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34350 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34354 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34356 * math/tst-CMPLX.c: Include <stdio.h>.
34358 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34360 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34362 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34363 * sysdeps/sparc/bits/mathdef.h: Likewise.
34365 2012-01-31 Marek Polacek <polacek@redhat.com>
34367 * libio/libio.h: Don't define _PARAMS.
34368 * locale/programs/config.h: Don't define PARAMS.
34369 * stdlib/strtol_l.c: Likewise.
34370 (__strtol_l): Remove PARAMS from the prototype.
34372 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34374 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34375 names. Just use the correct names. Remove unnecessary wrapper
34377 * malloc/arena.c: Likewise.
34378 * malloc/hooks.c: Likewise.
34380 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34381 ARENA_TEST says not to. Simplify test for creation of a new arena.
34382 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34384 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34386 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34388 (update_get_addr): New function.
34389 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34390 GET_ADDR_MODULE parameter.
34392 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34394 * crypt/cert.c: Remove __STDC__ conditionals.
34395 * crypt/crypt-entry.c: Likewise.
34396 * crypt/crypt_util.c: Likewise.
34397 * libio/filedoalloc.c: Likewise.
34398 * libio/fileops.c: Likewise.
34399 * libio/genops.c: Likewise.
34400 * libio/iofclose.c: Likewise.
34401 * libio/iofdopen.c: Likewise.
34402 * libio/iofopen.c: Likewise.
34403 * libio/iofopen64.c: Likewise.
34404 * libio/iogetdelim.c: Likewise.
34405 * libio/iopopen.c: Likewise.
34406 * libio/obprintf.c: Likewise.
34407 * libio/oldfileops.c: Likewise.
34408 * libio/oldiofclose.c: Likewise.
34409 * libio/oldiofdopen.c: Likewise.
34410 * libio/oldiofopen.c: Likewise.
34411 * libio/oldiopopen.c: Likewise.
34412 * libio/wfiledoalloc.c: Likewise.
34413 * libio/wgenops.c: Likewise.
34414 * locale/programs/xmalloc.c: Likewise.
34415 * misc/syslog.c: Likewise.
34416 * stdio-common/xbug.c: Likewise.
34417 * string/memchr.c: Likewise.
34418 * string/memcmp.c: Likewise.
34419 * string/memrchr.c: Likewise.
34420 * string/rawmemchr.c: Likewise.
34421 * sysdeps/posix/getcwd.c: Likewise.
34422 * time/strftime_l.c: Likewise.
34424 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34426 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34427 * config.make.in (config-cflags-sse2avx): Define.
34428 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34431 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34433 * scripts/config.guess: Update from upstream config git repository.
34434 * scripts/config.sub: Likewise.
34436 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34438 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34440 (R_TILEPRO_*, R_TILEGX_*): New macros.
34442 * scripts/firstversions.awk: Fix bug in version range handling.
34444 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34446 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34448 * include/sys/epoll.h: New file.
34449 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34452 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34454 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34455 Avoid unnecessary __WORDSIZE == 64 test.
34456 (fmaxf): Use VEX format if possible.
34461 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34462 * math/math_private.h: Remove libc_fegetround* and
34464 * sysdeps/i386/configure.in: Check for -msse2avx.
34465 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34466 also if SSE2AVX is defined.
34467 Remove libc_fegetround* and libc_fesetround*.
34468 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34469 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34470 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34472 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34473 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34478 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34480 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34482 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34484 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34486 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34489 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34491 * Makeconfig (libm): Define.
34492 * elf/Makefile: Add rules to build and run tst-relsort1.
34493 * elf/tst-relsort1.c: New file.
34494 * elf/tst-relsort1mod1.c: New file.
34495 * elf/tst-relsort1mod2.c: New file.
34497 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34499 * math/s_ldexp.c: Remove __STDC__ conditionals.
34500 * math/s_ldexpf.c: Likewise.
34501 * math/s_ldexpl.c: Likewise.
34502 * math/s_nextafter.c: Likewise.
34503 * math/s_nexttowardf.c: Likewise.
34504 * math/s_significand.c: Likewise.
34505 * math/s_significandf.c: Likewise.
34506 * math/s_significandl.c: Likewise.
34507 * math/w_jnl.c: Likewise.
34508 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34509 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34510 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34511 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34512 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34514 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34515 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34517 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34518 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34520 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34521 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34522 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34523 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34524 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34525 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34529 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34530 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34532 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34533 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34534 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34535 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34536 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34537 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34538 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34539 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34542 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34543 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34545 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34546 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34547 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34548 * sysdeps/ieee754/k_standard.c: Likewise.
34549 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34553 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34578 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34598 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34599 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34610 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34611 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34618 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34619 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34624 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34625 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34626 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34628 * sysdeps/ieee754/s_matherr.c: Likewise.
34629 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34630 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34634 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34636 * crypt/md5.h: Remove __STDC__ conditionals.
34637 * libio/libioP.h: Likewise.
34638 * locale/programs/config.h: Likewise.
34639 * sysdeps/generic/sysdep.h: Likewise.
34640 * sysdeps/i386/asm-syntax.h: Likewise.
34641 * sysdeps/s390/asm-syntax.h: Likewise.
34642 * sysdeps/unix/sysdep.h: Likewise.
34643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34646 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34648 * libio/libio.h: Remove __STDC__ conditionals.
34649 * malloc/obstack.h: Likewise.
34650 * math/complex.h: Likewise.
34651 * math/math.h: Likewise.
34652 * sysdeps/generic/_G_config.h: Likewise.
34653 * sysdeps/gnu/_G_config.h: Likewise.
34654 * sysdeps/mach/hurd/_G_config.h: Likewise.
34655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34656 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34657 * sysdeps/sparc/bits/mathdef.h: Likewise.
34659 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34662 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34663 Clean up HAS_* macros.
34664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34665 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34675 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34677 * elf/tst-unique3.cc (gets): Remove declaration.
34678 * elf/tst-unique3lib.cc (gets): Likewise.
34679 * elf/tst-unique3lib2.cc (gets): Likewise.
34680 * elf/tst-unique4.cc (gets): Likewise.
34682 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34684 * include/stdio.h: Add C++ protection. Add gets declarations and
34686 * debug/tst-chk1.c: Don't declare gets here.
34687 * stdio-common/tst-gets.c: Likewise.
34689 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34691 * posix/glob: Remove directory.
34693 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34695 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34697 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34699 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34700 of the non-standard EPFNOSUPPORT.
34702 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34704 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34705 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34706 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34708 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34710 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34712 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34714 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34716 * nscd/grpcache.c (cache_addgr): Likewise.
34717 * nscd/hstcache.c (cache_addhst): Likewise.
34718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34719 * nscd/pwdcache.c (cache_addpw): Likewise.
34720 * nscd/servicescache.c (cache_addserv): Likewise.
34722 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34724 * malloc/malloc.c: Various cleanups.
34725 * malloc/hooks.c: Likewise.
34727 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34728 * stdlib/bug-fmtmsg1.c: New file.
34730 * stdlib/fmtmsg.c (init): Add missing unlock.
34731 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34733 2012-01-12 Marek Polacek <polacek@redhat.com>
34735 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34738 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34740 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34741 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34742 macro to ensure uniqueness of label name.
34743 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34744 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34746 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34750 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34751 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34755 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34757 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34759 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34760 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34761 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34763 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34765 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34766 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34770 * math/bits/math-finite.h: Add ldexp support.
34772 2012-01-10 Marek Polacek <polacek@redhat.com>
34774 * locale/programs/localedef.h (show_archive_content): Add noreturn
34777 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34779 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34783 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34785 * io/Makefile (headers): Add bits/poll2.h.
34787 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34790 typo #include statement.
34792 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34794 * include/sys/cdefs.h: Define __attribute_alloc_size.
34795 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34796 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34797 * elf/pldd.c: Likewise.
34798 * iconv/iconv_charmap.c: Likewise.
34799 * iconv/iconvconfig.c: Likewise.
34800 * iconv/strtab.c: Likewise.
34801 * locale/programs/locale.c: Likewise.
34802 * locale/programs/localedef.h: Likewise.
34803 * locale/programs/simple-hash.c: Likewise.
34804 * nscd/nscd.h: Likewise.
34805 * nss/makedb.c: Likewise.
34806 * sysdeps/generic/ldconfig.h: Likewise.
34807 * locale/programs/localedef.c: Remove xmalloc prototype.
34808 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34810 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34812 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34815 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34817 * math/Makefile (tests): Add tst-CMPLX.
34818 * math/tst-CMPLX.c: New file.
34820 * math/complex.h (CMPLXL): Fix typo.
34822 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34823 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34825 * debug/tst-chk1.c: Add poll and ppoll tests.
34826 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34827 * include/sys/poll.h: Add hidden proto for ppoll.
34828 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34829 * sysdeps/mach/hurd/ppoll.c: Likewise.
34830 * io/ppoll.c: Likewise.
34831 * debug/poll_chk.c: New file.
34832 * debug/ppoll_chk.c: New file.
34833 * include/bits/poll2.h: New file.
34834 * io/bits/poll2.h: New file.
34837 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34839 * configure.in: static is always set to yes. Remove.
34840 * config.make.in: Don't set build-static.
34841 * Makeconfig: Remove use of build-static.
34842 * dlfcn/Makefile: Likewise.
34843 * elf/Makefile: Likewise.
34844 * math/Makefile: Likewise.
34845 * misc/Makefile: Likewise.
34846 * nptl/Makefile: Likewise.
34847 * sysdeps/mach/hurd/Makefile: Likewise.
34849 * configure.in: PWD_P is not used anymore.
34850 * config.make.in: Remove PWD_P entry.
34852 * configure.in: Remove last remnants of RANLIB.
34853 No need to check for signed size_t anymore.
34854 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34856 Remove __builtin_expect test because we require at least gcc 3.4.
34857 * aclocal.m4: Likewise.
34859 * wcsmbs/mbrtoc16.c: Implement using towc function.
34860 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34861 * wcsmbs/wcsmbsload.c: Likewise.
34862 * iconv/gconv_simple.c: Likewise.
34863 * iconv/gconv_int.h: Likewise.
34864 * iconv/gconv_builtin.h: Likewise.
34865 * iconv/iconv_prog.c: Remove CHAR16 handling.
34867 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34869 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34871 * configure.in: Remove --with-elf and --enable-bounded options.
34872 Dont set base_machine for ia64. More non-ELF conditions removed.
34873 Remove testing and setting of leading underscore information.
34874 * config.make.in (build-bounded): Set to no.
34875 * config.h.in: Remove NO_UNDERSCORES entry.
34876 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34878 * csu/start.c: Remove !NO_UNDERSCORE code.
34879 * locale/localeinfo.h: Likewise.
34880 * sysdeps/generic/machine-gmon.h: Likewise.
34881 * sysdeps/generic/sysdep.h: Likewise.
34882 * sysdeps/i386/sysdep.h: Likewise.
34883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34884 * sysdeps/mach/sysdep.h: Likewise.
34885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34887 * sysdeps/sh/sysdep.h: Likewise.
34888 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34889 * sysdeps/unix/i386/sysdep.S: Likewise.
34890 * sysdeps/unix/sparc/start.c: Likewise.
34891 * sysdeps/unix/sparc/sysdep.S: Likewise.
34892 * sysdeps/unix/sparc/sysdep.h: Likewise.
34893 * sysdeps/unix/start.c: Likewise.
34894 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34895 * sysdeps/x86_64/sysdep.h: Likewise.
34897 2012-01-07 Ulrich Drepper <drepper@gmail.com>
34900 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34902 * argp/argp-fmtstream.h: Use const instead __const.
34903 * argp/argp.h: Likewise.
34904 * assert/assert.h: Likewise.
34905 * bits/fenv.h: Likewise.
34906 * bits/sched.h: Likewise.
34907 * bits/sigset.h: Likewise.
34908 * bits/sigthread.h: Likewise.
34909 * catgets/nl_types.h: Likewise.
34910 * conform/data/pthread.h-data: Likewise.
34911 * crypt/crypt-private.h: Likewise.
34912 * crypt/crypt.h: Likewise.
34913 * crypt/crypt_util.c: Likewise.
34914 * ctype/ctype.h: Likewise.
34915 * debug/execinfo.h: Likewise.
34916 * debug/mbsnrtowcs_chk.c: Likewise.
34917 * debug/mbsrtowcs_chk.c: Likewise.
34918 * debug/wcsnrtombs_chk.c: Likewise.
34919 * debug/wcsrtombs_chk.c: Likewise.
34920 * debug/wcstombs_chk.c: Likewise.
34921 * dirent/dirent.h: Likewise.
34922 * dlfcn/dlfcn.h: Likewise.
34923 * elf/neededtest4.c: Likewise.
34924 * grp/grp.h: Likewise.
34925 * gshadow/gshadow.h: Likewise.
34926 * iconv/gconv.h: Likewise.
34927 * iconv/gconv_int.h: Likewise.
34928 * iconv/gconv_simple.c: Likewise.
34929 * iconv/iconv.h: Likewise.
34930 * iconv/loop.c: Likewise.
34931 * iconv/skeleton.c: Likewise.
34932 * include/aio.h: Likewise.
34933 * include/aliases.h: Likewise.
34934 * include/argz.h: Likewise.
34935 * include/arpa/inet.h: Likewise.
34936 * include/assert.h: Likewise.
34937 * include/dirent.h: Likewise.
34938 * include/dlfcn.h: Likewise.
34939 * include/execinfo.h: Likewise.
34940 * include/fcntl.h: Likewise.
34941 * include/fenv.h: Likewise.
34942 * include/glob.h: Likewise.
34943 * include/grp.h: Likewise.
34944 * include/libintl.h: Likewise.
34945 * include/mntent.h: Likewise.
34946 * include/netdb.h: Likewise.
34947 * include/pwd.h: Likewise.
34948 * include/rpc/netdb.h: Likewise.
34949 * include/sched.h: Likewise.
34950 * include/search.h: Likewise.
34951 * include/shadow.h: Likewise.
34952 * include/signal.h: Likewise.
34953 * include/stdio.h: Likewise.
34954 * include/stdlib.h: Likewise.
34955 * include/string.h: Likewise.
34956 * include/sys/socket.h: Likewise.
34957 * include/sys/stat.h: Likewise.
34958 * include/sys/statfs.h: Likewise.
34959 * include/sys/statvfs.h: Likewise.
34960 * include/sys/syslog.h: Likewise.
34961 * include/sys/time.h: Likewise.
34962 * include/sys/uio.h: Likewise.
34963 * include/time.h: Likewise.
34964 * include/unistd.h: Likewise.
34965 * include/utmp.h: Likewise.
34966 * include/wchar.h: Likewise.
34967 * include/wctype.h: Likewise.
34968 * inet/aliases.h: Likewise.
34969 * inet/arpa/inet.h: Likewise.
34970 * inet/netinet/ether.h: Likewise.
34971 * inet/netinet/in.h: Likewise.
34972 * intl/libintl.h: Likewise.
34973 * io/bits/fcntl2.h: Likewise.
34974 * io/fcntl.h: Likewise.
34975 * io/ftw.h: Likewise.
34976 * io/sys/poll.h: Likewise.
34977 * io/sys/stat.h: Likewise.
34978 * io/sys/statfs.h: Likewise.
34979 * io/sys/statvfs.h: Likewise.
34980 * io/utime.h: Likewise.
34981 * libio/bits/stdio.h: Likewise.
34982 * libio/bits/stdio2.h: Likewise.
34983 * libio/libio.h: Likewise.
34984 * libio/libioP.h: Likewise.
34985 * libio/stdio.h: Likewise.
34986 * locale/lc-ctype.c: Likewise.
34987 * locale/locale.h: Likewise.
34988 * login/utmp.h: Likewise.
34989 * malloc/arena.c: Likewise.
34990 * malloc/malloc.c: Likewise.
34991 * malloc/malloc.h: Likewise.
34992 * malloc/mcheck.c: Likewise.
34993 * malloc/mtrace.c: Likewise.
34994 * math/bits/mathcalls.h: Likewise.
34995 * math/fenv.h: Likewise.
34996 * math/math_private.h: Likewise.
34997 * misc/bits/error.h: Likewise.
34998 * misc/bits/syslog.h: Likewise.
34999 * misc/err.h: Likewise.
35000 * misc/error.h: Likewise.
35001 * misc/fstab.h: Likewise.
35002 * misc/mntent.h: Likewise.
35003 * misc/regexp.h: Likewise.
35004 * misc/search.h: Likewise.
35005 * misc/sgtty.h: Likewise.
35006 * misc/sys/mman.h: Likewise.
35007 * misc/sys/syslog.h: Likewise.
35008 * misc/sys/uio.h: Likewise.
35009 * misc/sys/xattr.h: Likewise.
35010 * misc/ttyent.h: Likewise.
35011 * nis/rpcsvc/ypclnt.h: Likewise.
35012 * nss/nss.h: Likewise.
35013 * posix/bits/unistd.h: Likewise.
35014 * posix/fnmatch.h: Likewise.
35015 * posix/glob.h: Likewise.
35016 * posix/sched.h: Likewise.
35017 * posix/spawn.h: Likewise.
35018 * posix/sys/wait.h: Likewise.
35019 * posix/unistd.h: Likewise.
35020 * posix/wordexp.h: Likewise.
35021 * pwd/pwd.h: Likewise.
35022 * resolv/netdb.h: Likewise.
35023 * resource/sys/resource.h: Likewise.
35024 * rt/aio.h: Likewise.
35025 * rt/bits/mqueue2.h: Likewise.
35026 * rt/mqueue.h: Likewise.
35027 * shadow/shadow.h: Likewise.
35028 * signal/signal.h: Likewise.
35029 * socket/send.c: Likewise.
35030 * socket/sendto.c: Likewise.
35031 * socket/sys/socket.h: Likewise.
35032 * stdio-common/printf.h: Likewise.
35033 * stdlib/bits/stdlib.h: Likewise.
35034 * stdlib/fmtmsg.h: Likewise.
35035 * stdlib/monetary.h: Likewise.
35036 * stdlib/stdlib.h: Likewise.
35037 * stdlib/ucontext.h: Likewise.
35038 * streams/stropts.h: Likewise.
35039 * string/argz.h: Likewise.
35040 * string/bits/string2.h: Likewise.
35041 * string/string.h: Likewise.
35042 * string/strings.h: Likewise.
35043 * sunrpc/rpc/auth.h: Likewise.
35044 * sunrpc/rpc/auth_des.h: Likewise.
35045 * sunrpc/rpc/clnt.h: Likewise.
35046 * sunrpc/rpc/netdb.h: Likewise.
35047 * sunrpc/rpc/pmap_clnt.h: Likewise.
35048 * sunrpc/rpc/xdr.h: Likewise.
35049 * sysdeps/generic/inttypes.h: Likewise.
35050 * sysdeps/generic/net/if.h: Likewise.
35051 * sysdeps/generic/sys/swap.h: Likewise.
35052 * sysdeps/gnu/net/if.h: Likewise.
35053 * sysdeps/gnu/utmpx.h: Likewise.
35054 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35055 * sysdeps/i386/i486/bits/string.h: Likewise.
35056 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35057 * sysdeps/s390/bits/string.h: Likewise.
35058 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35059 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35060 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35061 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35062 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35063 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35064 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35065 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35066 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35067 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35068 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35069 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35070 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35071 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35072 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35073 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35074 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35076 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35078 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35079 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35080 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35082 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35083 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35084 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35086 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35087 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35088 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35089 * sysvipc/sys/ipc.h: Likewise.
35090 * sysvipc/sys/msg.h: Likewise.
35091 * sysvipc/sys/sem.h: Likewise.
35092 * sysvipc/sys/shm.h: Likewise.
35093 * termios/termios.h: Likewise.
35094 * time/sys/time.h: Likewise.
35095 * time/time.h: Likewise.
35096 * wcsmbs/bits/wchar2.h: Likewise.
35097 * wcsmbs/uchar.h: Likewise.
35098 * wcsmbs/wchar.h: Likewise.
35099 * wctype/wctype.h: Likewise.
35102 * Makeconfig: Remove all but ELF support including AIX support.
35103 * Makerules: Likewise.
35104 * config.h.in: Likewise.
35105 * config.make.in: Likewise.
35106 * configure: Likewise.
35107 * configure.in: Likewise.
35108 * csu/Makefile: Likewise.
35109 * csu/version.c: Likewise.
35110 * debug/Makefile: Likewise.
35111 * dlfcn/Makefile: Likewise.
35112 * elf/Makefile: Likewise.
35113 * extra-lib.mk: Likewise.
35114 * iconv/Makefile: Likewise.
35115 * include/libc-symbols.h: Likewise.
35116 * include/shlib-compat.h: Likewise.
35117 * resolv/Makefile: Likewise.
35118 * resolv/res_libc.c: Likewise.
35119 * rt/Makefile: Likewise.
35120 * sysdeps/i386/asm-syntax.h: Likewise.
35121 * sysdeps/i386/sysdep.h: Likewise.
35122 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35123 * sysdeps/mach/sysdep.h: Likewise.
35124 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35125 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35126 * sysdeps/s390/asm-syntax.h: Likewise.
35127 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35128 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35129 * sysdeps/sh/sysdep.h: Likewise.
35130 * sysdeps/unix/sparc/sysdep.h: Likewise.
35131 * sysdeps/wordsize-32/divdi3.c: Likewise.
35132 * sysdeps/x86_64/sysdep.h: Likewise.
35134 * argp/Versions: Remove _argp_unlock_xxx.
35137 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35138 * abilist/libBrokenLocale.abilist: Likewise.
35139 * abilist/libanl.abilist: Likewise.
35140 * abilist/libc.abilist: Likewise.
35141 * abilist/libcrypt.abilist: Likewise.
35142 * abilist/libdl.abilist: Likewise.
35143 * abilist/libm.abilist: Likewise.
35144 * abilist/libnsl.abilist: Likewise.
35145 * abilist/libpthread.abilist: Likewise.
35146 * abilist/libresolv.abilist: Likewise.
35147 * abilist/librt.abilist: Likewise.
35148 * abilist/libthread_db.abilist: Likewise.
35149 * abilist/libutil.abilist: Likewise.
35150 * abilist/libnss_db.abilist: New file.
35152 * scripts/abilist.awk: Add support for indirect functions.
35154 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35156 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35158 * shlib-versions: Remove entries for ports architectures.
35160 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35162 * elf/stackguard-macros.h: Remove support for IA-64.
35163 * elf/tst-auditmod1.c: Likewise.
35164 * sysdeps/generic/ldsodefs.h: Likewise.
35166 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35167 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35171 * configure.in: Remove --enable-omitfp support.
35173 * config.make.in: Likewise.
35174 * Makeconfig: Likewise.
35175 * manual/install.texi: Likewise.
35177 In case anyone cares, the IA-64 architecture could move to ports.
35178 * sysdeps/ia64/*: Removed.
35179 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35180 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35183 * configure.in: Remove entries for unsupported architectures.
35186 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35187 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35189 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35190 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35191 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35192 fall back to using wcrtomb.
35193 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35194 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35196 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35197 * wcsmbs/tst-c16c32-1.c: New file.
35199 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35202 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35204 * elf/tst-unique3.cc: Add explicit declaration of gets.
35205 * elf/tst-unique3lib.cc: Likewise.
35206 * elf/tst-unique3lib2.cc: Likewise.
35207 * elf/tst-unique4.cc: Likewise.
35209 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35211 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35214 * assert/assert.h (static_assert): Don't define for C++.
35215 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35216 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35218 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35220 * iconv/loop.c (single loop): Fix assertion in storing of
35223 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35225 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35227 * posix/getconf.c: Update copyright year.
35228 * nss/getent.c: Likewise.
35229 * nss/makedb.c: Likewise.
35230 * iconv/iconvconfig.c: Likewise.
35231 * iconv/iconv_prog.c: Likewise.
35232 * elf/ldconfig.c: Likewise.
35233 * elf/pldd.c: Likewise.
35234 * elf/sotruss.ksh: Likewise.
35235 * catgets/gencat.c: Likewise.
35236 * csu/version.c: Likewise.
35237 * elf/ldd.bash.in: Likewise.
35238 * elf/sprof.c (print_version): Likewise.
35239 * locale/programs/locale.c: Likewise.
35240 * locale/programs/localedef.c: Likewise.
35241 * login/programs/pt_chown.c: Likewise.
35242 * nscd/nscd.c (print_version): Likewise.
35243 * debug/xtrace.sh: Likewise.
35244 * malloc/memusage.sh: Likewise.
35245 * malloc/mtrace.pl: Likewise.
35246 * debug/catchsegv.sh: Likewise.
35248 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35250 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35253 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35256 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35257 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35259 * iconv/gconv_int.h: Likewise.
35260 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35261 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35262 from libc for GLIBC_2.16.
35263 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35264 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35265 * wcsmbs/uchar.h: Really define mbstate_t.
35266 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35267 * wcsmbs/c16rtomb.c: New file.
35268 * wcsmbs/mbrtoc16.c: New file.
35269 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35270 for C/POSIX locale.
35271 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35272 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35274 * wcsmbs/wchar.h: Add missing __restrict.
35276 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35279 * time/Makefile (routines): Add timespec_get.
35280 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35281 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35282 timespec for ISO C11.
35283 * time/timespec_get.c: New file.
35284 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35285 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35288 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35289 * stdlib/stdlib.h: Declare aligned_alloc.
35290 * Versions.def: Add GLIBC_2.16 for libc.
35291 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35294 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35297 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35301 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35304 * assert/assert.h (static_assert): Define.
35306 * version.h: Update for 2.16 development version.
35309 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35312 * version.h (RELEASE): Bump for 2.15 release.
35313 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35315 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35316 Patch by Marek Polacek <mpolacek@redhat.com>.
35318 * bits/byteswap.h: Protect long long constants with __extension__.
35319 * sysdeps/i386/bits/byteswap.h: Likewise.
35320 * sysdeps/ia64/bits/byteswap.h: Likewise.
35321 * sysdeps/s390/bits/byteswap.h: Likewise.
35322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35324 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35328 destination buffer.
35329 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35331 2011-12-23 Marek Polacek <polacek@redhat.com>
35333 * elf/dl-addr.c (determine_info): Add inline keyword.
35334 * elf/tst-auditmod4b.c (check_avx): Likewise.
35335 * elf/tst-auditmod6b.c (check_avx): Likewise.
35336 * elf/tst-auditmod6c.c (check_avx): Likewise.
35337 * elf/tst-auditmod7b.c (check_avx): Likewise.
35339 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35341 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35344 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35347 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35348 processing for last bytes.
35350 2011-08-06 Bruno Haible <bruno@clisp.org>
35353 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35354 U+0385, not to U+1FEE.
35357 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35358 entry for U+00A5 U+0301.
35360 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35363 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35364 buffer for the output is too small.
35366 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35370 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35371 SSE flags if possible.
35373 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35376 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35377 processing for last bytes.
35379 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35381 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35382 (syscall-list-default-options, syscall-list-default-condition)
35383 (syscall-list-includes): Define.
35384 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35385 list of ABIs and options and #if conditions for each ABI. Do not
35386 handle common syscalls between ABIs specially.
35387 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35389 (syscall-list-variants, syscall-list-32bit-options)
35390 (syscall-list-32bit-condition, syscall-list-64bit-options)
35391 (syscall-list-64bit-condition): Define.
35392 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35393 (syscall-list-variants, syscall-list-32bit-options)
35394 (syscall-list-32bit-condition, syscall-list-64bit-options)
35395 (syscall-list-64bit-condition): Define.
35396 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35398 (syscall-list-variants, syscall-list-32bit-options)
35399 (syscall-list-32bit-condition, syscall-list-64bit-options)
35400 (syscall-list-64bit-condition): Define.
35401 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35403 (syscall-list-variants, syscall-list-32bit-options)
35404 (syscall-list-32bit-condition, syscall-list-64bit-options)
35405 (syscall-list-64bit-condition): Define.
35407 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35409 * locale/iso-639.def: Add brx entry.
35412 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35413 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35415 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35416 __feraiseexcept_renamed.
35418 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35421 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35422 EPOLLET with unsigned values.
35423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35426 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35427 to large cancellation.
35428 * math/s_cacoshf.c: Likewise.
35429 * math/s_cacoshl.c: Likewise.
35431 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35435 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35436 * math/s_cacoshf.c: Likewise.
35437 * math/s_cacoshl.c: Likewise.
35439 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35442 * iconv/gconv.h: Define __GCONV_SWAP.
35443 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35444 * iconvdata/utf-16.c: Likewise.
35445 * iconvdata/utf-32.c: Likewise.
35447 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35451 numerator after shifting it by one limb.
35453 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35455 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35456 under [__USE_EXTERN_INLINES].
35458 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35461 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35463 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35465 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35466 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35468 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35469 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35470 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35471 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35472 for strncasecmp/strncasecmp_l compilation.
35473 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35474 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35476 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35479 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35482 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35485 * time/tzfile.c (__tzfile_read): Check values from file header.
35487 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35489 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35490 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35491 * powerpc/powerpc32/dl-start.S: Likewise.
35492 * powerpc/powerpc32/elf/start.S: Likewise.
35493 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35494 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35495 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35496 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35497 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35498 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35499 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35500 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35501 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35502 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35503 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35504 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35505 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35506 * powerpc/powerpc32/memset.S: Likewise.
35507 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35508 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35509 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35510 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35511 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35512 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35513 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35514 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35515 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35516 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35517 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35518 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35519 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35521 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35523 * math/libm-test.inc: Added more nearbyint tests.
35524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35525 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35529 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35531 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35534 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35536 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35537 Add wcscpy-ssse3 wcscpy-c.
35538 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35539 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35540 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35541 * sysdeps/x86_64/wcschr.S: New file.
35542 * sysdeps/x86_64/wcsrchr.S: New file.
35543 * string/test-strcmp.c: Remove checking of wcscmp function for
35545 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35546 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35547 wcsrchr-sse2 wcsrchr-c.
35548 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35549 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35550 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35551 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35552 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35553 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35554 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35555 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35556 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35557 * wcsmbc/wcschr.c (WCSCHR): New macro.
35559 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35561 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35562 * wcsmbs/test-wcsrchr.c: New file.
35563 * string/test-strrchr.c: Add wcsrchr support.
35565 * wcsmbs/test-wcscpy.c: New file.
35566 * string/test-strcpy.c: Add wcscpy support.
35569 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35574 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35577 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35579 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35581 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35582 Minor optimizations.
35584 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35585 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35586 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35588 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35590 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35591 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35592 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35593 for gcc to avoid warnings.
35594 * inet/Makefile (tests): Add tst-checks.
35595 * inet/tst-checks.c: New file.
35597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35600 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35603 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35604 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35606 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35608 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35610 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35613 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35615 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35617 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35618 conditional on GCC version.
35619 (__arch_compare_and_exchange_val_8_acq)
35620 (__arch_compare_and_exchange_val_16_acq)
35621 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35622 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35623 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35625 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35627 * sysdeps/sh/backtrace.c: New file.
35629 2011-12-02 Andreas Schwab <schwab@redhat.com>
35631 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35634 2011-12-01 Andreas Schwab <schwab@redhat.com>
35636 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35637 falling back to utime.
35639 2011-11-30 Andreas Schwab <schwab@redhat.com>
35641 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35642 expectations for float.
35644 2011-11-29 Andreas Schwab <schwab@redhat.com>
35646 * locale/weight.h (findidx): Add parameter len.
35647 * locale/weightwc.h (findidx): Likewise.
35648 * posix/fnmatch_loop.c (FCT): Adjust caller.
35649 * posix/regcomp.c (build_equiv_class): Likewise.
35650 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35651 * posix/regexec.c (check_node_accept_bytes): Likewise.
35652 * string/strcoll_l.c (STRCOLL): Likewise.
35653 * string/strxfrm_l.c (STRXFRM): Likewise.
35655 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35657 * Makefile.in: Remove CVSOPT handling.
35658 * configure.in: Remove use of AC_REVISION.
35659 * iconvdata/Makefile (distribute): No need to filter out CVS.
35660 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35663 2011-11-16 Andreas Schwab <schwab@redhat.com>
35665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35666 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35667 [USE_AS_STRNCASECMP_L]: Likewise.
35668 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35669 NO_TLS_DIRECT_SEG_REFS.
35670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35671 Fix argument offsets for non-PIC.
35672 [USE_AS_STRNCASECMP_L]: Likewise.
35673 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35674 NO_TLS_DIRECT_SEG_REFS.
35676 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35678 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35680 * locale/loadlocale.c (_nl_load_locale): Likewise.
35682 2011-11-15 Andreas Schwab <schwab@redhat.com>
35684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35685 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35687 (SYSCALL_GETTIME): Set errno on error.
35689 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35690 count references to noai6ai_cached.
35692 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35694 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35696 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35697 FD_CLOEXEC for /proc/self/maps.
35699 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35700 FD_CLOEXEC for /proc/meminfo.
35702 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35705 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35706 FD_CLOEXEC for given file.
35708 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35710 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35711 FD_CLOEXEC for /etc/hosts.
35712 (_gethtent): Likewise.
35714 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35716 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35717 cancellation and set FD_CLOEXEC for /etc/netgroup.
35719 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35720 reading /etc/publickey.
35722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35723 allow cancellation when reading /etc/group.
35725 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35727 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35729 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35730 when using data file.
35732 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35734 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35735 (write_nis_obj): Use "c" and "e" in fopen.
35737 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35739 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35741 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35743 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35745 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35748 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35750 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35752 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35754 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35755 file parsing and set FD_CLOEXEC.
35757 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35759 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35761 2011-11-14 Andreas Schwab <schwab@redhat.com>
35763 * malloc/arena.c (arena_get2): Don't call reused_arena when
35764 _int_new_arena failed.
35766 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35768 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35769 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35770 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35774 to compile strcasecmp and strncasecmp.
35775 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35776 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35780 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35782 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35783 locale-defines.sym to gen-as-const-headers.
35784 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35785 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35787 to compile strcasecmp and strncasecmp.
35788 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35789 strcasecmp_l and strncasecmp_l.
35790 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35791 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35792 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35793 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35794 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35795 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35796 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35797 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35798 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35799 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35800 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35802 2011-11-12 Ulrich Drepper <drepper@gmail.com>
35804 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35805 result of SYSDEP_GETTIME_CPU to retval.
35806 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35807 parameter list to macro. Remove trailing semicolon. Adjust users.
35809 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35812 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35814 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35817 from unused variable.
35819 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35821 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35824 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35827 * sunrpc/rpc_prot.c (rejected): Fix case value.
35829 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35830 unsigned long long int to avoid warnings in shift.
35832 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35834 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35837 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35838 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35839 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35841 * nis/nis_table.c (nis_list): Use variable of correct type for
35842 result of __follow_path call.
35844 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35846 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35847 of math functions ceil, trunc, floor, round, and sqrt, when
35848 avaliable on the platform.
35849 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35852 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35853 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35855 2011-10-30 Marek Polacek <mpolacek@redhat.com>
35857 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35858 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35860 2011-11-11 Roland McGrath <roland@hack.frob.com>
35862 * include/unistd.h: Fix __readlink return type.
35863 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35865 2011-11-11 Ulrich Drepper <drepper@gmail.com>
35867 * stdlib/ucontext.h: Undo last change for makecontext.
35869 2011-11-11 Andreas Schwab <schwab@redhat.com>
35871 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35873 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35874 * setjmp/setjmp.h: Mark functions as non-leaf.
35875 * setjmp/bits/setjmp2.h: Likewise.
35876 * stdlib/ucontext.h: Likewise.
35878 2011-11-10 Andreas Schwab <schwab@redhat.com>
35880 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35881 (reused_arena): Don't check arena limit.
35882 (arena_get2): Atomically check arena limit.
35884 2011-11-08 Ulrich Drepper <drepper@gmail.com>
35886 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35887 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35892 2011-11-07 Andreas Schwab <schwab@redhat.com>
35894 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35895 handler when locking.
35897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35898 Fix size of allocated buffer.
35900 2011-11-04 Andreas Schwab <schwab@redhat.com>
35903 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35904 declarations for long double functions.
35905 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35907 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35909 2011-11-03 Andreas Schwab <schwab@redhat.com>
35911 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35914 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35917 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35919 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35921 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35923 * include/alloca.h (stackinfo_alloca_round): Define.
35924 (extend_alloca): Use it.
35925 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35926 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35929 * scripts/check-local-headers.sh: Ignore libaudit.h.
35931 * nscd/Makefile (extra-objs): Make recursively expanded.
35933 2011-11-01 Ulrich Drepper <drepper@gmail.com>
35935 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35938 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35939 * posix/tst-rfc3484-2.c: Likewise.
35940 * posix/tst-rfc3484-3.c: Likewise.
35942 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35944 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35946 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35947 process_vm_writev from libc using GLIBC_2.15 version.
35949 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35951 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35953 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35956 2011-10-31 Ulrich Drepper <drepper@gmail.com>
35959 * nss/getent.c (initgroups_keys): Show error message in case no group
35962 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35963 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35964 __bump_nl_timestamp.
35965 * nscd/connections (nscd_init): When host database is served open
35966 netlink socket and request notification about configuration changes.
35967 (main_loop_poll): Track netlink file descriptor and bump timestamp
35968 in case data becomes available.
35969 (main_loop_epoll): Likewise.
35970 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35971 (database_pers_head): Add extra_data fileds.
35972 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35973 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35974 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35976 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35977 in6ai data, call __free_in6ai.
35978 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35979 Add -DHAVE_NETLINK.
35980 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35981 interface information. Reuse previous data if netlink timestamp
35983 (__bump_nl_timestamp): New function.
35984 (__free_in6ai): New function.
35986 2011-10-30 Ulrich Drepper <drepper@gmail.com>
35988 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35989 close_not_cancel_no_status here.
35990 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35992 2011-10-29 Ulrich Drepper <drepper@gmail.com>
35995 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35998 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35999 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36000 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36002 2011-07-03 Andreas Jaeger <aj@suse.de>
36005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36006 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36007 * math/libm-test.inc (sin_test): Add test case.
36009 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36012 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36013 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36015 * elf/chroot_canon.c (chroot_canon): Cleanups.
36017 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36020 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36021 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36023 * string/test-strchr.c: Make usable for strchrnul testing.
36024 * string/test-strchrnul.c: New file.
36025 * string/Makefile (strop-tests): Add strchrnul.
36027 * po/it.po: Update from translation team.
36028 * po/es.po: Likewise.
36030 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36033 the three constants needed as parameters. Drop the others.
36034 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36035 __m128i_strloadu_tolower.
36036 Create and initialize variable zero and use it in all the places
36037 where _mm_setzero_si128 was used.
36039 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36040 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36041 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36044 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36045 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36046 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36047 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36048 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36049 __mpranred, __mptan.
36050 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36051 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36052 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36053 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36054 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36055 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36057 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36058 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36060 2011-10-28 Andreas Schwab <schwab@redhat.com>
36062 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36063 redefine if SHARED.
36064 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36067 wide char related routines to wcsmbs subdir.
36069 2011-10-27 Andreas Schwab <schwab@redhat.com>
36072 * misc/sys/cdefs.h (__THROWNL): Define.
36073 * posix/unistd.h: Use __THREADNL instead of __THREAD
36074 for memory synchronization functions.
36076 2011-10-26 Roland McGrath <roland@hack.frob.com>
36079 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36081 * manual/stdio.texi (Obstack Streams): Node removed.
36083 2011-10-26 Andreas Schwab <schwab@redhat.com>
36085 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36086 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36089 * math/math_private.h (math_force_eval): Allow non-addressable
36091 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36093 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36095 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36096 file is not needed.
36098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36105 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36107 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36108 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36109 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36110 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36111 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36112 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36113 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36114 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36115 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36116 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36117 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36118 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36120 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36121 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36122 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36123 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36124 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36125 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36127 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36128 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36131 place. Use VEX encoding when compiling for AVX.
36133 2011-10-25 Andreas Schwab <schwab@redhat.com>
36135 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36136 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36138 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36140 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36142 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36143 useless if() expression.
36144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36155 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36156 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36158 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36159 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36162 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36164 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36166 2011-10-25 Andreas Schwab <schwab@redhat.com>
36168 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36170 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36172 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36174 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36175 .text section. Avoid duplicate constants.
36176 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36180 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36184 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36185 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36186 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36187 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36188 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36189 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36191 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36199 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36200 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36201 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36202 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36203 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36204 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36205 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36206 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36207 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36208 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36209 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36210 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36211 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36212 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36214 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36215 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36216 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36217 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36222 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36224 * sysdeps/x86_64/dla.h: Move to ...
36225 * sysdeps/x86_64/fpu/dla.h: ...here.
36226 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36227 situations. Use __builtin_fma only for gcc 4.6 and up.
36229 * config.make.in: Add have-mfma4 entry.
36230 * configure.in: Substitute libc_cv_cc_fma4.
36231 * math/Makefile (dbl-only-routines): Add sincostab.
36232 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36233 Use __sincostab not sincos.
36234 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36241 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36242 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36243 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36244 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36246 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36247 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36249 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36250 define aliases when function name is a macro.
36251 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36252 sysdeps/ieee754/dbl-64/sincos.tbl.
36253 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36254 fma4-enabled routines.
36255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36256 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36257 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36258 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36260 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36262 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36264 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36265 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36267 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36268 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36269 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36270 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36271 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36272 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36273 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36275 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36276 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36280 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36282 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36283 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36284 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36286 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36297 2011-10-24 Andreas Schwab <schwab@redhat.com>
36299 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36301 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36303 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36305 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36307 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36309 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36310 Remove unused variable magic_bits.
36311 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36313 * string/strnlen.c: Define and use STRNLEN macro.
36314 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36315 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36316 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36317 * wcsmbs/wcslen.c: Define and use WCSLEN.
36318 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36319 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36320 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36321 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36322 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36323 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36324 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36326 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36329 strnlen-sse2-no-bsf.
36330 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36332 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36333 Add strnlen support.
36334 (USE_AS_STRNLEN): New macro.
36335 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36336 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36337 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36338 * sysdeps/x86_64/wcslen.S: New file.
36340 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36343 XMM-moves are used for copying on small sizes.
36345 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36347 * wcsmbs/Makefile (strop-tests): Add wcschr.
36348 * wcsmbs/test-wcschr.c: New file.
36349 * string/test-strchr.c: Update.
36350 Add wcschr support.
36353 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36355 * wcsmbs/Makefile (strop-tests): Add wcslen.
36356 * wcsmbs/test-wcslen.c: New file.
36357 * string/test-strlen.c: Update.
36358 Add wcslen support.
36361 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36363 * po/it.po: Update from translation team.
36365 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36367 * sysdeps/x86_64/wcscmp.S: Update.
36368 Fix wrong comparison semantics.
36369 wcscmp shall use signed comparison not unsigned.
36370 Don't use substraction to avoid overflow bug.
36371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36372 * wcsmbc/wcscmp.c: Likewise.
36373 * string/test-strcmp.c: Likewise.
36374 Add new tests to check cases with negative values.
36376 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36378 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36379 * sysdeps/x86_64/dla.h: ...here. New file.
36380 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36390 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36393 __ynl_finite aliases.
36395 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36399 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36401 [DLA_FMA] (EMULV): Use DLA_FMA.
36402 [DLA_FMA] (MUL12): Use EMULV.
36403 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36404 that are not needed.
36405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36413 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36415 * math/s_nan.c: Undef __nan.
36416 * math/s_nanf.c: Undef __nanf.
36417 * math/s_nanl.c: Undef __nanl.
36418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36421 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36423 * math/s_catan.c: Add branch predictions.
36424 * math/s_catanf.c: Likewise.
36425 * math/s_catanh.c: Likewise.
36426 * math/s_catanhf.c: Likewise.
36427 * math/s_catanhl.c: Likewise.
36428 * math/s_catanl.c: Likewise.
36429 * math/s_cexp.c: Likewise.
36430 * math/s_cexpf.c: Likewise.
36431 * math/s_cexpl.c: Likewise.
36432 * math/s_clog.c: Likewise.
36433 * math/s_clog10.c: Likewise.
36434 * math/s_clog10f.c: Likewise.
36435 * math/s_clog10l.c: Likewise.
36436 * math/s_clogf.c: Likewise.
36437 * math/s_clogl.c: Likewise.
36438 * math/s_csqrt.c: Likewise.
36439 * math/s_csqrtf.c: Likewise.
36440 * math/s_csqrtl.c: Likewise.
36441 * math/s_ctanf.c: Likewise.
36442 * math/s_ctanh.c: Likewise.
36443 * math/s_ctanhf.c: Likewise.
36444 * math/s_ctanhl.c: Likewise.
36445 * math/s_ctanl.c: Likewise.
36447 * math/math_private.h: Define __nan, __nanf, __nanl.
36448 * math/s_cacosh.c: Include <math_private.h>.
36449 * math/s_cacoshl.c: Likewise.
36450 * math/s_casinh.c: Likewise.
36451 * math/s_casinhf.c: Likewise.
36452 * math/s_casinhl.c: Likewise.
36453 * math/s_ccos.c: Rely entire on ccosh.
36454 * math/s_ccosf.c: Rely entire on ccoshf.
36455 * math/s_ccosl.c: Rely entirely on ccoshl.
36456 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36457 Remove tests for FE_INVALID.
36458 * math/s_ccoshf.c: Likewise.
36459 * math/s_ccoshl.c: Likewise.
36460 * math/s_csin.c: Likewise.
36461 * math/s_csinf.c: Likewise.
36462 * math/s_csinh.c Likewise.
36463 * math/s_csinhf.c: Likewise.
36464 * math/s_csinhl.c: Likewise.
36465 * math/s_csinl.c: Likewise.
36466 * math/s_ctan.c: Likewise.
36467 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36468 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36469 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36471 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36474 compilation problems.
36476 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36479 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36481 * sysdeps/i386/configure.in: Test for -mfma4 option.
36482 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36483 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36484 COMMON_CPUID_INDEX_80000001.
36485 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36486 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36487 use it if FMA3 is not supported.
36488 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36490 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36491 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36493 2011-10-20 Andreas Schwab <schwab@redhat.com>
36496 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36497 it would create a cycle with a link time dependency.
36499 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36501 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36503 * string/Makefile (strop-tests): Add rawmemchr.
36504 * string/test-rawmemchr.c: New file.
36506 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36508 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36509 when compiling str{,n}casecmp and when AVX is available. Hook up
36510 new optimized code in initializers.
36512 2011-10-19 Andreas Schwab <schwab@redhat.com>
36514 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36515 __feraiseexcept instead of feraiseexcept.
36517 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36519 * math/math_private.h: Define defaults for libc_fetestexcept and
36521 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36522 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36524 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36525 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36527 libc_fetestexcept and libc_feupdateenv.
36529 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36530 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36531 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36532 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36533 libc_feholdexcept_setround.
36535 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36536 Add s_nearbyint-c and s_nearbyintf-c.
36537 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36538 nearbyintf inlines.
36539 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36540 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36541 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36542 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36544 * math/math_private.h: Define defaults for libc_fegetround,
36545 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36546 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36547 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36548 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36549 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36550 standard functions.
36551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36552 Remove comments and hacks for old compiler versions.
36553 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36554 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36555 libc_feholdexceptl.
36557 2011-10-18 Andreas Schwab <schwab@redhat.com>
36559 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36560 (__feraiseexcept_renamed): Add __NTH.
36561 (feraiseexcept): Add __NTH. Rename local variables to fix
36562 namespace violations.
36564 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36566 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36570 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36571 recently added interfaces.
36572 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36574 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36575 about macro parameter expansion.
36577 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36578 __NO_MATH_INLINES is defined. Cleanups.
36580 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36581 and __floorf is target has SSE4.1.
36582 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36583 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36584 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36585 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36587 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36589 (floorf): Likewise.
36591 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36593 2011-10-17 Andreas Schwab <schwab@redhat.com>
36595 * misc/sys/cdefs.h: Fix last change.
36597 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36600 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36602 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36604 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36610 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36612 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36613 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36614 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36615 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36616 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36617 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36618 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36619 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36620 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36621 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36622 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36623 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36624 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36625 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36628 ceil, ceilf, floor, floorf.
36630 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36631 Perform IRELATIVE relocations last.
36633 * elf/do-rel.h: Add another parameter nrelative, replacing the
36634 local variable with the same name. Change name of the function
36635 to end in Rel or Rela (uppercase).
36636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36637 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36638 elf_dynamic_do_##reloc function.
36640 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36642 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36643 is sufficient, at least on modern CPUs.
36645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36647 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36648 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36650 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36652 * math/bits/math-finite.h: Add entries for exp.
36653 * math/e_expl.c: Add __*_finite alias.
36654 * sysdeps/i386/fpu/e_exp.S: Likewise.
36655 * sysdeps/i386/fpu/e_expf.S: Likewise.
36656 * sysdeps/i386/fpu/e_expl.c: Likewise.
36657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36658 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36661 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36662 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36663 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36665 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36666 is sufficient, at least on modern CPUs.
36668 * ctype/ctype-info.c (__ctype_init): Define.
36669 * include/ctype.h (__ctype_init): Declare.
36670 (__ctype_b_loc): The variable is always initialized.
36671 (__ctype_toupper_loc): Likewise.
36672 (__ctype_tolower_loc): Likewise.
36673 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36674 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36676 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36678 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36680 * configure.in: Also look in $cxxmachine/include for C++ system
36683 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36685 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36686 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36687 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36688 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36689 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36690 (USE_AS_WMEMCMP): New macro.
36692 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36693 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36694 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36695 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36697 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36698 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36699 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36700 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36701 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36702 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36703 (USE_AS_WMEMCMP): New macro.
36704 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36705 * sysdeps/string/test-memcmp.c: Update.
36706 Fix simple_wmemcmp.
36708 * wcsmbs/wmemcmp.c: Update.
36709 (WMEMCMP): New macro.
36712 2011-10-12 Andreas Jaeger <aj@suse.de>
36715 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36717 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36719 * libio/iofwide.c (do_length): Avoid warning.
36721 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36723 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36725 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36727 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36728 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36729 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36730 * sysdeps/i386/i686/fpu/e_log.S: New file.
36731 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36732 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36734 * ctype/ctype.h: Add support for inlined isXXX functions when
36735 compiling C++ code.
36737 2011-10-14 Andreas Schwab <schwab@redhat.com>
36739 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36741 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36743 2011-10-13 Roland McGrath <roland@hack.frob.com>
36746 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36748 2011-10-13 Andreas Schwab <schwab@redhat.com>
36750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36751 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36754 * sysdeps/x86_64/memrchr.S: Check for zero size.
36756 * string/stratcliff.c: Add memrchr tests.
36758 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36761 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36762 rawmemchr-sse2 rawmemchr-sse2-bsf.
36763 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36764 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36765 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36766 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36767 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36768 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36769 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36770 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36771 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36772 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36773 * string/memrchr.c (MEMRCHR): New macro.
36775 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36777 Add integration with gcc's -ffinite-math-only and optimize wrapper
36779 * Versions.def: Define GLIBC_2.15 version for libm.
36780 * math/Makefile (headers): Add bits/math-finite.h.
36781 * math/bits/math-finite.h: New file.
36782 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36783 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36784 * math/e_acoshl.c: Add __*_finite alias.
36785 * math/e_acosl.c: Likewise.
36786 * math/e_asinl.c: Likewise.
36787 * math/e_atan2l.c: Likewise.
36788 * math/e_atanhl.c: Likewise.
36789 * math/e_coshl.c: Likewise.
36790 * math/e_exp10.c: Likewise.
36791 * math/e_exp10f.c: Likewise.
36792 * math/e_exp10l.c: Likewise.
36793 * math/e_exp2l.c: Likewise.
36794 * math/e_fmodl.c: Likewise.
36795 * math/e_gammal_r.c: Likewise.
36796 * math/e_hypotl.c: Likewise.
36797 * math/e_j0l.c: Likewise.
36798 * math/e_j1l.c: Likewise.
36799 * math/e_jnl.c: Likewise.
36800 * math/e_lgammal_r.c: Likewise.
36801 * math/e_log10l.c: Likewise.
36802 * math/e_log2l.c: Likewise.
36803 * math/e_logl.c: Likewise.
36804 * math/e_powl.c: Likewise.
36805 * math/e_sinhl.c: Likewise.
36806 * math/e_sqrtl.c: Likewise.
36807 * math/e_scalb.c: Completely rewritten and optimized.
36808 * math/e_scalbf.c: Likewise.
36809 * math/e_scalbl.c: Likewise.
36810 * math/w_acos.c: Likewise.
36811 * math/w_acosf.c: Likewise.
36812 * math/w_acosl.c: Likewise.
36813 * math/w_acosh.c: Likewise.
36814 * math/w_acoshf.c: Likewise.
36815 * math/w_acoshl.c: Likewise.
36816 * math/w_asin.c: Likewise.
36817 * math/w_asinf.c: Likewise.
36818 * math/w_asinl.c: Likewise.
36819 * math/w_atan2.c: Likewise.
36820 * math/w_atan2f.c: Likewise.
36821 * math/w_atan2l.c: Likewise.
36822 * math/w_atanh.c: Likewise.
36823 * math/w_atanhf.c: Likewise.
36824 * math/w_atanhl.c: Likewise.
36825 * math/w_exp10.c: Likewise.
36826 * math/w_exp10f.c: Likewise.
36827 * math/w_exp10l.c: Likewise.
36828 * math/w_fmod.c: Likewise.
36829 * math/w_fmodf.c: Likewise.
36830 * math/w_fmodl.c: Likewise.
36831 * math/w_j0.c: Likewise.
36832 * math/w_j0f.c: Likewise.
36833 * math/w_j0l.c: Likewise.
36834 * math/w_j1.c: Likewise.
36835 * math/w_j1f.c: Likewise.
36836 * math/w_j1l.c: Likewise.
36837 * math/w_jn.c: Likewise.
36838 * math/w_jnf.c: Likewise.
36839 * math/w_log.c: Likewise.
36840 * math/w_logf.c: Likewise.
36841 * math/w_logl.c: Likewise.
36842 * math/w_log10.c: Likewise.
36843 * math/w_log10f.c: Likewise.
36844 * math/w_log10l.c: Likewise.
36845 * math/w_log2.c: Likewise.
36846 * math/w_log2f.c: Likewise.
36847 * math/w_log2l.c: Likewise.
36848 * math/w_pow.c: Likewise.
36849 * math/w_powf.c: Likewise.
36850 * math/w_powl.c: Likewise.
36851 * math/w_remainder.c: Likewise.
36852 * math/w_remainderf.c: Likewise.
36853 * math/w_remainderl.c: Likewise.
36854 * math/w_scalb.c: Likewise.
36855 * math/w_scalbf.c: Likewise.
36856 * math/w_scalbl.c: Likewise.
36857 * math/w_sqrt.c: Likewise.
36858 * math/w_sqrtf.c: Likewise.
36859 * math/w_sqrtl.c: Likewise.
36860 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36861 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36863 * math/math_private.h: Declare __kernel_standard_f.
36864 * math/w_cosh.c: Remove cruft and optimize a bit.
36865 * math/w_coshf.c: Likewise.
36866 * math/w_coshl.c: Likewise.
36867 * math/w_exp2.c: Likewise.
36868 * math/w_exp2f.c: Likewise.
36869 * math/w_exp2l.c: Likewise.
36870 * math/w_hypot.c: Likewise.
36871 * math/w_hypotf.c: Likewise.
36872 * math/w_hypotl.c: Likewise.
36873 * math/w_lgamma.c: Likewise.
36874 * math/w_lgamma_r.c: Likewise.
36875 * math/w_lgammaf.c: Likewise.
36876 * math/w_lgammaf_r.c: Likewise.
36877 * math/w_lgammal.c: Likewise.
36878 * math/w_lgammal_r.c: Likewise.
36879 * math/w_sinh.c: Likewise.
36880 * math/w_sinhf.c: Likewise.
36881 * math/w_sinhl.c: Likewise.
36882 * math/w_tgamma.c: Likewise.
36883 * math/w_tgammaf.c: Likewise.
36884 * math/w_tgammal.c: Likewise.
36885 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36887 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36888 Minor optimizations. Pretty printing. Remove cruft.
36889 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36891 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36893 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36894 * sysdeps/i386/fpu/e_asin.S: Likewise.
36895 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36896 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36897 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36898 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36900 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36901 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36902 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36903 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36904 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36905 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36906 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36907 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36908 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36909 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36910 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36911 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36912 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36913 * sysdeps/i386/fpu/e_log.S: Likewise.
36914 * sysdeps/i386/fpu/e_log10.S: Likewise.
36915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36916 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36917 * sysdeps/i386/fpu/e_log2.S: Likewise.
36918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36919 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36920 * sysdeps/i386/fpu/e_logf.S: Likewise.
36921 * sysdeps/i386/fpu/e_logl.S: Likewise.
36922 * sysdeps/i386/fpu/e_pow.S: Likewise.
36923 * sysdeps/i386/fpu/e_powf.S: Likewise.
36924 * sysdeps/i386/fpu/e_powl.S: Likewise.
36925 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36926 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36927 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36929 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36930 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36931 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36932 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36933 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36937 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36938 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36939 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36940 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36941 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36948 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36950 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36955 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36956 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36957 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36958 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36959 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36960 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36961 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36962 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36963 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36964 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36965 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36967 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36968 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36969 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36970 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36971 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36972 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36973 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36974 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36975 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36976 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36977 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36978 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36979 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36980 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36981 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36982 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36983 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36993 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36994 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36995 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36998 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36999 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37001 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37004 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37005 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37006 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37007 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37008 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37011 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37012 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37013 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37014 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37015 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37016 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37019 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37021 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37022 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37023 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37025 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37026 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37027 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37028 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37029 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37030 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37031 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37032 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37033 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37034 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37035 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37036 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37037 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37038 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37039 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37042 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37043 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37044 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37045 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37046 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37047 (__isnanf): Likewise.
37048 (__isinf_ns): Likewise.
37049 (__isinf_nsf): Likewise.
37050 (__finite): Likewise.
37051 (__finitef): Likewise.
37052 (__ieee754_sqrt): Define as macro.
37053 (__ieee754_sqrtf): Define as macro.
37054 (__ieee754_sqrtl): Define as macro.
37055 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37057 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37058 __FINITE_MATH_ONLY__ consistent.
37059 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37061 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37063 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37066 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37068 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37070 * po/ja.po: Update from translation team.
37072 2011-10-08 Roland McGrath <roland@hack.frob.com>
37074 * locale/programs/locarchive.c (prepare_address_space): New function.
37075 (create_archive, enlarge_archive, open_archive): Use it.
37077 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37078 inside [SHARED], where it is used.
37080 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37082 * nss/getent.c (netgroup_keys): Remove unused variable.
37083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37085 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37087 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37088 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37090 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37091 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37093 * math/Makefile (libm-calls): Add s_isinf_ns.
37094 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37095 * math/multc3.c: Likewise.
37096 * math/s_casin.c: Likewise.
37097 * math/s_casinf.c: Likewise.
37098 * math/s_casinl.c: Likewise.
37099 * math/s_ccos.c: Likewise.
37100 * math/s_ccosf.c: Likewise.
37101 * math/s_ccosl.c: Likewise.
37102 * math/s_ctan.c: Likewise.
37103 * math/s_ctanf.c: Likewise.
37104 * math/s_ctanh.c: Likewise.
37105 * math/s_ctanhf.c: Likewise.
37106 * math/s_ctanhl.c: Likewise.
37107 * math/s_ctanl.c: Likewise.
37108 * math/w_fmod.c: Likewise.
37109 * math/w_fmodf.c: Likewise.
37110 * math/w_fmodl.c: Likewise.
37111 * math/w_remainder.c: Likewise.
37112 * math/w_remainderf.c: Likewise.
37113 * math/w_remainderl.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37115 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37118 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37119 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37120 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37121 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37123 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37125 * stdio-common/printf_fphex.c: Likewise.
37126 * stdio-common/printf_size.c: Likewise.
37128 * math/e_exp10.c: Include math_private.h using <...> not "...".
37129 * math/e_exp10f.c: Likewise.
37130 * math/e_exp10l.c: Likewise.
37131 * math/e_exp2l.c: Likewise.
37132 * math/e_j0l.c: Likewise.
37133 * math/e_j1l.c: Likewise.
37134 * math/e_jnl.c: Likewise.
37135 * math/e_lgammal_r.c: Likewise.
37136 * math/e_rem_pio2l.c: Likewise.
37137 * math/e_scalb.c: Likewise.
37138 * math/e_scalbf.c: Likewise.
37139 * math/e_scalbl.c: Likewise.
37140 * math/k_cosl.c: Likewise.
37141 * math/k_sinl.c: Likewise.
37142 * math/k_tanl.c: Likewise.
37143 * math/s_cacoshf.c: Likewise.
37144 * math/s_catan.c: Likewise.
37145 * math/s_catanf.c: Likewise.
37146 * math/s_catanh.c: Likewise.
37147 * math/s_catanhf.c: Likewise.
37148 * math/s_catanhl.c: Likewise.
37149 * math/s_catanl.c: Likewise.
37150 * math/s_ccosh.c: Likewise.
37151 * math/s_ccoshf.c: Likewise.
37152 * math/s_ccoshl.c: Likewise.
37153 * math/s_cexp.c: Likewise.
37154 * math/s_cexpf.c: Likewise.
37155 * math/s_cexpl.c: Likewise.
37156 * math/s_clog.c: Likewise.
37157 * math/s_clog10.c: Likewise.
37158 * math/s_clog10f.c: Likewise.
37159 * math/s_clog10l.c: Likewise.
37160 * math/s_clogf.c: Likewise.
37161 * math/s_clogl.c: Likewise.
37162 * math/s_csin.c: Likewise.
37163 * math/s_csinf.c: Likewise.
37164 * math/s_csinh.c: Likewise.
37165 * math/s_csinhf.c: Likewise.
37166 * math/s_csinhl.c: Likewise.
37167 * math/s_csinl.c: Likewise.
37168 * math/s_csqrt.c: Likewise.
37169 * math/s_csqrtf.c: Likewise.
37170 * math/s_csqrtl.c: Likewise.
37171 * math/s_ctan.c: Likewise.
37172 * math/s_ctanf.c: Likewise.
37173 * math/s_ctanh.c: Likewise.
37174 * math/s_ctanhf.c: Likewise.
37175 * math/s_ctanhl.c: Likewise.
37176 * math/s_ctanl.c: Likewise.
37177 * math/s_ldexp.c: Likewise.
37178 * math/s_ldexpf.c: Likewise.
37179 * math/s_ldexpl.c: Likewise.
37180 * math/s_significand.c: Likewise.
37181 * math/s_significandf.c: Likewise.
37182 * math/s_significandl.c: Likewise.
37183 * math/w_acos.c: Likewise.
37184 * math/w_acosf.c: Likewise.
37185 * math/w_acosh.c: Likewise.
37186 * math/w_acoshf.c: Likewise.
37187 * math/w_acoshl.c: Likewise.
37188 * math/w_acosl.c: Likewise.
37189 * math/w_asin.c: Likewise.
37190 * math/w_asinf.c: Likewise.
37191 * math/w_asinl.c: Likewise.
37192 * math/w_atan2.c: Likewise.
37193 * math/w_atan2f.c: Likewise.
37194 * math/w_atan2l.c: Likewise.
37195 * math/w_atanh.c: Likewise.
37196 * math/w_atanhf.c: Likewise.
37197 * math/w_atanhl.c: Likewise.
37198 * math/w_cosh.c: Likewise.
37199 * math/w_coshf.c: Likewise.
37200 * math/w_coshl.c: Likewise.
37201 * math/w_dremf.c: Likewise.
37202 * math/w_exp10.c: Likewise.
37203 * math/w_exp10f.c: Likewise.
37204 * math/w_exp10l.c: Likewise.
37205 * math/w_exp2.c: Likewise.
37206 * math/w_exp2f.c: Likewise.
37207 * math/w_fmod.c: Likewise.
37208 * math/w_fmodf.c: Likewise.
37209 * math/w_fmodl.c: Likewise.
37210 * math/w_hypot.c: Likewise.
37211 * math/w_hypotf.c: Likewise.
37212 * math/w_hypotl.c: Likewise.
37213 * math/w_j0.c: Likewise.
37214 * math/w_j0f.c: Likewise.
37215 * math/w_j0l.c: Likewise.
37216 * math/w_j1.c: Likewise.
37217 * math/w_j1f.c: Likewise.
37218 * math/w_j1l.c: Likewise.
37219 * math/w_jn.c: Likewise.
37220 * math/w_jnf.c: Likewise.
37221 * math/w_jnl.c: Likewise.
37222 * math/w_lgamma.c: Likewise.
37223 * math/w_lgamma_r.c: Likewise.
37224 * math/w_lgammaf.c: Likewise.
37225 * math/w_lgammaf_r.c: Likewise.
37226 * math/w_lgammal.c: Likewise.
37227 * math/w_lgammal_r.c: Likewise.
37228 * math/w_log.c: Likewise.
37229 * math/w_log10.c: Likewise.
37230 * math/w_log10f.c: Likewise.
37231 * math/w_log10l.c: Likewise.
37232 * math/w_log2.c: Likewise.
37233 * math/w_log2f.c: Likewise.
37234 * math/w_log2l.c: Likewise.
37235 * math/w_logf.c: Likewise.
37236 * math/w_logl.c: Likewise.
37237 * math/w_pow.c: Likewise.
37238 * math/w_powf.c: Likewise.
37239 * math/w_powl.c: Likewise.
37240 * math/w_remainder.c: Likewise.
37241 * math/w_remainderf.c: Likewise.
37242 * math/w_remainderl.c: Likewise.
37243 * math/w_scalb.c: Likewise.
37244 * math/w_scalbf.c: Likewise.
37245 * math/w_scalbl.c: Likewise.
37246 * math/w_sinh.c: Likewise.
37247 * math/w_sinhf.c: Likewise.
37248 * math/w_sinhl.c: Likewise.
37249 * math/w_sqrt.c: Likewise.
37250 * math/w_sqrtf.c: Likewise.
37251 * math/w_sqrtl.c: Likewise.
37252 * math/w_tgamma.c: Likewise.
37253 * math/w_tgammaf.c: Likewise.
37254 * math/w_tgammal.c: Likewise.
37256 * po/ja.po: Update from translation team.
37258 2011-09-29 Andreas Jaeger <aj@suse.de>
37261 * sunrpc/netname.c (netname2host): Fix logic.
37265 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37267 * math/w_remainder.c (__remainder): Likewise.
37268 * math/w_remainderf.c (__remainderf): Likewise.
37269 * math/libm-test.inc (remainder_test): Add test cases.
37271 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37273 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37276 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37278 * string/test-memcmp.c: Avoid unncessary #defines.
37279 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37281 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37283 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37284 Use new sse2 version for core i3 - i7 as it's faster
37285 than sse42 version.
37286 (bit_Prefer_PMINUB_for_stringop): New.
37287 * sysdeps/x86_64/rawmemchr.S: Update.
37288 Replace with faster SSE2 version.
37289 * sysdeps/x86_64/memrchr.S: New file.
37290 * sysdeps/x86_64/memchr.S: Update.
37291 Replace with faster SSE2 version.
37293 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37295 * elf/dl-load.c (lose): Add cast to avoid warning.
37297 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37299 * po/ca.po: Update from translation team.
37301 * inet/getnetgrent_r.c: Hook up nscd.
37302 * nscd/Makefile (routines): Add nscd_netgroup.
37303 (nscd-modules): Add netgroupcache.
37304 (CFLAGS-netgroupcache.c): Define.
37305 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37306 (cache_search): Add const to second parameter.
37307 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37309 (dbs): Add netgrdb entry.
37310 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37311 (verify_persistent_db): Handle netgrdb.
37312 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37313 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37315 (netgroup_response_header): Define.
37316 (innetgroup_response_header): Define.
37317 (datahead): Add netgroup_response_header and innetgroup_response_header
37319 * nscd/nscd.conf: Add entries for netgroup cache.
37320 * nscd/nscd.h (dbtype): Add netgrdb.
37321 (_PATH_NSCD_NETGROUP_DB): Define.
37322 (netgroup_iov_disabled): Declare.
37323 (xmalloc, xcalloc, xrealloc): Move declarations here.
37324 (cache_search): Adjust prototype.
37325 Add netgroup-related prototypes.
37326 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37327 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37328 (__nscd_innetgr): Declare.
37329 * nscd/selinux.c (perms): Use access_vector_t as element type and
37330 add netgroup-related initializers.
37331 * nscd/netgroupcache.c: New file.
37332 * nscd/nscd_netgroup.c: New file.
37333 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37334 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37335 For four parameters use innetgr.
37336 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37337 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37338 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37339 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37341 * nscd/connections.c (register_traced_file): Don't register file
37342 for disabled databases.
37344 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37346 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37348 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37349 from tree and freeing node.
37351 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37353 * nss/nsswitch.c (__nss_database_lookup): Handle
37354 nss_parse_service_list out of memory case.
37356 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37358 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37359 out of memory case.
37361 2011-10-04 Andreas Schwab <schwab@redhat.com>
37363 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37364 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37366 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37367 elf_machine_rela, elf_machine_lazy_rel.
37368 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37369 (ELF_DYNAMIC_DO_REL): Likewise.
37370 (ELF_DYNAMIC_DO_RELA): Likewise.
37371 (ELF_DYNAMIC_RELOCATE): Likewise.
37372 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37373 to ELF_DYNAMIC_DO_REL.
37374 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37375 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37376 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37379 skip_ifunc, don't call ifunc function if non-zero.
37380 (elf_machine_rela): Likewise.
37381 (elf_machine_lazy_rel): Likewise.
37382 (elf_machine_lazy_rela): Likewise.
37383 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37384 (elf_machine_lazy_rel): Likewise.
37385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37387 (elf_machine_lazy_rel): Likewise.
37388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37390 (elf_machine_lazy_rel): Likewise.
37391 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37392 (elf_machine_lazy_rel): Likewise.
37393 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37394 (elf_machine_lazy_rel): Likewise.
37395 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37396 (elf_machine_lazy_rel): Likewise.
37397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37398 (elf_machine_lazy_rel): Likewise.
37399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37400 (elf_machine_lazy_rel): Likewise.
37401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37402 (elf_machine_lazy_rel): Likewise.
37404 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37406 * nss/nss_files/files-init.c (_nss_files_init): Use static
37407 initialization for all the *_traced_file variables.
37409 2011-09-28 Andreas Schwab <schwab@redhat.com>
37411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37413 2011-09-27 Roland McGrath <roland@hack.frob.com>
37416 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37418 2011-09-27 Andreas Schwab <schwab@redhat.com>
37420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37421 Reread the line before reparsing it.
37423 2011-09-26 Andreas Schwab <schwab@redhat.com>
37425 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37427 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37428 Maxim Kuvyrkov <maxim@codesourcery.com>
37429 Joseph Myers <joseph@codesourcery.com>
37431 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37432 if needed for __stack_chk_guard.
37434 2011-09-19 Roland McGrath <roland@hack.frob.com>
37436 * sysdeps/posix/spawni.c (script_execute): Always define it.
37437 It will be optimized away if unused.
37438 (maybe_script_execute): New function.
37439 (__spawni): Call it.
37441 * Makerules: Don't include tls.make.
37442 (config-tls): Always set to thread.
37443 * tls.make.c: File removed.
37445 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37447 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37448 * config.make.in (CPPFLAGS-config): New substituted variable.
37450 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37455 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37456 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37458 2011-09-15 Roland McGrath <roland@hack.frob.com>
37460 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37461 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37463 (CALL_FAIL): Likewise.
37464 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37465 (CALL_FAIL): Macro removed.
37466 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37468 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37470 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37471 for __FINITE_MATH_ONLY__ == 1.
37473 2011-09-15 Andreas Schwab <schwab@redhat.com>
37475 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37476 __ieee754_sqrt instead of sqrt.
37477 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37478 __ieee754_sqrtf instead of sqrtf.
37479 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37480 __floorf instead of floorf.
37481 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37482 __floorf, __truncf instead of floorf, truncf.
37484 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37486 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37488 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37489 __extern_always_inline.
37490 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37493 2011-09-14 Andreas Schwab <schwab@redhat.com>
37495 * elf/rtld.c (dl_main): Also relocate in dependency order when
37496 doing symbol dependency testing.
37498 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37501 Always define `refsym'.
37503 2011-09-13 Andreas Schwab <schwab@redhat.com>
37505 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37506 (__FD_ELT): Renamed from __FDELT.
37507 * misc/bits/select2.h (__FD_ELT): Likewise.
37508 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37509 __FD_MASK instead of __FDELT, __FDMASK.
37510 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37512 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37515 * elf/Makefile (gen-ldd): Fix pattern.
37517 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37518 (init_tls): Likewise.
37520 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37524 2011-09-12 Andreas Schwab <schwab@redhat.com>
37526 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37527 `struct cmsghdr *' instead of `void *'.
37528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37531 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37533 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37535 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37536 ldd_rewrite_script.
37538 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37540 * configure.in: Remove --with-tls option.
37541 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37542 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37543 out in case it is missing.
37544 * sysdeps/ia64/elf/configure.in: Likewise.
37545 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37546 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37547 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37548 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37549 * sysdeps/sh/elf/configure.in: Likewise.
37550 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37551 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37552 * sysdeps/x86_64/elf/configure.in: Likewise.
37553 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37554 * sysdeps/mach/hurd/tls.h: Likewise.
37557 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37560 * configure.in: Fix use of AC_INIT.
37562 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37564 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37566 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37568 * malloc/hooks.c: Likewise.
37571 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37572 variables statically.
37573 (narenas): Initialize.
37574 (list_lock): Initialize.
37575 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37576 initializtion of main_arena and list_lock. Small cleanups.
37577 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37578 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37579 Add initializers to main_arena and mp_.
37580 (malloc_state): Remove pagesize member. Change all users to use
37583 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37584 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37585 is always initialized.
37587 * malloc/malloc.c: Removed unused configurations and dead code.
37588 * malloc/arena.c: Likewise.
37589 * malloc/hooks.c: Likewise.
37590 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37592 * include/tls.h: Removed. USE___THREAD must always be defined.
37593 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37594 * elf/dl-libc.c: Likewise.
37595 * elf/dl-tsd.c: Likewise.
37596 * include/errno.h: Likewise.
37597 * include/netdb.h: Likewise.
37598 * include/resolv.h: Likewise.
37599 * inet/herrno-loc.c: Likewise.
37600 * inet/herrno.c: Likewise.
37601 * malloc/arena.c: Likewise.
37602 * malloc/hooks.c: Likewise.
37603 * malloc/malloc.c: Likewise.
37604 * resolv/res-state.c: Likewise.
37605 * resolv/res_libc.c: Likewise.
37606 * sysdeps/i386/dl-machine.h: Likewise.
37607 * sysdeps/ia64/dl-machine.h: Likewise.
37608 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37609 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37610 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37611 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37612 * sysdeps/sh/dl-machine.h: Likewise.
37613 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37614 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37615 * sysdeps/unix/i386/sysdep.S: Likewise.
37616 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37617 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37622 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37627 * sysdeps/x86_64/dl-machine.h: Likewise.
37628 * tls.make.c: Likewise.
37630 * configure.in: Remove --with-__thread option. Make tests for
37631 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37632 tls_model attribute fail if no support is available. Remove
37634 * Makeconfig: Adjust for dropped configure option. All features are
37636 * Makerules: Likewise.
37637 * Versions.def: Likewise.
37638 * argp/argp-fmtstream.c: Likewise.
37639 * argp/argp-fmtstream.h: Likewise.
37640 * argp/argp-help.c: Likewise.
37641 * assert/assert.c: Likewise.
37642 * config.h.in: Likewise.
37643 * config.make.in: Likewise.
37644 * configure: Likewise.
37645 * configure.in: Likewise.
37646 * csu/Versions: Likewise.
37647 * csu/init.c: Likewise.
37648 * elf/tst-audit2.c: Likewise.
37649 * elf/tst-tls10.c: Likewise.
37650 * elf/tst-tls10.h: Likewise.
37651 * elf/tst-tls11.c: Likewise.
37652 * elf/tst-tls12.c: Likewise.
37653 * elf/tst-tls14.c: Likewise.
37654 * elf/tst-tlsmod11.c: Likewise.
37655 * elf/tst-tlsmod12.c: Likewise.
37656 * elf/tst-tlsmod13.c: Likewise.
37657 * elf/tst-tlsmod13a.c: Likewise.
37658 * elf/tst-tlsmod14a.c: Likewise.
37659 * elf/tst-tlsmod15b.c: Likewise.
37660 * elf/tst-tlsmod16a.c: Likewise.
37661 * elf/tst-tlsmod16b.c: Likewise.
37662 * elf/tst-tlsmod7.c: Likewise.
37663 * elf/tst-tlsmod8.c: Likewise.
37664 * elf/tst-tlsmod9.c: Likewise.
37665 * gmon/gmon.c: Likewise.
37666 * grp/fgetgrent_r.c: Likewise.
37667 * grp/putgrent.c: Likewise.
37668 * hurd/fopenport.c: Likewise.
37669 * include/libc-symbols.h: Likewise.
37670 * include/tls.h: Likewise.
37671 * intl/gettextP.h: Likewise.
37672 * intl/loadinfo.h: Likewise.
37673 * locale/global-locale.c: Likewise.
37674 * locale/localeinfo.h: Likewise.
37675 * mach/devstream.c: Likewise.
37676 * malloc/arena.c: Likewise.
37677 * malloc/set-freeres.c: Likewise.
37678 * misc/err.c: Likewise.
37679 * misc/getttyent.c: Likewise.
37680 * misc/mntent_r.c: Likewise.
37681 * posix/getopt.c: Likewise.
37682 * posix/wordexp.c: Likewise.
37683 * pwd/fgetpwent_r.c: Likewise.
37684 * resolv/Versions: Likewise.
37685 * resolv/res_hconf.c: Likewise.
37686 * shadow/fgetspent_r.c: Likewise.
37687 * shadow/putspent.c: Likewise.
37688 * stdio-common/printf_fphex.c: Likewise.
37689 * stdio-common/tmpfile.c: Likewise.
37690 * stdlib/abort.c: Likewise.
37691 * stdlib/fmtmsg.c: Likewise.
37692 * sunrpc/auth_unix.c: Likewise.
37693 * sunrpc/clnt_perr.c: Likewise.
37694 * sunrpc/clnt_tcp.c: Likewise.
37695 * sunrpc/clnt_udp.c: Likewise.
37696 * sunrpc/clnt_unix.c: Likewise.
37697 * sunrpc/openchild.c: Likewise.
37698 * sunrpc/svc_simple.c: Likewise.
37699 * sunrpc/svc_tcp.c: Likewise.
37700 * sunrpc/svc_udp.c: Likewise.
37701 * sunrpc/svc_unix.c: Likewise.
37702 * sunrpc/xdr.c: Likewise.
37703 * sunrpc/xdr_array.c: Likewise.
37704 * sunrpc/xdr_rec.c: Likewise.
37705 * sunrpc/xdr_ref.c: Likewise.
37706 * sunrpc/xdr_stdio.c: Likewise.
37708 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37710 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37712 2011-07-03 Andreas Jaeger <aj@suse.de>
37714 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37715 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37716 regenerate with gen-libm-tests.pl.
37718 2010-05-12 Petr Baudis <pasky@suse.cz>
37721 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37722 around j0() zero points by switching to j1().
37723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37728 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37730 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37732 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37735 Patch in part by Pavel Roskin <proski@gnu.org>.
37738 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37740 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37741 Free memory block if necessary.
37744 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37745 be NULL. Don't lock in this case.
37747 2011-09-09 Roland McGrath <roland@hack.frob.com>
37749 * elf/elf.h (ELFOSABI_GNU): New macro.
37750 (ELFOSABI_LINUX): Define to that.
37752 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37754 * string/strncat.c (strncat): Undef the symbol in case it has been
37755 defined in bits/string.h.
37757 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37759 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37761 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37764 2011-08-17 Andreas Jaeger <aj@suse.de>
37766 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37768 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37769 Ian Lance Taylor <iant@google.com>
37771 * math/libm-test.inc (lround_test): New testcase.
37772 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37774 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37776 * Makefile: Remove support for automatic cvs check-ins.
37777 * Makerules: Likewise.
37778 * config.make.in: Likewise.
37779 * configure.in: Likewise.
37780 * intl/Makefile: Likewise.
37781 * locale/Makefile: Likewise.
37782 * po/Makefile: Likewise.
37783 * posix/Makefile: Likewise.
37784 * sysdeps/gnu/Makefile: Likewise.
37785 * sysdeps/mach/hurd/Makefile: Likewise.
37786 * sysdeps/sparc/sparc32/Makefile: Likewise.
37789 * posix/Makefile (bug-regex32-ENV): Define.
37790 Patch by John Stanley <jpsinthemix@verizon.net>.
37792 * misc/Makefile (headers): Add bits/select2.h.
37793 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37794 * misc/bits/select2.h: New file.
37795 * include/bits/select2.h: New file.
37796 * debug/Makefile (routines): Add fdelt_chk.
37797 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37798 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37800 * debug/fdelt_chk.c: New file.
37802 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37803 * wcsmbs/test-wmemcmp.c: Likewise.
37804 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37805 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37807 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37809 * string/Makefile (strop-tests): Add memcmp.
37810 * string/test-wmemcmp.c: New file.
37811 * string/test-memcmp.c: Add wmemcmp support.
37813 2011-09-08 Roland McGrath <roland@hack.frob.com>
37816 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37819 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37820 garbage value in a __mach_port_mod_refs call in the cases of the
37821 task-self and thread-self ports.
37823 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37825 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37827 2011-09-08 Andreas Schwab <schwab@redhat.com>
37829 * elf/dl-load.c (lose): Check for non-null L.
37831 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37833 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37835 * elf/dl-libc.c (dlerror_run): Pass back error code from
37839 * elf/dl-load.c (lose): Free l_origin if it is valid.
37841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37843 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37848 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37850 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37852 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37853 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37854 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37855 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37856 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37857 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37858 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37859 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37860 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37861 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37863 2011-08-15 Alan Modra <amodra@gmail.com>
37866 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37867 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37868 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37869 ppc_mcount to static-only-routines.
37870 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37872 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37873 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37875 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37877 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37878 for finite and infinity parameters.
37880 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37883 and add nop instructions for throughput optimization.
37884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37886 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37889 aligned copy for power7 with vector-scalar instructions.
37890 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37892 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37897 2011-09-07 Andreas Schwab <schwab@redhat.com>
37900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37903 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37906 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37907 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37908 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37911 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37913 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37914 Forgot to demangle the pointer.
37916 * sysdeps/i386/sysdep.h: Define atom_text_section.
37917 * sysdeps/x86_64/sysdep.h: Likewise.
37918 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37919 section with atom_text_section.
37920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37922 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37928 already be defined. Change to take two parameters and don't assign
37929 result to variable. Adjust all users.
37930 Define INTERNAL_GETTIME if not already defined.
37931 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37934 HAVE_CLOCK_GETTIME_VSYSCALL.
37935 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37938 gettimeofday vsyscall, just use time.
37940 2011-09-06 Andreas Schwab <schwab@redhat.com>
37942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37945 2011-09-06 Ulrich Drepper <drepper@gmail.com>
37947 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37951 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37953 syscall if possible.
37955 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37957 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37958 e_ident. Don't pass to find_mapsXX.
37959 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37961 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37964 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37965 * sysdeps/x86_64/multiarch/strchr.S: Update.
37966 Check bit_slow_BSF bit.
37967 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37968 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37969 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37971 2011-09-05 Ulrich Drepper <drepper@gmail.com>
37974 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37976 (tryshell): Define.
37977 (__spawni): Change last parameter to be flag. Test
37978 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37979 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37980 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37981 * posix/spawni.c: Likewise.
37982 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37983 * posix/spawnp.c: Likewise. Change normal version to use
37984 SPAWN_XFLAGS_USE_PATH.
37985 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37986 SPAWN_XFLAGS_TRY_SHELL.
37989 * posix/glob.h: Remove gcc 1.x support.
37992 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37994 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37997 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37999 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38000 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38001 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38003 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38004 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38006 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38008 * sysdeps/x86_64/wcscmp.S: New file.
38010 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38011 wcscmp-c wcscmp-sse2
38012 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38013 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38014 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38015 * wcsmbs/wcscmp.c: Allow renaming.
38017 2011-09-05 David S. Miller <davem@davemloft.net>
38019 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38020 stack slot, rather than the struct return pointer slot.
38021 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38022 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38024 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38026 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38028 * po/ja.po: Update from translation team.
38031 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38032 kernel in 64-bit binaries.
38034 2011-09-01 David S. Miller <davem@davemloft.net>
38036 * elf/elf.h (HWCAP_SPARC_*): Move to..
38037 * sysdeps/sparc/sysdep.h: this new file and add new values.
38038 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38039 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38040 _DL_HWCAP_COUNT to 24.
38041 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38043 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38044 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38045 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38047 instead of magic constants.
38048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38050 2011-08-31 David S. Miller <davem@davemloft.net>
38052 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38054 Reimplement to do errno handling inline.
38055 (SYSCALL_ERROR_HANDLER): New macro.
38056 (__SYSCALL_STRING): Do not do errno handling in asm.
38057 (__CLONE_SYSCALL_STRING): Delete.
38058 (__INTERNAL_SYSCALL_STRING): Delete.
38059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38060 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38061 (PSEUDO): Reimplement to do errno handling inline.
38062 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38063 (SYSCALL_ERROR_HANDLER): New macro.
38064 (__SYSCALL_STRING): Do not do errno handling in asm.
38065 (__CLONE_SYSCALL_STRING): Delete.
38066 (__INTERNAL_SYSCALL_STRING): Delete.
38067 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38068 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38070 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38071 (inline_syscall*): Add 'err' argument.
38072 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38073 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38074 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38075 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38077 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38078 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38080 2011-08-30 Andreas Schwab <schwab@redhat.com>
38082 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38084 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38086 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38089 2011-08-24 David S. Miller <davem@davemloft.net>
38091 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38093 2011-08-24 Andreas Schwab <schwab@redhat.com>
38095 * elf/Makefile: Add rules to build and run unload8 test.
38096 * elf/unload8.c: New file.
38097 * elf/unload8mod1.c: New file.
38098 * elf/unload8mod1x.c: New file.
38099 * elf/unload8mod2.c: New file.
38100 * elf/unload8mod3.c: New file.
38102 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38105 2011-08-23 David S. Miller <davem@davemloft.net>
38107 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38108 subtract stack bias.
38109 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38110 %sp not %fp in calculations.
38111 (_JMPBUF_UNWINDS_ADJ): Likewise.
38113 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38114 (aio_suspend): Call it to force an exception region around the
38115 AIO_MISC_WAIT() invocation.
38117 2011-08-23 Andreas Schwab <schwab@redhat.com>
38119 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38122 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38124 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38126 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38127 and <dl-machine.h>.
38128 (Elf64_FuncDesc): Remove.
38130 2011-08-22 David S. Miller <davem@davemloft.net>
38132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38133 sigaltstack check, add missing cfi directives.
38134 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38135 missing cfi directives, and sigaltstack handling.
38137 2011-08-16 Andreas Schwab <schwab@redhat.com>
38140 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38141 object is seen twice.
38142 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38144 * elf/Makefile (distribute): Add tst-initorder2.c.
38145 (tests): Add tst-initorder2.
38146 (modules-names): Add tst-initorder2a tst-initorder2b
38147 tst-initorder2c tst-initorder2d. Add rules to build them.
38148 ($(objpfx)tst-initorder2.out): New rule.
38149 * elf/tst-initorder2.c: New file.
38150 * elf/tst-initorder2.exp: New file.
38152 2011-08-22 Andreas Schwab <schwab@redhat.com>
38154 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38156 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38157 dependencies back to end of function.
38159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38160 $(elfobjdir)/ld.so.
38162 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38165 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38167 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38168 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38169 of __vdso_gettimeofday.
38170 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38171 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38173 (_libc_vdso_platform_setup): Remove initialization of
38174 __vdso_gettimeofday and __vdso_time.
38176 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38178 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38179 and fgetc_unlocked.
38180 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38183 * elf/dl-open.c (add_to_global): Report additions to the global scope
38184 for LD_DEBUG=scopes.
38185 (dl_open_worker): Also print scope of newly loaded dependencies.
38186 (_dl_show_scope): Indicate if there is no scope.
38189 * stdio-common/Makefile (tests): Add bug24.
38190 * stdio-common/bug24.c: New file.
38192 2011-08-19 Andreas Jaeger <aj@suse.de>
38195 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38196 non-existant file when using close-on-exec mode.
38198 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38201 the very first instruction.
38203 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38204 the CFI state in the end.
38205 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38206 inclusion of dl-trampoline.h.
38207 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38209 2011-08-19 Andreas Schwab <schwab@redhat.com>
38211 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38212 expectations for long double.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38215 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38217 2011-08-14 David S. Miller <davem@davemloft.net>
38219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38220 artificual limit depends upon the system page size.
38222 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38224 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38225 * resolv/Makefile: Define CFLAGS-libresolv.
38227 2011-08-17 Andreas Schwab <schwab@redhat.com>
38229 * nss/makedb.c (compute_tables): Make variables used in nested
38232 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38234 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38235 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38236 if buffer was too small.
38238 * elf/pldd.c (main): Attach to all threads in the process.
38239 Rewrite /proc handling to use *at functions.
38241 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38243 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38244 specifies first scope to show.
38245 (dl_open_worker): Update callers. Move printing scope of new
38246 object to before the relocation.
38247 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38248 * sysdeps/generic/ldsodefs.h: Update declaration.
38250 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38251 string for the scope number.
38253 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38255 * nscd/servicescache.c (cache_addserv): Make sure written is always
38258 2011-08-14 Roland McGrath <roland@hack.frob.com>
38260 * sysdeps/i386/i486/bits/atomic.h
38261 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38262 statement expression, so as to suppress "set but not used" warning.
38263 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38265 * string/strncat.c (STRNCAT): Use prototype definition.
38267 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38268 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38270 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38271 (localedef-modules): Add localedef.
38272 (locale-modules): Add locale.
38274 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38275 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38276 to avoid a warning.
38278 2011-08-14 David S. Miller <davem@davemloft.net>
38280 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38281 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38283 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38285 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38286 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38287 * elf/rtld.c (dl_main): Set l_name of vDSO.
38288 Call _dl_show_scope when DL_DEBUG_SCOPES.
38289 (process_dl_debug): Recognize scopes flag and also set it for all.
38290 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38291 Declare _dl_show_scope.
38293 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38294 (do_dlopen): Pass caller_dlopen to dl_open.
38295 (__libc_dlopen_mode): Initialize caller_dlopen.
38297 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38298 of libc. Make tolower call locale-independent. Optimize a bit by
38299 using isdigit instead of isalnum.
38300 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38302 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38304 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38305 was a dependency or dynamically loaded.
38307 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38309 * intl/l10nflist.c: Allow architecture-specific pop function.
38310 * sysdeps/x86_64/l10nflist.c: New file.
38312 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38315 2011-08-10 Andreas Schwab <schwab@redhat.com>
38317 * include/dirent.h: Add libc_hidden_proto for scandirat and
38318 scandirat64. Don't declare __scandirat64.
38319 * dirent/scandirat.c: Add libc_hidden_def.
38320 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38321 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38323 2011-08-10 David S. Miller <davem@davemloft.net>
38325 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38329 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38331 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38333 * Versions.def [libc]: Add GLIBC_2.15.
38334 * dirent/Makefile (routines): Add scandirat and scandirat64.
38335 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38337 * dirent/dirent.h: Declare scandirat and scandirat64.
38338 * dirent/scandirat.c: New file.
38339 * dirent/scandirat64.c: New file.
38340 * sysdeps/wordsize-64/scandirat.c: New file.
38341 * sysdeps/wordsize-64/scandirat64.c: New file.
38342 * dirent/opendir.c: Define opendirat.
38343 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38345 * dirent/scandir64.c: Adjust for scandir.c change.
38346 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38347 __scandirat64, and __scandir_cancel_handler.
38348 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38349 additional parameter and use openat instead of open (outside of ld.so).
38350 Add new __opendir as wrapper around __opendirat.
38351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38352 here without requiring old scandirat implementation.
38354 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38356 * dirent/scandir.c (cancel_handler): Renamed to
38357 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38358 defined. Adjust users.
38359 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38362 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38364 * string/test-string.h (IMPL): Use __STRING to expand name and then
38367 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38370 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38372 * string/Makefile: Update.
38373 (strop-tests): Append strncat.
38374 * string/test-wcscmp.c: New file.
38375 New comprehensive test for wcscmp.
38376 * string/test-strcmp.c: Update.
38377 (WIDE): New define.
38379 2011-07-22 Andreas Schwab <schwab@redhat.com>
38381 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38384 2011-07-26 Andreas Schwab <schwab@redhat.com>
38386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38387 encoding to ACE if AI_IDN.
38389 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38392 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38394 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38396 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38397 Fix overflow bug in strncat.
38398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38400 * string/test-strncat.c: Update.
38401 Add new tests for checking overflow bugs.
38403 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38406 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38407 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38408 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38410 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38411 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38412 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38413 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38416 (USE_AS_STRCAT): Define.
38417 Add strcat and strncat support.
38418 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38420 2011-07-25 Andreas Schwab <schwab@redhat.com>
38422 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38423 __n bigger than INT_MAX+1.
38424 (__strncmp_g): Likewise.
38426 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38428 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38429 * libio/stido.h: Likewise.
38431 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38436 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38439 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38443 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38448 (_dl_x86_64_save_sse): Likewise.
38450 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38454 (_dl_x86_64_save_sse): Likewise.
38456 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38458 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38460 2011-07-21 Andreas Schwab <schwab@redhat.com>
38462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38464 (_dl_x86_64_save_sse): Use correct AVX check.
38466 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38469 bug in strncpy/strncat.
38470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38472 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38474 * string/tester.c (test_strcat): Add tests for different alignments
38475 of source and destination.
38476 (test_strncat): Likewise.
38478 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38481 * posix/glob.c (glob): Check passed in values before using them in
38482 expressions to avoid some overflows.
38483 (glob_in_dir): Likewise.
38486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38487 check for AVX enablement so that we don't crash with old kernels and
38489 * elf/tst-audit4.c: Add same checks here.
38490 * elf/tst-audit6.c: Likewise.
38492 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38494 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38496 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38498 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38500 * po/cs.po: Update from translation team.
38501 * po/bg.po: Likewise.
38503 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38505 * misc/sys/cdefs.h: Add support for const attribute.
38506 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38507 to gnu_dev_{major,minor,makedev} functions.
38509 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38511 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38513 2011-07-20 Andreas Schwab <schwab@redhat.com>
38515 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38518 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38521 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38522 register in order to avoid conflicts with the soft frame pointer
38523 being held in r11 when necessary.
38524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38525 (INTERNAL_VSYSCALL_NCS): Likewise.
38527 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38529 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38530 * elf/dl-fini.c (_dl_fini): Adjust caller.
38531 * elf/dl-close.c (_dl_close_worker): Likewise.
38532 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38534 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38536 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38537 "aux_cache->nlibs < 0".
38539 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38540 in the reload-count case.
38542 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38545 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38546 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38547 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38548 * sysdeps/x86_64/multiarch/strcat.S: New file.
38549 * sysdeps/x86_64/multiarch/strncat.S: New file.
38550 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38552 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38553 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38555 (USE_AS_STRCAT): Define.
38556 Add strcat and strncat support.
38557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38559 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38560 * string/strncat.c: Update.
38561 (USE_AS_STRNCAT): Define.
38562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38563 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38565 * sysdeps/x86_64/multiarch/init-arch.h
38566 (bit_Prefer_PMINUB_for_stringop): New.
38567 (index_Prefer_PMINUB_for_stringop): Likewise.
38568 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38569 bit_Prefer_PMINUB_for_stringop.
38571 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38573 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38575 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38576 of casting of buffer.
38577 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38578 buffer32 and buffer64.
38579 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38580 writes instead of casting of buffer.
38581 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38583 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38586 2011-07-19 Andreas Schwab <schwab@redhat.com>
38588 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38590 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38592 * nscd/nscd.c (termination_handler): Don't do anything for a database
38593 if it has not yet been initialized.
38595 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38599 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38601 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38603 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38605 * po/nl.po: Update from translation team.
38606 * po/sv.po: Likewise.
38608 2011-07-16 Roland McGrath <roland@hack.frob.com>
38610 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38611 now disallowed by GCC.
38613 * configure.in (use-default-link): Default to yes if a test -shared
38614 link meets our qualifications.
38615 * configure: Regenerated.
38617 * config.make.in (output-format): New variable.
38618 * configure.in: Check for ld --print-output-format support.
38619 * configure: Regenerated.
38620 * Makerules ($(common-objpfx)format.lds)
38621 [$(output-format) != unknown]: Just use $(output-format),
38622 instead of the linker-script munging.
38624 2011-07-14 Roland McGrath <roland@hack.frob.com>
38626 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38627 of $(common-objpfx)shlib.lds.
38628 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38630 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38631 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38633 * configure.in (-z relro check): Adjust test code to add a large
38634 writable data section after it.
38635 * configure: Regenerated.
38637 2011-07-11 Roland McGrath <roland@hack.frob.com>
38639 * configure.in (-z relro check): Fix test code to make the variable
38641 * configure: Regenerated.
38643 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38645 * nscd/nscd.h (struct traced_file): Define.
38646 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38647 elements. Add traced_files.
38648 (inotify_fd): Declare.
38649 (register_traced_file): Declare.
38650 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38651 (inotify_fd): Export.
38652 (resolv_conf_descr): Remove.
38653 (nscd_init): Move inotify descriptor creation to main.
38654 Don't register files for notification here.
38655 (register_traced_file): New function.
38656 (invalidate_cache): Don't use reset_res to determine whether to call
38657 res_init, go through the list of registered files.
38658 (main_loop_poll): The inotify descriptors are now stored in the
38659 structures for the traced files.
38660 (main_loop_epoll): Likewise
38661 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38662 to __nss_disable_nscd.
38663 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38664 for a database anymore. Check the records for all the registered
38666 * nss/Makefile (libnss_files-routines): Add files-init.
38667 (libnss_db-routines): Add db-init.
38668 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38669 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38670 * nss/nss_db/db-init.c: New file.
38671 * nss/nss_files/files-init.c: New file.
38672 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38673 __nss_lookup_function.
38674 (__nss_lookup_function): Call nss_load_library.
38675 (nss_load_all_libraries): New function.
38676 (__nss_disable_nscd): Take parameter with callback function for files
38677 to register. Set is_nscd. Load all the DSOs for the NSS modules
38678 used for the cached services.
38679 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38680 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38681 options for features to all the files in nscd.
38683 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38685 2011-07-10 Roland McGrath <roland@hack.frob.com>
38687 * csu/elf-init.c (__libc_csu_init): Comment typo.
38689 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38691 * po/pl.po: Update from translation team.
38692 * po/ja.po: Likewise.
38693 * po/ru.po: Likewise.
38694 * po/ko.po: Likewise.
38695 * po/fr.po: Likewise.
38697 2011-07-09 Roland McGrath <roland@hack.frob.com>
38699 * configure.in (.ctors/.dtors header and trailer check):
38700 Use an empirical test on a built program.
38701 * configure: Regenerated.
38703 * configure.in (-z relro check): Use an empirical test on a built DSO.
38704 Detect, but do not require, on ia64.
38705 * configure: Regenerated.
38707 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38708 Update tests that use readelf to use $READELF instead.
38709 * configure: Regenerated.
38711 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38713 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38714 if the result is not used.
38716 2011-07-05 Andreas Jaeger <aj@suse.de>
38719 * stdlib/tst-strtod.c: Add testcase.
38721 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38723 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38724 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38725 The latter has a higher limit. Take additional parameter to pass to
38727 (__pathconf): Pass file to __statfs_link_max.
38728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38730 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38734 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38738 (__statfs_filesize_max): Likewise.
38739 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38741 2011-07-05 Andreas Jaeger <aj@suse.de>
38743 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38745 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38747 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38749 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38752 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38754 * Makefile (strop-tests): Add strncat.
38755 * string/test-strncat.c: New file.
38757 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38759 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38761 2011-06-21 Andreas Jaeger <aj@suse.de>
38763 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38764 Copy rule from iconvdata/Makefile.
38766 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38769 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38770 but no long options are defined, just return 'W'.
38772 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38775 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38777 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38779 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38781 (innetgr): Likewise.
38783 2011-07-05 Roland McGrath <roland@hack.frob.com>
38785 * config.make.in (install_root): Default to $(DESTDIR).
38787 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38791 2011-07-02 Roland McGrath <roland@hack.frob.com>
38793 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38795 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38796 containing directory rather than embedding absolute directory names.
38798 * scripts/check-local-headers.sh: Rewritten using awk.
38799 Match by word, not by line. Print error messages for matches.
38800 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38802 * Makerules [shlib-lds-flags empty]:
38803 ($(common-objpfx)libc_pic.opts): New target.
38804 ($(common-objpfx)libc_pic.os.clean): New target.
38805 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38807 * config.make.in (OBJCOPY): New variable.
38808 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38809 * configure: Regenerated.
38811 * config.make.in (use-default-link): New variable.
38812 * configure.in (use_default_link): Grok --with-default-link to set it.
38813 * configure: Regenerated.
38814 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38815 (shlib-lds, shlib-lds-flags): Define to empty.
38817 * Makerules (shlib-lds): New variable.
38818 (shlib-lds-flags): New variable.
38819 (build-shlib, build-moduile, build-module-asneeded): Use it.
38820 ($(common-objpfx)libc.so): Use $(shlib-lds).
38821 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38822 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38824 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38825 DT_FLAGS/DT_FLAGS_1 with zero flags.
38827 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38828 linker script munging.
38830 2011-07-02 Ulrich Drepper <drepper@gmail.com>
38832 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38834 * crypt/sha512.c (sha512_process_block): Perform total addition using
38835 128-bit if possible.
38836 (__sha512_finish_ctx): Likewise.
38837 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38839 * crypt/sha256.c (SWAP64): Define.
38840 (sha256_process_block): Perform total addition using 64-bit if
38842 (__sha256_finish_ctx): Likewise.
38844 2011-07-01 Ulrich Drepper <drepper@gmail.com>
38846 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38848 * nscd/hstcache.c (cache_addhst): Likewise.
38849 * nscd/grpcache.c (cache_addgr): Likewise.
38850 * nscd/aicache.c (addhstaiX): Likewise
38851 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38853 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
38855 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38857 * nscd/hstcache.c (cache_addhst): Likewise.
38858 * nscd/grpcache.c (cache_addgr): Likewise.
38859 * nscd/aicache.c (addhstaiX): Likewise
38861 2011-07-01 Andreas Schwab <schwab@redhat.com>
38863 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38864 domain only when needed.
38866 2011-06-30 Andreas Schwab <schwab@redhat.com>
38868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38869 is always restored.
38871 2011-06-29 Ulrich Drepper <drepper@gmail.com>
38873 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38874 are re-adding the entry.
38875 * nscd/servicescache.c (cache_addserv): Likewise.
38877 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38879 * sysdeps/generic/dl-irel.h: fix protection against multiple
38881 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38883 2011-06-28 Ulrich Drepper <drepper@gmail.com>
38886 * malloc/memusage.sh: Fix quoting in message.
38887 * debug/xtrace.sh: Likewise.
38889 * configure.in: Remove support for --experimental-malloc option, make
38891 * config.make.in: Likewise.
38892 * malloc/Makefile: Likewise.
38894 2011-06-27 Andreas Schwab <schwab@redhat.com>
38896 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38897 two-byte characters.
38899 2011-06-27 Roland McGrath <roland@hack.frob.com>
38901 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38902 AC_CACHE_CHECK invocation.
38903 * configure: Regenerated.
38905 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38907 2011-06-27 Ulrich Drepper <drepper@gmail.com>
38910 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38911 bit from old_res_options.
38913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38915 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38916 value type for setfct.
38918 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38921 __gettimeofday instead of gettimeofday.
38923 2011-06-26 Ulrich Drepper <drepper@gmail.com>
38925 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38927 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38929 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38934 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38937 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38938 strcpy-sse2-unaligned strncpy-sse2-unaligned
38939 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38940 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38941 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38942 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38943 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38944 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38945 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38946 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38947 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38948 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38949 (STRCPY): Support SSE2 and SSSE3 versions.
38951 2011-06-24 Ulrich Drepper <drepper@gmail.com>
38954 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38955 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38956 kernels which artificially limit size of requests.
38958 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38961 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38962 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38963 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38964 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38965 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38966 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38967 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38970 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38971 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38972 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38973 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38974 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38976 Enable unaligned load optimization for Intel Core i3, i5 and i7
38978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38980 (index_Fast_Unaligned_Load): Define.
38981 (HAS_FAST_UNALIGNED_LOAD): Define.
38983 2011-06-23 Marek Polacek <mpolacek@redhat.com>
38985 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38987 2011-06-22 Ulrich Drepper <drepper@gmail.com>
38990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38991 until it is clear that the information is realy needed.
38992 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38994 2011-06-22 Andreas Schwab <schwab@redhat.com>
38996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38998 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39001 /sys/devices/system/cpu/online if it is usable.
39003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39004 reading the information from the /proc filesystem to once a second.
39006 2011-06-21 Andreas Jaeger <aj@suse.de>
39008 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39009 NULL after inclusion of kernel headers.
39011 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39013 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39014 calls to internal_setent.
39017 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39018 addresses using gethostbyname4_r ignore IPv4 addresses.
39020 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39021 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39023 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39025 2011-06-20 David S. Miller <davem@davemloft.net>
39027 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39029 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39031 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39032 (elf_irel): Use it.
39033 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39034 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39035 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39036 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39037 * sysdeps/x86_64/dl-irel.h: Likewise.
39039 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39040 * elf/dl-sym.c: Likewise.
39042 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39044 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39045 need to dereference resplen2.
39047 2011-06-14 Andreas Schwab <schwab@redhat.com>
39049 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39051 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39053 * Makeconfig: Define vardbdir and inst_vardbdir.
39054 * nss/Makefile: Add rules to install db-Makefile.
39056 * nss/nss_db/db-XXX.c: Cleanup.
39058 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39059 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39061 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39062 * nss/makedb.c: Implement -g option to specify that value strings
39063 are generated and should not be added to table iterated over for
39065 * nss/nss_db/db-initgroups.c: New file.
39067 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39070 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39071 (internal_getgrouplist): Adjust to name change.
39072 Update use_initgroups_entry if this is not the first call.
39073 * nss/databases.def: Add initgroups entry.
39075 * nss/makedb.c (compute_tables): Check result of multiple hash table
39076 sizes to minimize maximum chain length.
39078 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39080 * Versions.def: Add entry for libnss_db.
39081 * shlib-versions: Likewise.
39082 * nss/Makefile: Add rules to build libnss_db.
39083 * nss/Versions: Add libnss_db information. Organize libnss_files
39085 * nss/db-Makefile: Add gshadow support. Change rules for the new
39086 makedb progra. Some minor improvements to generate smaller files.
39087 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39089 * nss/makedb.c: ...here.
39090 Improve database format to be smaller and require less memory at
39092 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39094 * nss/nss_db/db-netgrp.c: Likewise.
39095 * nss/nss_db/db-open.c: Likewise.
39096 * nss/nss_files/flies-XXX.x: Adjust comments.
39097 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39098 * nss/nss_files/files-grp.c: Likewise.
39099 * nss/nss_files/files-hosts.c: Likewise.
39100 * nss/nss_files/files-network.c: Likewise.
39101 * nss/nss_files/files-proto.c: Likewise.
39102 * nss/nss_files/files-pwd.c: Likewise.
39103 * nss/nss_files/files-rpc.c: Likewise.
39104 * nss/nss_files/files-service.c: Likewise.
39105 * nss/nss_files/files-sgrp.c: Likewise.
39106 * nss/nss_files/files-spwd.c: Likewise.
39107 * nss/nss_db/db-alias.c: Removed.
39108 * nss/nss_db/dummy-db.h: Removed.
39110 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39112 * nss/makedb.c: Rewritten to not use database library.
39113 * nss/Makefile: Update to build new makedb program.
39115 2011-06-14 Andreas Jaeger <aj@suse.de>
39117 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39118 memset declaration.
39120 2011-06-10 Andreas Schwab <schwab@redhat.com>
39122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39125 2011-06-10 Roland McGrath <roland@hack.frob.com>
39127 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39128 * elf/Makefile ($(objpfx)ld.so): Likewise.
39130 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39131 Don't list ld.so twice in dependencies.
39133 * posix/bug-regex31.c: Include <stdlib.h>.
39135 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39137 * nis/nss_compat/compat-spwd.c
39138 (getspent_next_nss_netgr): Remove unused variable.
39139 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39141 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39142 nonmembers" output to use the right array.
39144 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39146 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39148 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39149 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39150 * catgets/gencat.c (read_input_file): Likewise.
39151 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39153 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39154 variable definition inside #if's controlling its use.
39156 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39158 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39160 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39162 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39165 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39167 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39168 * configure: Regenerated.
39170 * Makerules: Revert last change.
39171 * elf/Makefile: Likewise.
39173 2011-06-09 Roland McGrath <roland@hack.frob.com>
39175 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39176 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39177 (reloc-link): Likewise.
39179 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39181 * elf/Makefile: Add rules to build pldd.
39182 * elf/pldd.c: New file.
39183 * elf/pldd-xx.c: New file.
39185 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39187 * version.h: Update for 2.15 development version.
39189 2011-06-07 David S. Miller <davem@davemloft.net>
39191 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39194 elf_machine_lazy_rel): Likewise.
39195 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39197 elf_machine_lazy_rel): Likewise.
39198 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39199 dl_hwcap via passed in argument.
39200 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39203 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39205 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39207 2011-06-06 Roland McGrath <roland@hack.frob.com>
39210 * manual/fdl-1.1.texi: New file, verbatim from:
39211 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39212 * manual/lgpl-2.1.texi: New file, verbatim from:
39213 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39214 * manual/Makefile (licenses): New variable, list those new file names.
39216 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39218 * manual/fdl.texi: File removed.
39219 * manual/lesser.texi: File removed.
39220 * manual/libc.texinfo (Copying, Documentation License):
39221 Use new @include file names, put @appendix directive before @include.
39223 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39226 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39227 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39228 (mq_open): Add __NTH.
39230 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39233 Assume Intel Core i3/i5/i7 processor if AVX is available.
39235 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39240 2011-05-31 Andreas Schwab <schwab@redhat.com>
39242 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39243 memory. Use alloca_account. Fix memory leak when retrying.
39245 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39247 * version.h (RELEASE): Bump for 2.14 release.
39248 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39250 * config.make.in (RANLIB): Remove entry.
39252 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39254 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39255 (libc.pot): Work around missing support for .ksh extension in xgettext.
39258 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39259 if both request failed.
39260 (send_dg): In case of server errors clear resplen or *resplen2.
39263 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39264 when there are multiple maps.
39265 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39266 (_dl_fini): Remove test here.
39268 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39270 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39273 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39274 bit from old_res_options.
39275 (gaih_inet): Likewise.
39278 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39281 * resolv/res_init.c (res_setoptions): Make the code more compact.
39284 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39288 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39290 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39293 * malloc/malloc.h: Declare malloc hook variables as volatile.
39295 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39299 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39300 raise in the comment.
39301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39303 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39305 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39308 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39309 grow the buffers more if it already has to be sufficient.
39310 (build_wcs_upper_buffer): Likewise.
39311 * posix/regexec.c (check_matching): Likewise.
39312 (clean_state_log_if_needed): Likewise.
39313 (extend_buffers): Don't enlarge buffers beyond size of the input
39315 Patches mostly by Emil Wojak <emil@wojak.eu>.
39316 * posix/bug-regex32.c: New file.
39317 * posix/Makefile (tests): Add bug-regex32.
39319 * locale/findlocale.c (_nl_find_locale): Return right away if
39320 _nl_explode_name failed.
39321 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39323 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39325 * debug/xtrace.sh: Unify messages.
39326 * malloc/memusage.sh: Likewise.
39329 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39330 time symbol from vDSO. Substitute with vsyscall if not available.
39331 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39334 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39335 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39336 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39337 Add sendmmsg and internal_sendmmsg.
39338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39339 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39340 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39342 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39343 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39346 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39349 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39350 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39352 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39356 * iconvdata/Makefile (tests): Add bug-iconv9.
39357 * iconvdata/bug-iconv9.c: New file.
39359 2011-05-27 Andreas Schwab <schwab@redhat.com>
39362 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39364 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39367 (struct user_regs_struct): Change intcs field back to cs.
39369 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39371 * po/ja.po: Update from translation team.
39373 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39376 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39379 2011-05-20 Andreas Schwab <schwab@redhat.com>
39381 * stdlib/longlong.h: Update from GCC.
39383 2011-05-23 Andreas Schwab <schwab@redhat.com>
39385 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39387 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39388 Add parameter name.
39389 (__sysconf): Pass it down.
39391 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39394 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39397 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39398 add in in __libc_use_alloca calls. Adjust callers.
39399 (glob): Use malloc in some situations.
39401 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39402 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39405 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39407 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39408 and CLOCK_BOOTTIME_ALARM.
39411 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39414 * string/_strerror.c (__strerror_r): Print negative errors as signed
39418 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39419 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39420 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39422 * configure.in: Fix typo in redirection and correct removal of test
39423 files in two cases.
39426 * locale/setlocale.c (new_composite_name): Fix test to check for
39427 identical name of all categories.
39430 * libio/filedoalloc.c (local_isatty): New function.
39431 (_IO_file_doallocate): Use local_isatty.
39432 * stdio-common/perror.c (perror): In case a new stream is used
39433 forward the stream error.
39434 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39437 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39442 * include/alloca.h (extend_alloca_account): Define.
39445 * posix/regex.h: Fix comments with documentation of user-accessible
39446 fields after compilation and describe correct free'ing of pattern
39447 after re_compile_pattern.
39448 Patch by Reuben Thomas <rrt@sc3d.org>.
39450 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39452 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39453 and -mno-altivec to prevent the compiler from using Altivec and/or
39454 VSX instructions when the corresponding registers are not available.
39456 2011-05-19 Andreas Schwab <schwab@redhat.com>
39458 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39460 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39462 * libio/freopen.c (freopen): Use __dup2, not dup2.
39463 * libio/freopen64.c (freopen64): Likewise.
39465 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39468 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39469 * math/Makefile (tests): Add test-powl.
39470 (CFLAGS-test-powl.c): Define.
39471 * math/test-powl.c: New file.
39473 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39475 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39477 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39480 * iconvdata/gb18030.c: Update to GB18020-2005.
39482 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39484 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39485 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39486 Patch by Aharon Robbins <arnold@skeeve.com>.
39489 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39493 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39494 through underflows.
39497 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39498 point to strings before performing equality test for error_one_per_line
39502 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39506 (struct user_fpregs_struct): Avoid __uint*_t types.
39509 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39510 symbol info. Use it instead of calling _dl_addr locally.
39511 (lock_and_info): New function.
39512 (tr_freehook): Call lock_and_info and pass symbol info as additional
39513 parameter to tr_where.
39514 (tr_mallochook): Likewise.
39515 (tr_reallochook): Likewise.
39516 (tr_memalignhook): Likewise.
39518 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39519 used and couldn't be at all thread-safe.
39521 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39523 * libio/freopen.c (freopen): Don't close old file descriptor
39524 before the new one is opened. Instead dup the new file descriptor
39525 to the old one after the new stream is created.
39526 * libio/freopen64.c (freopen64): Likewise.
39527 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39528 * libio/fileops.c (_IO_new_file_close_it): Handle new
39529 _IO_FLAGS2_NOCLOSE flag.
39530 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39531 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39532 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39533 _IO_FLAGS2_NOCLOSE flag.
39534 * include/unistd.h: Add hidden_proto for dup3.
39535 Define __have_dup3.
39536 * io/dup3.c: Define hidden symbol.
39537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39540 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39541 when an incomplete long option is used.
39542 * posix/tst-getopt_long1.c: New file.
39543 * posix/Makefile (tests): Add tst-getopt_long1.
39546 * scripts/config.guess: Update from autoconf-2.68.
39547 * scripts/config.sub: Likewise.
39550 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39552 (has_cpuclock): ...this. New function.
39553 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39554 macro here based on has_cpuclock code.
39557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39558 First byte (not low byte) is now always NUL.
39559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39562 Use non-cancelable interfaces.
39565 * locale/iso-639.def: Add entry for Sorani.
39568 * include/stdlib.h: Move include protection to the right place.
39569 Define abort_msg_s. Declare __abort_msg with it.
39570 * stdlib/abort.c (__abort_msg): Adjust type.
39571 * assert/assert.c (__assert_fail_base): New function. Majority
39572 of code from __assert_fail. Allocate memory for __abort_msg with
39574 (__assert_fail): Now call __assert_fail_base.
39575 * assert/assert-perr.c: Remove bulk of implementation. Use
39576 __assert_fail_base.
39577 * include/assert.hL Declare __assert_fail_base.
39578 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39580 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39582 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39586 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39587 until all modules are registered in the DTV.
39588 * elf/Makefile: Add rules to build and run tst-tls19.
39589 * elf/tst-tls19.c: New file.
39590 * elf/tst-tls19mod1.c: New file.
39591 * elf/tst-tls19mod2.c: New file.
39592 * elf/tst-tls19mod3.c: New file.
39593 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39596 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39600 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39601 two-byte sequence errors.
39602 * iconvdata/Makefile (tests): Add bug-iconv8.
39603 * iconvdata/bug-iconv8.c: New file.
39606 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39609 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39612 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39613 (dummy_getcfa): New function.
39614 (init): Get _Unwind_GetCFA address, use dummy if not found.
39615 (backtrace_helper): In recursion check, also check whether CFA changes.
39616 (__backtrace): Completely initialize arg.
39618 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39619 storing incomplete byte sequence in state object. Avoid testing for
39620 guaranteed too small input if we know there is enough data available.
39622 2011-05-11 Andreas Schwab <schwab@redhat.com>
39624 * Makeconfig (+link-pie): Indent.
39625 * Rules (binaries-pie): Define if $(have-fpie) and
39627 (binaries-shared): Also filter out $(binaries-pie).
39628 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39629 * nscd/Makefile (others-pie): Add nscd.
39630 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39631 ($(objpfx)nscd): Remove command override.
39632 * login/Makefile (others-pie): Add pt_chown.
39633 ($(objpfx)pt_chown): Remove command override.
39634 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39635 remove command overrides.
39637 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39639 * libio/tst_putwc.c: Fix error messages.
39642 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39643 currently writing and seek to current position when not.
39644 * libio/Makefile (tests): Add bug-fclose1.
39645 * libio/bug-fclose1.c: New file.
39647 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39650 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39651 don't set DF_1_NODELETE here.
39652 (do_lookup_x): When entering new entry test for copy relocation
39653 and if necessary set DF_1_NODELETE flag.
39654 * elf/tst-unique4.cc: New file.
39655 * elf/tst-unique4.h: New file.
39656 * elf/tst-unique4lib.cc: New file.
39657 * elf/Makefile: Add rules to build and run tst-unique4.
39658 Patch by Piotr Bury <pbury@goahead.com>.
39660 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39663 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39666 * misc/mntent_r.c (addmntent): Flush the stream after the output
39669 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39670 (is_trusted_path_normalize): Skip initial colon. Append slash
39671 to empty buffer. Duplicate is_trusted_path code but allow
39672 constructed patch to be prefix.
39673 (is_dst): Allow $ORIGIN followed by /.
39674 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39675 Correct testing of result of is_trusted_path_normalize
39676 (decompose_rpath): Fix warning.
39678 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39681 * grp/initgroups.c (internal_getgrouplist): When we found the service
39682 list through the initgroups entry in nsswitch.conf do not always
39683 continue on a successful lookup. Don't always use the
39684 __nss_group_database value if it is set.
39685 * nss/nsswitch.conf (initgroups): Change action for successful db
39686 lookup to continue for compatibility.
39688 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39691 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39693 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39695 * iconvdata/tst-tables.sh: Likewise.
39696 * iconvdata/cp770.c: New file.
39697 * iconvdata/cp771.c: New file.
39698 * iconvdata/cp772.c: New file.
39699 * iconvdata/cp773.c: New file.
39700 * iconvdata/cp774.c: New file.
39701 * iconvdata/testdata/CP770: New file.
39702 * iconvdata/testdata/CP770..UTF8: New file.
39703 * iconvdata/testdata/CP771: New file.
39704 * iconvdata/testdata/CP771..UTF8: New file.
39705 * iconvdata/testdata/CP772: New file.
39706 * iconvdata/testdata/CP772..UTF8: New file.
39707 * iconvdata/testdata/CP773: New file.
39708 * iconvdata/testdata/CP773..UTF8: New file.
39709 * iconvdata/testdata/CP774: New file.
39710 * iconvdata/testdata/CP774..UTF8: New file.
39712 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39714 * iconvdata/gen-8bit-gap.sh: Likewise.
39715 * iconvdata/gen-8bit.sh: Likewise.
39717 * locale/iso-639.def: Add ary entry.
39720 * locale/C-translit.h.in: Add U20A1 transliteration.
39723 * locale/iso-639.def: Add wae entry.
39724 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39727 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39731 * locale/C-translit.h.in: Add entry for U20B9.
39732 Patch by pravin.d.s@gmail.com.
39734 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39737 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39738 ENAMETOOLONG use generic getcwd.
39739 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39740 in rtld. Use *stat64.
39741 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39742 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39743 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39744 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39745 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39746 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39747 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39748 __fstatat64 macros.
39749 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39750 * dirent/rewinddir.c: Add libc_hidden_def.
39751 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39752 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39754 * include/dirent.h (__alloc_dir): Add flags parameter.
39755 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39756 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39758 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39759 from fdopendir if O_CLOEXEC is already set.
39761 2011-03-15 Alan Modra <amodra@gmail.com>
39763 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39764 l_tls_firstbyte_offset non-zero. Save padding offset in
39765 l_tls_firstbyte_offset for later use.
39766 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39767 freeing static tls block.
39769 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39771 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39772 where #ifdef was intended. The intent is to prevent ARG_MAX from
39773 being defined by the kernel headers.
39775 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39778 * resolv/resolv.h: Define RES_NOTLDQUERY.
39779 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39780 no-tld-query and set RES_NOTLDQUERY.
39781 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39782 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39783 modern BIND to search name as TLD unless forbidden.
39785 2011-05-07 Petr Baudis <pasky@suse.cz>
39786 Ulrich Drepper <drepper@gmail.com>
39789 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39790 (is_trusted_path): ...to here.
39791 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39792 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39793 using is_trusted_path_normalize() in setuid scripts.
39795 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39797 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39798 __BEGIN/__END_DECLS.
39800 2011-05-06 Ulrich Drepper <drepper@gmail.com>
39802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39803 NSS_STATUS_NOTFOUND if no record was found.
39805 2011-05-05 Andreas Schwab <schwab@redhat.com>
39807 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39808 (headers-not-in-tirpc): Remove rpc/netdb.h
39809 * resolv/netdb.h: Revert last change.
39811 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39813 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39814 circular dependency between libgcc.a and libc.a.
39816 2011-05-05 Andreas Schwab <schwab@redhat.com>
39818 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39819 * nis/Makefile: Don't install rpcsvc/*.
39820 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39821 instead of <rpc/types.h>.
39822 (MAXHOSTNAMELEN): Define.
39824 2011-05-03 Andreas Schwab <schwab@redhat.com>
39826 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39828 2011-04-28 Maciej Babinski <mbabinski@google.com>
39831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39832 gethostbyname4_r when IPv6 results are possible.
39834 2011-05-02 Ulrich Drepper <drepper@gmail.com>
39837 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39838 _PC_PIPE_BUF handling.
39840 2011-04-30 Bruno Haible <bruno@clisp.org>
39843 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39844 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39846 * inet/getnameinfo.c (getnameinfo): Likewise.
39848 2011-04-29 Ulrich Drepper <drepper@gmail.com>
39850 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39851 to groups setting in database lookup.
39852 * nss/nsswitch.conf: Add initgroups entry.
39854 2011-04-22 Ulrich Drepper <drepper@gmail.com>
39857 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39859 Patch by Eric Blake <eblake@redhat.com>.
39861 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39863 * sunrpc/Makefile (need-export-routines): Add svc_run.
39864 (routines): Remove svc_run.
39865 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39866 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39867 * sunrpc/svc_run.c (svc_run): Likewise.
39868 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39870 2011-04-21 Ulrich Drepper <drepper@gmail.com>
39872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39873 problem in reallocation in last patch.
39875 2011-04-20 Ulrich Drepper <drepper@gmail.com>
39877 * sunrpc/Makefile: Move inclusion of Rules.
39879 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39881 * nss/nss_files/files-initgroups.c: New file.
39882 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39883 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39884 _nss_files_initgroups_dyn.
39886 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39888 * elf/elf.h (R_ARM_IRELATIVE): Define.
39890 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39892 * po/ru.po: Update from translation team.
39894 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39896 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39899 2011-02-06 Mike Frysinger <vapier@gentoo.org>
39902 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39903 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39904 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39908 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39913 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39916 2011-04-17 Ulrich Drepper <drepper@gmail.com>
39919 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39921 * stdlib/bug-getcontext.c: New file.
39922 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39924 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39926 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39927 instructions into .machine "z9-109".
39928 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39929 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39931 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39933 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39934 between environment variables and auxiliary vector.
39936 2011-04-16 Ulrich Drepper <drepper@gmail.com>
39938 * Makefile: Add rules to build linkobj/libc.so.
39939 * include/libc-symbols.h: Define libc_hidden_nolink.
39940 * include/rpc/auth.h: Mark functions which are to be hidden.
39941 * include/rpc/auth_des.h: Likewise.
39942 * include/rpc/auth_unix.h: Likewise.
39943 * include/rpc/clnt.h: Likewise.
39944 * include/rpc/des_crypt.h: Likewise.
39945 * include/rpc/key_prot.h: Likewise.
39946 * include/rpc/pmap_clnt.h: Likewise.
39947 * include/rpc/pmap_prot.h: Likewise.
39948 * include/rpc/pmap_rmt.h: Likewise.
39949 * include/rpc/rpc_msg.h: Likewise.
39950 * include/rpc/svc.h: Likewise.
39951 * include/rpc/svc_auth.h: Likewise.
39952 * include/rpc/xdr.h: Likewise.
39953 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39954 * nss/Makefile: Likewise.
39955 * sunrpc/Makefile: Don't install headers. Build library with normal
39956 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39957 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39958 for the compat linking library. Remove use of INTDEF/INTUSE.
39959 * sunrpc/auth_none.c: Likewise.
39960 * sunrpc/auth_unix.c: Likewise.
39961 * sunrpc/authdes_prot.c: Likewise.
39962 * sunrpc/authuxprot.c: Likewise.
39963 * sunrpc/clnt_gen.c: Likewise.
39964 * sunrpc/clnt_perr.c: Likewise.
39965 * sunrpc/clnt_raw.c: Likewise.
39966 * sunrpc/clnt_simp.c: Likewise.
39967 * sunrpc/clnt_tcp.c: Likewise.
39968 * sunrpc/clnt_udp.c: Likewise.
39969 * sunrpc/clnt_unix.c: Likewise.
39970 * sunrpc/des_crypt.c: Likewise.
39971 * sunrpc/des_soft.c: Likewise.
39972 * sunrpc/get_myaddr.c: Likewise.
39973 * sunrpc/key_call.c: Likewise.
39974 * sunrpc/key_prot.c: Likewise.
39975 * sunrpc/netname.c: Likewise.
39976 * sunrpc/pm_getmaps.c: Likewise.
39977 * sunrpc/pm_getport.c: Likewise.
39978 * sunrpc/pmap_clnt.c: Likewise.
39979 * sunrpc/pmap_prot.c: Likewise.
39980 * sunrpc/pmap_prot2.c: Likewise.
39981 * sunrpc/pmap_rmt.c: Likewise.
39982 * sunrpc/publickey.c: Likewise.
39983 * sunrpc/rpc_cmsg.c: Likewise.
39984 * sunrpc/rpc_common.c: Likewise.
39985 * sunrpc/rpc_dtable.c: Likewise.
39986 * sunrpc/rpc_prot.c: Likewise.
39987 * sunrpc/rpc_thread.c: Likewise.
39988 * sunrpc/rtime.c: Likewise.
39989 * sunrpc/svc.c: Likewise.
39990 * sunrpc/svc_auth.c: Likewise.
39991 * sunrpc/svc_authux.c: Likewise.
39992 * sunrpc/svc_raw.c: Likewise.
39993 * sunrpc/svc_run.c: Likewise.
39994 * sunrpc/svc_simple.c: Likewise.
39995 * sunrpc/svc_tcp.c: Likewise.
39996 * sunrpc/svc_udp.c: Likewise.
39997 * sunrpc/svc_unix.c: Likewise.
39998 * sunrpc/svcauth_des.c: Likewise.
39999 * sunrpc/xcrypt.c: Likewise.
40000 * sunrpc/xdr.c: Likewise.
40001 * sunrpc/xdr_array.c: Likewise.
40002 * sunrpc/xdr_float.c: Likewise.
40003 * sunrpc/xdr_intXX_t.c: Likewise.
40004 * sunrpc/xdr_mem.c: Likewise.
40005 * sunrpc/xdr_rec.c: Likewise.
40006 * sunrpc/xdr_ref.c: Likewise.
40007 * sunrpc/xdr_sizeof.c: Likewise.
40008 * sunrpc/xdr_stdio.c: Likewise.
40010 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40013 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40014 * sysdeps/ia64/dl-tls.h: Likewise.
40015 * sysdeps/powerpc/dl-tls.h: Likewise.
40016 * sysdeps/s390/dl-tls.h: Likewise.
40017 * sysdeps/sh/dl-tls.h: Likewise.
40018 * sysdeps/sparc/dl-tls.h: Likewise.
40019 * sysdeps/x86_64/dl-tls.h: Likewise.
40020 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40022 2011-03-14 Andreas Schwab <schwab@redhat.com>
40024 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40025 rpath element also skip the following colon.
40026 (expand_dynamic_string_token): Add is_path parameter and pass
40027 down to DL_DST_REQUIRED and _dl_dst_substitute.
40028 (decompose_rpath): Call expand_dynamic_string_token with
40029 non-zero is_path. Ignore empty rpaths.
40030 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40033 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40038 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40041 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40042 Patch by Filipe David Manana <fdmanana@apache.org>.
40044 2011-04-07 Andreas Schwab <schwab@redhat.com>
40046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40047 Maintain aligned stack.
40048 (CHECK_RSP): Remove unused macro.
40050 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40052 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40053 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40055 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40057 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40059 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40061 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40064 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40065 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40066 * sysdeps/x86_64/memmove.c: New file.
40067 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40068 (memcpy): Renamed to ...
40069 (__new_memcpy): This.
40070 (memcpy): Provide GLIBC_2_14 memcpy.
40071 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40072 (memcpy): Provide GLIBC_2_2_5 memcpy.
40074 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40077 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40079 2011-03-30 Andreas Schwab <schwab@redhat.com>
40081 * misc/syncfs.c: New file.
40082 * misc/Makefile (routines): Add syncfs.
40083 * posix/unistd.h: Declare syncfs.
40084 * sysdeps/unix/syscalls.list: Add syncfs.
40086 2011-04-01 Andreas Schwab <schwab@redhat.com>
40088 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40095 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40098 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40102 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40108 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40109 sync_file_range.c with -fexceptions.
40110 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40111 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40112 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40113 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40114 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40115 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40117 sync_file_range as cancellation point
40118 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40119 now a wrapper around __call_sync_file_range with cancellation handling.
40120 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40121 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40122 function name to __call_sync_file_range.
40123 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40124 Add call_sync_file_range.
40126 2011-04-01 Andreas Schwab <schwab@redhat.com>
40128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40131 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40133 * iconv/iconv.h: Fix typo in comment.
40134 * io/fcntl.h: Likewise.
40135 * libio/stdio.h: Likewise.
40136 * posix/spawn.h: Likewise.
40137 * posix/unistd.h: Likewise.
40138 * stdlib/stdlib.h: Likewise.
40139 * time/time.h: Likewise.
40140 * wcsmbs/wchar.h: Likewise.
40142 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40143 open_by_handle): Add.
40144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40145 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40146 Augment a few comments.
40147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40152 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40155 * io/fcntl.h (AT_EMPTY_PATH): Define.
40157 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40159 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40160 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40161 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40163 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40164 * Versions.def: Add GLIBC_2.14.
40165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40168 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40170 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40172 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40174 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40177 * string/test-strncmp.c (do_page_test): New function.
40178 (check2): Likewise.
40179 (test_main): Call check2.
40180 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40182 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40185 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40186 Handle cache information in CPU leaf 4.
40187 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40189 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40192 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40193 character representation.
40194 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40196 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40199 END(__isnan) to END(__isnanf) to match function entry point/label
40200 EALIGN(__isnanf,...).
40202 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40204 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40206 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40209 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40210 copy from the symbol referenced in the relocation to initialize the
40212 Patch by Piotr Bury <pbury@goahead.com>.
40213 * elf/Makefile: Add rules to build and tst-unique3.
40214 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40215 * elf/tst-unique3.cc: New file.
40216 * elf/tst-unique3.h: New file.
40217 * elf/tst-unique3lib.cc: New file.
40218 * elf/tst-unique3lib2.cc: New file.
40220 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40222 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40224 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40225 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40228 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40230 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40231 to-be-loaded object along a path to loader is ld.so.
40233 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40234 Ulrich Drepper <drepper@gmail.com>
40236 * sysdeps/x86_64/memset.S: After aligning destination, code
40237 branches to different locations depending on the value of
40238 misalignment, when multiarch is enabled. Fix this.
40240 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40242 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40243 Set _x86_64_preferred_memory_instruction for AMD processsors.
40244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40245 Set bit_Prefer_SSE_for_memop for AMD processors.
40247 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40249 * libio/fmemopen.c (fmemopen): Optimize a bit.
40251 2011-03-03 Andreas Schwab <schwab@redhat.com>
40253 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40255 2011-03-03 Roland McGrath <roland@redhat.com>
40257 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40259 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40261 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40262 __bzero_ultra1 instead of __memset_ultra1.
40264 2011-02-23 Andreas Schwab <schwab@redhat.com>
40265 Ulrich Drepper <drepper@gmail.com>
40268 * include/link.h (struct link_map): Add l_orig_initfini.
40269 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40270 returning unsuccessfully.
40271 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40272 close of a file loaded at startup, restore the original l_initfini
40274 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40275 list, store the pointer.
40276 * elf/Makefile ($(objpfx)noload-mem): New rule.
40277 (noload-ENV): Define.
40278 (tests): Add $(objpfx)noload-mem.
40279 * elf/noload.c: Include <memcheck.h>.
40280 (main): Call mtrace. Close all opened handles.
40282 2011-02-17 Andreas Schwab <schwab@redhat.com>
40285 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40286 dependencies are missing.
40288 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40290 Fix __if_freereq crash: Unlike the generic version which uses free,
40292 * sysdeps/mach/hurd/ifreq.h: New file.
40294 2011-01-27 Petr Baudis <pasky@suse.cz>
40295 Ulrich Drepper <drepper@gmail.com>
40298 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40299 to extend_alloca().
40300 * stdio-common/bug23.c: New file.
40301 * stdio-common/Makefile (tests): Add bug23.
40303 2010-09-28 Andreas Schwab <schwab@redhat.com>
40304 Ulrich Drepper <drepper@gmail.com>
40307 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40308 before performing relro protection. At old place add assertion
40309 to make sure nothing changed.
40311 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40312 Glauber de Oliveira Costa <glommer@gmail.com>
40314 * elf/elf.h: Add new ARM TLS relocs.
40316 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40319 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40321 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40323 * sysdeps/wordsize-64/tst-writev.c: New file.
40325 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40327 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40328 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40329 insns in _dl_start to prevent a TOC reference before relocs are
40332 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40335 * Makeconfig: Remove RANLIB definition.
40336 * Makerules: Don't use RANLIB.
40337 * aclocal.m4: Remove ranlib test.
40338 * configure.in: No need to check for ranlib.
40339 * elf/rtld-Rules: Don't use RANLIB.
40341 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40343 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40345 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40346 inclusion protection macro.
40348 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40349 SIGRTMIN and SIGRTMAX and print information in that case only when
40350 SIGRTMIN is defined.
40352 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40354 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40355 arginfo fn returning -1.
40357 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40358 and thousands string is zero terminated.
40360 2011-02-03 Andreas Schwab <schwab@redhat.com>
40362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40363 sysdeps/unix/sysv/linux/bits/socket.h.
40365 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40367 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40368 (__CPU_COUNT): Remove old macros.
40369 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40370 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40371 (__CPU_ALLOC, __CPU_FREE): Add macros.
40372 (__sched_cpualloc, __sched_cpufree): Add declarations.
40374 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40376 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40377 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40378 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40379 (readdhstai): Return value of addhstaiX call.
40380 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40381 (addgrbyX): Return value returned by cache_addgr.
40382 (readdgrbyname): Return value returned by addgrbyX.
40383 (readdgrbygid): Likewise.
40384 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40385 (addpwbyX): Return value returned by cache_addpw.
40386 (readdpwbyname): Return value returned by addhstbyX.
40387 (readdpwbyuid): Likewise.
40388 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40389 (addservbyX): Return value returned by cache_addserv.
40390 (readdservbyname): Return value returned by addservbyX:
40391 (readdservbyport): Likewise.
40392 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40393 (addhstbyX): Return value returned by cache_addhst.
40394 (readdhstbyname): Return value returned by addhstbyX.
40395 (readdhstbyaddr): Likewise.
40396 (readdhstbynamev6): Likewise.
40397 (readdhstbyaddrv6): Likewise.
40398 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40399 (readdinitgroups): Return value returned by addinitgroupsX.
40400 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40401 (prune_cache): Keep track of timeout value of re-added entries.
40402 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40403 * nscd/nscd.h: Adjust prototypes of readd* functions.
40405 2011-02-04 Roland McGrath <roland@redhat.com>
40407 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40408 (nis_stats): Likewise.
40409 * nis/nis_modify.c (nis_modify): Likewise.
40410 * nis/nis_remove.c (nis_remove): Likewise.
40411 * nis/nis_add.c (nis_add): Likewise.
40413 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40415 * posix/fnmatch_loop.c: Add some consts.
40417 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40419 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40422 * config.make.in (config-cflags-novzeroupper): Define.
40423 * configure.in: Substitute libc_cv_cc_novzeroupper.
40424 * elf/Makefile (AVX-CFLAGS): Define.
40425 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40426 (CFLAGS-tst-auditmod4a.c): Likewise.
40427 (CFLAGS-tst-auditmod4b.c): Likewise.
40428 (CFLAGS-tst-auditmod6b.c): Likewise.
40429 (CFLAGS-tst-auditmod6c.c): Likewise.
40430 (CFLAGS-tst-auditmod7b.c): Likewise.
40431 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40433 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40435 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40436 function to the callback.
40437 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40439 2011-02-02 Andreas Schwab <schwab@redhat.com>
40441 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40444 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40447 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40449 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40451 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40454 * elf/Makefile: Add rules to build and run new test.
40455 * elf/tst-initorder.c: New file.
40456 * elf/tst-initorder.exp: New file.
40457 * elf/tst-initordera1.c: New file.
40458 * elf/tst-initordera2.c: New file.
40459 * elf/tst-initordera3.c: New file.
40460 * elf/tst-initordera4.c: New file.
40461 * elf/tst-initorderb1.c: New file.
40462 * elf/tst-initorderb2.c: New file.
40463 * elf/tst-order-a1.c: New file.
40464 * elf/tst-order-a2.c: New file.
40465 * elf/tst-order-a3.c: New file.
40466 * elf/tst-order-a4.c: New file.
40467 * elf/tst-order-b1.c: New file.
40468 * elf/tst-order-b2.c: New file.
40469 * elf/tst-order-main.c: New file.
40470 New test case by George Gensure <werkt0@gmail.com>.
40472 2010-10-01 Andreas Schwab <schwab@redhat.com>
40474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40475 decoding ACE if AI_CANONIDN.
40477 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40479 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40481 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40483 * version.h (RELEASE): Bump for 2.13 release.
40484 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40486 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40488 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40490 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40492 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40493 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40494 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40495 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40497 * posix/getconf.c: Update copyright year.
40498 * catgets/gencat.c: Likewise.
40499 * csu/version.c: Likewise.
40500 * debug/catchsegv.sh: Likewise.
40501 * debug/xtrace.sh: Likewise.
40502 * elf/ldconfig.c: Likewise.
40503 * elf/ldd.bash.in: Likewise.
40504 * elf/sprof.c (print_version): Likewise.
40505 * iconv/iconv_prog.c: Likewise.
40506 * iconv/iconvconfig.c: Likewise.
40507 * locale/programs/locale.c: Likewise.
40508 * locale/programs/localedef.c: Likewise.
40509 * malloc/memusage.sh: Likewise.
40510 * malloc/mtrace.pl: Likewise.
40511 * nscd/nscd.c (print_version): Likewise.
40512 * nss/getent.c: Likewise.
40514 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40515 PF_CAIF, and PF_ALG.
40516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40518 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40520 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40521 (modules-names): Use them.
40522 (ifunc-test-modules, ifunc-pie-tests): Define.
40523 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40524 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40525 (test-extras): Likewise.
40526 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40527 $(compile-command.c).
40528 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40529 (all-built-dso): Define.
40530 (check-textrel.out, check-execstack.out): Depend on it.
40532 * configure.in: Don't override --enable-multi-arch.
40534 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40537 * nscd/hstcache.c (tryagain): Define.
40538 (cache_addhst): Return tryagain not notfound for temporary errors.
40539 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40542 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40545 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40546 to make the syscall.
40547 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40550 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40551 and fall back to matching as normal character if the string ends before
40552 the matching ']' is found. This is what POSIX requires.
40553 * posix/testfnm.c: Adjust test result.
40554 * posix/globtest.sh: Adjust test result. Add new test.
40555 * posix/tst-fnmatch.input: Likewise.
40556 * posix/tst-fnmatch2.c: Add new test.
40558 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40560 * elf/Makefile (check-execstack): Revert last change. Depend on
40562 (check-execstack.h): New target.
40563 (generated): Add check-execstack.h.
40564 * elf/check-execstack.c: Include "check-execstack.h".
40565 (main): Revert last change.
40566 (handle_file): Return zero if GNU_STACK is absent and
40567 DEFAULT_STACK_PERMS doesn't include PF_X.
40569 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40571 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40572 in child fails because the descriptor is already closed.
40573 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40574 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40575 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40578 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40582 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40583 temporary buffer used to handle multi lookups locally.
40584 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40586 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40588 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40591 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40593 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40594 alignment for SSE2.
40596 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40599 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40600 characters. When rounding increased number of integer digits recompute
40602 * stdio-common/tst-grouping.c: New file.
40603 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40605 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40607 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40608 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40610 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40612 * bits/select.h: Likewise.
40614 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40616 * po/ja.po: Update from translation team.
40618 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40621 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40622 implementation just like for lxstat, fxstatat, et al.
40624 2010-12-27 Jim Meyering <meyering@redhat.com>
40627 * posix/regexec.c (build_trtable): Return failure indication upon
40628 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40630 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40633 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40634 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40635 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40636 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40639 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40642 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40643 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40645 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40647 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40648 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40649 script has SORT_BY_INIT_PRIORITY.
40650 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40651 NO_CTORS_DTORS_SECTIONS is defined.
40652 * elf/soinit.c: Likewise.
40653 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40654 NO_CTORS_DTORS_SECTIONS is defined.
40655 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40656 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40657 * sysdeps/sh/init-first.c: Likewise.
40658 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40660 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40662 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40663 always use the slow path.
40665 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40667 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40668 similar rule which adds the sysdep directories to the header search in
40669 order to pick up the correct platform stackinfo.h.
40670 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40671 perform test if it is, otherwise return successfully without testing.
40672 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40673 DEFAULT_STACK_PERMS define in stackinfo.h.
40674 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40675 defined in stackinfo.h.
40676 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40677 DEFAULT_STACK_PERMS defined in stackinfo.h.
40678 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40679 * sysdeps/ia64/stackinfo.h: Likewise.
40680 * sysdeps/s390/stackinfo.h: Likewise.
40681 * sysdeps/sh/stackinfo.h: Likewise.
40682 * sysdeps/sparc/stackinfo.h: Likewise.
40683 * sysdeps/x86_64/stackinfo.h: Likewise.
40684 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40685 PF_X for powerpc64. Retain PF_X for powerpc32.
40687 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40689 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40691 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40692 GETDENTS_64BIT_ALIGNED.
40694 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40696 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40698 2010-12-10 Andreas Schwab <schwab@redhat.com>
40700 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40703 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40704 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40706 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40707 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40709 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40712 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40715 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40717 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40719 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40721 * po/it.po: Update from translation team.
40723 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40728 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40730 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40732 2010-11-24 Andreas Schwab <schwab@redhat.com>
40734 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40736 (gaih_getanswer_slice): Likewise.
40738 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40742 2010-05-31 Petr Baudis <pasky@suse.cz>
40745 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40746 silently even in the chroot mode.
40748 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40751 last patch a bit. Pretty printing
40753 2010-05-31 Petr Baudis <pasky@suse.cz>
40756 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40757 initialization of skip_initgroups_dyn.
40759 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40761 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40762 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40764 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40766 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40768 2010-11-11 Andreas Schwab <schwab@redhat.com>
40770 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40771 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40772 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40773 ($(objpfx)tst-fnmatch-mem): New rule.
40774 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40775 * posix/tst-fnmatch.c (main): Call mtrace.
40777 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40780 Support Intel processor model 6 and model 0x2c.
40782 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40787 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40790 * string/test-strncasecmp.c (check_result): New function.
40791 (do_one_test): Use it.
40792 (check1): New function.
40793 (test_main): Use it.
40794 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40795 Support strcasecmp and strncasecmp.
40797 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40800 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40803 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40805 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40809 * sysdeps/x86_64/multiarch/bzero.S: New file.
40810 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40811 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40812 * sysdeps/x86_64/multiarch/memset.S: New file.
40813 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40815 Set bit_Prefer_SSE_for_memop for Intel processors.
40816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40818 (index_Prefer_SSE_for_memop): Define.
40819 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40821 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
40823 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40824 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40826 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40829 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40830 (__x86_64_raw_data_cache_size_half): Likewise.
40831 (__x86_64_raw_shared_cache_size): Likewise.
40832 (__x86_64_raw_shared_cache_size_half): Likewise.
40834 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40835 (__x86_64_raw_data_cache_size_half): Likewise.
40836 (__x86_64_raw_shared_cache_size): Likewise.
40837 (__x86_64_raw_shared_cache_size_half): Likewise.
40838 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40839 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40840 and __x86_64_raw_shared_cache_size_half. Round
40841 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40842 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40843 to multiple of 256 bytes.
40845 2010-11-03 Ulrich Drepper <drepper@gmail.com>
40848 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40849 of inacessible symlinks. Verify result of symlink before returning it.
40850 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40851 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40853 2010-10-28 Erich Ritz <erichritz@gmail.com>
40855 * math/math.h (isinf): Fix typo in comment.
40857 2010-11-01 Ulrich Drepper <drepper@gmail.com>
40859 * po/da.po: Update from translation team.
40861 2010-10-26 Ulrich Drepper <drepper@gmail.com>
40863 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40864 is added to the list.
40866 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40867 Ulrich Drepper <drepper@gmail.com>
40869 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40870 the global list here. Move code to...
40871 (_dl_add_to_namespace_list): ...here. New function.
40872 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40873 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40874 * elf/dl-load.c (lose): Don't remove the element from the list.
40875 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40876 (_dl_map_object): Likewise.
40878 2010-10-25 Ulrich Drepper <drepper@gmail.com>
40881 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40882 into all bytes of SSE register.
40883 Patch by Richard Li <richardpku@gmail.com>.
40885 2010-10-24 Ulrich Drepper <drepper@gmail.com>
40888 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40891 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40893 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40894 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40896 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40901 2010-10-22 Andreas Schwab <schwab@redhat.com>
40903 * include/dlfcn.h (__RTLD_SECURE): Define.
40904 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40905 mode & __RTLD_SECURE instead.
40906 (open_path): Rename preloaded parameter to secure.
40907 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40908 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40909 * elf/dl-deps.c (openaux): Likewise.
40910 * elf/rtld.c (struct map_args): Remove is_preloaded.
40911 (map_doit): Don't use it.
40912 (dl_main): Likewise.
40913 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40914 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40916 2010-09-09 Andreas Schwab <schwab@redhat.com>
40918 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40919 (sysd-rules-targets): Remove duplicates.
40920 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40921 rtld-%.$o dependency.
40923 2010-10-18 Andreas Schwab <schwab@redhat.com>
40925 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40926 _dl_map_object do it.
40928 2010-10-19 Ulrich Drepper <drepper@gmail.com>
40930 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40931 fast fma builtins, define the macros in the C99 standard.
40932 (FP_FAST_FMAF): Likewise.
40933 (FP_FAST_FMAL): Likewise.
40934 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40936 * bits/mathdef.h: Update copyright year.
40937 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40939 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40941 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40942 builtins, define the macros in the C99 standard.
40943 (FP_FAST_FMAF): Likewise.
40944 (FP_FAST_FMAL): Likewise.
40945 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40947 (FP_FAST_FMAF): Likewise.
40949 2010-10-15 Jakub Jelinek <jakub@redhat.com>
40952 * math/libm-test.inc (fma_test): Some new testcases.
40953 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40954 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40955 y and infinite z. Do multiplication by C already in long double.
40956 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40958 y and infinite z. Do bitwise or of inexact bit into u.d.
40959 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40960 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40961 * sysdeps/i386/fpu/s_fma.S: Removed.
40962 * sysdeps/i386/fpu/s_fmal.S: Removed.
40964 2010-10-16 Jakub Jelinek <jakub@redhat.com>
40967 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40969 computation is not scheduled after fetestexcept. Fix value
40970 of minimum denormal long double.
40972 2010-10-14 Jakub Jelinek <jakub@redhat.com>
40975 * math/libm-test.inc (fma_test): Add some more tests.
40976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40979 2010-10-15 Andreas Schwab <schwab@redhat.com>
40981 * scripts/data/localplt-s390-linux-gnu.data: New file.
40982 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40984 2010-10-13 Jakub Jelinek <jakub@redhat.com>
40987 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40988 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40990 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40992 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40994 if one of x and y is very large and the other is subnormal.
40995 * sysdeps/s390/fpu/s_fmaf.c: New file.
40996 * sysdeps/s390/fpu/s_fma.c: New file.
40997 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40998 * sysdeps/powerpc/fpu/s_fma.S: New file.
40999 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41000 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41001 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41003 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41006 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41008 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41009 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41010 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41011 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41012 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41013 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41016 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41019 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41020 * posix/bug-regex31.input: Add test case.
41022 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41024 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41025 * posix/bug-regex31.input: New file.
41028 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41029 (parse_sub_exp): Fix last change, use postorder.
41031 * posix/bug-regex31.c: New file.
41032 * posix/Makefile: Add rules to build and run bug-regex31.
41034 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41037 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41040 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41041 to have entries in sys_siglist.
41044 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41047 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41050 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41051 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41052 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41053 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41055 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41056 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41057 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41058 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41059 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41060 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41061 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41062 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41063 * math/ftestexcept.c (fetestexcept): Likewise.
41064 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41065 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41066 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41067 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41068 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41069 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41070 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41072 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41075 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41078 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41080 * string/bug-strstr1.c: New file.
41081 * string/Makefile: Add rules to build and run bug-strstr1.
41083 2010-10-05 Eric Blake <eblake@redhat.com>
41086 * string/str-two-way.h (two_way_long_needle): Always clear memory
41087 when skipping input due to the shift table.
41089 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41092 * malloc/mcheck.c: Handle large requests.
41095 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41096 for strncmp and strncasecmp.
41097 * string/stratcliff.c: Add tests for strcmp and strncmp.
41098 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41100 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41102 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41105 2010-09-30 Andreas Jaeger <aj@suse.de>
41107 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41108 (CGROUP_SUPER_MAGIC): Define.
41109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41110 Handle btrfs and cgroup file systems.
41111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41114 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41116 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41117 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41119 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41122 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41123 trying to locate the ELF header.
41125 2010-09-27 Andreas Schwab <schwab@redhat.com>
41128 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41129 Mask out sign-bit copies when constructing f_fsid.
41131 2010-09-24 Petr Baudis <pasky@suse.cz>
41133 * debug/stack_chk_fail_local.c: Add missing licence exception.
41134 * debug/warning-nop.c: Likewise.
41136 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41139 implementing getdents64 using getdents syscall, set d_type if
41140 __ASSUME_GETDENTS32_D_TYPE.
41142 2010-09-16 Andreas Schwab <schwab@redhat.com>
41144 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41145 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41147 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41150 * posix/unistd.h: Undo change of feature selection for ftruncate from
41153 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41155 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41158 2010-09-20 Andreas Schwab <schwab@redhat.com>
41160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41164 2010-09-14 Andreas Schwab <schwab@redhat.com>
41166 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41167 variables after CHECK_SP call.
41168 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41170 2010-09-13 Andreas Schwab <schwab@redhat.com>
41171 Ulrich Drepper <drepper@redhat.com>
41173 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41174 re-relocationg ld.so.
41175 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41176 _dl_init_paths call.
41177 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41180 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41182 * resolv/res_init.c (__res_vinit): Count the default server we added.
41184 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41185 Ulrich Drepper <drepper@redhat.com>
41188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41189 (____longjmp_chk): Use %ebx for saving value across system call.
41192 2010-09-06 Andreas Schwab <schwab@redhat.com>
41194 * manual/Makefile: Don't mix pattern rules with normal rules.
41196 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41198 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41200 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41201 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41202 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41203 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41207 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41210 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41211 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41213 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41215 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41216 * sysdeps/x86_64/addmul_1.S: Likewise.
41217 * sysdeps/x86_64/lshift.S: Likewise.
41218 * sysdeps/x86_64/mul_1.S: Likewise.
41219 * sysdeps/x86_64/rshift.S: Likewise.
41220 * sysdeps/x86_64/sub_n.S: Likewise.
41221 * sysdeps/x86_64/submul_1.S: Likewise.
41223 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41225 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41226 Define __sched_param instead of SCHED_* and sched_param when
41227 <bits/sched.h> is included with __need_schedparam defined.
41228 * bits/sched.h [__need_schedparam]
41229 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41230 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41231 (__defined_schedparam): Define to 1.
41232 (__sched_param): New structure, identical to sched_param.
41233 (__need_schedparam): Undefine.
41235 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41237 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41238 (epoll_create1): Declare.
41240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41242 2010-08-31 Andreas Schwab <schwab@redhat.com>
41245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41246 shifting retval into place.
41248 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41250 * nis/rpcsvc/nis.h: Update copyright notice.
41251 * nis/rpcsvc/nis.x: Likewise.
41252 * nis/rpcsvc/nis_callback.h: Likewise.
41253 * nis/rpcsvc/nis_callback.x: Likewise.
41254 * nis/rpcsvc/nis_object.x: Likewise.
41255 * nis/rpcsvc/nis_tags.h: Likewise.
41256 * nis/rpcsvc/yp.h: Likewise.
41257 * nis/rpcsvc/yp.x: Likewise.
41258 * nis/rpcsvc/ypupd.h: Likewise.
41259 * nis/yp_xdr.c: Likewise.
41260 * nis/ypupdate_xdr.c: Likewise.
41262 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41263 mainly the body of pmap_getport. Add parameters to specify timeouts.
41264 (pmap_getport): Use __libc_rpc_getport.
41265 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41266 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41267 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41269 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41274 2010-08-27 Roland McGrath <roland@redhat.com>
41276 * sysdeps/i386/i686/multiarch/Makefile
41277 (CFLAGS-varshift.c): New variable.
41279 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41281 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41282 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41286 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41288 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41290 * sysdeps/x86_64/strlen.S: Unroll the loop.
41291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41292 strlen-sse2 strlen-sse2-bsf.
41293 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41294 __strlen_no_bsf if bit_Slow_BSF is set.
41295 (__strlen_sse42): Removed.
41296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41297 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41299 2010-08-25 Roland McGrath <roland@redhat.com>
41301 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41302 * sysdeps/x86_64/multiarch/varshift.c: New file.
41303 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41304 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41305 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41306 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41308 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41311 strlen-sse2 strlen-sse2-bsf.
41312 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41313 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41314 (__strlen_sse2): Removed.
41315 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41316 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41318 bit_Slow_BSF for Atom.
41319 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41320 (index_Slow_BSF): Define.
41321 (HAS_SLOW_BSF): Define.
41323 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41326 * resolv/res_init.c (__res_vinit): When no server address at all
41327 is given default to loopback.
41329 2010-08-24 Roland McGrath <roland@redhat.com>
41331 * configure.in: Remove config-name.h generation.
41332 * configure: Regenerated.
41333 * config-name.in: File removed.
41334 * scripts/config-uname.sh: New file.
41335 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41336 ($(objdir)config-name.h): New target.
41338 * sunrpc/rpc_parse.h: Avoid nested comment.
41340 2010-08-24 Richard Henderson <rth@redhat.com>
41341 Ulrich Drepper <drepper@redhat.com>
41342 H.J. Lu <hongjiu.lu@intel.com>
41344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41346 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41347 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41348 _mm_alignr_epi8 with _mm_loadu_si128.
41349 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41350 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41351 (__m128i_shift_right): Removed.
41352 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41353 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41354 * sysdeps/x86_64/multiarch/varshift.h: New file.
41355 * sysdeps/x86_64/multiarch/varshift.S: New file.
41357 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41359 * configure.in: Move assembler checks to before sysdep dir checking.
41361 2010-08-20 Petr Baudis <pasky@suse.cz>
41363 * LICENSES: Sync the sunrpc license.
41365 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41367 * sunrpc/auth_des.c: Update copyright notice once again.
41368 * sunrpc/auth_none.c: Likewise.
41369 * sunrpc/auth_unix.c: Likewise.
41370 * sunrpc/authdes_prot.c: Likewise.
41371 * sunrpc/authuxprot.c: Likewise.
41372 * sunrpc/bindrsvprt.c: Likewise.
41373 * sunrpc/clnt_gen.c: Likewise.
41374 * sunrpc/clnt_perr.c: Likewise.
41375 * sunrpc/clnt_raw.c: Likewise.
41376 * sunrpc/clnt_simp.c: Likewise.
41377 * sunrpc/clnt_tcp.c: Likewise.
41378 * sunrpc/clnt_udp.c: Likewise.
41379 * sunrpc/clnt_unix.c: Likewise.
41380 * sunrpc/des_crypt.c: Likewise.
41381 * sunrpc/des_soft.c: Likewise.
41382 * sunrpc/get_myaddr.c: Likewise.
41383 * sunrpc/getrpcport.c: Likewise.
41384 * sunrpc/key_call.c: Likewise.
41385 * sunrpc/key_prot.c: Likewise.
41386 * sunrpc/openchild.c: Likewise.
41387 * sunrpc/pm_getmaps.c: Likewise.
41388 * sunrpc/pm_getport.c: Likewise.
41389 * sunrpc/pmap_clnt.c: Likewise.
41390 * sunrpc/pmap_prot.c: Likewise.
41391 * sunrpc/pmap_prot2.c: Likewise.
41392 * sunrpc/pmap_rmt.c: Likewise.
41393 * sunrpc/rpc/auth.h: Likewise.
41394 * sunrpc/rpc/auth_unix.h: Likewise.
41395 * sunrpc/rpc/clnt.h: Likewise.
41396 * sunrpc/rpc/des_crypt.h: Likewise.
41397 * sunrpc/rpc/key_prot.h: Likewise.
41398 * sunrpc/rpc/netdb.h: Likewise.
41399 * sunrpc/rpc/pmap_clnt.h: Likewise.
41400 * sunrpc/rpc/pmap_prot.h: Likewise.
41401 * sunrpc/rpc/pmap_rmt.h: Likewise.
41402 * sunrpc/rpc/rpc.h: Likewise.
41403 * sunrpc/rpc/rpc_des.h: Likewise.
41404 * sunrpc/rpc/rpc_msg.h: Likewise.
41405 * sunrpc/rpc/svc.h: Likewise.
41406 * sunrpc/rpc/svc_auth.h: Likewise.
41407 * sunrpc/rpc/types.h: Likewise.
41408 * sunrpc/rpc/xdr.h: Likewise.
41409 * sunrpc/rpc_clntout.c: Likewise.
41410 * sunrpc/rpc_cmsg.c: Likewise.
41411 * sunrpc/rpc_common.c: Likewise.
41412 * sunrpc/rpc_cout.c: Likewise.
41413 * sunrpc/rpc_dtable.c: Likewise.
41414 * sunrpc/rpc_hout.c: Likewise.
41415 * sunrpc/rpc_main.c: Likewise.
41416 * sunrpc/rpc_parse.c: Likewise.
41417 * sunrpc/rpc_parse.h: Likewise.
41418 * sunrpc/rpc_prot.c: Likewise.
41419 * sunrpc/rpc_sample.c: Likewise.
41420 * sunrpc/rpc_scan.c: Likewise.
41421 * sunrpc/rpc_scan.h: Likewise.
41422 * sunrpc/rpc_svcout.c: Likewise.
41423 * sunrpc/rpc_tblout.c: Likewise.
41424 * sunrpc/rpc_util.c: Likewise.
41425 * sunrpc/rpc_util.h: Likewise.
41426 * sunrpc/rpcinfo.c: Likewise.
41427 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41428 * sunrpc/rpcsvc/key_prot.x: Likewise.
41429 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41430 * sunrpc/rpcsvc/mount.x: Likewise.
41431 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41432 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41433 * sunrpc/rpcsvc/rex.x: Likewise.
41434 * sunrpc/rpcsvc/rstat.x: Likewise.
41435 * sunrpc/rpcsvc/rusers.x: Likewise.
41436 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41437 * sunrpc/rpcsvc/spray.x: Likewise.
41438 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41439 * sunrpc/rtime.c: Likewise.
41440 * sunrpc/svc.c: Likewise.
41441 * sunrpc/svc_auth.c: Likewise.
41442 * sunrpc/svc_authux.c: Likewise.
41443 * sunrpc/svc_raw.c: Likewise.
41444 * sunrpc/svc_run.c: Likewise.
41445 * sunrpc/svc_simple.c: Likewise.
41446 * sunrpc/svc_tcp.c: Likewise.
41447 * sunrpc/svc_udp.c: Likewise.
41448 * sunrpc/svc_unix.c: Likewise.
41449 * sunrpc/svcauth_des.c: Likewise.
41450 * sunrpc/xcrypt.c: Likewise.
41451 * sunrpc/xdr.c: Likewise.
41452 * sunrpc/xdr_array.c: Likewise.
41453 * sunrpc/xdr_float.c: Likewise.
41454 * sunrpc/xdr_mem.c: Likewise.
41455 * sunrpc/xdr_rec.c: Likewise.
41456 * sunrpc/xdr_ref.c: Likewise.
41457 * sunrpc/xdr_sizeof.c: Likewise.
41458 * sunrpc/xdr_stdio.c: Likewise.
41460 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41463 2010-08-19 Andreas Schwab <schwab@redhat.com>
41465 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41467 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41469 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41470 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41472 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41474 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41475 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41476 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41478 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41479 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41480 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41481 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41482 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41484 2010-07-26 Anton Blanchard <anton@samba.org>
41486 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41487 * malloc/arena.c (heap_trim): Likewise.
41489 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41491 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41493 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41494 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41496 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41498 * sysdeps/i386/elf/Makefile: New file.
41500 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41502 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41503 from fanotify_init.
41504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41507 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41509 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41511 * sysdeps/multiarch/strcmp.S: Likewise.
41513 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41515 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41516 strncase_l-nonascii.
41517 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41518 Add strncase_l-ssse3.
41519 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41520 * sysdeps/x86_64/strcmp.S: Likewise.
41521 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41522 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41523 * sysdeps/x86_64/strncase.S: New file.
41524 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41525 * sysdeps/x86_64/strncase_l.S: New file.
41526 * string/Makefile (strop-tests): Add strncasecmp.
41527 * string/test-strncasecmp.c: New file.
41529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41532 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41533 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41535 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41537 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41539 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41541 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41545 2010-05-01 Alan Modra <amodra@gmail.com>
41547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41548 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41549 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41550 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41551 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41552 tidying. Don't tail-call __sigjmp_save for static lib.
41553 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41555 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41556 (CALL_MCOUNT): Add eh info, and nop after bl.
41557 (TAIL_CALL_SYSCALL_ERROR): New macro.
41558 (PSEUDO_RET): Use it.
41559 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41560 Correct save location of integer regs and cr.
41561 (_dl_profile_resolve): Correct cr save location. Delete nops
41562 after bl when SHARED. Reduce cfi size a little by better
41563 placement of cfi directives.
41564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41565 make a stack frame. Instead use parm save area as a temp.
41566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41567 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41569 Don't make a stack frame for parent, use parm save area.
41570 Increase child stack frame to 112 bytes. Don't save unused reg,
41571 and adjust reg usage. Set up cfi on error recovery and
41572 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41574 (__makecontext): Add dummy nop after jump to exit.
41575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41576 Use correct parm save area and cr save, reduce stack frame.
41577 Correct cfi for possible PSEUDO_RET frame setup.
41578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41579 Branch to local label emitted by PSEUDO_RET rather than
41582 2010-08-12 Andreas Schwab <schwab@redhat.com>
41585 * locale/programs/locale.c (print_assignment): New function.
41586 (show_locale_vars): Use it.
41588 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41590 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41592 (struct statfs64): Likewise.
41593 (_STATFS_F_FLAGS): Define.
41594 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41595 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41596 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41597 (ST_VALID): Define locally.
41598 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41599 __statvfs_getflags, use the provided value.
41600 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41601 __ASSUME_STATFS_F_FLAGS.
41603 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41605 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41606 Add sys/fanotify.h.
41607 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41608 fanotify_mask for GLIBC_2.13.
41609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41610 fanotify_init and fanotify_mark.
41611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41612 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41616 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41617 prlimit64 for GLIBC_2.13.
41618 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41624 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41628 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41631 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41632 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41634 * nss/Makefile: Add rules to build and run tst-nss-test1.
41635 * shlib-versions: Add entry for libnss_test1.
41636 * nss/nss_test1.c: New file.
41637 * nss/tst-nss-test1.c: New file.
41639 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41640 (__nss_configure_lookup): Set appropriate entry in
41641 __nss_configure_lookup to true.
41642 * nss/nsswitch.h: Define enum with indeces of databases in
41643 databases and __nss_database_custom arrays. Declare
41644 __nss_database_custom.
41645 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41646 to avoid using nscd when custom rules are installed.
41647 * nss/getXXbyYY_r.c: Likewise.
41648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41650 * nss/nss_files/files-parse.c: Whitespace fixes.
41652 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41655 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41656 * posix/fnmatch_loop.c: Likewise.
41658 2010-07-17 Andi Kleen <ak@linux.intel.com>
41660 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41661 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41662 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41663 * Versions.def [GLIBC_2.13]: Add.
41665 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41668 Also fail if tpwd after pwuid call is NULL.
41670 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41672 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41673 when converting to ms.
41675 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41677 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41678 EOPNOTSUPP errors with ENOTTY.
41679 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41680 EOPNOTSUPP errors with ENOTTY.
41682 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41684 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41685 Add strcasecmp_l-ssse3.
41686 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41688 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41689 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41692 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41694 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41696 * string/Makefile (strop-tests): Add strcasecmp.
41697 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41698 strcasecmp_l-nonascii.
41699 (gen-as-const-headers): Add locale-defines.sym.
41700 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41701 * sysdeps/x86_64/strcasecmp.S: New file.
41702 * sysdeps/x86_64/strcasecmp_l.S: New file.
41703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41704 * sysdeps/x86_64/locale-defines.sym: New file.
41705 * string/test-strcasecmp.c: New file.
41707 * string/test-strcasestr.c: Test both ends of the range of characters.
41708 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41710 2010-07-29 Roland McGrath <roland@redhat.com>
41713 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41715 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41717 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41720 2010-07-27 Andreas Schwab <schwab@redhat.com>
41722 * manual/memory.texi (Malloc Tunable Parameters): Document
41725 2010-07-26 Roland McGrath <roland@redhat.com>
41728 * configure.in (-fgnu89-inline check): Set and substitute
41729 gnu89_inline, not libc_cv_gnu89_inline.
41730 * configure: Regenerated.
41731 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41733 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41735 * string/test-strnlen.c: New file.
41736 * string/Makefile (strop-tests): Add strnlen.
41737 * string/tester.c (test_strnlen): Add a few more test cases.
41738 * string/tst-strlen.c: Better error reporting.
41740 * sysdeps/x86_64/strnlen.S: New file.
41742 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41745 lower-latency instructions.
41747 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41749 * string/test-strcasestr.c: New file.
41750 * string/test-strstr.c: New file.
41751 * string/Makefile (strop-tests): Add strstr and strcasestr.
41752 * string/str-two-way.h: Don't undefine MAX.
41753 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41755 2010-07-21 Andreas Schwab <schwab@redhat.com>
41757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41758 strcasestr-nonascii.
41759 (CFLAGS-strcasestr-nonascii.c): Define.
41760 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41761 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41762 Remove unused attribute.
41764 2010-07-20 Roland McGrath <roland@redhat.com>
41766 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41767 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41768 ld.so.cache was broken. With it, there is no way to disable dsocaps
41769 like LD_HWCAP_MASK can disable hwcaps.
41771 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41773 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41775 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41777 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41778 call in strcasestr.
41779 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41780 __strcasestr_sse42_nonascii.
41781 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41782 strcasestr-nonascii.c.
41783 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41785 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41788 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41789 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41790 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41792 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41797 2010-07-06 Andreas Schwab <schwab@redhat.com>
41800 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41803 2010-07-06 Ulrich Drepper <drepper@redhat.com>
41805 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41806 _PC_PIPE_BUF using F_GETPIPE_SZ.
41808 2010-07-05 Roland McGrath <roland@redhat.com>
41810 * manual/arith.texi (Rounding Functions): Fix rint description
41811 implicit in round description.
41813 2010-07-02 Ulrich Drepper <drepper@redhat.com>
41815 * elf/Makefile: Fix linking for a few tests to make recent linker
41818 2010-06-30 Andreas Schwab <schwab@redhat.com>
41820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41821 $(common-objpfx)libc_nonshared.a.
41823 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
41825 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41826 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41827 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41828 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41829 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41830 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41831 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41832 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41847 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41848 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41849 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41850 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41851 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41852 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41853 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41854 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41855 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41856 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41857 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41858 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41874 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41876 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41877 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41878 * string/memmove.c (memmove): Renamed to ...
41879 (MEMMOVE): ...this. Default to memmove.
41880 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41881 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41884 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41885 mempcpy-ssse3-back memmove-ssse3-back.
41886 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41889 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41890 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41891 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41892 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41893 * sysdeps/x86_64/multiarch/memmove.c: New file.
41894 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41895 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41896 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41897 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41901 (index_Fast_Copy_Backward): Define.
41902 (HAS_ARCH_FEATURE): Define.
41903 (HAS_FAST_REP_STRING): Define.
41904 (HAS_FAST_COPY_BACKWARD): Define.
41906 2010-06-21 Andreas Schwab <schwab@redhat.com>
41908 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41909 Restore proper fallback handling.
41911 2010-06-19 Ulrich Drepper <drepper@redhat.com>
41914 * posix/group_member.c (__group_member): Correct checking loop.
41916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41917 OOM in getpwuid_r correctly. Return error number when the caller
41918 should return, otherwise -1.
41919 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41920 call returning > 0 value.
41921 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41923 2010-06-07 Andreas Schwab <schwab@redhat.com>
41925 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41926 libc_nonshared.a from targets in modules-names.
41928 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41930 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41933 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
41935 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41936 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41938 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41940 2010-06-02 Andreas Schwab <schwab@redhat.com>
41942 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41944 2010-06-14 Ulrich Drepper <drepper@redhat.com>
41946 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41948 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41955 2010-06-14 Roland McGrath <roland@redhat.com>
41957 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41959 2010-06-07 Jakub Jelinek <jakub@redhat.com>
41961 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41962 __REDIRECT followed by __THROW.
41963 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41964 * posix/getopt.h (getopt): Likewise.
41966 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41968 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41969 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41970 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41972 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41973 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41975 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
41977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41979 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41983 Properly check family and model.
41985 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41987 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41989 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
41991 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41993 2010-05-21 Ulrich Drepper <drepper@redhat.com>
41995 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41998 2010-05-19 Andreas Schwab <schwab@redhat.com>
42000 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42003 2010-05-21 Andreas Schwab <schwab@redhat.com>
42005 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42006 and internal_recvmmsg.
42007 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42008 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42009 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42010 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42012 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42013 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42014 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42016 2010-05-20 Andreas Schwab <schwab@redhat.com>
42018 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42020 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42022 POWER7 optimizations.
42023 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42024 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42026 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42028 * version.h: Update for 2.13 development version.
42030 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42032 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42033 exceptions. Return 0.
42035 2010-05-07 Roland McGrath <roland@redhat.com>
42037 * elf/ldconfig.c (main): Add a const.
42039 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42041 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42042 (args_options): Add no-idn option.
42043 (ahosts_keys_int): Add idn_flags to ai_flags.
42044 (parse_option): Handle 'i' option to clear idn_flags.
42046 * malloc/malloc.c (_int_free): Possible race in the most recently
42047 added check. Only act on the data if no current modification
42050 See ChangeLog.17 for earlier changes.