1 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4 * manual/stdio.texi (Hook functions): Fix types of stream hook
7 * socket/sys/socket.h: Fix typo in comment.
9 2014-04-28 Wilco <wdijkstr@arm.com>
11 * sysdeps/arm/fenv_private.h: New file.
12 * sysdeps/arm/math_private.h: New file.
13 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19 (La_x86_64_retval): Likewise.
21 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
24 fpsr if value didn't change.
25 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
26 to fpcr if value didn't change.
27 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29 fpsr or fpcr if value didn't change.
30 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32 fpcr if value didn't change.
33 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34 to fpsr if value didn't change.
36 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38 * nptl/tst-sem3.c: Use test-skeleton.c
39 (main): Rename to do_test. Use return instead of
41 * nptl/tst-sem4.c: Use test-skeleton.c
42 (main): Rename to do_test.
44 2014-04-22 David S. Miller <davem@davemloft.net>
46 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47 (struct sigaction): New struct member __glibc_reserved0, change
48 type of sa_flags to int.
50 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
52 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53 (COUNT_LEADING_ZEROS_0): Define for AArch64.
55 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
58 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
60 2014-04-22 Will Newton <will.newton@linaro.org>
61 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
63 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
64 (__longjmp): Add longjmp and longjmp_target SystemTap
66 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
67 (__sigsetjmp): Add setjmp SystemTap probe.
69 2014-04-17 Carlos O'Donell <carlos@redhat.com>
71 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
74 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
78 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80 * sysdeps/powerpc/fpu/fenv_private.h
81 (libc_feholdexcept_setroundl_ctx): Define to
82 libc_feholdexcept_setround_ppc_ctx.
83 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
84 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
85 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
86 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
88 2014-04-17 Ian Bolton <ian.bolton@arm.com>
90 * sysdeps/aarch64/math-tests.h: New file.
92 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
94 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
96 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
97 Check and set bit_AVX2_Usable.
98 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
100 (bit_AVX2): Likewise.
101 (index_AVX2_Usable): Likewise.
102 (CPUID_AVX2): Likewise.
103 (HAS_AVX2): Likewise.
105 2014-04-17 Will Newton <will.newton@linaro.org>
107 * manual/setjmp.texi (System V contexts): Add note that
108 calling setcontext on a context created by a call to a
109 signal handler is undefined. Update text to note that
110 setcontext from a signal handler is possible but not
114 * stdlib/tst-setcontext.c: Include signal.h.
115 (main): Check that the signal stack before and
116 after swapcontext is the same.
118 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
119 Re-implement to restore registers in user code and avoid
120 rt_sigreturn system call.
122 2014-04-17 Wilco <wdijkstr@arm.com>
124 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
125 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
126 * math/test-fenv.c: Skip exception trap tests on targets which only
127 support non-stop mode.
129 2014-04-17 Ian Bolton <ian.bolton@arm.com>
130 Wilco Dijkstra <wilco.dijkstra@arm.com>
132 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
133 (libc_feholdsetround_aarch64_ctx)
134 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
135 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
136 (libc_feresetround_ctx, libc_feresetroundf_ctx)
137 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
138 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
139 (libc_feresetround_noexl_ctx): Define.
141 2014-04-16 Richard Henderson <rth@redhat.com>
143 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
145 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
148 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
149 const from the non-libc, non-ldso copy.
151 * sysdeps/alpha/libm-test-ulps: Regenerate.
153 2014-04-16 Ian Bolton <ian.bolton@arm.com>
154 Wilco Dijkstra <wilco.dijkstra@arm.com>
156 * sysdeps/aarch64/fpu/math_private.h: New file.
158 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
160 * sysdeps/aarch64/libm-test-ulps: Regenerate.
162 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
164 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
165 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
167 Intel MPX bound registers before _dl_profile_fixup.
168 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
169 registers after _dl_profile_fixup. Save and restore bound
170 registers bnd0/bnd1 when calling _dl_call_pltexit.
171 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
172 (LR_BND_OFFSET): Likewise.
173 (LRV_BND0_OFFSET): Likewise.
174 (LRV_BND1_OFFSET): Likewise.
176 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
178 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
180 * sysdeps/mach/hurd/i386/tls.h: ... here.
181 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
182 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
185 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
187 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
189 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
193 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
196 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
197 * sysdeps/s390/configure: Regenerate.
199 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
202 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
203 Set round-to-nearest internally to reduce error accumulation.
205 2014-04-16 Alan Modra <amodra@gmail.com>
209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
210 * math/libm-test.inc (frexp_test_data): Add tests.
211 * NEWS: Update fixed bug list.
213 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
215 * benchtests/Makefile: Depend on libraries in build directory.
216 (bench-math): Separate out math tests.
217 (bench-pthread): Separate out pthread tests.
218 (bench): Include math and pthread tests.
220 2014-04-14 Carlos O'Donell <carlos@redhat.com>
223 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
224 _dl_debug_initialize.
226 2014-04-14 Carlos O'Donell <carlos@redhat.com>
228 * configure.ac: Remove SELinux header check.
229 * configure: Regenerate.
230 * nscd/selinux.c (perms): Array of const char* to permission names.
231 (nscd_request_avc_has_perm): Call security_deny_unknown to find
232 default policy. Call string_to_security_class and string_to_av_perm to
233 translate strings. Enforce default policy and call avs_has_perm with
234 results of translated strings.
236 2014-04-13 David S. Miller <davem@davemloft.net>
238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
240 2014-04-12 Allan McRae <allan@archlinux.org>
243 * manual/string.texi (Collation Functions): Fix qsort argument
245 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
247 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
249 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
250 Make the test a no-op if there are no exceptions defined.
252 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
254 * elf/Makefile (tests): make tst-dlopen-aout conditional on
255 enable-hardcoded-path-in-tests
257 2014-04-11 Will Newton <will.newton@linaro.org>
259 * benchtests/Makefile (extra-objs): Add json-lib.o.
260 (bench-func): Tidy up JSON output.
261 * benchtests/bench-skeleton.c: Include json-lib.h.
262 (main): Use JSON library functions to do output of
264 * benchtests/bench-timing-type.c (main): Output the
265 timing type simply, leaving formatting to the user.
266 * benchtests/json-lib.c: New file.
267 * benchtests/json-lib.h: Likewise.
269 2014-04-11 Torvald Riegel <triegel@redhat.com>
272 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
273 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
274 memory barriers. Add comments.
275 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
276 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
277 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
278 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
279 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
280 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
282 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
284 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
285 * sysdeps/s390/s390-64/configure.ac: ... this ...
286 * sysdeps/s390/configure.ac: ... to here.
287 * sysdeps/s390/s390-32/configure: Delete file.
288 * sysdeps/s390/s390-64/configure: Delete file.
289 * sysdeps/s390/configure: Regenerate.
291 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
293 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
295 2014-04-11 Will Newton <will.newton@linaro.org>
297 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
298 to zero if it is not defined elsewhere. (mtrim): Test
299 the value of MALLOC_DEBUG with #if rather than #ifdef.
301 2014-04-10 Torvald Riegel <triegel@redhat.com>
303 * benchtests/pthread_once-inputs: New file.
304 * benchtests/pthread_once-source.c: New file.
305 * benchtests/README: Update documentation.
307 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
308 H.J. Lu <hongjiu.lu@intel.com>
310 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
311 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
312 * sysdeps/x86_64/configure: Regenerated.
313 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
315 (REGISTER_SAVE_RAX): Likewise.
316 (REGISTER_SAVE_RCX): Likewise.
317 (REGISTER_SAVE_RDX): Likewise.
318 (REGISTER_SAVE_RSI): Likewise.
319 (REGISTER_SAVE_RDI): Likewise.
320 (REGISTER_SAVE_R8): Likewise.
321 (REGISTER_SAVE_R9): Likewise.
322 (REGISTER_SAVE_BND0): Likewise.
323 (REGISTER_SAVE_BND1): Likewise.
324 (REGISTER_SAVE_BND2): Likewise.
325 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
326 bound registers when calling _dl_fixup.
328 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
331 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
333 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
334 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
335 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
336 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
337 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
338 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
339 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
341 2014-04-09 Peter Brett <peter@peter-b.co.uk>
344 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
345 pathconf(_PC_NAME_MAX).
347 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
349 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
351 (__PTHREAD_SPINS): Move definition to ...
352 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
353 (__PTHREAD_SPINS): ... here.
354 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
355 (__PTHREAD_SPIN): Likewise.
356 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
357 (__PTHREAD_SPIN): Likewise.
358 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
359 (__PTHREAD_SPIN): Likewise.
360 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
361 (__PTHREAD_SPIN): Likewise.
362 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
363 (__PTHREAD_SPIN): Likewise.
364 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
365 (__PTHREAD_SPIN): Likewise.
366 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
367 (__PTHREAD_SPIN): Likewise.
368 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
369 (__PTHREAD_SPIN): Likewise.
370 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
371 (__PTHREAD_SPIN): Likewise.
372 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
373 (__PTHREAD_SPIN): Likewise.
374 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
375 (__PTHREAD_SPIN): Likewise.
376 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
377 (__PTHREAD_SPIN): Likewise.
379 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
382 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
383 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
384 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
386 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
387 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
388 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
389 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
391 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
392 strlen symbol for non multi-arch builds.
393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
394 missing hidden_def and weak_alias.
396 2014-04-08 Carlos O'Donell <carlos@redhat.com>
398 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
400 2014-04-07 Will Newton <will.newton@linaro.org>
402 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
403 and contents. [!_LIBC] Remove #ifndef and contents.
404 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
405 * string/memccpy.c (__memccpy): Use ANSI prototype.
406 * string/memfrob.c (memfrob): Likewise.
407 * string/strcoll.c (STRCOLL): Likewise.
408 * string/strlen.c (strlen): Likewise.
409 * string/strtok.c (STRTOK): Likewise.
410 * string/strcat.c: Remove unused #include of memcopy.h.
411 (strcat): Use ANSI prototype.
412 * string/strchr.c: Remove unused #include of memcopy.h.
413 (strchr): Use ANSI prototype.
414 * string/strcmp.c: Remove unused #include of memcopy.h.
415 (strcmp): Use ANSI prototype.
416 * string/strcpy.c: Remove unused #include of memcopy.h.
417 (strcpy): Use ANSI prototype.
419 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
422 * config.make.in (config-extra-cppflags): Set it from
424 * configure.ac (libc_extra_cflags): Make it accumulate over
426 (libc_extra_cppflags): New flag.
427 * configure. Regenerate.
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
429 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
430 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
433 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
437 result for FE_DOWNWARD rounding mode.
438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
442 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
444 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
445 in function argument name.
447 2014-04-03 David Svoboda <svoboda@cert.org>
450 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
453 2014-04-03 Roland McGrath <roland@hack.frob.com>
455 * elf/dl-unmap-segments.h: New file.
456 * sysdeps/generic/ldsodefs.h
457 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
458 * elf/dl-close.c: Include <dl-unmap-segments.h>.
459 * elf/dl-fptr.c: Likewise.
460 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
461 * sysdeps/aarch64/tlsdesc.c: Likewise.
462 * sysdeps/arm/tlsdesc.c: Likewise.
463 * sysdeps/i386/tlsdesc.c: Likewise.
464 * sysdeps/tile/dl-runtime.c: Likewise.
465 * sysdeps/x86_64/tlsdesc.c: Likewise.
466 * elf/dl-load.h: New file.
467 * elf/dl-load.c: Include it.
468 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
469 Macros moved to dl-load.h.
470 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
471 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
472 Use _dl_unmap_segments in place of __munmap.
473 Break out segment-mapping loop into ...
474 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
476 2014-04-03 Will Newton <will.newton@linaro.org>
478 * elf/dl-lookup.c (do_lookup_x): Remove comment
479 referring to nested function and move variable
480 declarations down to before first use.
482 2014-04-02 Joseph Myers <joseph@codesourcery.com>
486 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
488 * math/s_catanf.c (__catanf): Likewise.
489 * math/s_catanh.c (__catanh): Likewise.
490 * math/s_catanhf.c (__catanhf): Likewise.
491 * math/s_catanhl.c (__catanhl): Likewise.
492 * math/s_catanl.c (__catanl): Likewise.
493 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
494 by positive zero when computing -Inf result.
495 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
496 (catanh_test): Likewise.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
501 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
502 instead of using underflowing value in computing result.
503 * math/s_clog10.c (__clog10): Likewise.
504 * math/s_clog10f.c (__clog10f): Likewise.
505 * math/s_clog10l.c (__clog10l): Likewise.
506 * math/s_clogf.c (__clogf): Likewise.
507 * math/s_clogl.c (__clogl): Likewise.
508 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
509 (clog10_test): Likewise.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513 2014-04-02 Alan Modra <amodra@gmail.com>
516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
517 output when value is near a power of two. Use int64_t for lx and
518 remove casts. Use decimal rather than hex exponent constants.
519 Don't use long double multiplication when double will suffice.
520 * math/libm-test.inc (nextafter_test_data): Add tests.
521 * NEWS: Add 16739 and 16786 to bug list.
523 2014-04-02 Alan Modra <amodra@gmail.com>
525 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
527 2014-04-02 Alan Modra <amodra@gmail.com>
529 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
531 2014-04-01 Will Newton <will.newton@linaro.org>
533 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
534 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
536 2014-04-01 Florian Weimer <fweimer@redhat.com>
539 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
540 * nptl/tst-setuid2.c: New file.
541 * nptl/Makefile (xtests): Add tst-setuid2.
543 2014-04-01 Alan Modra <amodra@gmail.com>
546 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
548 2014-03-31 Joseph Myers <joseph@codesourcery.com>
552 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
553 set errno as appropriate.
554 * math/w_scalbf.c (__scalbf): Likewise.
555 * math/w_scalbl.c (__scalbl): Likewise.
556 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
557 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
558 * math/libm-test.inc (scalb_test_data): Add errno expectations.
562 * math/w_atan2.c: Include <errno.h>.
563 (__atan2): Set errno for result underflowing to zero.
564 * math/w_atan2f.c: Include <errno.h>.
565 (__atan2f): Set errno for result underflowing to zero.
566 * math/w_atan2l.c: Include <errno.h>.
567 (__atan2l): Set errno for result underflowing to zero.
568 * math/auto-libm-test-in: Don't allow missing errno for some atan2
570 * math/auto-libm-test-out: Regenerated.
572 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
575 Encode instruction correctly in little endian.
576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
580 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
585 2014-03-31 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/sysv/linux/kernel-features.h
589 [__sparc__ && !__arch64__ && !__sparc_v9__]
590 (__ASSUME_SET_ROBUST_LIST): Do not define.
591 [__sparc__ && !__arch64__ && !__sparc_v9__]
592 (__ASSUME_FUTEX_LOCK_PI): Likewise.
593 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
596 (__ASSUME_FUTEX_LOCK_PI): Undefine.
597 (__ASSUME_REQUEUE_PI): Likewise.
598 (__ASSUME_SET_ROBUST_LIST): Likewise.
599 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
600 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
603 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
607 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
610 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
613 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
618 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
619 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
621 2014-03-31 Will Newton <will.newton@linaro.org>
623 * benchtests/Makefile (bench): Add ffs and ffsll to list
625 * benchtests/ffs-inputs: New file.
626 * benchtests/ffsll-inputs: Likewise.
628 2014-03-29 Joseph Myers <joseph@codesourcery.com>
631 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
632 too large before casting to int.
633 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
634 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
635 * math/libm-test.inc (scalb_test_data): Add more tests.
637 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
639 * benchtests/Makefile (DETAILED_OPT): New make option.
640 (bench-func): Run benchmark program with -d if DETAILED_OPT is
642 * benchtests/bench-skeleton.c: Include stdbool.h.
643 (main): Store and print timings per input.
644 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
645 member to each argument value.
646 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
647 (_print_arg_data): Initialize per-input timing to 0.
649 * benchtests/Makefile (timing-type): New binary.
650 (bench-clean): Also remove bench-timing-type.
651 (bench): New target for timing-type.
652 (bench-func): Print output in JSON format.
653 * benchtests/bench-skeleton.c (main): Print output in JSON
655 * benchtests/bench-timing-type.c: New file.
656 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
657 (TIMING_PRINT_STATS): Remove.
658 * benchtests/scripts/bench.py (_print_arg_data): Store variant
661 * benchtests/bench-modf.c: Remove.
662 * benchtests/modf-inputs: New inputs file.
664 2014-03-28 Joseph Myers <joseph@codesourcery.com>
667 * math/s_clog10.c (M_PI_LOG10E): New macro.
668 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
669 imaginary parts are 0.
670 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
671 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
672 imaginary parts are 0.
673 * math/s_clog10l.c (M_PI_LOG10El): New macro.
674 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
675 imaginary parts are 0.
676 * math/libm-test.inc (clog10_test_data): Update expected results
677 for when real and imaginary parts are 0.
679 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
681 * elf/dl-load.c: Finish conversion of __builtin_expect into
684 2014-03-27 Joseph Myers <joseph@codesourcery.com>
687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
688 1+x for argument with exponent below -67.
689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
691 * math/auto-libm-test-in: Add more tests of exp.
692 * math/auto-libm-test-out: Regenerated.
694 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
697 * inet/getnetgrent_r.c (get_nonempty_val): New function.
698 (nscd_getnetgrent): Use it.
701 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
704 2014-03-27 Andi Kleen <ak@linux.intel.com>
706 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
707 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
708 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
709 Remove out of line section. Use cfi intrinsics.
710 (LLL_STUB_UNWIND_INFO*): Remove.
711 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
712 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
713 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
714 Remove out of line section. Use cfi intrinsics.
715 (LLL_STUB_UNWIND_INFO*): Remove.
717 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
720 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
723 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
725 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
727 2014-03-26 Joseph Myers <joseph@codesourcery.com>
730 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
732 * math/test-fenv-preserve.c: New file.
733 * math/Makefile (tests): Add test-fenv-preserve.
735 2014-03-26 Will Newton <will.newton@linaro.org>
737 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
739 2014-03-25 Roland McGrath <roland@hack.frob.com>
741 * scripts/versionlist.awk: Partition the version sets and emit all
742 GLIBC_* (sorted) before all others (sorted).
744 2014-03-25 Joseph Myers <joseph@codesourcery.com>
746 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
749 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
751 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
754 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
759 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
763 2014-03-25 Andreas Schwab <schwab@suse.de>
765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
766 label to be used after in6ailist is initialized.
768 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
771 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
773 2014-03-25 Joseph Myers <joseph@codesourcery.com>
777 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
779 (fp_formats): Update initializers.
780 (init_fp_formats): Initialize new field.
781 (output_for_one_input_case): Allow underflow for results up to
783 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
784 * math/auto-libm-test-in: Don't mark some underflows from asin and
786 * math/auto-libm-test-out: Regenerated.
787 * sysdeps/i386/fpu/libm-test-ulps: Update.
788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
790 2014-03-25 Andreas Schwab <schwab@suse.de>
792 * libio/Makefile (tst-ftell-partial-wide-ENV)
793 (tst-ftell-active-handler-ENV): Define.
795 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
797 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
799 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
801 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
803 2014-03-24 Joseph Myers <joseph@codesourcery.com>
805 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
806 * sysdeps/x86_64/fpu/multiarch/e_exp.c
807 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
809 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
812 * elf/dl-load.c (open_verify): Add mode parameter.
813 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
814 (open_path): Change from boolean 'secure' to complete flag 'mode'
815 (_dl_map_object): Adjust.
816 * elf/Makefile (tests): Add tst-dlopen-aout.
817 * elf/tst-dlopen-aout.c: New test.
819 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
822 * sysdeps/unix/sysv/linux/s390/bits/stat.h
823 (struct stat): Rename member pad0 to __glibc_reserved0.
825 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
828 * sysdeps/s390/s390-32/bits/wordsize.h
829 (__WORDSIZE32_SIZE_ULONG): New define.
830 * sysdeps/s390/s390-64/bits/wordsize.h
831 (__WORDSIZE32_SIZE_ULONG): Likewise.
832 * sysdeps/generic/stdint.h (SIZE_MAX):
833 Define as UL if __WORDSIZE32_SIZE_ULONG.
835 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
838 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
839 (__glibc_reserved0): New variable.
840 (sa_flags): Change type to int.
842 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
844 * posix/Makefile (before-compile): Use += before-compile instead
847 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
849 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
850 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
852 2014-03-20 Andreas Schwab <schwab@suse.de>
855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
856 non-matching result from nscd.
858 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
860 * scripts/bench.py: Moved to ...
861 * benchtests/scripts/bench.py: ... here.
862 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
864 2014-03-24 Andreas Schwab <schwab@suse.de>
867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
868 alloca_account and account alloca use for struct in6ailist.
870 2014-03-24 Joseph Myers <joseph@codesourcery.com>
873 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
874 rounding mode to recompute results that overflow to infinity or
876 * math/auto-libm-test-in: Don't mark tests as expected to fail for
878 * math/auto-libm-test-out: Regenerated.
879 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
880 (ccosh_test): Likewise.
881 (csin_test_data): Use plus_oflow.
882 (csin_test): Use ALL_RM_TEST.
883 (csinh_test_data): Use plus_oflow.
884 (csinh_test): Use ALL_RM_TEST.
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
888 2014-03-21 Joseph Myers <joseph@codesourcery.com>
890 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
891 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
892 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
895 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
897 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
898 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
899 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
902 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
903 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
905 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
906 * sysdeps/i386/fpu/libm-test-ulps: Update.
907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
909 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * scripts/bench.pl: Remove file.
912 * scripts/bench.py: New benchmark script.
913 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
914 * benchtests/README: Mention python dependency.
915 * scripts/pylintrc: New file.
916 * scripts/pylint: New file.
918 * bits/mathdef.h: Use #ifdef instead of #if.
919 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
920 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
921 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
922 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
923 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
924 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
926 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
927 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
929 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
931 and strpbrk-ppc64 objects.
932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
933 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
934 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
935 multiarch strpbrk for POWER7.
936 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
937 multiarch strpbrk for PPC64.
938 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
940 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
943 2014-03-20 Joseph Myers <joseph@codesourcery.com>
945 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
946 (atan_test): Likewise.
947 (atanh_test_data): Use NO_TEST_INLINE for two tests.
948 (atanh_test): Use ALL_RM_TEST.
949 (atan2_test_data): Likewise.
950 (cabs_test): Likewise.
951 (cacosh_test): Likewise.
952 (carg_test): Likewise.
953 (casin_test): Likewise.
954 (casinh_test): Likewise.
955 (cbrt_test): Likewise.
956 (csqrt_test): Likewise.
957 (erf_test): Likewise.
958 (erfc_test): Likewise.
959 (pow10_test): Likewise.
960 (exp2_test): Likewise.
961 (hypot_test): Likewise.
964 (lgamma_test): Likewise.
965 (gamma_test): Likewise.
966 (sincos_test): Likewise.
967 (tanh_test): Likewise.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
973 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
977 and strcspn-ppc64 objects.
978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
979 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
981 multiarch strcspn for POWER7.
982 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
983 multiarch strcspn for PPC64.
984 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
986 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
989 2014-03-20 Joseph Myers <joseph@codesourcery.com>
991 * math/gen-libm-test.pl (generate_testfile): Expect only function
992 name as argument to AUTO_TESTS_* and pass results for all rounding
994 (parse_auto_input): Separate inputs of automatic tests from
995 outputs before storing in %auto_tests.
996 * math/libm-test.inc (acos_test_data): Update call to
998 (acos_test): Use ALL_RM_TEST.
999 (acos_tonearest_test_data): Remove.
1000 (acos_test_tonearest): Likewise.
1001 (acos_towardzero_test_data): Likewise.
1002 (acos_test_towardzero): Likewise.
1003 (acos_downward_test_data): Likewise.
1004 (acos_test_downward): Likewise.
1005 (acos_upward_test_data): Likewise.
1006 (acos_test_upward): Likewise.
1007 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1008 (asin_test_data): Likewise.
1009 (asin_test): Use ALL_RM_TEST.
1010 (asin_tonearest_test_data): Remove.
1011 (asin_test_tonearest): Likewise.
1012 (asin_towardzero_test_data): Likewise.
1013 (asin_test_towardzero): Likewise.
1014 (asin_downward_test_data): Likewise.
1015 (asin_test_downward): Likewise.
1016 (asin_upward_test_data): Likewise.
1017 (asin_test_upward): Likewise.
1018 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1019 (atan_test_data): Likewise.
1020 (atanh_test_data): Likewise.
1021 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1022 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1023 (carg_test_data): Likewise.
1024 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1025 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1026 (ccosh_test_data): Likewise.
1027 (cexp_test_data): Likewise.
1028 (clog_test_data): Likewise.
1029 (clog10_test_data): Likewise.
1030 (cos_test_data): Update call to AUTO_TESTS_f_f.
1031 (cos_test): Use ALL_RM_TEST.
1032 (cos_tonearest_test_data): Remove.
1033 (cos_test_tonearest): Likewise.
1034 (cos_towardzero_test_data): Likewise.
1035 (cos_test_towardzero): Likewise.
1036 (cos_downward_test_data): Likewise.
1037 (cos_test_downward): Likewise.
1038 (cos_upward_test_data): Likewise.
1039 (cos_test_upward): Likewise.
1040 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1041 (cosh_test): Use ALL_RM_TEST.
1042 (cosh_tonearest_test_data): Remove.
1043 (cosh_test_tonearest): Likewise.
1044 (cosh_towardzero_test_data): Likewise.
1045 (cosh_test_towardzero): Likewise.
1046 (cosh_downward_test_data): Likewise.
1047 (cosh_test_downward): Likewise.
1048 (cosh_upward_test_data): Likewise.
1049 (cosh_test_upward): Likewise.
1050 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1051 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1052 (ctan_test_data): Likewise.
1053 (ctan_test): Use ALL_RM_TEST.
1054 (ctan_tonearest_test_data): Remove.
1055 (ctan_test_tonearest): Likewise.
1056 (ctan_towardzero_test_data): Likewise.
1057 (ctan_test_towardzero): Likewise.
1058 (ctan_downward_test_data): Likewise.
1059 (ctan_test_downward): Likewise.
1060 (ctan_upward_test_data): Likewise.
1061 (ctan_test_upward): Likewise.
1062 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1063 (ctanh_test): Use ALL_RM_TEST.
1064 (ctanh_tonearest_test_data): Remove.
1065 (ctanh_test_tonearest): Likewise.
1066 (ctanh_towardzero_test_data): Likewise.
1067 (ctanh_test_towardzero): Likewise.
1068 (ctanh_downward_test_data): Likewise.
1069 (ctanh_test_downward): Likewise.
1070 (ctanh_upward_test_data): Likewise.
1071 (ctanh_test_upward): Likewise.
1072 (erf_test_data): Update call to AUTO_TESTS_f_f.
1073 (erfc_test_data): Likewise.
1074 (exp_test_data): Likewise.
1075 (exp_test): Use ALL_RM_TEST.
1076 (exp_tonearest_test_data): Remove.
1077 (exp_test_tonearest): Likewise.
1078 (exp_towardzero_test_data): Likewise.
1079 (exp_test_towardzero): Likewise.
1080 (exp_downward_test_data): Likewise.
1081 (exp_test_downward): Likewise.
1082 (exp_upward_test_data): Likewise.
1083 (exp_test_upward): Likewise.
1084 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1085 (exp10_test): Use ALL_RM_TEST.
1086 (exp10_tonearest_test_data): Remove.
1087 (exp10_test_tonearest): Likewise.
1088 (exp10_towardzero_test_data): Likewise.
1089 (exp10_test_towardzero): Likewise.
1090 (exp10_downward_test_data): Likewise.
1091 (exp10_test_downward): Likewise.
1092 (exp10_upward_test_data): Likewise.
1093 (exp10_test_upward): Likewise.
1094 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1095 (expm1_test_data): Likewise.
1096 (expm1_test): Use ALL_RM_TEST.
1097 (expm1_tonearest_test_data): Remove.
1098 (expm1_test_tonearest): Likewise.
1099 (expm1_towardzero_test_data): Likewise.
1100 (expm1_test_towardzero): Likewise.
1101 (expm1_downward_test_data): Likewise.
1102 (expm1_test_downward): Likewise.
1103 (expm1_upward_test_data): Likewise.
1104 (expm1_test_upward): Likewise.
1105 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1106 (fma_test): Use ALL_RM_TEST.
1107 (fma_towardzero_test_data): Remove.
1108 (fma_test_towardzero): Likewise.
1109 (fma_downward_test_data): Likewise.
1110 (fma_test_downward): Likewise.
1111 (fma_upward_test_data): Likewise.
1112 (fma_test_upward): Likewise.
1113 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1114 (j0_test_data): Update call to AUTO_TESTS_f_f.
1115 (j1_test_data): Likewise.
1116 (jn_test_data): Update call to AUTO_TESTS_if_f.
1117 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1118 (log_test_data): Update call to AUTO_TESTS_f_f.
1119 (log10_test_data): Likewise.
1120 (log1p_test_data): Likewise.
1121 (log2_test_data): Likewise.
1122 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1123 (pow_tonearest_test_data): Likewise.
1124 (sin_test_data): Update call to AUTO_TESTS_f_f.
1125 (sin_test): Use ALL_RM_TEST.
1126 (sin_tonearest_test_data): Remove.
1127 (sin_test_tonearest): Likewise.
1128 (sin_towardzero_test_data): Likewise.
1129 (sin_test_towardzero): Likewise.
1130 (sin_downward_test_data): Likewise.
1131 (sin_test_downward): Likewise.
1132 (sin_upward_test_data): Likewise.
1133 (sin_test_upward): Likewise.
1134 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1135 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1136 (sinh_test): Use ALL_RM_TEST.
1137 (sinh_tonearest_test_data): Remove.
1138 (sinh_test_tonearest): Likewise.
1139 (sinh_towardzero_test_data): Likewise.
1140 (sinh_test_towardzero): Likewise.
1141 (sinh_downward_test_data): Likewise.
1142 (sinh_test_downward): Likewise.
1143 (sinh_upward_test_data): Likewise.
1144 (sinh_test_upward): Likewise.
1145 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1146 (sqrt_test): Use ALL_RM_TEST.
1147 (sqrt_tonearest_test_data): Remove.
1148 (sqrt_test_tonearest): Likewise.
1149 (sqrt_towardzero_test_data): Likewise.
1150 (sqrt_test_towardzero): Likewise.
1151 (sqrt_downward_test_data): Likewise.
1152 (sqrt_test_downward): Likewise.
1153 (sqrt_upward_test_data): Likewise.
1154 (sqrt_test_upward): Likewise.
1155 (tan_test_data): Update call to AUTO_TESTS_f_f.
1156 (tan_test): Use ALL_RM_TEST.
1157 (tan_tonearest_test_data): Remove.
1158 (tan_test_tonearest): Likewise.
1159 (tan_towardzero_test_data): Likewise.
1160 (tan_test_towardzero): Likewise.
1161 (tan_downward_test_data): Likewise.
1162 (tan_test_downward): Likewise.
1163 (tan_upward_test_data): Likewise.
1164 (tan_test_upward): Likewise.
1165 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1166 (tgamma_test_data): Likewise.
1167 (y0_test_data): Likewise.
1168 (y1_test_data): Likewise.
1169 (yn_test_data): Update call to AUTO_TESTS_if_f.
1170 (main): Do not call removed functions.
1172 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1174 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1175 (ldexp_test_data): Remove.
1176 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1178 (scalb_test): Use ALL_RM_TEST.
1180 2014-03-19 Andreas Schwab <schwab@suse.de>
1182 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1184 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1191 (__ASSUME_PREADV): Undefine.
1192 (__ASSUME_PWRITEV): Likewise.
1194 2014-03-18 Roland McGrath <roland@hack.frob.com>
1196 * bits/mman-linux.h: Add comment about non-Linux use.
1197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1198 bits/mman-linux.h resting place.
1200 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1201 * bits/mman-linux.h: ... here.
1203 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205 * conform/conformtest.pl: Add standard definition when calling C
1206 preprocessor on data files.
1207 (checknamespace): Remove unused variable.
1209 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1211 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1212 minus_oflow, plus_uflow and minus_uflow in expected results.
1213 * math/libm-test.inc (scalbn_test_data): Add more tests of
1214 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1216 (scalbn_test): Use ALL_RM_TEST.
1217 (scalbln_test_data): Add more tests of negative arguments. Use
1218 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1219 (scalbln_test): Use ALL_RM_TEST.
1221 2014-03-18 Roland McGrath <roland@hack.frob.com>
1223 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1225 2014-03-18 Will Newton <will.newton@linaro.org>
1227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1230 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1232 * Makerules [!subdir] (check-abi): Exit with error status if a
1235 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1237 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1238 for rint. Include results for all rounding modes.
1239 (nearbyint_test): Use ALL_RM_TEST.
1240 (rint_test_data): Include all tests used for nearbyint.
1242 2014-03-17 Will Newton <will.newton@linaro.org>
1244 * nptl/sysdeps/pthread/pthread.h: Revert previous
1247 * sysdeps/generic/ldsodefs.h: Revert previous
1250 * libio/genops.c: Revert previous change.
1251 * libio/libioP.h: Likewise.
1252 * stdio-common/vfprintf.c: Likewise.
1254 * sysdeps/generic/math_private.h: Revert previous
1257 * sysdeps/generic/math_private.h: Check whether
1258 HAVE_RM_CTX is defined with #ifdef rather
1261 * argp/argp-fmtstream.h: Check whether
1262 __STRICT_ANSI__ is defined with #ifdef rather
1264 * argp/argp.h: Likewise.
1266 * libio/genops.c: Check whether
1267 _IO_JUMPS_OFFSET is defined with #ifdef rather
1269 * libio/libioP.h: Likewise.
1270 * stdio-common/vfprintf.c: Likewise.
1272 * sysdeps/generic/ldsodefs.h: Check whether
1273 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1276 * nptl/sysdeps/pthread/pthread.h: Check
1277 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1280 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1282 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1284 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1288 * libio/fileops.c (_IO_file_open): Seek to end of file but
1289 don't cache the offset.
1290 (get_file_offset): Remove function.
1291 (do_ftell): Use cached offset when available.
1292 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1293 don't cache the offset.
1294 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1296 (do_one_test): Call it.
1297 (do_ftell_test): Fix up expected old offset for a+ mode.
1298 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1301 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1302 up test status with function return status.
1303 (do_write_test): Likewise.
1304 (do_append_test): Likewise.
1306 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1307 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1310 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1312 * math/gen-libm-test.pl (parse_args): Handle results specified for
1313 each rounding mode separately.
1314 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1315 tests and results from lrint_tonearest_test_data,
1316 lrint_towardzero_test_data, lrint_downward_test_data and
1317 lrint_upward_test_data.
1318 (lrint_test): Use ALL_RM_TEST.
1319 (lrint_tonearest_test_data): Remove.
1320 (lrint_test_tonearest): Likewise.
1321 (lrint_towardzero_test_data): Likewise.
1322 (lrint_test_towardzero): Likewise.
1323 (lrint_downward_test_data): Likewise.
1324 (lrint_test_downward): Likewise.
1325 (lrint_upward_test_data): Likewise.
1326 (lrint_test_upward): Likewise.
1327 (llrint_test_data): Merge in per-rounding-mode tests and results
1328 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1329 llrint_downward_test_data and llrint_upward_test_data.
1330 (llrint_test): Use ALL_RM_TEST.
1331 (llrint_tonearest_test_data): Remove.
1332 (llrint_test_tonearest): Likewise.
1333 (llrint_towardzero_test_data): Likewise.
1334 (llrint_test_towardzero): Likewise.
1335 (llrint_downward_test_data): Likewise.
1336 (llrint_test_downward): Likewise.
1337 (llrint_upward_test_data): Likewise.
1338 (llrint_test_upward): Likewise.
1339 (rint_test_data): Merge in per-rounding-mode tests and results
1340 from rint_tonearest_test_data, rint_towardzero_test_data,
1341 rint_downward_test_data and rint_upward_test_data. Add
1342 per-rounding-mode results for tests not in those arrays.
1343 (rint_test): Use ALL_RM_TEST.
1344 (rint_tonearest_test_data): Remove.
1345 (rint_test_tonearest): Likewise.
1346 (rint_towardzero_test_data): Likewise.
1347 (rint_test_towardzero): Likewise.
1348 (rint_downward_test_data): Likewise.
1349 (rint_test_downward): Likewise.
1350 (rint_upward_test_data): Likewise.
1351 (rint_test_upward): Likewise.
1352 (main): Don't call removed functions.
1354 2014-03-14 Roland McGrath <roland@hack.frob.com>
1356 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1357 "Compiled on ..." crapola. It is anti-useful.
1359 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1361 * scripts/evaluate-test.sh: Handle fourth argument to determine
1362 whether test run should stop on failure.
1363 * Makeconfig (stop-on-test-failure): New variable.
1364 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1365 $(stop-on-test-failure).
1366 * Makefile (tests): Give a summary of results from testing and
1367 exit with failure status if they include an ERROR or FAIL.
1369 * manual/install.texi (Configuring and compiling): Mention
1370 stop-on-test-failure=y.
1371 * INSTALL: Regenerated.
1373 2014-03-14 Roland McGrath <roland@hack.frob.com>
1375 * scripts/versionlist.awk: New file.
1376 * Makerules [$(build-shared) = yes]
1377 (postclean-generated): Add Versions.def, not Versions.def.v and
1379 ($(common-objpfx)Versions.def.v.i): Target removed.
1380 ($(common-objpfx)Versions.def): New target.
1381 ($(common-objpfx)Versions.all): Depend on that rather that
1382 $(common-objpfx)Versions.def.v.
1383 * Versions.def: File removed.
1385 * Makeconfig (+gccwarn): Add -Wundef.
1386 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1387 a dl-sysdep.h breaking its contract.
1388 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1389 * include/stackinfo.h: New file.
1390 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1391 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1392 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1393 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1394 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1395 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1396 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1397 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1398 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1399 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1400 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1401 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1402 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1403 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1404 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1406 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1411 * math/libm-test.inc (round_test_data): Add more tests.
1413 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1418 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1420 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1425 * math/libm-test.inc (ceil_test_data): Add more tests.
1427 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429 * math/libm-test.inc (trunc_test_data): Add more tests related to
1432 2014-03-14 Roland McGrath <roland@hack.frob.com>
1434 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1435 with #if rather than #ifdef.
1436 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1438 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1440 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1441 first. Disable AVX-512 GCC support if assembler doesn't support
1443 * sysdeps/x86_64/configure: Regenerated.
1445 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1447 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1448 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1449 (__old_pthread_attr_setstack): Likewise.
1450 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1451 [!_STACK_GROWS_DOWN]: Likewise.
1453 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1455 * config.make.in (have-bash2): Delete.
1456 * configure.ac (libc_cv_have_bash2): Delete.
1457 * configure: Regenerate.
1458 * elf/Makefile (common-ldd-rewrite): Rename to ...
1459 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1460 (sh-ldd-rewrite): Delete.
1461 (bash-ldd-rewrite): Delete.
1462 (have-bash2): Delete checks.
1463 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1465 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1467 * config.make.in (have-ksh): Delete.
1469 * configure.ac (libc_cv_have_ksh): Delete.
1470 * configure: Regenerate.
1472 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1474 * elf/Makefile: Delete $(have-ksh) check.
1475 ($(objpfx)sotruss): Change KSH to BASH.
1476 * elf/sotruss.ksh: Rename to ...
1477 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1478 function style to match POSIX. Drop ksh vim mode setting.
1480 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1482 * manual/time.texi (Specifying the Time Zone with TZ): Change
1483 Tuesday to Thursday.
1485 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1487 * debug/tst-longjmp_chk2.c: Update header comment.
1488 (stackoverflow_handler): Add comment. Call assert on pass value.
1490 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1492 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1493 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1494 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1495 (La_x86_64_vector): Add zmm.
1496 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1497 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1498 ($(objpfx)tst-audit10): New target.
1499 ($(objpfx)tst-audit10.out): Likewise.
1500 (tst-audit10-ENV): New.
1501 (AVX512-CFLAGS): Likewise.
1502 (CFLAGS-tst-audit10.c): Likewise.
1503 (CFLAGS-tst-auditmod10a.c): Likewise.
1504 (CFLAGS-tst-auditmod10b.c): Likewise.
1505 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1506 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1507 * sysdeps/x86_64/configure: Regenerated.
1508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1509 AVX-512 zmm register support.
1510 (_dl_x86_64_save_sse): Likewise.
1511 (_dl_x86_64_restore_sse): Likewise.
1512 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1513 size vector registers.
1514 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1515 (ZMM_SIZE): Likewise.
1516 * sysdeps/x86_64/tst-audit10.c: New file.
1517 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1518 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1520 2014-03-13 Roland McGrath <roland@hack.frob.com>
1522 * configure.ac (HAVE_EHDR_START): New check.
1523 * configure: Regenerated.
1524 * config.h.in (HAVE_EHDR_START): New #undef.
1525 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1526 assuming the lowest-addressed segment maps the start of the file.
1528 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1530 * INSTALL: Regenerated.
1532 2014-03-13 Will Newton <will.newton@linaro.org>
1534 * manual/setjmp.texi (System V contexts): Improve
1535 clarity and grammar of documentation.
1537 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1540 * elf/Makefile (tests): Add tst-pie2.
1541 (tests-pie): Add tst-pie2.
1542 * elf/tst-pie2.c: New file.
1543 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1545 * elf/rtld.c (map_doit): Load executable as lt_executable.
1546 (dl_main): Likewise.
1548 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1552 (__ASSUME_PSELECT): Undefine.
1554 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1558 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1561 selector for static builds.
1563 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1566 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1569 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1572 selector for static builds.
1574 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1576 * sysdeps/mips/math_private.h [__mips_hard_float]
1577 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1578 libc_feresetround_mips_ctx.
1579 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1580 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1581 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1584 * math/s_nextafter.c (__nextafter): Do not return value from
1585 overflowing computation.
1586 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1587 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1592 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1593 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1595 2014-03-11 Roland McGrath <roland@hack.frob.com>
1597 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1598 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1599 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1600 the new mov targetting sp.
1602 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1606 Define it for static builds as well.
1607 (NO_BZERO_IMPL): Likewise.
1609 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1611 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1612 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1613 multiarch strspn for PPC64.
1614 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1615 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1617 (__libc_ifunc_impl_list): Likewise.
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1619 multiarch optimizations
1620 * string/strspn.c (strspn): Using macro to redefine symbol name.
1622 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1623 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1626 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1627 multiarch strncat for PPC64.
1628 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1629 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1631 (__libc_ifunc_impl_list): Likewise.
1632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1633 multiarch optimizations
1635 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1638 * nscd/nscd.service: Make service type forking.
1640 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1643 sign in non default rounding modes.
1644 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1646 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1648 * math/libm-test.inc (ALL_RM_TEST): New macro.
1649 (ceil_test): Use ALL_RM_TEST.
1650 (cimag_test): Likewise.
1651 (conj_test): Likewise.
1652 (copysign_test): Likewise.
1653 (cproj_test): Likewise.
1654 (creal_test): Likewise.
1655 (fabs_test): Likewise.
1656 (floor_test): Likewise.
1657 (fmax_test): Likewise.
1658 (fmin_test): Likewise.
1659 (fmod_test): Likewise.
1660 (fpclassify_test): Likewise.
1661 (frexp_test): Likewise.
1662 (ilogb_test): Likewise.
1663 (isfinite_test): Likewise.
1664 (finite_test): Likewise.
1665 (isgreater_test): Likewise.
1666 (isgreaterequal_test): Likewise.
1667 (isinf_test): Likewise.
1668 (isless_test): Likewise.
1669 (islessequal_test): Likewise.
1670 (islessgreater_test): Likewise.
1671 (isnan_test): Likewise.
1672 (isnormal_test): Likewise.
1673 (issignaling_test): Likewise.
1674 (isunordered_test): Likewise.
1675 (logb_test): Likewise.
1676 (logb_downward_test_data): Remove.
1677 (logb_test_downward): Likewise.
1678 (lround_test): Use ALL_RM_TEST.
1679 (llround_test): Likewise.
1680 (modf_test): Likewise.
1681 (nexttoward_test): Likewise.
1682 (remainder_test): Likewise.
1683 (drem_test): Likewise.
1684 (remainder_tonearest_test_data): Likewise.
1685 (remainder_test_tonearest): Likewise.
1686 (drem_test_tonearest): Likewise.
1687 (remainder_towardzero_test_data): Likewise.
1688 (remainder_test_towardzero): Likewise.
1689 (drem_test_towardzero): Likewise.
1690 (remainder_downward_test_data): Likewise.
1691 (remainder_test_downward): Likewise.
1692 (drem_test_downward): Likewise.
1693 (remainder_upward_test_data): Likewise.
1694 (remainder_test_upward): Likewise.
1695 (drem_test_upward): Likewise.
1696 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1697 (round_test): Use ALL_RM_TEST.
1698 (signbit_test): Likewise.
1699 (trunc_test): Likewise.
1700 (significand_test): Likewise.
1701 (main): Don't call removed functions.
1703 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1706 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1708 (ILL_ILLOPN): Likewise.
1709 (ILL_ILLADR): Likewise.
1710 (ILL_ILLTRP): Likewise.
1711 (ILL_PRVOPC): Likewise.
1712 (ILL_PRVREG): Likewise.
1713 (ILL_COPROC): Likewise.
1714 (ILL_BADSTK): Likewise.
1715 (FPE_INTDIV): Likewise.
1716 (FPE_INTOVF): Likewise.
1717 (FPE_FLTDIV): Likewise.
1718 (FPE_FLTOVF): Likewise.
1719 (FPE_FLTUND): Likewise.
1720 (FPE_FLTRES): Likewise.
1721 (FPE_FLTINV): Likewise.
1722 (FPE_FLTSUB): Likewise.
1723 (SEGV_MAPERR): Likewise.
1724 (SEGV_ACCERR): Likewise.
1725 (BUS_ADRALN): Likewise.
1726 (BUS_ADRERR): Likewise.
1727 (BUS_OBJERR): Likewise.
1728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1729 (TRAP_TRACE): Likewise.
1730 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1732 (CLD_KILLED): Likewise.
1733 (CLD_DUMPED): Likewise.
1734 (CLD_TRAPPED): Likewise.
1735 (CLD_STOPPED): Likewise.
1736 (CLD_CONTINUED): Likewise.
1737 (POLL_IN): Likewise.
1738 (POLL_OUT): Likewise.
1739 (POLL_MSG): Likewise.
1740 (POLL_ERR): Likewise.
1741 (POLL_PRI): Likewise.
1742 (POLL_HUP): Likewise.
1743 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1745 (ILL_ILLOPN): Likewise.
1746 (ILL_ILLADR): Likewise.
1747 (ILL_ILLTRP): Likewise.
1748 (ILL_PRVOPC): Likewise.
1749 (ILL_PRVREG): Likewise.
1750 (ILL_COPROC): Likewise.
1751 (ILL_BADSTK): Likewise.
1752 (FPE_INTDIV): Likewise.
1753 (FPE_INTOVF): Likewise.
1754 (FPE_FLTDIV): Likewise.
1755 (FPE_FLTOVF): Likewise.
1756 (FPE_FLTUND): Likewise.
1757 (FPE_FLTRES): Likewise.
1758 (FPE_FLTINV): Likewise.
1759 (FPE_FLTSUB): Likewise.
1760 (SEGV_MAPERR): Likewise.
1761 (SEGV_ACCERR): Likewise.
1762 (BUS_ADRALN): Likewise.
1763 (BUS_ADRERR): Likewise.
1764 (BUS_OBJERR): Likewise.
1765 (BUS_MCEERR_AR): Likewise.
1766 (BUS_MCEERR_AO): Likewise.
1767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1768 (TRAP_TRACE): Likewise.
1769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1771 (CLD_KILLED): Likewise.
1772 (CLD_DUMPED): Likewise.
1773 (CLD_TRAPPED): Likewise.
1774 (CLD_STOPPED): Likewise.
1775 (CLD_CONTINUED): Likewise.
1776 (POLL_IN): Likewise.
1777 (POLL_OUT): Likewise.
1778 (POLL_MSG): Likewise.
1779 (POLL_ERR): Likewise.
1780 (POLL_PRI): Likewise.
1781 (POLL_HUP): Likewise.
1782 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1783 (ILL_ILLOPN): Likewise.
1784 (ILL_ILLADR): Likewise.
1785 (ILL_ILLTRP): Likewise.
1786 (ILL_PRVOPC): Likewise.
1787 (ILL_PRVREG): Likewise.
1788 (ILL_COPROC): Likewise.
1789 (ILL_BADSTK): Likewise.
1790 (FPE_INTDIV): Likewise.
1791 (FPE_INTOVF): Likewise.
1792 (FPE_FLTDIV): Likewise.
1793 (FPE_FLTOVF): Likewise.
1794 (FPE_FLTUND): Likewise.
1795 (FPE_FLTRES): Likewise.
1796 (FPE_FLTINV): Likewise.
1797 (FPE_FLTSUB): Likewise.
1798 (SEGV_MAPERR): Likewise.
1799 (SEGV_ACCERR): Likewise.
1800 (BUS_ADRALN): Likewise.
1801 (BUS_ADRERR): Likewise.
1802 (BUS_OBJERR): Likewise.
1803 (BUS_MCEERR_AR): Likewise.
1804 (BUS_MCEERR_AO): Likewise.
1805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1806 (TRAP_TRACE): Likewise.
1807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1809 (CLD_KILLED): Likewise.
1810 (CLD_DUMPED): Likewise.
1811 (CLD_TRAPPED): Likewise.
1812 (CLD_STOPPED): Likewise.
1813 (CLD_CONTINUED): Likewise.
1814 (POLL_IN): Likewise.
1815 (POLL_OUT): Likewise.
1816 (POLL_MSG): Likewise.
1817 (POLL_ERR): Likewise.
1818 (POLL_PRI): Likewise.
1819 (POLL_HUP): Likewise.
1820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1822 (ILL_ILLOPN): Likewise.
1823 (ILL_ILLADR): Likewise.
1824 (ILL_ILLTRP): Likewise.
1825 (ILL_PRVOPC): Likewise.
1826 (ILL_PRVREG): Likewise.
1827 (ILL_COPROC): Likewise.
1828 (ILL_BADSTK): Likewise.
1829 (ILL_BADIADDR): Likewise.
1830 (ILL_BREAK): Likewise.
1831 (FPE_INTDIV): Likewise.
1832 (FPE_INTOVF): Likewise.
1833 (FPE_FLTDIV): Likewise.
1834 (FPE_FLTOVF): Likewise.
1835 (FPE_FLTUND): Likewise.
1836 (FPE_FLTRES): Likewise.
1837 (FPE_FLTINV): Likewise.
1838 (FPE_FLTSUB): Likewise.
1839 (FPE_DECOVF): Likewise.
1840 (FPE_DECDIV): Likewise.
1841 (FPE_DECERR): Likewise.
1842 (FPE_INVASC): Likewise.
1843 (FPE_INVDEC): Likewise.
1844 (SEGV_MAPERR): Likewise.
1845 (SEGV_ACCERR): Likewise.
1846 (SEGV_PSTKOVF): Likewise.
1847 (BUS_ADRALN): Likewise.
1848 (BUS_ADRERR): Likewise.
1849 (BUS_OBJERR): Likewise.
1850 (BUS_MCEERR_AR): Likewise.
1851 (BUS_MCEERR_AO): Likewise.
1852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1853 (TRAP_TRACE): Likewise.
1854 (TRAP_BRANCH): Likewise.
1855 (TRAP_HWBKPT): Likewise.
1856 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1858 (CLD_KILLED): Likewise.
1859 (CLD_DUMPED): Likewise.
1860 (CLD_TRAPPED): Likewise.
1861 (CLD_STOPPED): Likewise.
1862 (CLD_CONTINUED): Likewise.
1863 (POLL_IN): Likewise.
1864 (POLL_OUT): Likewise.
1865 (POLL_MSG): Likewise.
1866 (POLL_ERR): Likewise.
1867 (POLL_PRI): Likewise.
1868 (POLL_HUP): Likewise.
1869 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1870 (ILL_ILLOPN): Likewise.
1871 (ILL_ILLADR): Likewise.
1872 (ILL_ILLTRP): Likewise.
1873 (ILL_PRVOPC): Likewise.
1874 (ILL_PRVREG): Likewise.
1875 (ILL_COPROC): Likewise.
1876 (ILL_BADSTK): Likewise.
1877 (FPE_INTDIV): Likewise.
1878 (FPE_INTOVF): Likewise.
1879 (FPE_FLTDIV): Likewise.
1880 (FPE_FLTOVF): Likewise.
1881 (FPE_FLTUND): Likewise.
1882 (FPE_FLTRES): Likewise.
1883 (FPE_FLTINV): Likewise.
1884 (FPE_FLTSUB): Likewise.
1885 (SEGV_MAPERR): Likewise.
1886 (SEGV_ACCERR): Likewise.
1887 (BUS_ADRALN): Likewise.
1888 (BUS_ADRERR): Likewise.
1889 (BUS_OBJERR): Likewise.
1890 (BUS_MCEERR_AR): Likewise.
1891 (BUS_MCEERR_AO): Likewise.
1892 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1893 (TRAP_TRACE): Likewise.
1894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1896 (CLD_KILLED): Likewise.
1897 (CLD_DUMPED): Likewise.
1898 (CLD_TRAPPED): Likewise.
1899 (CLD_STOPPED): Likewise.
1900 (CLD_CONTINUED): Likewise.
1901 (POLL_IN): Likewise.
1902 (POLL_OUT): Likewise.
1903 (POLL_MSG): Likewise.
1904 (POLL_ERR): Likewise.
1905 (POLL_PRI): Likewise.
1906 (POLL_HUP): Likewise.
1907 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1908 (ILL_ILLOPN): Likewise.
1909 (ILL_ILLADR): Likewise.
1910 (ILL_ILLTRP): Likewise.
1911 (ILL_PRVOPC): Likewise.
1912 (ILL_PRVREG): Likewise.
1913 (ILL_COPROC): Likewise.
1914 (ILL_BADSTK): Likewise.
1915 (FPE_INTDIV): Likewise.
1916 (FPE_INTOVF): Likewise.
1917 (FPE_FLTDIV): Likewise.
1918 (FPE_FLTOVF): Likewise.
1919 (FPE_FLTUND): Likewise.
1920 (FPE_FLTRES): Likewise.
1921 (FPE_FLTINV): Likewise.
1922 (FPE_FLTSUB): Likewise.
1923 (SEGV_MAPERR): Likewise.
1924 (SEGV_ACCERR): Likewise.
1925 (BUS_ADRALN): Likewise.
1926 (BUS_ADRERR): Likewise.
1927 (BUS_OBJERR): Likewise.
1928 (BUS_MCEERR_AR): Likewise.
1929 (BUS_MCEERR_AO): Likewise.
1930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1931 (TRAP_TRACE): Likewise.
1932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1934 (CLD_KILLED): Likewise.
1935 (CLD_DUMPED): Likewise.
1936 (CLD_TRAPPED): Likewise.
1937 (CLD_STOPPED): Likewise.
1938 (CLD_CONTINUED): Likewise.
1939 (POLL_IN): Likewise.
1940 (POLL_OUT): Likewise.
1941 (POLL_MSG): Likewise.
1942 (POLL_ERR): Likewise.
1943 (POLL_PRI): Likewise.
1944 (POLL_HUP): Likewise.
1945 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1946 (ILL_ILLOPN): Likewise.
1947 (ILL_ILLADR): Likewise.
1948 (ILL_ILLTRP): Likewise.
1949 (ILL_PRVOPC): Likewise.
1950 (ILL_PRVREG): Likewise.
1951 (ILL_COPROC): Likewise.
1952 (ILL_BADSTK): Likewise.
1953 (FPE_INTDIV): Likewise.
1954 (FPE_INTOVF): Likewise.
1955 (FPE_FLTDIV): Likewise.
1956 (FPE_FLTOVF): Likewise.
1957 (FPE_FLTUND): Likewise.
1958 (FPE_FLTRES): Likewise.
1959 (FPE_FLTINV): Likewise.
1960 (FPE_FLTSUB): Likewise.
1961 (SEGV_MAPERR): Likewise.
1962 (SEGV_ACCERR): Likewise.
1963 (BUS_ADRALN): Likewise.
1964 (BUS_ADRERR): Likewise.
1965 (BUS_OBJERR): Likewise.
1966 (BUS_MCEERR_AR): Likewise.
1967 (BUS_MCEERR_AO): Likewise.
1968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1969 (TRAP_TRACE): Likewise.
1970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1972 (CLD_KILLED): Likewise.
1973 (CLD_DUMPED): Likewise.
1974 (CLD_TRAPPED): Likewise.
1975 (CLD_STOPPED): Likewise.
1976 (CLD_CONTINUED): Likewise.
1977 (POLL_IN): Likewise.
1978 (POLL_OUT): Likewise.
1979 (POLL_MSG): Likewise.
1980 (POLL_ERR): Likewise.
1981 (POLL_PRI): Likewise.
1982 (POLL_HUP): Likewise.
1983 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1984 (ILL_ILLOPN): Likewise.
1985 (ILL_ILLADR): Likewise.
1986 (ILL_ILLTRP): Likewise.
1987 (ILL_PRVOPC): Likewise.
1988 (ILL_PRVREG): Likewise.
1989 (ILL_COPROC): Likewise.
1990 (ILL_BADSTK): Likewise.
1991 (ILL_DBLFLT): Likewise.
1992 (ILL_HARDWALL): Likewise.
1993 (FPE_INTDIV): Likewise.
1994 (FPE_INTOVF): Likewise.
1995 (FPE_FLTDIV): Likewise.
1996 (FPE_FLTOVF): Likewise.
1997 (FPE_FLTUND): Likewise.
1998 (FPE_FLTRES): Likewise.
1999 (FPE_FLTINV): Likewise.
2000 (FPE_FLTSUB): Likewise.
2001 (SEGV_MAPERR): Likewise.
2002 (SEGV_ACCERR): Likewise.
2003 (BUS_ADRALN): Likewise.
2004 (BUS_ADRERR): Likewise.
2005 (BUS_OBJERR): Likewise.
2006 (BUS_MCEERR_AR): Likewise.
2007 (BUS_MCEERR_AO): Likewise.
2008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2009 (TRAP_TRACE): Likewise.
2010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2012 (CLD_KILLED): Likewise.
2013 (CLD_DUMPED): Likewise.
2014 (CLD_TRAPPED): Likewise.
2015 (CLD_STOPPED): Likewise.
2016 (CLD_CONTINUED): Likewise.
2017 (POLL_IN): Likewise.
2018 (POLL_OUT): Likewise.
2019 (POLL_MSG): Likewise.
2020 (POLL_ERR): Likewise.
2021 (POLL_PRI): Likewise.
2022 (POLL_HUP): Likewise.
2023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2024 (ILL_ILLOPN): Likewise.
2025 (ILL_ILLADR): Likewise.
2026 (ILL_ILLTRP): Likewise.
2027 (ILL_PRVOPC): Likewise.
2028 (ILL_PRVREG): Likewise.
2029 (ILL_COPROC): Likewise.
2030 (ILL_BADSTK): Likewise.
2031 (FPE_INTDIV): Likewise.
2032 (FPE_INTOVF): Likewise.
2033 (FPE_FLTDIV): Likewise.
2034 (FPE_FLTOVF): Likewise.
2035 (FPE_FLTUND): Likewise.
2036 (FPE_FLTRES): Likewise.
2037 (FPE_FLTINV): Likewise.
2038 (FPE_FLTSUB): Likewise.
2039 (SEGV_MAPERR): Likewise.
2040 (SEGV_ACCERR): Likewise.
2041 (BUS_ADRALN): Likewise.
2042 (BUS_ADRERR): Likewise.
2043 (BUS_OBJERR): Likewise.
2044 (BUS_MCEERR_AR): Likewise.
2045 (BUS_MCEERR_AO): Likewise.
2046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2047 (TRAP_TRACE): Likewise.
2048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2050 (CLD_KILLED): Likewise.
2051 (CLD_DUMPED): Likewise.
2052 (CLD_TRAPPED): Likewise.
2053 (CLD_STOPPED): Likewise.
2054 (CLD_CONTINUED): Likewise.
2055 (POLL_IN): Likewise.
2056 (POLL_OUT): Likewise.
2057 (POLL_MSG): Likewise.
2058 (POLL_ERR): Likewise.
2059 (POLL_PRI): Likewise.
2060 (POLL_HUP): Likewise.
2061 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2062 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2065 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2066 before #include of <time.h>.
2067 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2068 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2069 (test-xfail-UNIX98/sched.h/conform): Likewise.
2071 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2073 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2074 error absence of trapping exception support.
2075 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2077 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2079 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2080 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2081 * timezone/Makefile (testdata): Move definition above include of
2083 (test-zones): New variable.
2084 (tests-special): Add zone files.
2085 (build-testdata): Use $(evaluate-test).
2087 * elf/Makefile (tests-special): Rename tests to end with .out.
2088 ($(objpfx)noload-mem): Likewise.
2089 ($(objpfx)tst-leaks1-mem): Likewise.
2090 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2091 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2092 $(objpfx)test-iconvconfig.out.
2093 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2094 set -e inside subshell and redirect output to file.
2095 * iconvdata/Makefile (generated): Rename tests to end with .out.
2097 (tests-special): Rename tests to end with .out.
2098 ($(objpfx)mtrace-tst-loading): Likewise.
2099 * intl/Makefile (generated): Likewise.
2100 (tests-special): Likewise.
2101 ($(objpfx)mtrace-tst-gettext): Likewise.
2102 * misc/Makefile (generated): Likewise.
2103 (tests-special): Likewise.
2104 ($(objpfx)tst-error1-mem): Likewise.
2105 * nptl/Makefile (tests-special): Likewise.
2106 ($(objpfx)tst-stack3-mem): Likewise.
2107 (generated): Likewise.
2108 * posix/Makefile (generated): Likewise.
2109 (tests-special): Likewise.
2110 (xtests-special): Likewise.
2111 ($(objpfx)tst-fnmatch-mem): Likewise.
2112 ($(objpfx)bug-regex2-mem): Likewise.
2113 ($(objpfx)bug-regex14-mem): Likewise.
2114 ($(objpfx)bug-regex21-mem): Likewise.
2115 ($(objpfx)bug-regex31-mem): Likewise.
2116 ($(objpfx)tst-vfork3-mem): Likewise.
2117 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2118 ($(objpfx)tst-pcre-mem): Likewise.
2119 ($(objpfx)tst-boost-mem): Likewise.
2120 ($(objpfx)bug-ga2-mem): Likewise.
2121 ($(objpfx)bug-glob2-mem): Likewise.
2122 * resolv/Makefile (generate): Likewise.
2123 (tests-special): Likewise.
2124 (xtests-special): Likewise.
2125 (generated): Likewise.
2126 ($(objpfx)mtrace-tst-leaks): Likewise.
2127 ($(objpfx)mtrace-tst-leaks2): Likewise.
2129 * scripts/merge-test-results.sh: New file.
2130 * Makefile (tests-special-notdir): New variable.
2131 (tests): Run merge-test-results.sh.
2133 * Rules (tests-special-notdir): New variable.
2134 (xtests-special-notdir): Likewise.
2135 (tests): Run merge-test-results.sh
2138 * Makeconfig (test-xfail-name): New variable.
2139 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2140 compute variable name for expected failures.
2141 * conform/Makefile (conformtest-headers-data): New variable.
2142 (conformtest-standards): Likewise.
2143 (conformtest-headers-ISO): Likewise.
2144 (conformtest-headers-ISO99): Likewise.
2145 (conformtest-headers-ISO11): Likewise.
2146 (conformtest-headers-POSIX): Likewise.
2147 (conformtest-headers-XPG3): Likewise.
2148 (conformtest-headers-XPG4): Likewise.
2149 (conformtest-headers-UNIX98): Likewise.
2150 (conformtest-headers-XOPEN2K): Likewise.
2151 (conformtest-headers-POSIX2008): Likewise.
2152 (conformtest-headers-XOPEN2K8): Likewise.
2153 (conformtest-header-list-base): Likewise.
2154 (conformtest-header-list-tests): Likewise.
2155 (conformtest-header-base): Likewise.
2156 (conformtest-header-tests): Likewise.
2157 (tests-special): Add $(conformtest-header-list-tests). If
2158 [$(fast-check) && !$(cross-compiling)], add
2159 $(conformtest-header-tests) instead of
2160 $(objpfx)run-conformtest.out.
2161 (generated): Add $(conformtest-header-list-base). If
2162 [$(fast-check) && !$(cross-compiling)], add
2163 $(conformtest-header-base). Remove previous setting.
2164 ($(conformtest-header-list-tests)): New target.
2165 (test-xfail-run-conformtest): Remove variable.
2166 ($(objpfx)run-conformtest.out): Remove target.
2167 (test-xfail-ISO11/complex.h/conform): New variable.
2168 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2169 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2170 (test-xfail-XPG3/varargs.h/conform): Likewise.
2171 (test-xfail-XPG4/varargs.h/conform): Likewise.
2172 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2173 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2174 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2175 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2176 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2177 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2178 (test-xfail-XPG3/ftw.h/conform): Likewise.
2179 (test-xfail-XPG3/grp.h/conform): Likewise.
2180 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2181 (test-xfail-XPG3/limits.h/conform): Likewise.
2182 (test-xfail-XPG3/pwd.h/conform): Likewise.
2183 (test-xfail-XPG3/search.h/conform): Likewise.
2184 (test-xfail-XPG3/signal.h/conform): Likewise.
2185 (test-xfail-XPG3/stdio.h/conform): Likewise.
2186 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2187 (test-xfail-XPG3/string.h/conform): Likewise.
2188 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2189 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2190 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2191 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2192 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2193 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2194 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2195 (test-xfail-XPG3/termios.h/conform): Likewise.
2196 (test-xfail-XPG3/time.h/conform): Likewise.
2197 (test-xfail-XPG3/unistd.h/conform): Likewise.
2198 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2199 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2200 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2201 (test-xfail-XPG4/netdb.h/conform): Likewise.
2202 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2203 (test-xfail-XPG4/signal.h/conform): Likewise.
2204 (test-xfail-XPG4/stdio.h/conform): Likewise.
2205 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2206 (test-xfail-XPG4/stropts.h/conform): Likewise.
2207 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2208 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2209 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2210 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2211 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2212 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2213 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2214 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2215 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2216 (test-xfail-XPG4/termios.h/conform): Likewise.
2217 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2218 (test-xfail-XPG4/unistd.h/conform): Likewise.
2219 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2220 (test-xfail-POSIX/sched.h/conform): Likewise.
2221 (test-xfail-POSIX/signal.h/conform): Likewise.
2222 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2223 (test-xfail-POSIX/tar.h/conform): Likewise.
2224 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2225 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2226 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2227 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2228 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2229 (test-xfail-UNIX98/sched.h/conform): Likewise.
2230 (test-xfail-UNIX98/signal.h/conform): Likewise.
2231 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2232 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2233 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2234 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2235 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2236 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2237 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2238 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2239 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2240 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2241 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2242 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2243 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2244 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2245 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2246 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2247 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2248 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2249 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2250 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2251 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2252 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2253 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2254 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2255 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2256 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2257 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2258 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2259 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2260 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2261 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2262 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2263 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2264 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2265 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2266 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2267 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2268 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2269 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2270 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2271 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2272 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2273 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2274 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2275 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2276 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2277 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2278 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2279 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2280 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2281 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2282 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2283 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2284 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2285 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2286 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2287 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2288 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2289 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2290 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2291 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2292 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2293 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2294 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2295 (conformtest-cc-flags): Likewise.
2296 ($(conformtest-header-tests): New target.
2297 * conform/check-header-lists.sh: New file.
2298 * conform/run-conformtest.sh: Remove.
2300 * conform/conformtest.pl: Allow ' and \ in values given for
2302 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2304 [POSIX] (sys/types.h): Likewise.
2305 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2307 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2309 * conform/data/signal.h-data (SIGIO): Remove expectation.
2310 [XPG3] (SIGBUS): Do not expect.
2311 [POSIX || XPG3] (SIGPOLL): Likewise.
2312 [POSIX || XPG3] (SIGPROF): Likewise.
2313 [POSIX || XPG3] (SIGSYS): Likewise.
2314 [XPG3] (SIGTRAP): Likewise.
2315 [POSIX || XPG3] (SIGURG): Likewise.
2316 [POSIX || XPG3] (SIGVTALRM): Likewise.
2317 [POSIX || XPG3] (SIGXCPU): Likewise.
2318 [POSIX || XPG3] (SIGXFSZ): Likewise.
2319 [POSIX] (SA_SIGINFO): Expect.
2320 [XPG3] (siginfo_t): Do not expect type or contents.
2321 [POSIX] (si_pid): Do not expect element.
2322 [POSIX] (si_uid): Likewise.
2323 [POSIX] (si_addr): Likewise.
2324 [POSIX] (si_status): Likewise.
2325 [POSIX] (si_band): Likewise.
2326 [XPG4] (si_value): Likewise.
2327 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2328 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2329 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2330 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2331 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2332 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2333 [POSIX || XPG3] (ILL_COPROC): Likewise.
2334 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2335 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2336 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2337 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2338 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2339 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2340 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2341 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2342 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2343 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2344 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2345 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2346 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2347 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2348 [POSIX || XPG3] (CLD_EXITED): Likewise.
2349 [POSIX || XPG3] (CLD_KILLED): Likewise.
2350 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2351 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2352 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2353 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2354 [POSIX || XPG3] (POLL_IN): Likewise.
2355 [POSIX || XPG3] (POLL_OUT): Likewise.
2356 [POSIX || XPG3] (POLL_MSG): Likewise.
2357 [POSIX || XPG3] (POLL_ERR): Likewise.
2358 [POSIX || XPG3] (POLL_PRI): Likewise.
2359 [POSIX || XPG3] (POLL_HUP): Likewise.
2360 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2361 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2362 (SIG*): Do not allow.
2363 [XPG3] (si_*): Likewise.
2364 [XPG3] (SI_*): Likewise.
2365 [XPG3 || XPG4] (sigev_*): Likewise.
2366 [XPG3 || XPG4] (SIGEV_*): Likewise.
2367 [XPG3 || XPG4] (sival_*): Likewise.
2368 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2369 [POSIX || XPG3] (BUS_*): Likewise.
2370 [POSIX || XPG3] (CLD_*): Likewise.
2371 [POSIX || XPG3] (FPE_*): Likewise.
2372 [POSIX || XPG3] (ILL_*): Likewise.
2373 [POSIX || XPG3] (POLL_*): Likewise.
2374 [POSIX || XPG3] (SEGV_*): Likewise.
2375 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2376 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2377 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2378 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2379 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2380 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2381 Specify type and value.
2382 (TVERSLEN): Likewise.
2383 (REGTYPE): Likewise.
2384 (AREGTYPE): Likewise.
2385 (LNKTYPE): Likewise.
2386 (SYMTYPE): Likewise.
2387 (CHRTYPE): Likewise.
2388 (BLKTYPE): Likewise.
2389 (DIRTYPE): Likewise.
2390 (FIFOTYPE): Likewise.
2391 (CONTTYPE): Likewise.
2396 (TUWRITE): Likewise.
2399 (TGWRITE): Likewise.
2402 (TOWRITE): Likewise.
2404 [POSIX] (TSVTX): Expect constant.
2406 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2408 * Makefile (tests): Change dependencies to ....
2409 (tests-special): ... additions to this variable.
2410 (tests): Depend on $(tests-special).
2411 * Makerules (check-abi-list): New variable.
2412 (check-abi): Depend on $(check-abi-list).
2413 [$(subdir) = elf] (tests-special): Add
2414 $(objpfx)check-abi-libc.out.
2415 [$(build-shared) = yes && subdir] (tests-special): Add
2417 [$(build-shared) = yes && subdir] (tests): Do not depend on
2419 * Rules (tests): Depend on $(tests-special).
2420 (xtests): Depend on $(xtests-special).
2421 * catgets/Makefile (tests): Change dependencies to ....
2422 (tests-special): ... additions to this variable.
2423 * conform/Makefile (tests): Change dependencies to ....
2424 (tests-special): ... additions to this variable.
2425 * elf/Makefile (tests): Change dependencies to ....
2426 (tests-special): ... additions to this variable.
2427 * grp/Makefile (tests): Change dependencies to ....
2428 (tests-special): ... additions to this variable.
2429 * iconv/Makefile (xtests): Change dependencies to ....
2430 (xtests-special): ... additions to this variable.
2431 * iconvdata/Makefile (tests): Change dependencies to ....
2432 (tests-special): ... additions to this variable.
2433 * intl/Makefile (tests): Change dependencies to ....
2434 (tests-special): ... additions to this variable. Also add
2435 $(objpfx)tst-gettext.out.
2436 * io/Makefile (tests): Change dependencies to ....
2437 (tests-special): ... additions to this variable.
2438 * libio/Makefile (tests): Change dependencies to ....
2439 (tests-special): ... additions to this variable.
2440 * malloc/Makefile (tests): Change dependencies to ....
2441 (tests-special): ... additions to this variable.
2442 * misc/Makefile (tests): Change dependencies to ....
2443 (tests-special): ... additions to this variable.
2444 * nptl/Makefile (tests): Change dependencies to ....
2445 (tests-special): ... additions to this variable.
2446 * nptl_db/Makefile (tests): Change dependencies to ....
2447 (tests-special): ... additions to this variable.
2448 * posix/Makefile (tests): Change dependencies to ....
2449 (tests-special): ... additions to this variable.
2450 (xtests): Change dependencies to ....
2451 (xtests-special): ... additions to this variable.
2452 * resolv/Makefile (tests): Change dependencies to ....
2453 (tests-special): ... additions to this variable.
2454 (xtests): Change dependencies to ....
2455 (xtests-special): ... additions to this variable.
2456 * stdio-common/Makefile (tests): Change dependencies to ....
2457 (tests-special): ... additions to this variable.
2458 (do-tst-unbputc): Remove target.
2459 (do-tst-printf): Likewise.
2460 * stdlib/Makefile (tests): Change dependencies to ....
2461 (tests-special): ... additions to this variable.
2462 * string/Makefile (tests): Change dependencies to ....
2463 (tests-special): ... additions to this variable.
2464 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2465 (tests-special): ... additions to this variable.
2467 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2469 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2471 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2472 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2474 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2475 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2476 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2477 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2478 * conform/data/libgen.h-data [XPG3]: Likewise.
2479 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2480 * conform/data/ndbm.h-data [XPG3]: Likewise.
2481 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2482 * conform/data/netdb.h-data [XPG3]: Likewise.
2483 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2484 * conform/data/poll.h-data [XPG3]: Likewise.
2485 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2486 * conform/data/strings.h-data [XPG3]: Likewise.
2487 * conform/data/stropts.h-data [XPG3]: Likewise.
2488 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2489 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2490 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2492 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2493 * conform/data/sys/time.h-data [XPG3]: Likewise.
2494 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2495 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2496 * conform/data/sys/un.h-data [XPG3]: Likewise.
2497 * conform/data/syslog.h-data [XPG3]: Likewise.
2498 * conform/data/ucontext.h-data [XPG3]: Likewise.
2499 * conform/data/utmpx.h-data [XPG3]: Likewise.
2500 * conform/data/varargs.h-data [UNIX98]: Enable file.
2502 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2504 * math/libm-test.inc (struct test_f_f_data): Move expected results
2505 into structure for each rounding mode.
2506 (struct test_ff_f_data): Likewise.
2507 (struct test_ff_f_data_nexttoward): Likewise.
2508 (struct test_fi_f_data): Likewise.
2509 (struct test_fl_f_data): Likewise.
2510 (struct test_if_f_data): Likewise.
2511 (struct test_fff_f_data): Likewise.
2512 (struct test_c_f_data): Likewise.
2513 (struct test_f_f1_data): Likewise.
2514 (struct test_fF_f1_data): Likewise.
2515 (struct test_ffI_f1_data): Likewise.
2516 (struct test_c_c_data): Likewise.
2517 (struct test_cc_c_data): Likewise.
2518 (struct test_f_i_data): Likewise.
2519 (struct test_ff_i_data): Likewise.
2520 (struct test_f_l_data): Likewise.
2521 (struct test_f_L_data): Likewise.
2522 (struct test_fFF_11_data): Likewise.
2524 (RM_FE_DOWNWARD): Likewise.
2525 (RM_FE_TONEAREST): Likewise.
2526 (RM_FE_TOWARDZERO): Likewise.
2527 (RM_FE_UPWARD): Likewise.
2528 (RUN_TEST_LOOP_f_f): Update references to expected results.
2529 (RUN_TEST_LOOP_2_f): Likewise.
2530 (RUN_TEST_LOOP_fff_f): Likewise.
2531 (RUN_TEST_LOOP_c_f): Likewise.
2532 (RUN_TEST_LOOP_f_f1): Likewise.
2533 (RUN_TEST_LOOP_fF_f1): Likewise.
2534 (RUN_TEST_LOOP_fI_f1): Likewise.
2535 (RUN_TEST_LOOP_ffI_f1): Likewise.
2536 (RUN_TEST_LOOP_c_c): Likewise.
2537 (RUN_TEST_LOOP_cc_c): Likewise.
2538 (RUN_TEST_LOOP_f_i): Likewise.
2539 (RUN_TEST_LOOP_f_i_tg): Likewise.
2540 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2541 (RUN_TEST_LOOP_f_b): Likewise.
2542 (RUN_TEST_LOOP_f_b_tg): Likewise.
2543 (RUN_TEST_LOOP_f_l): Likewise.
2544 (RUN_TEST_LOOP_f_L): Likewise.
2545 (RUN_TEST_LOOP_fFF_11): Likewise.
2546 * math/gen-libm-test.pl (parse_args): Output four copies of
2547 expected results for each test.
2549 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2550 (__ASSUME_UTIMES): Remove.
2551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2552 (__ASSUME_UTIMES): Likewise.
2554 * math/gen-auto-libm-tests.c: Update comment on output format.
2555 (output_for_one_input_case): Generate before-rounding and
2556 after-rounding information as conditions on output flags not
2557 floating-point format.
2558 * math/auto-libm-test-out: Regenerated.
2559 * math/gen-libm-test.pl (cond_value): New function.
2560 (or_cond_value): Use cond_value.
2561 (generate_testfile): Handle conditional exceptions.
2563 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2565 * math/libm-test.inc (max_valid_error): New variable.
2566 (init_max_error): Take new argument specifying whether function
2567 results are exactly determined. Set max_valid_error and bound
2568 other variables for errors based on this argument.
2569 (set_max_error): Do not record results above max_valid_error.
2570 (check_float_internal): Only accept errors of up to 0.5ulps if
2571 also at most max_valid_error.
2572 (START): Take new argument EXACT and pass it to init_max_error.
2573 (acos_test): Update call to START.
2574 (acos_test_tonearest): Likewise.
2575 (acos_test_towardzero): Likewise.
2576 (acos_test_downward): Likewise.
2577 (acos_test_upward): Likewise.
2578 (acosh_test): Likewise.
2579 (asin_test): Likewise.
2580 (asin_test_tonearest): Likewise.
2581 (asin_test_towardzero): Likewise.
2582 (asin_test_downward): Likewise.
2583 (asin_test_upward): Likewise.
2584 (asinh_test): Likewise.
2585 (atan_test): Likewise.
2586 (atanh_test): Likewise.
2587 (atan2_test): Likewise.
2588 (cabs_test): Likewise.
2589 (cacos_test): Likewise.
2590 (cacosh_test): Likewise.
2591 (carg_test): Likewise.
2592 (casin_test): Likewise.
2593 (casinh_test): Likewise.
2594 (catan_test): Likewise.
2595 (catanh_test): Likewise.
2596 (cbrt_test): Likewise.
2597 (ccos_test): Likewise.
2598 (ccosh_test): Likewise.
2599 (ceil_test): Likewise.
2600 (cexp_test): Likewise.
2601 (cimag_test): Likewise.
2602 (clog_test): Likewise.
2603 (clog10_test): Likewise.
2604 (conj_test): Likewise.
2605 (copysign_test): Likewise.
2606 (cos_test): Likewise.
2607 (cos_test_tonearest): Likewise.
2608 (cos_test_towardzero): Likewise.
2609 (cos_test_downward): Likewise.
2610 (cos_test_upward): Likewise.
2611 (cosh_test): Likewise.
2612 (cosh_test_tonearest): Likewise.
2613 (cosh_test_towardzero): Likewise.
2614 (cosh_test_downward): Likewise.
2615 (cosh_test_upward): Likewise.
2616 (cpow_test): Likewise.
2617 (cproj_test): Likewise.
2618 (creal_test): Likewise.
2619 (csin_test): Likewise.
2620 (csinh_test): Likewise.
2621 (csqrt_test): Likewise.
2622 (ctan_test): Likewise.
2623 (ctan_test_tonearest): Likewise.
2624 (ctan_test_towardzero): Likewise.
2625 (ctan_test_downward): Likewise.
2626 (ctan_test_upward): Likewise.
2627 (ctanh_test): Likewise.
2628 (ctanh_test_tonearest): Likewise.
2629 (ctanh_test_towardzero): Likewise.
2630 (ctanh_test_downward): Likewise.
2631 (ctanh_test_upward): Likewise.
2632 (erf_test): Likewise.
2633 (erfc_test): Likewise.
2634 (exp_test): Likewise.
2635 (exp_test_tonearest): Likewise.
2636 (exp_test_towardzero): Likewise.
2637 (exp_test_downward): Likewise.
2638 (exp_test_upward): Likewise.
2639 (exp10_test): Likewise.
2640 (exp10_test_tonearest): Likewise.
2641 (exp10_test_towardzero): Likewise.
2642 (exp10_test_downward): Likewise.
2643 (exp10_test_upward): Likewise.
2644 (pow10_test): Likewise.
2645 (exp2_test): Likewise.
2646 (expm1_test): Likewise.
2647 (expm1_test_tonearest): Likewise.
2648 (expm1_test_towardzero): Likewise.
2649 (expm1_test_downward): Likewise.
2650 (expm1_test_upward): Likewise.
2651 (fabs_test): Likewise.
2652 (fdim_test): Likewise.
2653 (floor_test): Likewise.
2654 (fma_test): Likewise.
2655 (fma_test_towardzero): Likewise.
2656 (fma_test_downward): Likewise.
2657 (fma_test_upward): Likewise.
2658 (fmax_test): Likewise.
2659 (fmin_test): Likewise.
2660 (fmod_test): Likewise.
2661 (fpclassify_test): Likewise.
2662 (frexp_test): Likewise.
2663 (hypot_test): Likewise.
2664 (ilogb_test): Likewise.
2665 (isfinite_test): Likewise.
2666 (finite_test): Likewise.
2667 (isgreater_test): Likewise.
2668 (isgreaterequal_test): Likewise.
2669 (isinf_test): Likewise.
2670 (isless_test): Likewise.
2671 (islessequal_test): Likewise.
2672 (islessgreater_test): Likewise.
2673 (isnan_test): Likewise.
2674 (isnormal_test): Likewise.
2675 (issignaling_test): Likewise.
2676 (isunordered_test): Likewise.
2677 (j0_test): Likewise.
2678 (j1_test): Likewise.
2679 (jn_test): Likewise.
2680 (ldexp_test): Likewise.
2681 (lgamma_test): Likewise.
2682 (gamma_test): Likewise.
2683 (lrint_test): Likewise.
2684 (lrint_test_tonearest): Likewise.
2685 (lrint_test_towardzero): Likewise.
2686 (lrint_test_downward): Likewise.
2687 (lrint_test_upward): Likewise.
2688 (llrint_test): Likewise.
2689 (llrint_test_tonearest): Likewise.
2690 (llrint_test_towardzero): Likewise.
2691 (llrint_test_downward): Likewise.
2692 (llrint_test_upward): Likewise.
2693 (log_test): Likewise.
2694 (log10_test): Likewise.
2695 (log1p_test): Likewise.
2696 (log2_test): Likewise.
2697 (logb_test): Likewise.
2698 (logb_test_downward): Likewise.
2699 (lround_test): Likewise.
2700 (llround_test): Likewise.
2701 (modf_test): Likewise.
2702 (nearbyint_test): Likewise.
2703 (nextafter_test): Likewise.
2704 (nexttoward_test): Likewise.
2705 (pow_test): Likewise.
2706 (pow_test_tonearest): Likewise.
2707 (pow_test_towardzero): Likewise.
2708 (pow_test_downward): Likewise.
2709 (pow_test_upward): Likewise.
2710 (remainder_test): Likewise.
2711 (drem_test): Likewise.
2712 (remainder_test_tonearest): Likewise.
2713 (drem_test_tonearest): Likewise.
2714 (remainder_test_towardzero): Likewise.
2715 (drem_test_towardzero): Likewise.
2716 (remainder_test_downward): Likewise.
2717 (drem_test_downward): Likewise.
2718 (remainder_test_upward): Likewise.
2719 (drem_test_upward): Likewise.
2720 (remquo_test): Likewise.
2721 (rint_test): Likewise.
2722 (rint_test_tonearest): Likewise.
2723 (rint_test_towardzero): Likewise.
2724 (rint_test_downward): Likewise.
2725 (rint_test_upward): Likewise.
2726 (round_test): Likewise.
2727 (scalb_test): Likewise.
2728 (scalbn_test): Likewise.
2729 (scalbln_test): Likewise.
2730 (signbit_test): Likewise.
2731 (sin_test): Likewise.
2732 (sin_test_tonearest): Likewise.
2733 (sin_test_towardzero): Likewise.
2734 (sin_test_downward): Likewise.
2735 (sin_test_upward): Likewise.
2736 (sincos_test): Likewise.
2737 (sinh_test): Likewise.
2738 (sinh_test_tonearest): Likewise.
2739 (sinh_test_towardzero): Likewise.
2740 (sinh_test_downward): Likewise.
2741 (sinh_test_upward): Likewise.
2742 (sqrt_test): Likewise.
2743 (sqrt_test_tonearest): Likewise.
2744 (sqrt_test_towardzero): Likewise.
2745 (sqrt_test_downward): Likewise.
2746 (sqrt_test_upward): Likewise.
2747 (tan_test): Likewise.
2748 (tan_test_tonearest): Likewise.
2749 (tan_test_towardzero): Likewise.
2750 (tan_test_downward): Likewise.
2751 (tan_test_upward): Likewise.
2752 (tanh_test): Likewise.
2753 (tgamma_test): Likewise.
2754 (trunc_test): Likewise.
2755 (y0_test): Likewise.
2756 (y1_test): Likewise.
2757 (yn_test): Likewise.
2758 (significand_test): Likewise.
2760 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2761 individual tests in comment.
2762 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2763 (prev_max_error): New variable.
2764 (prev_real_max_error): Likewise.
2765 (prev_imag_max_error): Likewise.
2766 (compare_ulp_data): Don't refer to test names in comment.
2767 (find_test_ulps): Remove function.
2768 (find_function_ulps): Likewise.
2769 (find_complex_function_ulps): Likewise.
2770 (init_max_error): Take function name as argument. Look up ulps
2772 (print_ulps): Remove function.
2773 (print_max_error): Use prev_max_error instead of calling
2775 (print_complex_max_error): Use prev_real_max_error and
2776 prev_imag_max_error instead of calling find_complex_function_ulps.
2777 (check_float_internal): Take max_ulp parameter instead of calling
2778 find_test_ulps. Don't call print_ulps.
2779 (check_float): Update call to check_float_internal.
2780 (check_complex): Update calls to check_float_internal.
2781 (START): Pass argument to init_max_error.
2782 * math/gen-libm-test.pl (%results): Don't include "kind"
2784 (parse_ulps): Don't handle ulps of individual tests.
2785 (print_ulps_file): Likewise.
2786 (output_ulps): Likewise.
2787 * math/README.libm-test: Update.
2788 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2790 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2791 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2792 * sysdeps/arm/libm-test-ulps: Likewise.
2793 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2794 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2795 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2796 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2797 * sysdeps/microblaze/libm-test-ulps: Likewise.
2798 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2799 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2801 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2803 * sysdeps/sh/libm-test-ulps: Likewise.
2804 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2805 * sysdeps/tile/libm-test-ulps: Likewise.
2806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2808 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2810 * math/libm-test.inc (print_complex_max_error): Check separately
2811 whether real and imaginary errors are within allowed range and
2812 pass 0 to print_complex_function_ulps instead of value within
2815 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2817 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2819 (get_handles_fopen): Likewise.
2820 (do_write_test): Likewise.
2822 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2824 * libio/fileops.c (do_ftell): Use cached offset when
2826 * libio/iofwide.c (do_ftell_wide): Likewise.
2827 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2829 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2832 * libio/libioP.h (get_file_offset): New function.
2833 * libio/fileops.c (get_file_offset): Likewise.
2834 (do_ftell): Likewise.
2835 (_IO_new_file_seekoff): Split out ftell logic.
2836 * libio/wfileops.c (do_ftell_wide): Likewise.
2837 (_IO_wfile_seekoff): Split out ftell logic.
2838 * libio/tst-ftell-active-handler.c: New test case.
2839 * libio/Makefile (tests): Add it.
2841 2014-03-03 Roland McGrath <roland@hack.frob.com>
2843 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2844 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2846 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2849 * nscd/connections.c (nscd_init): Call do_exit.
2850 (start_threads): Call do_exit and notify_parent.
2851 (begin_drop_privileges): Call do_exit.
2852 (finish_drop_privileges): Likewise.
2853 * nscd/selinux.c (preserve_capabilities): Likewise.
2854 (install_real_capabilities): Likewise.
2855 (nscd_selinux_enabled): Likewise.
2856 (avc_create_thread): Likewise.
2857 (avc_alloc_lock): Likewise.
2858 (nscd_avc_init): Likewise.
2859 * nscd/nscd.c (parent_fd): New static variable.
2860 (main): Create a pipe between parent and child processes.
2861 Skip closing parent_fd.
2862 (monitor_child): New function.
2863 (do_exit): Likewise.
2864 (notify_parent): Likewise.
2865 * nscd/nscd.h (notify_parent): Likewise.
2866 (do_exit): Likewise.
2868 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2870 * malloc/malloc.c (__libc_calloc): Revert last change.
2872 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2876 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2878 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2882 (__libc_ifunc_impl_list): Likewise.
2883 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2884 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2885 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2886 * string/strrchr.c: Define STRRCHR.
2888 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2890 * benchtest/bench-strtok.c (simple_strtok): Delete.
2891 (strtok_string): Use as benchmark.
2892 * string/strtok (STRTOK): New macro.
2894 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2896 * manual/threads.texi: Add header and standard comments to all
2899 * elf/dl-lookup.c (check_match): New function.
2900 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2901 (do_lookup_x): Remove nested function check_match. Use non-nested
2902 function check_match.
2904 2014-02-28 Roland McGrath <roland@hack.frob.com>
2906 * csu/Makefile (generated, before-compile): Use += rather than =.
2907 * catgets/Makefile (generated, generated-dirs): Likewise.
2908 * debug/Makefile (generated): Likewise.
2909 * dlfcn/Makefile (generated): Likewise.
2910 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2911 * iconvdata/Makefile (before-compile, generated): Likewise.
2912 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2913 * libio/Makefile (generated): Likewise.
2914 * malloc/Makefile (generated): Likewise.
2915 * manual/Makefile (generated, generated-dirs): Likewise.
2916 * misc/Makefile (generated): Likewise.
2917 * posix/Makefile (generated): Likewise.
2918 * resolv/Makefile (generated): Likewise.
2919 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2920 * timezone/Makefile (generated, generated-dirs): Likewise.
2922 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2924 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2929 POWER8 llround ifunc implementation.
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2931 POWER8 implementation.
2932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2933 POWER8 llround implementation.
2935 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2940 POWER8 llrint ifunc implementation.
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2942 POWER8 implementation.
2943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2944 POWER8 llrint implementation.
2946 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2951 POWER8 finite ifunc implementation.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2953 POWER8 implementation.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2956 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2957 POWER8 finite implementation.
2958 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2960 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2965 POWER8 isinf ifunc implementation.
2966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2967 POWER8 implementation.
2968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2971 POWER8 isinf implementation.
2972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2974 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2977 Add hwcap2 initialization.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2981 POWER8 isnan ifunc implementation.
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2983 POWER8 implementation.
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2986 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2987 POWER8 isnan implementation.
2988 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2990 2014-02-27 Joey Ye <joey.ye@arm.com>
2992 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2993 (_FP_NANFRAC_Q): Set to zero.
2995 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2998 * math/auto-libm-test-in: New test inputs.
2999 * math/auto-libm-test-out: Regenerate.
3000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3003 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3005 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3007 * scripts/evaluate-test.sh: Take new argument indicating whether
3008 failure is expected.
3009 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3010 indicating whether failure is expected.
3011 * conform/Makefile (test-xfail-run-conformtest): New variable.
3012 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3014 * posix/Makefile (test-xfail-annexc): New variable.
3015 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3017 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3019 * argp/Makefile: Include Makeconfig immediately after defining
3021 * assert/Makefile: Likewise.
3022 * benchtests/Makefile: Likewise.
3023 * catgets/Makefile: Likewise.
3024 * conform/Makefile: Likewise.
3025 * crypt/Makefile: Likewise.
3026 * csu/Makefile: Likewise.
3027 (all): Remove target.
3028 * ctype/Makefile: Include Makeconfig immediately after defining
3030 * debug/Makefile: Likewise.
3031 * dirent/Makefile: Likewise.
3032 * dlfcn/Makefile: Likewise.
3033 * gmon/Makefile: Likewise.
3034 * gnulib/Makefile: Likewise.
3035 * grp/Makefile: Likewise.
3036 * gshadow/Makefile: Likewise.
3037 * hesiod/Makefile: Likewise.
3038 * hurd/Makefile: Likewise.
3039 (all): Remove target.
3040 * iconvdata/Makefile: Include Makeconfig immediately after
3042 * inet/Makefile: Likewise.
3043 * intl/Makefile: Likewise.
3044 * io/Makefile: Likewise.
3045 * libio/Makefile: Likewise.
3046 (all): Remove target.
3047 * locale/Makefile: Include Makeconfig immediately after defining
3049 * login/Makefile: Likewise.
3050 * mach/Makefile: Likewise.
3051 (all): Remove target.
3052 * malloc/Makefile: Include Makeconfig immediately after defining
3054 (all): Remove target.
3055 * manual/Makefile: Include Makeconfig immediately after defining
3057 * math/Makefile: Likewise.
3058 * misc/Makefile: Likewise.
3059 * nis/Makefile: Likewise.
3060 * nss/Makefile: Likewise.
3061 * po/Makefile: Likewise.
3062 (all): Remove target.
3063 * posix/Makefile: Include Makeconfig immediately after defining
3065 * pwd/Makefile: Likewise.
3066 * resolv/Makefile: Likewise.
3067 * resource/Makefile: Likewise.
3068 * rt/Makefile: Likewise.
3069 * setjmp/Makefile: Likewise.
3070 * shadow/Makefile: Likewise.
3071 * signal/Makefile: Likewise.
3072 * socket/Makefile: Likewise.
3073 * soft-fp/Makefile: Likewise.
3074 * stdio-common/Makefile: Likewise.
3075 * stdlib/Makefile: Likewise.
3076 * streams/Makefile: Likewise.
3077 * string/Makefile: Likewise.
3078 * sunrpc/Makefile: Likewise.
3079 (all): Remove target.
3080 * sysvipc/Makefile: Include Makeconfig immediately after defining
3082 * termios/Makefile: Likewise.
3083 * time/Makefile: Likewise.
3084 * timezone/Makefile: Likewise.
3085 (all): Remove target.
3086 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3088 * wctype/Makefile: Likewise.
3090 2014-02-26 Steve Ellcey <sellcey@mips.com>
3092 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3093 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3094 (libc_feholdexcept_setround_mips): Ditto.
3095 (libc_feholdsetround): New.
3096 (libc_feholdsetroundf): New.
3097 (libc_feholdsetroundl): New.
3098 (libc_feupdateenv_test_mips): New.
3099 (libc_feupdateenv_test): New.
3100 (libc_feupdateenv_testf): New.
3101 (libc_feupdateenv_testl): New.
3102 (libc_feresetround): New.
3103 (libc_feresetroundf): New.
3104 (libc_feresetroundl): New.
3105 (libc_fetestexcept_mips): New.
3106 (libc_fetestexcept): New.
3107 (libc_fetestexceptf): New.
3108 (libc_fetestexceptl): New.
3110 (libc_feholdexcept_setround_mips_ctx): New.
3111 (libc_feholdexcept_setround_ctx): New.
3112 (libc_feholdexcept_setroundf_ctx): New.
3113 (libc_feholdexcept_setroundl_ctx): New.
3114 (libc_fesetenv_mips_ctx): New.
3115 (libc_fesetenv_ctx): New.
3116 (libc_fesetenv_ctxf): New.
3117 (libc_fesetenv_ctxl): New.
3118 (libc_feupdateenv_mips_ctx): New.
3119 (libc_feupdateenv_ctx): New.
3120 (libc_feupdateenvf_ctx): New.
3121 (libc_feupdateenvl_ctx): New.
3122 (libc_feholdsetround_mips_ctx): New.
3123 (libc_feholdsetround_ctx): New.
3124 (libc_feholdsetroundf_ctx): New.
3125 (libc_feholdsetroundl_ctx): New.
3126 (libc_feresetround_mips_ctx): New.
3127 (libc_feresetround_ctx): New.
3128 (libc_feresetroundf_ctx): New.
3129 (libc_feresetroundl_ctx): New.
3131 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3133 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3135 * manual/ipc.texi: New file.
3136 * manual/Makefile (chapters): Add ipc.
3137 * manual/job.texi: Add "Inter-Process Communication" to next.
3138 * manual/process.texi: Add "Inter-Process Communication" to prev.
3140 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3144 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3146 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3148 * manual/arith.texi: Fix spaces after sentences.
3149 * manual/charset.texi: Likewise.
3150 * manual/errno.texi: Likewise.
3151 * manual/install.texi: Likewise.
3152 * manual/llio.texi: Likewise.
3153 * manual/locale.texi: Likewise.
3154 * manual/maint.texi: Likewise.
3155 * manual/math.texi: Likewise.
3156 * manual/memory.texi: Likewise.
3157 * manual/message.texi: Likewise.
3158 * manual/probes.texi: Likewise.
3159 * manual/resource.texi: Likewise.
3160 * manual/signal.texi: Likewise.
3161 * manual/socket.texi: Likewise.
3162 * manual/stdio.texi: Likewise.
3163 * manual/string.texi: Likewise.
3164 * manual/time.texi: Likewise.
3165 * manual/users.texi: Likewise.
3167 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3170 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3171 _DEFAULT_SOURCE is defined.
3173 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3174 Carlos O'Donell <carlos@redhat.com>
3177 * elf/dl-tls.c (_dl_count_modids): New function.
3178 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3179 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3180 audit library and increment generation counter.
3181 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3182 * elf/tst-audit9.c: New file.
3183 * elf/tst-auditmod9a.c: New file.
3184 * elf/tst-auditmod9b.c: New file.
3185 * elf/Makefile: Add rules to build and run tst-audit9.
3187 2014-02-25 Florian Weimer <fweimer@redhat.com>
3190 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3192 2014-02-25 Will Newton <will.newton@linaro.org>
3194 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3195 (__longjmp): Restore sp and lr before restoring callee
3196 saved registers. Add longjmp and longjmp_target
3197 SystemTap probe point.
3198 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3199 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3200 Define to zero to match jmpbuf layout.
3201 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3202 (__sigsetjmp): Save sp and lr before saving callee
3203 saved registers. Add setjmp SystemTap probe point.
3205 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3207 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3209 2014-02-24 Andreas Schwab <schwab@suse.de>
3212 * elf/pldd.c (wait_for_ptrace_stop): New function.
3213 (main): Call it after attaching.
3215 2014-02-22 Roland McGrath <roland@hack.frob.com>
3217 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3218 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3219 Versions files is now verboten.
3220 * hurd/Versions (libc: GLIBC_2.0):
3221 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3222 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3223 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3224 * mach/Versions: Likewise.
3226 * csu/Versions: Remove unused %include.
3227 * resolv/Versions: Likewise.
3229 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3231 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3232 ($(objpfx)check-local-headers.out): Likewise.
3233 ($(objpfx)begin-end-check.out): Likewise.
3234 * Makerules (check-abi-%.out): Likewise.
3235 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3236 ($(objpfx)test2.cat): Likewise.
3237 ($(objpfx)de/libc.cat): Likewise.
3238 ($(objpfx)test-gencat.out): Likewise.
3239 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3240 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3241 ($(objpfx)noload-mem): Likewise.
3242 ($(objpfx)tst-pathopt.out): Likewise.
3243 ($(objpfx)tst-rtld-load-self.out): Likewise.
3244 ($(objpfx)tst-array1-cmp.out): Likewise.
3245 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3246 ($(objpfx)tst-array2-cmp.out): Likewise.
3247 ($(objpfx)tst-array3-cmp.out): Likewise.
3248 ($(objpfx)tst-array4-cmp.out): Likewise.
3249 ($(objpfx)tst-array5-cmp.out): Likewise.
3250 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3251 ($(objpfx)check-textrel.out): Likewise.
3252 ($(objpfx)check-execstack.out): Likewise.
3253 ($(objpfx)check-localplt.out): Likewise.
3254 ($(objpfx)order2-cmp.out): Likewise.
3255 ($(objpfx)tst-leaks1-mem): Likewise.
3256 ($(objpfx)tst-leaks1-static-mem): Likewise.
3257 ($(objpfx)tst-initorder-cmp.out): Likewise.
3258 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3259 ($(objpfx)tst-unused-dep.out): Likewise.
3260 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3261 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3262 * iconv/Makefile (test-iconvconfig): Likewise.
3263 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3264 ($(objpfx)iconv-test.out): Likewise.
3265 ($(objpfx)tst-tables.out): Likewise.
3266 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3267 ($(objpfx)tst-gettext.out): Likewise.
3268 ($(objpfx)tst-translit.out): Likewise.
3269 ($(objpfx)tst-gettext2.out): Likewise.
3270 ($(objpfx)tst-gettext4.out): Likewise.
3271 ($(objpfx)tst-gettext6.out): Likewise.
3272 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3273 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3274 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3275 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3277 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3278 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3279 ($(objpfx)wordexp-tst.out): Likewise.
3280 ($(objpfx)annexc.out): Likewise.
3281 ($(objpfx)tst-fnmatch-mem): Likewise.
3282 ($(objpfx)bug-regex2-mem): Likewise.
3283 ($(objpfx)bug-regex14-mem): Likewise.
3284 ($(objpfx)bug-regex21-mem): Likewise.
3285 ($(objpfx)bug-regex31-mem): Likewise.
3286 ($(objpfx)tst-vfork3-mem): Likewise.
3287 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3288 ($(objpfx)tst-pcre-mem): Likewise.
3289 ($(objpfx)tst-boost-mem): Likewise.
3290 ($(objpfx)tst-getconf.out): Likewise.
3291 ($(objpfx)bug-ga2-mem): Likewise.
3292 ($(objpfx)bug-glob2-mem): Likewise.
3293 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3294 ($(objpfx)mtrace-tst-leaks2): Likewise.
3295 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3296 ($(objpfx)tst-printf.out): Likewise.
3297 ($(objpfx)tst-setvbuf1.out): Likewise.
3298 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3299 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3300 ($(objpfx)tst-fmtmsg.out): Likewise.
3301 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3302 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3304 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3305 * bits/sigaction.h [__USE_MISC]: Likewise.
3306 * bits/waitstatus.h: Update #endif comments.
3307 * ctype/ctype.h: Likewise.
3308 * dirent/dirent.h: Likewise.
3309 [__USE_MISC]: Remove redundant conditionals.
3310 * grp/grp.h: Update #endif comments.
3311 [__USE_GNU]: Remove redundant conditionals.
3312 [__USE_MISC]: Likewise.
3313 * inet/netinet/in.h [__USE_GNU]: Likewise.
3314 * io/sys/stat.h [__USE_MISC]: Likewise.
3315 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3316 * libio/bits/stdio.h: Update #endif comments.
3317 [__USE_MISC]: Remove redundant conditionals.
3318 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3319 * libio/stdio.h: Update #endif comments.
3320 [__USE_MISC]: Remove redundant conditionals.
3321 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3322 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3323 * math/math.h: Update #else and #endif comments.
3324 [__USE_MISC]: Remove redundant conditionals.
3325 * misc/sys/uio.h: Update #endif comments.
3326 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3327 * posix/glob.h [__USE_MISC]: Likewise.
3328 * posix/sys/types.h: Update #endif comments.
3329 [__USE_MISC]: Remove redundant conditionals.
3330 * posix/sys/wait.h: Update #endif comments.
3331 [__USE_MISC]: Remove redundant conditionals.
3332 * posix/unistd.h: Update #endif comments.
3333 [__USE_MISC]: Remove redundant conditionals.
3334 * pwd/pwd.h [__USE_GNU]: Likewise.
3335 [__USE_MISC]: Likewise.
3336 * resolv/netdb.h [__USE_GNU]: Likewise.
3337 * signal/signal.h: Update #endif comments.
3338 [__USE_MISC]: Remove redundant conditionals.
3339 * stdlib/stdlib.h: Update #else and #endif comments.
3340 [__USE_MISC]: Remove redundant conditionals.
3341 [__USE_GNU]: Likewise.
3342 * string/bits/string2.h [__USE_MISC]: Likewise.
3343 * string/string.h: Update #endif comments.
3344 [__USE_MISC]: Remove redundant conditionals.
3345 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3347 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3348 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3349 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3351 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3353 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3355 [__USE_MISC]: Remove redundant conditionals.
3356 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3357 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3358 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3359 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3360 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3362 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3363 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3365 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3368 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3370 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3371 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3373 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3375 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3376 * sysdeps/x86/bits/string.h: Update #endif comments.
3377 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3379 * time/sys/time.h: Update #endif comments.
3380 * time/time.h: Likewise.
3381 [__USE_MISC]: Remove redundant conditionals.
3383 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3386 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3388 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3390 * Versions.def (librt): Add GLIBC_2.17.
3392 2014-02-21 Adam Conrad <adconrad@0c3.net>
3394 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3395 synonym for _SYS_AUXV_H to allow direct inclusion.
3396 * sysdeps/sparc/bits/hwcap.h: Likewise.
3397 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3398 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3399 * sysdeps/sparc/sysdep.h: Likewise.
3401 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3403 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3405 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3407 * benchtests/bench-strrchr.c: Print length instead of position.
3409 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3412 * sysdeps/unix/sysv/linux/kernel-features.h
3413 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3414 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3415 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3416 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3418 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3419 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3420 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3421 (__ASSUME_SENDMMSG): Define instead of using previous
3422 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3423 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3424 (__ASSUME_SENDMMSG_SYSCALL): Define.
3425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3426 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3428 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3429 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3432 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3434 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3435 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3436 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3437 [__ASSUME_SENDMMSG]: Change conditionals to
3438 [__ASSUME_SENDMMSG_SOCKETCALL].
3439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3440 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3442 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3443 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3445 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3446 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3447 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3448 [!__ASSUME_SENDMMSG]: Change conditional to
3449 [!__ASSUME_SENDMMSG_SOCKETCALL].
3450 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3451 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3455 * sysdeps/unix/sysv/linux/kernel-features.h
3456 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3457 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3458 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3459 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3460 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3461 [__i386__ || __sparc__]
3462 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3463 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3464 (__ASSUME_RECVMMSG): Define instead of using previous
3465 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3466 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3467 (__ASSUME_RECVMMSG_SYSCALL): Define.
3468 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3469 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3471 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3474 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3477 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3478 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3479 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3480 [__ASSUME_RECVMMSG]: Change condition to
3481 [__ASSUME_RECVMMSG_SOCKETCALL].
3482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3485 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3486 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3487 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3489 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3490 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3491 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3492 [!__ASSUME_RECVMMSG]: Change condition to
3493 [!__ASSUME_RECVMMSG_SOCKETCALL].
3494 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3495 (__ASSUME_RECVMMSG_SYSCALL): Define.
3498 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3499 __powerpc__ || __s390__ || __sh__ || __sparc__]
3500 (__ASSUME_SOCKETCALL): Define.
3501 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3502 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3503 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3504 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3505 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3506 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3507 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3508 (__ASSUME_ACCEPT4): Define instead of using previous
3509 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3510 __powerpc__ || __sparc__ || __s390__)] condition.
3511 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3512 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3513 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3514 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3515 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3516 [!__ASSUME_ACCEPT4]: Change condition to
3517 [!__ASSUME_ACCEPT4_SOCKETCALL].
3518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3519 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3520 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3522 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3523 __ASSUME_ACCEPT4_SYSCALL.
3524 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3525 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3526 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3527 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3528 __ASSUME_ACCEPT4_SYSCALL.
3529 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3530 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3531 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3532 [__ASSUME_ACCEPT4]: Change condition to
3533 [__ASSUME_ACCEPT4_SOCKETCALL].
3534 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3535 (__ASSUME_SOCKETCALL): Define.
3536 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3538 (__ASSUME_SOCKETCALL): Define.
3539 (__ASSUME_ACCEPT4): Remove.
3540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3543 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3545 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3546 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3548 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3550 (HWCAP_ARM_LPAE): Likewise.
3551 (HWCAP_ARM_EVTSTRM): Likewise.
3552 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3553 Add vpfd32, lpae and evtstrm.
3554 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3557 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3559 * math/auto-libm-test-in: Add tests of clog10.
3560 * math/auto-libm-test-out: Regenerated.
3561 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3562 * sysdeps/i386/fpu/libm-test-ulps: Update.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565 2014-02-18 Andreas Schwab <schwab@suse.de>
3568 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3569 Store non-zero if the second buffer was newly allocated.
3570 (send_dg): Likewise.
3571 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3572 to send_vc and send_dg.
3573 (res_nsend): Pass NULL for ansp2_malloced.
3574 * resolv/res_query.c (__libc_res_nquery): Add parameter
3575 answerp2_malloced and pass it down to __libc_res_nsend.
3576 (res_nquery): Pass additional NULL to __libc_res_nquery.
3577 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3578 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3579 second answer buffer if answerp2_malloced was set.
3580 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3581 (__libc_res_nquerydomain): Add parameter
3582 answerp2_malloced and pass it down to __libc_res_nquery.
3583 (res_nquerydomain): Pass additional NULL to
3584 __libc_res_nquerydomain.
3585 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3586 additional NULL to __libc_res_nsend and __libc_res_nquery.
3587 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3588 additional NULL to __libc_res_nsearch.
3589 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3590 parameter of __libc_res_nsearch to check for separately allocated
3592 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3594 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3595 additional NULL to __libc_res_nquery.
3596 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3598 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3599 * include/resolv.h: Update prototypes of __libc_res_nquery,
3600 __libc_res_nsearch, __libc_res_nsend.
3602 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3604 * math/auto-libm-test-in: Add tests of fma.
3605 * math/auto-libm-test-out: Regenerated.
3606 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3607 (fma_towardzero_test_data): Likewise.
3608 (fma_downward_test_data): Likewise.
3609 (fma_upward_test_data): Likewise.
3610 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3612 (rounding_modes): Add values for new field.
3613 (func_calc_method): Add value mpfr_fff_f.
3614 (func_calc_desc): Add mpfr_fff_f union field.
3615 (test_function): Add field exact_args.
3616 (FUNC): Add macro argument EXACT_ARGS.
3617 (FUNC_mpfr_f_f): Update call to FUNC.
3618 (FUNC_mpfr_f_f): Likewise.
3619 (FUNC_mpfr_ff_f): Likewise.
3620 (FUNC_mpfr_if_f): Likewise.
3621 (FUNC_mpc_c_f): Likewise.
3622 (FUNC_mpc_c_c): Likewise.
3623 (test_functions): Add fma. Update calls to FUNC.
3624 (handle_input_arg): Add argument exact_args.
3625 (add_test): Update call to handle_input_arg.
3626 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3627 (output_for_one_input_case): Update call to calc_generic_results.
3628 Recalculate exact zero results in each rounding mode.
3630 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3631 non-negative before setting low bit.
3632 * math/auto-libm-test-in: Mark one asin test possibly having
3634 * math/auto-libm-test-out: Regenerated.
3635 * sysdeps/i386/fpu/libm-test-ulps: Update.
3636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3638 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3640 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3641 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3642 ports/sysdeps/unix/sysv/linux/microblaze.
3643 * README: Add missing listing for microblaze*-*-linux-gnu.
3645 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3647 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3648 * sysdeps/unix/sysv/linux/ia64: Move directory from
3649 ports/sysdeps/unix/sysv/linux/ia64.
3650 * README: Update listing for ia64-*-linux-gnu.
3652 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3653 Joseph Myers <joseph@codesourcery.com>
3655 * Makeconfig (test-name): New variable.
3656 (evaluate-test): Likewise.
3657 * Makerules (do-test-clean): Remove .test-result files.
3658 (common-mostlyclean): Likewise.
3659 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3660 * scripts/evaluate-test.sh: New file.
3662 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3664 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3665 separate $(objpfx)tst-fopenloc-cmp.out and
3666 $(objpfx)tst-fopenloc-mem.out targets.
3667 (tests): Update dependencies.
3668 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3669 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3670 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3671 (tst-rxspencer-no-utf8-ARGS): New variable.
3672 (tst-rxspencer-no-utf8-ENV): Likewise.
3673 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3674 instead of $(objpfx)tst-rxspencer-mem.
3675 ($(objpfx)tst-rxspencer-mem): Change target to
3676 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3677 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3678 * posix/tst-rxspencer-no-utf8.c: New file.
3680 * elf/Makefile ($(objpfx)order.out): Remove rule.
3681 [$(run-built-tests) = yes] (tests): Depend on
3682 $(objpfx)order-cmp.out.
3683 ($(objpfx)order-cmp.out): New rule.
3684 [$(run-built-tests) = yes] (tests): Depend on
3685 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3686 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3687 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3688 $(objpfx)tst-array5-static-cmp.out.
3689 ($(objpfx)tst-array1.out): Remove rule.
3690 ($(objpfx)tst-array1-cmp.out): New rule.
3691 ($(objpfx)tst-array1-static.out): Remove rule.
3692 ($(objpfx)tst-array1-static-cmp.out): New rule.
3693 ($(objpfx)tst-array2.out): Remove rule.
3694 ($(objpfx)tst-array2-cmp.out): New rule.
3695 ($(objpfx)tst-array3.out): Remove rule.
3696 ($(objpfx)tst-array3-cmp.out): New rule.
3697 ($(objpfx)tst-array4.out): Remove rule.
3698 ($(objpfx)tst-array4-cmp.out): New rule.
3699 ($(objpfx)tst-array5.out): Remove rule.
3700 ($(objpfx)tst-array5-cmp.out): New rule.
3701 ($(objpfx)tst-array5-static.out): Remove rule.
3702 ($(objpfx)tst-array5-static-cmp.out): New rule.
3703 [$(run-built-tests) = yes] (tests): Depend on
3704 $(objpfx)order2-cmp.out.
3705 ($(objpfx)order2.out): Remove rule.
3706 ($(objpfx)order2-cmp.out): New rule.
3707 ($(objpfx)tst-initorder.out): Remove rule.
3708 [$(run-built-tests) = yes] (tests): Depend on
3709 $(objpfx)tst-initorder-cmp.out.
3710 ($(objpfx)tst-initorder-cmp.out): New rule.
3711 ($(objpfx)tst-initorder2.out): Remove rule.
3712 [$(run-built-tests) = yes] (tests): Depend on
3713 $(objpfx)tst-initorder2-cmp.out.
3714 ($(objpfx)tst-initorder2-cmp.out): New rule.
3715 [$(run-built-tests) = yes] (tests): Depend on
3716 $(objpfx)tst-unused-dep-cmp.out.
3717 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3718 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3719 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3720 on $(objpfx)tst-setvbuf1-cmp.out.
3721 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3722 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3723 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3724 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3725 ($(objpfx)tst-svc.out): Remove rule.
3726 ($(objpfx)tst-svc-cmp.out): New rule.
3728 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3730 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3731 * ctype/ctype.h [__USE_MISC]: Likewise.
3732 * dirent/dirent.h [__USE_MISC]: Likewise.
3733 * grp/grp.h [__USE_MISC]: Likewise.
3734 * io/fcntl.h [__USE_MISC]: Likewise.
3735 * io/sys/stat.h [__USE_MISC]: Likewise.
3736 * libio/stdio.h [__USE_MISC]: Likewise.
3737 * posix/unistd.h [__USE_MISC]: Likewise.
3738 * pwd/pwd.h [__USE_MISC]: Likewise.
3739 * stdlib.h [__USE_MISC]: Likewise.
3740 * string/bits/string2.h [__USE_MISC]: Likewise.
3741 * string/string.h [__USE_MISC]: Likewise.
3742 * time/time.h [__USE_MISC]: Likewise.
3744 2014-02-13 Andreas Schwab <schwab@suse.de>
3747 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3748 second answer buffer if it was separately allocated.
3750 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/mips/math-tests.h: Include <features.h>.
3753 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3754 (ROUNDING_TESTS_long_double): Do not define.
3755 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3756 (EXCEPTION_TESTS_long_double): Likewise.
3757 * sysdeps/mips/mips64/libm-test-ulps: Update.
3759 * include/features.h (__USE_BSD): Remove macro definitions.
3760 (__USE_SVID): Likewise.
3761 (_BSD_SOURCE): Likewise.
3762 (_SVID_SOURCE): Likewise.
3763 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3764 from definition of _DEFAULT_SOURCE.
3765 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3767 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3768 * bits/mman.h [__USE_BSD]: Likewise.
3769 * bits/termios.h [__USE_BSD]: Likewise.
3770 * bits/waitstatus.h [__USE_BSD]: Likewise.
3771 * ctype/ctype.h [__USE_SVID]: Likewise.
3772 * dirent/dirent.h [__USE_BSD]: Likewise.
3773 * grp/grp.h [__USE_SVID]: Likewise.
3774 [__USE_BSD]: Likewise.
3775 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3776 * io/fcntl.h [__USE_BSD]: Likewise.
3777 * io/ftw.h [__USE_BSD]: Likewise.
3778 * io/sys/stat.h [__USE_BSD]: Likewise.
3779 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3780 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3781 * libio/stdio.h [__USE_SVID]: Likewise.
3782 [__USE_BSD]: Likewise.
3783 * math/math.h [__USE_SVID]: Likewise.
3784 [__USE_BSD]: Likewise.
3785 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3786 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3787 * misc/search.h [__USE_SVID]: Likewise.
3788 * misc/sys/mman.h [__USE_BSD]: Likewise.
3789 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3790 * misc/sys/uio.h [__USE_BSD]: Likewise.
3791 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3792 * posix/glob.h [__USE_BSD]: Likewise.
3793 * posix/regex.h [__USE_BSD]: Likewise.
3794 * posix/sys/types.h [__USE_BSD]: Likewise.
3795 [__USE_SVID]: Likewise.
3796 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3797 * posix/sys/wait.h [__USE_BSD]: Likewise.
3798 [__USE_SVID]: Likewise.
3799 * posix/unistd.h [__USE_BSD]: Likewise.
3800 [__USE_SVID]: Likewise.
3801 * pwd/pwd.h [__USE_SVID]: Likewise.
3802 * resolv/netdb.h [__USE_BSD]: Likewise.
3803 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3804 * signal/signal.h [__USE_BSD]: Likewise.
3805 [__USE_SVID]: Likewise.
3806 * socket/sys/socket.h [__USE_BSD]: Likewise.
3807 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3808 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3809 [__USE_SVID]: Likewise.
3810 * string/bits/string2.h [__USE_BSD]: Likewise.
3811 [__USE_SVID]: Likewise.
3812 * string/bits/string3.h [__USE_BSD]: Likewise.
3813 * string/endian.h [__USE_BSD]: Likewise.
3814 * string/string.h [__USE_SVID]: Likewise.
3815 [__USE_BSD]: Likewise.
3816 * string/strings.h [__USE_BSD]: Likewise.
3817 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3818 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3819 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3820 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3821 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3822 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3826 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3827 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3829 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3830 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3832 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3834 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3835 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3836 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3838 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3840 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3841 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3842 * termios/termios.h [__USE_BSD]: Likewise.
3843 * time/sys/time.h [__USE_BSD]: Likewise.
3844 * time/time.h [__USE_BSD]: Likewise.
3845 [__USE_SVID]: Likewise.
3847 * Makefile (subdir_targets): Remove subdir_lint.out.
3849 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3850 (do-tst-printf): Likewise.
3851 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3852 $(objpfx)tst-printf.out.
3854 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3856 * Makerules (check-abi-%): Change target to
3857 $(objpfx)check-abi-%.out.
3858 (check-abi target): Update dependencies.
3859 (check-abi-pattern variable): Redirect output of diff to $@.
3860 (check-abi variable): Likewise.
3861 * elf/Makefile (check-abi): Update dependencies.
3863 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3865 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3866 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3868 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3869 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3870 value has largest subnormal exponent.
3871 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3872 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3873 * sysdeps/aarch64/soft-fp/sfp-machine.h
3874 (_FP_TININESS_AFTER_ROUNDING): New macro.
3875 * sysdeps/alpha/soft-fp/sfp-machine.h
3876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3877 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3879 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3880 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3881 * sysdeps/mips/soft-fp/sfp-machine.h
3882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3883 * sysdeps/powerpc/soft-fp/sfp-machine.h
3884 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3885 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3888 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3891 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3894 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3897 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3900 2014-02-12 Richard Henderson <rth@redhat.com>
3902 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3903 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3904 * sysdeps/unix/sysv/linux/alpha: Move directory from
3905 ports/sysdeps/unix/sysv/linux/alpha.
3906 * README: Update listing for alpha-*-linux-gnu.
3908 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3910 * include/features.h: Update comment documenting feature test
3912 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3914 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3915 (_SVID_SOURCE): Likewise.
3916 (_DEFAULT_SOURCE): Update description of default features.
3917 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3919 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3920 (S_ISVTX): Likewise.
3921 * manual/math.texi (Mathematical Constants): Likewise.
3922 * manual/signal.texi (Interrupted Primitives): Likewise.
3923 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3924 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3925 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3926 Don't refer to _SVID_SOURCE in warning text.
3928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3930 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3932 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3933 * sysdeps/mips/dl-lookup.c: Remove.
3934 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3936 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3939 * math/auto-libm-test-in: Add testcase for expl.
3940 * math/auto-libm-test-out: Regenerate.
3941 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3942 calculation of unsafe.
3943 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3945 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3947 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3948 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3949 ports/sysdeps/unix/sysv/linux/aarch64.
3950 * README: Update listing for aarch64*-*-linux-gnu.
3952 2014-02-11 Will Newton <will.newton@linaro.org>
3954 * manual/probes.texi (Mathematical Function Probes): Use
3955 "triggered" instead of "hit".
3957 2014-02-11 Will Newton <will.newton@linaro.org>
3959 * manual/probes.texi (Internal Probes): Add documentation
3960 of setjmp, longjmp and longjmp_target probes.
3962 2014-02-11 Will Newton <will.newton@linaro.org>
3964 * include/stap-probe.h: Add comment about probe argument
3967 2014-02-11 Will Newton <will.newton@linaro.org>
3969 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3970 definition. (tr_where, tr_freehook, tr_mallochook,
3971 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3973 2014-02-11 David S. Miller <davem@davemloft.net>
3975 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3976 processing int_tests.
3978 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3981 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3982 * sysdeps/unix/sysv/linux/mips: Move directory from
3983 ports/sysdeps/unix/sysv/linux/mips.
3984 * README: Update listing for mips-*-linux-gnu and
3987 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3989 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3990 * sysdeps/unix/sysv/linux/m68k: Move directory from
3991 ports/sysdeps/unix/sysv/linux/m68k.
3992 * README: Update listing for m68k-*-linux-gnu.
3994 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3996 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3997 * sysdeps/unix/sysv/linux/generic: Move directory from
3998 ports/sysdeps/unix/sysv/linux/generic.
3999 * sysdeps/unix/sysv/linux/tile: Move directory from
4000 ports/sysdeps/unix/sysv/linux/tile.
4001 * README: Update listing for tile*-*-linux-gnu.
4003 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4005 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
4006 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4007 * catgets/open_catalog.c (__open_catalog): Likewise.
4008 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4009 * debug/confstr_chk.c: Likewise.
4010 * debug/fread_chk.c (__fread_chk): Likewise.
4011 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4012 * debug/getgroups_chk.c: Likewise.
4013 * debug/mbsnrtowcs_chk.c: Likewise.
4014 * debug/mbsrtowcs_chk.c: Likewise.
4015 * debug/mbstowcs_chk.c: Likewise.
4016 * debug/memcpy_chk.c: Likewise.
4017 * debug/memmove_chk.c: Likewise.
4018 * debug/mempcpy_chk.c: Likewise.
4019 * debug/memset_chk.c: Likewise.
4020 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4021 * debug/strcat_chk.c (__strcat_chk): Likewise.
4022 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4023 * debug/strncat_chk.c (__strncat_chk): Likewise.
4024 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4025 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4026 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4027 * debug/wcpncpy_chk.c: Likewise.
4028 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4029 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4030 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4031 * debug/wcsncpy_chk.c: Likewise.
4032 * debug/wcsnrtombs_chk.c: Likewise.
4033 * debug/wcsrtombs_chk.c: Likewise.
4034 * debug/wcstombs_chk.c: Likewise.
4035 * debug/wmemcpy_chk.c: Likewise.
4036 * debug/wmemmove_chk.c: Likewise.
4037 * debug/wmempcpy_chk.c: Likewise.
4038 * debug/wmemset_chk.c: Likewise.
4039 * dirent/scandirat.c (SCANDIRAT): Likewise.
4040 * dlfcn/dladdr1.c (dladdr1): Likewise.
4041 * dlfcn/dladdr.c (dladdr): Likewise.
4042 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4043 * dlfcn/dlerror.c (__dlerror): Likewise.
4044 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4045 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4046 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4047 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4048 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4049 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4050 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4051 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4053 * elf/dl-conflict.c: Likewise.
4054 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4055 * elf/dl-dst.h: Likewise.
4056 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4057 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4059 * elf/dl-init.c (call_init, _dl_init): Likewise.
4060 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4061 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4062 _dl_map_object_from_fd, open_verify, open_path,
4063 _dl_map_object): Likewise.
4064 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4066 * elf/dl-minimal.c (__libc_memalign): Likewise.
4067 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4068 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4069 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4070 * elf/dl-sym.c (do_sym): Likewise.
4071 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4072 _dl_tls_get_addr_soft): Likewise.
4073 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4074 * elf/dl-writev.h (_dl_writev): Likewise.
4075 * elf/ldconfig.c (search_dir): Likewise.
4076 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4078 * elf/setup-vdso.h (setup_vdso): Likewise.
4079 * grp/compat-initgroups.c (compat_call): Likewise.
4080 * grp/fgetgrent.c (fgetgrent): Likewise.
4081 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4082 * grp/putgrent.c (putgrent): Likewise.
4083 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4085 * hurd/hurdinit.c: Likewise.
4086 * iconvdata/8bit-gap.c (struct): Likewise.
4087 * iconvdata/ansi_x3.110.c : Likewise.
4088 * iconvdata/big5.c : Likewise.
4089 * iconvdata/big5hkscs.c : Likewise.
4090 * iconvdata/cp1255.c: Likewise.
4091 * iconvdata/cp1258.c : Likewise.
4092 * iconvdata/cp932.c : Likewise.
4093 * iconvdata/euc-cn.c: Likewise.
4094 * iconvdata/euc-jisx0213.c : Likewise.
4095 * iconvdata/euc-jp.c: Likewise.
4096 * iconvdata/euc-jp-ms.c : Likewise.
4097 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4098 * iconvdata/gb18030.c : Likewise.
4099 * iconvdata/gbbig5.c (const): Likewise.
4100 * iconvdata/gbgbk.c: Likewise.
4101 * iconvdata/gbk.c : Likewise.
4102 * iconvdata/ibm1364.c : Likewise.
4103 * iconvdata/ibm930.c : Likewise.
4104 * iconvdata/ibm932.c: Likewise.
4105 * iconvdata/ibm933.c : Likewise.
4106 * iconvdata/ibm935.c : Likewise.
4107 * iconvdata/ibm937.c : Likewise.
4108 * iconvdata/ibm939.c : Likewise.
4109 * iconvdata/ibm943.c: Likewise.
4110 * iconvdata/iso_11548-1.c: Likewise.
4111 * iconvdata/iso-2022-cn.c : Likewise.
4112 * iconvdata/iso-2022-cn-ext.c : Likewise.
4113 * iconvdata/iso-2022-jp-3.c: Likewise.
4114 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4115 * iconvdata/iso-2022-kr.c : Likewise.
4116 * iconvdata/iso646.c (gconv_end): Likewise.
4117 * iconvdata/iso_6937-2.c : Likewise.
4118 * iconvdata/iso_6937.c : Likewise.
4119 * iconvdata/iso8859-1.c: Likewise.
4120 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4121 * iconvdata/shift_jisx0213.c : Likewise.
4122 * iconvdata/sjis.c : Likewise.
4123 * iconvdata/t.61.c : Likewise.
4124 * iconvdata/tcvn5712-1.c : Likewise.
4125 * iconvdata/tscii.c: Likewise.
4126 * iconvdata/uhc.c : Likewise.
4127 * iconvdata/unicode.c (gconv_end): Likewise.
4128 * iconvdata/utf-16.c (gconv_end): Likewise.
4129 * iconvdata/utf-32.c (gconv_end): Likewise.
4130 * iconvdata/utf-7.c (base64): Likewise.
4131 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4132 * iconv/gconv_close.c (__gconv_close): Likewise.
4133 * iconv/gconv_open.c (__gconv_open): Likewise.
4134 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4135 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4136 internal_ucs4le_loop_single, ucs4le_internal_loop,
4137 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4138 * iconv/iconv.c (iconv): Likewise.
4139 * iconv/iconv_close.c: Likewise.
4140 * iconv/loop.c (SINGLE): Likewise.
4141 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4142 * include/atomic.h: Likewise.
4143 * inet/inet6_option.c (option_alloc): Likewise.
4144 * intl/bindtextdom.c (set_binding_values): Likewise.
4145 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4146 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4147 * intl/localealias.c (read_alias_file): Likewise.
4148 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4149 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4150 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4151 * libio/fmemopen.c (fmemopen): Likewise.
4152 * libio/iofgets.c (_IO_fgets): Likewise.
4153 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4154 * libio/iofgetws.c (fgetws): Likewise.
4155 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4156 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4157 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4158 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4159 * locale/findlocale.c (_nl_find_locale): Likewise.
4160 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4161 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4163 * locale/setlocale.c (setlocale): Likewise.
4164 * login/programs/pt_chown.c (main): Likewise.
4165 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4166 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4167 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4168 mmap, mmap64, mremap, munmap): Likewise.
4169 * math/e_exp2l.c: Likewise.
4170 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4171 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4172 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4173 * math/s_catan.c (__catan): Likewise.
4174 * math/s_catanf.c (__catanf): Likewise.
4175 * math/s_catanh.c (__catanh): Likewise.
4176 * math/s_catanhf.c (__catanhf): Likewise.
4177 * math/s_catanhl.c (__catanhl): Likewise.
4178 * math/s_catanl.c (__catanl): Likewise.
4179 * math/s_ccosh.c (__ccosh): Likewise.
4180 * math/s_ccoshf.c (__ccoshf): Likewise.
4181 * math/s_ccoshl.c (__ccoshl): Likewise.
4182 * math/s_cexp.c (__cexp): Likewise.
4183 * math/s_cexpf.c (__cexpf): Likewise.
4184 * math/s_cexpl.c (__cexpl): Likewise.
4185 * math/s_clog10.c (__clog10): Likewise.
4186 * math/s_clog10f.c (__clog10f): Likewise.
4187 * math/s_clog10l.c (__clog10l): Likewise.
4188 * math/s_clog.c (__clog): Likewise.
4189 * math/s_clogf.c (__clogf): Likewise.
4190 * math/s_clogl.c (__clogl): Likewise.
4191 * math/s_csin.c (__csin): Likewise.
4192 * math/s_csinf.c (__csinf): Likewise.
4193 * math/s_csinh.c (__csinh): Likewise.
4194 * math/s_csinhf.c (__csinhf): Likewise.
4195 * math/s_csinhl.c (__csinhl): Likewise.
4196 * math/s_csinl.c (__csinl): Likewise.
4197 * math/s_csqrt.c (__csqrt): Likewise.
4198 * math/s_csqrtf.c (__csqrtf): Likewise.
4199 * math/s_csqrtl.c (__csqrtl): Likewise.
4200 * math/s_ctan.c (__ctan): Likewise.
4201 * math/s_ctanf.c (__ctanf): Likewise.
4202 * math/s_ctanh.c (__ctanh): Likewise.
4203 * math/s_ctanhf.c (__ctanhf): Likewise.
4204 * math/s_ctanhl.c (__ctanhl): Likewise.
4205 * math/s_ctanl.c (__ctanl): Likewise.
4206 * math/w_pow.c: Likewise.
4207 * math/w_powf.c: Likewise.
4208 * math/w_powl.c: Likewise.
4209 * math/w_scalb.c (sysv_scalb): Likewise.
4210 * math/w_scalbf.c (sysv_scalbf): Likewise.
4211 * math/w_scalbl.c (sysv_scalbl): Likewise.
4212 * misc/error.c (error_tail): Likewise.
4213 * misc/pselect.c (__pselect): Likewise.
4214 * nis/nis_callback.c (__nis_create_callback): Likewise.
4215 * nis/nis_call.c (__nisfind_server): Likewise.
4216 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4217 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4218 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4219 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4220 * nis/nis_lookup.c (nis_lookup): Likewise.
4221 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4222 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4223 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4224 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4225 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4226 internal_getgrgid_r): Likewise.
4227 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4229 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4230 internal_getpwuid_r): Likewise.
4231 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4232 internal_getspnam_r): Likewise.
4233 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4234 _nss_nis_getaliasbyname_r): Likewise.
4235 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4236 _nss_nis_getntohost_r): Likewise.
4237 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4238 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4240 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4241 internal_nis_gethostent_r, internal_gethostbyname2_r,
4242 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4243 _nss_nis_gethostbyname4_r): Likewise.
4244 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4245 initgroups_netid): Likewise.
4246 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4247 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4248 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4249 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4250 _nss_nis_getprotobynumber_r): Likewise.
4251 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4252 _nss_nis_getsecretkey): Likewise.
4253 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4254 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4256 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4257 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4258 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4259 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4260 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4261 _nss_nis_getspnam_r): Likewise.
4262 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4264 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4265 _nss_nisplus_getntohost_r): Likewise.
4266 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4267 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4268 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4269 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4270 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4272 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4273 _nss_nisplus_getnetbyaddr_r): Likewise.
4274 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4275 _nss_nisplus_getprotobynumber_r): Likewise.
4276 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4277 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4278 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4280 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4281 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4282 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4283 _nss_nisplus_getspnam_r): Likewise.
4284 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4285 * nscd/aicache.c (addhstaiX): Likewise.
4286 * nscd/cache.c (cache_search, prune_cache): Likewise.
4287 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4288 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4289 * nscd/grpcache.c (addgrbyX): Likewise.
4290 * nscd/hstcache.c (addhstbyX): Likewise.
4291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4292 * nscd/mem.c (gc, mempool_alloc): Likewise.
4293 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4295 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4297 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4298 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4299 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4301 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4303 * nscd/nscd_helper.c (__readvall, open_socket,
4304 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4305 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4306 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4307 * nscd/pwdcache.c (addpwbyX): Likewise.
4308 * nscd/selinux.c (preserve_capabilities): Likewise.
4309 * nscd/servicescache.c (addservbyX): Likewise.
4310 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4311 * posix/fnmatch.c (fnmatch): Likewise.
4312 * posix/getopt.c (_getopt_internal_r): Likewise.
4313 * posix/glob.c (glob, glob_in_dir): Likewise.
4314 * posix/wordexp.c (exec_comm_child): Likewise.
4315 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4316 gaih_getanswer_slice): Likewise.
4317 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4318 * resolv/res_init.c: Likewise.
4319 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4320 * resolv/res_query.c (__libc_res_nquery): Likewise.
4321 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4323 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4324 * stdio-common/perror.c (perror): Likewise.
4325 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4326 * stdio-common/tmpnam.c (tmpnam): Likewise.
4327 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4328 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4329 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4330 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4331 * stdlib/putenv.c (putenv): Likewise.
4332 * stdlib/setenv.c (__add_to_environ): Likewise.
4333 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4334 * stdlib/strtol_l.c (INTERNAL): Likewise.
4335 * string/memmem.c (memmem): Likewise.
4336 * string/strerror.c (strerror): Likewise.
4337 * string/strnlen.c (__strnlen): Likewise.
4338 * string/test-memmem.c (simple_memmem): Likewise.
4339 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4340 * sunrpc/pm_getport.c (__get_socket): Likewise.
4341 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4342 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4343 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4344 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4346 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4347 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4348 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4349 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4350 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4351 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4352 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4353 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4354 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4356 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4357 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4361 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4362 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4363 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4370 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4372 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4373 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4374 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4375 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4376 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4386 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4394 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4396 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4397 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4398 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4399 * sysdeps/posix/sleep.c: Likewise.
4400 * sysdeps/posix/tempname.c: Likewise.
4401 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4402 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4404 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4405 elf_machine_rela): Likewise.
4406 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4408 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4409 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4411 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4412 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4413 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4415 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4416 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4417 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4418 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4419 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4420 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4422 elf_machine_lazy_rel): Likewise.
4423 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4425 elf_machine_lazy_rel): Likewise.
4426 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4427 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4428 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4429 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4430 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4431 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4432 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4436 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4437 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4438 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4439 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4440 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4441 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4442 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4443 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4444 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4445 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4447 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4448 (__posix_fallocate64_l64): Likewise.
4449 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4450 (posix_fallocate): Likewise.
4451 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4453 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4454 getifaddrs_internal): Likewise.
4455 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4456 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4457 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4458 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4459 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4460 (__posix_fallocate64_l64): Likewise.
4461 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4466 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4467 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4468 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4471 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4472 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4473 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4475 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4476 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4477 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4480 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4481 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4484 (posix_fallocate): Likewise.
4485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4486 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4487 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4488 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4489 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4491 * time/asctime.c (asctime_internal): Likewise.
4492 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4493 * time/tzset.c (__tzset_parse_tz): Likewise.
4494 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4495 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4496 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4497 * wcsmbs/wcsmbsload.h: Likewise.
4499 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4502 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4504 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4506 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4507 arena_get2): Remove THREAD_STATS conditionals.
4508 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4509 __malloc_stats, int): Likewise.
4511 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4513 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4514 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4516 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4518 * manual/setjmp.texi: Fix typos/grammar errors.
4520 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4522 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4523 Only return early when n is <= 0. Delete unused return statement.
4525 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4527 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4528 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4529 * debug/tst-longjmp_chk3.c: New file.
4531 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4533 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4534 (test_main): Replace code with set_fortify_handler call.
4535 * debug/test-strcpy_chk.c: Likewise.
4536 * debug/tst-chk1.c: Likewise.
4537 * debug/tst-longjmp_chk.c: Likewise.
4538 * test-skeleton.c: Include fcntl.h & paths.h
4539 (set_fortify_handler): Define.
4541 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4543 * debug/tst-longjmp_chk.c: Add header comment and include
4545 (do_test): Mark static.
4546 (TEST_FUNCTION): Define.
4548 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4550 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4551 (IP_PMTUDISC_INTERFACE): Likewise.
4552 (IP_MULTICAST_IF): Likewise.
4553 (IP_MULTICAST_TTL): Likewise.
4554 (IP_MULTICAST_LOOP): Likewise.
4555 (IP_ADD_MEMBERSHIP): Likewise.
4556 (IP_DROP_MEMBERSHIP): Likewise.
4557 (IP_UNBLOCK_SOURCE): Likewise.
4558 (IP_BLOCK_SOURCE): Likewise.
4559 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4560 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4561 (IP_MSFILTER): Likewise.
4562 (MCAST_JOIN_GROUP): Likewise.
4563 (MCAST_BLOCK_SOURCE): Likewise.
4564 (MCAST_UNBLOCK_SOURCE): Likewise.
4565 (MCAST_LEAVE_GROUP): Likewise.
4566 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4567 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4568 (MCAST_MSFILTER): Likewise.
4569 (IP_MULTICAST_ALL): Likewise.
4570 (IP_UNICAST_IF): Likewise.
4572 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4574 * timezone/Makefile: Delete $(have-ksh) check.
4575 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4576 * timezone/tzselect.ksh: Add +x mode bits.
4578 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4580 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4581 (ANON_INODE_FS_MAGIC): Likewise.
4582 (BDEVFS_MAGIC): Likewise.
4583 (BINFMTFS_MAGIC): Likewise.
4584 (BTRFS_TEST_MAGIC): Likewise.
4585 (CRAMFS_MAGIC_WEND): Likewise.
4586 (DEBUGFS_MAGIC): Likewise.
4587 (ECRYPTFS_SUPER_MAGIC): Likewise.
4588 (EXT3_SUPER_MAGIC): Likewise.
4589 (EXT4_SUPER_MAGIC): Likewise.
4590 (FUTEXFS_SUPER_MAGIC): Likewise.
4591 (HOSTFS_SUPER_MAGIC): Likewise.
4592 (HUGETLBFS_MAGIC): Likewise.
4593 (MINIX3_SUPER_MAGIC): Likewise.
4594 (MTD_INODE_FS_MAGIC): Likewise.
4595 (NILFS_SUPER_MAGIC): Likewise.
4596 (OPENPROM_SUPER_MAGIC): Likewise.
4597 (PIPEFS_MAGIC): Likewise.
4598 (PSTOREFS_MAGIC): Likewise.
4599 (QNX6_SUPER_MAGIC): Likewise.
4600 (RAMFS_MAGIC): Likewise.
4601 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4602 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4603 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4604 (SECURITYFS_MAGIC): Likewise.
4605 (SELINUX_MAGIC): Likewise.
4606 (SMACK_MAGIC): Likewise.
4607 (SOCKFS_MAGIC): Likewise.
4608 (SQUASHFS_MAGIC): Likewise.
4609 (STACK_END_MAGIC): Likewise.
4610 (TMPFS_MAGIC): Likewise.
4611 (USBDEVICE_SUPER_MAGIC): Likewise.
4612 (V9FS_MAGIC): Likewise.
4613 (XENFS_SUPER_MAGIC): Likewise.
4614 (CRAMFS_MAGIC): Fix typo in comment.
4615 (EXT2_SUPER_MAGIC): Update comment.
4616 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4618 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4620 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4621 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4622 * sysdeps/unix/sysv/linux/arm: Move directory from
4623 ports/sysdeps/unix/sysv/linux/arm.
4624 * README: Update listing for arm-*-linux-gnueabi.
4626 * README: Remove mention of am33.
4628 2014-02-07 Roland McGrath <roland@hack.frob.com>
4630 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4631 than the comma operator, to avoid "rhs of comma has no effect"
4633 (__sigfillset, __sigandset, __sigorset): Likewise.
4634 * include/signal.h (__sigemptyset): Likewise.
4635 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4637 2014-02-07 Allan McRae <allan@archlinux.org>
4639 * version.h (RELEASE): Set to "development".
4640 (VERSION): Set to "2.19.90"
4641 * NEWS: Add 2.20 section.
4643 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4646 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4648 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * manual/contrib.texi: Update entry for Carlos O'Donell,
4651 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4653 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4655 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4657 * sysdeps/unix/sysv/linux/kernel-features.h
4658 [__LINUX_KERNEL_VERSION >= 0x020621]
4659 (__ASSUME_PROC_PID_TASK_COMM): Define.
4661 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4664 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4665 conversion when destination buffer does not have enough space.
4666 * libio/tst-ftell-partial-wide.c: New test case.
4667 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4669 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4670 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4671 Leonard and Allan McRae.
4673 2014-02-04 David S. Miller <davem@davemloft.net>
4675 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4678 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4707 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4709 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4710 * shlib-versions: Likewise.
4712 2014-02-04 Roland McGrath <roland@hack.frob.com>
4713 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4715 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4716 (abilist-pattern): New variable, set to %-le.abilist.
4718 * Makerules (abilist-pattern): New variable.
4719 (vpath): Use $(abilist-pattern) in place of %.abilist.
4720 (check-abi-% pattern rule): Likewise.
4721 (check-abi, update-abi): Likewise.
4723 2014-02-04 Eric Wong <normalperson@yhbt.net>
4725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4727 2014-02-04 Eric Wong <normalperson@yhbt.net>
4729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4731 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4733 * manual/startup.texi: Add next, previous, and top entries for
4734 the `Program Arguments' and `Environment Variables' nodes.
4736 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4738 * manual/macros.texi: Add comments before MTASC-safety macros.
4740 * manual/users.texi: Document MTASC-safety properties.
4742 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4743 pthread_getspecific, pthread_setspecific): Format with
4744 @deftypefun, and add @safety note.
4745 * manual/signal.texi: Move comments that analyze the above
4746 functions to their home place.
4748 2014-02-03 Allan McRae <allan@archlinux.org>
4750 * po/sl.po: Update Slovenian translation from translation project.
4752 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4754 * manual/time.texi (timegm): Add missing blank after @c.
4755 Reported by Joseph Myers <joseph@codesourcery.com>.
4757 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4759 * manual/check-safety.sh: New.
4760 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4762 * manual/terminal.texi: Document MTASC-safety properties.
4764 * manual/filesys.texi: Document MTASC-safety properties.
4766 * manual/errno.texi: Document MTASC-safety properties.
4768 * manual/intro.texi: Document safety identifiers and
4771 * manual/string.texi (wcstok): Fix prototype.
4772 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4774 * manual/time.texi: Document MTASC-safety properties.
4776 * manual/string.texi: Document MTASC-safety properties.
4778 * manual/threads.texi: Document MTASC-safety properties.
4780 * manual/stdio.texi: Document MTASC-safety properties.
4782 * manual/syslog.texi: Document MTASC-safety properties.
4784 * manual/sysinfo.texi: Document MTASC-safety properties.
4786 * manual/startup.texi: Document MTASC-safety properties.
4788 * manual/socket.texi: Document MTASC-safety properties.
4790 * manual/signal.texi: Document MTASC-safety properties.
4792 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4794 * manual/setjmp.texi: Document MTASC-safety properties.
4796 * manual/search.texi: Document MTASC-safety properties.
4798 * manual/resource.texi: Document MTASC-safety properties.
4800 * manual/process.texi: Document MTASC-safety properties.
4802 * manual/platform.texi: Document MTASC-safety properties.
4804 * manual/pipe.texi: Document MTASC-safety properties.
4806 * manual/pattern.texi: Document MTASC-safety properties.
4808 * manual/message.texi: Document MTASC-safety properties.
4811 * manual/memory.texi: Document MTASC-safety properties.
4813 * manual/math.texi: Document MTASC-safety properties.
4815 * manual/locale.texi: Document MTASC-safety properties.
4817 * manual/llio.texi: Document MTASC-safety properties.
4819 * manual/libdl.texi: New.
4821 * manual/lang.texi: Document MTASC-safety properties.
4823 * manual/job.texi: Document MTASC-safety properties.
4825 * manual/getopt.texi: Document MTASC-safety properties.
4827 * manual/ctype.texi: Document MTASC-safety properties.
4829 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4832 * csu/libc-tls.c (static_map): Remove variable.
4833 (__libc_setup_tls): Use main executable's link map for TLS data.
4834 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4835 casing for LM_ID_BASE and GL(dl_nns).
4836 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4837 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4838 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4839 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4840 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4842 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4845 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4847 * manual/debug.texi: Document MTASC-safety properties.
4849 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4852 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4853 of __x86_64__ when disabling x87 inline functions.
4855 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4857 * manual/charset.texi: Document MTASC-safety properties.
4859 * manual/crypt.texi: Document MTASC-safety properties.
4861 * manual/conf.texi: Document MTASC-safety properties.
4863 * manual/arith.texi: Document MTASC-safety properties.
4865 * manual/argp.texi: Document MTASC-safety properties.
4867 * manual/macros.texi: Introduce macros to document multi
4868 thread, asynchronous signal and asynchronous cancellation
4870 * manual/intro.texi: Introduce the properties themselves.
4872 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4874 * sysdeps/sh/sh4/Makefile: New file.
4876 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4878 * math/gen-libm-test.pl ($srcdir): New variable.
4879 ($auto_input): Use it.
4881 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4884 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4885 access beyond array bounds when parsing netgroups file.
4887 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4888 the old buffer before realloc.
4890 2014-01-27 Allan McRae <allan@archlinux.org>
4892 * po/fr.po: Update French translation from translation project.
4894 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4896 * sysdeps/sh/libm-test-ulps: Regenerate.
4898 2014-01-24 David S. Miller <davem@davemloft.net>
4900 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4902 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4904 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4905 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4907 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4910 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4911 string pointers after reallocation.
4913 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4915 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4916 __SH4A__ instead of __SH_FPU_ANY__.
4918 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4920 * sysdeps/sh/fpu_control.h: New file.
4921 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4923 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4924 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4925 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4926 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4927 * sysdeps/sh/sys/ucontext.h: Remove.
4928 * sysdeps/sh/sys: Remove directory.
4930 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4933 s390/sys/ucontext.h.
4934 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4937 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4940 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4942 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4946 Adjust the vDSO correctly for internal calls.
4947 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4949 2014-01-20 Allan McRae <allan@archlinux.org>
4951 * po/ca.po: Update Catalan translation from translation project.
4953 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4955 * sysdeps/s390/sotruss-lib.c: New file.
4957 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4961 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4962 local calls issues by not having a PLT stub required for IFUNC calls.
4963 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4965 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4967 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4968 * math/test-fpucw-static.c: Likewise.
4970 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4973 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4975 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4977 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4978 implementation for powerpc.
4980 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4983 * sysdeps/posix/system.c (__libc_system): Do not enable
4984 asynchronous cancellation.
4986 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4990 handling only for numbers special also in the IEEE case.
4992 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4994 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4996 2014-01-11 Allan McRae <allan@archlinux.org>
4998 * po/bg.po: Update Bulgarian translation from translation project.
5000 * po/de.po: Update German translation from translation project.
5002 2014-01-10 Roland McGrath <roland@hack.frob.com>
5004 * sysdeps/generic/gcc-compat.h: New file.
5006 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5008 * benchtests/asin-inputs: Correct slow inputs.
5009 * benchtests/acos-inputs: Likewise.
5011 2014-01-10 Allan McRae <allan@archlinux.org>
5013 * po:sv.po: Update Swedish translation from translation project.
5015 * po/vi.po: Update Vietnamese translation from translation project.
5017 * po/eo.po: Update Esperanto translation from translation project.
5019 * po/cs.po: Update Czech translation from translation project.
5021 * po/nl.po: Update Dutch translation from translation project.
5023 * po/pl.po: Update Polish translation from translation project.
5025 * po/ru.po: Update Russian translation from translation project.
5027 * po/uk.po: Update Ukrainian translation from translation project.
5029 2014-01-08 Brooks Moses <bmoses@google.com>
5031 * elf/dl-load.c: Fix comment typo.
5033 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5035 * po/header.pot: Rename to...
5036 * po/pot.header: ... this.
5037 * po/Makefile: Use pot.header.
5039 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5040 Maxim Kuvyrkov <maxim@kugelworks.com>
5043 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5044 SRC and DEST against LEN.
5046 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5049 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5053 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5057 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5061 for large positive arguments.
5063 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5065 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5067 * math/auto-libm-test-in: Mark various tests with
5068 xfail-rounding:ldbl-128ibm.
5069 * math/auto-libm-test-out: Regenerated.
5072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5073 Increase overflow threshold.
5075 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5078 * stdio-common/vfprintf.c: Check for integer overflow.
5080 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5082 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5083 the first argument and return value of __tls_get_addr_internal.
5085 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5087 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5088 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5090 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5092 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5093 * sysdeps/s390/rtld-global-offsets.sym: New file.
5094 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5096 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5100 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5108 halfs of GPRs for high_gprs contexts.
5109 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5110 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5112 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5114 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5116 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5117 for high GPRs (uc_high_gprs) and for future extensions
5119 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5120 for future extensions (__reserved).
5121 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5123 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5124 SC_HIGHGPRS offset definition.
5125 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5126 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5130 * Versions.def: Add GLIBC_2.19 for libpthread.
5131 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5132 siglongjmp for libpthread with GLIBC_2.19 symver.
5133 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5134 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5135 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5136 * sysdeps/s390/__longjmp.c: New file.
5137 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5138 * sysdeps/s390/longjmp.c: New file.
5139 * sysdeps/s390/setjmp.S: New file.
5140 * sysdeps/s390/sigjmp.S: New file.
5141 * sysdeps/s390/v1-longjmp.c: New file.
5142 * sysdeps/s390/v1-setjmp.h: New file.
5143 * sysdeps/s390/v1-sigjmp.c: New file.
5144 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5145 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5147 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5148 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5149 versioned symbols for ____longjmp_chk.
5150 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5160 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5161 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5162 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5163 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5164 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5165 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5166 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5167 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5168 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5169 * sysdeps/s390/rtld-__longjmp.c: New file.
5170 * sysdeps/s390/rtld-setjmp.S: New file.
5172 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5176 Return -__logl (x) for small positive arguments without evaluating
5179 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5181 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5183 (__ptrace_peeksiginfo_args): ... this.
5184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5188 2014-01-06 Allan McRae <allan@archlinux.org>
5190 * inet/netinet/in.h: Fix typo in comment.
5192 2014-01-05 Andreas Jaeger <aj@suse.de>
5194 * sysdeps/i386/fpu/libm-test-ulps: Update.
5196 2014-01-05 Allan McRae <allan@archlinux.org>
5198 * po/libc.pot: Regenerated.
5200 * malloc/memusagestat.c: Fix gettext call formatting.
5202 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5204 * nscd/nscd.c: Improve usage() output.
5206 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5208 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5209 * sysdeps/unix/sysv/linux/configure: Regenerated.
5210 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5211 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5213 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5216 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5217 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5219 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5222 extra tokens at end of #undef directive.
5223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5227 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5229 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5231 * math/auto-libm-test-in: Mark various tests with
5232 xfail-rounding:ldbl-128ibm.
5233 * math/auto-libm-test-out: Regenerated.
5235 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5239 numbers with subnormal high part when calculating exponent.
5242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5248 (__ieee754_acoshl): Use __log1pl not __log1p.
5250 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5252 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5253 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5254 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5255 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5256 Convert to GNU style.
5257 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5258 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5259 memalign_check, __malloc_set_state): Likewise.
5260 * malloc/mallocbug.c (main): Likewise.
5261 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5262 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5263 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5264 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5265 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5266 * malloc/malloc.h: Likewise.
5267 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5268 memalignhook, reallochook, mabort): Likewise.
5269 * malloc/mcheck.h: Likewise.
5270 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5271 mmap64, mremap, munmap, dest): Likewise.
5272 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5273 * malloc/morecore.c (__default_morecore): Likewise.
5274 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5275 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5276 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5277 print_and_abort): Likewise.
5278 * malloc/obstack.h: Likewise.
5279 * malloc/set-freeres.c (__libc_freeres): Likewise.
5280 * malloc/tst-mallocstate.c (main): Likewise.
5281 * malloc/tst-mtrace.c (main): Likewise.
5282 * malloc/tst-realloc.c (do_test): Likewise.
5284 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5287 * nscd/netgroupcache.c (do_notfound): New function.
5288 (addgetnetgrentX): Use it.
5291 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5292 NSS_STATUS_NOTFOUND.
5294 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5299 2014-01-01 Allan McRae <allan@archlinux.org>
5301 * scripts/update-copyrights: Update configure input file suffix.
5303 * NEWS: Update copyright year.
5304 * catgets/gencat.c: Likewise.
5305 * csu/version.c: Likewise.
5306 * debug/catchsegv.sh: Likewise.
5307 * debug/pcprofiledump.c: Likewise.
5308 * debug/xtrace.sh: Likewise.
5309 * elf/ldconfig.c: Likewise.
5310 * elf/ldd.bash.in: Likewise.
5311 * elf/pldd.c: Likewise.
5312 * elf/sotruss.ksh: Likewise.
5313 * elf/sprof.c: Likewise.
5314 * iconv/iconv_prog.c: Likewise.
5315 * iconv/iconvconfig.c: Likewise.
5316 * locale/programs/locale.c: Likewise.
5317 * locale/programs/localedef.c: Likewise.
5318 * login/programs/pt_chown.c: Likewise.
5319 * malloc/memusage.sh: Likewise.
5320 * malloc/memusagestat.c: Likewise.
5321 * malloc/mtrace.pl: Likewise.
5322 * manual/libc.texinfo: Likewise.
5323 * nscd/nscd.c: Likewise.
5324 * nss/getent.c: Likewise.
5325 * nss/makedb.c: Likewise.
5326 * posix/getconf.c: Likewise.
5327 * scripts/test-installation.pl: Likewise.
5329 * All files with FSF copyright notices: Update copyright dates
5330 using scripts/update-copyrights.
5331 * intl/plural.c: Regenerated.
5332 * locale/programs/charmap-kw.h: Likewise.
5333 * locale/programs/locfile-kw.h: Likewise.
5335 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5337 * sysdeps/unix/sysv/linux/configure: Regenerated.
5338 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5339 the linux/fanotify.h header.
5340 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5341 HAVE_LINUX_FANOTIFY_H is defined.
5343 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * benchtests/cos-inputs: New inputs.
5346 * benchtests/sin-inputs: Likewise.
5348 * benchtests/atan-inputs: New inputs. Fix name of multiple
5349 precision fallback inputs.
5351 * benchtests/atanh-inputs: New inputs.
5352 * benchtests/tanh-inputs: Likewise.
5354 * benchtests/acosh-inputs: New inputs.
5355 * benchtests/asinh-inputs: Likewise.
5357 * benchtests/cosh-inputs: New inputs.
5358 * benchtests/sinh-inputs: Likewise.
5360 * benchtests/acos-inputs: Add more inputs.
5361 * benchtests/asin-inputs: Likewise.
5363 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5366 * manual/arith.texi: Fix spelling.
5367 * manual/charset.texi: Likewise.
5368 * manual/errno.texi: Likewise.
5369 * manual/filesys.texi: Likewise.
5370 * manual/lang.texi: Likewise.
5371 * manual/llio.texi: Likewise.
5372 * manual/locale.texi: Likewise.
5373 * manual/message.texi: Likewise.
5374 * manual/resource.texi: Likewise.
5375 * manual/search.texi: Likewise.
5376 * manual/setjmp.texi: Likewise.
5377 * manual/stdio.texi: Likewise.
5378 * manual/string.texi: Likewise.
5379 * manual/sysinfo.texi: Likewise.
5380 * manual/time.texi: Likewise.
5382 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5384 * po/sl.po: New file.
5386 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5388 * .gitignore: Add core/.gdbinit/.gdb_history.
5390 2013-12-27 Allan McRae <allan@archlinux.org>
5393 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5394 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5396 2013-12-24 Brooks Moses <bmoses@google.com>
5398 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5399 all compilers that claim C++98 compliance, not just GCC.
5400 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5403 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5405 * NEWS: Restore accidentally deleted bug-fix entries.
5407 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5408 Ondřej Bílka <neleai@seznam.cz>
5411 * malloc/malloc.c (_int_free): Perform sanity check only if we
5414 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5417 * manual/stdio.texi (String Input Conversions): Clarify that character
5418 classes are not supported.
5420 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5424 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5428 Calculate results for small negative arguments directly rather
5429 than using reflection formula with special underflow handling.
5431 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5432 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5433 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5434 (fchflags): Likewise.
5436 (setlogin): Likewise.
5437 (sigaltstack): Likewise.
5440 (sigsetmask): Likewise.
5442 (waitpid): Likewise.
5443 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5444 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5446 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5447 * sysdeps/unix/bsd/Makefile: ... here.
5448 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5449 * sysdeps/unix/bsd/Versions: ... here.
5450 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5451 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5452 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5453 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5454 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5455 * sysdeps/unix/bsd/sigblock.c: ... here.
5456 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5457 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5458 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5459 * sysdeps/unix/bsd/sigvec.c: ... here.
5460 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5461 * sysdeps/unix/bsd/tcdrain.c: ... here.
5462 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5463 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5464 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5465 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5466 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5467 * sysdeps/unix/bsd/wait.c: ... here.
5468 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5469 * sysdeps/unix/bsd/wait3.c: ... here.
5470 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5471 * sysdeps/unix/bsd/waitpid.c: ... here.
5473 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5477 round-to-nearest for [!USE_AS_EXPM1L].
5478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5479 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5480 more tests of exp and exp10. Expect some exp10 tests to miss
5481 exceptions or fail in directed rounding modes.
5482 * math/auto-libm-test-out: Regenerated.
5483 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5484 (exp10_test_tonearest): New function.
5485 (exp10_towardzero_test_data): New array.
5486 (exp10_test_towardzero): New function.
5487 (exp10_downward_test_data): New array.
5488 (exp10_test_downward): New function.
5489 (exp10_upward_test_data): New array.
5490 (exp10_test_upward): New function.
5491 (main): Call the new functions.
5492 * sysdeps/i386/fpu/libm-test-ulps: Update.
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5497 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5498 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5499 * math/auto-libm-test-out: Regenerated.
5500 * math/libm-test.inc (acosh_test_data): Add more tests.
5501 (atanh_test_data): Likewise.
5502 (ceil_test_data): Likewise.
5503 (copysign_test_data): Likewise.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update.
5505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5507 * timezone/checktab.awk: Update from tzcode 2013i.
5508 * timezone/private.h: Likewise.
5509 * timezone/scheck.c: Likewise.
5510 * timezone/tzfile.h: Likewise.
5511 * timezone/tzselect.ksh: Likewise.
5512 * timezone/zdump.c: Likewise.
5513 * timezone/zic.c: Likewise.
5515 * math/auto-libm-test-in: Add tests of cpow.
5516 * math/auto-libm-test-out: Regenerated.
5517 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5518 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5520 (func_calc_desc): Add mpc_cc_c union field.
5521 (test_functions): Add cpow.
5522 (special_fill_2pi): New function.
5523 (special_real_inputs): Add 2pi.
5524 (calc_generic_results): Handle mpc_cc_c.
5525 * sysdeps/i386/fpu/libm-test-ulps: Update.
5526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5528 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5529 csqrt, ctan and ctanh.
5530 * math/auto-libm-test-out: Regenerated.
5531 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5532 (TEST_COND_x86): Likewise.
5533 (ccos_test_data): Use AUTO_TESTS_c_c.
5534 (ccosh_test_data): Likewise.
5535 (cexp_test_data): Likewise.
5536 (clog_test_data): Likewise.
5537 (csqrt_test_data): Likewise.
5538 (ctan_test_data): Likewise.
5539 (ctan_tonearest_test_data): Likewise.
5540 (ctan_towardzero_test_data): Likewise.
5541 (ctan_downward_test_data): Likewise.
5542 (ctan_upward_test_data): Likewise.
5543 (ctanh_test_data): Likewise.
5544 (ctanh_tonearest_test_data): Likewise.
5545 (ctanh_towardzero_test_data): Likewise.
5546 (ctanh_downward_test_data): Likewise.
5547 (ctanh_upward_test_data): Likewise.
5548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5550 (func_calc_desc): Add mpc_c_c union field.
5551 (FUNC_mpc_c_c): New macro.
5552 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5553 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5555 (special_fill_min_subnorm_p120): New function.
5556 (special_real_inputs): Add min_subnorm_p120.
5557 (calc_generic_results): Handle mpc_c_c.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5563 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5564 do_sin_slow): New functions.
5565 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5566 cslow2, csloww1, csloww2): Use the new functions.
5568 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5569 Use M to change sign of result instead of X. Assume X is
5571 (csloww1): Likewise.
5575 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5582 (sloww1): Don't adjust sign of DX.
5583 (csloww1): Likewise.
5584 (sloww2): Use X directly and don't adjust sign of DX.
5585 (csloww2): Likewise.
5587 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5589 * math/auto-libm-test-in: Add tests of cabs and carg.
5590 * math/auto-libm-test-out: Regenerated.
5591 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5592 (carg_test_data): Likewise.
5593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5595 (func_calc_desc): Add mpc_c_f union field.
5596 (test_functions): Add cabs and carg.
5597 (calc_generic_results): Handle mpc_c_f.
5599 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5600 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5601 as a macro and a compat symbol.
5602 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5603 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5605 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5606 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5611 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5613 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5619 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5620 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5623 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5627 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5629 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5630 trailing whitespace removed.
5631 * scripts/config.guess: Update to version 2013-11-29.
5632 * scripts/config.sub: Update to version 2013-10-01.
5634 * math/auto-libm-test-in: Add tests of sincos.
5635 * math/auto-libm-test-out: Regenerated.
5636 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5639 (func_calc_desc): Add mpfr_f_11 union field.
5640 (test_functions): Add sincos.
5641 (calc_generic_results): Handle mpfr_f_11.
5642 * sysdeps/i386/fpu/libm-test-ulps: Update.
5643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645 2013-12-19 Andreas Schwab <schwab@suse.de>
5647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5651 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5653 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5655 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5656 * sysdeps/i386/fpu/libm-test-ulps: Update.
5657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5661 round-to-nearest mode when using frndint.
5662 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5663 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5664 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5666 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5668 * math/auto-libm-test-out: Regenerated.
5669 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5670 (TEST_COND_x86): Likewise.
5671 (expm1_tonearest_test_data): New array.
5672 (expm1_test_tonearest): New function.
5673 (expm1_towardzero_test_data): New array.
5674 (expm1_test_towardzero): New function.
5675 (expm1_downward_test_data): New array.
5676 (expm1_test_downward): New function.
5677 (expm1_upward_test_data): New array.
5678 (expm1_test_upward): New function.
5679 (main): Run the new test functions.
5680 * sysdeps/i386/fpu/libm-test-ulps: Update.
5681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683 * include/features.h: Update comment documenting feature test
5684 macros. Mention _DEFAULT_SOURCE in comment.
5685 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5686 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5687 _BSD_SOURCE and _SVID_SOURCE.
5688 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5689 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5690 !_SVID_SOURCE]: Likewise.
5691 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5692 (__USE_POSIX_IMPLICITLY): Define.
5693 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5694 (_POSIX_SOURCE): Undefine and redefine.
5695 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5696 (_POSIX_C_SOURCE): Likewise.
5697 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5698 (Feature Test Macros): Update documentation of default features.
5700 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5702 * benchtests/Makefile: Add bench-strtok.
5703 * benchtests/bench-strtok.c: New file: strtok benchtest.
5705 2013-12-19 Allan McRae <allan@archlinux.org>
5707 * manual/install.texi: Suppress menu for plain text output.
5708 * INSTALL: Regenerated.
5710 2013-12-18 Brooks Moses <bmoses@google.com>
5713 * misc/getauxval.c: Include errno.h.
5714 (__getauxval): Set errno to ENOENT if the requested type is not
5716 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5717 don't declare with __attribute_const__.
5718 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5719 * manual/startup.texi: Document that getauxval sets errno.
5721 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5723 * math/auto-libm-test-in: Add tests of jn and yn.
5724 * math/auto-libm-test-out: Regenerated.
5725 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5726 (yn_test_data): Likewise.
5727 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5729 (func_calc_desc): Add mpfr_if_f union field.
5730 (FUNC_mpfr_if_f): New macro.
5731 (test_functions): Add jn and yn.
5732 (calc_generic_results): Assert type of second input for
5733 mpfr_ff_f. Handle mpfr_if_f.
5734 (output_for_one_input_case): Disable all checking for arguments
5735 fitting floating-point types in case of an integer argument.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5740 Don't expect fegetround reference in libm.so.
5742 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5744 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5745 $(config-cflags-nofma).
5747 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5749 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5750 * math/auto-libm-test-out: Regenerated.
5753 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5754 to determine exponent and adjust argument to have exponent of -1.
5755 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5757 * math/auto-libm-test-out: Regenerated.
5758 * sysdeps/i386/fpu/libm-test-ulps: Update.
5759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5763 * manual/probes.texi: Remove cases when per-thread arenas are
5766 2013-12-18 Andreas Schwab <schwab@suse.de>
5768 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5769 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5770 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5771 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5772 * sysdeps/i386/i686/multiarch/Makefile: Update.
5773 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5775 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5777 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5778 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5780 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5783 Support TZ transition times < 00:00:00.
5784 This is needed for version-3 tz-format files; it supports time
5785 stamps past 2037 for America/Godthab (the only entry in the tz
5786 database for which this change is relevant).
5787 * manual/time.texi (TZ Variable): Document transition times
5788 from -167:59:59 through -00:00:01.
5789 * time/tzset.c (tz_rule): Time of day is now signed.
5790 (__tzset_parse_tz): Parse negative time of day.
5792 Document TZ transition times >= 25:00:00.
5793 * manual/time.texi (TZ Variable): Document transition times from
5794 25:00:00 through 167:59:59. These are already supported, and this
5795 support will help with version-3 tz-format files.
5797 * manual/time.texi (TZ Variable): Modernize North America example
5798 to reflect current (i.e., 2007-and-later) daylight saving rules.
5800 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5802 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5804 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5805 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5808 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5809 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5810 * sysdeps/unix/bsd/clock.c: Likewise.
5811 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5812 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5813 * sysdeps/unix/bsd/init-posix.c: Likewise.
5814 * sysdeps/unix/bsd/poll.c: Likewise.
5815 * sysdeps/unix/bsd/ptsname.c: Likewise.
5816 * sysdeps/unix/bsd/seekdir.c: Likewise.
5817 * sysdeps/unix/bsd/setegid.c: Likewise.
5818 * sysdeps/unix/bsd/seteuid.c: Likewise.
5819 * sysdeps/unix/bsd/setgid.c: Likewise.
5820 * sysdeps/unix/bsd/setrgid.c: Likewise.
5821 * sysdeps/unix/bsd/setruid.c: Likewise.
5822 * sysdeps/unix/bsd/setsid.c: Likewise.
5823 * sysdeps/unix/bsd/setuid.c: Likewise.
5824 * sysdeps/unix/bsd/sigaction.c: Likewise.
5825 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5826 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5827 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5828 * sysdeps/unix/bsd/telldir.c: Likewise.
5829 * sysdeps/unix/bsd/times.c: Likewise.
5830 * sysdeps/unix/bsd/usleep.c: Likewise.
5832 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5833 ($(objpfx)libbsd-compat.a): Remove rule.
5835 * include/features.h (__FAVOR_BSD): Do not define.
5836 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5837 features conflicting with POSIX.
5838 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5839 (_BSD_SOURCE): Remove description of not being a subset of other
5840 feature test macros.
5841 * manual/job.texi (getpgrp): Do not document BSD version.
5842 (getpgid): Do not document by reference to BSD getpgrp.
5843 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5844 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5845 * signal/signal.h [__FAVOR_BSD]: Likewise.
5846 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5847 instead of making contents conditional on [__FAVOR_BSD].
5848 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5850 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5858 values below 2**-450, not 2**-500.
5859 * math/auto-libm-test-in: Don't allow spurious underflow from
5861 * math/auto-libm-test-out: Regenerated.
5865 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5866 values of ha and hb and sort them after adjusting subnormal
5868 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5870 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5871 values of ea and eb and sort them after adjusting subnormal
5873 * math/auto-libm-test-in: Do not expect some hypot tests of
5874 subnormals to fail. Add more hypot tests.
5875 * math/auto-libm-test-out: Regenerated.
5877 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5880 * sysdeps/sh/s_fma.c: New file.
5881 * sysdeps/sh/s_fmaf.c: New file.
5882 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5884 * sysdeps/sh/Implies: Add sh/soft-fp.
5886 2013-12-16 Roland McGrath <roland@hack.frob.com>
5888 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5889 level of indirection to members `objname', `errstring', `malloced'.
5890 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5891 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5892 it as the __longjmp argument (just pass 1 instead).
5893 (_dl_catch_error): Initialize C with argument pointers and address of
5894 volatile local ERRCODE rather than copying values out of C at return.
5896 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5898 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5899 * math/auto-libm-test-out: Regenerated.
5900 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5901 (hypot_test_data): Likewise.
5902 (pow_test_data): Likewise.
5903 (pow_tonearest_test_data): Likewise.
5904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5906 (func_calc_desc): Add mpfr_ff_f union field.
5907 (FUNC_mpfr_ff_f): New macro.
5908 (test_functions): Add atan2, hypot and pow.
5909 (special_fill_min): New function.
5910 (special_fill_minus_min): Likewise.
5911 (special_fill_min_subnorm): Likewise.
5912 (special_fill_minus_min_subnorm): Likewise.
5913 (special_real_inputs): Add min, -min, min_subnorm and
5915 (calc_generic_results): Handle mpfr_ff_f.
5916 * sysdeps/i386/fpu/libm-test-ulps: Update.
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5919 2013-12-16 Will Newton <will.newton@linaro.org>
5921 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5922 (Aligned Memory Blocks): Add documentation for aligned_alloc
5923 and suggest it as an alternative to posix_memalign.
5924 (Hooks for Malloc): Document __memalign_hook is also called
5925 for aligned_alloc. (Summary of Malloc): Add summary for
5926 aligned alloc. Document __memalign_hook is also called
5929 2013-12-16 Will Newton <will.newton@linaro.org>
5931 * manual/memory.texi (Malloc Examples): Clarify default
5932 alignment documentation. Suggest posix_memalign rather
5933 than memalign or valloc.
5934 (Aligned Memory Blocks): Remove suggestion to use memalign
5935 or valloc. Remove obsolete comment about BSD.
5936 Document memalign errno values and mark the function obsolete.
5937 Document posix_memalign returned error codes. Mark valloc
5938 as obsolete. (Hooks for Malloc): __memalign_hook is also
5939 called for posix_memalign and valloc.
5940 (Summary of Malloc): Add posix_memalign to function summary.
5941 __memalign_hook is also called for posix_memalign and valloc.
5943 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5945 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5949 (sloww): Use mynumber union. Expand ternary operator into
5951 (cslow): use mynumber union.
5953 2013-12-16 Allan McRae <allan@archlinux.org>
5955 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5956 * configure: Regenerated.
5958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5961 * configure.ac: Added --enable-maintainer-mode. Check for
5962 autoconf when enabled.
5963 * configure: Regenerated.
5965 * nscd/nscd.service: New file.
5966 * nscd/nscd.tmpfiles: New file.
5968 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5971 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5972 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5973 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5974 (strstr): Add __strstr_sse2_unaligned ifunc.
5975 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5976 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5977 (strcasestr): Remove __strcasestr_sse42 ifunc.
5978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5982 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5984 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5985 * sysdeps/sh/bits/fenv.h: ... here.
5986 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5992 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5995 hypotf multiarch implementations.
5996 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5998 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5999 multiarch hypot for PPC64.
6000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6003 multiarch hypotf for PPC64.
6005 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6008 modff multiarch implementations.
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6012 multiarch modf for PPC64.
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6016 multiarch modff for PPC64.
6018 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6021 and logl multiarch implementations.
6022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6025 multiarch logb for PPC64.
6026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6029 multiarch logb for PPC64.
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6033 multiarch logb for PPC64.
6035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6038 isinff multiarch implementation.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6043 multiarch isinf for PPC64.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6047 multiarch isinff for PPC64.
6049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6052 finitef multiarch implementation.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6057 multiarch finite for PPC64.
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6061 multiarch finitef for PPC64.
6063 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6066 lrint multiarch implementation.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6071 multiarch llrint for PPC64.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6073 multiarch lrint for PPC64.
6075 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6078 copysignf multiarch implementation.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6084 multiarch copysign for PPC64.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6086 multiarch copysignf for PPC64.
6088 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6091 multiarch implementation.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6100 multiarch llround for PPC64.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6102 multiarch trunc for PPC64.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6104 multiarch truncf for PPC64.
6106 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6109 multiarch implementation.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6118 multiarch llround for PPC64.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6120 multiarch round for PPC64.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6122 multiarch roundf for PPC64.
6124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6127 multiarch implementation.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6136 multiarch llround for PPC64.
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6138 multiarch floor for PPC64.
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6140 multiarch floorf for PPC64.
6142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6145 multiarch implementation.
6146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6154 multiarch llround for PPC64.
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6156 multiarch ceil for PPC64.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6158 multiarch ceilf for PPC64.
6160 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6163 multiarch implementation.
6164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6171 multiarch llround for PPC64.
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6173 multiarch lround for PPC64.
6175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6178 multiarch implementation.
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6186 multiarch isnan for PPC64.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6188 multiarch isnanf for PPC64.
6190 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6193 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6194 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6195 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6196 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6199 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6202 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6206 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6209 multiarch implementations.
6210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6211 (__libc_ifunc_impl_list): Likewise.
6212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6215 multiarch stpcpy for PPC64.
6217 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6220 multiarch implementations.
6221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6222 (__libc_ifunc_impl_list): Likewise.
6223 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6226 multiarch strcpy for PPC64.
6228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6231 redefine function name.
6232 (_wordcopy_fwd_dest_aligned): Likewise.
6233 (_wordcopy_bwd_aligned): Likewise.
6234 (_wordcopy_bwd_dest_aligned): Likewise.
6235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6236 multiarch implementations.
6237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6238 (__libc_ifunc_impl_list): Likewise.
6239 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6243 multiarch wcscpy for PPC64.
6245 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6248 multiarch implementations.
6249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6250 (__libc_ifunc_impl_list): Likewise.
6251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6255 multiarch wcscpy for PPC64.
6257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6260 multiarch implementations.
6261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6262 (__libc_ifunc_impl_list): Likewise.
6263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6264 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6265 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6267 multiarch wcsrchr for PPC64.
6269 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6272 multiarch implementations.
6273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6274 (__libc_ifunc_impl_list): Likewise.
6275 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6278 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6279 multiarch wcschr for PPC64.
6281 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6284 multiarch implementations.
6285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6286 (__libc_ifunc_impl_list): Likewise.
6287 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6289 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6290 multiarch strchrnul for PPC64.
6292 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6297 (__libc_ifunc_impl_list): Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6299 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6300 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6301 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6309 (__libc_ifunc_impl_list): Likewise.
6310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6313 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6316 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6319 multiarch implementations.
6320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6321 (__libc_ifunc_impl_list): Likewise.
6322 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6323 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6324 strncasecmp for PPC64.
6325 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6327 multiarch strncasecmp_l for PPC64.
6329 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6332 multiarch implementations.
6333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6334 (__libc_ifunc_impl_list): Likewise.
6335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6337 multiarch strcasecmp for PPC64.
6338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6341 multiarch strcasecmp_l for PPC64.
6343 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6348 (__libc_ifunc_impl_list): Likewise.
6349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6350 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Likewise.
6360 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6365 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6370 (__libc_ifunc_impl_list): Likewise.
6371 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6374 rawmemrchr for PPC64.
6376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6381 (__libc_ifunc_impl_list): Likewise.
6382 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6387 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6392 (__libc_ifunc_impl_list): Likewise.
6393 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6394 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6398 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6403 (__libc_ifunc_impl_list): Likewise.
6404 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6405 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6409 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6412 avoid cretion of __bzero symbol.
6413 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6415 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6417 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6420 multiarch implementations.
6421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6422 (__libc_ifunc_impl_list): Likewise.
6423 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6428 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6432 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6434 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6436 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6438 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6442 (__libc_ifunc_impl_list): Likewise.
6443 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6444 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6446 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6449 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6452 multiarch for POWER/PPC64.
6453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6461 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6466 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6467 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6468 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6469 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6470 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6471 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6473 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6474 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6475 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6476 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6477 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6478 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6479 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6480 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6489 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6493 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6495 * benchtests/Makefile (bench): Add exp2 and log2.
6496 (LDLIBS-bench-exp2): Add -lm.
6497 (LDLIBS-bench-log2): Likewise.
6498 * benchtests/exp2-inputs: New inputs file.
6499 * benchtests/log2-inputs: New inputs file.
6500 * benchtests/log-inputs: Add new inputs.
6501 * benchtests/tan-inputs: Likewise.
6503 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6505 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6507 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6508 csloww1, csloww2): ... from here.
6510 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6511 instead of structures.
6512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6513 (POLYNOMIAL): Likewise.
6514 (TAYLOR_SLOW): Likewise.
6522 (bsloww1): Likewise.
6523 (bsloww2): Likewise.
6526 (csloww1): Likewise.
6527 (csloww2): Likewise.
6529 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6531 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6532 (__malloc_assert, __libc_realloc, __libc_calloc,
6533 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6535 * malloc/hooks.c (realloc_check): Likewise.
6537 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6539 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6540 * malloc/arena.c: Remove PER_THREAD conditional.
6541 [!PER_THREAD]: Remove code.
6542 (ptmalloc_unlock_all2): Likewise.
6543 (ptmalloc_init): Likewise.
6544 (_int_new_arena): Likewise.
6545 (arena_get2): Likewise.
6546 * malloc/hooks.c (__malloc_get_state): Likewise.
6547 (__malloc_set_state): Likewise.
6548 * malloc/malloc.c: Likewise.
6549 (struct malloc_state): Likewise.
6550 (struct malloc_par): Likewise.
6551 (__libc_realloc): Likewise.
6552 (__libc_mallopt): Likewise.
6554 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6558 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6560 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6561 macro to a function. Check for zero perturb_byte.
6562 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6564 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6566 * malloc/malloc.c: (force_reg): Remove.
6567 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6568 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6569 force_reg by atomic_forced_read.
6570 * malloc/arena.c (ptmalloc_init): Likewise.
6571 * malloc/hooks.c (top_check): Likewise.
6573 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6577 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6581 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6583 * math/auto-libm-test-in: Add tests of lgamma.
6584 * math/auto-libm-test-out: Regenerated.
6585 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6586 (M_LOG_2_SQRT_PIl): Likewise.
6587 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6590 (func_calc_desc): Add mpfr_f_f1 union field.
6599 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6600 (test_functions): Add lgamma.
6601 (calc_generic_results): Handle mpfr_f_f1.
6602 * sysdeps/i386/fpu/libm-test-ulps: Update.
6603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6605 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6608 __mpn_add_n for PowerPC64/POWER7.
6609 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6610 __mpn_sub_n for PowerPC64/POWER7.
6612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6614 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6615 __mpn_addmul_1 for PowerPC64.
6616 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6617 __mpn_submul_1 for PowerPC64.
6618 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6620 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6623 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6626 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6628 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6632 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6634 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6635 add multiarch folders.
6636 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6637 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6638 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6639 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6640 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6641 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6642 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6643 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6644 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6645 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6646 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6657 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6663 multiarch __ieee754_hypot for PowerPC32.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6669 multiarch __ieee754_hypotf for PowerPC32.
6671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6674 long_double_symbol only if __logbl is defined.
6675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6676 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6678 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6680 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6681 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6682 path for implementation.
6683 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6686 logb, and logbl multiarch implementations for PowerPC32.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6692 multiarch logb for PowerPC32.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6698 multiarch logbf for PowerPC32.
6699 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6703 multiarch logbl implementation for PowerPC32.
6705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6708 and modff multiarch implementations.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6714 multiarch modf for PowerPC32.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6720 multiarch modff for PowerPC32.
6722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6725 and lrintf multiarch implementations.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6731 multiarch lrint for PowerPC32.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6733 file: multiarch lrintf for PowerPC32.
6735 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6738 and lroundf multiarch implementations.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6746 multiarch lround for PowerPC32.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6748 file: multiarch lroundf for PowerPC32.
6750 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6753 copysign and copysignf multiarch implementations.
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6759 file: multiarch copysign for PowerPC32.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6761 file: multiarch copysignf for PowerPC32.
6763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6766 and truncf multiarch implementations.
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6772 multiarch trunc for PowerPC32.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6778 multiarch truncf for PowerPC32.
6780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6783 and roundf multiarch implementations.
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6789 multiarch round for PowerPC32.
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6795 multiarch roundf for PowerPC32.
6797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6800 and floorf multiarch implementations.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6806 multiarch floor for PowerPC32.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6812 multiarch floorf for PowerPC32.
6814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6817 and ceilf multiarch implementations.
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6823 multiarch ceil for PowerPC32.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6829 multiarch ceilf for PowerPC32.
6831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6835 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6838 and finitef multiarch implementations.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6844 multiarch finite for PowerPC32.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6848 file: multiarch finitef for PowerPC32.
6850 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6853 and isinff multiarch implementations.
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6859 multiarch isinf for PowerPC32.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6863 multiarch isinff for PowerPC32.
6865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6867 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6868 alias when __isnan is defined.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6870 and isnanf multiarch implementations.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6880 multiarch isnan for PowerPC32.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6886 multiarch isnanf for PowerPC32.
6888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6891 and sqrtf multiarch implementations.
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6897 multiarch sqrt for PowerPC32.
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6903 multiarch sqrtf for PowerPC32.
6905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6908 and llroundf multiarch implementations.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6916 file: multiarch llround for PowerPC32.
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6918 file: multiarch llroundf for PowerPC32.
6920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6923 multiarch PowerPC32 fpu implementations.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6929 multiarch llrint for PowerPC32.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6950 multiarch wordcopy for PPC32.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6954 (__libc_ifunc_impl_list): Likewise.
6955 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6956 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6958 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6959 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6960 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6972 multiarch wcscpy for PPC32.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6976 (__libc_ifunc_impl_list): Likewise.
6977 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6978 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6979 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6980 sysdeps/powerpc/power6/wcscpy.c.
6982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6992 multiarch wcsrchr for PPC32.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6996 (__libc_ifunc_impl_list): Likewise.
6997 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6998 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6999 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7000 sysdeps/powerpc/power6/wcsrchr.c.
7002 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7010 multiarch wcschr for PPc32.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7014 (__libc_ifunc_impl_list): Likewise.
7015 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7016 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7017 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7018 sysdeps/powerpc/power6/wcschr.c.
7020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7026 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7027 file: multiarch strchr for PPC32.
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7031 (__libc_ifunc_impl_list): Likewise.
7033 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7037 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7042 multiarch strchrnul for PPC32.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7046 (__libc_ifunc_impl_list): Likewise.
7048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7053 multiarch strncasecmp for PPC32.
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7057 multiarch strncasecmp_l for PPC32.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7059 strncasecmp multiarch objects.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7061 (__libc_ifunc_impl_list): Likewise.
7063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7068 multiarch strncasecmp for PPC32.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7072 multiarch strcasecmp_l for PPC32.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7076 (__libc_ifunc_impl_list): Likewise.
7078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7085 multiarch strncmp for PPC32.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7089 (__libc_ifunc_impl_list): Likewise.
7091 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7094 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7101 (__libc_ifunc_impl_list): Likewise.
7103 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7113 (__libc_ifunc_impl_list): Likewise.
7115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7122 multiarch rawmemchr for PPC32.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7126 (__libc_ifunc_impl_list): Likewise.
7128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7135 file: memrchr multiarch for PPC32.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7139 (__libc_ifunc_impl_list): Likewise.
7141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7143 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7148 multiarch memchr for PPC32.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7152 (__libc_ifunc_impl_list): Likewise.
7154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7156 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7162 file: multiarch mempcpy for PPC32.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7166 (__libc_ifunc_impl_list): Likewise.
7168 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7173 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7174 multiarch bzero for PPC32.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7180 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7181 file: multiarch memset for PPC32.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7184 memset multiarch objects.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7186 (__libc_ifunc_impl_list): Likewise.
7188 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7199 (__libc_ifunc_impl_list): Likewise.
7201 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7212 multiarch memcpy for PPC32.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7216 (__libc_ifunc_impl_list): Likewise.
7218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7221 support multiarch for POWER/PPC32.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7226 Implies file to make multiarch folder appers before the fpu and
7227 default folder for power4 configuration.
7229 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7231 * scripts/bench.pl: Append volatile keyword to type.
7233 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7235 * sysdeps/sh/sotruss-lib.c: New file.
7236 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7238 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7242 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7245 * math/w_tgamma.c: Include <errno.h>.
7246 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7247 * math/w_tgammaf.c: Include <errno.h>.
7248 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7249 * math/w_tgammal.c: Include <errno.h>.
7250 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7251 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7252 underflow. Add more tgamma tests.
7253 * math/auto-libm-test-out: Regenerated.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7258 sin, sinh, tan, tanh, tgamma, y0 and y1.
7259 * math/auto-libm-test-out: Regenerated.
7260 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7261 (TEST_COND_x86): Likewise.
7262 (M_E2l): Remove macro.
7264 (M_2_SQRT_PIl): Likewise.
7265 (M_SQRT_PIl): Likewise.
7266 (M_1_DIV_El): Likewise.
7267 (log_test_data): Use AUTO_TESTS_f_f.
7268 (log10_test_data): Likewise.
7269 (log1p_test_data): Likewise.
7270 (log2_test_data): Likewise.
7271 (sin_test_data): Likewise.
7272 (sin_tonearest_test_data): Likewise.
7273 (sin_towardzero_test_data): Likewise.
7274 (sin_downward_test_data): Likewise.
7275 (sin_upward_test_data): Likewise.
7276 (sinh_test_data): Likewise.
7277 (sinh_tonearest_test_data): Likewise.
7278 (sinh_towardzero_test_data): Likewise.
7279 (sinh_downward_test_data): Likewise.
7280 (sinh_upward_test_data): Likewise.
7281 (tan_test_data): Likewise.
7282 (tan_tonearest_test_data): Likewise.
7283 (tan_towardzero_test_data): Likewise.
7284 (tan_downward_test_data): Likewise.
7285 (tan_upward_test_data): Likewise.
7286 (tanh_test_data): Likewise.
7287 (tgamma_test_data): Likewise.
7288 (y0_test_data): Likewise.
7289 (y1_test_data): Likewise.
7290 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7291 (special_real_inputs): Add pi/4.
7292 * sysdeps/i386/fpu/libm-test-ulps: Update.
7293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7297 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7298 "longjmp_target" static probes.
7299 (__longjmp): Rename to __longjmp_symbol.
7300 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7301 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7302 on which longjmp to generate.
7303 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7304 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7306 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7307 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7308 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7309 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7310 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7311 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7313 __longjmp_symbol based on which __longjmp to generate.
7314 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7316 (setjmp): Rename to setjmp_symbol.
7317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7318 (_setjmp): Rename to _setjmp_symbol.
7319 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7320 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7321 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7322 which setjmp to generate.
7323 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7324 "longjmp_target" static probes.
7326 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7328 * benchtests/README: Add note about output arguments.
7329 * benchtests/bench-sincos.c: Remove file.
7330 * benchtests/sincos-inputs: New file.
7331 * scripts/bench.pl: Identify output arguments and define
7332 static variables for them.
7334 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7337 * Makefile (INSTALL): Add install-plain.texi as the primary
7339 * manual/install-plain.texi: New file.
7340 * manual/install.texi: Include node directive only for
7341 non-plaintext output.
7343 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7345 * stdlib/longlong.h: Update from GCC.
7349 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7350 * math/w_j0f.c (y0f): Likewise.
7351 * math/w_j0l.c (__y0l): Likewise.
7352 * math/w_j1.c (y1): Likewise.
7353 * math/w_j1f.c (y1f): Likewise.
7354 * math/w_j1l.c (__y1l): Likewise
7355 * math/w_jn.c (yn): Likewise.
7356 * math/w_jnf.c (ynf): Likewise.
7357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7358 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7359 value for Bessel function domain errors outside _SVID_ mode.
7360 Adjust sign of return value for yn (negative integer, 0).
7361 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7362 by zero in return for negative x and set sign appropriately for
7364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7366 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7367 expectations in error cases.
7368 (y1_test_data): Likewise.
7369 (yn_test_data): Likewise.
7370 * sysdeps/i386/fpu/libm-test-ulps: Update.
7371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7373 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7375 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7376 "64" to "64-v1". Add "64-v2".
7377 (abi-64-options): Rename to ...
7378 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7379 (abi-64-condition): Rename to ...
7380 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7381 (abi-64-ld-soname): Rename to ...
7382 (abi-64-v1-ld-soname): ... this.
7383 (abi-64-v2-options): Define.
7384 (abi-64-v2-condition): Likewise.
7385 (abi-64-v2-ld-soname): Likewise.
7386 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7387 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7392 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7393 Alan Modra <amodra@gmail.com>
7395 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7396 New versions for use with the ELFv2 ABI.
7397 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7398 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7400 (struct La_ppc64v2_retval): Likewise.
7401 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7402 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7403 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7404 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7405 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7406 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7407 Do not save or restore CR.
7408 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7409 (_dl_profile_resolve): Do no save or restore CR. Support extended
7410 return values for ELFv2 ABI. Fix location of FPR return registers.
7411 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7412 updated values for _CALL_ELF == 2.
7413 (La_regs, La_retval, int_retval): Likewise.
7415 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7417 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7418 (FRAME_MIN_SIZE_PARM): Likewise.
7419 (FRAME_BACKCHAIN): Likewise.
7420 (FRAME_CR_SAVE): Likewise.
7421 (FRAME_LR_SAVE): Likewise.
7422 (FRAME_TOC_SAVE): Likewise.
7423 (FRAME_PARM_SAVE): Likewise.
7424 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7425 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7426 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7427 (call_mcount_parm_offset): New macro.
7428 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7429 (PROF): Use symbolic stack frame offsets.
7430 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7431 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7432 Redefine in terms of FRAME_MIN_SIZE.
7433 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7434 (_dl_profile_resolve): Likewise. Update comment.
7435 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7436 symbols stack frame offsets.
7437 (__sigsetjmp): Likewise.
7438 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7439 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7440 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7441 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7444 (FRAME_BACKCHAIN): Remove.
7445 (FRAME_CR_SAVE): Likewise.
7446 (FRAME_LR_SAVE): Likewise.
7447 (FRAME_COMPILER_DW): Likewise.
7448 (FRAME_LINKER_DW): Likewise.
7449 (FRAME_TOC_SAVE): Likewise.
7450 (FRAME_PARM_SAVE): Likewise.
7451 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7452 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7453 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7455 (CHECK_SP): Use symbolic stack frame offsets.
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7457 zone" instead of caller's parameter save area for temp storage.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7459 Likewise. Also, use symbolic stack frame offsets.
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7461 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7462 our own stack frame instead of the caller's.
7463 (__socket): Use symbolic stack frame offsets.
7465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7466 Alan Modra <amodra@gmail.com>
7468 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7470 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7471 PPC64_LOCAL_ENTRY_OFFSET): Define.
7472 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7474 (elf_machine_fixup_plt): Call it.
7475 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7477 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7478 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7479 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7480 r2 before calling target.
7482 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7483 Alan Modra <amodra@gmail.com>
7485 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7486 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7487 versions of macros to support ELFv2 ABI.
7488 (LOCALENTRY): New macro.
7489 (ENTRY, EALIGN): Use it.
7490 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7491 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7492 fall through into ENTRY entry point.
7493 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7494 Only define if _CALL_ELF != 2.
7496 (elf_machine_matches_host): Verify ABI version matches.
7497 (RTLD_START): Use LOCALENTRY.
7498 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7499 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7500 (PLT_ENTRY_WORDS): New macro.
7501 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7502 (elf_machine_runtime_setup): Support ELFv2 ABI.
7503 (elf_machine_fixup_plt): Likewise.
7504 (elf_machine_plt_conflict): Likewise.
7505 (resolve_ifunc): Likewise.
7506 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7510 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7512 (makecontext): Support ELFv2 ABI.
7513 * elf/elf.h (EF_PPC64_ABI): Define.
7515 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7517 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7518 New assembler macro.
7519 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7520 [ASSEMBLER] (ENTRY): ... but instead here ...
7521 [ASSEMBLER] (EALIGN): ... and here.
7522 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7523 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7524 [!ASSEMBLER] (ENTRY_2): Use it.
7525 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7526 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7527 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7528 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7529 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7531 Use PPC64_LOAD_FUNCPTR.
7533 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7535 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7537 2013-12-04 Alan Modra <amodra@gmail.com>
7539 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7540 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7541 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7542 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7545 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7546 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7547 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7548 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7549 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7551 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7554 (__makecontext): Fix incorrect CFI when backtracing out of
7555 context created via makecontext.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7557 (__setcontext): Fix incorrect CFI during switch to new context.
7558 (__novec_setcontext): Likewise.
7560 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7563 * time/strptime_l.c (__strptime_internal): Allow modifiers
7565 * time/tst-strptime.c (day_tests): Add testcase.
7568 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7570 * scripts/bench.pl: Skip over blank lines.
7572 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7575 * manual/time.texi (Calendar Time): Clarify what timezone functions
7578 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7582 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7584 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7586 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7587 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7588 * debug/memset_chk.c (__memset_chk): Likewise.
7589 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7590 * debug/strncpy_chk.c: Likewise.
7592 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7597 (__ieee754_exp): For possibly underflowing results, check size of
7598 result and force underflow exception if required.
7599 * math/auto-libm-test-in: Add more tests of exp.
7600 * math/auto-libm-test-out: Regenerated.
7601 * sysdeps/i386/fpu/libm-test-ulps: Update.
7602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7606 * math/w_exp2f.c (__exp2f): Likewise.
7607 * math/w_exp2l.c (__exp2l): Likewise.
7608 * math/auto-libm-test-in: Do not allow missing errno on exp2
7610 * math/auto-libm-test-out: Regenerated.
7612 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7615 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7616 handle filename validation.
7617 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7620 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7623 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7624 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7625 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7627 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7628 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7629 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7631 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7633 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7634 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7635 Add more erfc tests.
7636 * math/auto-libm-test-out: Regenerated.
7637 * sysdeps/i386/fpu/libm-test-ulps: Update.
7638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7640 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7641 exp2, expm1, j0 and j1.
7642 * math/auto-libm-test-out: Regenerated.
7643 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7644 (erfc_test_data): Likewise.
7645 (exp_test_data): Likewise.
7646 (exp_tonearest_test_data): Likewise.
7647 (exp_towardzero_test_data): Likewise.
7648 (exp_downward_test_data): Likewise.
7649 (exp_upward_test_data): Likewise.
7650 (exp10_test_data): Likewise.
7651 (exp2_test_data): Likewise.
7652 (expm1_test_data): Likewise.
7653 (j0_test_data): Likewise.
7654 (j1_test_data): Likewise.
7655 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7656 (input_flag_type): Add flag_xfail_rounding.
7657 (input_flags): Add xfail-rounding.
7658 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7659 (output_for_one_input_case): Handle flag_xfail_rounding.
7660 * sysdeps/i386/fpu/libm-test-ulps: Update.
7661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7663 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7666 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7669 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7672 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7673 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7674 (STAP_PROBE0): New macro.
7675 (STAP_PROBE1): Likewise.
7676 (STAP_PROBE2): Likewise.
7677 (STAP_PROBE3): Likewise.
7678 (STAP_PROBE4): Likewise.
7680 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7682 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7684 2013-12-02 Steve Ellcey <sellcey@mips.com>
7686 * benchtests/Makefile (bench): Add sqrt.
7687 (LDLIBS-bench-sqrt): New.
7688 * benchtests/sqrt-input: New.
7690 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7692 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7693 (GAIH_EAI): Likewise.
7694 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7695 (gaih_inet): Likewise.
7696 (getaddrinfo): Don't use GAIH_EAI.
7698 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7699 (struct gaih): Remove definition.
7701 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7703 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7704 Use HERRNOP directly.
7706 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7710 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7712 * math/gen-auto-libm-tests.c (test_functions): Add more
7713 single-argument functions.
7714 (special_fill_pi_2): New function.
7715 (special_fill_minus_pi_2): Likewise.
7716 (special_fill_pi_6): Likewise.
7717 (special_fill_minus_pi_6): Likewise.
7718 (special_fill_pi_3): Likewise.
7719 (special_fill_2pi_3): Likewise.
7720 (special_fill_e): Likewise.
7721 (special_fill_1_e): Likewise.
7722 (special_fill_e_minus_1): Likewise.
7723 (special_real_inputs): Add more special inputs.
7724 (output_for_one_input_case): Do not require ERANGE on underflow to
7725 zero if round-to-nearest result does not underflow to zero, unless
7726 exact results required.
7727 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7728 atan, atanh, cbrt, cos and cosh.
7729 * math/auto-libm-test-out: Regenerated.
7730 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7731 (acos_tonearest_test_data): Likewise.
7732 (acos_towardzero_test_data): Likewise.
7733 (acos_downward_test_data): Likewise.
7734 (acos_upward_test_data): Likewise.
7735 (acosh_test_data): Likewise.
7736 (asin_test_data): Likewise.
7737 (asin_tonearest_test_data): Likewise.
7738 (asin_towardzero_test_data): Likewise.
7739 (asin_upward_test_data): Likewise.
7740 (asinh_test_data): Likewise.
7741 (atan_test_data): Likewise.
7742 (atanh_test_data): Likewise.
7743 (cbrt_test_data): Likewise.
7744 (cos_test_data): Likewise.
7745 (cos_tonearest_test_data): Likewise.
7746 (cos_towardzero_test_data): Likewise.
7747 (cos_downward_test_data): Likewise.
7748 (cos_upward_test_data): Likewise.
7749 (cosh_test_data): Likewise.
7750 (cosh_tonearest_test_data): Likewise.
7751 (cosh_towardzero_test_data): Likewise.
7752 (cosh_downward_test_data): Likewise.
7753 (cosh_upward_test_data): Likewise.
7754 * sysdeps/i386/fpu/libm-test-ulps: Update.
7755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7757 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7760 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7761 * math/w_exp10f.c (__exp10f): Likewise.
7762 * math/w_exp10l.c (__exp10l): Likewise.
7763 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7764 errno settings in existing tests.
7767 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7768 precision control set to double precision.
7769 * sysdeps/i386/fpu/w_sqrt.c: New file.
7770 * math/auto-libm-test-in: Add more tests.
7771 * math/auto-libm-test-out: Update.
7773 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7774 (sqrt_test_tonearest): New function.
7775 (sqrt_towardzero_test_data): New variable.
7776 (sqrt_test_towardzero): New function.
7777 (sqrt_downward_test_data): New variable.
7778 (sqrt_test_downward): New function.
7779 (sqrt_upward_test_data): New variable.
7780 (sqrt_test_upward): New function.
7781 (main): Call the new functions.
7783 * math/gen-auto-libm-tests.c: New file.
7784 * math/auto-libm-test-in: Likewise.
7785 * math/auto-libm-test-out: New generated file.
7786 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7788 (%beautify): Add generated representations of zero.
7789 (top level): Set $auto_input and call parse_auto_input.
7790 (beautify): Remove trailing "f" from hex float constants.
7791 (parse_args): Handle XFAIL_TEST.
7792 (convert_condition): New function.
7793 (or_value): Likewise.
7794 (or_cond_value): Likewise.
7795 (generate_testfile): Handle AUTO_TESTS_* lines.
7796 (parse_auto_input): New function.
7797 * math/libm-test.inc (XFAIL_TEST): New macro.
7798 (ERRNO_UNCHANGED): Update value.
7799 (ERRNO_EDOM): Likewise.
7800 (ERRNO_ERANGE): Likewise.
7801 (IGNORE_RESULT): Likewise.
7802 (TEST_COND_flt_32): New macro.
7803 (TEST_COND_dbl_64): Likewise.
7804 (TEST_COND_ldbl_96_intel): Likewise.
7805 (TEST_COND_ldbl_96_m68k): Likewise.
7806 (TEST_COND_ldbl_128): Likewise.
7807 (TEST_COND_ldbl_128ibm): Likewise.
7808 (TEST_COND_long32): Likewise.
7809 (TEST_COND_long64): Likewise.
7810 (TEST_COND_before_rounding): Likewise.
7811 (TEST_COND_after_rounding): Likewise.
7812 (enable_test): Handle XFAIL_TEST flag.
7813 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7814 with finite results.
7815 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7818 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7819 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7822 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7823 __tls_get_addr_internal instead of __tls_get_offset in order to
7824 avoid GOT pointer dependency. Make rtld export
7825 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7826 __tls_get_addr since we are a __tls_get_offset platform.
7827 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7828 GOT pointer being set up before.
7829 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7831 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7833 * manual/math.texi (Errors in Math Functions): Document accuracy
7837 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7838 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7854 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7855 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7856 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7857 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7858 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7860 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7862 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7864 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7866 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7867 atomic-feupdateenv and flt-rounds.
7868 * sysdeps/powerpc/nofpu/Versions (libc): Add
7869 __atomic_feholdexcept, __atomic_feclearexcept,
7870 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7871 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7872 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7873 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7874 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7879 * manual/arith.texi (FP Exceptions): Document that exceptions may
7880 not be raised when matherr is used.
7881 (Math Error Reporting): Document overflow in directed rounding
7882 modes. Document that errno may not be set when finite values are
7883 returned on overflow. Document intent to set errno on underflow
7884 only for underflow to zero.
7887 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7888 round-to-nearest then adjust result for other rounding modes.
7889 * include/fenv.h (fegetround): Use libm_hidden_proto.
7890 * math/fegetround.c (fegetround): Use libm_hidden_def.
7891 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7892 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7893 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7894 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7896 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7897 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7898 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7899 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7901 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7904 * nss/Versions (libnss_files): Add
7905 _nss_files_gethostbyname3_r.
7906 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7908 (HOST_DB_LOOKUP): Remove macro.
7909 (_nss_files_gethostbyname_r): Implement function without the
7910 HOST_DB_LOOKUP macro.
7911 (_nss_files_gethostbyname2_r): Likewise.
7913 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7915 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7917 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7919 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7920 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7923 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7925 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7926 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7927 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7928 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7929 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7930 __fe_nomask_env_priv and attribute_hidden.
7931 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7932 (libc_feupdateenv_test_ppc): Likewise.
7933 (libc_feresetround_ppc): Likewise.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7935 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7936 compat_symbol macro.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7938 (__fe_nomask_env): Likewise.
7939 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7941 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7943 * string/Makefile: Remove ifunc tests.
7944 * string/test-string.h: Define TEST_IFUNC.
7945 * string/test-bcopy-ifunc.c: Remove.
7946 * string/test-bzero-ifunc.c: Likewise.
7947 * string/test-memccpy-ifunc.c: Likewise.
7948 * string/test-memchr-ifunc.c: Likewise.
7949 * string/test-memcmp-ifunc.c: Likewise.
7950 * string/test-memcpy-ifunc.c: Likewise.
7951 * string/test-memmem-ifunc.c: Likewise.
7952 * string/test-memmove-ifunc.c: Likewise.
7953 * string/test-mempcpy-ifunc.c: Likewise.
7954 * string/test-memrchr-ifunc.c: Likewise.
7955 * string/test-memset-ifunc.c: Likewise.
7956 * string/test-rawmemchr-ifunc.c: Likewise.
7957 * string/test-stpcpy-ifunc.c: Likewise.
7958 * string/test-stpncpy-ifunc.c: Likewise.
7959 * string/test-strcasecmp-ifunc.c: Likewise.
7960 * string/test-strcasestr-ifunc.c: Likewise.
7961 * string/test-strcat-ifunc.c: Likewise.
7962 * string/test-strchr-ifunc.c: Likewise.
7963 * string/test-strchrnul-ifunc.c: Likewise.
7964 * string/test-strcmp-ifunc.c: Likewise.
7965 * string/test-strcpy-ifunc.c: Likewise.
7966 * string/test-strcspn-ifunc.c: Likewise.
7967 * string/test-strlen-ifunc.c: Likewise.
7968 * string/test-strncasecmp-ifunc.c: Likewise.
7969 * string/test-strncat-ifunc.c: Likewise.
7970 * string/test-strncmp-ifunc.c: Likewise.
7971 * string/test-strncpy-ifunc.c: Likewise.
7972 * string/test-strnlen-ifunc.c: Likewise.
7973 * string/test-strpbrk-ifunc.c: Likewise.
7974 * string/test-strrchr-ifunc.c: Likewise.
7975 * string/test-strspn-ifunc.c: Likewise.
7976 * string/test-strstr-ifunc.c: Likewise.
7978 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7980 * benchtests/Makefile: Remove ifunc tests.
7981 * benchtests/bench-string.h: Define TEST_IFUNC.
7982 * benchtests/bench-bcopy-ifunc.c: Remove.
7983 * benchtests/bench-bzero-ifunc.c: Likewise.
7984 * benchtests/bench-memccpy-ifunc.c: Likewise.
7985 * benchtests/bench-memchr-ifunc.c: Likewise.
7986 * benchtests/bench-memcmp-ifunc.c: Likewise.
7987 * benchtests/bench-memcpy-ifunc.c: Likewise.
7988 * benchtests/bench-memmem-ifunc.c: Likewise.
7989 * benchtests/bench-memmove-ifunc.c: Likewise.
7990 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7991 * benchtests/bench-memrchr-ifunc.c: Likewise.
7992 * benchtests/bench-memset-ifunc.c: Likewise.
7993 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7994 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7995 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7996 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7997 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7998 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7999 * benchtests/bench-strcat-ifunc.c: Likewise.
8000 * benchtests/bench-strchr-ifunc.c: Likewise.
8001 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8002 * benchtests/bench-strcmp-ifunc.c: Likewise.
8003 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8004 * benchtests/bench-strcpy-ifunc.c: Likewise.
8005 * benchtests/bench-strcspn-ifunc.c: Likewise.
8006 * benchtests/bench-strlen-ifunc.c: Likewise.
8007 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8008 * benchtests/bench-strncat-ifunc.c: Likewise.
8009 * benchtests/bench-strncmp-ifunc.c: Likewise.
8010 * benchtests/bench-strncpy-ifunc.c: Likewise.
8011 * benchtests/bench-strnlen-ifunc.c: Likewise.
8012 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8013 * benchtests/bench-strrchr-ifunc.c: Likewise.
8014 * benchtests/bench-strsep-ifunc.c: Likewise.
8015 * benchtests/bench-strspn-ifunc.c: Likewise.
8016 * benchtests/bench-strstr-ifunc.c: Likewise.
8018 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8020 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8022 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8024 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8025 * rt/aio.h: Likewise.
8026 * sysdeps/gnu/bits/utmp.h: Likewise.
8027 * sysdeps/gnu/bits/utmpx.h: Likewise.
8028 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8029 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8030 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8031 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8032 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8033 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8034 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8035 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8036 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8037 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8038 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8039 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8040 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8042 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8043 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8044 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8045 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8046 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8047 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8048 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8049 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8051 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8052 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8055 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8057 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8058 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8062 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8063 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8064 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8065 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8066 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8067 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8068 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8069 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8071 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8074 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8075 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8077 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8079 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8080 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8083 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8086 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8087 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8088 (__fesetround): Remove define.
8089 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8090 rounding and exceptions handling.
8091 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8092 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8093 (__fe_nomask_env): Likewise.
8094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8095 __fegetround instead of fegetround.
8096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8099 2013-11-21 Roland McGrath <roland@hack.frob.com>
8101 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8104 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8106 2013-11-21 Meador Inge <meadori@codesourcery.com>
8109 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8110 (encrypt_r): Likewise.
8111 * malloc/obstack.h (obstack_free): Likewise.
8112 * posix/unistd.h (encrypt): Likewise.
8114 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8116 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8117 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8118 DL_CALL_DT_FINI() that call the functions directly.
8119 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8120 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8121 * elf/dl-fini.c: Likewise.
8123 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8125 * malloc/hooks.c (memalign_check): Add alignment rounding.
8126 * malloc/malloc.c (_mid_memalign): New function.
8127 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8128 Implement by calling _mid_memalign.
8129 * manual/probes.texi (Memory Allocation Probes): Remove
8130 memory_valloc_retry and memory_pvalloc_retry.
8132 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8134 * locale/programs/locarchive.c (open_archive): Add const
8135 qualifier to ARCHIVEFNAME and copy default fname to
8139 * libio/tst-widetext.input: Rename Oriya to Odia.
8140 * locale/iso-639.def: Likewise.
8142 * manual/probes.texi (Mathematical Function Probes): Add
8143 documentation for sin, cos, asin and acos probes.
8144 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8145 (__sin32): Add slowasin probe.
8146 (__cos32): Add slowacos probe.
8147 (__mpsin): Add slowsin probe.
8148 (__mpcos): Add slowcos probe.
8150 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8153 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8154 thread-local __sim_exceptions_thread and global
8155 __sim_exceptions_global.
8156 (__sim_disabled_exceptions): Change to thread-local
8157 __sim_disabled_exceptions_thread and global
8158 __sim_disabled_exceptions_global.
8159 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8160 and global __sim_round_mode_global.
8161 (__simulate_exceptions): Use thread-local floating-point state and
8162 set global state from it as needed.
8163 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8164 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8165 __sim_round_mode_thread.
8166 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8167 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8168 and global __sim_exceptions_global.
8169 (__sim_disabled_exceptions): Change to thread-local
8170 __sim_disabled_exceptions_thread and global
8171 __sim_disabled_exceptions_global.
8172 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8173 and global __sim_round_mode_global.
8174 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8175 (SIM_SET_GLOBAL): Likewise.
8176 * sysdeps/powerpc/soft-fp/sfp-machine.h
8177 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8178 __sim_round_mode_thread.
8179 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8180 __sim_disabled_exceptions_thread.
8181 (__sim_exceptions): Change to __sim_exceptions_thread.
8182 (__sim_disabled_exceptions): Change to
8183 __sim_disabled_exceptions_thread.
8184 (__sim_round_mode): Change to __sim_round_mode_thread.
8185 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8186 thread-local floating-point state and set global state from it as
8188 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8189 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8190 (__sim_disabled_exceptions): Remove extern declaration.
8191 (feenableexcept): Use thread-local floating-point state and set
8192 global state from it as needed.
8193 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8195 (__sim_disabled_exceptions): Likewise.
8196 (__sim_round_mode): Likewise.
8197 (__fegetenv): Use thread-local floating-point state.
8198 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8199 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8200 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8201 floating-point state and set global state from it as needed.
8202 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8203 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8204 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8206 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8207 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8209 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8210 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8211 Use __sim_round_mode_thread.
8212 * math/test-fenv-tls.c: New file.
8213 * math/Makefile (tests): Add test-fenv-tls.
8214 ($(objpfx)test-fenv-tls): Depend on
8215 $(common-objpfx)nptl/libpthread.so.
8217 2013-11-19 Andreas Schwab <schwab@suse.de>
8219 * locale/programs/locale.c (show_info): Decode wordarray elements.
8220 * locale/categories.def (LC_MONETARY): Add element for
8221 _NL_MONETARY_CRNCYSTR.
8222 * locale/C-monetary.c (conversion_rate): New variable.
8223 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8226 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8228 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8229 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8231 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8233 * elf/Makefile (tst-auxv): New test.
8234 * elf/tst-auxv.c: New
8235 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8237 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8239 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8240 (hidden_proto): Caller changed.
8241 (hidden_tls_proto): New macro.
8242 (libc_hidden_tls_proto): Likewise.
8243 (rtld_hidden_tls_proto): Likewise.
8244 (libm_hidden_tls_proto): Likewise.
8245 (libresolv_hidden_tls_proto): Likewise.
8246 (librt_hidden_tls_proto): Likewise.
8247 (libdl_hidden_tls_proto): Likewise.
8248 (libnss_files_hidden_tls_proto): Likewise.
8249 (libnsl_hidden_tls_proto): Likewise.
8250 (libnss_nisplus_hidden_tls_proto): Likewise.
8251 (libutil_hidden_tls_proto): Likewise.
8253 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8256 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8257 (decompose_rpath): Defer expansion to fillin_rpath.
8258 (_dl_init_paths): Pass linkmap to fillin_rpath.
8260 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8262 * benchtests/Makefile: Add strsep.
8263 * benchtests/bench-strsep.c: New file: strsep benchtest.
8264 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8266 2013-11-18 Andreas Schwab <schwab@suse.de>
8268 * locale/programs/locale.c (show_info) [case byte]: Check for
8269 '\377' instead of '\177'.
8270 * locale/C-monetary.c (not_available): Always use "\377".
8271 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8272 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8273 detect unavailable sign_posn locale elements.
8274 * locale/localeconv.c (__localeconv): For grouping and
8275 mon_grouping handle "\177" and "\377" like no grouping.
8276 (INT_ELEM): New macro. Use it to set all numeric members.
8277 * locale/programs/ld-monetary.c (monetary_read)
8278 <tok_mon_grouping>: Normalize single -1 to the empty string.
8279 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8282 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8286 when we match (nil).
8287 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8289 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8291 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8292 (NO_TEST_INLINE): Update value.
8293 (ERRNO_UNCHANGED): Likewise.
8294 (ERRNO_EDOM): Likewise.
8295 (ERRNO_ERANGE): Likewise.
8296 (IGNORE_RESULT): Likewise.
8297 (check_float_internal): Check signs of NaN results if
8299 (check_complex): Pass TEST_NAN_SIGN flag through to second
8300 check_float_internal call.
8301 (copysign_test_data): Add tests with quiet NaNs as second
8302 argument. Use TEST_NAN_SIGN.
8303 (fabs_test_data): Add test of negative quiet NaN argument. Use
8305 (signbit_test_data): Add tests of quiet NaN argument.
8306 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8308 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8310 (parse_args): Handle function results specified as IGNORE.
8311 * math/libm-test.inc (IGNORE_RESULT): New macro.
8312 (check_float_internal): Do not check numerical result if flag
8314 (check_complex): Pass through IGNORE_RESULT to second
8315 check_float_internal call.
8316 (check_int): Do not check numerical result if flag IGNORE_RESULT
8318 (check_long): Likewise.
8319 (check_bool): Likewise.
8320 (check_longlong): Likewise.
8321 (lrint_test_data): Add tests of infinite and NaN arguments.
8322 (lrint_tonearest_test_data): Likewise.
8323 (lrint_towardzero_test_data): Likewise.
8324 (lrint_downward_test_data): Likewise.
8325 (lrint_upward_test_data): Likewise.
8326 (llrint_test_data): Likewise.
8327 (llrint_tonearest_test_data): Likewise.
8328 (llrint_towardzero_test_data): Likewise.
8329 (llrint_downward_test_data): Likewise.
8330 (llrint_upward_test_data): Likewise.
8331 (lround_test_data): Likewise.
8332 (llround_test_data): Likewise.
8334 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8335 (ERRNO_UNCHANGED): Update value.
8336 (ERRNO_EDOM): Likewise.
8337 (ERRNO_ERANGE): Likewise.
8338 (NO_TEST_INLINE_FLOAT): New macro.
8339 (NO_TEST_INLINE_DOUBLE): Likewise.
8340 (enable_test): New function.
8341 (RUN_TEST_f_f): Check enable_test before running test.
8342 (RUN_TEST_2_f): Likewise.
8343 (RUN_TEST_fff_f): Likewise.
8344 (RUN_TEST_c_f): Likewise.
8345 (RUN_TEST_f_f1): Likewise.
8346 (RUN_TEST_fF_f1): Likewise.
8347 (RUN_TEST_fI_f1): Likewise.
8348 (RUN_TEST_ffI_f1): Likewise.
8349 (RUN_TEST_c_c): Likewise.
8350 (RUN_TEST_cc_c): Likewise.
8351 (RUN_TEST_f_i): Likewise.
8352 (RUN_TEST_f_i_tg): Likewise.
8353 (RUN_TEST_ff_i_tg): Likewise.
8354 (RUN_TEST_f_b): Likewise.
8355 (RUN_TEST_f_b_tg): Likewise.
8356 (RUN_TEST_f_l): Likewise.
8357 (RUN_TEST_f_L): Likewise.
8358 (RUN_TEST_fFF_11): Likewise.
8359 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8361 (cosh_test_data): Likewise.
8362 (exp_test_data): Likewise.
8363 (expm1_test_data): Likewise.
8364 (hypot_test_data): Likewise.
8365 (pow_test_data): Likewise.
8366 (sinh_test_data): Likewise.
8367 (tanh_test_data): Likewise.
8368 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8371 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8372 tests with quiet NaN input and output.
8373 (acosh_test_data): Likewise.
8374 (asin_test_data): Likewise.
8375 (asinh_test_data): Likewise.
8376 (atan_test_data): Likewise.
8377 (atanh_test_data): Likewise.
8378 (atan2_test_data): Likewise.
8379 (cbrt_test_data): Likewise.
8380 (cos_test_data): Likewise.
8381 (cosh_test_data): Likewise.
8382 (erf_test_data): Likewise.
8383 (erfc_test_data): Likewise.
8384 (exp_test_data): Likewise.
8385 (exp10_test_data): Likewise.
8386 (exp2_test_data): Likewise.
8387 (expm1_test_data): Likewise.
8388 (hypot_test_data): Likewise.
8389 (j0_test_data): Likewise.
8390 (j1_test_data): Likewise.
8391 (jn_test_data): Likewise.
8392 (lgamma_test_data): Likewise.
8393 (log_test_data): Likewise.
8394 (log10_test_data): Likewise.
8395 (log1p_test_data): Likewise.
8396 (log2_test_data): Likewise.
8397 (pow_test_data): Likewise.
8398 (scalb_test_data): Likewise.
8399 (sin_test_data): Likewise.
8400 (sincos_test_data): Likewise.
8401 (sinh_test_data): Likewise.
8402 (tan_test_data): Likewise.
8403 (tanh_test_data): Likewise.
8404 (tgamma_test_data): Likewise.
8405 (y0_test_data): Likewise.
8406 (y1_test_data): Likewise.
8407 (yn_test_data): Likewise.
8410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8411 argument being NaN and avoid computations with second argument in
8413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8417 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8419 * locale/iso-639.def: Add Chitwani Tharu (the).
8421 2013-11-14 Andreas Schwab <schwab@suse.de>
8423 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8424 word instead of empty string.
8426 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8429 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8431 (__fe_nomask_env): Likewise.
8433 2013-11-13 Steve Ellcey <sellcey@mips.com>
8435 * benchtests/bench-timing.h: Include time.h.
8437 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8440 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8442 * sysdeps/unix/sysv/linux/configure: Regenerated.
8444 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8447 * stdlib/strtod_l.c (round_and_return): Do not consider
8448 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8449 exponent one less than half the least subnormal exponent.
8450 * stdlib/test-strtod-round-data: Add more tests.
8451 * stdlib/tst-strtod-round.c (tests): Regenerated.
8453 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8456 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8457 (__fe_mask_env): Likewise.
8458 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8459 libm_hidden_proto and add function prototype.
8460 (__fe_mask_env): Add function prototype.
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8462 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8464 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8466 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8468 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8470 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8471 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8473 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8475 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8476 of htab_find_slot().
8478 2013-11-11 David S. Miller <davem@davemloft.net>
8481 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8482 symbol in the non-vis3 case in static builds.
8483 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8484 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8485 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8486 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8488 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8491 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8494 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 * benchtests/Makefile: Add bench-strtod.
8497 * benchtests/bench-strtod.c: New file: strtod benchtest
8499 2013-11-11 Andreas Schwab <schwab@suse.de>
8502 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8503 terminating NUL in key length.
8505 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8508 Add artificial ODP entry for vDSO symbol for PPC64.
8509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8510 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8512 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8515 * nss/getent.c (services_keys): Recognize services starting with digit.
8517 2013-11-06 David S. Miller <davem@davemloft.net>
8520 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8521 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8523 2013-11-06 Will Newton <will.newton@linaro.org>
8525 * manual/memory.texi (Malloc Examples): Remove register
8526 keyword from examples.
8528 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8530 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8532 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8535 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8536 depending on [__GCC_IEC_559 > 0].
8537 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8538 depending on [__GCC_IEC_559_COMPLEX > 0].
8540 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8542 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8545 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8547 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8549 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8552 * malloc/malloc (malloc_info): Do not handle first bin as
8555 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8557 * locale/iso-639.def: Add Central Nahuatl (nhn).
8559 2013-11-01 Bruno Haible <bruno@clisp.org>
8562 * manual/math.texi (BSD Random): Specify range upper bound as
8565 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8567 * locale/iso-639.def: Add Meadow Mari (mhr).
8569 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8571 [BZ #14752], [BZ #15763]
8572 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8574 * rt/tst_shm.c: Add test for escaping directory.
8576 2013-10-31 Andreas Schwab <schwab@suse.de>
8579 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8580 followed by 'x' as part of digit sequence.
8581 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8583 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8586 * configure.ac: allow GNU Make 4.0 and greater.
8587 * configure: Regenerated.
8589 2013-10-30 Will Newton <will.newton@linaro.org>
8592 * malloc/hooks.c (memalign_check): Limit alignment to the
8593 maximum representable power of two.
8594 * malloc/malloc.c (__libc_memalign): Likewise.
8595 * malloc/tst-memalign.c (do_test): Add test for very
8596 large alignment values.
8597 * malloc/tst-posix_memalign.c (do_test): Likewise.
8599 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8602 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8603 (munmap_chunk): Likewise.
8604 (mremap_chunk): Likewise.
8606 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8609 * stdlib/div.c (div): Remove obsolete code.
8610 * stdlib/ldiv.c (ldiv): Likewise.
8611 * stdlib/lldiv.c (lldiv): Likewise.
8613 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8616 * nss/nss_files/files-XXX.c (get_contents_ret): New
8618 (get_contents): New function.
8619 (internal_getent): Use it. Expand size of LINEBUFLEN.
8621 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8623 * configure.in: Moved to ...
8624 * configure.ac: ... here. Change reference to configure.in
8626 * sysdeps/arm/preconfigure.ac: ... here.
8627 configure.in to configure.ac.
8628 * sysdeps/gnu/configure.in: Moved to ...
8629 * sysdeps/gnu/configure.ac: ... here.
8630 * sysdeps/i386/configure.in: Moved to ...
8631 * sysdeps/i386/configure.ac: ... here.
8632 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8633 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8634 * sysdeps/mach/configure.in: Moved to ...
8635 * sysdeps/mach/configure.ac: ... here.
8636 * sysdeps/mach/hurd/configure.in: Moved to ...
8637 * sysdeps/mach/hurd/configure.ac: ... here.
8638 * sysdeps/powerpc/configure.in: Moved to ...
8639 * sysdeps/powerpc/configure.ac: ... here.
8640 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8641 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8642 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8643 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8644 * sysdeps/s390/s390-32/configure.in: Moved to ...
8645 * sysdeps/s390/s390-32/configure.ac: ... here.
8646 * sysdeps/s390/s390-64/configure.in: Moved to ...
8647 * sysdeps/s390/s390-64/configure.ac: ... here.
8648 * sysdeps/sh/configure.in: Moved to ...
8649 * sysdeps/sh/configure.ac: ... here.
8650 * sysdeps/sparc/configure.in: Moved to ...
8651 * sysdeps/sparc/configure.ac: ... here.
8652 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8653 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8654 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8655 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8656 * sysdeps/x86_64/configure.in: Moved to ...
8657 * sysdeps/x86_64/configure.ac: ... here.
8658 * sysdeps/x86_64/preconfigure.in: Moved to ...
8659 * sysdeps/x86_64/preconfigure.ac: ... here.
8660 * aclocal.m4: Change reference to configure.in to configure.ac.
8661 * config.h.in: Likewise.
8662 * manual/install.texi: Likewise.
8663 * manual/maint.texi: Likewise.
8664 * Makefile: Likewise.
8665 * malloc/Makefile: Likewise.
8666 * nscd/Makefile: Likewise.
8667 * Makeconfig: Change reference to configure.in and
8668 preconfigure.in to configure.ac and preconfigure.ac
8670 * INSTALL: Regenerated.
8671 * configure: Likewise.
8672 * sysdeps/gnu/configure: Likewise.
8673 * sysdeps/i386/configure: Likewise.
8674 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8675 * sysdeps/mach/configure: Likewise.
8676 * sysdeps/mach/hurd/configure: Likewise.
8677 * sysdeps/powerpc/configure: Likewise.
8678 * sysdeps/powerpc/powerpc32/configure: Likewise.
8679 * sysdeps/powerpc/powerpc64/configure: Likewise.
8680 * sysdeps/s390/s390-32/configure: Likewise.
8681 * sysdeps/s390/s390-64/configure: Likewise.
8682 * sysdeps/sh/configure: Likewise.
8683 * sysdeps/sparc/configure: Likewise.
8684 * sysdeps/unix/sysv/linux/configure: Likewise.
8685 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8686 * sysdeps/x86_64/configure: Likewise.
8687 * sysdeps/x86_64/preconfigure: Likewise.
8689 2013-10-29 Andreas Schwab <schwab@suse.de>
8691 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8693 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8695 * benchtests/pow-inputs: Add new inputs.
8697 * benchtests/exp-inputs: Add new inputs.
8699 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8700 conditional check for return value.
8701 (__cos32): Likewise.
8703 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8705 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8706 to provide a boost for large inputs with word alignment.
8707 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8708 implementation based on optimized PPC64 strcpy.
8709 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8710 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8711 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8712 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8714 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8717 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8719 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8722 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8723 * time/tst-strptime.c (day_tests): Add testcase.
8725 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8728 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8730 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8733 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8734 MAP_FAILED on error.
8736 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8739 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8740 heap for large requests.
8742 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8745 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8746 result if the result has no associated interface.
8747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8748 interface for all 127.X.Y.Z addresses.
8750 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8752 * locale/iso-639.def: Add Ligurian (lij)
8754 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8757 * sunrpc/rpc_main.c: Document rpcgen -5.
8759 2013-10-19 Michael Stahl <mstahl@redhat.com>
8761 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8763 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8766 * posix/glob.c: Match only directories when trailing slash is present.
8767 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8768 (main): Add testcase.
8770 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8773 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8775 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8777 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8778 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8779 AUTH_DES and cindex for FIPS 140-2.
8780 (DES Encryption): Add cindex FIPS 46-3.
8782 * locale/locarchive.h (struct locarhandle): Add fname.
8783 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8784 if an optional argument was specified to --list-archive,
8786 * locale/programs/locarchive.c (show_archive_content): Take new
8787 argument fname and pass it via ah.fname to open_archive.
8788 * locale/programs/localedef.h: Update decl.
8789 (open_archive): If AH->fname is non-null, open that file
8790 rather than the default file name, and don't ignore ENOENT.
8791 (create_archive): Set AH.fname to NULL.
8792 (delete_locales_from_archive): Likewise.
8793 (add_locales_to_archive): Likewise.
8794 * locale/programs/locfile.c (write_all_categories): Likewise.
8796 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8797 Aldy Hernandez <aldyh@redhat.com>
8799 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8800 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8801 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8802 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8803 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8804 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8805 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8807 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8808 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8809 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8810 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8811 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8812 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8813 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8815 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8817 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8819 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8821 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8822 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8824 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8825 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8826 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8827 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8829 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8830 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8831 * sysdeps/powerpc/preconfigure: Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8834 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8835 Replace contents of file by #include of <fenv_libc.h>.
8836 * sysdeps/powerpc/soft-fp/sfp-machine.h
8837 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8839 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8840 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8843 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8846 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8847 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8852 Allow copysignl PLT reference to be missing.
8854 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8855 Joseph Myers <joseph@codesourcery.com
8858 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8860 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8862 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8864 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8865 * elf/tst-tls1.c: Likewise.
8866 * elf/tst-tls10.h: Likewise.
8867 * elf/tst-tls14.c: Likewise.
8868 * elf/tst-tls2.c: Likewise.
8869 * elf/tst-tls3.c: Likewise.
8870 * elf/tst-tls4.c: Likewise.
8871 * elf/tst-tls5.c: Likewise.
8872 * elf/tst-tls6.c: Likewise.
8873 * elf/tst-tls7.c: Likewise.
8874 * elf/tst-tls8.c: Likewise.
8875 * elf/tst-tls9.c: Likewise.
8876 * elf/tst-tlsmod1.c: Likewise.
8877 * elf/tst-tlsmod13.c: Likewise.
8878 * elf/tst-tlsmod13a.c: Likewise.
8879 * elf/tst-tlsmod14a.c: Likewise.
8880 * elf/tst-tlsmod16a.c: Likewise.
8881 * elf/tst-tlsmod16b.c: Likewise.
8882 * elf/tst-tlsmod2.c: Likewise.
8883 * elf/tst-tlsmod3.c: Likewise.
8884 * elf/tst-tlsmod4.c: Likewise.
8885 * elf/tst-tlsmod5.c: Likewise.
8886 * elf/tst-tlsmod6.c: Likewise.
8888 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8891 * malloc/malloc.c: remove checks for statistics.
8893 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8896 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8897 * inet/tst-network.c: Add testcase.
8899 2013-10-17 Andreas Schwab <schwab@suse.de>
8902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8903 to determine canonical name.
8905 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8907 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8908 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8931 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8932 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8966 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8969 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8970 make result into a quiet NaN.
8972 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8974 * soft-fp/adddf3.c: Fix horizontal whitespace.
8975 * soft-fp/addsf3.c: Likewise.
8976 * soft-fp/addtf3.c: Likewise.
8977 * soft-fp/divdf3.c: Likewise.
8978 * soft-fp/divsf3.c: Likewise.
8979 * soft-fp/divtf3.c: Likewise.
8980 * soft-fp/double.h: Likewise.
8981 * soft-fp/eqdf2.c: Likewise.
8982 * soft-fp/eqsf2.c: Likewise.
8983 * soft-fp/eqtf2.c: Likewise.
8984 * soft-fp/extenddftf2.c: Likewise.
8985 * soft-fp/extended.h: Likewise.
8986 * soft-fp/extendsfdf2.c: Likewise.
8987 * soft-fp/extendsftf2.c: Likewise.
8988 * soft-fp/extendxftf2.c: Likewise.
8989 * soft-fp/fixdfdi.c: Likewise.
8990 * soft-fp/fixdfsi.c: Likewise.
8991 * soft-fp/fixdfti.c: Likewise.
8992 * soft-fp/fixsfdi.c: Likewise.
8993 * soft-fp/fixsfsi.c: Likewise.
8994 * soft-fp/fixsfti.c: Likewise.
8995 * soft-fp/fixtfdi.c: Likewise.
8996 * soft-fp/fixtfsi.c: Likewise.
8997 * soft-fp/fixtfti.c: Likewise.
8998 * soft-fp/fixunsdfdi.c: Likewise.
8999 * soft-fp/fixunsdfsi.c: Likewise.
9000 * soft-fp/fixunsdfti.c: Likewise.
9001 * soft-fp/fixunssfdi.c: Likewise.
9002 * soft-fp/fixunssfsi.c: Likewise.
9003 * soft-fp/fixunssfti.c: Likewise.
9004 * soft-fp/fixunstfdi.c: Likewise.
9005 * soft-fp/fixunstfsi.c: Likewise.
9006 * soft-fp/fixunstfti.c: Likewise.
9007 * soft-fp/floatdidf.c: Likewise.
9008 * soft-fp/floatdisf.c: Likewise.
9009 * soft-fp/floatditf.c: Likewise.
9010 * soft-fp/floatsidf.c: Likewise.
9011 * soft-fp/floatsisf.c: Likewise.
9012 * soft-fp/floatsitf.c: Likewise.
9013 * soft-fp/floattidf.c: Likewise.
9014 * soft-fp/floattisf.c: Likewise.
9015 * soft-fp/floattitf.c: Likewise.
9016 * soft-fp/floatundidf.c: Likewise.
9017 * soft-fp/floatundisf.c: Likewise.
9018 * soft-fp/floatunditf.c: Likewise.
9019 * soft-fp/floatunsidf.c: Likewise.
9020 * soft-fp/floatunsisf.c: Likewise.
9021 * soft-fp/floatunsitf.c: Likewise.
9022 * soft-fp/floatuntidf.c: Likewise.
9023 * soft-fp/floatuntisf.c: Likewise.
9024 * soft-fp/floatuntitf.c: Likewise.
9025 * soft-fp/fmadf4.c: Likewise.
9026 * soft-fp/fmasf4.c: Likewise.
9027 * soft-fp/fmatf4.c: Likewise.
9028 * soft-fp/gedf2.c: Likewise.
9029 * soft-fp/gesf2.c: Likewise.
9030 * soft-fp/getf2.c: Likewise.
9031 * soft-fp/ledf2.c: Likewise.
9032 * soft-fp/lesf2.c: Likewise.
9033 * soft-fp/letf2.c: Likewise.
9034 * soft-fp/muldf3.c: Likewise.
9035 * soft-fp/mulsf3.c: Likewise.
9036 * soft-fp/multf3.c: Likewise.
9037 * soft-fp/negdf2.c: Likewise.
9038 * soft-fp/negsf2.c: Likewise.
9039 * soft-fp/negtf2.c: Likewise.
9040 * soft-fp/op-1.h: Likewise.
9041 * soft-fp/op-2.h: Likewise.
9042 * soft-fp/op-4.h: Likewise.
9043 * soft-fp/op-8.h: Likewise.
9044 * soft-fp/op-common.h: Likewise.
9045 * soft-fp/quad.h: Likewise.
9046 * soft-fp/single.h: Likewise.
9047 * soft-fp/soft-fp.h: Likewise.
9048 * soft-fp/sqrtdf2.c: Likewise.
9049 * soft-fp/sqrtsf2.c: Likewise.
9050 * soft-fp/sqrttf2.c: Likewise.
9051 * soft-fp/subdf3.c: Likewise.
9052 * soft-fp/subsf3.c: Likewise.
9053 * soft-fp/subtf3.c: Likewise.
9054 * soft-fp/truncdfsf2.c: Likewise.
9055 * soft-fp/trunctfdf2.c: Likewise.
9056 * soft-fp/trunctfsf2.c: Likewise.
9057 * soft-fp/trunctfxf2.c: Likewise.
9058 * soft-fp/unorddf2.c: Likewise.
9059 * soft-fp/unordsf2.c: Likewise.
9060 * soft-fp/unordtf2.c: Likewise.
9062 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9064 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9065 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9067 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9069 * elf/dl-libc.c: Clear initfini list after freeing.
9071 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9073 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9074 * soft-fp/addsf3.c: Likewise.
9075 * soft-fp/addtf3.c: Likewise.
9076 * soft-fp/divdf3.c: Likewise.
9077 * soft-fp/divsf3.c: Likewise.
9078 * soft-fp/divtf3.c: Likewise.
9079 * soft-fp/double.h: Likewise.
9080 * soft-fp/eqdf2.c: Likewise.
9081 * soft-fp/eqsf2.c: Likewise.
9082 * soft-fp/eqtf2.c: Likewise.
9083 * soft-fp/extenddftf2.c: Likewise.
9084 * soft-fp/extended.h: Likewise.
9085 * soft-fp/extendsfdf2.c: Likewise.
9086 * soft-fp/extendsftf2.c: Likewise.
9087 * soft-fp/extendxftf2.c: Likewise.
9088 * soft-fp/fixdfdi.c: Likewise.
9089 * soft-fp/fixdfsi.c: Likewise.
9090 * soft-fp/fixdfti.c: Likewise.
9091 * soft-fp/fixsfdi.c: Likewise.
9092 * soft-fp/fixsfsi.c: Likewise.
9093 * soft-fp/fixsfti.c: Likewise.
9094 * soft-fp/fixtfdi.c: Likewise.
9095 * soft-fp/fixtfsi.c: Likewise.
9096 * soft-fp/fixtfti.c: Likewise.
9097 * soft-fp/fixunsdfdi.c: Likewise.
9098 * soft-fp/fixunsdfsi.c: Likewise.
9099 * soft-fp/fixunsdfti.c: Likewise.
9100 * soft-fp/fixunssfdi.c: Likewise.
9101 * soft-fp/fixunssfsi.c: Likewise.
9102 * soft-fp/fixunssfti.c: Likewise.
9103 * soft-fp/fixunstfdi.c: Likewise.
9104 * soft-fp/fixunstfsi.c: Likewise.
9105 * soft-fp/fixunstfti.c: Likewise.
9106 * soft-fp/floatdidf.c: Likewise.
9107 * soft-fp/floatdisf.c: Likewise.
9108 * soft-fp/floatditf.c: Likewise.
9109 * soft-fp/floatsidf.c: Likewise.
9110 * soft-fp/floatsisf.c: Likewise.
9111 * soft-fp/floatsitf.c: Likewise.
9112 * soft-fp/floattidf.c: Likewise.
9113 * soft-fp/floattisf.c: Likewise.
9114 * soft-fp/floattitf.c: Likewise.
9115 * soft-fp/floatundidf.c: Likewise.
9116 * soft-fp/floatundisf.c: Likewise.
9117 * soft-fp/floatunsidf.c: Likewise.
9118 * soft-fp/floatunsisf.c: Likewise.
9119 * soft-fp/floatuntidf.c: Likewise.
9120 * soft-fp/floatuntisf.c: Likewise.
9121 * soft-fp/floatuntitf.c: Likewise.
9122 * soft-fp/fmadf4.c: Likewise.
9123 * soft-fp/fmasf4.c: Likewise.
9124 * soft-fp/fmatf4.c: Likewise.
9125 * soft-fp/gedf2.c: Likewise.
9126 * soft-fp/gesf2.c: Likewise.
9127 * soft-fp/getf2.c: Likewise.
9128 * soft-fp/ledf2.c: Likewise.
9129 * soft-fp/lesf2.c: Likewise.
9130 * soft-fp/letf2.c: Likewise.
9131 * soft-fp/muldf3.c: Likewise.
9132 * soft-fp/mulsf3.c: Likewise.
9133 * soft-fp/multf3.c: Likewise.
9134 * soft-fp/negdf2.c: Likewise.
9135 * soft-fp/negsf2.c: Likewise.
9136 * soft-fp/negtf2.c: Likewise.
9137 * soft-fp/op-1.h: Likewise.
9138 * soft-fp/op-2.h: Likewise.
9139 * soft-fp/op-4.h: Likewise.
9140 * soft-fp/op-8.h: Likewise.
9141 * soft-fp/op-common.h: Likewise.
9142 * soft-fp/quad.h: Likewise.
9143 * soft-fp/single.h: Likewise.
9144 * soft-fp/soft-fp.h: Likewise.
9145 * soft-fp/sqrtdf2.c: Likewise.
9146 * soft-fp/sqrtsf2.c: Likewise.
9147 * soft-fp/sqrttf2.c: Likewise.
9148 * soft-fp/subdf3.c: Likewise.
9149 * soft-fp/subsf3.c: Likewise.
9150 * soft-fp/subtf3.c: Likewise.
9151 * soft-fp/truncdfsf2.c: Likewise.
9152 * soft-fp/trunctfdf2.c: Likewise.
9153 * soft-fp/trunctfsf2.c: Likewise.
9154 * soft-fp/trunctfxf2.c: Likewise.
9155 * soft-fp/unorddf2.c: Likewise.
9156 * soft-fp/unordsf2.c: Likewise.
9157 * soft-fp/unordtf2.c: Likewise.
9159 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9162 * misc/error.c (error_tail): Fix possible buffer overflow.
9164 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9167 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9170 2013-10-14 P. J. McDermott <pj@pehjota.net>
9173 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9174 testing pipefail option.
9176 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9178 * soft-fp/double.h: Indent preprocessor directives inside #if.
9179 * soft-fp/extended.h: Likewise.
9180 * soft-fp/op-2.h: Likewise.
9181 * soft-fp/op-4.h: Likewise.
9182 * soft-fp/op-common.h: Likewise.
9183 * soft-fp/quad.h: Likewise.
9184 * soft-fp/single.h: Likewise.
9185 * soft-fp/soft-fp.h: Likewise.
9187 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9189 * iconv/iconv_prog.c: Fix typos.
9190 * stdio-common/psiginfo-data.h: Likewise.
9192 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9195 * locale/setlocale.c: Fix typo.
9197 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9200 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9201 signaling NaN arguments.
9202 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9203 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9206 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9208 * soft-fp/gesf2.c (__gesf2): Likewise.
9209 * soft-fp/getf2.c (__getf2): Likewise.
9210 * soft-fp/ledf2.c (__ledf2): Likewise.
9211 * soft-fp/lesf2.c (__lesf2): Likewise.
9212 * soft-fp/letf2.c (__letf2): Likewise.
9214 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9215 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9216 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9217 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9218 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9219 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9220 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9221 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9222 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9223 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9224 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9225 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9226 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9227 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9228 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9229 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9230 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9231 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9232 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9233 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9234 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9235 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9236 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9237 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9238 * soft-fp/floattidf.c (__floattidf): Likewise.
9239 * soft-fp/floattisf.c (__floattisf): Likewise.
9240 * soft-fp/floattitf.c (__floattitf): Likewise.
9241 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9242 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9243 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9244 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9245 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9246 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9247 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9248 * soft-fp/gesf2.c (__gesf2): Likewise.
9249 * soft-fp/getf2.c (__getf2): Likewise.
9250 * soft-fp/ledf2.c (__ledf2): Likewise.
9251 * soft-fp/lesf2.c (__lesf2): Likewise.
9252 * soft-fp/letf2.c (__letf2): Likewise.
9254 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9255 Undefine and redefine.
9256 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9257 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9258 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9259 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9260 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9261 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9262 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9263 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9264 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9265 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9266 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9267 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9268 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9269 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9270 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9273 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9274 without decrementing exponent if mantissa >= that for the
9276 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9277 denominator, not >. Decrement exponent in < case instead of
9278 incrementing in >= case.
9279 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9280 without decrementing exponent if mantissa >= that for the
9283 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9284 computing saturated result for unsigned overflow.
9286 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9287 Jeff Law <law@redhat.com>
9289 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9290 (atan2Mp): Add systemtap probe marker.
9291 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9292 (__ieee754_log): Add systemtap probe marker.
9293 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9294 (atanMp): Add systemtap probe marker.
9295 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9296 (tanMp): Add systemtap probe marker.
9297 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9298 (__slowexp): Add systemtap probe marker.
9299 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9300 (__slowpow): Add systemtap probe marker.
9301 * manual/probes.texi: Document probes.
9303 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9306 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9308 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9310 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9311 written to buffer but not flushed.
9312 * libio/iofwrite_u.c: Likewise.
9313 * libio/iopadn.c: Return bytes returned even if EOF was
9315 * libio/iowpadn.c: Likewise.
9316 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9317 if _IO_padn does not write the whole buffer.
9318 [!COMPILE_WPRINTF] (PAD): Likewise.
9320 2013-10-10 David S. Miller <davem@davemloft.net>
9322 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9325 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9327 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9328 instead of FSF address.
9329 * soft-fp/fixdfti.c: Likewise.
9330 * soft-fp/fixsfti.c: Likewise.
9331 * soft-fp/fixtfti.c: Likewise.
9332 * soft-fp/fixunsdfti.c: Likewise.
9333 * soft-fp/fixunssfti.c: Likewise.
9334 * soft-fp/fixunstfti.c: Likewise.
9335 * soft-fp/floattidf.c: Likewise.
9336 * soft-fp/floattisf.c: Likewise.
9337 * soft-fp/floattitf.c: Likewise.
9338 * soft-fp/floatuntidf.c: Likewise.
9339 * soft-fp/floatuntisf.c: Likewise.
9340 * soft-fp/floatuntitf.c: Likewise.
9341 * soft-fp/trunctfxf2.c: Likewise.
9343 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9344 * soft-fp/fixdfti.c: Likewise.
9345 * soft-fp/fixsfti.c: Likewise.
9346 * soft-fp/fixtfti.c: Likewise.
9347 * soft-fp/fixunsdfti.c: Likewise.
9348 * soft-fp/fixunssfti.c: Likewise.
9349 * soft-fp/fixunstfti.c: Likewise.
9350 * soft-fp/floattidf.c: Likewise.
9351 * soft-fp/floattisf.c: Likewise.
9352 * soft-fp/floattitf.c: Likewise.
9353 * soft-fp/floatuntidf.c: Likewise.
9354 * soft-fp/floatuntisf.c: Likewise.
9355 * soft-fp/floatuntitf.c: Likewise.
9356 * soft-fp/trunctfxf2.c: Likewise.
9358 2013-10-10 David S. Miller <davem@davemloft.net>
9360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9362 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9364 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9365 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9366 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9367 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9368 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9369 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9370 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9373 for NaNs before doing comparisons on argument.
9374 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9377 2013-10-10 Will Newton <will.newton@linaro.org>
9379 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9380 passed to _int_memalign does not overflow.
9382 2013-10-10 Torvald Riegel <triegel@redhat.com>
9384 * scripts/bench.pl: Add include-sources directive.
9385 * benchtests/README: Update documentation.
9387 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9389 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9390 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9391 instead of FP_INIT_ROUNDMODE.
9392 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9393 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9396 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9397 copy class of input value.
9398 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9399 not handle exceptions.
9400 * soft-fp/negsf2.c (__negsf2): Likewise.
9401 * soft-fp/negtf2.c (__negtf2): Likewise.
9402 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9404 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9406 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9407 semicolon. From Linux kernel.
9409 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9411 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9413 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9416 * manual/socket.texi: Added statement about buffer
9417 for gethostbyname2_r.
9419 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9421 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9422 Use .p2align directive instead, throughout.
9423 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9424 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9425 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9428 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9429 * sysdeps/x86_64/strchr.S: Likewise.
9430 * sysdeps/x86_64/strrchr.S: Likewise.
9432 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9434 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9436 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9438 * sysdeps/generic/math_private.h (__mpsin1): Remove
9440 (__mpcos1): Likewise.
9441 (__mpsin): New argument __range_reduce.
9442 (__mpcos): Likewise.
9443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9444 (slow): Use __mpsin and __mpcos.
9451 (bsloww1): Likewise.
9452 (bsloww2): Likewise.
9455 (csloww1): Likewise.
9456 (csloww2): Likewise.
9457 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9458 range_reduce. Merge in __mpsin1.
9459 (__mpcos): Likewise.
9461 (__mpcos1): Likewise.
9463 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9465 * locale/loadlocale.c (_nl_intern_locale_data): Use
9467 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9468 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9469 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9470 obstack data is appropriately aligned.
9471 (obstack_int32_grow_fast): Likewise.
9472 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9473 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9474 (add_locale_uint32_array): Likewise.
9476 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9478 * benchtests/Makefile: Remove ARGLIST and RET variables.
9479 ($(objpfx)bench-%.c): Pass only function name to the script.
9480 * benchtests/README: Update documentation.
9481 * benchtests/acos-inputs: Add new directives.
9482 * benchtests/acosh-inputs: Likewise.
9483 * benchtests/asin-inputs: Likewise.
9484 * benchtests/asinh-inputs: Likewise.
9485 * benchtests/atan-inputs: Likewise.
9486 * benchtests/atanh-inputs: Likewise.
9487 * benchtests/cos-inputs: Likewise.
9488 * benchtests/cosh-inputs: Likewise.
9489 * benchtests/exp-inputs: Likewise.
9490 * benchtests/log-inputs: Likewise.
9491 * benchtests/pow-inputs: Likewise.
9492 * benchtests/rint-inputs: Likewise.
9493 * benchtests/sin-inputs: Likewise.
9494 * benchtests/sinh-inputs: Likewise.
9495 * benchtests/tan-inputs: Likewise.
9496 * benchtests/tanh-inputs: Likewise.
9497 * scripts/bench.pl: Add support for new directives.
9499 2013-10-07 Alan Modra <amodra@gmail.com>
9501 * README: Fix careless merge.
9503 2013-10-05 Alan Modra <amodra@gmail.com>
9505 * NEWS: Mention powerpc64le support and bugs fixed.
9506 * README: Both big-endian and little-endian powerpc64 supported.
9508 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9510 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9511 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9512 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9513 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9515 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9517 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9520 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9522 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9523 Move -mhard-float appending from
9524 ports/sysdeps/powerpc/powerpc32/Makefile.
9525 [$(with-fp) = yes] (ASFLAGS): Likewise.
9526 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9527 * sysdeps/powerpc/nofpu: Move directory from
9528 ports/sysdeps/powerpc/nofpu.
9529 * sysdeps/powerpc/soft-fp: Move directory from
9530 ports/sysdeps/powerpc/soft-fp.
9531 * sysdeps/powerpc/powerpc32/405: Move directory from
9532 ports/sysdeps/powerpc/powerpc32/405.
9533 * sysdeps/powerpc/powerpc32/440: Move directory from
9534 ports/sysdeps/powerpc/powerpc32/440.
9535 * sysdeps/powerpc/powerpc32/464: Move directory from
9536 ports/sysdeps/powerpc/powerpc32/464.
9537 * sysdeps/powerpc/powerpc32/476: Move directory from
9538 ports/sysdeps/powerpc/powerpc32/476.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9540 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9542 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9544 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9546 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9549 * README: Update for powerpc-*-linux-gnu software floating point
9552 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9553 case to powerpc/powerpc32*.
9554 * sysdeps/unix/sysv/linux/configure: Regenerated.
9556 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9557 (_FPU_MASK_OM): Define as 0x04.
9558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9566 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9569 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9572 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9573 and setcontext_e500.
9575 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9577 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9579 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9581 * manual/threads.texi (Default Thread Attributes): Fix typo.
9583 2013-10-04 Will Newton <will.newton@linaro.org>
9585 * malloc/Makefile: Add tst-memalign.
9586 * malloc/tst-memalign.c: New file.
9588 * malloc/tst-posix_memalign.c: Add comments.
9589 (do_test): Add comments and call free on all potentially
9590 allocated pointers. Add space after cast.
9592 * malloc/tst-pvalloc.c: Add comments.
9593 (do_test): Add comments and call free on all potentially
9594 allocated pointers. Remove duplicate check for NULL pointer.
9595 Add space after cast.
9597 * malloc/tst-valloc.c: Add comments.
9598 (do_test): Add comments and call free on all potentially
9599 allocated pointers. Remove duplicate check for NULL pointer.
9600 Add space after cast.
9602 2013-10-04 Alan Modra <amodra@gmail.com>
9604 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9605 Use stdint types in rather than __attribute__((mode())).
9606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9608 2013-10-04 Alan Modra <amodra@gmail.com>
9610 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9611 Correct handling of unaligned relocs for little-endian.
9612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9614 2013-10-04 Alan Modra <amodra@gmail.com>
9616 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9617 * configure: Regenerate.
9618 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9619 * shlib-versions: Likewise.
9621 2013-10-04 Alan Modra <amodra@gmail.com>
9623 * string/tester.c (test_memrchr): Increment reported test cycle.
9625 2013-10-04 Alan Modra <amodra@gmail.com>
9627 * string/test-memcpy.c (do_one_test): When reporting errors, print
9628 string address and don't overrun end of string.
9630 2013-10-04 Alan Modra <amodra@gmail.com>
9632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9633 insrdi. Make better use of reg selection to speed exit slightly.
9634 Schedule entry path a little better. Remove useless "are we done"
9635 checks on entry to main loop. Handle wrapping around zero address.
9636 Correct main loop count. Handle single left-over word from main
9637 loop inline rather than by using loop_small. Remove extra word
9638 case in loop_small caused by wrong loop count. Add little-endian
9640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9643 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9645 support. Avoid rlwimi.
9646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9648 2013-10-04 Alan Modra <amodra@gmail.com>
9650 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9652 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9659 2013-10-04 Alan Modra <amodra@gmail.com>
9661 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9663 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9664 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9665 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9667 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9668 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9670 use of regs. Use power7 mtocrf. Tidy function tails.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9675 Formatting. Consistently use rXXX register defines or rN defines.
9676 Use early exit labels that avoid restoring unused non-volatile regs.
9677 Make cr field use more consistent with rWORDn compares. Rename
9678 regs used as shift registers for unaligned loop, using rN defines
9679 for short lifetime/multiple use regs.
9680 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9681 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9682 addi 1,1,64 to pop stack frame. Simplify return value code.
9683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9685 2013-10-04 Alan Modra <amodra@gmail.com>
9687 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9688 support. Correct typos, formatting. Optimize tail. Use insrdi
9690 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9692 little-endian support. Correct typos.
9693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9695 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9696 in loop and entry code to keep "and." results.
9697 (strchr): Add little-endian support. Comment. Move cntlzd
9699 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9701 2013-10-04 Alan Modra <amodra@gmail.com>
9703 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9704 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9705 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9708 2013-10-04 Alan Modra <amodra@gmail.com>
9710 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9711 (rTMP): Define as r11.
9712 (strcmp): Add little-endian support. Optimise tail.
9713 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9714 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9715 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9716 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9717 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9721 2013-10-04 Alan Modra <amodra@gmail.com>
9723 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9724 little-endian support. Remove unnecessary "are we done" tests.
9725 Handle "s" wrapping around zero and extremely large "size".
9726 Correct main loop count. Handle single left-over word from main
9727 loop inline rather than by using small_loop. Correct comments.
9728 Delete "zero" tail, use "end_max" instead.
9729 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9731 2013-10-04 Alan Modra <amodra@gmail.com>
9733 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9734 support. Don't branch over align.
9735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9736 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9737 support. Rearrange tmp reg use to suit. Comment.
9738 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9740 2013-10-04 Alan Modra <amodra@gmail.com>
9742 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9744 2013-10-04 Alan Modra <amodra@gmail.com>
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9747 conditional form of branch and link when obtaining pc.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9750 2013-10-04 Alan Modra <amodra@gmail.com>
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9757 2013-10-04 Alan Modra <amodra@gmail.com>
9759 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9760 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9761 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9766 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9768 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9770 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9771 Alistair Popple <alistair@ozlabs.au.ibm.com>
9772 Alan Modra <amodra@gmail.com>
9775 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9776 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9777 _dl_hwcap access for little-endian.
9778 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9779 destroy vmx regs when saving unaligned.
9780 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9782 destroy vmx regs when saving unaligned.
9784 2013-10-04 Alan Modra <amodra@gmail.com>
9786 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9787 Don't use a union to pack hi/low value.
9789 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9791 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9793 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9799 2013-10-04 Alan Modra <amodra@gmail.com>
9801 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9802 constants to usual value for .cst8 section, and remove redundant
9804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9805 constant for 0x1p52. Load little-endian words of double from
9806 correct stack offsets.
9808 2013-10-04 Alan Modra <amodra@gmail.com>
9810 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9811 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9812 words of double from correct stack offsets.
9813 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9814 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9820 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9822 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9823 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9824 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9825 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9826 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9827 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9828 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9829 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9831 2013-10-04 Alan Modra <amodra@gmail.com>
9833 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9834 64-bit int/double union.
9835 (_FPU_SETCW): Likewise.
9836 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9837 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9839 2013-10-04 Alan Modra <amodra@gmail.com>
9841 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9842 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9844 2013-10-04 Alan Modra <amodra@gmail.com>
9846 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9847 use vector int constants.
9848 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9850 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9852 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9853 array with long long.
9854 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9855 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9856 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9857 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9858 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9859 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9860 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9861 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9862 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9863 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9864 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9865 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9866 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9868 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9870 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9871 (__signbit): Likewise. Correct for little-endian.
9872 (__signbitl): Call __signbit.
9873 (lrint): Correct for little-endian.
9874 (lrintf): Call lrint.
9876 2013-10-04 Alan Modra <amodra@gmail.com>
9878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9879 union 32-bit int array member with 64-bit int array.
9880 (t515, tm256): Double rather than long double.
9881 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9883 2013-10-04 Alan Modra <amodra@gmail.com>
9885 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9887 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9889 version of math_ldbl.h.
9891 2013-10-04 Alan Modra <amodra@gmail.com>
9893 [BZ #15734], [BZ #15735]
9894 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9895 all uses of ieee875 long double macros and unions. Simplify test
9896 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9897 ldbl_extract_mantissa value for ix,iy exponents. Properly
9898 normalize after ldbl_extract_mantissa, and don't add hidden bit
9899 already handled. Don't treat low word of ieee854 mantissa like
9900 low word of IBM long double and mask off bit when testing for
9902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9903 all uses of ieee875 long double macros and unions. Simplify tests
9904 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9905 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9906 two1022, instead use their values. Recognise that tests for large
9907 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9909 Rewrite all uses of ieee875 long double macros and unions. Simplify
9910 test for 0.0L and nan. Correct negation.
9911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9912 ieee875 long double macros and unions. Correct output for large
9913 magnitude x. Correct absolute value calculation.
9914 (__erfcl): Likewise.
9915 * math/libm-test.inc: Add tests for errors discovered in IBM long
9916 double versions of fmodl, remainderl, erfl and erfcl.
9918 2013-10-04 Alan Modra <amodra@gmail.com>
9920 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9921 all uses of ieee854 long double macros and unions. Simplify tests
9922 for long doubles that are fully specified by the high double.
9923 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9925 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9926 Remove dead code too.
9927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9928 (__ieee754_ynl): Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9932 Remove dead code too.
9933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9943 Comment on variable precision.
9944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9947 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9951 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9953 2013-10-04 Alan Modra <amodra@gmail.com>
9955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9957 all uses of ieee854 long double macros and unions.
9958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9965 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9971 Simplify sign and nan test too.
9972 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9987 2013-10-04 Alan Modra <amodra@gmail.com>
9989 * stdio-common/printf_size.c (__printf_size): Don't use
9990 union ieee854_long_double in fpnum union.
9991 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9992 signbit macro to retrieve sign from long double.
9993 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9994 retrieve sign from long double.
9995 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9996 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9998 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9999 * math/test-misc.c (main): Don't use union ieee854_long_double.
10001 2013-10-04 Alan Modra <amodra@gmail.com>
10004 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10005 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10006 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10007 calculation. Remove unnecessary test for denormal exponent.
10008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10009 Correct handling of denormals. Avoid undefined shift behaviour.
10010 Correct normalisation of low mantissa when low double is denormal.
10011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10012 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10013 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10014 Correct normalisation of low mantissa. Test for overflow of high
10015 mantissa and normalise.
10016 (ldbl_nearbyint): Use more readable constant for two52.
10017 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10018 (__mpn_construct_long_double): Fix test for overflow of high
10019 mantissa and correct normalisation. Avoid undefined shift.
10021 2013-10-04 Alan Modra <amodra@gmail.com>
10023 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10024 (union ibm_extended_long_double): Define as an array of ieee754_double.
10025 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10026 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10027 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10028 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10037 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10039 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10040 page size instead of calling getpagesize.
10042 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10043 (LOCFILE_ALIGN_MASK): Likewise.
10044 (LOCFILE_ALIGN_UP): Likewise.
10045 (LOCFILE_ALIGNED_P): Likewise.
10046 * locale/programs/ld-collate.c (collate_output): Use the new
10047 macros instead of __alignof__ (int32_t).
10048 * locale/weight.h (findidx): Likewise.
10050 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10053 * manual/string.texi: Fix strncat and wcsncat.
10055 2013-10-03 Brooks Moses <bmoses@google.com>
10058 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10059 * Makerules: ...here, and adjust associated comments.
10061 2013-10-02 Will Newton <will.newton@linaro.org>
10063 * malloc/Makefile: Add tst-pvalloc.
10064 * malloc/tst-pvalloc.c: New file.
10066 2013-10-02 Will Newton <will.newton@linaro.org>
10068 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10069 improve test coverage.
10071 2013-10-02 Will Newton <will.newton@linaro.org>
10073 * malloc/Makefile: Add tst-posix_memalign.
10074 * malloc/tst-posix_memalign.c: New file.
10076 2013-10-01 Eric Blake <eblake@redhat.com>
10078 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10079 Use __THROWNL rather than __THROW on static functions.
10081 2013-09-30 Petr Machata <pmachata@redhat.com>
10083 * elf/elf.h (R_AARCH64_ABS16): New macro.
10084 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10085 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10086 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10087 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10088 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10089 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10090 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10091 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10092 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10093 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10094 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10095 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10096 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10097 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10098 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10099 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10100 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10101 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10102 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10103 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10104 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10105 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10106 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10107 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10108 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10109 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10110 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10111 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10112 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10113 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10114 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10115 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10116 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10117 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10118 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10119 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10120 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10121 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10122 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10123 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10124 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10125 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10126 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10127 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10128 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10129 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10130 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10131 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10132 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10133 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10134 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10135 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10136 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10137 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10138 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10139 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10140 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10141 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10142 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10143 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10144 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10145 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10146 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10147 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10148 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10149 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10150 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10151 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10152 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10153 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10154 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10155 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10156 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10157 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10158 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10159 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10160 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10161 (R_AARCH64_TLSDESC_LDR): Likewise.
10162 (R_AARCH64_TLSDESC_ADD): Likewise.
10163 (R_AARCH64_TLSDESC_CALL): Likewise.
10165 2013-09-30 Andreas Schwab <schwab@suse.de>
10168 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10169 the nss database lookup.
10170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10173 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10175 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10177 2013-09-28 P. J. McDermott <pj@pehjota.net>
10179 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10180 ${Bash-specific parameter/pattern/string} parameter expansion.
10181 * sysdeps/unix/make-syscalls.sh: Likewise.
10183 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10185 * sysdeps/sh/stackguard-macros.h: New file.
10187 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10191 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10193 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10194 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10196 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10198 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10199 Fix thread ID register.
10201 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10203 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10204 [POSIX || UNIX98]: Require rather than permitting all symbols from
10206 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10207 element of struct sched_param.
10208 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10209 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10210 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10211 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10214 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10216 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10217 argument calculation.
10219 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10221 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10223 [POSIX] (pthread_attr_t): Do not require type.
10224 [POSIX] (pthread_cond_t): Likewise.
10225 [POSIX] (pthread_condattr_t): Likewise.
10226 [POSIX] (pthread_key_t): Likewise.
10227 [POSIX] (pthread_mutex_t): Likewise.
10228 [POSIX] (pthread_mutexattr_t): Likewise.
10229 [POSIX] (pthread_once_t): Likewise.
10230 [POSIX] (pthread_t): Likewise.
10231 [POSIX-based standards] (pthread_atfork): Expect function.
10233 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10234 Richard Sandiford <richard@codesourcery.com>
10236 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10237 (swap_endianness_p): New extern variable.
10238 (set_big_endian): New inline function.
10239 (maybe_swap_uint32): Likewise.
10240 (maybe_swap_uint32_array): Likewise.
10241 (maybe_swap_uint32_obstack): Likewise.
10242 * locale/programs/locfile.c: Include <stdbool.h>.
10243 (swap_endianness_p): New variable.
10244 (add_locale_uint32): Call maybe_swap_uint32.
10245 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10246 (write_locale_data): Call maybe_swap_uint32_array.
10247 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10249 (obstack_int32_grow_fast): Likewise.
10250 (output_weightwc): Call maybe_swap_uint32_obstack.
10251 (collate_output): Likewise.
10252 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10253 (OPT_LITTLE_ENDIAN): Likewise.
10254 (options): Add --little-endian and --big-endian options.
10255 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10256 * locale/programs/locarchive.c: Include "locfile.h".
10260 (create_archive): Use the new macros to access fields of
10261 structures directly mapped from or written to locale archives.
10262 (oldlocrecentcmp): Likewise.
10263 (enlarge_archive): Likewise.
10264 (insert_name): Likewise.
10265 (add_alias): Likewise.
10266 (add_locale): Likewise.
10267 (delete_locales_from_archive): Likewise.
10268 (show_archive_content): Likewise.
10269 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10272 2013-09-24 Roland McGrath <roland@hack.frob.com>
10274 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10275 http://www.gnu.org/doc/freemanuals.texi.
10276 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10278 2013-09-24 Will Newton <will.newton@linaro.org>
10280 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10283 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10285 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10288 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10290 * manual/threads.texi (POSIX Threads): Fix a typo.
10292 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10295 * string/tst-strcoll-overflow.c: New test case.
10296 * string/Makefile (xtests): Add tst-strcoll-overflow.
10297 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10298 cache if string sizes may cause integer overflow.
10301 * string/strcoll_l.c (coll_seq): New members rule, idx,
10302 save_idx and back_us.
10303 (get_next_seq_nocache): New function.
10304 (do_compare_nocache): New function.
10305 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10308 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10311 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10312 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10313 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10316 * elf/Makefile (tests): Add tst-ptrguard1.
10317 (tests-static): Add tst-ptrguard1-static.
10318 (tst-ptrguard1-ARGS): Define.
10319 (tst-ptrguard1-static-ARGS): Define.
10320 * elf/tst-ptrguard1.c: New file.
10321 * elf/tst-ptrguard1-static.c: New file.
10322 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10323 * sysdeps/i386/stackguard-macros.h: Likewise.
10324 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10325 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10326 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10327 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10328 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10329 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10331 2013-09-23 Hector Marco <hecmargi@upv.es>
10332 Ismael Ripoll <iripoll@disca.upv.es>
10333 Carlos O'Donell <carlos@redhat.com>
10336 * sysdeps/generic/stackguard-macros.h: Define
10337 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10338 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10339 Define __pointer_chk_guard_local.
10340 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10341 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10343 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10346 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10348 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10350 * include/string.h (__ffs): Declare as hidden.
10351 * string/ffs.c (__ffs): Define as hidden.
10352 * sysdeps/i386/ffs.c (__ffs): Likewise.
10353 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10354 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10355 * sysdeps/s390/ffs.c (__ffs): Likewise.
10356 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10358 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10360 * NEWS: Mention malloc probes.
10362 * malloc/arena.c (new_heap): New memory_heap_new probe.
10363 (grow_heap): New memory_heap_more probe.
10364 (shrink_heap): New memory_heap_less probe.
10365 (heap_trim): New memory_heap_free probe.
10366 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10367 (systrim): New memory_sbrk_less probe.
10368 * manual/probes.texi: Document them.
10370 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10371 * manual/probes.texi: Document it.
10373 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10374 (__libc_realloc): Add memory_realloc_retry probe.
10375 (__libc_memalign): Add memory_memalign_retry probe.
10376 (__libc_valloc): Add memory_valloc_retry probe.
10377 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10378 (__libc_calloc): Add memory_calloc_retry probe.
10379 * manual/probes.texi: Document them.
10381 * malloc/arena.c (get_free_list): Add probe
10382 memory_arena_reuse_free_list.
10383 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10384 and memory_arena_reuse.
10385 (arena_get2) [!PER_THREAD]: Likewise.
10386 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10387 memory_arena_reuse_realloc.
10388 * manual/probes.texi: Document them.
10390 * malloc/malloc.c (__libc_free): Add
10391 memory_mallopt_free_dyn_thresholds probe.
10392 (__libc_mallopt): Add multiple memory_mallopt probes.
10393 * manual/probes.texi: Document them.
10395 * malloc/malloc.c: Include stap-probe.h.
10396 (__libc_mallopt): Add memory_mallopt probe.
10397 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10398 * manual/probes.texi: New.
10399 * manual/Makefile (chapters): Add probes.
10400 * manual/threads.texi: Set next node.
10402 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10404 [BZ #15963, #13985]
10405 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10406 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10407 Add `Chinese' to `nan' entry name.
10409 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10411 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10412 (POLYNOMIAL): Likewise.
10413 (TAYLOR_SINCOS): Likewise.
10414 (TAYLOR_SLOW): Likewise.
10415 (__sin): Use TAYLOR_SINCOS.
10417 (slow): Use TAYLOR_SLOW.
10419 (bsloww): Likewise.
10420 (csloww): Likewise.
10422 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10424 * stdlib/strtod_l.c: Fix buffer overrun.
10426 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10428 * benchtests/Makefile (bench): Add sincos.
10429 * benchtests/bench-sincos.c: New file.
10431 * math/libm-test.inc (cos_test_data): New test inputs.
10432 (sin_test_data): Likewise.
10434 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10440 (sloww1): Likewise.
10441 (sloww2): Likewise.
10442 (bsloww1): Likewise.
10443 (bsloww2): Likewise.
10444 (cslow2): Likewise.
10445 (csloww1): Likewise.
10446 (csloww2): Likewise.
10448 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10457 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10459 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10460 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10461 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10462 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10463 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10464 * elf/cache.c (print_entry): Handle the new cache flags.
10466 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10467 Aldy Hernandez <aldyh@redhat.com>
10469 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10470 Change condition to [_SOFT_FLOAT].
10471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10483 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10486 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10489 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10491 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10492 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10493 (__longjmp): Use LOAD_GP to load saved GPRs.
10494 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10495 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10496 (__sigsetjmp): Use SAVE_GP to save GPRs.
10498 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10499 Do not append -msoft-float.
10500 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10502 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10504 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10506 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10509 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10510 (_FPU_GETCW): Use initial "__" on variable and field names but not
10511 on macro parameter name.
10512 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10513 parentheses around reference to macro parameter.
10515 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10517 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10519 (ctype_startup): Use uint32_t in cast and sizeof for
10522 2013-09-11 Jia Liu <proljc@gmail.com>
10524 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10526 [__FreeBSD__]: Likewise.
10528 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10530 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10531 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10532 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10533 (strchr): Remove __strchr_sse42 ifunc selection.
10534 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10535 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10537 2013-09-11 Will Newton <will.newton@linaro.org>
10539 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10540 parameter to RES. Remove hardcoded 1000 value.
10541 * benchtests/bench-skeleton.c (main): Pass RES parameter
10542 to TIMING_INIT and multiply result by 1000.
10544 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10548 2013-09-11 Andreas Schwab <schwab@suse.de>
10550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10552 (O_TMPFILE) [__USE_GNU]: Define.
10553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10556 2013-09-11 Will Newton <will.newton@linaro.org>
10559 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10562 2013-09-11 Will Newton <will.newton@linaro.org>
10565 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10568 2013-09-11 Will Newton <will.newton@linaro.org>
10571 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10574 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10576 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10582 2013-09-10 Allan McRae <allan@archlinux.org>
10585 * manual/arith.texi (Parsing of Floats): Clarify
10589 * manual/install.texi (Running make install): Mention
10591 * INSTALL: Regenerated.
10593 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10595 * csu/init-first.c (_init): Remove the !SHARED condition around
10596 FPU control word initialization.
10597 * elf/dl-support.c (_dl_fpu_control): New variable.
10598 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10599 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10600 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10601 * math/test-fpucw-static.c: New file.
10602 * math/test-fpucw-ieee.c: New file.
10603 * math/test-fpucw-ieee-static.c: New file.
10604 * math/Makefile (tests): Add `test-fpucw-ieee' and
10606 (tests-static): New variable.
10607 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10609 [($(build-shared),yes)]
10610 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10612 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10615 2013-09-09 Allan McRae <allan@archlinux.org>
10618 * manual/string.texi (Collation Functions): Fix typo in
10620 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10623 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10626 * libio/memstream.c (open_memstream): Fix memory leak.
10627 * libio/wmemstream.c (open_wmemstream): Likewise.
10630 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10632 2013-09-09 Will Newton <will.newton@linaro.org>
10634 * malloc/Makefile: Add tst-realloc to tests.
10635 * malloc/tst-realloc.c: New file.
10637 2013-09-09 Allan McRae <allan@archlinux.org>
10640 * COPYING: Update from GNU website to fix FSF address.
10641 * COPYING.LIB: Likewise.
10643 2013-09-06 David S. Miller <davem@davemloft.net>
10645 * po/zh_TW.po: Update Chinese (traditional) translation from
10646 translation project.
10648 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10649 Joseph Myers <joseph@codesourcery.com>
10651 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10653 (obstack_chunk_alloc): New macro.
10654 (obstack_chunk_free): Likewise.
10655 (record_offset): New function.
10656 (init_locale_data): Likewise.
10657 (align_locale_data): Likewise.
10658 (add_locale_empty): Likewise.
10659 (add_locale_raw_data): Likewise.
10660 (add_locale_raw_obstack): Likewise.
10661 (add_locale_string): Likewise.
10662 (add_locale_wstring): Likewise.
10663 (add_locale_uint32): Likewise.
10664 (add_locale_uint32_array): Likewise.
10665 (add_locale_char): Likewise.
10666 (start_locale_structure): Likewise.
10667 (end_locale_structure): Likewise.
10668 (start_locale_prelude): Likewise.
10669 (end_locale_prelude): Likewise.
10670 (write_locale_data): Take locale_file structure rather than an
10672 * locale/programs/locfile.h: Include "obstack.h".
10673 (struct locale_file): Change to store locale file contents instead
10675 (init_locale_data): New prototype.
10676 (align_locale_data): Likewise.
10677 (add_locale_empty): Likewise.
10678 (add_locale_raw_data): Likewise.
10679 (add_locale_raw_obstack): Likewise.
10680 (add_locale_string): Likewise.
10681 (add_locale_wstring): Likewise.
10682 (add_locale_uint32): Likewise.
10683 (add_locale_uint32_array): Likewise.
10684 (add_locale_char): Likewise.
10685 (start_locale_structure): Likewise.
10686 (end_locale_structure): Likewise.
10687 (start_locale_prelude): Likewise.
10688 (end_locale_prelude): Likewise.
10689 (write_locale_data): Update prototype.
10690 * locale/programs/3level.h (struct TABLE): Remove result field.
10691 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10692 Use new locale_file interface.
10693 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10694 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10695 * locale/programs/ld-address.c (address_output): Use new
10696 locale_file interface.
10697 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10699 (collate_finish): Don't call collseq_table_finalize.
10700 (collate_output): Use new locale_file interface.
10701 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10703 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10704 (TABLE): Move defines earlier in file.
10705 (ELEMENT): Likewise.
10706 (DEFAULT): Likewise.
10707 (wctrans_table_add): Move macro and inline function earlier in
10709 (struct wctype_table): Move type earlier in file.
10710 (add_locale_wctype_table): New static prototype.
10711 (struct locale_ctype_t): Use logical types instead of struct iovec
10712 pointers for members.
10713 (ctype_output): Use new locale_file interface.
10714 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10715 new locale_file interface.
10716 (allocate_arrays): Update for use of new locale_file interface.
10717 * locale/programs/ld-identification.c (identification_output): Use
10718 new locale_file interface.
10719 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10720 * locale/programs/ld-messages.c (messages_output): Likewise.
10721 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10722 * locale/programs/ld-name.c (name_output): Likewise.
10723 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10724 * locale/programs/ld-paper.c (paper_output): Likewise.
10725 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10726 * locale/programs/ld-time.c (time_output): Likewise.
10728 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10730 * benchtests/Makefile: Add memrchr benchmark.
10731 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10732 benchmark as memrchr.
10733 * benchtests/bench-memrchr-ifunc.c: New file.
10734 * benchtests/bench-memrchr.c: New file.
10736 2013-09-06 Will Newton <will.newton@linaro.org>
10738 * benchtests/Makefile (string-bench): Add memcpy.
10740 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10741 Cong Wang <amwang@redhat.com>
10744 * sysdeps/unix/sysv/linux/bits/in.h
10745 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10746 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10747 before __USE_KERNEL_IPV6_DEFS uses.
10748 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10750 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10751 sockaddr_in6, or ipv6_mreq.
10753 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10755 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10756 memory access for final bytes in some large inputs.
10757 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10759 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761 * string/test-memrchr.c: New file.
10762 * string/test-memrchr-ifunc.c: New file.
10763 * string/Makefile: Add new memrchr testcase.
10765 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10767 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10768 fanotify_init returns EPERM.
10770 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10772 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10774 (top level): Treat second token from macro or constant entries for
10775 allowed headers as allowed.
10776 * include/complex.h: Condition internal declarations on
10778 * include/fenv.h: Condition include of <stdbool.h> and internal
10779 declarations on [!_ISOMAC].
10781 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10784 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10786 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10788 * configure.in (--enable-versioning): Remove configure option.
10789 (libc_cv_asm_symver_directive): Remove configure test.
10790 (libc_cv_ld_version_script_option): Likewise.
10791 (VERSIONING): Remove variable and AC_SUBST.
10792 (DO_VERSIONING): Remove AC_DEFINE.
10793 * configure: Regenerated.
10794 * config.h.in (DO_VERSIONING): Remove macro.
10795 * Makerules [$(versioning) = yes]: Change conditionals to
10796 [$(build-shared) = yes].
10797 * config.make.in (versioning): Remove variable.
10798 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10799 [$(build-shared) = yes].
10800 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10801 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10802 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10803 [$(build-shared) = yes].
10804 * extra-lib.mk [$(versioning) = yes]: Likewise.
10805 * hurd/Makefile [$(versioning) = yes]: Likewise.
10806 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10808 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10810 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10811 [SHARED && !NO_HIDDEN].
10812 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10814 [SHARED && DO_VERSIONING]: Likewise..
10815 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10816 [$(build-shared) = yes].
10817 * manual/install.texi (--disable-versioning): Remove
10819 * INSTALL: Regenerated.
10820 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10822 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10823 [$(build-shared) = yes].
10824 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10825 * sysdeps/i386/i686/multiarch/strstr-c.c
10826 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10827 [SHARED && !NO_HIDDEN].
10828 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10829 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10830 * sysdeps/powerpc/powerpc32/dl-machine.c
10831 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10832 * sysdeps/powerpc/powerpc32/sysdep.h
10833 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10834 to [SHARED && PIC && !NO_HIDDEN].
10835 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10836 conditional to [SHARED].
10838 2013-09-04 Will Newton <will.newton@linaro.org>
10840 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10841 * benchtests/bench-string.h: Include bench-timing.h instead
10842 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10843 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10844 call to HP_TIMING_DIFF_INIT.
10845 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10846 instead of hp-timing.h macros.
10847 * benchtests/bench-memchr.c: Likewise.
10848 * benchtests/bench-memcmp.c: Likewise.
10849 * benchtests/bench-memcpy.c: Likewise.
10850 * benchtests/bench-memmem.c: Likewise.
10851 * benchtests/bench-memmove.c: Likewise.
10852 * benchtests/bench-memset.c: Likewise.
10853 * benchtests/bench-rawmemchr.c: Likewise.
10854 * benchtests/bench-strcasecmp.c: Likewise.
10855 * benchtests/bench-strcasestr.c: Likewise.
10856 * benchtests/bench-strcat.c: Likewise.
10857 * benchtests/bench-strchr.c: Likewise.
10858 * benchtests/bench-strcmp.c: Likewise.
10859 * benchtests/bench-strcpy.c: Likewise.
10860 * benchtests/bench-strcpy_chk.c: Likewise.
10861 * benchtests/bench-strlen.c: Likewise.
10862 * benchtests/bench-strncasecmp.c: Likewise.
10863 * benchtests/bench-strncat.c: Likewise.
10864 * benchtests/bench-strncmp.c: Likewise.
10865 * benchtests/bench-strncpy.c: Likewise.
10866 * benchtests/bench-strnlen.c: Likewise.
10867 * benchtests/bench-strpbrk.c: Likewise.
10868 * benchtests/bench-strrchr.c: Likewise.
10869 * benchtests/bench-strspn.c: Likewise.
10870 * benchtests/bench-strstr.c: Likewise.
10872 2013-09-04 Will Newton <will.newton@linaro.org>
10874 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10876 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10880 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10881 * math/libm-test.inc (lgamma_test_data): Add more tests.
10882 * sysdeps/i386/fpu/libm-test-ulps: Update.
10883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10887 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10891 Add strcmp-sse2-unaligned
10892 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10894 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10896 * Versions.def (libc): Add GLIBC_2.19.
10898 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10900 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10901 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10903 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10906 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10907 intermediate calculations in recurrence.
10908 (__ieee754_ynf): Likewise.
10909 * math/libm-test.inc (jn_test_data): Do not allow spurious
10910 underflow exception. Add more tests.
10911 (yn_test_data): Add more tests.
10912 * sysdeps/i386/fpu/libm-test-ulps: Update.
10913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10915 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10919 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10921 * csu/init-first.c: Fix then/than typos.
10922 * locale/programs/ld-collate.c: Likewise.
10923 * locale/programs/linereader.h: Likewise.
10924 * manual/charset.texi: Likewise.
10925 * manual/filesys.texi: Likewise.
10926 * manual/stdio.texi: Likewise.
10927 * manual/string.texi: Likewise.
10928 * stdlib/fmtmsg.c: Likewise.
10929 * sysdeps/i386/stpncpy.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10931 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10933 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10935 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10937 * elf/dl-open.c: Fix typos.
10938 * iconvdata/gbbig5.c: Likewise.
10939 * iconvdata/iso-2022-jp.c: Likewise.
10940 * iconv/gconv_int.h: Likewise.
10941 * iconv/loop.c: Likewise.
10942 * nis/rpcsvc/nis.h: Likewise.
10943 * resolv/ns_name.c: Likewise.
10944 * stdio-common/vfscanf.c: Likewise.
10945 * streams/stropts.h: Likewise.
10946 * sunrpc/rpc_thread.c: Likewise.
10947 * sysdeps/i386/strpbrk.S: Likewise.
10948 * sysdeps/ieee754/k_standard.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10951 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10952 * sysdeps/mach/hurd/profil.c: Likewise.
10953 * sysdeps/s390/dl-procinfo.h: Likewise.
10954 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10957 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10960 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10962 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10965 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10967 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10968 aix specific files.
10969 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10972 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10973 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10974 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10975 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10976 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10978 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10979 Roland McGrath <roland@hack.frob.com>
10981 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10982 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10984 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10986 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10987 __executable_start symbol instead of _start.
10989 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10991 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10992 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10994 * sysdeps/gnu/ldsodefs.h: ... this new file.
10996 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10997 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10998 instead of ELFOSABI_LINUX.
11000 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11001 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11002 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11003 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11005 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11006 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11009 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11010 (ibm_extended_long_double): Add ieee_nan member.
11011 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11012 (do_test): New function.
11014 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11016 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11017 functions, renamed from truncdfsf_test, trunctfsf_test,
11019 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11021 (do_test): Run all these.
11023 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11025 * argp/argp-help.c: Fix typos.
11026 * argp/argp-parse.c: Likewise.
11027 * debug/backtracesyms.c: Likewise.
11028 * elf/elf.h: Likewise.
11029 * malloc/malloc.c: Likewise.
11030 * nis/nis_print.c: Likewise.
11031 * resolv/res_comp.c: Likewise.
11032 * stdlib/stdlib.h: Likewise.
11033 * sunrpc/clnt_tcp.c: Likewise.
11034 * sunrpc/clnt_udp.c: Likewise.
11035 * sunrpc/clnt_unix.c: Likewise.
11036 * sysdeps/unix/bsd/ptsname.c: Likewise.
11037 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11045 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11047 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11049 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11052 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11055 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11056 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11057 ($(objpfx)bug-dl-leaf): New rule.
11058 ($(objpfx)bug-dl-leaf.so): Likewise.
11059 ($(objpfx)bug-dl-leaf.out): Likewise.
11060 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11061 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11062 * dlfcn/bug-dl-leaf.c: New test.
11063 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11064 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11065 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11066 (dlclose): Likewise.
11067 (dlmopen): Likewise.
11069 2013-08-27 Roland McGrath <roland@hack.frob.com>
11071 * include/netdb.h [!_ISOMAC]:
11072 Don't include <tls.h>.
11073 (h_errno, __libc_h_errno): Move declaration and macros out of
11076 * include/resolv.h [_RESOLV_H_]:
11077 Don't include <tls.h>.
11078 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11079 * resolv/res_libc.c: Don't include <tls.h>.
11080 (_res): Use __attribute__ ((nocommon)) in place of
11081 __attribute__ ((section (".bss"))).
11083 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11084 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11086 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11088 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11089 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11091 * resolv/res_mkquery.c: Include <sys/time.h>.
11093 * inet/ifreq.c: Moved to ...
11094 * sysdeps/unix/ifreq.c: ... here.
11095 * inet/ifreq.c: New file, true stub version.
11097 * socket/sa_len.c: New file.
11098 * socket/Makefile (aux): Add it.
11099 * sysdeps/unix/sysv/linux/Makefile
11100 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11101 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11102 and #include <socket/sa_len.c>.
11103 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11104 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11106 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11107 * bits/socket.h: ... here.
11109 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11110 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11111 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11113 2013-08-27 Andreas Schwab <schwab@suse.de>
11116 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11117 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11118 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11119 * string/test-strcasecmp.c (test_main): Run tests in several
11121 * string/test-strncasecmp.c (test_main): Likewise.
11123 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11124 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11125 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11127 (__strncasecmp_ssse3) [PIC]: Likewise.
11129 2013-08-26 Roland McGrath <roland@hack.frob.com>
11131 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11133 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11134 instead of explicitly declaring xdecrypt.
11135 * nis/nss_nis/nis-publickey.c: Likewise.
11137 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11140 * nscd/aicache.c: Include res_hconf.h.
11141 (addhstaiX): Initialize res_hconf.
11143 2013-08-26 Andreas Schwab <schwab@suse.de>
11145 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11146 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11148 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11150 * nscd/aicache.c (addhstaiX): Fix indentation.
11152 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11154 * configure.ac: Quote $build_pt_chown test.
11155 * configure: Regenerated.
11157 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11160 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11161 * math/s_cexpf.c (__cexpf): Likewise.
11162 * math/s_cexpl.c (__cexpl): Likewise.
11163 * math/libm-test.inc (cexp_test_data): Correct expected return
11164 value for NaN + i0. Add another test.
11166 2013-08-22 David S. Miller <davem@davemloft.net>
11168 * po/ca.po: Update Catalan translation from translation project.
11169 * po/uk.po: Add Ukrainian translations from translation project.
11171 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11174 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11175 is infinite, not alongside NaN test.
11176 * math/s_fdimf.c (__fdimf): Likewise.
11177 * math/s_fdiml.c (__fdiml): Likewise.
11178 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11179 errno is unchanged.
11181 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11183 * argp/argp-help.c: Fix typos.
11184 * crypt/speeds.c: Likewise.
11185 * csu/check_fds.c: Likewise.
11186 * elf/dl-load.c: Likewise.
11187 * elf/dl-open.c: Likewise.
11188 * elf/reldep3.c: Likewise.
11189 * elf/reldep.c: Likewise.
11190 * elf/sprof.c: Likewise.
11191 * iconv/iconv_charmap.c: Likewise.
11192 * iconv/skeleton.c: Likewise.
11193 * iconv/strtab.c: Likewise.
11194 * io/lockf64.c: Likewise.
11195 * libio/libioP.h: Likewise.
11196 * resolv/gai_notify.c: Likewise.
11197 * resolv/ns_name.c: Likewise.
11198 * resolv/ns_samedomain.c: Likewise.
11199 * resolv/res_send.c: Likewise.
11200 * stdlib/random.c: Likewise.
11201 * sunrpc/rpc/xdr.h: Likewise.
11202 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11203 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11204 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11205 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11210 * sysdeps/mach/hurd/check_fds.c: Likewise.
11211 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11212 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11215 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11216 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11217 * sysdeps/pthread/aio_notify.c: Likewise.
11218 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11219 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11220 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11222 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11224 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11226 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11227 version if bit_Slow_SSE4_2 is set.
11228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11231 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11234 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11235 trampoline stack frame information.
11236 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11237 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11238 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11239 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11240 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11241 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11242 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11243 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11245 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11246 interrupting a syscall and set with option SA_SIGINFO.
11248 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11251 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11252 argument is infinite.
11253 * math/s_cprojf.c (__cprojf): Likewise.
11254 * math/s_cprojl.c (__cprojl): Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11256 * math/libm-test.inc (cproj_test_data): Add more tests.
11258 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11261 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11262 size. Use __ffs to determine corresponding shift.
11264 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11265 Roland McGrath <roland@hack.frob.com>
11267 * Makefile (INSTALL): Remove trailing blank lines from output of
11270 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11272 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11273 Align 32 bit compat elf_greg to 8 bytes.
11275 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11277 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11279 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11281 * string/strcoll_l.c (coll_seq): New structure.
11282 (get_next_seq_cached): New function.
11283 (get_next_seq): New function.
11284 (do_compare): New function.
11285 (STRCOLL): Use GNU style definition. Simplify implementation
11286 by using get_next_seq, get_next_seq_cached and do_compare.
11288 2013-08-16 Florian Weimer <fweimer@redhat.com>
11292 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11294 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11296 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11297 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11298 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11300 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11301 GETDENTS_64BIT_ALIGNED.
11302 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11303 * manual/filesys.texi (Reading/Closing Directory): Document
11304 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11306 * manual/conf.texi (Limits for Files): Add portability note to
11307 NAME_MAX, PATH_MAX.
11308 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11310 2013-08-13 Andreas Schwab <schwab@suse.de>
11313 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11315 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11316 LDBL_MAX_EXP >= 16384]: Add tests for it.
11318 2013-08-12 David S. Miller <davem@davemloft.net>
11320 * version.h (RELEASE): Set to "development".
11321 (VERSION): Set to "2.18.90".
11322 * NEWS: Add 2.19 section.
11324 2013-08-03 David S. Miller <davem@davemloft.net>
11326 * po/ko.po: Update Korean translation from translation project.
11328 2013-08-01 David S. Miller <davem@davemloft.net>
11330 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11331 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11334 2013-07-30 David S. Miller <davem@davemloft.net>
11336 * po/fr.po: Update French translation from translation project.
11338 2013-07-28 David S. Miller <davem@davemloft.net>
11340 * po/cs.po: Update Czech translation from translation project.
11342 * po/sv.po: Update Swedish translation from translation project.
11344 2013-07-27 David S. Miller <davem@davemloft.net>
11346 * po/eo.po: Update Esperanto translation from translation project.
11348 * po/vi.po: Update Vietnamese translation from translation project.
11350 * po/de.po: Update German translation from translation project.
11352 2013-07-26 David S. Miller <davem@davemloft.net>
11354 * po/bg.po: Update Bulgarian translation from translation project.
11356 * po/nl.po: Update Dutch translation from translation project.
11357 * po/pl.po: Update Polish translation from translation project.
11358 * po/ru.po: Update Russian translation from translation project.
11360 2013-07-24 David S. Miller <davem@davemloft.net>
11362 * po/libc.pot: Update.
11364 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11366 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11367 variable page size.
11368 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11369 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11370 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11372 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11374 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11376 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11377 Andreas Schwab <schwab@suse.de>
11378 Roland McGrath <roland@hack.frob.com>
11379 Joseph Myers <joseph@codesourcery.com>
11380 Carlos O'Donell <carlos@redhat.com>
11383 * config.h.in: Define HAVE_PT_CHOWN.
11384 * config.make.in (build-pt-chown): New variable.
11385 * configure.in (--enable-pt_chown): New configure option.
11386 * configure: Regenerate.
11387 * login/Makefile: Include Makeconfig. Build pt_chown only if
11388 build-pt-chown is enabled.
11389 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11390 pt_chown to fix pty ownership.
11391 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11393 * manual/install.texi (Configuring and compiling): Mention
11394 --enable-pt_chown. Add @findex for grantpt.
11395 * INSTALL: Regenerate.
11397 2013-07-20 David S. Miller <davem@davemloft.net>
11399 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11400 difference between 32-bit and 64-bit.
11402 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11405 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11406 Avoid system header dependency with -ffreestanding.
11407 ($(objpfx)bits/syscall%d): Likewise.
11409 2013-07-13 David S. Miller <davem@davemloft.net>
11411 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11412 underflows from atanl/atan2l due to bug 15319.
11413 (casinh_test_data): Likewise.
11415 2013-07-07 David S. Miller <davem@davemloft.net>
11417 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11419 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11421 * sysdeps/i386/fpu/libm-test-ulps: Update.
11422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11424 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11426 * configure.in (--enable-lock-elision): Fix message text.
11427 * INSTALL: Regenerate.
11428 * configure: Regenerate.
11430 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11434 2013-07-03 Andreas Jaeger <aj@suse.de>
11436 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11438 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11439 (ptrace_peeksiginfo_args): Add.
11440 (__ptrace_peeksiginfo_flags): Add.
11441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11445 2013-07-03 Allan McRae <allan@archlinux.org>
11447 * sysdeps/i386/fpu/libm-test-ulps: Update.
11449 2013-07-02 David S. Miller <davem@davemloft.net>
11451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11453 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11457 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11459 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11462 2013-07-02 Andi Kleen <ak@linux.intel.com>
11464 * config.h.in (ENABLE_LOCK_ELISION): Add.
11465 * configure.in (--enable-lock-elision): Add option.
11466 * manual/install.texi: Document --enable lock elision.
11467 * configure: Regenerate
11468 * INSTALL: Regenerate.
11470 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11472 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11473 SSE4.2 strcasecmp for libc.a.
11474 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11476 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11479 * soft-fp/op-common.h (_FP_FMA): New macro.
11480 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11481 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11482 (_FP_MUL_MEAT_1_imm): ... here.
11483 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11484 (_FP_MUL_MEAT_1_wide): ... here.
11485 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11486 (_FP_MUL_MEAT_1_hard): ... here.
11487 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11488 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11489 (_FP_MUL_MEAT_2_wide): ... here.
11490 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11491 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11492 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11493 (_FP_MUL_MEAT_2_gmp): ... here.
11494 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11495 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11496 (_FP_MUL_MEAT_4_wide): ... here.
11497 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11498 (_FP_MUL_MEAT_4_gmp): ... here.
11499 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11500 (_FP_WFRACBITS_DW_S): Likewise.
11501 (_FP_WFRACXBITS_DW_S): Likewise.
11502 (_FP_HIGHBIT_DW_S): Likewise.
11503 (FP_FMA_S): Likewise.
11504 (_FP_FRAC_HIGH_DW_S): Likewise.
11505 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11506 (_FP_WFRACBITS_DW_D): Likewise.
11507 (_FP_WFRACXBITS_DW_D): Likewise.
11508 (_FP_HIGHBIT_DW_D): Likewise.
11509 (FP_FMA_D): Likewise.
11510 (_FP_FRAC_HIGH_DW_D): Likewise.
11511 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11512 (_FP_WFRACBITS_DW_E): Likewise.
11513 (_FP_WFRACXBITS_DW_E): Likewise.
11514 (_FP_HIGHBIT_DW_E): Likewise.
11515 (FP_FMA_E): Likewise.
11516 (_FP_FRAC_HIGH_DW_E): Likewise.
11517 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11518 (_FP_WFRACBITS_DW_Q): Likewise.
11519 (_FP_WFRACXBITS_DW_Q): Likewise.
11520 (_FP_HIGHBIT_DW_Q): Likewise.
11521 (FP_FMA_Q): Likewise.
11522 (_FP_FRAC_HIGH_DW_Q): Likewise.
11523 * soft-fp/fmasf4.c: New file.
11524 * soft-fp/fmadf4.c: Likewise.
11525 * soft-fp/fmatf4.c: Likewise.
11527 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11530 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11534 (index_Slow_SSE4_2): Likewise.
11535 (index_Prefer_PMINUB_for_stringop): Likewise.
11536 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11537 bit_Slow_SSE4_2 is set.
11538 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11539 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11541 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11543 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11544 rtld_global._dl_hwcap2.
11545 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11547 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11548 POWER8 feature descriptions defined in _dl_hwcap2.
11549 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11550 string handling for POWER8 feature bits.
11551 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11552 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11553 _dl_powerpc_cap_flags.
11554 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11555 * sysdeps/powerpc/rtld-global-offsets.sym
11556 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11557 _dl_hwcap2 in the rtld_global_ro structure.
11559 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11561 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11562 hardware capabilities in support of AT_HWCAP2.
11563 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11564 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11566 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11567 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11568 explicitly the unknown a_type display mechanism is used.
11569 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11570 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11572 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11573 to macro prototype for AT_HWCAP2 support.
11574 * sysdeps/i386/dl-procinfo.h: Likewise.
11575 * sysdeps/s390/dl-procinfo.h: Likewise.
11576 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11577 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11578 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11579 return -1 for unknown a_type display fallback.
11580 * sysdeps/sparc/dl-procinfo.h: Likewise.
11581 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11582 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11584 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11587 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11589 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11592 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11593 mprotect making __stack_prot writable.
11595 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11596 Joseph Myers <joseph@codesourcery.com>
11598 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11599 as being properly aligned.
11601 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11603 * dlfcn/modstatic5.c: New file.
11604 * dlfcn/tststatic5.c: New file.
11605 * dlfcn/Makefile (tests): Add tststatic5.
11606 (tests-static): Likewise.
11607 (modules-names): Add modstatic5.
11608 (tststatic5-ENV): New variable.
11609 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11612 * elf/dl-support.c (_dl_main_map): New variable.
11613 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11614 (_dl_nns, _dl_load_adds): Set to 1.
11615 (_dl_initial_searchlist): Refer to _dl_main_map.
11616 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11617 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11618 call to _dl_get_origin.
11619 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11621 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11622 * dlfcn/modstatic3.c: New file.
11623 * dlfcn/tststatic3.c: New file.
11624 * dlfcn/tststatic4.c: New file.
11625 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11626 (tests-static): Likewise.
11627 (modules-names): Add modstatic3.
11628 (tststatic3-ENV, tststatic4-ENV): New variables.
11629 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11630 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11632 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11634 * configure.in (CC): Require GCC version 4.4 or later.
11635 * configure: Regenerated.
11636 * manual/install.texi (Tools for Compilation): Update GCC version
11638 * INSTALL: Regenerated.
11640 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11643 * string/test-memcmp.c (check2): New.
11644 (main): Call check2.
11646 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11648 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11651 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11653 (dl_open_worker) [!SHARED]: ... here.
11655 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11657 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11659 2013-06-25 Richard Henderson <rth@redhat.com>
11661 * locale/programs/locarchive.c: Include <libc-internal.h>
11663 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11665 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11666 trailing whitespace removed.
11668 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11671 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11672 * locale/programs/locarchive.c: Include libc-mmap.h.
11673 (prepare_address_space): Take two new outputs (the mmap base and len).
11674 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11676 (create_archive): Declare new mmap base and len values for
11677 prepare_address_space, and store the result in ah.
11678 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11679 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11680 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11681 Declare new mmap base and len values for
11682 prepare_address_space, and store the result in new_ah.
11683 (open_archive): Declare new mmap base and len values for
11684 prepare_address_space, and store the result in ah.
11685 (close_archive): If ah->mmap_base is not NULL, use that and
11686 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11687 * sysdeps/generic/libc-mmap.h: New file.
11689 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11691 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11692 (ALIGN_UP): Likewise.
11693 (PTR_ALIGN_DOWN): Likewise.
11694 (PTR_ALIGN_UP): Likewise.
11696 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11698 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11699 entry mapped to PPC_PLATFORM_POWER8.
11700 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11702 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11703 (_dl_string_platform): Add case for exporting platform position for
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11706 search path to sysdeps/powerpc/powerpc32/power8 directory.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11708 search path to sysdeps/powerpc/powerpc64/power8 directory.
11709 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11710 power7 directories.
11711 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11712 power7 directories.
11714 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * INSTALL: Regenerate.
11718 * nscd/connections.c (nscd_init): Fix comment.
11720 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11722 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11725 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11726 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11728 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11730 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11732 (DL_DST_REQ_STATIC): Remove macro.
11734 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11737 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11738 with a shift of 0 bits.
11740 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11742 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11745 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11748 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11750 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11752 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11753 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11754 accepts -fno-tree-loop-distribute-patterns.
11755 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11756 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11758 * string/memset.c (memset): Likewise.
11759 * string/test-memmove.c (simple_memmove): Disable loop transformation
11761 * string/test-memset.c (simple_memset): Likewise.
11762 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11763 * benchtests/bench-memset.c (simple_memset): Likewise.
11764 * configure: Regenerated.
11766 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11768 * math/test-misc.c (main): Ignore fesetround failure when failures
11769 of subsequent rounding tests would be ignored.
11772 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11773 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11774 * math/fegetenv.c (__fegetenv): Return 0.
11775 * math/fegetexcept.c (fegetexcept): Return 0.
11776 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11778 * math/feholdexcpt.c (feholdexcept): Return 0.
11779 * math/fesetenv.c (__fesetenv): Return 0.
11780 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11781 argument FE_TONEAREST.
11782 * math/feupdateenv.c (__feupdateenv): Return 0.
11783 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11785 2013-06-18 Roland McGrath <roland@hack.frob.com>
11787 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11788 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11789 ($(objpfx)rtld-%.os rules): Use them.
11791 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11796 2013-06-17 Roland McGrath <roland@hack.frob.com>
11798 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11799 length of target pattern, then descending length of dependency pattern.
11800 * configure.in (AWK): Require gawk 3.1.2 or newer.
11801 * manual/install.texi (Tools for Compilation): Say that we do.
11802 * configure: Regenerated.
11804 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11805 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11806 * scripts/sysd-rules.awk: ... this new script.
11807 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11808 than a glob-style pattern.
11810 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11812 * math/test-misc.c (main): Do not treat incorrectly rounded
11813 conversions as failure unless ROUNDING_TESTS passes.
11815 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11818 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11819 restore exception state around main square root computation, then
11820 check for inexactness explicitly.
11822 * math/libm-test.inc (fma_test_data): Add another test.
11824 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11826 * manual/threads.texi (Non-POSIX Extensions): New document
11827 node. Document pthread_getattr_default_np and
11828 pthread_setattr_default_np.
11830 * Versions.def (libpthread): Add GLIBC_2.18.
11831 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11851 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11854 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11856 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11857 H.J. Lu <hjl.tools@gmail.com>
11860 * sysdeps/x86_64/rtld-memset.c: Remove file.
11861 * sysdeps/x86_64/rtld-memset.S: New file.
11863 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11865 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11866 (test_in_one_mode): Take arguments for whether the rounding mode
11867 is supported for each floating-point type.
11868 (do_test): Pass new arguments to test_in_one_mode using
11871 2013-06-13 Roland McGrath <roland@hack.frob.com>
11873 * posix/tst-waitid.c (do_test): Distinguish different instances of
11874 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11875 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11876 before entering the kernel for waitpid.
11878 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11880 * NEWS: Fix note on clock function precision. Text by Roland
11883 2013-06-13 Roland McGrath <roland@hack.frob.com>
11885 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11886 it into place only when and if the sanity check passes.
11888 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11890 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11891 output for whether conversion result is exact. Take argument
11892 indicating whether type is IBM long double.
11893 (round_for_all): Change need_exact field to ibm_ld.
11894 * stdlib/tst-strtod-round.c (struct exactness): New type.
11895 (struct test): Change bool ld_ok field to struct exactness exact.
11896 (TEST): Update all definitions for change to field.
11897 (tests): Regenerate array contents.
11898 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11899 field value. Check for IBM long double here.
11900 (do_test): Update calls to test_in_one_mode.
11902 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11905 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11906 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11908 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11911 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11912 generated by the compiler on loop optimizations.
11913 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11914 general definitions.
11916 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11918 * math/bug-nextafter.c: Include <math-tests.h>.
11919 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11921 * math/bug-nexttoward.c: Include <math-tests.h>.
11922 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11924 * math/test-misc.c: Include <math-tests.h>.
11925 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11928 2013-06-12 Andreas Jaeger <aj@suse.de>
11930 * po/ia.po: Update Interlingua translation from translation
11933 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11935 * include/fenv.h: Include stdbool.h.
11936 (struct rm_ctx): New structure.
11937 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11939 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11940 (SET_RESTORE_ROUNDF): Likewise.
11941 (SET_RESTORE_ROUNDL): Likewise.
11942 (SET_RESTORE_ROUND_NOEX): Likewise.
11943 (SET_RESTORE_ROUND_NOEXF): Likewise.
11944 (SET_RESTORE_ROUND_NOEXL): Likewise.
11945 (SET_RESTORE_ROUND_53BIT): Likewise.
11946 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11947 (libc_feresetround_noexf_ctx): Likewise.
11948 (libc_feresetround_noexl_ctx): Likewise.
11949 (libc_feholdsetround_53bit_ctx): Likewise.
11950 (libc_feresetround_53bit_ctx): Likewise.
11951 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11952 (libc_feholdexcept_setround_sse_ctx): New function.
11953 (libc_fesetenv_sse_ctx): Likewise.
11954 (libc_feupdateenv_sse_ctx): Likewise.
11955 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11956 (libc_feholdexcept_setround_387_ctx): Likewise.
11957 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11958 (libc_feholdsetround_387_prec_ctx): Likewise.
11959 (libc_feholdsetround_387_ctx): Likewise.
11960 (libc_feholdsetround_387_53bit_ctx): Likewise.
11961 (libc_feholdsetround_sse_ctx): Likewise.
11962 (libc_feresetround_sse_ctx): Likewise.
11963 (libc_feresetround_387_ctx): Likewise.
11964 (libc_feupdateenv_387_ctx): Likewise.
11965 (libc_feholdexcept_setroundf_ctx): Define macro.
11966 (libc_fesetenvf_ctx): Likewise.
11967 (libc_feupdateenvf_ctx): Likewise.
11968 (libc_feholdsetroundf_ctx): Likewise.
11969 (libc_feresetroundf_ctx): Likewise.
11970 (libc_feholdexcept_setround_ctx): Likewise.
11971 (libc_fesetenv_ctx): Likewise.
11972 (libc_feupdateenv_ctx): Likewise.
11973 (libc_feholdsetround_ctx): Likewise.
11974 (libc_feresetround_ctx): Likewise.
11975 (libc_feholdexcept_setroundl_ctx): Likewise.
11976 (libc_feupdateenvl_ctx): Likewise.
11977 (libc_feholdsetroundl_ctx): Likewise.
11978 (libc_feresetroundl_ctx): Likewise.
11979 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11980 (libc_feresetround_53bit_ctx): Likewise.
11982 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11984 * locale/iso-639.def: Convert to UTF-8.
11986 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11988 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11989 (EXCEPTION_TESTS_double): Likewise.
11990 (EXCEPTION_TESTS_long_double): Likewise.
11991 (EXCEPTION_TESTS): Likewise.
11992 * math/libm-test.inc (test_exceptions): Only test exceptions if
11993 EXCEPTION_TESTS (FLOAT).
11995 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11997 * benchtests/Makefile (string-bench): Add strcpy_chk and
11999 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12000 * benchtests/bench-stpcpy_chk.c: New file.
12001 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12002 * benchtests/bench-strcpy_chk.c: New file.
12003 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12005 (do_test): Likewise.
12007 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12010 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12011 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12012 with tabs where appropriate.
12013 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12015 [PPC_PLATFORM_PPC440]: Likewise.
12016 [PPC_PLATFORM_PPC464]: Likewise.
12017 [PPC_PLATFORM_PPC476]: Likewise.
12018 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12019 ppc464, and ppc476 platform strings merging from ports/
12022 2013-06-11 Andreas Schwab <schwab@suse.de>
12025 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12026 (from_ucs4_idx): Regenerate.
12027 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12028 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12029 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12030 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12031 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12032 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12033 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12034 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12035 from FROM_LOOP and TO_LOOP specific macros.
12036 (BODY): Handle combining characters.
12037 * iconvdata/BIG5HKSCS.irreversible: Update.
12038 * iconvdata/BIG5HKSCS.precomposed: New file.
12039 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12041 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12043 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12045 * include/sys/time.h: Fix indentation and add copyright header.
12047 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12048 (do_test): Likewise.
12049 * string/test-memchr.c (do_one_test): Likewise.
12050 (do_test): Likewise.
12051 * string/test-memcmp.c (do_one_test): Likewise.
12052 (do_test): Likewise.
12053 * string/test-memcpy.c (do_one_test): Likewise.
12054 (do_test): Likewise.
12055 * string/test-memmem.c (do_one_test): Likewise.
12056 (do_test): Likewise.
12057 (do_random_tests): Likewise.
12058 * string/test-memmove.c (do_one_test): Likewise.
12059 (do_test): Likewise.
12060 * string/test-memset.c (do_one_test): Likewise.
12061 (do_test): Likewise.
12062 * string/test-rawmemchr.c (do_one_test): Likewise.
12063 (do_test): Likewise.
12064 * string/test-strcasecmp.c (do_one_test): Likewise.
12065 (do_test): Likewise.
12066 * string/test-strcasestr.c (do_one_test): Likewise.
12067 (do_test): Likewise.
12068 * string/test-strcat.c (do_one_test): Likewise.
12069 (do_test): Likewise.
12070 * string/test-strchr.c (do_one_test): Likewise.
12071 (do_test): Likewise.
12072 * string/test-strcmp.c (do_one_test): Likewise.
12073 (do_test): Likewise.
12074 * string/test-strcpy.c (do_one_test): Likewise.
12075 (do_test): Likewise.
12076 * string/test-string.h: Likewise.
12077 (test_init): Likewise.
12078 * string/test-strlen.c (do_one_test): Likewise.
12079 (do_test): Likewise.
12080 * string/test-strncasecmp.c (do_one_test): Likewise.
12081 (do_test): Likewise.
12082 * string/test-strncat.c (do_one_test): Likewise.
12083 (do_test): Likewise.
12084 * string/test-strncmp.c (do_one_test): Likewise.
12085 (do_test_limit): Likewise.
12086 (do_test): Likewise.
12087 * string/test-strncpy.c (do_one_test): Likewise.
12088 (do_test): Likewise.
12089 * string/test-strnlen.c (do_one_test): Likewise.
12090 (do_test): Likewise.
12091 * string/test-strpbrk.c (do_one_test): Likewise.
12092 (do_test): Likewise.
12093 * string/test-strrchr.c (do_one_test): Likewise.
12094 (do_test): Likewise.
12095 * string/test-strspn.c (do_one_test): Likewise.
12096 (do_test): Likewise.
12097 * string/test-strstr.c (do_one_test): Likewise.
12098 (do_test): Likewise.
12100 * benchtests/Makefile (string-bench): Add string benchmarks.
12101 * benchtests/bench-bcopy-ifunc.c: New file.
12102 * benchtests/bench-bcopy.c: New file.
12103 * benchtests/bench-bzero-ifunc.c: New file.
12104 * benchtests/bench-bzero.c: New file.
12105 * benchtests/bench-memccpy-ifunc.c: New file.
12106 * benchtests/bench-memccpy.c: New file.
12107 * benchtests/bench-memchr-ifunc.c: New file.
12108 * benchtests/bench-memchr.c: New file.
12109 * benchtests/bench-memcmp-ifunc.c: New file.
12110 * benchtests/bench-memcmp.c: New file.
12111 * benchtests/bench-memmem-ifunc.c: New file.
12112 * benchtests/bench-memmem.c: New file.
12113 * benchtests/bench-memmove-ifunc.c: New file.
12114 * benchtests/bench-memmove.c: New file.
12115 * benchtests/bench-mempcpy-ifunc.c: New file.
12116 * benchtests/bench-mempcpy.c: New file.
12117 * benchtests/bench-memset-ifunc.c: New file.
12118 * benchtests/bench-memset.c: New file.
12119 * benchtests/bench-rawmemchr-ifunc.c: New file.
12120 * benchtests/bench-rawmemchr.c: New file.
12121 * benchtests/bench-stpcpy-ifunc.c: New file.
12122 * benchtests/bench-stpcpy.c: New file.
12123 * benchtests/bench-stpncpy-ifunc.c: New file.
12124 * benchtests/bench-stpncpy.c: New file.
12125 * benchtests/bench-strcasecmp-ifunc.c: New file.
12126 * benchtests/bench-strcasecmp.c: New file.
12127 * benchtests/bench-strcasestr-ifunc.c: New file.
12128 * benchtests/bench-strcasestr.c: New file.
12129 * benchtests/bench-strcat-ifunc.c: New file.
12130 * benchtests/bench-strcat.c: New file.
12131 * benchtests/bench-strchr-ifunc.c: New file.
12132 * benchtests/bench-strchr.c: New file.
12133 * benchtests/bench-strchrnul-ifunc.c: New file.
12134 * benchtests/bench-strchrnul.c: New file.
12135 * benchtests/bench-strcmp-ifunc.c: New file.
12136 * benchtests/bench-strcmp.c: New file.
12137 * benchtests/bench-strcpy-ifunc.c: New file.
12138 * benchtests/bench-strcpy.c: New file.
12139 * benchtests/bench-strcspn-ifunc.c: New file.
12140 * benchtests/bench-strcspn.c: New file.
12141 * benchtests/bench-strlen-ifunc.c: New file.
12142 * benchtests/bench-strlen.c: New file.
12143 * benchtests/bench-strncasecmp-ifunc.c: New file.
12144 * benchtests/bench-strncasecmp.c: New file.
12145 * benchtests/bench-strncat-ifunc.c: New file.
12146 * benchtests/bench-strncat.c: New file.
12147 * benchtests/bench-strncmp-ifunc.c: New file.
12148 * benchtests/bench-strncmp.c: New file.
12149 * benchtests/bench-strncpy-ifunc.c: New file.
12150 * benchtests/bench-strncpy.c: New file.
12151 * benchtests/bench-strnlen-ifunc.c: New file.
12152 * benchtests/bench-strnlen.c: New file.
12153 * benchtests/bench-strpbrk-ifunc.c: New file.
12154 * benchtests/bench-strpbrk.c: New file.
12155 * benchtests/bench-strrchr-ifunc.c: New file.
12156 * benchtests/bench-strrchr.c: New file.
12157 * benchtests/bench-strspn-ifunc.c: New file.
12158 * benchtests/bench-strspn.c: New file.
12159 * benchtests/bench-strstr-ifunc.c: New file.
12160 * benchtests/bench-strstr.c: New file.
12162 * benchtests/Makefile: Disable parallel execution of targets.
12163 (string-bench): Add memcpy.
12164 (benchset): New variable to store a list of benchmark sets.
12165 (bench-func): Renamed from bench.
12166 (bench-set): New target.
12167 (bench): Depend on bench-func and bench-set.
12168 * benchtests/README: Add section on benchmark sets.
12169 * benchtests/bench-memcpy-ifunc.c: New file.
12170 * benchtests/bench-memcpy.c: New file.
12171 * benchtests/bench-string.h: New file.
12173 2013-06-11 Andreas Schwab <schwab@suse.de>
12176 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12177 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12178 values in the triple.
12179 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12180 terminator in the group key.
12182 2013-06-11 Andreas Jaeger <aj@suse.de>
12184 * po/zh_TW.po: Update Chinese (traditional) translation from
12185 translation project.
12187 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12190 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12191 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12192 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12193 (clock_getcpuclockid): Likewise.
12194 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12195 Add weak_alias and libc_hidden_def.
12196 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12197 * rt/clock_gettime.c (clock_gettime): Rename to
12198 __clock_gettime. Add weak_alias and libc_hidden_def.
12199 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12200 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12201 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12202 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12203 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12205 * rt/clock_settime.c (clock_settime): Rename to
12206 __clock_settime. Add weak_alias and libc_hidden_def.
12207 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12209 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12211 * mach/err_boot.sub: Remove trailing whitespace.
12212 * mach/err_ipc.sub: Likewise.
12213 * mach/err_mach.sub: Likewise.
12215 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12216 (ROUNDING_TESTS_double): Likewise.
12217 (ROUNDING_TESTS_long_double): Likewise.
12218 (ROUNDING_TESTS): Likewise.
12219 * math/libm-test.inc: Include <math-tests.h>.
12220 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12221 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12222 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12223 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12225 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12227 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12230 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12233 otherwise empty TRANS lines.
12234 * sysdeps/gnu/errlist.c: Regenerated.
12236 * catgets/gencat.c (error_print): Use (void) in function
12238 * crypt/crypt_util.c (__init_des): Likewise.
12239 * crypt/speeds.c (Stop): Likewise.
12241 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12242 * inet/ruserpass.c (token): Likewise.
12243 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12244 * intl/localealias.c (extend_alias_table): Likewise.
12245 * intl/plural-exp.c (init_germanic_plural): Likewise.
12246 * libio/fcloseall.c (__fcloseall): Likewise.
12247 * libio/genops.c (_IO_flush_all): Likewise.
12248 (_IO_flush_all_linebuffered): Likewise.
12249 (_IO_cleanup): Likewise.
12250 (_IO_iter_begin): Likewise.
12251 (_IO_iter_end): Likewise.
12252 (_IO_list_lock): Likewise.
12253 (_IO_list_unlock): Likewise.
12254 (_IO_list_resetlock): Likewise.
12255 * libio/getchar.c (getchar): Likewise.
12256 * libio/getchar_u.c (getchar_unlocked): Likewise.
12257 * libio/getwchar.c (getwchar): Likewise.
12258 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12259 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12260 * login/getpt.c (__getpt): Likewise.
12261 * login/tst-utmp.c (main): Likewise.
12262 * malloc/hooks.c (__malloc_check_init): Likewise.
12263 * malloc/malloc.c (__malloc_stats): Likewise.
12264 * malloc/mtrace.c (tr_break): Likewise.
12265 (mtrace): Likewise.
12266 (muntrace): Likewise.
12267 * misc/fstab.c (endfsent): Likewise.
12268 * misc/getclktck.c (__getclktck): Likewise.
12269 * misc/getdtsz.c (__getdtablesize): Likewise.
12270 * misc/gethostid.c (gethostid): Likewise.
12271 * misc/getpagesize.c (__getpagesize): Likewise.
12272 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12273 (__get_nprocs): Likewise.
12274 (__get_phys_pages): Likewise.
12275 (__get_avphys_pages): Likewise.
12276 * misc/getttyent.c (getttyent): Likewise.
12277 (setttyent): Likewise.
12278 (endttyent): Likewise.
12279 * misc/getusershell.c (getusershell): Likewise.
12280 (endusershell): Likewise.
12281 (setusershell): Likewise.
12282 (initshells): Likewise.
12283 * misc/hsearch.c (__hdestroy): Likewise.
12284 * misc/sync.c (sync): Likewise.
12285 * misc/syslog.c (closelog_internal): Likewise.
12286 (closelog): Likewise.
12287 * misc/ttyslot.c (ttyslot): Likewise.
12288 * misc/vhangup.c (vhangup): Likewise.
12289 * posix/fork.c (__fork): Likewise.
12290 * posix/getegid.c (__getegid): Likewise.
12291 * posix/geteuid.c (__geteuid): Likewise.
12292 * posix/getgid.c (__getgid): Likewise.
12293 * posix/getpid.c (__getpid): Likewise.
12294 * posix/getppid.c (__getppid): Likewise.
12295 * posix/getuid.c (__getuid): Likewise.
12296 * posix/pause.c (pause): Likewise.
12297 * posix/setpgrp.c (setpgrp): Likewise.
12298 * posix/setsid.c (__setsid): Likewise.
12299 * posix/test-vfork.c (noop): Likewise.
12300 * resolv/gethnamaddr.c (_endhtent): Likewise.
12301 (_gethtent): Likewise.
12302 (ht_endhostent): Likewise.
12303 (gethostent): Likewise.
12304 (dns_service): Likewise.
12305 * stdlib/drand48.c (drand48): Likewise.
12306 * stdlib/lrand48.c (lrand48): Likewise.
12307 * stdlib/mrand48.c (mrand48): Likewise.
12308 * stdlib/rand.c (rand): Likewise.
12309 * stdlib/random.c (__random): Likewise.
12310 * stdlib/setenv.c (clearenv): Likewise.
12311 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12312 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12313 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12314 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12315 (__get_nprocs): Likewise.
12316 (__get_phys_pages): Likewise.
12317 (__get_avphys_pages): Likewise.
12318 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12319 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12320 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12321 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12322 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12323 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12324 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12325 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12326 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12327 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12328 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12329 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12330 * sysdeps/posix/clock.c (clock): Likewise.
12331 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12332 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12333 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12334 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12335 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12337 (__get_nprocs_conf): Likewise.
12338 (__get_phys_pages): Likewise.
12339 (__get_avphys_pages): Likewise.
12340 * time/clock.c (clock): Likewise.
12341 * time/tzset.c (__tzname_max): Likewise.
12343 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12345 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12346 (__bswap_32): Do not use "register".
12347 * crypt/crypt.c (_ufc_doit_r): Likewise.
12348 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12349 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12350 * gmon/gmon.c (__monstartup): Likewise.
12351 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12352 * hurd/hurdmalloc.c (more_memory): Likewise.
12353 (malloc): Likewise.
12355 (realloc): Likewise.
12356 (malloc_fork_prepare): Likewise.
12357 (malloc_fork_parent): Likewise.
12358 (malloc_fork_child): Likewise.
12359 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12360 (_svcauth_des): Likewise.
12361 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12362 * inet/inet_net.c (inet_network): Likewise.
12363 * inet/inet_netof.c (inet_netof): Likewise.
12364 * inet/rcmd.c (__validuser2_sa): Likewise.
12365 * io/fts.c (fts_open): Likewise.
12366 (fts_load): Likewise.
12367 (fts_close): Likewise.
12368 (fts_read): Likewise.
12369 (fts_children): Likewise.
12370 (fts_build): Likewise.
12371 (fts_stat): Likewise.
12372 (fts_sort): Likewise.
12373 (fts_alloc): Likewise.
12374 (fts_lfree): Likewise.
12375 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12376 (_IO_file_xsgetn): Likewise.
12377 (_IO_file_xsgetn_mmap): Likewise.
12378 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12379 (_IO_cookie_write): Likewise.
12380 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12381 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12382 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12383 * malloc/obstack.c (_obstack_begin): Likewise.
12384 (_obstack_begin_1): Likewise.
12385 (_obstack_newchunk): Likewise.
12386 (_obstack_allocated_p): Likewise.
12387 (obstack_free): Likewise.
12388 (_obstack_memory_used): Likewise.
12389 * misc/getttyent.c (getttynam): Likewise.
12390 (getttyent): Likewise.
12393 * misc/getusershell.c (initshells): Likewise.
12394 * misc/syslog.c (__vsyslog_chk): Likewise.
12395 * misc/ttyslot.c (ttyslot): Likewise.
12396 * nis/nis_hash.c (__nis_hash): Likewise.
12397 * posix/fnmatch_loop.c (FCT): Likewise.
12398 * posix/getconf.c (print_all): Likewise.
12400 * posix/getopt.c (exchange): Likewise.
12401 * posix/glob.c (globfree): Likewise.
12402 (prefix_array): Likewise.
12403 (__glob_pattern_type): Likewise.
12404 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12405 (NS_GET32): Likewise.
12406 (NS_PUT16): Likewise.
12407 (NS_PUT32): Likewise.
12408 * resolv/gethnamaddr.c (getanswer): Likewise.
12409 (gethostbyname2): Likewise.
12410 (gethostbyaddr): Likewise.
12411 (_gethtent): Likewise.
12412 (_gethtbyname2): Likewise.
12413 (_gethtbyaddr): Likewise.
12414 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12415 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12416 * resolv/res_init.c (__res_vinit): Likewise.
12417 (net_mask): Likewise.
12418 * resolv/res_mkquery.c (outchar): Likewise.
12420 * stdio-common/printf_fp.c (outchar): Likewise.
12422 * stdio-common/printf_fphex.c (outchar): Likewise.
12424 * stdio-common/printf_size.c (outchar): Likewise.
12426 * stdio-common/test_rdwr.c (main): Likewise.
12427 * stdio-common/tfformat.c (matches): Likewise.
12428 * stdio-common/vfprintf.c (outchar): Likewise.
12429 (printf_unknown): Likewise.
12430 (buffered_vfprintf): Likewise.
12431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12432 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12433 (ReadFile): Likewise.
12434 * stdlib/qsort.c (SWAP): Likewise.
12435 (_quicksort): Likewise.
12436 * stdlib/setenv.c (__add_to_environ): Likewise.
12437 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12438 * stdlib/strtol_l.c (__strtol_l): Likewise.
12439 * stdlib/tst-strtod.c (main): Likewise.
12440 * stdlib/tst-strtol.c (main): Likewise.
12441 * stdlib/tst-strtoll.c (main): Likewise.
12442 * string/bits/string2.h (__strcmp_cc): Likewise.
12443 (__strcmp_cg): Likewise.
12444 (__strcspn_c1): Likewise.
12445 (__strcspn_c2): Likewise.
12446 (__strcspn_c3): Likewise.
12447 (__strspn_c1): Likewise.
12448 (__strspn_c2): Likewise.
12449 (__strspn_c3): Likewise.
12450 (__strsep_1c): Likewise.
12451 (__strsep_2c): Likewise.
12452 (__strsep_3c): Likewise.
12453 * string/memccpy.c (__memccpy): Likewise.
12454 * string/stpcpy.c (__stpcpy): Likewise.
12455 * string/strcmp.c (strcmp): Likewise.
12456 * string/strrchr.c (strrchr): Likewise.
12457 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12459 * sysdeps/mach/hurd/getcwd.c
12460 (_hurd_canonicalize_directory_name_internal): Likewise.
12461 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12462 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12463 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12464 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12465 Likewise, in both definitions.
12466 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12468 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12469 64] (__bswap_64): Likewise.
12470 * time/test_time.c (main): Likewise.
12471 * time/tzfile.c (__tzfile_read): Likewise.
12472 (__tzfile_compute): Likewise.
12473 * time/tzset.c (__tzset_parse_tz): Likewise.
12474 (tzset_internal): Likewise.
12475 (compute_change): Likewise.
12476 * wcsmbs/wcscat.c (__wcscat): Likewise.
12477 * wcsmbs/wcschr.c (wcschr): Likewise.
12478 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12479 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12480 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12481 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12482 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12483 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12484 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12485 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12486 * wcsmbs/wmemset.c (wmemset): Likewise.
12488 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12490 * scripts/config.guess: Update to version 2013-05-16.
12491 * scripts/config.sub: Update to version 2013-04-24.
12492 * scripts/install-sh: Update to version 2011-11-20.07.
12493 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12494 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12496 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12498 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12499 * elf/sln.c: Likewise.
12500 * hurd/hurd/ioctl.h: Likewise.
12501 * hurd/hurdmalloc.c: Likewise.
12502 * hurd/xattr.c: Likewise.
12503 * include/shlib-compat.h: Likewise.
12504 * inet/ruserpass.c: Likewise.
12505 * libio/iofgets_u.c: Likewise.
12506 * libio/iofgetws_u.c: Likewise.
12507 * locale/programs/ld-identification.c: Likewise.
12508 * locale/programs/ld-time.c: Likewise.
12509 * mach/msg-destroy.c: Likewise.
12510 * nss/nss_files/files-netgrp.c: Likewise.
12511 * resolv/res_data.c: Likewise.
12512 * soft-fp/op-1.h: Likewise.
12513 * soft-fp/op-2.h: Likewise.
12514 * soft-fp/op-4.h: Likewise.
12515 * soft-fp/op-common.h: Likewise.
12516 * stdio-common/printf_fphex.c: Likewise.
12517 * stdlib/strtod_l.c: Likewise.
12518 * sunrpc/rpc/clnt.h: Likewise.
12519 * sysdeps/generic/framestate.c: Likewise.
12520 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12521 * sysdeps/i386/bsd-setjmp.S: Likewise.
12522 * sysdeps/i386/__longjmp.S: Likewise.
12523 * sysdeps/i386/setjmp.S: Likewise.
12524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12525 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12542 * sysdeps/ieee754/support.c: Likewise.
12543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12544 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12545 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12546 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12547 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12548 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12549 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12550 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12551 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12552 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12553 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12554 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12555 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12556 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12557 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12558 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12559 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12562 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12564 * posix/transbug.c: Remove executable mode.
12566 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12568 * crypt/speeds.c: Remove trailing whitespace.
12569 * dlfcn/default.c: Likewise.
12570 * elf/ifuncdep2.c: Likewise.
12571 * elf/ifuncmain1.c: Likewise.
12572 * elf/ifuncmain1vis.c: Likewise.
12573 * elf/testobj.h: Likewise.
12574 * elf/tst-stackguard1.c: Likewise.
12575 * gmon/sys/gmon.h: Likewise.
12576 * hurd/hurdmsg.c: Likewise.
12577 * hurd/new-fd.c: Likewise.
12578 * hurd/ports-get.c: Likewise.
12579 * iconvdata/ibm1008_420.c: Likewise.
12580 * inet/tst-getni1.c: Likewise.
12581 * inet/tst-getni2.c: Likewise.
12582 * libio/ioungetc.c: Likewise.
12583 * libio/wfiledoalloc.c: Likewise.
12584 * manual/libm-err-tab.pl: Likewise.
12585 * math/w_dremf.c: Likewise.
12586 * misc/ftruncate.c: Likewise.
12587 * posix/bug-glob2.c: Likewise.
12588 * posix/tst-pcre.c: Likewise.
12589 * posix/wait4.c: Likewise.
12590 * resolv/README: Likewise.
12591 * resolv/res_debug.h: Likewise.
12592 * resolv/tst-inet_ntop.c: Likewise.
12593 * setjmp/bug269-setjmp.c: Likewise.
12594 * soft-fp/extended.h: Likewise.
12595 * soft-fp/op-1.h: Likewise.
12596 * soft-fp/op-2.h: Likewise.
12597 * soft-fp/op-4.h: Likewise.
12598 * soft-fp/op-8.h: Likewise.
12599 * soft-fp/testit.c: Likewise.
12600 * stdio-common/bug16.c: Likewise.
12601 * stdlib/random.c: Likewise.
12602 * sunrpc/rpcsvc/rquota.x: Likewise.
12603 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12611 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12632 * sysdeps/ieee754/s_lib_version.c: Likewise.
12633 * sysdeps/mach/hurd/check_fds.c: Likewise.
12634 * sysdeps/mach/hurd/getsockname.c: Likewise.
12635 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12636 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12637 * sysdeps/powerpc/bits/link.h: Likewise.
12638 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12639 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12640 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12641 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12642 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12643 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12644 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12645 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12646 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12649 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12650 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12651 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12652 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12653 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12654 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12658 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12659 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12660 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12661 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12663 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12665 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12671 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12672 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12673 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12674 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12675 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12677 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12681 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12682 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12683 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12684 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12686 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12690 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12691 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12692 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12694 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12695 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12696 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12697 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12698 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12700 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12701 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12702 * sysdeps/powerpc/sysdep.h: Likewise.
12703 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12704 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12705 * sysdeps/sh/dl-trampoline.S: Likewise.
12706 * sysdeps/sh/memset.S: Likewise.
12707 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12708 * sysdeps/sh/strlen.S: Likewise.
12709 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12710 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12711 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12712 * sysdeps/sparc/sparc32/rem.S: Likewise.
12713 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12714 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12715 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12716 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12717 * sysdeps/sparc/sparc32/urem.S: Likewise.
12718 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12719 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12720 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12721 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12723 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12724 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12725 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12726 * sysdeps/unix/bsd/times.c: Likewise.
12727 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12728 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12733 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12734 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12736 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12737 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12738 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12739 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12740 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12741 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12742 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12743 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12744 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12745 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12747 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12748 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12749 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12750 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12751 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12752 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12753 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12755 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12756 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12757 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12758 * sysdeps/x86_64/strcspn.S: Likewise.
12760 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12762 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12763 generated file. Regenerate properly from gen-translit.pl.
12764 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12765 locale/C-translit.h.
12767 2013-06-05 Andreas Schwab <schwab@suse.de>
12770 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12771 week as 6 instead of -1.
12772 * time/tst-strptime.c (day_tests): Add test case.
12774 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12776 * sysdeps/generic/math_private.h
12777 (libc_feholdexcept_setround_53bit): Replace with
12778 libc_feholdsetround_53bit.
12779 (libc_feupdateenv_53bit): Replace with
12780 libc_feresetround_53bit.
12781 (SET_RESTORE_ROUND_53BIT): Adjust.
12783 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12785 * string/test-strchrnul.c: Add copyright header.
12787 * posix/tst-getaddrinfo4.c: Increase test timeout.
12789 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12792 * math/libm-test.inc (MAX_EXP): Remove
12794 (ulp): Use MIN_EXP - MANT_DIG.
12795 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12797 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12799 * po/be.po: Revert last change.
12800 * po/zh_CN.po: Likewise.
12801 * po/header.pot: Likewise.
12803 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12805 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12806 link-libc-deps to empty as target-specific variable.
12807 * Makerules (link-libc-args): New variable.
12808 (libc-for-link): Likewise.
12809 (link-libc-deps): Likewise.
12810 (lib%.so): Depend on $(link-libc-deps). Link with
12812 (build-module): Link with $(link-libc-args).
12813 (build-module-asneeded): Likewise.
12814 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12816 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12817 target-specific variable.
12818 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12819 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12820 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12822 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12824 ($(objpfx)libpcprofile.so): Likewise.
12825 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12827 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12828 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12829 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12831 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12832 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12833 * login/Makefile ($(objpfx)libutil.so): Likewise.
12834 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12835 * math/Makefile ($(objpfx)libm.so): Likewise.
12836 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12837 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12838 variable instead of depending directly on libc.
12839 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12840 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12842 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12844 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12845 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12846 ($(objpfx)libanl.so): Likewise.
12847 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12849 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12851 * sysdeps/i386/fpu/Makefile: Remove file.
12852 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12853 ($(objpfx)libm.so): Remove dependency on ld.so.
12855 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12858 * nis/yp_xdr.c (XDRMAXNAME): Define.
12859 (XDRMAXRECORD): Define.
12860 (xdr_domainname): Use XDRMAXNAME.
12861 (xdr_mapname): Likewise.
12862 (xdr_peername): Likewise.
12863 (xdr_keydat): Use XDRMAXRECORD.
12864 (xdr_valdat): Likewise.
12866 2013-05-30 Jeff Law <law@redhat.com>
12869 * manual/errno.texi (ESTALE): Update to account for more than
12870 just NFS file systems.
12871 * sysdeps/gnu/errlist.c: Regenerated.
12873 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12876 * elf/Makefile (tests): Add tst-null-argv.
12877 (modules-names): Add tst-null-argv-lib.
12878 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12879 (tst-null-argv-ENV): Set environment for tst-null-argv.
12880 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12881 (RTLD_PROGNAME): New macro.
12882 * elf/tst-null-argv.c: New test case.
12883 * elf/tst-null-argv-lib.c: Library for test case.
12884 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12885 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12886 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12887 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12888 * elf/dl-init.c (call_init): Likewise.
12889 (_dl_init): Likewise.
12890 * elf/dl-load.c (print_search_path): Likewise.
12891 (_dl_map_object): Likewise.
12892 * elf/dl-lookup.c (do_lookup_x): Likewise.
12893 (add_dependency): Likewise.
12894 (_dl_lookup_symbol_x): Likewise.
12895 (_dl_debug_bindings): Likewise.
12896 * elf/dl-open.c (_dl_show_scope): Likewise.
12897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12898 * elf/dl-version.c (match_symbol): Likewise.
12899 (_dl_check_map_versions): Likewise.
12900 * elf/rtld.c (dl_main): Likewise.
12901 (print_unresolved): Use RTLD_PROGNAME.
12902 (print_missing_version): Likewise.
12903 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12904 (elf_machine_rela): Likewise.
12905 * sysdeps/powerpc/powerpc32/dl-machine.c
12906 (__process_machine_rela): Likewise.
12907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12911 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12913 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12920 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12922 * po/be.po: Add descriptive title.
12923 * po/zh_CN.po: Likewise.
12924 * po/header.pot: Likewise.
12926 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12928 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12930 (enlarge_archive): Likewise.
12932 2013-05-28 Ben North <ben@redfrontdoor.org>
12934 * manual/arith.texi (frexp): It is the magnitude of the return
12935 value which lies in [0.5, 1), not the return value itself.
12937 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12941 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12943 * stdio-common/bug26.c (main): Correct fscanf template.
12945 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12946 declare _dl_skip_args.
12948 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12951 * manual/platform.texi: Add missing @end deftypefun.
12953 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12956 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12957 bit of mantissa of 2^16382.
12958 * math/libm-test.inc (hypot_test_data): Add more tests.
12960 * math/libm-test.inc: Add drem and pow10 to list of tested
12962 (pow10_test): New function.
12963 (drem_test): Likewise.
12964 (drem_test_tonearest): Likewise.
12965 (drem_test_towardzero): Likewise.
12966 (drem_test_downward): Likewise.
12967 (drem_test_upward): Likewise.
12968 (main): Call the new functions.
12970 * math/libm-test.inc (finite_test_data): Remove.
12971 (finite_test): Run tests from isfinite_test_data.
12972 (gamma_test_data): Remove.
12973 (gamma_test): Run tests from lgamma_test_data.
12974 * sysdeps/i386/fpu/libm-test-ulps: Update.
12975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12977 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12979 * manual/platform.texi: Add PowerPC PPR function set documentation.
12980 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12983 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12985 * math/libm-test.inc (MAX_EXP): Define.
12987 (ulp): New function.
12988 (check_float_internal): Use ULPDIFF.
12989 (cpow_test): Disable failing test.
12990 (check_ulp): Test ulp() implemetnation.
12991 (main): Call check_ulp before starting tests.
12993 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12995 * math/gen-libm-test.pl (generate_testfile): Do not handle
12996 START_DATA and END_DATA.
12997 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12999 (acos_tonearest_test_data): Likewise.
13000 (acos_towardzero_test_data): Likewise.
13001 (acos_downward_test_data): Likewise.
13002 (acos_upward_test_data): Likewise.
13003 (acosh_test_data): Likewise.
13004 (asin_test_data): Likewise.
13005 (asin_tonearest_test_data): Likewise.
13006 (asin_towardzero_test_data): Likewise.
13007 (asin_downward_test_data): Likewise.
13008 (asin_upward_test_data): Likewise.
13009 (asinh_test_data): Likewise.
13010 (atan_test_data): Likewise.
13011 (atanh_test_data): Likewise.
13012 (atan2_test_data): Likewise.
13013 (cabs_test_data): Likewise.
13014 (cacos_test_data): Likewise.
13015 (cacosh_test_data): Likewise.
13016 (carg_test_data): Likewise.
13017 (casin_test_data): Likewise.
13018 (casinh_test_data): Likewise.
13019 (catan_test_data): Likewise.
13020 (catanh_test_data): Likewise.
13021 (cbrt_test_data): Likewise.
13022 (ccos_test_data): Likewise.
13023 (ccosh_test_data): Likewise.
13024 (ceil_test_data): Likewise.
13025 (cexp_test_data): Likewise.
13026 (cimag_test_data): Likewise.
13027 (clog_test_data): Likewise.
13028 (clog10_test_data): Likewise.
13029 (conj_test_data): Likewise.
13030 (copysign_test_data): Likewise.
13031 (cos_test_data): Likewise.
13032 (cos_tonearest_test_data): Likewise.
13033 (cos_towardzero_test_data): Likewise.
13034 (cos_downward_test_data): Likewise.
13035 (cos_upward_test_data): Likewise.
13036 (cosh_test_data): Likewise.
13037 (cosh_tonearest_test_data): Likewise.
13038 (cosh_towardzero_test_data): Likewise.
13039 (cosh_downward_test_data): Likewise.
13040 (cosh_upward_test_data): Likewise.
13041 (cpow_test_data): Likewise.
13042 (cproj_test_data): Likewise.
13043 (creal_test_data): Likewise.
13044 (csin_test_data): Likewise.
13045 (csinh_test_data): Likewise.
13046 (csqrt_test_data): Likewise.
13047 (ctan_test_data): Likewise.
13048 (ctan_tonearest_test_data): Likewise.
13049 (ctan_towardzero_test_data): Likewise.
13050 (ctan_downward_test_data): Likewise.
13051 (ctan_upward_test_data): Likewise.
13052 (ctanh_test_data): Likewise.
13053 (ctanh_tonearest_test_data): Likewise.
13054 (ctanh_towardzero_test_data): Likewise.
13055 (ctanh_downward_test_data): Likewise.
13056 (ctanh_upward_test_data): Likewise.
13057 (erf_test_data): Likewise.
13058 (erfc_test_data): Likewise.
13059 (exp_test_data): Likewise.
13060 (exp_tonearest_test_data): Likewise.
13061 (exp_towardzero_test_data): Likewise.
13062 (exp_downward_test_data): Likewise.
13063 (exp_upward_test_data): Likewise.
13064 (exp10_test_data): Likewise.
13065 (exp2_test_data): Likewise.
13066 (expm1_test_data): Likewise.
13067 (fabs_test_data): Likewise.
13068 (fdim_test_data): Likewise.
13069 (finite_test_data): Likewise.
13070 (floor_test_data): Likewise.
13071 (fma_test_data): Likewise.
13072 (fma_towardzero_test_data): Likewise.
13073 (fma_downward_test_data): Likewise.
13074 (fma_upward_test_data): Likewise.
13075 (fmax_test_data): Likewise.
13076 (fmin_test_data): Likewise.
13077 (fmod_test_data): Likewise.
13078 (fpclassify_test_data): Likewise.
13079 (frexp_test_data): Likewise.
13080 (gamma_test_data): Likewise.
13081 (hypot_test_data): Likewise.
13082 (ilogb_test_data): Likewise.
13083 (isfinite_test_data): Likewise.
13084 (isgreater_test_data): Likewise.
13085 (isgreaterequal_test_data): Likewise.
13086 (isinf_test_data): Likewise.
13087 (isless_test_data): Likewise.
13088 (islessequal_test_data): Likewise.
13089 (islessgreater_test_data): Likewise.
13090 (isnan_test_data): Likewise.
13091 (isnormal_test_data): Likewise.
13092 (issignaling_test_data): Likewise.
13093 (isunordered_test_data): Likewise.
13094 (j0_test_data): Likewise.
13095 (j1_test_data): Likewise.
13096 (jn_test_data): Likewise.
13097 (ldexp_test_data): Likewise.
13098 (lgamma_test_data): Likewise.
13099 (lrint_test_data): Likewise.
13100 (lrint_tonearest_test_data): Likewise.
13101 (lrint_towardzero_test_data): Likewise.
13102 (lrint_downward_test_data): Likewise.
13103 (lrint_upward_test_data): Likewise.
13104 (llrint_test_data): Likewise.
13105 (llrint_tonearest_test_data): Likewise.
13106 (llrint_towardzero_test_data): Likewise.
13107 (llrint_downward_test_data): Likewise.
13108 (llrint_upward_test_data): Likewise.
13109 (log_test_data): Likewise.
13110 (log10_test_data): Likewise.
13111 (log1p_test_data): Likewise.
13112 (log2_test_data): Likewise.
13113 (logb_test_data): Likewise.
13114 (logb_downward_test_data): Likewise.
13115 (lround_test_data): Likewise.
13116 (llround_test_data): Likewise.
13117 (modf_test_data): Likewise.
13118 (nearbyint_test_data): Likewise.
13119 (nextafter_test_data): Likewise.
13120 (nexttoward_test_data): Likewise.
13121 (pow_test_data): Likewise.
13122 (pow_tonearest_test_data): Likewise.
13123 (pow_towardzero_test_data): Likewise.
13124 (pow_downward_test_data): Likewise.
13125 (pow_upward_test_data): Likewise.
13126 (remainder_test_data): Likewise.
13127 (remainder_tonearest_test_data): Likewise.
13128 (remainder_towardzero_test_data): Likewise.
13129 (remainder_downward_test_data): Likewise.
13130 (remainder_upward_test_data): Likewise.
13131 (remquo_test_data): Likewise.
13132 (rint_test_data): Likewise.
13133 (rint_tonearest_test_data): Likewise.
13134 (rint_towardzero_test_data): Likewise.
13135 (rint_downward_test_data): Likewise.
13136 (rint_upward_test_data): Likewise.
13137 (round_test_data): Likewise.
13138 (scalb_test_data): Likewise.
13139 (scalbn_test_data): Likewise.
13140 (scalbln_test_data): Likewise.
13141 (signbit_test_data): Likewise.
13142 (sin_test_data): Likewise.
13143 (sin_tonearest_test_data): Likewise.
13144 (sin_towardzero_test_data): Likewise.
13145 (sin_downward_test_data): Likewise.
13146 (sin_upward_test_data): Likewise.
13147 (sincos_test_data): Likewise.
13148 (sinh_test_data): Likewise.
13149 (sinh_tonearest_test_data): Likewise.
13150 (sinh_towardzero_test_data): Likewise.
13151 (sinh_downward_test_data): Likewise.
13152 (sinh_upward_test_data): Likewise.
13153 (sqrt_test_data): Likewise.
13154 (tan_test_data): Likewise.
13155 (tan_tonearest_test_data): Likewise.
13156 (tan_towardzero_test_data): Likewise.
13157 (tan_downward_test_data): Likewise.
13158 (tan_upward_test_data): Likewise.
13159 (tanh_test_data): Likewise.
13160 (tgamma_test_data): Likewise.
13161 (trunc_test_data): Likewise.
13162 (y0_test_data): Likewise.
13163 (y1_test_data): Likewise.
13164 (yn_test_data): Likewise.
13165 (significand_test_data): Likewise.
13167 * math/gen-libm-test.pl (@functions): Remove variable.
13168 (generate_testfile): Don't handle START and END lines.
13169 * math/libm-test.inc (START): New macro.
13171 (END_COMPLEX): Likewise.
13172 (acos_test): Use END macro without arguments.
13173 (acos_test_tonearest): Likewise.
13174 (acos_test_towardzero): Likewise.
13175 (acos_test_downward): Likewise.
13176 (acos_test_upward): Likewise.
13177 (acosh_test): Likewise.
13178 (asin_test): Likewise.
13179 (asin_test_tonearest): Likewise.
13180 (asin_test_towardzero): Likewise.
13181 (asin_test_downward): Likewise.
13182 (asin_test_upward): Likewise.
13183 (asinh_test): Likewise.
13184 (atan_test): Likewise.
13185 (atanh_test): Likewise.
13186 (atan2_test): Likewise.
13187 (cabs_test): Likewise.
13188 (cacos_test): Use END_COMPLEX macro without arguments.
13189 (cacosh_test): Likewise.
13190 (carg_test): Use END macro without arguments.
13191 (casin_test): Use END_COMPLEX macro without arguments.
13192 (casinh_test): Likewise.
13193 (catan_test): Likewise.
13194 (catanh_test): Likewise.
13195 (cbrt_test): Use END macro without arguments.
13196 (ccos_test): Use END_COMPLEX macro without arguments.
13197 (ccosh_test): Likewise.
13198 (ceil_test): Use END macro without arguments.
13199 (cexp_test): Use END_COMPLEX macro without arguments.
13200 (cimag_test): Use END macro without arguments.
13201 (clog_test): Use END_COMPLEX macro without arguments.
13202 (clog10_test): Likewise.
13203 (conj_test): Likewise.
13204 (copysign_test): Use END macro without arguments.
13205 (cos_test): Likewise.
13206 (cos_test_tonearest): Likewise.
13207 (cos_test_towardzero): Likewise.
13208 (cos_test_downward): Likewise.
13209 (cos_test_upward): Likewise.
13210 (cosh_test): Likewise.
13211 (cosh_test_tonearest): Likewise.
13212 (cosh_test_towardzero): Likewise.
13213 (cosh_test_downward): Likewise.
13214 (cosh_test_upward): Likewise.
13215 (cpow_test): Use END_COMPLEX macro without arguments.
13216 (cproj_test): Likewise.
13217 (creal_test): Use END macro without arguments.
13218 (csin_test): Use END_COMPLEX macro without arguments.
13219 (csinh_test): Likewise.
13220 (csqrt_test): Likewise.
13221 (ctan_test): Likewise.
13222 (ctan_test_tonearest): Likewise.
13223 (ctan_test_towardzero): Likewise.
13224 (ctan_test_downward): Likewise.
13225 (ctan_test_upward): Likewise.
13226 (ctanh_test): Likewise.
13227 (ctanh_test_tonearest): Likewise.
13228 (ctanh_test_towardzero): Likewise.
13229 (ctanh_test_downward): Likewise.
13230 (ctanh_test_upward): Likewise.
13231 (erf_test): Use END macro without arguments.
13232 (erfc_test): Likewise.
13233 (exp_test): Likewise.
13234 (exp_test_tonearest): Likewise.
13235 (exp_test_towardzero): Likewise.
13236 (exp_test_downward): Likewise.
13237 (exp_test_upward): Likewise.
13238 (exp10_test): Likewise.
13239 (exp2_test): Likewise.
13240 (expm1_test): Likewise.
13241 (fabs_test): Likewise.
13242 (fdim_test): Likewise.
13243 (finite_test): Likewise.
13244 (floor_test): Likewise.
13245 (fma_test): Likewise.
13246 (fma_test_towardzero): Likewise.
13247 (fma_test_downward): Likewise.
13248 (fma_test_upward): Likewise.
13249 (fmax_test): Likewise.
13250 (fmin_test): Likewise.
13251 (fmod_test): Likewise.
13252 (fpclassify_test): Likewise.
13253 (frexp_test): Likewise.
13254 (gamma_test): Likewise.
13255 (hypot_test): Likewise.
13256 (ilogb_test): Likewise.
13257 (isfinite_test): Likewise.
13258 (isgreater_test): Likewise.
13259 (isgreaterequal_test): Likewise.
13260 (isinf_test): Likewise.
13261 (isless_test): Likewise.
13262 (islessequal_test): Likewise.
13263 (islessgreater_test): Likewise.
13264 (isnan_test): Likewise.
13265 (isnormal_test): Likewise.
13266 (issignaling_test): Likewise.
13267 (isunordered_test): Likewise.
13268 (j0_test): Likewise.
13269 (j1_test): Likewise.
13270 (jn_test): Likewise.
13271 (ldexp_test): Likewise.
13272 (lgamma_test): Likewise.
13273 (lrint_test): Likewise.
13274 (lrint_test_tonearest): Likewise.
13275 (lrint_test_towardzero): Likewise.
13276 (lrint_test_downward): Likewise.
13277 (lrint_test_upward): Likewise.
13278 (llrint_test): Likewise.
13279 (llrint_test_tonearest): Likewise.
13280 (llrint_test_towardzero): Likewise.
13281 (llrint_test_downward): Likewise.
13282 (llrint_test_upward): Likewise.
13283 (log_test): Likewise.
13284 (log10_test): Likewise.
13285 (log1p_test): Likewise.
13286 (log2_test): Likewise.
13287 (logb_test): Likewise.
13288 (logb_test_downward): Likewise.
13289 (lround_test): Likewise.
13290 (llround_test): Likewise.
13291 (modf_test): Likewise.
13292 (nearbyint_test): Likewise.
13293 (nextafter_test): Likewise.
13294 (nexttoward_test): Likewise.
13295 (pow_test): Likewise.
13296 (pow_test_tonearest): Likewise.
13297 (pow_test_towardzero): Likewise.
13298 (pow_test_downward): Likewise.
13299 (pow_test_upward): Likewise.
13300 (remainder_test): Likewise.
13301 (remainder_test_tonearest): Likewise.
13302 (remainder_test_towardzero): Likewise.
13303 (remainder_test_downward): Likewise.
13304 (remainder_test_upward): Likewise.
13305 (remquo_test): Likewise.
13306 (rint_test): Likewise.
13307 (rint_test_tonearest): Likewise.
13308 (rint_test_towardzero): Likewise.
13309 (rint_test_downward): Likewise.
13310 (rint_test_upward): Likewise.
13311 (round_test): Likewise.
13312 (scalb_test): Likewise.
13313 (scalbn_test): Likewise.
13314 (scalbln_test): Likewise.
13315 (signbit_test): Likewise.
13316 (sin_test): Likewise.
13317 (sin_test_tonearest): Likewise.
13318 (sin_test_towardzero): Likewise.
13319 (sin_test_downward): Likewise.
13320 (sin_test_upward): Likewise.
13321 (sincos_test): Likewise.
13322 (sinh_test): Likewise.
13323 (sinh_test_tonearest): Likewise.
13324 (sinh_test_towardzero): Likewise.
13325 (sinh_test_downward): Likewise.
13326 (sinh_test_upward): Likewise.
13327 (sqrt_test): Likewise.
13328 (tan_test): Likewise.
13329 (tan_test_tonearest): Likewise.
13330 (tan_test_towardzero): Likewise.
13331 (tan_test_downward): Likewise.
13332 (tan_test_upward): Likewise.
13333 (tanh_test): Likewise.
13334 (tgamma_test): Likewise.
13335 (trunc_test): Likewise.
13336 (y0_test): Likewise.
13337 (y1_test): Likewise.
13338 (yn_test): Likewise.
13339 (significand_test): Likewise.
13341 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13344 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13346 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13349 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13350 __ppc_mdoio and __ppc_mdoom.
13351 * manual/platform.texi: Document new functions __ppc_yield,
13352 __ppc_mdoio and __ppc_mdoom.
13354 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13356 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13357 (main): Mention "tls" pseudo-hwcap is legacy.
13358 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13360 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13362 * math/gen-libm-test.pl (parse_args): Output only string of
13363 arguments as text for test name, not full call or descriptions of
13364 tests for extra outputs.
13365 (generate_testfile): Do not pass function name to parse_args.
13366 Generate this_func variable from START.
13367 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13369 (struct test_ff_f_data): Likewise.
13370 (test_ff_f_data_nexttoward): Likewise.
13371 (struct test_fi_f_data): Likewise.
13372 (struct test_fl_f_data): Likewise.
13373 (struct test_if_f_data): Likewise.
13374 (struct test_fff_f_data): Likewise.
13375 (struct test_c_f_data): Likewise.
13376 (struct test_f_f1_data): Likewise. Remove field extra_name.
13377 (struct test_fF_f1_data): Likewise.
13378 (struct test_ffI_f1_data): Likewise.
13379 (struct test_c_c_data): Rename test_name field to arg_str.
13380 (struct test_cc_c_data): Likewise.
13381 (struct test_f_i_data): Likewise.
13382 (struct test_ff_i_data): Likewise.
13383 (struct test_f_l_data): Likewise.
13384 (struct test_f_L_data): Likewise.
13385 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13387 (COMMON_TEST_SETUP): New macro.
13388 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13389 (COMMON_TEST_CLEANUP): Likewise.
13390 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13391 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13393 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13394 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13396 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13397 (RUN_TEST_fff_f): Take argument string. Call new setup and
13399 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13400 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13402 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13403 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13405 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13406 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13408 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13409 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13411 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13412 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13414 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13415 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13417 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13418 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13420 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13421 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13423 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13424 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13426 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13427 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13429 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13430 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13432 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13433 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13435 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13436 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13438 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13439 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13441 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13442 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13444 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13446 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13448 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13449 to _sifields.sigfault.
13450 (si_addr_lsb): Define new macro.
13451 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13453 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13455 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13458 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13460 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13462 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13463 loading the domain.
13465 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13467 * math/gen-libm-test.pl (parse_args): Do not include expected
13468 result in test name.
13469 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13473 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13476 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13478 * benchtests/Makefile: Sort function entries.
13480 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13481 tanh, asinh, acosh, atanh.
13482 * benchtests/acos-inputs: New file.
13483 * benchtests/acosh-inputs: New file.
13484 * benchtests/asin-inputs: New file.
13485 * benchtests/asinh-inputs: New file.
13486 * benchtests/atanh-inputs: New file.
13487 * benchtests/cosh-inputs: New file.
13488 * benchtests/log-inputs: New file.
13489 * benchtests/sinh-inputs: New file.
13490 * benchtests/tanh-inputs: New file.
13492 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13495 * posix/tst-getaddrinfo4.c: New test.
13496 * posix/Makefile (tests): Add it.
13498 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13501 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13502 when no services were used.
13503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13504 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13506 2013-05-21 Andreas Schwab <schwab@suse.de>
13509 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13510 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13512 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13513 redundant variable declarations and reallocation of buffer when
13514 parsing as IPv6 address. Always set NSS status when called from
13515 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13516 buffer too small. Correct computation of needed size.
13517 * nss/Makefile (tests): Add test-digits-dots.
13518 * nss/test-digits-dots.c: New test.
13520 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13522 * benchtests/Makefile: Remove instructions for adding
13524 * benchtests/README: New file to explain how to execute and
13525 enhance the benchmark tests.
13527 2013-05-21 Andreas Schwab <schwab@suse.de>
13530 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13531 * setjmp/tst-sigsetjmp.c: New test.
13533 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13535 * sysdeps/x86_64/memset.S (memset): New implementation.
13536 (__bzero): Likewise.
13537 (__memset_tail): New function.
13539 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13541 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13542 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13543 __memcpy_sse2_unaligned ifunc selection.
13544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13545 Add memcpy-sse2-unaligned.S.
13546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13547 Add: __memcpy_sse2_unaligned.
13549 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13552 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13553 math_force_eval before restoring floating-point envrionment.
13554 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13557 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13559 (__nearbyintl): Use math_force_eval before restoring
13560 floating-point environment.
13561 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13563 * math/gen-libm-test.pl (special_functions): Remove.
13564 (parse_args): Don't handle TEST_extra. Handle functions with no
13566 * math/libm-test.inc (struct test_sincos_data): Replace with
13567 struct test_fFF_11_data.
13568 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13569 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13570 (sincos_test_data): Change element type to struct
13571 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13572 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13573 RUN_TEST_LOOP_sincos.
13574 * math/README.libm-test: Don't mention special handling of
13575 individual functions.
13576 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13578 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13579 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13580 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13583 * math/gen-libm-test.pl (get_variable): Remove function.
13584 (parse_args): Don't show pointer parameters to call in test
13585 names. Use "extra output N" in test names for extra outputs
13586 rather than naming variables.
13588 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13591 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13592 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13593 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13595 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13597 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13600 * math/gen-libm-test.pl (@tests): Remove variable.
13601 ($count): Likewise.
13602 (new_test): Remove function.
13603 (show_exceptions): New function.
13604 (special_functions): Use show_exceptions instead of new_test.
13605 (parse_args): Likewise.
13606 (generate_testfile): Pass only function name in generated call to
13607 print_max_error or print_complex_max_error.
13608 (get_ulps): Do not handle complex tests specially.
13609 (output_test): Rename to ...
13610 (get_all_ulps_for_test): ... this. Return a string rather than
13611 printing to a file. Require ulps to be present.
13612 (output_ulps): Generate arrays rather than #defines.
13613 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13614 (struct ulp_data): New type.
13615 (BUILD_COMPLEX_ULP): Remove macro.
13616 (compare_ulp_data): New function.
13617 (find_ulps): Likewise.
13618 (find_test_ulps): Likewise.
13619 (find_function_ulps): Likewise.
13620 (find_complex_function_ulps): Likewise.
13621 (print_max_error): Determine allowed ulps using
13622 find_function_ulps.
13623 (print_complex_max_error): Determine allowed ulps using
13624 find_complex_function_ulps.
13625 (check_float_internal): Determine max ulps using find_test_ulps.
13626 (check_float): Do not take max_ulp parameter. Update call to
13627 check_float_internal.
13628 (check_complex): Likewise.
13629 (check_int): Do not take max_ulp parameter.
13630 (check_long): Likewise.
13631 (check_bool): Likewise.
13632 (check_longlong): Likewise.
13633 (struct test_f_f_data): Remove max_ulp field.
13634 (struct test_ff_f_data): Likewise.
13635 (struct test_ff_f_data_nexttoward): Likewise.
13636 (struct test_fi_f_data): Likewise.
13637 (struct test_fl_f_data): Likewise.
13638 (struct test_if_f_data): Likewise.
13639 (struct test_fff_f_data): Likewise.
13640 (struct test_c_f_data): Likewise.
13641 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13642 (struct test_fF_f1_data): Likewise.
13643 (struct test_ffI_f1_data): Likewise.
13644 (struct test_c_c_data): Remove max_ulp field.
13645 (struct test_cc_c_data): Likewise.
13646 (struct test_f_i_data): Likewise.
13647 (struct test_ff_i_data): Likewise.
13648 (struct test_f_l_data): Likewise.
13649 (struct test_f_L_data): Likewise.
13650 (struct test_sincos_data): Likewise.
13651 (RUN_TEST_f_f): Do not handle ulps.
13652 (RUN_TEST_LOOP_f_f): Likewise.
13653 (RUN_TEST_2_f): Likewise.
13654 (RUN_TEST_LOOP_2_f): Likewise.
13655 (RUN_TEST_fff_f): Likewise.
13656 (RUN_TEST_LOOP_fff_f): Likewise.
13657 (RUN_TEST_c_f): Likewise.
13658 (RUN_TEST_LOOP_c_f): Likewise.
13659 (RUN_TEST_f_f1): Likewise.
13660 (RUN_TEST_LOOP_f_f1): Likewise.
13661 (RUN_TEST_fF_f1): Likewise.
13662 (RUN_TEST_LOOP_fF_f1): Likewise.
13663 (RUN_TEST_fI_f1): Likewise.
13664 (RUN_TEST_LOOP_fI_f1): Likewise.
13665 (RUN_TEST_ffI_f1): Likewise.
13666 (RUN_TEST_LOOP_ffI_f1): Likewise.
13667 (RUN_TEST_c_c): Likewise.
13668 (RUN_TEST_LOOP_c_c): Likewise.
13669 (RUN_TEST_cc_c): Likewise.
13670 (RUN_TEST_LOOP_cc_c): Likewise.
13671 (RUN_TEST_f_i): Likewise.
13672 (RUN_TEST_LOOP_f_i): Likewise.
13673 (RUN_TEST_f_i_tg): Likewise.
13674 (RUN_TEST_LOOP_f_i_tg): Likewise.
13675 (RUN_TEST_ff_i_tg): Likewise.
13676 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13677 (RUN_TEST_f_b): Likewise.
13678 (RUN_TEST_LOOP_f_b): Likewise.
13679 (RUN_TEST_f_b_tg): Likewise.
13680 (RUN_TEST_LOOP_f_b_tg): Likewise.
13681 (RUN_TEST_f_l): Likewise.
13682 (RUN_TEST_LOOP_f_l): Likewise.
13683 (RUN_TEST_f_L): Likewise.
13684 (RUN_TEST_LOOP_f_L): Likewise.
13685 (RUN_TEST_sincos): Likewise.
13686 (RUN_TEST_LOOP_sincos): Likewise.
13688 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13692 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13693 main case of finite arguments, set rounding mode to FE_TONEAREST
13694 and discard exceptions.
13695 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13697 (remainder_tonearest_test_data): New variable.
13698 (remainder_test_tonearest): New function.
13699 (remainder_towardzero_test_data): New variable.
13700 (remainder_test_towardzero): New function.
13701 (remainder_downward_test_data): New variable.
13702 (remainder_test_downward): New function.
13703 (remainder_upward_test_data): New variable.
13704 (remainder_test_upward): New function.
13705 (main): Call the new test functions.
13707 * math/libm-test.inc (struct test_f_f1_data): Remove field
13709 (struct test_fF_f1_data): Likewise.
13710 (struct test_ffI_f1_data): Likewise.
13711 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13712 based on value of EXTRA_EXPECTED.
13713 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13714 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13715 EXTRA_VAR based on value of EXTRA_EXPECTED.
13716 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13717 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13718 EXTRA_VAR based on value of EXTRA_EXPECTED.
13719 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13720 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13721 EXTRA_VAR based on value of EXTRA_EXPECTED.
13722 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13723 * math/gen-libm-test.pl (parse_args): Don't output initializers
13724 for extra output values.
13726 * math/libm-test.inc (check_int): Expect result to be exactly
13727 equal to expected value and do not handle ulps.
13728 (check_long): Likewise.
13729 (check_longlong): Likewise.
13731 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13733 (cimag_test_data): Likewise.
13734 (conj_test_data): Likewise.
13735 (copysign_test_data): Likewise.
13736 (cproj_test_data): Likewise.
13737 (creal_test_data): Likewise.
13738 (fabs_test_data): Likewise.
13739 (fdim_test_data): Likewise.
13740 (finite_test_data): Likewise.
13741 (floor_test_data): Likewise.
13742 (fmax_test_data): Likewise.
13743 (fmin_test_data): Likewise.
13744 (fmod_test_data): Likewise.
13745 (fpclassify_test_data): Likewise.
13746 (frexp_test_data): Likewise.
13747 (ilogb_test_data): Likewise.
13748 (isfinite_test_data): Likewise.
13749 (isgreater_test_data): Likewise.
13750 (isgreaterequal_test_data): Likewise.
13751 (isinf_test_data): Likewise.
13752 (isless_test_data): Likewise.
13753 (islessequal_test_data): Likewise.
13754 (islessgreater_test_data): Likewise.
13755 (isnan_test_data): Likewise.
13756 (isnormal_test_data): Likewise.
13757 (issignaling_test_data): Likewise.
13758 (isunordered_test_data): Likewise.
13759 (ldexp_test_data): Likewise.
13760 (lrint_test_data): Likewise.
13761 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13762 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13763 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13764 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13765 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13766 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13768 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13769 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13770 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13771 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13773 (lrint_downward_test_data): Test for "inexact" exceptions.
13774 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13775 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13776 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13778 (lrint_upward_test_data): Test for "inexact" exceptions.
13779 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13781 (llrint_test_data): Test for "inexact" exceptions.
13782 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13783 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13784 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13785 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13786 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13787 (llrint_downward_test_data): Test for "inexact" exceptions.
13788 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13789 (llrint_upward_test_data): Test for "inexact" exceptions.
13790 (logb_test_data): Likewise.
13791 (logb_downward_test_data): Likewise.
13792 (nextafter_test_data): Likewise.
13793 (nexttoward_test_data): Likewise.
13794 (remainder_test_data): Likewise.
13795 (remquo_test_data): Likewise.
13796 (scalbn_test_data): Likewise.
13797 (scalbln_test_data): Likewise.
13798 (signbit_test_data): Likewise.
13799 (sqrt_test_data): Likewise.
13800 (significand_test_data): Likewise.
13802 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13805 * benchtests/bench-modf.c (struct args): Mark arg0 as
13807 * scripts/bench.pl: Mark members of struct args as volatile.
13809 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13812 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13813 negative infinity on POWER6 or lower.
13814 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13816 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13819 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13820 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13821 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13822 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13823 (_FP_SETQNAN): New macro.
13824 (_FP_SETQNAN_SEMIRAW): Likewise.
13825 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13826 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13827 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13828 (FP_EXTEND): Use _FP_FRAC_SNANP.
13829 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13830 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13837 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13839 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13840 with DIVIDE_BY_ZERO_EXCEPTION.
13841 (gamma_test_data): Likewise.
13842 (lgamma_test_data): Likewise.
13843 (log_test_data): Likewise.
13844 (log10_test_data): Likewise.
13845 (log2_test_data): Likewise.
13846 (tgamma_test_data): Likewise.
13848 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13849 (acos_test_tonearest): Likewise.
13850 (acos_test_towardzero): Likewise.
13851 (acos_test_downward): Likewise.
13852 (acos_test_upward): Likewise.
13853 (acosh_test): Likewise.
13854 (asin_test): Likewise.
13855 (asin_test_tonearest): Likewise.
13856 (asin_test_towardzero): Likewise.
13857 (asin_test_downward): Likewise.
13858 (asin_test_upward): Likewise.
13859 (asinh_test): Likewise.
13860 (atan_test): Likewise.
13861 (atanh_test): Likewise.
13862 (atan2_test): Likewise.
13863 (cabs_test): Likewise.
13864 (cacos_test): Likewise.
13865 (cacosh_test): Likewise.
13866 (casin_test): Likewise.
13867 (casinh_test): Likewise.
13868 (catan_test): Likewise.
13869 (catanh_test): Likewise.
13870 (cbrt_test): Likewise.
13871 (ccos_test): Likewise.
13872 (ccosh_test): Likewise.
13873 (cexp_test): Likewise.
13874 (clog_test): Likewise.
13875 (clog10_test): Likewise.
13876 (cos_test): Likewise.
13877 (cos_test_tonearest): Likewise.
13878 (cos_test_towardzero): Likewise.
13879 (cos_test_downward): Likewise.
13880 (cos_test_upward): Likewise.
13881 (cosh_test): Likewise.
13882 (cosh_test_tonearest): Likewise.
13883 (cosh_test_towardzero): Likewise.
13884 (cosh_test_downward): Likewise.
13885 (cosh_test_upward): Likewise.
13886 (cpow_test): Likewise.
13887 (csin_test): Likewise.
13888 (csinh_test): Likewise.
13889 (csqrt_test): Likewise.
13890 (ctan_test): Likewise.
13891 (ctan_test_tonearest): Likewise.
13892 (ctan_test_towardzero): Likewise.
13893 (ctan_test_downward): Likewise.
13894 (ctan_test_upward): Likewise.
13895 (ctanh_test): Likewise.
13896 (ctanh_test_tonearest): Likewise.
13897 (ctanh_test_towardzero): Likewise.
13898 (ctanh_test_downward): Likewise.
13899 (ctanh_test_upward): Likewise.
13900 (erf_test): Likewise.
13901 (erfc_test): Likewise.
13902 (exp_test): Likewise.
13903 (exp_test_tonearest): Likewise.
13904 (exp_test_towardzero): Likewise.
13905 (exp_test_downward): Likewise.
13906 (exp_test_upward): Likewise.
13907 (exp10_test): Likewise.
13908 (exp2_test): Likewise.
13909 (expm1_test): Likewise.
13910 (fmod_test): Likewise.
13911 (gamma_test): Likewise.
13912 (hypot_test): Likewise.
13913 (j0_test): Likewise.
13914 (j1_test): Likewise.
13915 (jn_test): Likewise.
13916 (lgamma_test): Likewise.
13917 (log_test): Likewise.
13918 (log10_test): Likewise.
13919 (log1p_test): Likewise.
13920 (log2_test): Likewise.
13921 (logb_test_downward): Likewise.
13922 (pow_test): Likewise.
13923 (pow_test_tonearest): Likewise.
13924 (pow_test_towardzero): Likewise.
13925 (pow_test_downward): Likewise.
13926 (pow_test_upward): Likewise.
13927 (remainder_test): Likewise.
13928 (remquo_test): Likewise.
13929 (sin_test): Likewise.
13930 (sin_test_tonearest): Likewise.
13931 (sin_test_towardzero): Likewise.
13932 (sin_test_downward): Likewise.
13933 (sin_test_upward): Likewise.
13934 (sincos_test): Likewise.
13935 (sinh_test): Likewise.
13936 (sinh_test_tonearest): Likewise.
13937 (sinh_test_towardzero): Likewise.
13938 (sinh_test_downward): Likewise.
13939 (sinh_test_upward): Likewise.
13940 (sqrt_test): Likewise.
13941 (tan_test): Likewise.
13942 (tan_test_tonearest): Likewise.
13943 (tan_test_towardzero): Likewise.
13944 (tan_test_downward): Likewise.
13945 (tan_test_upward): Likewise.
13946 (tanh_test): Likewise.
13947 (tgamma_test): Likewise.
13948 (y0_test): Likewise.
13949 (y1_test): Likewise.
13950 (yn_test): Likewise.
13952 * math/gen-libm-test.pl (adjust_arg): Remove function.
13953 (special_function): Remove argument $in_func. Only handle
13954 generating output for tables of tests, not inside functions.
13955 (parse_args): Likewise.
13956 (generate_testfile): Remove variable $in_func. Update call to
13958 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13959 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13960 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13961 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13962 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13963 (MAX_VALUE_INIT): Rename macro to max_value.
13964 (MIN_VALUE_INIT): Rename macro to min_value.
13965 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13966 (plus_zero): Remove variable.
13967 (minus_zero): Likewise.
13968 (plus_infty): Likewise.
13969 (minus_infty): Likewise.
13970 (qnan_value): Likewise.
13971 (max_value): Likewise.
13972 (min_value): Likewise.
13973 (min_subnorm_value): Likewise.
13975 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13977 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13978 uint64_t or uint32_t usage.
13979 * crypt/sha256-block.c: Likewise.
13980 * crypt/sha256-crypt.c: Likewise.
13981 * crypt/sha256.c: Likewise.
13982 * crypt/sha512-block.c: Likewise.
13983 * crypt/sha512-crypt.c: Likewise.
13984 * crypt/sha512.c: Likewise.
13985 * debug/backtrace-tst.c: Likewise.
13986 * debug/pcprofiledump.c: Likewise.
13987 * elf/cache.c: Likewise.
13988 * elf/dl-cache.c: Likewise.
13989 * elf/dl-misc.c: Likewise.
13990 * elf/dl-profile.c: Likewise.
13991 * elf/dl-support.c: Likewise.
13992 * elf/ldconfig.c: Likewise.
13993 * elf/sprof.c: Likewise.
13994 * iconv/dummy-repertoire.c: Likewise.
13995 * iconv/iconv_charmap.c: Likewise.
13996 * iconv/skeleton.c: Likewise.
13997 * iconvdata/8bit-generic.c: Likewise.
13998 * iconvdata/cp737.h: Likewise.
13999 * iconvdata/cp775.h: Likewise.
14000 * iconvdata/ibm1008.h: Likewise.
14001 * iconvdata/ibm1025.h: Likewise.
14002 * iconvdata/ibm1046.h: Likewise.
14003 * iconvdata/ibm1097.h: Likewise.
14004 * iconvdata/ibm1112.h: Likewise.
14005 * iconvdata/ibm1122.h: Likewise.
14006 * iconvdata/ibm1123.h: Likewise.
14007 * iconvdata/ibm1124.h: Likewise.
14008 * iconvdata/ibm1129.h: Likewise.
14009 * iconvdata/ibm1130.h: Likewise.
14010 * iconvdata/ibm1132.h: Likewise.
14011 * iconvdata/ibm1133.h: Likewise.
14012 * iconvdata/ibm1137.h: Likewise.
14013 * iconvdata/ibm1140.h: Likewise.
14014 * iconvdata/ibm1141.h: Likewise.
14015 * iconvdata/ibm1142.h: Likewise.
14016 * iconvdata/ibm1143.h: Likewise.
14017 * iconvdata/ibm1144.h: Likewise.
14018 * iconvdata/ibm1145.h: Likewise.
14019 * iconvdata/ibm1146.h: Likewise.
14020 * iconvdata/ibm1147.h: Likewise.
14021 * iconvdata/ibm1148.h: Likewise.
14022 * iconvdata/ibm1149.h: Likewise.
14023 * iconvdata/ibm1153.h: Likewise.
14024 * iconvdata/ibm1154.h: Likewise.
14025 * iconvdata/ibm1155.h: Likewise.
14026 * iconvdata/ibm1156.h: Likewise.
14027 * iconvdata/ibm1157.h: Likewise.
14028 * iconvdata/ibm1158.h: Likewise.
14029 * iconvdata/ibm1160.h: Likewise.
14030 * iconvdata/ibm1161.h: Likewise.
14031 * iconvdata/ibm1162.h: Likewise.
14032 * iconvdata/ibm1163.h: Likewise.
14033 * iconvdata/ibm1164.h: Likewise.
14034 * iconvdata/ibm1166.h: Likewise.
14035 * iconvdata/ibm1167.h: Likewise.
14036 * iconvdata/ibm12712.h: Likewise.
14037 * iconvdata/ibm1390.h: Likewise.
14038 * iconvdata/ibm1399.h: Likewise.
14039 * iconvdata/ibm16804.h: Likewise.
14040 * iconvdata/ibm4517.h: Likewise.
14041 * iconvdata/ibm4899.h: Likewise.
14042 * iconvdata/ibm4909.h: Likewise.
14043 * iconvdata/ibm4971.h: Likewise.
14044 * iconvdata/ibm5347.h: Likewise.
14045 * iconvdata/ibm803.h: Likewise.
14046 * iconvdata/ibm856.h: Likewise.
14047 * iconvdata/ibm901.h: Likewise.
14048 * iconvdata/ibm902.h: Likewise.
14049 * iconvdata/ibm9030.h: Likewise.
14050 * iconvdata/ibm9066.h: Likewise.
14051 * iconvdata/ibm921.h: Likewise.
14052 * iconvdata/ibm922.h: Likewise.
14053 * iconvdata/ibm9448.h: Likewise.
14054 * iconvdata/isiri-3342.h: Likewise.
14055 * iconvdata/jis0201.h: Likewise.
14056 * include/link.h: Likewise.
14057 * include/netdb.h: Likewise.
14058 * inet/check_native.c: Likewise.
14059 * inet/check_pf.c: Likewise.
14060 * inet/getipv4sourcefilter.c: Likewise.
14061 * inet/getnameinfo.c: Likewise.
14062 * inet/getsourcefilter.c: Likewise.
14063 * inet/htonl.c: Likewise.
14064 * inet/setipv4sourcefilter.c: Likewise.
14065 * inet/setsourcefilter.c: Likewise.
14066 * inet/test-inet6_opt.c: Likewise.
14067 * inet/tst-network.c: Likewise.
14068 * locale/C-collate.c: Likewise.
14069 * locale/C-ctype.c: Likewise.
14070 * locale/C-time.c: Likewise.
14071 * locale/C-translit.h: Likewise.
14072 * locale/loadarchive.c: Likewise.
14073 * locale/programs/3level.h: Likewise.
14074 * locale/programs/charmap.c: Likewise.
14075 * locale/programs/charmap.h: Likewise.
14076 * locale/programs/ld-address.c: Likewise.
14077 * locale/programs/ld-collate.c: Likewise.
14078 * locale/programs/ld-ctype.c: Likewise.
14079 * locale/programs/ld-identification.c: Likewise.
14080 * locale/programs/ld-measurement.c: Likewise.
14081 * locale/programs/ld-messages.c: Likewise.
14082 * locale/programs/ld-monetary.c: Likewise.
14083 * locale/programs/ld-name.c: Likewise.
14084 * locale/programs/ld-numeric.c: Likewise.
14085 * locale/programs/ld-paper.c: Likewise.
14086 * locale/programs/ld-telephone.c: Likewise.
14087 * locale/programs/ld-time.c: Likewise.
14088 * locale/programs/linereader.c: Likewise.
14089 * locale/programs/locale.c: Likewise.
14090 * locale/programs/locarchive.c: Likewise.
14091 * locale/programs/locfile.h: Likewise.
14092 * locale/programs/repertoire.c: Likewise.
14093 * locale/programs/simple-hash.c: Likewise.
14094 * locale/programs/simple-hash.h: Likewise.
14095 * malloc/memusage.c: Likewise.
14096 * malloc/memusagestat.c: Likewise.
14097 * nis/nis_defaults.c: Likewise.
14098 * nis/nis_hash.c: Likewise.
14099 * nis/nis_print.c: Likewise.
14100 * nis/nis_xdr.c: Likewise.
14101 * nscd/connections.c: Likewise.
14102 * nscd/hstcache.c: Likewise.
14103 * nscd/nscd_gethst_r.c: Likewise.
14104 * nscd/nscd_getserv_r.c: Likewise.
14105 * nscd/nscd_helper.c: Likewise.
14106 * nscd/servicescache.c: Likewise.
14107 * nss/makedb.c: Likewise.
14108 * nss/nss_db/db-XXX.c: Likewise.
14109 * nss/nss_db/db-initgroups.c: Likewise.
14110 * nss/nss_db/db-netgrp.c: Likewise.
14111 * nss/nss_files/files-network.c: Likewise.
14112 * nss/nss_files/files-parse.c: Likewise.
14113 * posix/bug-regex5.c: Likewise.
14114 * posix/fnmatch_loop.c: Likewise.
14115 * posix/regcomp.c: Likewise.
14116 * posix/regexec.c: Likewise.
14117 * posix/tst-rfc3484-2.c: Likewise.
14118 * posix/tst-rfc3484-3.c: Likewise.
14119 * posix/tst-rfc3484.c: Likewise.
14120 * resolv/nss_dns/dns-canon.c: Likewise.
14121 * resolv/nss_dns/dns-network.c: Likewise.
14122 * resolv/res_init.c: Likewise.
14123 * resolv/res_mkquery.c: Likewise.
14124 * resolv/tst-aton.c: Likewise.
14125 * stdlib/cxa_atexit.c: Likewise.
14126 * stdlib/cxa_finalize.c: Likewise.
14127 * stdlib/gen-fpioconst.c: Likewise.
14128 * stdlib/strtol_l.c: Likewise.
14129 * string/tst-endian.c: Likewise.
14130 * sunrpc/auth_des.c: Likewise.
14131 * sunrpc/clnt_udp.c: Likewise.
14132 * sunrpc/rtime.c: Likewise.
14133 * sunrpc/svcauth_des.c: Likewise.
14134 * sunrpc/xdr.c: Likewise.
14135 * sunrpc/xdr_intXX_t.c: Likewise.
14136 * sunrpc/xdr_rec.c: Likewise.
14137 * sysdeps/generic/ldconfig.h: Likewise.
14138 * sysdeps/generic/ldsodefs.h: Likewise.
14139 * sysdeps/generic/memusage.h: Likewise.
14140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14150 * sysdeps/posix/getaddrinfo.c: Likewise.
14151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14155 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14156 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14157 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14158 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14159 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14161 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14162 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14163 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14164 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14165 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14166 * sysdeps/x86_64/dl-tls.h: Likewise.
14167 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14168 * time/alt_digit.c: Likewise.
14169 * time/era.c: Likewise.
14170 * wcsmbs/tst-c16c32-1.c: Likewise.
14172 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14174 * math/libm-test.inc (struct test_sincos_data): New type.
14175 (RUN_TEST_LOOP_sincos): New macro.
14176 (sincos_test_data): New variable.
14177 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14179 2013-05-16 Richard Henderson <rth@redhat.com>
14181 * math/atest-exp2.c (LIMB64): New macro.
14182 (CONSTSZ): New macro.
14183 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14185 (print_mpn_fp): ... to function scope.
14186 (read_mpn_hex): Remove.
14187 (get_log2): Remove.
14188 (exp2_mpn): Use mp_log2.
14189 (main): Use mp_exp1.
14191 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14193 * math/libm-test.inc: Remove comment about not testing "inexact"
14195 (INEXACT_EXCEPTION): New macro.
14196 (NO_INEXACT_EXCEPTION): Likewise.
14197 (INVALID_EXCEPTION_OK): Update value.
14198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14199 (OVERFLOW_EXCEPTION_OK): Likewise.
14200 (UNDERFLOW_EXCEPTION_OK): Likewise.
14201 (IGNORE_ZERO_INF_SIGN): Likewise.
14202 (ERRNO_UNCHANGED): Likewise.
14203 (ERRNO_EDOM): Likewise.
14204 (ERRNO_ERANGE): Likewise.
14205 (test_exceptions): Handle testing "inexact" exceptions.
14206 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14207 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14208 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14209 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14211 (rint_towardzero_test_data): Likewise.
14212 (rint_downward_test_data): Likewise.
14213 (rint_upward_test_data): Likewise.
14215 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14216 with OVERFLOW_EXCEPTION.
14217 (exp10_test_data): Likewise.
14218 (exp2_test_data): Likewise.
14219 (expm1_test_data): Likewise.
14220 (lgamma_test_data): Likewise.
14221 (pow_test_data): Likewise.
14222 (tgamma_test_data): Likewise.
14223 (yn_test_data): Remove duplicate test of overflow.
14225 * math/libm-test.inc (struct test_cc_c_data): New type.
14226 (RUN_TEST_LOOP_cc_c): New macro.
14227 (cpow_test_data): New variable.
14228 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14230 * math/libm-test.inc (struct test_f_L_data): New type.
14231 (RUN_TEST_LOOP_f_L): New macro.
14232 (llrint_test_data): New variable.
14233 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14234 (llrint_tonearest_test_data): New variable.
14235 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14236 (llrint_towardzero_test_data): New variable.
14237 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14238 (llrint_downward_test_data): New variable.
14239 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14240 (llrint_upward_test_data): New variable.
14241 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14242 (llround_test_data): New variable.
14243 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14245 2013-05-13 Peter Collingbourne <pcc@google.com>
14247 * math/atest-exp2.c (get_log2): Remove const attribute.
14249 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14251 * math/libm-test.inc (struct test_f_l_data): New type.
14252 (RUN_TEST_LOOP_f_l): New macro.
14253 (lrint_test_data): New variable.
14254 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14255 (lrint_tonearest_test_data): New variable.
14256 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14257 (lrint_towardzero_test_data): New variable.
14258 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14259 (lrint_downward_test_data): New variable.
14260 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14261 (lrint_upward_test_data): New variable.
14262 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14263 (lround_test_data): New variable.
14264 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14266 2013-05-15 Peter Collingbourne <pcc@google.com>
14268 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14269 (EXTRACT_WORDS64) Use where appropriate.
14270 (INSERT_WORDS64) Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14273 constraints with x constraints.
14274 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14276 * malloc/obstack.c (_obstack_compat): Add initializer.
14278 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14281 si_trapno and add si_addr_lsb to _sifields.sigfault.
14282 (si_trapno): Remove macro.
14283 (si_addr_lsb): Define new macro.
14284 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14286 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14288 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14289 instead of TEST_f_l.
14290 (llrint_test_tonearest): Likewise.
14291 (llrint_test_towardzero): Likewise.
14292 (llrint_test_downward): Likewise.
14293 (llrint_test_upward): Likewise.
14294 (llround_test): Likewise.
14296 * math/libm-test.inc (struct test_f_i_data): Add comment.
14297 (RUN_TEST_LOOP_f_b): New macro.
14298 (RUN_TEST_LOOP_f_b_tg): Likewise.
14299 (finite_test_data): New variable.
14300 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14301 (isfinite_test_data): New variable.
14302 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14303 (isinf_test_data): New variable.
14304 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14305 (isnan_test_data): New variable.
14306 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14307 (isnormal_test_data): New variable.
14308 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14309 (issignaling_test_data): New variable.
14310 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14311 (signbit_test_data): New variable.
14312 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14314 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14315 with INVALID_EXCEPTION.
14316 (acosh_test_data): Likewise.
14317 (asin_test_data): Likewise.
14318 (atanh_test_data): Likewise.
14319 (fmod_test_data): Likewise.
14320 (log_test_data): Likewise.
14321 (log10_test_data): Likewise.
14322 (log2_test_data): Likewise.
14323 (pow_test_data): Likewise.
14324 (sqrt_test_data): Likewise.
14325 (y0_test_data): Likewise.
14326 (y1_test_data): Likewise.
14327 (yn_test_data): Likewise.
14329 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14332 * math/libm-test.inc (struct test_ff_i_data): New type.
14333 (RUN_TEST_LOOP_ff_i_tg): New macro.
14334 (isgreater_test_data): New variable.
14335 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14336 (isgreaterequal_test_data): New variable.
14337 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14338 (isless_test_data): New variable.
14339 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14340 (islessequal_test_data): New variable.
14341 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14342 (islessgreater_test_data): New variable.
14343 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14344 (isunordered_test_data): New variable.
14345 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14347 2013-05-14 David S. Miller <davem@davemloft.net>
14349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14351 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14353 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14355 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14357 (struct test_f_i_data): Change type of max_ulp to int.
14359 * math/libm-test.inc (test_ffI_f1_data): New type.
14360 (RUN_TEST_LOOP_ffI_f1): New macro.
14361 (remquo_test_data): New variable.
14362 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14364 * setjmp/tst-setjmp-fp.c: New file.
14365 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14366 (link-libm): New variable.
14367 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14369 * math/libm-test.inc (struct test_f_i_data): New type.
14370 (RUN_TEST_LOOP_f_i): New macro.
14371 (RUN_TEST_LOOP_f_i_tg): Likewise.
14372 (fpclassify_test_data): New variable.
14373 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14374 (ilogb_test_data): New variable.
14375 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14377 * math/libm-test.inc (scalbln_test): Correct function name in END
14380 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14381 (RUN_TEST_LOOP_fI_f1): New macro.
14382 (frexp_test_data): New variable.
14383 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14385 * math/libm-test.inc (struct test_fF_f1_data): New type.
14386 (RUN_TEST_LOOP_fF_f1): New macro.
14387 (modf_test_data): New variable.
14388 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14390 * math/libm-test.inc (struct test_f_f1_data): New type.
14391 (RUN_TEST_LOOP_f_f1): New macro.
14392 (gamma_test_data): New variable.
14393 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14394 (lgamma_test_data): New variable.
14395 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14397 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14399 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14400 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14401 (main): Comment "tls" pseudo-hwcap.
14403 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14405 * math/libm-test.inc (struct test_fl_f_data): New type.
14406 (RUN_TEST_LOOP_fl_f): New variable.
14407 (scalbln_test_data): New variable.
14408 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14410 * math/libm-test.inc (struct test_fi_f_data): New type.
14411 (RUN_TEST_LOOP_fi_f): New macro.
14412 (ldexp_test_data): New variable.
14413 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14414 (scalbn_test_data): New variable.
14415 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14417 * math/libm-test.inc (struct test_c_f_data): New type.
14418 (RUN_TEST_LOOP_c_f): New macro.
14419 (cabs_test_data): New variable.
14420 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14421 (carg_test_data): New variable.
14422 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14423 (cimag_test_data): New variable.
14424 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14425 (creal_test_data): New variable.
14426 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14428 * math/libm-test.inc (struct test_if_f_data): New type.
14429 (RUN_TEST_LOOP_if_f): New macro.
14430 (jn_test_data): New variable.
14431 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14432 (yn_test_data): New variable.
14433 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14435 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14437 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14439 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14440 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14442 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14444 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14445 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14446 (bench-deps): Add bench-timing.h.
14447 * benchtests-bench-skeleton.c: Include bench-timing.h.
14448 (main): Use TIMING_* macros instead of clock_gettime.
14449 * benchtests/bench-timing.h: New file.
14452 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14453 Renamed from _LIB_VERSION.
14454 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14456 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14458 * math/libm-test.inc (struct test_fff_f_data): New type.
14459 (RUN_TEST_LOOP_fff_f): New macro.
14460 (fma_test_data): New variable.
14461 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14462 (fma_towardzero_test_data): New variable.
14463 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14464 (fma_downward_test_data): New variable.
14465 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14466 (fma_upward_test_data): New variable.
14467 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14469 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14470 (struct test_c_c_data): New type.
14471 (RUN_TEST_LOOP_c_c): New macro.
14472 (cacos_test_data): New variable.
14473 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14474 (cacosh_test_data): New variable.
14475 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14476 (casin_test_data): New variable.
14477 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14478 (casinh_test_data): New variable.
14479 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14480 (catan_test_data): New variable.
14481 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14482 (catanh_test_data): New variable.
14483 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14484 (ccos_test_data): New variable.
14485 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14486 (ccosh_test_data): New variable.
14487 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14488 (cexp_test_data): New variable.
14489 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14490 (clog_test_data): New variable.
14491 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14492 (clog10_test_data): New variable.
14493 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14494 (conj_test_data): New variable.
14495 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14496 (cproj_test_data): New variable.
14497 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14498 (csin_test_data): New variable.
14499 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14500 (csinh_test_data): New variable.
14501 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14502 (csqrt_test_data): New variable.
14503 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14504 (ctan_test_data): New variable.
14505 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14506 (ctan_tonearest_test_data): New variable.
14507 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14508 (ctan_towardzero_test_data): New variable.
14509 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14510 (ctan_downward_test_data): New variable.
14511 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14512 (ctan_upward_test_data): New variable.
14513 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14514 (ctanh_test_data): New variable.
14515 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14516 (ctanh_tonearest_test_data): New variable.
14517 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14518 (ctanh_towardzero_test_data): New variable.
14519 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14520 (ctanh_downward_test_data): New variable.
14521 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14522 (ctanh_upward_test_data): New variable.
14523 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14524 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14527 * math/libm-test.inc (struct test_ff_f_data): New type.
14528 (struct test_ff_f_data_nexttoward): Likewise.
14529 (RUN_TEST_LOOP_2_f): New macro.
14530 (RUN_TEST_LOOP_ff_f): Likewise.
14531 (atan2_test_data): New variable.
14532 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14533 (copysign_test_data): New variable.
14534 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14535 (fdim_test_data): New variable.
14536 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14537 (fmax_test_data): New variable.
14538 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14539 (fmin_test_data): New variable.
14540 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14541 (fmod_test_data): New variable.
14542 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14543 (hypot_test_data): New variable.
14544 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14545 (nextafter_test_data): New variable.
14546 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14547 (nexttoward_test_data): New variable.
14548 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14549 (pow_test_data): New variable.
14550 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14551 (pow_tonearest_test_data): New variable.
14552 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14553 (pow_towardzero_test_data): New variable.
14554 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14555 (pow_downward_test_data): New variable.
14556 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14557 (pow_upward_test_data): New variable.
14558 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14559 (remainder_test_data): New variable.
14560 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14561 (scalb_test_data): New variable.
14562 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14563 * sysdeps/i386/fpu/libm-test-ulps: Update.
14565 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14567 * math/libm-test.inc (fma_test): Use max_value instead of local
14569 (nextafter_test): Likewise.
14571 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14572 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14573 (acos_downward_test_data): New variable.
14574 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14575 (acos_upward_test_data): New variable.
14576 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14577 (acosh_test_data): New variable.
14578 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14579 (asin_test_data): New variable.
14580 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14581 (asin_tonearest_test_data): New variable.
14582 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14583 (asin_towardzero_test_data): New variable.
14584 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14585 (asin_downward_test_data): New variable.
14586 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14587 (asin_upward_test_data): New variable.
14588 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14589 (asinh_test_data): New variable.
14590 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14591 (atan_test_data): New variable.
14592 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14593 (atanh_test_data): New variable.
14594 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14595 (cbrt_test_data): New variable.
14596 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14597 (ceil_test_data): New variable.
14598 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14599 (cos_test_data): New variable.
14600 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14601 (cos_tonearest_test_data): New variable.
14602 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14603 (cos_towardzero_test_data): New variable.
14604 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14605 (cos_downward_test_data): New variable.
14606 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14607 (cos_upward_test_data): New variable.
14608 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14609 (cosh_test_data): New variable.
14610 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14611 (cosh_tonearest_test_data): New variable.
14612 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14613 (cosh_towardzero_test_data): New variable.
14614 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14615 (cosh_downward_test_data): New variable.
14616 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14617 (cosh_upward_test_data): New variable.
14618 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14619 (erf_test_data): New variable.
14620 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14621 (erfc_test_data): New variable.
14622 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14623 (exp_test_data): New variable.
14624 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14625 (exp_tonearest_test_data): New variable.
14626 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14627 (exp_towardzero_test_data): New variable.
14628 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14629 (exp_downward_test_data): New variable.
14630 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14631 (exp_upward_test_data): New variable.
14632 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14633 (exp10_test_data): New variable.
14634 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14635 (exp2_test_data): New variable.
14636 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14637 (expm1_test_data): New variable.
14638 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (fabs_test_data): New variable.
14640 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (floor_test_data): New variable.
14642 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (j0_test_data): New variable.
14644 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14645 (j1_test_data): New variable.
14646 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14647 (log_test_data): New variable.
14648 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14649 (log10_test_data): New variable.
14650 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14651 (log1p_test_data): New variable.
14652 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (log2_test_data): New variable.
14654 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14655 (logb_test_data): New variable.
14656 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14657 (logb_downward_test_data): New variable.
14658 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14659 (nearbyint_test_data): New variable.
14660 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14661 (rint_test_data): New variable.
14662 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14663 (rint_tonearest_test_data): New variable.
14664 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14665 (rint_towardzero_test_data): New variable.
14666 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14667 (rint_downward_test_data): New variable.
14668 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14669 (rint_upward_test_data): New variable.
14670 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14671 (round_test_data): New variable.
14672 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14673 (sin_test_data): New variable.
14674 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14675 (sin_tonearest_test_data): New variable.
14676 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14677 (sin_towardzero_test_data): New variable.
14678 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14679 (sin_downward_test_data): New variable.
14680 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14681 (sin_upward_test_data): New variable.
14682 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14683 (sinh_test_data): New variable.
14684 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14685 (sinh_tonearest_test_data): New variable.
14686 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14687 (sinh_towardzero_test_data): New variable.
14688 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14689 (sinh_downward_test_data): New variable.
14690 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14691 (sinh_upward_test_data): New variable.
14692 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14693 (sqrt_test_data): New variable.
14694 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14695 (tan_test_data): New variable.
14696 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14697 (tan_tonearest_test_data): New variable.
14698 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14699 (tan_towardzero_test_data): New variable.
14700 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14701 (tan_downward_test_data): New variable.
14702 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14703 (tan_upward_test_data): New variable.
14704 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14705 (tanh_test_data): New variable.
14706 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (tgamma_test_data): New variable.
14708 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14709 (trunc_test_data): New variable.
14710 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14711 (y0_test_data): New variable.
14712 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14713 (y1_test_data): New variable.
14714 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14715 (significand_test_data): New variable.
14716 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14718 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14721 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14723 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14725 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14727 2013-05-10 Andreas Jaeger <aj@suse.de>
14730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14731 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14733 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14735 * math/gen-libm-test.pl (adjust_arg): New function.
14736 (special_functions): Handle generating output in both functions
14738 (parse_args): Likewise.
14739 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14740 $in_func argument to parse_args.
14741 * math/libm-test.inc (struct test_f_f_data): New type.
14742 (IF_ROUND_INIT_): New macro.
14743 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14744 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14745 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14746 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14747 (ROUND_RESTORE_): Likewise.
14748 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14749 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14750 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14751 (ROUND_RESTORE_FE_UPWARD): Likewise.
14752 (RUN_TEST_LOOP_f_f): New macro.
14753 (acos_test_data): New variable.
14754 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14755 (acos_tonearest_test_data): New variable.
14756 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14758 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14760 * benchtests/bench-skeleton.c (startup): Fix coding style.
14762 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14765 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14766 negative infinity argument.
14767 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14768 negative infinity argument.
14769 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14770 negative infinity argument.
14771 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14774 2013-05-10 Florian Weimer <fweimer@redhat.com>
14776 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14777 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14778 * iconv/iconv_prog.c (main): Likewise.
14779 * locale/programs/charmap-dir.c (charmap_readdir)
14780 (fopen_uncompressed): Likewise.
14781 * locale/programs/locfile.c (siblings_uncached)
14782 (write_locale_data): Use lstat64 instead of lstat.
14783 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14786 2013-05-10 Andreas Jaeger <aj@suse.de>
14789 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14791 Include <locale.h>.
14793 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14795 * elf/dl-close.c (_dl_close_worker): Add comments.
14797 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14800 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14802 (__ieee754_rem_pio2l): Update comments.
14805 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14807 (__ieee754_rem_pio2l): Update comments.
14809 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14810 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14812 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14815 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14816 (M_PI_34_LOG10El): Likewise.
14817 (M_PI2_LOG10El): Likewise.
14818 (M_PI4_LOG10El): Likewise.
14819 (M_PI_LOG10El): Likewise.
14821 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14825 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14827 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14828 (MINUS_ZERO_INIT): Likewise.
14829 (PLUS_INFTY_INIT): Likewise.
14830 (MINUS_INFTY_INIT): Likewise.
14831 (QNAN_VALUE_INIT): Likewise.
14832 (MAX_VALUE_INIT): Likewise.
14833 (MIN_VALUE_INIT): Likewise.
14834 (MIN_SUBNORM_VALUE_INIT): Likewise.
14835 (plus_zero): Initialize with PLUS_ZERO_INIT.
14836 (minus_zero): Initialize with MINUS_ZERO_INIT.
14837 (plus_infty): Initialize with PLUS_INFTY_INIT.
14838 (minus_infty): Initialize with MINUS_INFTY_INIT.
14839 (qnan_value): Initialize with QNAN_VALUE_INIT.
14840 (max_value): Initialize with MAX_VALUE_INIT.
14841 (min_value): Initialize with MIN_VALUE_INIT.
14842 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14844 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14845 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14846 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14847 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14849 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14850 (RUN_TEST_2_f): Likewise.
14851 (RUN_TEST_ff_f): Likewise.
14852 (RUN_TEST_fi_f): Likewise.
14853 (RUN_TEST_fl_f): Likewise.
14854 (RUN_TEST_fff_f): Likewise.
14855 (RUN_TEST_c_f): Likewise.
14856 (RUN_TEST_f_f1): Likewise.
14857 (RUN_TEST_fF_f1): Likewise.
14858 (RUN_TEST_fI_f1): Likewise.
14859 (RUN_TEST_ffI_f1): Likewise.
14860 (RUN_TEST_c_c): Likewise.
14861 (RUN_TEST_cc_c): Likewise.
14862 (RUN_TEST_f_i): Likewise.
14863 (RUN_TEST_f_i_tg): Likewise.
14864 (RUN_TEST_ff_i_tg): Likewise.
14865 (RUN_TEST_f_b): Likewise.
14866 (RUN_TEST_f_b_tg): Likewise.
14867 (RUN_TEST_f_l): Likewise.
14868 (RUN_TEST_f_L): Likewise.
14869 (RUN_TEST_sincos): Likewise.
14870 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14871 whether to show exceptions. Do not include ");\n" in return
14873 (special_functions): Output call to RUN_TEST_sincos instead of
14874 check_float calls. Update calls to new_test.
14875 (parse_args): Output call to single RUN_TEST_* macro instead of
14876 check_* calls and other assignments. Update calls to new_test.
14882 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14883 input to result for tgamma overflow.
14884 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14885 (gamma_coeff): New variable.
14886 (NCOEFF): New macro.
14887 (gamma_positive): New function.
14888 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14889 underflow here. Use gamma_positive instead of exp (lgamma) for
14891 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14892 (gamma_coeff): New variable.
14893 (NCOEFF): New macro.
14894 (gammaf_positive): New function.
14895 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14896 underflow here. Use gamma_positive instead of exp (lgamma) for
14898 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14899 (gamma_coeff): New variable.
14900 (NCOEFF): New macro.
14901 (gammal_positive): New function.
14902 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14903 underflow here. Use gamma_positive instead of exp (lgamma) for
14905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14906 (gamma_coeff): New variable.
14907 (NCOEFF): New macro.
14908 (gammal_positive): New function.
14909 (__ieee754_gammal_r): Handle positive infinity, overflow and
14910 underflow here. Handle NaN the same as positive infinity. Remove
14911 check x < 0xffffffff for negative integers. Use gamma_positive
14912 instead of exp (lgamma) for other arguments.
14913 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14914 (gamma_coeff): New variable.
14915 (NCOEFF): New macro.
14916 (gammal_positive): New function.
14917 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14918 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14923 * sysdeps/generic/math_private.h (__gamma_productf): New
14925 (__gamma_product): Likewise.
14926 (__gamma_productl): Likewise.
14927 * math/Makefile (libm-calls): Add gamma_product.
14928 * math/libm-test.inc (tgamma_test): Add more tests.
14929 * sysdeps/i386/fpu/libm-test-ulps: Update.
14930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14932 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14934 * benchtests/bench-skeleton.c (main): Preheat CPU.
14936 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14938 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14940 2013-05-07 Roland McGrath <roland@hack.frob.com>
14942 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14943 and _dl_skip_args_internal.
14945 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14947 * manual/message.texi (Message Translation): Talk about users.
14948 Message to key mapping impacts design.
14950 2013-05-06 Roland McGrath <roland@hack.frob.com>
14952 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14954 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14956 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14957 * sysdeps/wordsize-64/glob64.c: ... here.
14959 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14960 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14963 * debug/getlogin_r_chk.c: Moved to ...
14964 * login/getlogin_r_chk.c: ... here.
14965 * debug/Makefile (routines): Move getlogin_r_chk to ...
14966 * login/Makefile (routines): ... here.
14967 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14968 * login/Versions (libc: GLIBC_2.4): ... here.
14970 * io/poll.c (__poll): Renamed from poll.
14971 Add libc_hidden_def.
14972 (poll): Define as weak alias.
14974 * debug/ptsname_r_chk.c: Moved to ...
14975 * login/ptsname_r_chk.c: ... here.
14976 * debug/Makefile (routines): Move ptsname_r_chk to ...
14977 * login/Makefile (routines): ... here.
14978 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14979 * login/Versions (libc: GLIBC_2.4): ... here.
14981 * posix/getlogin.c: Moved to ...
14982 * login/getlogin.c: ... here.
14983 * posix/getlogin_r.c: Moved to ...
14984 * login/getlogin_r.c: ... here.
14985 * posix/getlogin_r.c: Moved to ...
14986 * login/getlogin_r.c: ... here.
14987 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14988 * login/Makefile (routines): ... here.
14989 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14990 * login/Versions (libc: GLIBC_2.0): ... here.
14992 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14993 (setrlimit): Define as weak alias.
14995 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14996 Call __ names for open, ftruncate, and close.
14997 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14998 (truncate): Define as weak alias.
15000 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15002 * math/gen-libm-test.pl (parse_args): Initialize x before each
15003 test of frexp, modf and remquo.
15005 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15006 test signgam value.
15008 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15012 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15014 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15016 2013-05-06 Roland McGrath <roland@hack.frob.com>
15018 * elf/dl-writev.h: New file.
15019 * elf/dl-misc.c: Include it.
15020 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15021 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15023 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15025 * math/libm-test.inc (noXFails): Remove variable.
15026 (noXPasses): Likewise.
15027 (BUILD_COMPLEX_INT): Remove macro.
15028 (print_screen): Remove xfail argument.
15029 (print_screen_max_error): Likewise.
15030 (update_stats): Likewise.
15031 (print_max_error): Likewise. Update calls to other affected
15033 (print_complex_max_error): Likewise.
15034 (test_single_exception): Update calls to print_screen.
15035 (test_single_errno): Likewise.
15036 (check_float_internal): Remove xfail argument. Update calls to
15037 other affected functions.
15038 (check_float): Likewise.
15039 (check_complex): Likewise.
15040 (check_int): Likewise.
15041 (check_long): Likewise.
15042 (check_bool): Likewise.
15043 (check_longlong): Likewise.
15044 (main): Don't print noXFails and noXPasses.
15045 * math/gen-libm-test.pl (top level): Don't mention expected
15046 failure handling in comment.
15047 (new_test): Don't handle expected failures.
15048 (parse_args): Don't mention expected failure handling in comment.
15049 (generate_testfile): Don't handle expected failures.
15050 (parse_ulps): Likewise.
15051 (print_ulps_file): Likewise.
15052 (get_failure): Remove function.
15053 (output_test): Don't handle expected failures.
15054 * make/README.libm-test: Don't mention expected failure handling.
15056 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15057 (minus_zero): Likewise.
15058 (plus_infty): Likewise.
15059 (minus_infty): Likewise.
15060 (qnan_value): Likewise.
15061 (max_value): Likewise.
15062 (min_value): Likewise.
15063 (min_subnorm_value): Likewise.
15064 (initialize): Do not initialize those variables dynamically.
15066 2013-05-03 Roland McGrath <roland@hack.frob.com>
15068 * io/open.c (__open_2): Moved to ...
15069 * io/open_2.c: ... this new file.
15070 * io/open64.c (__open64_2): Moved to ...
15071 * io/open64_2.c: ... this new file.
15072 * io/openat.c (__openat_2): Moved to ...
15073 * io/openat_2.c: ... this new file.
15074 * io/openat64.c (__openat64_2): Moved to ...
15075 * io/openat64_2.c: ... this new file.
15076 * io/Makefile (routines): Add them.
15077 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15078 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15079 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15080 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15081 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15082 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15083 (__openat64): Add hidden_ver.
15084 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15085 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15087 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15088 Separately conditionalize setting of GLRO(dl_sysinfo) so
15089 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15090 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15092 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15094 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15097 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15098 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15099 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15100 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15101 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15103 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15105 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15106 test signgam value.
15108 * math/libm-test.inc (hypot_test): Do not use
15109 IGNORE_ZERO_INF_SIGN.
15111 2013-05-03 Andreas Jaeger <aj@suse.de>
15113 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15115 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15116 (PF_MAX): Adjust for VSOCK change.
15118 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15122 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15125 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15126 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15127 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15129 2013-05-02 David S. Miller <davem@davemloft.net>
15131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15133 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15135 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15137 2013-05-01 Roland McGrath <roland@hack.frob.com>
15139 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15141 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15144 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15145 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15146 Use __attribute__ ((__gnu_inline__)).
15147 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15148 Don't use __attribute__ ((__gnu_inline__)).
15150 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15153 * math/s_catan.c (__catan): Handle small real or imaginary part of
15154 input specially to avoid spurious underflow.
15155 * math/s_catanf.c (__catanf): Likewise.
15156 * math/s_catanh.c (__catanh): Likewise.
15157 * math/s_catanhf.c (__catanhf): Likewise.
15158 * math/s_catanhl.c (__catanhl): Likewise.
15159 * math/s_catanl.c (__catanl): Likewise.
15160 * math/libm-test.inc (catan_test): Add more tests.
15161 (catanh_test): Likewise.
15162 * sysdeps/i386/fpu/libm-test-ulps: Update.
15163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15165 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15169 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15172 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15173 accurately for denominator in atan2.
15174 * math/s_catanf.c (__catanf): Likewise.
15175 * math/s_catanh.c (__catanh): Likewise.
15176 * math/s_catanhf.c (__catanhf): Likewise.
15177 * math/s_catanhl.c (__catanhl): Likewise.
15178 * math/s_catanl.c (__catanl): Likewise.
15179 * math/libm-test.inc (catan_test): Add more tests.
15180 (catanh_test): Likewise.
15181 * sysdeps/i386/fpu/libm-test-ulps: Update.
15182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15184 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15186 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15188 * benchtests/Makefile (bench): Remove slow benchmarks.
15189 * benchtests/atan-inputs: Add slow benchmark inputs.
15190 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15191 (BENCH_FUNC): Accept variant offset.
15193 * benchtests/bench-skeleton.c (main): Run benchmark for each
15195 * benchtests/cos-inputs: Add slow benchmark inputs.
15196 * benchtests/exp-inputs: Likewise.
15197 * benchtests/pow-inputs: Likewise.
15198 * benchtests/sin-inputs: Likewise.
15199 * benchtests/slowatan-inputs: Remove.
15200 * benchtests/slowatan.c: Remove.
15201 * benchtests/slowcos-inputs: Remove.
15202 * benchtests/slowcos.c: Remove.
15203 * benchtests/slowexp-inputs: Remove.
15204 * benchtests/slowexp.c: Remove.
15205 * benchtests/slowpow-inputs: Remove.
15206 * benchtests/slowpow.c: Remove.
15207 * benchtests/slowsin-inputs: Remove.
15208 * benchtests/slowsin.c: Remove.
15209 * benchtests/slowtan-inputs: Remove.
15210 * benchtests/slowtan.c: Remove.
15211 * benchtests/tan-inputs: Add slow benchmark inputs.
15212 * scripts/bench.pl: Parse comments and directives.
15214 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15216 ($(objpfx)bench-%.c): Remove *-ITER.
15217 * benchtests/bench-modf.c: Remove definition of ITER.
15218 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15219 (main): Loop for DURATION seconds instead of fixed number of
15221 * scripts/bench.pl: Don't expect iterations in parameters.
15223 2013-04-29 Roland McGrath <roland@hack.frob.com>
15225 * io/fchdir.c (__fchdir): Renamed from fchdir.
15226 (fchdir): Define as weak alias.
15228 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15230 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15231 (ERRNO_EDOM): Likewise.
15232 (ERRNO_ERANGE): Likewise.
15233 (noErrnoTests): New variable.
15234 (init_max_error): Set errno to 0.
15235 (test_single_errno): New function.
15236 (test_errno): Likewise.
15237 (check_float_internal): Call test_errno. Set errno to 0.
15238 (check_complex): Refer to errno tests in comment.
15239 (check_int): Call test_errno. Set errno to 0.
15240 (check_long): Likewise.
15241 (check_bool): Likewise.
15242 (check_longlong): Likewise.
15243 (cos_test): Use ERRNO_* flags for errno tests instead of
15245 (expm1_test): Likewise.
15246 (fmod_test): Likewise.
15247 (ilogb_test): Likewise.
15248 (lgamma_test): Likewise.
15249 (pow_test): Likewise.
15250 (remainder_test): Likewise.
15251 (sin_test): Likewise.
15252 (tan_test): Likewise.
15253 (yn_test): Likewise.
15254 (initialize): Set errno to 0.
15255 (main): Print number of errno tests.
15256 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15258 2013-04-29 Andreas Jaeger <aj@suse.de>
15261 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15265 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15266 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15270 * stdlib/random.c (__initstate): Return NULL if
15274 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15275 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15278 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15282 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15284 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15285 of individual tests.
15286 (casin_test): Likewise.
15287 (casinh_test): Likewise.
15289 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15292 * math/s_catan.c (__catan): Handle arguments with large real or
15293 imaginary part separately without squaring.
15294 * math/s_catanf.c (__catanf): Likewise.
15295 * math/s_catanh.c (__catanh): Likewise.
15296 * math/s_catanhf.c (__catanhf): Likewise.
15297 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15299 (__catanhl): Handle arguments with large real or imaginary part
15300 separately without squaring.
15301 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15303 (__catanl): Handle arguments with large real or imaginary part
15304 separately without squaring.
15305 * math/libm-test.inc (catan_test): Add more tests.
15306 (catanh_test): Likewise.
15307 * sysdeps/i386/fpu/libm-test-ulps: Update.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 2013-04-27 Andreas Jaeger <aj@suse.de>
15313 * stdlib/stdlib.h: Update guards for qecvt.
15314 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15317 2013-04-27 Allan McRae <allan@archlinux.org>
15319 * sysdeps/i386/fpu/libm-test-ulps: Update.
15321 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15324 * math/s_catan.c: Include <float.h>.
15325 (__catan): Ensure underflow exception occurs for underflowed
15327 * math/s_catanf.c: Include <float.h>.
15328 (__catanf): Ensure underflow exception occurs for underflowed
15330 * math/s_catanh.c: Include <float.h>.
15331 (__catanh): Ensure underflow exception occurs for underflowed
15333 * math/s_catanhf.c: Include <float.h>.
15334 (__catanhf): Ensure underflow exception occurs for underflowed
15336 * math/s_catanhl.c: Include <float.h>.
15337 (__catanhl): Ensure underflow exception occurs for underflowed
15339 * math/s_catanl.c: Include <float.h>.
15340 (__catanl): Ensure underflow exception occurs for underflowed
15342 * math/libm-test.inc (catan_test): Add more tests.
15343 (catanh_test): Likewise.
15346 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15347 underflowed result.
15348 * math/s_ccoshf.c (__ccoshf): Likewise.
15349 * math/s_ccoshl.c (__ccoshl): Likewise.
15350 * math/s_csin.c (__csin): Likewise.
15351 * math/s_csinf.c (__csinf): Likewise.
15352 * math/s_csinh.c (__csinh): Likewise.
15353 * math/s_csinhf.c (__csinhf): Likewise.
15354 * math/s_csinhl.c (__csinhl): Likewise.
15355 * math/s_csinl.c (__csinl): Likewise.
15356 * math/libm-test.inc (ccos_test): Add more tests.
15357 (ccosh_test): Likewise.
15358 (csin_test): Likewise.
15359 (csinh_test): Likewise.
15361 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15363 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15364 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15365 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15366 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15367 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15368 powerpc/power5+/fpu folders.
15369 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15372 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15376 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15378 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15379 additions to variable.
15380 [$(config-machine) = x86_64] (modules-names): Likewise.
15381 ($(objpfx)tst-audit3): Remove dependency.
15382 ($(objpfx)tst-audit3.out): Likewise.
15383 ($(objpfx)tst-audit4): Likewise.
15384 ($(objpfx)tst-audit4.out): Likewise.
15385 ($(objpfx)tst-audit5): Likewise.
15386 ($(objpfx)tst-audit5.out): Likewise.
15387 ($(objpfx)tst-audit6): Likewise.
15388 ($(objpfx)tst-audit6.out): Likewise.
15389 ($(objpfx)tst-audit7): Likewise.
15390 ($(objpfx)tst-audit7.out): Likewise.
15391 (tst-audit3-ENV): Remove variable.
15392 (tst-audit4-ENV): Likewise.
15393 (tst-audit5-ENV): Likewise.
15394 (tst-audit6-ENV): Likewise.
15395 (tst-audit7-ENV): Likewise.
15396 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15397 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15398 addition to variable.
15399 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15400 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15401 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15402 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15403 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15404 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15405 tst-audit3, tst-audit4 and tst-audit5.
15406 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15407 tst-audit6 and tst-audit7.
15408 [$(subdir) = elf] (modules-names): Add audit modules for those
15410 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15411 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15412 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15413 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15414 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15415 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15416 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15417 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15418 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15419 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15420 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15421 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15422 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15423 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15424 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15425 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15427 [$(subdir) = elf && $(config-cflags-avx) = yes]
15428 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15429 [$(subdir) = elf && $(config-cflags-avx) = yes]
15430 (CFLAGS-tst-auditmod4a.c): Likewise.
15431 [$(subdir) = elf && $(config-cflags-avx) = yes]
15432 (CFLAGS-tst-auditmod4b.c): Likewise.
15433 [$(subdir) = elf && $(config-cflags-avx) = yes]
15434 (CFLAGS-tst-auditmod6b.c): Likewise.
15435 [$(subdir) = elf && $(config-cflags-avx) = yes]
15436 (CFLAGS-tst-auditmod6c.c): Likewise.
15437 [$(subdir) = elf && $(config-cflags-avx) = yes]
15438 (CFLAGS-tst-auditmod7b.c): Likewise.
15439 * elf/tst-audit3.c: Move to ...
15440 * sysdeps/x86_64/tst-audit3.c: ... here.
15441 * elf/tst-audit4.c: Move to ...
15442 * sysdeps/x86_64/tst-audit4.c: ... here.
15443 * elf/tst-audit5.c: Move to ...
15444 * sysdeps/x86_64/tst-audit5.c: ... here.
15445 * elf/tst-audit6.c: Move to ...
15446 * sysdeps/x86_64/tst-audit6.c: ... here.
15447 * elf/tst-audit7.c: Move to ...
15448 * sysdeps/x86_64/tst-audit7.c: ... here.
15449 * elf/tst-auditmod3a.c: Move to ...
15450 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15451 * elf/tst-auditmod3b.c: Move to ...
15452 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15453 * elf/tst-auditmod4a.c: Move to ...
15454 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15455 * elf/tst-auditmod4b.c: Move to ...
15456 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15457 * elf/tst-auditmod5a.c: Move to ...
15458 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15459 * elf/tst-auditmod5b.c: Move to ...
15460 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15461 * elf/tst-auditmod6a.c: Move to ...
15462 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15463 * elf/tst-auditmod6b.c: Move to ...
15464 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15465 * elf/tst-auditmod6c.c: Move to ...
15466 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15467 * elf/tst-auditmod7a.c: Move to ...
15468 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15469 * elf/tst-auditmod7b.c: Move to ...
15470 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15472 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15475 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15476 define unconditionally.
15477 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15478 define unconditionally.
15479 (INT8_C, INT16_C, etc.): Likewise.
15481 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15483 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15484 __ehdr_start with hidden visibility.
15486 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15488 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15490 * math/libm-test.inc (cos_test): Use accurate hex constants.
15491 (sincost_test): Likewise.
15493 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15495 * math/libm-test.inc (catan_test): Add more tests.
15496 (catanh_test): Likewise.
15498 * math/s_catanf.c (__catanf): Use suffixed floating-point
15500 * math/s_catanhf.c (__catanhf): Likewise.
15501 * math/s_catanhl.c (__catanhl): Likewise.
15502 * math/s_catanl.c (__catanl): Likewise.
15505 * math/s_catan.c (__catan): Calculate imaginary part of result
15506 with log1p not log unless computing log of number close to 0.
15507 * math/s_catanf.c (__catanf): Likewise.
15508 * math/s_catanl.c (__catanl): Likewise.
15509 * math/s_catanh.c (__catanh): Calculate real part of result with
15510 log1p not log unless computing log of number close to 0.
15511 * math/s_catanhf.c (__catanhf): Likewise.
15512 * math/s_catanhl.c (__catanhl): Likewise.
15513 * math/libm-test.inc (catan_test): Add more tests.
15514 (catanh_test): Likewise.
15515 * sysdeps/i386/fpu/libm-test-ulps: Update.
15516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15518 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15520 * benchtests/Makefile: Mention files in which fast and slow
15521 paths of math functions are implemented.
15523 2013-04-23 Roland McGrath <roland@hack.frob.com>
15525 * sysdeps/posix/timespec_get.c: New file.
15527 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15529 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15531 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15533 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15534 powerpc/power5/fpu folders.
15535 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15536 * benchtests/Makefile: Add modf testcase.
15537 * benchtests/bench-modf.c: New file: Benchmark test for mo
15539 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15542 * time/Makefile (tests): Add tst-strptime-whitespace.
15543 * time/strptime_l.c (get_number): Use ISSPACE.
15544 (__strptime_internal): Likewise.
15545 * time/tst-strptime-whitespace.c: New test case.
15547 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15549 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15551 (_nss_files_init): Set it here.
15553 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15555 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15556 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15559 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15561 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15563 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15568 2013-04-21 David S. Miller <davem@davemloft.net>
15570 * po/ru.po: Update Russion translation from translation project.
15572 2013-04-17 Adam Conrad <adconrad@0c3.net>
15574 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15577 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15579 * configure.in: Remove i386 configure warning. Remove i386 case.
15580 * configure: Regenerate.
15581 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15582 Add example to error message.
15583 * sysdeps/i386/configure: Regenerate.
15585 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15589 * benchtests/cos-inputs: New file.
15590 * benchtests/slowcos-inputs: New file.
15591 * benchtests/slowcos.c: New file.
15592 * benchtests/slowtan-inputs: New file.
15593 * benchtests/slowtan.c: New file.
15594 * benchtests/tan-inputs: New file.
15596 2013-04-16 Roland McGrath <roland@hack.frob.com>
15598 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15601 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15603 * benchtests/Makefile: Include cppflags-iterator.mk to add
15604 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15606 * Makefile.in (bench-clean): New target.
15607 * benchtests/Makefile (bench-clean): Likewise.
15609 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15611 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15613 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15615 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15617 2013-04-15 Andreas Schwab <schwab@suse.de>
15619 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15621 * nscd/pwdcache.c (cache_addpw): Likewise.
15622 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15625 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15627 * benchtests/Makefile (bench): Write all output to
15628 bench-out.tmp together.
15630 2013-04-15 Andreas Schwab <schwab@suse.de>
15632 * nscd/nscd.c (main): Don't fork again after closing files.
15634 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15636 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15638 * benchtests/Rules (bench-deps): Collect dependencies into a
15639 single variable. Add Makefile to dependencies.
15640 ($(objpfx)bench-%.c): Depend on bench-deps.
15642 2013-04-12 Roland McGrath <roland@hack.frob.com>
15643 Xavier Roche <roche+kml2@exalead.com>
15646 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15647 just that it's a file descriptor.
15648 * manual/llio.texi (Synchronizing AIO Operations): Update description
15649 for EBADF error from aio_fsync.
15651 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15653 * Rules (bench): Move target definition...
15654 * benchtests/Makefile: ... here.
15656 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15658 * math/libm-test.inc (cos_test): Fix PI/2 test.
15659 (sincos_test): Likewise.
15660 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15661 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15663 2013-04-11 Andreas Schwab <schwab@suse.de>
15666 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15667 accept exponent character only when digits were seen.
15668 * stdio-common/Makefile (tests): Add bug26.
15669 * stdio-common/bug26.c: New file.
15672 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15675 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15677 * Makeconfig (rtld-prefix): Define built linker prefix.
15678 * Rules (run-bench): Use it.
15679 * math/Makefile (run-regen-ulps): Likewise.
15681 * Rules (bench): Remove eval.
15683 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 Roland McGrath <roland@hack.frob.com>
15685 Ondrej Bilka <neleai@seznam.cz>
15688 * time/getdate.c: Include ctype.h and alloca.h.
15689 (__getdate_r): Trim leading and trailing spaces of input.
15690 * time/tst-getdate.c (tests): Add tests with leading and
15693 2013-04-08 Roland McGrath <roland@hack.frob.com>
15696 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15697 when computing value.
15699 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15701 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15702 Use testrun.sh to run libm tests.
15705 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15707 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15710 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15712 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15714 * Makefile.in (regen-ulps): New target.
15715 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15716 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15717 [ifneq (no,$(PERL)] (regen-ulps): New target.
15718 [ifeq (no,$(PERL)] (regen-ulps): New target.
15719 * math/libm-test.inc (ulps_file_name): Define.
15720 (output_dir): New variable.
15721 (options): Add "output-dir" option.
15722 (parse_opt): Handle 'o' case.
15723 (main): If output_dir is non-NULL use it as a prefix
15725 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15727 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15729 [BZ #10060, #10062]
15730 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15731 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15732 fail configure if __sync_val_compare_and_swap is not inlined.
15733 * sysdeps/i386/configure: Regenerate.
15734 * configure.in: Build for i686 when configured for i386.
15735 * configure: Regenerate.
15736 * README: Remove i386 reference.
15738 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15740 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15743 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15745 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15746 (lmsnanval): New variables.
15747 (F): Add conversion tests.
15748 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15749 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15751 * stdio-common/tstdiomisc.c (F): Properly collect individual
15754 [BZ #14686, #15336]
15755 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15756 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15757 Instead, use input NaN values or generate a qNaN by arithmetic
15758 operation. Also fix bugs to comply with the standard.
15759 * math/libm-test.inc (remainder_test): Add more tests.
15761 [BZ #15335, #15342]
15762 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15764 input NaN values or generate a qNaN by arithmetic operation.
15766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15769 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15772 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15775 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15776 underflowed result.
15777 * math/s_cexpf.c (__cexpf): Likewise.
15778 * math/s_cexpl.c (__cexpl): Likewise.
15779 * math/libm-test.inc (cexp_test): Add more tests.
15781 2013-04-03 Andreas Schwab <schwab@suse.de>
15784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15785 order arrays from heap if bigger than alloca cutoff.
15787 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15789 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15790 (SNAN_TESTS_double): Refer to GCC PR56831.
15791 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15794 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15796 * Rules (bench): Move bench.out after the run is complete.
15798 * Rules (bench): Echo currently running benchmark.
15800 * benchtests/Makefile (bench): Add atan and slowatan.
15801 * benchtests/atan-inputs: New file.
15802 * benchtests/slowatan-inputs: New file.
15803 * benchtests/slowatan.c: New file.
15805 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15810 * sysdeps/unix/sysv/linux/kernel-features.h
15811 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15812 __ASSUME_XFS_RESTRICTED_CHOWN.
15813 * sysdeps/unix/sysv/linux/pathconf.c
15814 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15815 Save and restore errno.
15817 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15820 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15821 arguments using __kernel_casinh.
15822 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15823 arguments using __kernel_casinhf.
15824 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15825 arguments using __kernel_casinhl.
15826 * math/libm-test.inc (cacosh_test): Add more tests.
15827 * sysdeps/i386/fpu/libm-test-ulps: Update.
15828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15830 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15835 * bench/Makefile (bench): Add sin and slowsin.
15836 * benchtests/sin-inputs: New file.
15837 * benchtests/slowsin-inputs: New file.
15838 * benchtests/slowsin.c: New file.
15840 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15841 (bench): Add slowexp and slowpow.
15842 (exp-ITER): Increase iterations.
15843 (pow-ITER): Likewise.
15844 * benchtests/exp-inputs: Change input.
15845 * benchtests/pow-inputs: Likewise.
15846 * benchtests/slowexp-inputs: New file.
15847 * benchtests/slowexp.c: New file.
15848 * benchtests/slowpow-inputs: New file.
15849 * benchtests/slowpow.c: New file.
15851 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15853 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15855 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15856 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15858 * benchtests/Makefile: Add rint benchtest.
15859 * benchtests/rint-inputs: Input for rint benchtest.
15861 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15863 * Versions.def (libm): Add GLIBC_2.18.
15864 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15865 hidden libm prototypes.
15866 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15867 * math/Makefile (libm-calls): Add s_issignaling.
15868 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15869 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15870 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15872 * math/math.h [__USE_GNU] (issignaling): New macro.
15873 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15874 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15879 * manual/arith.texi (issignaling): New section.
15880 * manual/libm-err-tab.pl (@all_functions): Update comment.
15881 * math/gen-libm-test.pl (parse_args): Apply special handling for
15883 * math/libm-test.inc (print_float, issignaling_test): New
15885 (check_float_internal): Add issignaling checks.
15886 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15887 default definition.
15888 * sysdeps/powerpc/math-tests.h: New file.
15889 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15891 * math/test-snan.c (TEST_FUNC): Likewise.
15893 2013-03-30 David S. Miller <davem@davemloft.net>
15895 * po/de.po: Update from translation team.
15897 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15900 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15901 imaginary part less than 1.0 and real part less than 0.5
15903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15905 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15906 (cacos_test): Add more tests.
15907 (casin_test): Likewise.
15908 (casinh_test): Likewise.
15909 * sysdeps/i386/fpu/libm-test-ulps: Update.
15910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15912 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15914 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15915 ONE with its value.
15917 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15918 (__pow_mp): Replace ONE and MONE with their values.
15919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15921 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15922 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15923 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15924 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15926 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15928 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15929 (__pow_mp): Replace ZERO and MZERO with their values.
15930 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15931 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15932 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15935 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15938 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15940 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15942 2013-03-28 Roland McGrath <roland@hack.frob.com>
15944 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15945 Declare with __attribute__ ((weak)).
15946 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15947 Call __call_tls_dtors only if it's not NULL.
15949 2013-03-28 Roland McGrath <roland@hack.frob.com>
15951 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15952 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15953 magic __ehdr_start linker symbol if it's defined.
15954 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15955 them up here if it was already done.
15957 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15958 (_dl_aux_init): Use const in cast when setting it.
15959 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15960 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15961 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15963 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15965 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15966 * csu/libc-tls.c: Nor here.
15967 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15969 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15970 (__libc_message): Never call vsyslog.
15972 2013-03-28 Alan Modra <amodra@gmail.com>
15974 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15976 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15979 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15986 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15989 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15990 Don't add gid passed as argument.
15992 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15994 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15998 imaginary part between 1.0 and 1.5 and real part less than 0.5
16000 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16001 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16002 * math/libm-test.inc (cacos_test): Add more tests.
16003 (casin_test): Likewise.
16004 (casinh_test): Likewise.
16005 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16008 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16010 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16013 (denorm): Likewise.
16014 (__dbl_mp): Likewise.
16015 (add_magnitudes): Likewise.
16016 (sub_magnitudes): Likewise.
16024 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16026 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16027 (__dubcos): Likewise.
16028 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16029 (__ieee754_acos): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16031 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16032 (__exp1): Likewise.
16033 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16036 (my_log2): Likewise.
16037 (checkint): Likewise.
16038 * sysdeps/ieee754/dbl-64/e_remainder.c
16039 (__ieee754_remainder): Likewise.
16040 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16042 (bsloww): Likewise.
16043 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16045 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16047 MANTISSA_STORE_T to store computations on mantissa. Use
16048 macros for rounding and division.
16049 (denorm): Likewise.
16050 (__dbl_mp): Likewise.
16051 (add_magnitudes): Likewise.
16052 (sub_magnitudes): Likewise.
16055 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16056 powers of two in terms of TWOPOW macro.
16057 (mp_no): Make type of mantissa as MANTISSA_T.
16058 [!RADIXI]: Define RADIXI.
16059 [!TWO52]: Define TWO52.
16060 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16062 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16064 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16065 llroundl symbol when building for PPC32.
16067 2013-03-24 Mark H Weaver <mhw@netris.org>
16069 * manual/arith.texi (Normalization Functions): Fix prototypes for
16070 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16072 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16076 high value to check if expl overflow.
16077 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16078 to check for underflow and overflow.
16079 * math/libm-test.inc: Add exp test.
16081 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16084 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16087 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16089 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16092 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16094 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16095 wrap blocks consisting of several statements.
16097 * sysdeps/generic/math-tests.h: New file.
16098 * sysdeps/i386/fpu/math-tests.h: Likewise.
16099 * math/test-snan.c: Include it.
16100 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16102 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16106 (__ieee754_j0l): Do not improve calculations using cos of twice
16107 input for inputs above LDBL_MAX / 2.0L.
16108 (__ieee754_y0l): Likewise.
16109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16110 (__ieee754_j1l): Do not improve calculations using cos of twice
16111 input for inputs above LDBL_MAX / 2.0L.
16112 (__ieee754_y1l): Likewise.
16113 * math/libm-test.inc (j0_test): Add another test.
16114 (j1_test): Likewise.
16115 (y0_test): Likewise.
16116 (y1_test): Likewise.
16117 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16121 * Rules ($(objpfx)bench-%.c): Include code from a C source
16124 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16127 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16128 imaginary part 1.0 and real part less than 0.5 specially.
16129 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16130 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16131 * math/libm-test.inc (cacos_test): Add more tests.
16132 (casin_test): Likewise.
16133 (casinh_test): Likewise.
16134 * sysdeps/i386/fpu/libm-test-ulps: Update.
16135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16137 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16140 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16142 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16144 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16145 * config.make.in (config-cflags-sse4): Remove variable.
16146 (config-cflags-avx): Likewise.
16147 (config-cflags-sse2avx): Likewise.
16148 (config-cflags-novzeroupper): Likewise.
16149 (config-asflags-i686): Likewise.
16150 (have-mfma4): Likewise.
16151 (have-as-vis3): Likewise.
16153 * configure.in (MIG): Do not AC_SUBST.
16154 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16155 (libc_cv_cc_sse4): Do not AC_SUBST.
16156 (libc_cv_cc_avx): Likewise.
16157 (libc_cv_cc_sse2avx): Likewise.
16158 (libc_cv_cc_novzeroupper): Likewise.
16159 (libc_cv_cc_fma4): Likewise.
16160 (libc_cv_as_i686): Likewise.
16161 (libc_cv_sparc_as_vis3): Likewise.
16162 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16164 (config-asflags-i686): Likewise.
16165 (config-cflags-avx): Likewise.
16166 (config-cflags-sse2avx): Likewise.
16167 (have-mfma4): Likewise.
16168 (config-cflags-novzeroupper): Likewise.
16169 * sysdeps/mach/configure.in (MIG): Likewise.
16170 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16171 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16173 (config-cflags-avx): Likewise.
16174 (config-cflags-sse2avx): Likewise.
16175 (have-mfma4): Likewise.
16176 (config-cflags-novzeroupper): Likewise.
16177 * configure: Regenerated.
16178 * sysdeps/i386/configure: Likewise.
16179 * sysdeps/mach/configure: Likewise.
16180 * sysdeps/sparc/configure: Likewise.
16181 * sysdeps/x86_64/configure: Likewise.
16183 2013-03-20 Roland McGrath <roland@hack.frob.com>
16186 * locale/programs/localedef.c (options): Put N_ translation marker
16187 on argument names, not just descriptions.
16189 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16191 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16193 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16196 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16198 2013-03-19 Roland McGrath <roland@hack.frob.com>
16200 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16201 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16202 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16203 [!BEFORE_ABORT] (before_abort): New function.
16204 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16205 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16206 (writev_for_fatal): New function.
16207 (WRITEV_FOR_FATAL): New macro; call that.
16208 (backtrace_and_maps): New function.
16209 (BEFORE_ABORT): New macro; call that.
16210 (struct str_list): Type removed.
16211 (__libc_message, __libc_fatal): Functions removed.
16212 Include <sysdeps/posix/libc_fatal.c> instead.
16214 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16216 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16218 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16221 2013-03-19 Andreas Schwab <schwab@suse.de>
16223 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16224 * sysdeps/gnu/configure: Regenerate.
16226 * configure.in: Substitute libc_cv_rtlddir.
16227 * configure: Regenerate.
16228 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16229 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16230 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16231 * elf/Makefile (install-others, CFLAGS-interp.c)
16232 (ldso_install, common-ldd-rewrite): Likewise.
16233 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16234 $(inst_slibdir)/$(rtld-installed-name).
16235 * scripts/rellns-sh: Add -p option.
16236 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16239 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16241 * manual/nptl.texi: Renamed to ...
16242 * manual/threads.texi: ... this.
16243 * manual/Makefile (chapters): Update.
16245 2013-03-18 Roland McGrath <roland@hack.frob.com>
16248 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16249 on argument names, not just descriptions.
16250 * malloc/memusagestat.c (options): Likewise.
16251 * nss/getent.c (options): Likewise.
16253 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16256 * iconv/iconv_prog.c (options): Put N_ translation marker
16257 on argument names, not just descriptions.
16258 * iconv/iconvconfig.c (options): Likewise.
16260 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16262 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16263 implementation which is faster on all x86_64 architectures.
16264 Tested on AMD, Intel Nehalem, SNB, IVB.
16265 * sysdeps/x86_64/strnlen.S: Likewise.
16267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16268 Remove all multiarch strlen and strnlen versions.
16269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16270 Remove strlen and strnlen related parts.
16272 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16273 Inline strlen part.
16274 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16276 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16277 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16278 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16279 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16280 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16281 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16283 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16285 * manual/memory.texi (Malloc Tunable Parameters):
16286 Sort parameters alphabetically. Add comments for missing entries.
16288 2013-03-17 David S. Miller <davem@davemloft.net>
16290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16292 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16295 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16296 for arguments at most half maximum finite value.
16297 * math/libm-test.inc (j0_test): Add more tests.
16298 (j1_test): Likewise.
16299 (y0_test): Likewise.
16300 (y1_test): Likewise.
16301 * sysdeps/i386/fpu/libm-test-ulps: Update.
16302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16306 1 / x and functions P and Q for arguments above 0x1p256L.
16307 (__ieee754_y0l): Likewise.
16308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16309 (__ieee754_y1l): Likewise.
16310 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16311 (j1_test): Likewise.
16312 (y0_test): Likewise.
16313 (y1_test): Likewise.
16315 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16317 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16320 2013-03-15 Roland McGrath <roland@hack.frob.com>
16322 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16323 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16324 zero since it's initialized to EXEC_PAGESIZE.
16326 * sysdeps/unix/sysv/linux/ldsodefs.h
16327 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16328 * sysdeps/generic/ldsodefs.h: ... here.
16330 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16332 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16334 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16336 * math/test-snan.c: Renamed from
16337 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16338 * math/Makefile (tests): Add test-snan.
16339 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16342 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16343 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16345 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16346 __builtin_nan family of functions.
16347 * math/libm-test.inc (initialize): Initialize qnan_value with
16348 __builtin_nan family of functions.
16349 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16351 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16353 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16354 storage class. Initialize qNaN_var and sNaN_var with
16355 __builtin_nan and __builtin_nans families of functions,
16358 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16359 (sqrt_test): Remove duplicate test with qNaN input.
16360 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16361 (round_test, signbit_test, significand_test): Note missing +/-Inf
16362 as well as qNaN tests.
16364 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16365 qNaN_var. Fix a few strings, too.
16366 * math/libm-test.inc (nan_value): Rename to qnan_value.
16367 * math/gen-libm-test.pl (%beautify): Adjust to that.
16368 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16369 * math/test-misc.c (main): Likewise.
16370 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16371 to __qnan_bytes, and __qnan_union, respectively.
16372 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16374 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16375 and lqnanval, respectively.
16376 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16377 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16379 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16381 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16382 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16385 * math/test-misc.c (main): Fix copy'n'pastos.
16386 * misc/tst-efgcvt.c (special): Likewise.
16388 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16389 Remove declarations.
16391 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16393 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16394 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16395 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16396 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16398 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16401 macro to return vdso values correctly in IFUNC implementations.
16402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16403 Optimization by using IFUNC.
16405 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16406 Richard Henderson <rth@redhat.com>
16407 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16409 * Makefile.in (bench): New target.
16410 * NEWS: Mention the benchmark framework.
16411 * Rules (bench): Likewise.
16412 (binaries-bench): Generate binaries for functions to
16414 * benchtests/Makefile: New makefile for benchmark tests.
16415 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16417 * benchtests/exp-inputs: New input file for EXP function.
16418 * benchtests/pow-inputs: New input file for POW function.
16419 * scripts/bench.pl: New script to generate source files for
16420 benchmark programs.
16422 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16426 computations on mantissa. Use macros for rounding and
16428 (denorm): Likewise.
16429 (__dbl_mp): Likewise.
16430 (add_magnitudes): Likewise.
16431 (sub_magnitudes): Likewise.
16434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16435 powers of two in terms of TWOPOW macro.
16436 (mp_no): Make type of mantissa as MANTISSA_T.
16437 [!RADIXI]: Define RADIXI.
16438 [!TWO52]: Define TWO52.
16439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16441 * manual/nptl.texi (cindex): Modify threads to pthreads.
16443 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16445 * sysdeps/x86_64/preconfigure: Regenerated.
16447 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16452 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16453 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16455 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16456 * math/libm-test.inc (j0_test): Do not allow one spurious
16457 underflow exception.
16458 (y1_test): Likewise.
16460 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16462 * manual/Makefile (chapters): Add nptl.
16463 * manual/debug.texi (Debugging Support): Add link to Threads
16465 * manual/nptl.texi: New file.
16467 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16469 2013-03-14 Petr Baudis <pasky@ucw.cz>
16471 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16472 for non-NULL pointer before the memory validity test. Pointed
16473 out by Holger Brunck <holger.brunck@keymile.com>.
16475 2013-03-13 Andreas Schwab <schwab@suse.de>
16477 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16480 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16482 * timezone/zic.c: Update from tzcode 2013b.
16484 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16486 * manual/install.texi (Configuring and compiling):
16487 Mention i686 and i586.
16488 * INSTALL: Regenerate.
16490 2013-03-12 Roland McGrath <roland@hack.frob.com>
16492 * sysdeps/init_array/elf-init.c: New file.
16494 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16495 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16497 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16498 __gmon_start__ as global, but as static with a .preinit_array pointer.
16499 * sysdeps/init_array/gmon-start.c: New file. Use that.
16500 * sysdeps/init_array/crti.S: New file, empty except for comments.
16501 * sysdeps/init_array/crtn.S: Likewise.
16503 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16505 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16508 Remove Prefer_SSE_for_memop.
16509 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16510 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16511 HAS_PREFER_SSE_FOR_MEMOP.
16512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16515 Remove bzero, memset ifunc support.
16516 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16517 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16518 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16521 2013-03-11 Andreas Schwab <schwab@suse.de>
16524 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16527 (GLIBC_2.16): Remove pthread_atfork.
16529 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16531 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16532 (ptestcases.h): Likewise.
16534 2013-03-08 Roland McGrath <roland@hack.frob.com>
16536 * Makeconfig ($(common-objpfx)config.status): Depend on
16537 sysdeps/*/preconfigure{,.in} too.
16539 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16541 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16542 (__free_hook): Use void * instead of __malloc_ptr_t.
16543 (__malloc_hook): Likewise.
16544 (__realloc_hook): Likewise.
16545 (__memalign_hook): Likewise.
16546 (__after_morecore_hook): Likewise.
16547 * malloc/arena.c (save_malloc_hook): Likewise.
16548 (save_free_hook): Likewise.
16549 * malloc/hooks.c (malloc_hook_ini): Likewise.
16550 (realloc_hook_ini): Likewise.
16551 (memalign_hook_ini): Likewise.
16552 * malloc/malloc.c (malloc_hook_ini): Likewise.
16553 (realloc_hook_ini): Likewise.
16554 (memalign_hook_ini): Likewise.
16555 (__free_hook): Likewise.
16556 (__malloc_hook): Likewise.
16557 (__realloc_hook): Likewise.
16558 (__memalign_hook): Likewise.
16559 (__libc_malloc): Likewise.
16560 (__libc_free): Likewise.
16561 (__libc_realloc): Likewise.
16562 (__libc_memalign): Likewise.
16563 (__libc_valloc): Likewise.
16564 (__libc_pvalloc): Likewise.
16565 (__libc_calloc): Likewise.
16566 (__posix_memalign): Likewise.
16567 * malloc/morecore.c (__sbrk): Likewise.
16568 (__default_morecore): Likewise.
16570 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16572 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16573 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16574 __malloc_ptrdiff_t.
16576 * malloc/malloc.h (__malloc_size_t): Remove macro.
16577 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16579 (old_memalign_hook): Likewise.
16580 (old_realloc_hook): Likewise.
16581 (struct hdr): Likewise.
16583 (mallochook): Likewise.
16584 (memalignhook): Likewise.
16585 (reallochook): Likewise.
16586 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16587 (tr_old_realloc_hook): Likewise.
16588 (tr_old_memalign_hook): Likewise.
16589 (tr_mallochook): Likewise.
16590 (tr_reallochook): Likewise.
16591 (tr_memalignhook): Likewise.
16593 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16595 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16596 default_ldbl_pack and using as default implementation.
16597 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16599 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16600 redundant definition.
16601 (ldbl_insert_mantissa): Likewise.
16602 (ldbl_canonicalize): Likewise.
16603 (ldbl_nearbyint): Likewise.
16604 (ldbl_pack): Rename to ldbl_pack_ppc.
16605 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16606 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16607 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16609 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16612 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16613 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16614 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16616 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16617 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16618 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16620 2013-03-07 Andreas Jaeger <aj@suse.de>
16622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16625 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16627 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16628 Include mpa.h and declare __MPEXP.
16629 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16631 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16632 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16634 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16637 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16638 (__slowpow): Use long double EXPL and LOGL functions to
16640 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16641 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16643 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16644 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16645 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16648 intermediate variable to calculate exponent.
16650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16654 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16655 [!NO__SQR]: Define __sqr.
16656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16657 and NO__SQR. Remove all code except __mul and __sqr. Include
16658 sysdeps/ieee754/dbl-64/mpa.c.
16659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16662 * posix/Makefile (tests): Add tst-pathconf.
16663 * posix/tst-pathconf.c: New test case.
16664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16666 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16668 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16670 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16672 2013-03-06 Andreas Jaeger <aj@suse.de>
16674 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16675 definition via __MAP_ANONYMOUS.
16677 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16678 it's not part of Linux headers.
16680 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16681 (MAP_HUGE_MASK): Define.
16683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16685 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16688 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16689 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16691 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16692 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16694 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16696 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16697 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16698 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16699 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16700 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16707 Handle f2fs and efivarfs.
16709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16712 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16713 (EFIVARFS_MAGIC): Add.
16714 (F2FS_LINK_MAX): Add.
16716 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16718 * stdio-common/vfprintf.c: Replace __builtin_expect with
16721 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16724 * sysdeps/generic/bp-sym.h: Remove file.
16725 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16727 <bp-sym.h> and <bp-asm.h>.
16728 (__longjmp): Don't use BP_SYM.
16729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16731 (memcpy): Don't use BP_SYM.
16732 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16733 <bp-sym.h> and <bp-asm.h>.
16734 (memcpy): Don't use BP_SYM.
16735 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16737 (memcpy): Don't use BP_SYM.
16738 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16740 (memset): Don't use BP_SYM.
16741 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16742 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16743 (__bzero): Don't use BP_SYM.
16744 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16745 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16747 <bp-sym.h> and <bp-asm.h>.
16748 (memcmp): Don't use BP_SYM. Remove comment about bounded
16750 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16751 <bp-sym.h> and <bp-asm.h>.
16752 (memcpy): Don't use BP_SYM.
16753 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16754 <bp-sym.h> and <bp-asm.h>.
16755 (memset): Don't use BP_SYM.
16756 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16757 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16758 (__bzero): Don't use BP_SYM.
16759 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16760 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16762 <bp-sym.h> and <bp-asm.h>.
16763 (strncmp): Don't use BP_SYM. Remove comment about bounded
16765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16766 <bp-sym.h> and <bp-asm.h>.
16767 (memcpy): Don't use BP_SYM.
16768 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (memset): Don't use BP_SYM.
16771 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16772 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16773 (__bzero): Don't use BP_SYM.
16774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16777 <bp-sym.h> and <bp-asm.h>.
16778 (__memchr): Don't use BP_SYM.
16779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16780 <bp-sym.h> and <bp-asm.h>.
16781 (memcmp): Don't use BP_SYM. Remove comment about bounded
16783 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16784 <bp-sym.h> and <bp-asm.h>.
16785 (memcpy): Don't use BP_SYM.
16786 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16787 <bp-sym.h> and <bp-asm.h>.
16788 (__mempcpy): Don't use BP_SYM.
16789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16790 <bp-sym.h> and <bp-asm.h>.
16791 (__memrchr): Don't use BP_SYM.
16792 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16793 <bp-sym.h> and <bp-asm.h>.
16794 (memset): Don't use BP_SYM.
16795 (__bzero): Likewise.
16796 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16797 <bp-sym.h> and <bp-asm.h>.
16798 (__rawmemchr): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (__STRCMP): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (strchr): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (__strchrnul): Don't use BP_SYM.
16808 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (strlen): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (strncmp): Don't use BP_SYM. Remove comment about bounded
16815 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16816 <bp-sym.h> and <bp-asm.h>.
16817 (__strnlen): Don't use BP_SYM.
16818 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (__GI__setjmp): Don't use BP_SYM.
16821 (_setjmp): Likewise.
16822 (__sigsetjmp): Likewise.
16823 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16824 (L(start_addresses)): Don't use BP_SYM.
16825 (_start): Likewise.
16826 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16828 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16829 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16830 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16831 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16832 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16834 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16835 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16836 about bounded pointers.
16837 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16838 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16839 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16841 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16842 about bounded pointers. Remove GKM FIXME comments.
16843 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16844 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16846 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16847 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16848 Remove GKM FIXME comments.
16849 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16850 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16851 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16853 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16854 about bounded pointers. Remove GKM FIXME comment.
16855 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16857 (strncmp): Don't use BP_SYM. Remove comment about bounded
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16860 <bp-sym.h> and <bp-asm.h>.
16861 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16863 <bp-sym.h> and <bp-asm.h>.
16864 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16867 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16869 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16872 2013-03-05 David S. Miller <davem@davemloft.net>
16874 * po/es.po: Update from translation team.
16876 2013-03-05 Andreas Jaeger <aj@suse.de>
16878 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16879 <bits/mman-linux.h>.
16880 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16883 <bits/mman-linux.h> to end of file.
16884 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16886 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16887 <bits/mman-linux.h> to end of file.
16888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16891 <bits/mman-linux.h> to end of file.
16893 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16894 (MCL_CURRENT, MCL_FUTURE): Define here.
16896 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16901 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16903 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16905 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16906 fourth parameter needed for rt_sigprocmask syscall.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16908 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16909 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16910 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16911 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16912 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16914 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16917 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16918 comment about bounded pointers.
16919 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16920 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16922 2013-03-04 Andreas Jaeger <aj@suse.de>
16924 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16925 common definitions.
16927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16928 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16929 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16931 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16934 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16938 __ieee754_sqrl instead of __sqrl.
16940 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16942 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16943 * sysdeps/powerpc/fpu_control.h: ... here.
16944 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16945 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16946 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16947 * sysdeps/powerpc/bits/mathinline.h: ... here.
16949 2013-03-01 Roland McGrath <roland@hack.frob.com>
16951 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16952 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16953 to just [NEED_DL_SYSINFO_DSO].
16954 * elf/dl-support.c: Likewise.
16955 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16956 * elf/rtld.c (dl_main): Likewise.
16957 * elf/setup-vdso.h (setup_vdso): Likewise.
16958 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16959 * sysdeps/unix/sysv/linux/dl-sysdep.c
16960 (_dl_discover_osversion): Likewise.
16962 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16964 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16965 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16967 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16969 * NEWS: Mention libm performance improvements and non-x86 PI
16972 * csu/libc-start.c (__pthread_initialize_minimal): Change
16973 function arguments.
16974 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16976 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16979 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16980 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16981 <bp-sym.h> and <bp-asm.h>.
16982 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16983 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16985 (memcpy): Don't use BP_SYM.
16986 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16988 (__mpn_add_n): Don't use BP_SYM.
16989 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16990 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16992 (__mpn_addmul_1): Don't use BP_SYM.
16993 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16996 (_setjmp): Don't use BP_SYM.
16997 (__novmx_setjmp): Likewise.
16998 (__GI__setjmp): Likewise.
16999 (__vmx_setjmp): Likewise.
17000 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17002 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17003 (__bzero): Don't use BP_SYM.
17004 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17006 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (memcpy): Don't use BP_SYM.
17009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17010 <bp-sym.h> and <bp-asm.h>.
17011 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17012 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17013 <bp-sym.h> and <bp-asm.h>.
17014 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17015 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17017 (__mpn_lshift): Don't use BP_SYM.
17018 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17019 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17021 (memset): Don't use BP_SYM.
17022 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17023 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17024 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17026 (__mpn_mul_1): Don't use BP_SYM.
17027 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17029 <bp-sym.h> and <bp-asm.h>.
17030 (memcmp): Don't use BP_SYM.
17031 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17032 <bp-sym.h> and <bp-asm.h>.
17033 (memcpy): Don't use BP_SYM.
17034 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17035 <bp-sym.h> and <bp-asm.h>.
17036 (memset): Don't use BP_SYM.
17037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17038 <bp-sym.h> and <bp-asm.h>.
17039 (strncmp): Don't use BP_SYM.
17040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17041 <bp-sym.h> and <bp-asm.h>.
17042 (memcpy): Don't use BP_SYM.
17043 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17044 <bp-sym.h> and <bp-asm.h>.
17045 (memset): Don't use BP_SYM.
17046 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17047 <bp-sym.h> and <bp-asm.h>.
17048 (__memchr): Don't use BP_SYM.
17049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17050 <bp-sym.h> and <bp-asm.h>.
17051 (memcmp): Don't use BP_SYM.
17052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17053 <bp-sym.h> and <bp-asm.h>.
17054 (memcpy): Don't use BP_SYM.
17055 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17056 <bp-sym.h> and <bp-asm.h>.
17057 (__mempcpy): Don't use BP_SYM.
17058 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17059 <bp-sym.h> and <bp-asm.h>.
17060 (__memrchr): Don't use BP_SYM.
17061 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17062 <bp-sym.h> and <bp-asm.h>.
17063 (memset): Don't use BP_SYM.
17064 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17065 <bp-sym.h> and <bp-asm.h>.
17066 (__rawmemchr): Don't use BP_SYM.
17067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17068 <bp-sym.h> and <bp-asm.h>.
17069 (__STRCMP): Don't use BP_SYM.
17070 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17071 <bp-sym.h> and <bp-asm.h>.
17072 (strchr): Don't use BP_SYM.
17073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (__strchrnul): Don't use BP_SYM.
17076 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17077 <bp-sym.h> and <bp-asm.h>.
17078 (strlen): Don't use BP_SYM.
17079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17080 <bp-sym.h> and <bp-asm.h>.
17081 (strncmp): Don't use BP_SYM.
17082 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17083 <bp-sym.h> and <bp-asm.h>.
17084 (__strnlen): Don't use BP_SYM.
17085 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17087 (__mpn_rshift): Don't use BP_SYM.
17088 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17089 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17090 <bp-sym.h> and <bp-asm.h>.
17091 (__sigsetjmp): Don't use BP_SYM.
17092 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17093 (L(start_addresses)): Don't use BP_SYM.
17094 (_start): Likewise.
17095 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17097 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17098 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17099 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17100 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17102 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17103 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17104 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17105 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17107 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17109 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17110 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17112 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17114 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17115 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17116 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17118 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17120 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17122 (strncmp): Don't use BP_SYM,
17123 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17125 (__mpn_sub_n): Don't use BP_SYM.
17126 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17127 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17129 (__mpn_submul_1): Don't use BP_SYM.
17130 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17132 <bp-sym.h> and <bp-asm.h>.
17133 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17135 <bp-sym.h> and <bp-asm.h>.
17136 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17139 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17142 Use ZK to minimize writes to Z.
17143 (sub_magnitudes): Simplify code a bit.
17144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17145 Use ZK to minimize writes to Z.
17146 (sub_magnitudes): Simplify code a bit.
17148 2013-02-27 Roland McGrath <roland@hack.frob.com>
17150 * csu/gmon-start.c: Add special exception to license text.
17152 2013-02-27 Richard Henderson <rth@redhat.com>
17154 * scripts/config.guess: Update from config.git.
17155 * scripts/config.sub: Likewise.
17157 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17161 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17163 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17165 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17167 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17169 2013-02-26 Roland McGrath <roland@hack.frob.com>
17171 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17172 [$(build-shared = yes].
17174 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17176 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17177 (__mul): Reduce iterations for calculating mantissa.
17179 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17181 (__mpranred): Likewise.
17184 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17185 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17187 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17189 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17190 Define __attribute__.
17192 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17194 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17196 * posix/regex_internal.h (__attribute): Remove.
17197 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17198 (re_string_context_at): Likewise.
17199 (bitset_not): Use __attribute__ and mark function as possibly
17201 (bitset_merge): Likewise.
17202 (bitset_mask): Likewise.
17203 (re_string_char_size_at): Likewise.
17204 (re_string_wchar_at): Likewise.
17205 (re_string_elem_size_at): Likewise.
17207 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17209 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17213 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17217 (denorm): Likewise.
17218 (__dbl_mp): Likewise.
17219 (add_magnitudes): Likewise.
17220 (sub_magnitudes): Likewise.
17224 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17227 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17230 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17234 up changes with default code.
17235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17238 2013-02-24 Allan McRae <allan@archlinux.org>
17240 * manual/socket.texi (The Internet Namespace): Order menu items
17241 to match that in the file.
17243 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17244 node listing of the info page menu.
17246 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17249 * sysdeps/i386/bp-asm.h: Remove file.
17250 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17251 (PARMS): Do not use macros from bp-asm.h.
17255 (__mpn_add_n): Do not use BP_SYM
17256 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17258 (PARMS): Do not use macros from bp-asm.h.
17261 (__mpn_addmul_1): Do not use BP_SYM
17262 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17264 (PARMS): Do not use macros from bp-asm.h.
17265 (SIGMSK): Likewise.
17266 (_setjmp): Likewise. Do not use BP_SYM.
17267 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (SIGMSK): Likewise.
17271 (setjmp): Likewise. Do not use BP_SYM.
17272 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17274 (PARMS): Do not use macros from bp-asm.h.
17275 (__frexp): Do not use BP_SYM.
17277 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17279 (PARMS): Do not use macros from bp-asm.h.
17280 (__frexpf): Do not use BP_SYM.
17281 (frexpf): Likewise.
17282 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17284 (PARMS): Do not use macros from bp-asm.h.
17285 (__frexpl): Do not use BP_SYM.
17286 (frexpl): Likewise.
17287 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17289 (PARMS): Do not use macros from bp-asm.h.
17290 (__remquo): Do not use BP_SYM.
17291 (remquo): Likewise.
17292 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17294 (PARMS): Do not use macros from bp-asm.h.
17295 (__remquof): Do not use BP_SYM.
17296 (remquof): Likewise.
17297 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (__remquol): Do not use BP_SYM.
17301 (remquol): Likewise.
17302 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17304 (PARMS): Do not use macros from bp-asm.h.
17307 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17308 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17310 (PARMS): Do not use macros from bp-asm.h.
17311 (strlen): Do not use BP_SYM.
17312 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17314 (PARMS): Do not use macros from bp-asm.h.
17318 (__mpn_add_n): Do not use BP_SYM.
17319 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17321 (PARMS): Do not use macros from bp-asm.h.
17324 (__mpn_addmul_1): Do not use BP_SYM.
17325 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17328 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17330 (PARMS): Do not use macros from bp-asm.h.
17333 (__mpn_lshift): Do not use BP_SYM.
17334 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17340 (memcpy): Likewise. Do not use BP_SYM.
17341 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17342 libc_hidden_def and weak_alias.
17343 (mempcpy): Do not use BP_SYM in weak_alias.
17344 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17346 (PARMS): Do not use macros from bp-asm.h.
17349 [!BZERO_P] (CHR): Likewise.
17350 (memset): Likewise. Do not use BP_SYM.
17351 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17353 (PARMS): Do not use macros from bp-asm.h.
17356 (__mpn_mul_1): Do not use BP_SYM.
17357 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17359 (PARMS): Do not use macros from bp-asm.h.
17362 (__mpn_rshift): Do not use BP_SYM.
17363 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17365 (PARMS): Do not use macros from bp-asm.h.
17368 (strchr): Likewise. Do not use BP_SYM.
17369 (index): Do not use BP_SYM in weak_alias.
17370 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17372 (PARMS): Do not use macros from bp-asm.h.
17375 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17376 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17378 (PARMS): Do not use macros from bp-asm.h.
17379 (strlen): Do not use BP_SYM.
17380 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17382 (PARMS): Do not use macros from bp-asm.h.
17386 (__mpn_sub_n): Do not use BP_SYM.
17387 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17389 (PARMS): Do not use macros from bp-asm.h.
17392 (__mpn_submul_1): Do not use BP_SYM.
17393 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17395 (PARMS): Do not use macros from bp-asm.h.
17399 (__mpn_add_n): Do not use BP_SYM.
17400 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17403 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17405 (PARMS): Do not use macros from bp-asm.h.
17408 (memcmp): Do not use BP_SYM.
17409 (bcmp): Do not use BP_SYM in weak_alias.
17410 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17412 (PARMS): Do not use macros from bp-asm.h.
17416 (memcpy): Likewise. Do not use BP_SYM.
17417 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17419 (PARMS): Do not use macros from bp-asm.h.
17423 (memmove): Likewise. Do not use BP_SYM.
17424 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17426 (PARMS): Do not use macros from bp-asm.h.
17430 (__mempcpy): Likewise. Do not use BP_SYM.
17431 (mempcpy): Do not use BP_SYM in weak_alias.
17432 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17434 (PARMS): Do not use macros from bp-asm.h.
17437 [!BZERO_P] (CHR): Likewise.
17438 (memset): Likewise. Do not use BP_SYM.
17439 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17441 (PARMS): Do not use macros from bp-asm.h.
17443 (strcmp): Do not use BP_SYM.
17444 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17446 (PARMS): Do not use macros from bp-asm.h.
17449 [USE_AS_STRTOK_R] (SAVE): Likewise.
17450 (FUNCTION): Likewise. Do not use BP_SYM.
17451 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17453 (strtok_r): Likewise.
17454 (__GI___strtok_r): Likewise.
17455 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17456 (PARMS): Do not use macros from bp-asm.h.
17459 (__mpn_lshift): Do not use BP_SYM.
17460 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17461 (PARMS): Do not use macros from bp-asm.h.
17464 (__memchr): Do not use BP_SYM.
17465 (memchr): Do not use BP_SYM in weak_alias.
17466 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17467 (PARMS): Do not use macros from bp-asm.h.
17470 (memcmp): Do not use BP_SYM.
17471 (bcmp): Do not use BP_SYM in weak_alias.
17472 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17473 (PARMS): Do not use macros from bp-asm.h.
17476 (__mpn_mul_1): Do not use BP_SYM.
17477 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17479 (PARMS): Do not use macros from bp-asm.h.
17482 (__rawmemchr): Do not use BP_SYM.
17483 (rawmemchr): Do not use BP_SYM in weak_alias.
17484 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17488 (__mpn_rshift): Do not use BP_SYM.
17489 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17490 (PARMS): Do not use macros from bp-asm.h.
17491 (SIGMSK): Likewise.
17492 (__sigsetjmp): Likewise. Do not use BP_SYM.
17493 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17494 (_start): Do not use BP_SYM.
17495 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17496 (PARMS): Do not use macros from bp-asm.h.
17499 (__stpcpy): Likewise. Do not use BP_SYM.
17500 (stpcpy): Do not use BP_SYM in weak_alias.
17501 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17503 (PARMS): Do not use macros from bp-asm.h.
17507 (__stpncpy): Likewise. Do not use BP_SYM.
17508 (stpncpy): Do not use BP_SYM in weak_alias.
17509 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17510 (PARMS): Do not use macros from bp-asm.h.
17513 (strchr): Likewise. Do not use BP_SYM.
17514 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17516 (PARMS): Do not use macros from bp-asm.h.
17519 (__strchrnul): Likewise. Do not use BP_SYM.
17520 (strchrnul): Do not use BP_SYM in weak_alias.
17521 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17523 (PARMS): Do not use macros from bp-asm.h.
17525 (strcspn): Do not use BP_SYM.
17526 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17528 (PARMS): Do not use macros from bp-asm.h.
17531 (strpbrk): Likewise. Do not use BP_SYM.
17532 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17534 (PARMS): Do not use macros from bp-asm.h.
17537 (strrchr): Likewise. Do not use BP_SYM.
17538 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17539 (PARMS): Do not use macros from bp-asm.h.
17541 (strspn): Do not use BP_SYM.
17542 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17543 (PARMS): Do not use macros from bp-asm.h.
17547 (FUNCTION): Likewise. Do not use BP_SYM.
17548 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17550 (strtok_r): Likewise.
17551 (__GI___strtok_r): Likewise.
17552 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17553 (PARMS): Do not use macros from bp-asm.h.
17557 (__mpn_sub_n): Do not use BP_SYM.
17558 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17560 (PARMS): Do not use macros from bp-asm.h.
17563 (__mpn_submul_1): Do not use BP_SYM.
17564 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17566 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17568 (PARMS): Do not use macros from bp-asm.h.
17573 (__clone): Do not use BP_SYM.
17574 (clone): Do not use BP_SYM in weak_alias.
17575 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17577 (PARMS): Do not use macros from bp-asm.h.
17579 (__mmap64): Do not use BP_SYM.
17580 (mmap64): Do not use BP_SYM in weak_alias.
17581 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17582 <bp-sym.h> and <bp-asm.h>.
17583 (PARMS): Do not use macros from bp-asm.h.
17584 (__posix_fadvise64_l64): Do not use BP_SYM.
17585 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17586 (PARMS): Do not use macros from bp-asm.h.
17588 (semtimedop): Do not use BP_SYM.
17589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17592 2013-02-21 Allan McRae <allan@archlinux.org>
17594 * manual/message.texi (Charset conversion in gettext):
17595 Move @end statement to beginning of line.
17597 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17604 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17605 (denorm): Likewise.
17606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17609 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17611 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17612 tail-call to the resolved function if pltexit isn't needed.
17614 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17617 or Y being zero as being unlikely.
17618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17621 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17623 * manual/nss.texi (System Databases and Name Service Switch):
17624 Remove frobnicate @pxref.
17626 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17628 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17629 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17631 2013-02-20 Petr Machata <pmachata@redhat.com>
17633 * elf/elf.h (R_ARM_TARGET1): New macro.
17634 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17635 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17636 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17637 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17638 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17639 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17640 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17641 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17642 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17643 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17644 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17645 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17646 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17647 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17648 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17649 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17650 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17651 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17652 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17653 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17654 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17655 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17656 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17657 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17658 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17659 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17660 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17661 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17662 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17663 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17664 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17665 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17666 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17667 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17668 (R_ARM_THM_GOT_BREL12): Likewise.
17669 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17670 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17671 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17672 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17673 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17674 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17675 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17676 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17677 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17679 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17681 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17682 __attribute_used__ to __attribute__ ((unused)).
17684 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17686 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17689 comment formatting.
17690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17692 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17695 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17697 (ENTER): Remove both macro definitions.
17699 (CHECK_BOUNDS_LOW): Likewise.
17700 (CHECK_BOUNDS_HIGH): Likewise.
17701 (CHECK_BOUNDS_BOTH): Likewise.
17702 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17703 (RETURN_BOUNDED_POINTER): Likewise.
17704 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17705 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17706 (POP_ERRNO_LOCATION_RETURN): Likewise.
17707 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17708 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17709 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17711 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17712 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17713 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17714 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17715 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17716 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17717 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17718 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17719 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17720 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17721 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17722 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17724 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17726 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17727 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17729 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17730 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17731 * sysdeps/i386/i586/memset.S (memset): Likewise.
17732 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17733 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17734 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17736 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17737 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17738 Change uses of L(2) to L(out).
17739 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17740 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17741 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17742 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17743 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17745 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17746 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17748 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17749 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17750 (RETURN): Do not use macro LEAVE.
17751 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17752 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17753 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17754 * sysdeps/i386/i686/memset.S (memset): Likewise.
17755 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17756 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17758 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17760 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17761 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17762 L(1_2) and L(1_3) into L(1).
17763 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17764 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17765 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17766 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17767 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17768 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17769 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17770 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17771 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17773 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17774 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17775 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17776 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17777 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17778 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17779 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17780 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17781 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17782 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17783 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17784 * sysdeps/i386/strspn.S (strspn): Likewise.
17785 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17787 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17788 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17789 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17790 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17791 L(1_3) into L(1_1).
17792 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17793 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17794 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17796 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17798 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17800 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17803 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17805 * math/atest-exp.c (exp_mpn): Remove ROUND.
17806 * math/atest-exp2.c (exp_mpn): Likewise.
17807 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17809 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17810 * stdlib/tst-tls-atexit-lib.c: Likewise.
17811 * stdlib/tst-tls-atexit.c: Likewise.
17813 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17815 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17816 and __attribute_alloc_size__.
17818 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17820 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17821 __attribute_alloc_size__.
17822 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17823 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17825 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17827 * include/programs/xmalloc.h: New file.
17828 * catgets/gencat.c: Include it.
17829 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17830 * elf/pldd.c: Likewise.
17831 * iconv/iconv_charmap.c: Likewise.
17832 * iconv/iconvconfig.c: Likewise.
17833 * iconv/strtab.c: Likewise.
17834 * locale/programs/locale.c: Likewise.
17835 * locale/programs/localedef.h: Likewise.
17836 * locale/programs/simple-hash.c: Likewise.
17837 * nscd/nscd.h: Likewise.
17838 * nss/makedb.c: Likewise.
17839 * sysdeps/generic/ldconfig.h: Likewise.
17841 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17843 * Versions.def: Add GLIBC_2.18.
17844 * include/link.h (struct link_map): New member l_tls_dtor_count.
17845 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17846 (__call_tls_dtors): Likewise.
17847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17848 __cxa_thread_atexit_impl.
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17865 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17866 (tests): Add test case tst-tls-atexit.
17867 (modules-names): Add shared library for tst-tls-atexit.
17868 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17869 (GLIBC_PRIVATE): Add __call_tls_dtors.
17870 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17872 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17873 * stdlib/tst-tls-atexit.c: New test case.
17874 * stdlib/tst-tls-atexit-lib.c: New test case.
17876 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17878 * elf/Versions (ld): Add _dl_find_dso_for_object.
17879 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17880 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17881 (dl_open_worker): Use _dl_find_dso_for_object.
17882 * elf/dl-sym.c (do_sym): Likewise.
17883 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17885 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17887 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17888 Syntactic changes only.
17889 (_dl_runtime_profile): Do a tail-call to the resolved function.
17891 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17894 * sysdeps/x86_64/bp-asm.h: Remove file.
17895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17896 <bp-sym.h> and <bp-asm.h>.
17897 (__clone): Do not use BP_SYM.
17898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17899 <bp-sym.h> and <bp-asm.h>.
17900 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17901 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17903 (_setjmp): Do not use BP_SYM.
17904 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17906 (setjmp): Do not use BP_SYM.
17907 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17909 (mempcpy): Do not use BP_SYM in weak_alias.
17910 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17912 (strchr): Do not use BP_SYM.
17913 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17915 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17916 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17917 (_start): Do not use BP_SYM.
17918 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17920 (strcat): Do not use BP_SYM.
17921 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17923 (STRCMP): Do not use BP_SYM.
17924 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17926 (STRCPY): Do not use BP_SYM.
17927 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17929 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17931 (FUNCTION): Do not use BP_SYM.
17932 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17934 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17936 2013-02-17 Andreas Jaeger <aj@suse.de>
17938 * time/Versions: Sort entries.
17939 * string/Versions: Likewise.
17940 * resolv/Versions: Likewise.
17941 * posix/Versions: Likewise.
17942 * iconv/Versions: Likewise.
17943 * elf/Versions: Likewise.
17944 * wcsmbs/Versions: Likewise.
17946 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17948 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17949 loop termination condition.
17951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17952 variable to calculate EZ.
17955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17956 the lower precision input.
17958 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17961 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17962 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17963 (run-via-rtld-prefix): Do not handle %-bp tests.
17964 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17965 (all-object-suffixes): Remove .ob.
17966 (bppfx): Remove variable.
17967 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17968 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17969 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17970 [$(build-bounded) = yes] (libtype.ob): Likewise.
17971 * Makerules (elide-routines.ob): Remove variable.
17972 (do-tests-clean): Do not handle *-bp.out.
17973 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17974 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17975 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17976 (tests): Do not include $(tests-bp.out).
17977 (xtests): Do not include $(xtests-bp.out).
17978 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17979 [$(build-bounded) = yes] ($(addprefix
17980 $(objpfx),$(binaries-bounded))): Remove rule.
17981 ($(objpfx)%-bp.out): Remove rule.
17982 * config.make.in (build-bounded): Remove variable.
17983 * crypt/Makefile [$(build-bounded) = yes]
17984 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17985 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17986 append to variable.
17987 [$(build-bounded) = yes] (install-lib): Likewise.
17988 [$(build-bounded) = yes] (generated): Likewise.
17989 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17991 * intl/Makefile [$(build-bounded) = yes]
17992 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17993 * math/Makefile [$(build-bounded) = yes]
17994 ($(tests:%=$(objpfx)%-bp): Likewise.
17995 * misc/Makefile [$(build-bounded) = yes]
17996 ($(objpfx)tst-tsearch-bp): Likewise.
17997 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17998 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18000 * string/Makefile (o-objects.ob): Remove variable.
18001 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18002 (CFLAGS-.ob): Remove variable.
18003 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18004 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18005 both definitions of variable.
18006 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18007 (ASFLAGS-.ob): Remove variable.
18009 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18012 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18013 Remove __BOUNDED_POINTERS__ from condition.
18014 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18015 * string/bits/string2.h [!__NO_STRING_INLINES &&
18016 !__BOUNDED_POINTERS__]: Likewise.
18017 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18019 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18020 Remove conditional code.
18021 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18022 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18023 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18027 * csu/libc-start.c: Do not include <bp-sym.h>.
18028 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18029 * elf/dl-open.c: Do not include <bp-sym.h>.
18030 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18031 * math/fegetenv.c: Do not include <bp-sym.h>.
18032 (fegetenv): Do not use BP_SYM in versioned symbols.
18033 * nptl/sysdeps/pthread/bits/libc-lockP.h
18034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18037 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18039 (__pthread_mutex_destroy): Likewise.
18040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18041 (__pthread_mutex_lock): Likewise.
18042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18043 (__pthread_mutex_trylock): Likewise.
18044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18045 (__pthread_mutex_unlock): Likewise.
18046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18047 (__pthread_mutexattr_init): Likewise.
18048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18049 (__pthread_mutexattr_destroy): Likewise.
18050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18051 (__pthread_mutexattr_settype): Likewise.
18052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18053 (__pthread_rwlock_init): Likewise.
18054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18055 (__pthread_rwlock_destroy): Likewise.
18056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18057 (__pthread_rwlock_rdlock): Likewise.
18058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18059 (__pthread_rwlock_tryrdlock): Likewise.
18060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18061 (__pthread_rwlock_wrlock): Likewise.
18062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18063 (__pthread_rwlock_trywrlock): Likewise.
18064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18065 (__pthread_rwlock_unlock): Likewise.
18066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18067 (__pthread_key_create): Likewise.
18068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18069 (__pthread_setspecific): Likewise.
18070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18071 (__pthread_getspecific): Likewise.
18072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18075 (_pthread_cleanup_push_defer): Likewise.
18076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18077 (_pthread_cleanup_pop_restore): Likewise.
18078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18079 (pthread_setcancelstate): Likewise.
18080 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18082 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18083 (memchr): Do not use BP_SYM in weak_alias.
18084 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18085 (fegetenv): Do not use BP_SYM in versioned symbols.
18086 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18087 (fesetenv): Do not use BP_SYM in versioned symbols.
18088 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18089 (feupdateenv): Do not use BP_SYM in versioned symbols.
18090 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18091 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18092 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18093 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18094 (open64): Do not use BP_SYM in weak_alias.
18095 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18096 (fegetenv): Do not use BP_SYM in versioned symbols.
18097 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18098 (fesetenv): Do not use BP_SYM in versioned symbols.
18099 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18100 (feupdateenv): Do not use BP_SYM in versioned symbols.
18101 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18102 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18103 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18104 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18105 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18106 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18109 (__libc_start_main): Do not use BP_SYM.
18111 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18114 redundant return line.
18116 (denorm): Likewise.
18117 (dbl_mp): Likewise.
18118 (sub_magnitudes): Likewise.
18124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18126 (denorm): Likewise.
18127 (dbl_mp): Likewise.
18128 (sub_magnitudes): Likewise.
18135 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18138 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18141 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18142 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18144 of __mul for squares.
18145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18149 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18152 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18155 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18157 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18158 prototype or function definition. Rename ubp_* variables and
18159 parameters. Remove argv definitions conditional on
18160 [__BOUNDED_POINTERS__].
18161 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18162 * elf/dl-runtime.c (_dl_fixup): Likewise.
18163 * include/set-hooks.h (RUN_HOOK): Likewise.
18164 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18166 * string/strcpy.c (strcpy): Do not use __unbounded.
18167 * sysdeps/generic/frame.h (struct layout): Likewise.
18168 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18169 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18170 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18171 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18172 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18173 (__backtrace): Likewise.
18174 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18176 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18177 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18178 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18180 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18181 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18182 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18183 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18184 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18185 Do not use __unbounded.
18186 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18187 Rename __unboundedrlimits parameter to rlimits in prototype.
18188 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18189 Do not use __unbounded.
18190 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18191 not use __ptrvalue.
18192 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18193 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18194 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18195 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18196 __ptrvalue or __unbounded.
18197 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18198 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18200 (__new_msgctl): Do not use __ptrvalue.
18201 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18203 (__libc_msgrcv): Do not use __ptrvalue.
18204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18205 startup_info): Do not use __unbounded.
18206 (__libc_start_main): Likewise. Rename ubp_* variables and
18207 parameters. Remove argv definitions conditional on
18208 [__BOUNDED_POINTERS__].
18209 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18211 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18215 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18217 (__new_shmctl): Do not use __ptrvalue.
18218 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18219 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18221 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18223 (__libc_sigaction): Likewise.
18224 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18225 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18227 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18229 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18231 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18233 * string/mempcpy.c: Implement by calling memcpy.
18235 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18243 values in the mantissa.
18245 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18246 minimize writes to Z.
18247 (sub_magnitudes): Simplify code a bit.
18249 2013-02-12 Roland McGrath <roland@hack.frob.com>
18251 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18252 from the message. The linker prefixes all warnings with that already.
18254 2013-02-12 Andreas Schwab <schwab@suse.de>
18257 * posix/regexec.c (extend_buffers): Add parameter min_len.
18258 (check_matching): Pass minimum needed length.
18259 (clean_state_log_if_needed): Likewise.
18260 (get_subexp): Likewise.
18261 * posix/Makefile (tests): Add bug-regex34.
18262 (bug-regex34-ENV): Define.
18263 * posix/bug-regex34.c: New file.
18266 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18267 elements compare against the byte sequence of it, not its name.
18268 * posix/Makefile (tests): Add bug-regex35.
18269 (bug-regex35-ENV): Define.
18270 * posix/bug-regex35.c: New file.
18272 2013-02-11 Tom de Vries <tom@codesourcery.com>
18274 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18276 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18277 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18278 (CHECK_EOL): Add undef.
18280 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18282 * bits/stdlib-bsearch.h: New file.
18283 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18284 * stdlib/stdlib.h: Likewise.
18286 2013-02-11 Roland McGrath <roland@hack.frob.com>
18288 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18289 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18291 * manual/search.texi (Array Search Function): Add missing const in
18293 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18294 declaration to use rlim_t.
18295 (Basic Scheduling Functions): Remove erroneous const from
18296 sched_getparam prototype. Remove erroneous * from
18297 sched_get_priority_max and sched_get_priority_min prototypes.
18298 (Resource Usage): Fix summary @comment on vtimes to refer to
18299 sys/vtimes.h rather than vtimes.h.
18300 Add missing *s in vtimes prototype.
18301 (Limits on Resources): Fix ulimit prototype to return long int.
18302 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18303 prototypes to use long int rather than double.
18304 (BSD Random): Fix initstate and setstate to use char *, not void *.
18305 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18306 prototype to make second argument 'struct aiocb64 *const[]'.
18307 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18308 (Status of AIO Operations): Remove erroneous const in aio_return and
18309 aio_return64 prototypes.
18310 (Synchronizing I/O): Fix sync prototype to return void.
18311 * manual/startup.texi (Suboptions): Remove an erroneous const in
18312 getsubopt prototype.
18313 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18314 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18315 use size_t rather than int.
18316 (Scanning All Users): Likewise for getpwent_r.
18317 (Setting Groups): Add missing const to setgroups prototype.
18318 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18319 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18320 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18321 'const void *' rather than 'const char *'.
18322 (Host Address Functions): Likewise for inet_ntop.
18323 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18324 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18325 ssize_t for return value.
18326 (Sending Data): Likewise for send, sendto, sendmsg.
18327 (Socket Option Functions): Add a missing const in setsockopt prototype.
18328 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18329 use wchar_t for the argument.
18330 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18331 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18333 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18334 double/float/long double for second argument.
18335 Fix return types of significand, significandf, significandl.
18336 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18337 argument in fchmod prototype.
18338 (File Owner): Use uid_t and gid_t in fchown prototype.
18339 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18340 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18341 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18342 use 'const struct dirent **' as argument types to CMP function pointer
18344 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18345 (File Times): Fix summary magic @comment for struct utimbuf and utime
18346 to refer to utime.h, not time.h.
18347 * manual/string.texi (Argz Functions): Add missing const in
18348 argz_extract and argz_next prototypes.
18349 (Finding Tokens in a String): Likewise for basename.
18350 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18351 (Copying and Concatenation): Fix typo in wmemmove prototype.
18352 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18353 (Signal Stack): Remove erroneous const in sigstack prototype.
18354 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18356 (Simple Calendar Time): Likewise for stime.
18357 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18359 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18360 say sys/sysctl.h instead.
18361 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18362 and vsyslog prototypes.
18364 2013-02-11 Tom de Vries <tom@codesourcery.com>
18366 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18369 2013-02-11 Roland McGrath <roland@hack.frob.com>
18371 * misc/sys/mman.h: Fix typo in mremap comment.
18373 2013-02-08 Roland McGrath <roland@hack.frob.com>
18375 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18376 the '\0' terminator.
18378 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18381 * debug/segfault.c: Don't include <bp-checks.h>.
18382 * sysdeps/generic/bp-checks.h: Remove file.
18383 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18384 (__GETDENTS): Don't use CHECK_N.
18385 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18386 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18387 (__getgroups): Don't use CHECK_N.
18388 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18389 (setgroups): Don't use CHECK_N.
18390 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18391 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18392 (__libc_msgrcv): Don't use CHECK_N.
18393 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18394 (__libc_msgsnd): Don't use CHECK_N.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18397 (__libc_pread): Don't use CHECK_N.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18399 include <bp-checks.h>.
18400 (__libc_pread64): Don't use CHECK_N.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18402 include <bp-checks.h>.
18403 (__libc_pwrite): Don't use CHECK_N.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18405 include <bp-checks.h>.
18406 (__libc_pwrite64): Don't use CHECK_N.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18409 (__libc_pread): Don't use CHECK_N.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18411 include <bp-checks.h>.
18412 (__libc_pread64): Don't use CHECK_N.
18413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18414 include <bp-checks.h>.
18415 (__libc_pwrite): Don't use CHECK_N.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18417 include <bp-checks.h>.
18418 (__libc_pwrite64): Don't use CHECK_N.
18419 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18420 (do_pread): Don't use CHECK_N.
18421 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18422 (do_pread64): Don't use CHECK_N.
18423 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18424 (do_pwrite): Don't use CHECK_N.
18425 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18426 (do_pwrite64): Don't use CHECK_N.
18427 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18428 (__libc_readv): Don't use CHECK_N.
18429 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18430 (semop): Don't use CHECK_N.
18431 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18433 (semtimedop): Don't use CHECK_N.
18434 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18435 (__libc_pread): Don't use CHECK_N.
18436 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18438 (__libc_pread64): Don't use CHECK_N.
18439 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18441 (__libc_pwrite): Don't use CHECK_N.
18442 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18444 (__libc_pwrite64): Don't use CHECK_N.
18445 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18447 (__libc_msgrcv): Don't use CHECK_N.
18448 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18449 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18450 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18451 (__libc_writev): Don't use CHECK_N.
18453 2013-02-08 Roland McGrath <roland@hack.frob.com>
18455 * string/strcpy.c: Removed unused variable.
18457 * Makeconfig (+sysdep-includes): Define with := rather than =.
18458 Use an existing include/ subdir of each sysdeps dir before it.
18460 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18462 * nscd/connection.c (register_traced_file): Comment function.
18463 [HAVE_INOTIFY] (union __inev): Define.
18464 [HAVE_INOTIFY] (inotify_check_files): New function.
18465 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18466 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18468 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18470 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18472 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18473 loaded if not already and that a failure is permanent.
18475 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18478 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18479 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18481 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18484 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18485 (CHECK_1_NULL_OK): Likewise.
18486 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18487 (__fxstat): Do not use CHECK_1.
18488 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18490 (___fxstat64): Do not use CHECK_1.
18491 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18493 (__fxstatat): Do not use CHECK_1.
18494 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18496 (__fxstatat64): Do not use CHECK_1.
18497 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18499 (__fxstat): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18502 (__fxstatat): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18505 (__getresgid): Do not use CHECK_1.
18506 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18508 (__getresuid): Do not use CHECK_1.
18509 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18511 (__lxstat): Do not use CHECK_1.
18512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18514 (__old_msgctl): Do not use CHECK_1.
18515 (__new_msgctl): Likewise.
18516 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18518 (__new_setrlimit): Do not use CHECK_1.
18519 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18521 (__old_shmctl): Do not use CHECK_1.
18522 (__new_shmctl): Likewise.
18523 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18525 (__xstat): Do not use CHECK_1.
18526 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18527 (__lxstat): Do not use CHECK_1.
18528 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18530 (___lxstat64): Do not use CHECK_1.
18531 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18532 (__old_msgctl): Do not use CHECK_1.
18533 (__new_msgctl): Likewise.
18534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18536 (__gettimeofday): Do not use CHECK_1.
18537 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18538 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18539 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18541 (__gettimeofday): Do not use CHECK_1.
18542 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18543 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18544 (__new_shmctl): Do not use CHECK_1.
18545 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18547 (do_sigtimedwait): Do not use CHECK_1.
18548 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18550 (do_sigwaitinfo): Do not use CHECK_1.
18551 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18553 (msgctl): Do not use CHECK_1.
18554 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18556 (shmctl): Do not use CHECK_1.
18557 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18558 (ustat): Do not use CHECK_1.
18559 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18561 (__fxstat): Do not use CHECK_1.
18562 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18564 (__fxstatat): Do not use CHECK_1.
18565 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18567 (__lxstat): Do not use CHECK_1.
18568 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18570 (__xstat): Do not use CHECK_1.
18571 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18572 (__xstat): Do not use CHECK_1.
18573 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18574 (___xstat64): Do not use CHECK_1.
18577 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18579 (CHECK_BOUNDS_HIGH): Likewise.
18580 * string/strcpy.c: Do not include <bp-checks.h>.
18581 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18583 2013-02-07 Roland McGrath <roland@hack.frob.com>
18585 * nscd/nscd-client.h (__nscd_drop_map_ref):
18586 Add __attribute__ ((unused)).
18587 * nis/nss-nisplus.h (niserr2nss): Likewise.
18589 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18590 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18592 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18593 Remove inline keyword.
18594 * include/rounding-mode.h (round_away): Likewise.
18595 * libio/wfileops.c (adjust_wide_data): Likewise.
18596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18597 (__m128i_strloadu_tolower): Likewise.
18598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18599 (__m128i_strloadu_tolower): Likewise.
18600 * time/mktime.c (ydhms_diff): Likewise.
18601 * locale/elem-hash.h (elem_hash): Likewise.
18602 * locale/setlocale.c (setdata): Likewise.
18603 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18604 (re_string_wchar_at): Likewise.
18605 (bitset_not, bitset_merge, bitset_mask): Likewise.
18606 [!(__GNUC__ > 3)] (inline): Remove macro.
18607 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18608 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18609 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18610 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18611 * string/memcmp.c (memcmp_bytes): Likewise.
18612 * locale/programs/locarchive.c (compute_hashval): Likewise.
18613 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18614 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18615 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18616 * nss/getent.c (print_rpc, print_protocols): Likewise.
18617 (print_passwd, print_group, print_aliases): Likewise.
18618 * nis/nss-nisplus.h (niserr2nss): Likewise.
18619 * nscd/connections.c (restart_p): Likewise.
18620 Change return type to bool.
18622 2013-02-05 Roland McGrath <roland@hack.frob.com>
18624 * Makeconfig (all-Depend-files): Add existing
18625 $(sorted-subdirs:=/Depend) files.
18626 (all-subdirs): Remove nss.
18627 * sysdeps/unix/inet/Subdirs: Add it here instead.
18628 * hesiod/Depend: New file.
18630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18631 instead of calling alloca.
18633 * io/lseek.c (__lseek): Rename to __libc_lseek.
18634 Define __lseek as an alias.
18636 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18638 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18640 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18641 else clause and remove check for non-standard endianness.
18643 2013-02-04 David S. Miller <davem@davemloft.net>
18645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18647 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18650 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18651 (__ubp_memchr): Remove prototype.
18652 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18653 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18654 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18655 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18656 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18658 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18659 (__ubp_memchr): Likewise.
18660 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18661 (__ubp_memchr): Likewise.
18662 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18663 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18664 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18665 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18667 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18668 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18669 (__getcwd): Do not use CHECK_STRING.
18670 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18672 (__real_chown): Do not use CHECK_STRING.
18673 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18675 (fchownat): Do not use CHECK_STRING.
18676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18678 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18680 (__lchown): Do not use CHECK_STRING.
18681 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18682 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18683 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18684 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18686 include <bp-checks.h>.
18687 (truncate64): Do not use CHECK_STRING.
18688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18690 (__real_chown): Do not use CHECK_STRING.
18691 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18693 (__lchown): Do not use CHECK_STRING.
18694 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18696 (__chown): Do not use CHECK_STRING.
18697 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18699 (truncate64): Do not use CHECK_STRING.
18700 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18702 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18703 (__xmknod): Do not use CHECK_STRING.
18704 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18706 (__xmknodat): Do not use CHECK_STRING.
18707 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18708 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18710 2013-02-04 Andreas Schwab <schwab@suse.de>
18713 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18714 * include/netdb.h: Likewise for h_errno.
18715 * elf/tst-stackguard1.c: Include <tls.h>.
18717 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18719 * elf/link.h (struct link_map): Extend the l_addr comment.
18720 * include/link.h (struct link_map): Likewise.
18722 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18726 (BOUNDED_1): Remove macro.
18727 * debug/backtrace.c: Don't include <bp-checks.h>.
18728 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18729 (__backtrace): Likewise.
18730 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18732 (__backtrace): Don't use BOUNDED_1.
18733 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18735 (__backtrace): Don't use BOUNDED_1.
18736 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18737 (__backtrace): Don't use BOUNDED_1.
18738 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18739 (shmat): Don't use BOUNDED_N.
18741 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18744 * sysdeps/generic/bp-start.h: Remove file.
18745 * csu/libc-start.c: Don't include <bp-start.h>.
18746 (LIBC_START_MAIN): Set up __environ directly instead of using
18747 INIT_ARGV_and_ENVIRON.
18748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18752 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18754 (CHECK_FCNTL): Likewise.
18755 (CHECK_N_PAGES): Likewise.
18758 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18760 (CHECK_SIGSET_NULL_OK): Likewise.
18761 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18763 (sigpending): Don't use CHECK_SIGSET.
18764 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18767 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18769 (do_sigsuspend): Don't use CHECK_SIGSET.
18770 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18772 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18773 (do_sigwait): Don't use CHECK_SIGSET.
18774 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18777 include <bp-checks.h>.
18778 (sigpending): Don't use CHECK_SIGSET.
18779 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18780 include <bp-checks.h>.
18781 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18782 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18784 (sigpending): Don't use CHECK_SIGSET.
18785 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18787 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18790 * sysdeps/generic/bp-semctl.h: Remove file.
18791 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18792 <bp-checks.h> and <bp-semctl.h>.
18793 (__old_semctl): Don't use CHECK_SEMCTL.
18794 (__new_semctl): Likewise.
18795 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18797 (__old_semctl): Don't use CHECK_SEMCTL.
18798 (__new_semctl): Likewise.
18799 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18800 <bp-checks.h> and <bp-semctl.h>.
18801 (__old_semctl): Don't use CHECK_SEMCTL.
18802 (__new_semctl): Likewise.
18803 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18804 <bp-checks.h> and <bp-semctl.h>.
18805 (semctl): Don't use CHECK_SEMCTL.
18808 * Makerules (elide-bp-thunks): Remove variable.
18809 (elide-routines.oS): Don't use $(elide-bp-thunks).
18810 (elide-routines.os): Likewise.
18811 (elide-routines.o): Likewise.
18812 (elide-routines.op): Likewise.
18813 (elide-routines.og): Likewise.
18814 (objects): Don't use $(bp-thunks).
18815 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18817 (common-generated): Do not add s-proto-bp.d.
18818 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18821 Do not generate makefile rules for bounded-pointer thunks.
18822 * sysdeps/generic/bp-thunks.h: Remove file.
18823 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18824 * sysdeps/unix/s-proto-bp.S: Likewise.
18827 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18828 parts of result separately when argument is not close to line from
18829 -i to i and one part of argument is small.
18830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18832 * math/libm-test.inc (cacos_test): Add more tests.
18833 (casin_test): Likewise.
18834 (casinh_test): Likewise.
18835 * sysdeps/i386/fpu/libm-test-ulps: Update.
18836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18838 2013-01-31 David S. Miller <davem@davemloft.net>
18840 * po/de.po: Update from translation team.
18842 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18844 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18846 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18848 * configure.in (_AC_PROG_CC_C89): New definition.
18849 * configure: Regenerate.
18851 * configure.in (AC_PROG_CPP): New definition.
18852 * configure: Regenerate.
18854 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18856 * debug/tst-backtrace.h: New file.
18857 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18858 (ret): Remove variable.
18860 (FAIL): Remove macro.
18861 (NO_INLINE): Likewise.
18862 (fn1): Use match function instead of strstr.
18863 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18864 (ret): Remove variable.
18866 (FAIL): Remove macro.
18867 (NO_INLINE): Likewise.
18868 (fn): Use match function instead of strstr.
18869 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18870 (ret): Remove variable.
18872 (FAIL): Remove macro.
18873 (NO_INLINE): Likewise.
18874 (handle_signal): Use match function instead of strstr.
18875 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18876 (ret): Remove variable.
18878 (FAIL): Remove macro.
18879 (NO_INLINE): Likewise.
18880 (handle_signal): Use match function instead of strstr.
18882 2013-01-23 Roland McGrath <roland@hack.frob.com>
18884 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18886 2013-01-23 David S. Miller <davem@davemloft.net>
18888 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18889 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18890 argument of CAS if possible.
18891 * sysdeps/sparc/sparc64/bits/atomic.h
18892 (__arch_compare_and_exchange_val_32_acq): Likewise.
18893 (__arch_compare_and_exchange_val_64_acq): Likewise.
18895 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18897 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18898 * sysdeps/posix/ulimit.c: ... this.
18899 Include <limits.h>.
18900 * sysdeps/unix/bsd/ulimit.c: Remove file.
18902 2013-01-23 Adam Conrad <adconrad@0c3.net>
18904 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18905 (LDFLAGS-tst-array5): Likewise.
18907 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18910 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18911 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18912 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18913 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18915 2013-01-21 David S. Miller <davem@davemloft.net>
18917 * sysdeps/sparc/backtrace.c: New file.
18918 * sysdeps/sparc/sparc32/backtrace.h: New file.
18919 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18920 * sysdeps/sparc/sparc64/backtrace.h: New file.
18921 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18922 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18925 2013-01-21 Andreas Schwab <schwab@suse.de>
18928 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18931 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18937 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18938 Mark Mitchell <mark@codesourcery.com>
18939 Tom de Vries <tom@codesourcery.com>
18940 Paul Pluzhnikov <ppluzhnikov@google.com>
18942 * debug/tst-backtrace2.c: New file.
18943 * debug/tst-backtrace3.c: Likewise.
18944 * debug/tst-backtrace4.c: Likewise.
18945 * debug/tst-backtrace5.c: Likewise.
18946 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18947 (CFLAGS-tst-backtrace3.c): Likewise.
18948 (CFLAGS-tst-backtrace4.c): Likewise.
18949 (CFLAGS-tst-backtrace5.c): Likewise.
18950 (LDFLAGS-tst-backtrace2): Likewise.
18951 (LDFLAGS-tst-backtrace3): Likewise.
18952 (LDFLAGS-tst-backtrace4): Likewise.
18953 (LDFLAGS-tst-backtrace5): Likewise.
18954 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18955 tst-backtrace4 and tst-backtrace5.
18957 2013-01-18 Anton Blanchard <anton@samba.org>
18958 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18960 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18961 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18962 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18963 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18965 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18966 "+r" and remove output regs list as redundant. Add explicit inline
18967 asm to specify register of return val to work around compiler codegen
18968 bug. Remove (int) cast on return value. Add return type parameter to
18969 use in macro so that this macro does not truncate return value for
18971 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18972 pass to INTERNAL_VSYSCALL_NCS.
18973 (INLINE_VSYSCALL): Add 'long int' as return type to
18974 INTERNAL_VSYSCALL_NCS macro invocation.
18975 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18976 INTERNAL_VSYSCALL_NCS macro invocation.
18977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18979 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18982 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18983 Fix application of SIMD FP exception mask.
18985 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18986 mp_no from a power of two.
18987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18988 __mpexp_twomm1. Use __pow_mp.
18990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18993 2013-01-17 David S. Miller <davem@davemloft.net>
18995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18997 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19000 * include/complex.h: Condition contents on [!_COMPLEX_H].
19001 (__kernel_casinhf): New prototype.
19002 (__kernel_casinh): Likewise.
19003 (__kernel_casinhl): Likewise.
19004 * math/Makefile (libm_calls): Add k_casinh.
19005 * math/k_casinh.c: New file.
19006 * math/k_casinhf.c: Likewise.
19007 * math/k_casinhl.c: Likewise.
19008 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19009 finite nonzero arguments.
19010 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19011 finite nonzero arguments.
19012 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19013 finite nonzero arguments.
19014 * math/s_casinh.c: Do not include <float.h>.
19015 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19016 * math/s_casinhf.c: Do not include <float.h>.
19017 (__casinhf): Move code for finite nonzero arguments to
19019 * math/s_casinhl.c: Do not include <float.h>.
19020 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19022 (__casinhl): Move code for finite nonzero arguments to
19024 * math/libm-test.inc (cacos_test): Add more tests.
19025 * sysdeps/i386/fpu/libm-test-ulps: Update.
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19030 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19031 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19032 [!HAVE_MREMAP]: Remove [defined linux] case.
19033 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19035 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19037 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19039 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19041 * elf/elf.h (R_386_SIZE32): New relocation.
19042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19044 (elf_machine_rela): Likewise.
19045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19046 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19048 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19050 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19051 (FP_FAST_FMA): Do not define.
19052 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19053 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19054 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19055 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19056 !_SOFT_FLOAT]: Likewise.
19057 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19058 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19060 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19061 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19062 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19063 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19064 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19065 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19068 2013-01-16 Andreas Schwab <schwab@suse.de>
19071 * include/stdlib.h (__mktemp): Add declaration.
19072 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19073 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19075 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19077 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19079 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19080 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19081 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19083 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19084 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19088 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19089 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19090 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19092 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19093 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19095 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19097 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19099 2013-01-15 David S. Miller <davem@davemloft.net>
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19102 trunc{,f} to libm-sysdep_routes.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19121 nearbyint{,f} to libm-sysdep_routes.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19140 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19142 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19143 libc_feholdexcept and libc_fesetenv.
19145 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19147 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19149 2013-01-14 David S. Miller <davem@davemloft.net>
19151 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19152 (SPARC_ASM_VIS2_IFUNC): Likewise.
19153 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19155 use of 'siam' instruction.
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19189 routines to libm-sysdep_routines.
19190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19193 fdim/fdimf to libm-sysdep_routines.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19202 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19203 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19204 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19205 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19207 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19210 to optimize copies.
19212 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19217 local variable MPTWO.
19218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19221 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19223 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19226 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19228 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19230 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19232 * manual/pattern.texi (glob_t): Document gl_flags.
19233 (glob64_t): Likewise.
19235 2013-01-11 David S. Miller <davem@davemloft.net>
19237 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19238 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19239 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19240 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19241 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19242 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19243 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19244 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19245 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19246 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19247 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19248 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19249 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19252 sparc V9 rather than using V8 code.
19253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19258 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19261 2013-01-11 Roland McGrath <roland@hack.frob.com>
19263 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19264 not in the main loop.
19265 * configure: Regenerated.
19267 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19269 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19270 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19272 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19273 [!__GLIBC_HAVE_LONG_LONG] case.
19274 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19275 condition to just #else.
19276 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19277 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19278 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19279 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19281 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19282 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19283 #elif condition to just #else.
19284 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19285 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19286 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19287 #elif condition to just #else.
19289 2013-01-11 Steve Ellcey <sellcey@mips.com>
19291 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19292 (EF_MIPS_ARCH_64): Fix value.
19293 (EF_MIPS_ARCH_32R2): New.
19294 (EF_MIPS_ARCH_64R2): New.
19296 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19298 * Makeconfig (+link-pie-before-libc): New.
19299 (+link-pie-after-libc): Likewise.
19300 (+link-pie-tests): Likewise.
19301 (+link-pie): Rewritten.
19302 (link-before-libc): Remove $(config-LDFLAGS).
19303 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19304 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19305 (config-LDFLAGS): Renamed to ...
19306 (rtld-LDFLAGS): This.
19307 (rtld-tests-LDFLAGS): New macro.
19308 (link-libc-rpath-link): Likewise.
19309 (link-libc-tests-rpath-link): Likewise.
19310 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19311 (link-libc): Prepand $(link-libc-rpath-link).
19312 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19313 (test-program-prefix): New macro.
19314 (test-via-rtld-prefix): Likewise.
19315 (test-program-cmd): Likewise.
19316 (host-test-program-cmd): Likewise.
19317 * Makefile ($(common-objpfx)testrun.sh): Replace
19318 $(run-program-prefix) with $(test-program-prefix).
19319 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19321 ($(common-objpfx)shlib.lds): Likewise.
19322 (build-module-helper): Likewise.
19323 ($(common-objpfx)format.lds): Likewise.
19324 * Rules (binaries-pie-tests): New.
19325 (binaries-pie-notests): Likewise.
19326 (binaries-pie): Rewritten.
19327 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19328 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19329 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19330 (make-test-out): Replace $(host-built-program-cmd) with
19331 $(host-test-program-cmd).
19332 * config.make.in (build-hardcoded-path-in-tests): New variable.
19333 * configure.in (--enable-hardcoded-path-in-tests): New configure
19335 (hardcoded_path_in_tests): New AC_SUBST.
19336 * configure: Regenerated.
19337 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19338 $(built-program-cmd) with $(test-program-cmd).
19339 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19340 (test_program_cmd): This.
19341 * elf/Makefile ($(objpfx)order.out): Run test with
19342 $(test-program-prefix).
19343 ($(objpfx)order2.out): Likewise.
19344 ($(objpfx)tst-initorder.out): Likewise.
19345 ($(objpfx)tst-initorder2.out): Likewise.
19346 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19347 $(test-program-cmd).
19348 ($(objpfx)tst-array1-static.out): Likewise.
19349 ($(objpfx)tst-array2.out): Likewise.
19350 ($(objpfx)tst-array3.out): Likewise.
19351 ($(objpfx)tst-array4.out): Likewise.
19352 ($(objpfx)tst-array5.out): Likewise.
19353 ($(objpfx)tst-array5-static.out): Likewise.
19354 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19355 $(test-program-cmd).
19356 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19357 $(run-program-prefix) with $(test-program-prefix).
19358 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19359 (test_program_prefix): This.
19360 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19361 $(run-program-prefix) with $(test-program-prefix).
19362 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19363 (test_program_prefix): This.
19364 * iconvdata/tst-tables.sh: Likewise.
19365 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19366 $(run-program-prefix) with $(test-program-prefix).
19367 ($(objpfx)tst-translit.out): Likewise.
19368 ($(objpfx)tst-gettext2.out): Likewise.
19369 ($(objpfx)tst-gettext4.out): Likewise.
19370 ($(objpfx)tst-gettext6.out): Likewise.
19371 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19372 (test_program_prefix): This.
19373 * intl/tst-gettext2.sh: Likewise.
19374 * intl/tst-gettext4.sh Likewise.
19375 * intl/tst-gettext6.sh: Likewise.
19376 * intl/tst-translit.sh: Likewise.
19377 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19378 with $(test-program-cmd).
19379 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19380 $(run-program-prefix) with $(test-program-prefix).
19381 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19382 (test_program_prefix): This.
19383 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19384 $(run-program-prefix) with $(test-program-prefix).
19385 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19386 (test_program_prefix): This.
19387 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19388 * posix/Makefile ($(objpfx)globtest.out): Replace
19389 $(run-via-rtld-prefix) and $(test-wrapper) with
19390 $(test-program-prefix) and $(test-via-rtld-prefix).
19391 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19392 $(test-program-prefix).
19393 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19394 $(host-test-program-cmd).
19395 (tst-spawn-ARGS): Likewise.
19396 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19397 $(test-program-prefix).
19398 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19399 (test_via_rtld_prefix): This.
19400 (test_wrapper): Renamed to ...
19401 (test_program_prefix): This.
19402 (run_program_prefix): Replaced by test_program_prefix.
19403 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19404 (test_program_prefix): This.
19405 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19406 with $(host-test-program-cmd).
19407 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19408 $(run-program-prefix) with $(test-program-prefix).
19409 ($(objpfx)tst-printf.out): Likewise.
19410 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19411 $(test-program-cmd).
19412 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19413 (test_program_prefix): This.
19414 * stdio-common/tst-unbputc.sh: Likewise.
19415 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19416 $(run-program-prefix) with $(test-program-prefix).
19417 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19418 (test_program_prefix): This.
19419 * string/Makefile ($(objpfx)tst-svc.out): Replace
19420 $(built-program-cmd) with $(test-program-cmd).
19422 2013-01-11 Andreas Jaeger <aj@suse.de>
19425 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19426 value. Sync with Linux 3.7.
19428 2013-01-10 David S. Miller <davem@davemloft.net>
19430 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19434 2013-01-10 Roland McGrath <roland@hack.frob.com>
19436 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19438 * configure: Regenerated.
19440 2013-01-10 David S. Miller <davem@davemloft.net>
19442 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19443 sparc V9 rather than using V8 code.
19444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19447 2013-01-10 Roland McGrath <roland@hack.frob.com>
19449 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19450 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19451 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19452 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19453 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19454 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19455 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19456 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19457 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19458 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19459 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19460 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19461 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19462 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19463 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19464 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19465 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19466 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19467 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19468 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19469 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19470 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19471 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19472 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19473 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19474 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19475 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19477 2013-01-10 David S. Miller <davem@davemloft.net>
19479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19481 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19483 * posix/Makefile (tests-static): New variable.
19484 (tests): Add $(tests-static).
19485 (tst-exec-static-ARGS): New variable.
19486 (tst-spawn-static-ARGS): Likewise.
19487 * posix/tst-exec-static.c: New file.
19488 * posix/tst-spawn-static.c: Likewise.
19489 * posix/tst-exec.c: Support run directly.
19490 * posix/tst-spawn.c: Likewise.
19492 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19494 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19496 * math/bits/mathcalls.h (llrint): Likewise.
19497 (llround): Likewise.
19498 * stdlib/stdlib.h (struct drand48_data): Likewise.
19499 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19500 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19501 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19503 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19505 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19506 (elf_greg_t): Likewise.
19507 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19508 (__jmp_buf): Likewise.
19509 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19511 (llrint): Likewise, for all definitions.
19512 (llrintl): Likewise.
19514 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19515 Remove [__GNUC__] condition.
19516 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19517 condition to just [__USE_ISOC99].
19518 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19520 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19523 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19524 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19526 (_POSIX_V6_ILP32_OFF32): Likewise.
19527 (_XBS5_ILP32_OFF32): Likewise.
19528 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19529 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19531 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19533 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19536 doubles __mpexp_twomm1. Adjust usage.
19537 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19540 2013-01-10 Andreas Schwab <schwab@suse.de>
19543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19544 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19546 2013-01-09 David S. Miller <davem@davemloft.net>
19549 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19550 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19551 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19552 TCP_FASTOPEN): Define.
19553 (tcp_repair_opt): New structure.
19554 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19556 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19557 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19558 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19559 (tcp_cookie_transactions): New structure.
19561 2013-01-09 Anton Blanchard <anton@samba.org>
19563 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19564 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19566 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19568 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19570 * include/features.h (__USE_ANSI): Remove.
19572 2013-01-09 Roland McGrath <roland@hack.frob.com>
19574 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19576 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19578 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19580 * sysdeps/s390/fpu/libm-test-ulps: Update.
19582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19584 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19588 (denorm): Likewise.
19589 (__mp_dbl): Likewise.
19590 (__dbl_mp): Likewise.
19591 (add_magnitudes): Likewise.
19592 (sub_magnitudes): Likewise.
19598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19602 (denorm): Likewise.
19603 (__mp_dbl): Likewise.
19604 (__dbl_mp): Likewise.
19605 (add_magnitudes): Likewise.
19606 (sub_magnitudes): Likewise.
19612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19616 (denorm): Likewise.
19617 (__mp_dbl): Likewise.
19618 (__dbl_mp): Likewise.
19619 (add_magnitudes): Likewise.
19620 (sub_magnitudes): Likewise.
19627 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19629 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19630 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19631 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19632 2 && __USE_EXTERN_INLINES]: Likewise.
19634 2013-01-08 Andreas Jaeger <aj@suse.de>
19637 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19639 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19642 2013-01-07 Anton Blanchard <anton@samba.org>
19644 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19645 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19646 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19647 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19648 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19650 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19651 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19654 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19658 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19659 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19662 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19664 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19667 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19668 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19669 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19670 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19671 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19674 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19676 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19677 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19679 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19680 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19681 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19684 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19686 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19688 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19690 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19691 (__MALLOC_PMT): Likewise.
19692 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19693 [__GNUC__], only on [_LIBC].
19694 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19695 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19696 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19697 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19698 forward declaration.
19699 (realloc_hook_ini): Likewise.
19700 (memalign_hook_ini): Likewise.
19701 (__libc_memalign): Do not use __MALLOC_PMT in variable
19703 (__libc_valloc): Likewise.
19704 (__libc_pvalloc): Likewise.
19705 (__libc_calloc): Likewise.
19706 (__posix_memalign): Likewise.
19709 * math/s_casinh.c: Include <float.h>.
19710 (__casinh): Do not do computation with squaring and square root
19711 for large arguments.
19712 * math/s_casinhf.c: Include <float.h>.
19713 (__casinhf): Do not do computation with squaring and square root
19714 for large arguments.
19715 * math/s_casinhl.c: Include <float.h>.
19716 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19717 (__casinhl): Do not do computation with squaring and square root
19718 for large arguments.
19719 * math/libm-test.inc (casin_test): Add more tests.
19720 (casinh_test): Likewise.
19721 * sysdeps/i386/fpu/libm-test-ulps: Update.
19722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19724 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19726 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19727 (__x86_64_raw_data_cache_size): Likewise.
19728 (__x86_64_data_cache_size_half): Likewise.
19729 (__x86_64_raw_data_cache_size_half): Likewise.
19730 (__x86_64_shared_cache_size): Likewise.
19731 (__x86_64_raw_shared_cache_size): Likewise.
19732 (__x86_64_shared_cache_size_half): Likewise.
19733 (__x86_64_raw_shared_cache_size_half): Likewise.
19734 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19736 (__x86_data_cache_size): This.
19737 (__x86_64_raw_data_cache_size): Renamed to ...
19738 (__x86_raw_data_cache_size): This.
19739 (__x86_64_data_cache_size_half): Renamed to ...
19740 (__x86_data_cache_size_half): This.
19741 (__x86_64_raw_data_cache_size_half): Renamed to ...
19742 (__x86_raw_data_cache_size_half): This.
19743 (__x86_64_shared_cache_size): Renamed to ...
19744 (__x86_shared_cache_size): This.
19745 (__x86_64_raw_shared_cache_size): Renamed to ...
19746 (__x86_raw_shared_cache_size): This.
19747 (__x86_64_shared_cache_size_half): Renamed to ...
19748 (__x86_shared_cache_size_half): This.
19749 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19750 (__x86_raw_shared_cache_size_half): This.
19751 * sysdeps/x86_64/memcpy.S: Updated.
19752 * sysdeps/x86_64/memset.S: Likewise.
19753 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19757 2013-01-04 David S. Miller <davem@davemloft.net>
19759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19761 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19763 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19764 1 to avoid redefinition warning.
19765 (__USE_GNU): Don't define.
19766 (init_signaling_nan): Protoize.
19768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19770 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19772 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19774 (__cpymn): Likewise.
19775 (norm): Remove commented code.
19776 (denorm): Likewise.
19777 (__mp_dbl): Likewise.
19779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19780 (__cpymn): Likewise.
19781 (norm): Remove commented code.
19782 (denorm): Likewise.
19783 (__mp_dbl): Likewise.
19786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19787 mp_no value for 1.0 and 2.0.
19788 (norm): Use RADIXI instead of radixi.d.
19789 (denorm): Likewise.
19790 (__mul): Use 0.0 instead of zero.d.
19791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19792 mp_no value for 1.0 and 2.0.
19793 (norm): Use RADIXI instead of radixi.d.
19794 (denorm): Likewise.
19795 (__mul): Use 0.0 instead of zero.d.
19797 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19800 * math/s_casinh.c (__casinh): Reduce finite argument to first
19801 quadrant then set signs of results at the end.
19802 * math/s_casinhf.c (__casinhf): Likewise.
19803 * math/s_casinhl.c (__casinhl): Likewise.
19804 * math/libm-test.inc (casin_test): Add more tests.
19805 (casinh_test): Likewise.
19806 * sysdeps/i386/fpu/libm-test-ulps: Update.
19807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19809 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19811 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19813 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19815 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19817 (denorm): Likewise.
19818 (__mp_dbl): Likewise.
19821 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19822 and adjust the header comment.
19824 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19825 variable name from declaration.
19827 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19830 Initialize COMMON_CPUID_INDEX_7 element.
19831 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19832 (CPUID_RTM): Likewise.
19833 (HAS_RTM): Likewise.
19834 (COMMON_CPUID_INDEX_7): New enum.
19836 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19839 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19840 size is zero, record memory as freed.
19842 2013-01-03 Andreas Jaeger <aj@suse.de>
19844 * po/ia.po: Add new Interlingua translation.
19846 2012-01-03 Allan McRae <allan@archlinux.org>
19848 * locale/programs/localedef.c: Fix description of '--posix' flag.
19850 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19852 * NEWS: Update dates in second copyright notice.
19853 * README: Update copyright dates in example.
19854 * manual/libc.texinfo: Update copyright dates.
19855 * scripts/test-installation.pl: Update copyright date in --version
19858 * hurd/ctty-input.c: Fix copyright notice formatting.
19859 * hurd/ctty-output.c: Likewise.
19860 * hurd/dtable.c: Likewise.
19861 * hurd/hurd-raise.c: Likewise.
19862 * hurd/hurdprio.c: Likewise.
19863 * hurd/msgportdemux.c: Likewise.
19864 * misc/sys/file.h: Likewise.
19865 * misc/sys/ioctl.h: Likewise.
19866 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19867 * sysdeps/mach/hurd/chdir.c: Likewise.
19868 * sysdeps/mach/hurd/fchdir.c: Likewise.
19869 * sysdeps/mach/hurd/rename.c: Likewise.
19870 * sysdeps/mach/hurd/rmdir.c: Likewise.
19871 * sysdeps/mach/hurd/seekdir.c: Likewise.
19872 * sysdeps/mach/hurd/setsid.c: Likewise.
19873 * sysdeps/posix/wait3.c: Likewise.
19875 * All files with FSF copyright notices: Update copyright dates
19876 using scripts/update-copyrights.
19877 * intl/plural.c: Regenerated.
19878 * locale/programs/charmap-kw.h: Likewise.
19879 * locale/programs/locfile-kw.h: Likewise.
19881 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19883 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19886 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19887 calculation loop and add branch prediction.
19889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19890 check access beyond bounds of m1np.
19892 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19894 (__inv): Remove local variable MPTWO to use the global
19896 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19899 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19900 MP3HALFS static const.
19902 2013-01-01 David S. Miller <davem@davemloft.net>
19904 * po/ca.po: Update from translation team.
19906 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19908 * scripts/update-copyrights: New file.
19909 * Makeconfig: Reformat copyright notice.
19910 * ctype/ctype.h: Likewise.
19911 * debug/swprintf_chk.c: Likewise.
19912 * elf/dl-cache.c: Likewise.
19913 * elf/dl-debug.c: Likewise.
19914 * elf/dl-object.c: Likewise.
19915 * grp/initgroups.c: Likewise.
19916 * hurd/Makefile: Likewise.
19917 * hurd/hurd/signal.h: Likewise.
19918 * hurd/hurdfault.c: Likewise.
19919 * hurd/hurdioctl.c: Likewise.
19920 * hurd/hurdlookup.c: Likewise.
19921 * hurd/intr-msg.c: Likewise.
19922 * iconv/gconv_open.c: Likewise.
19923 * libio/swprintf.c: Likewise.
19924 * locale/lc-ctype.c: Likewise.
19925 * locale/nl_langinfo.c: Likewise.
19926 * mach/Machrules: Likewise.
19927 * mach/Makefile: Likewise.
19928 * malloc/obstack.h: Likewise.
19929 * manual/Makefile: Likewise.
19930 * manual/tsort.awk: Likewise.
19931 * misc/bits/stab.def: Likewise.
19932 * nis/nis_print_group_entry.c: Likewise.
19933 * nis/nis_table.c: Likewise.
19934 * nis/nss_compat/compat-pwd.c: Likewise.
19935 * nis/nss_compat/compat-spwd.c: Likewise.
19936 * po/Makefile: Likewise.
19937 * posix/fnmatch.c: Likewise.
19938 * posix/regex.h: Likewise.
19939 * resolv/Makefile: Likewise.
19940 * resolv/nss_dns/dns-network.c: Likewise.
19941 * resolv/res_hconf.c: Likewise.
19942 * scripts/gen-sorted.awk: Likewise.
19943 * soft-fp/soft-fp.h: Likewise.
19944 * stdio-common/printf.h: Likewise.
19945 * stdlib/monetary.h: Likewise.
19946 * stdlib/random.c: Likewise.
19947 * stdlib/random_r.c: Likewise.
19948 * sysdeps/generic/Makefile: Likewise.
19949 * sysdeps/gnu/Makefile: Likewise.
19950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19973 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19974 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19976 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19978 * sysdeps/mach/hurd/errnos.awk: Likewise.
19979 * sysdeps/mach/hurd/fork.c: Likewise.
19980 * sysdeps/mach/hurd/getcwd.c: Likewise.
19981 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19982 * sysdeps/mach/hurd/mmap.c: Likewise.
19983 * sysdeps/mach/hurd/utimes.c: Likewise.
19984 * sysdeps/mach/hurd/xmknod.c: Likewise.
19985 * sysdeps/posix/profil.c: Likewise.
19986 * sysdeps/posix/readdir_r.c: Likewise.
19987 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19988 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19989 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19990 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19992 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19993 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19994 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19996 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19997 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19998 * sysdeps/pthread/lio_listio.c: Likewise.
19999 * sysdeps/sparc/dl-procinfo.h: Likewise.
20000 * sysdeps/unix/i386/sysdep.S: Likewise.
20001 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20002 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20003 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20004 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20006 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20007 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20008 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20009 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20010 * sysdeps/wordsize-32/divdi3.c: Likewise.
20011 * time/sys/time.h: Likewise.
20012 * wcsmbs/Makefile: Likewise.
20014 2013-01-01 David S. Miller <davem@davemloft.net>
20016 * po/fr.po: Update from translation team.
20018 * catgets/gencat.c: Update copyright year.
20019 * csu/version.c: Likewise.
20020 * debug/catchsegv.sh: Likewise.
20021 * debug/pcprofiledump.c: Likewise.
20022 * debug/xtrace.sh: Likewise.
20023 * elf/ldconfig.c: Likewise.
20024 * elf/ldd.bash.in: Likewise.
20025 * elf/pldd.c: Likewise.
20026 * elf/sotruss.ksh: Likewise.
20027 * elf/sprof.c: Likewise.
20028 * iconv/iconv_prog.c: Likewise.
20029 * iconv/iconvconfig.c: Likewise.
20030 * locale/programs/locale.c: Likewise.
20031 * locale/programs/localedef.c: Likewise.
20032 * login/programs/pt_chown.c: Likewise.
20033 * malloc/memusage.sh: Likewise.
20034 * malloc/memusagestat.c: Likewise.
20035 * malloc/mtrace.pl: Likewise.
20036 * nscd/nscd.c: Likewise.
20037 * nss/getent.c: Likewise.
20038 * nss/makedb.c: Likewise.
20039 * posix/getconf.c: Likewise.
20041 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20043 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20046 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20048 * math/bits/mathcalls.h (modf): Use __nonnull.
20050 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20052 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20053 (split): Use macro CN instead of the bare value.
20054 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20057 instead of the bare value.
20058 (power1): Likewise.
20060 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20064 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20066 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20068 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20070 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20071 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20073 2012-12-28 Andreas Jaeger <aj@suse.de>
20075 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20076 values are from Linux 3.7.
20078 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20079 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20081 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20083 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20086 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20088 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20089 variables with preprocessor constants.
20090 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20094 2012-12-27 Bruno Haible <bruno@clisp.org>
20097 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20100 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20103 and use variable directly.
20104 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20106 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20108 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20111 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20113 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20114 include directive. Remove local variable MPONE.
20115 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20116 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20117 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20119 2012-12-25 David S. Miller <davem@davemloft.net>
20121 * version.h (RELEASE): Set to "development".
20122 (VERSION): Set to "2.17.90".
20123 * NEWS: Add 2.18 section.
20125 2012-12-21 David S. Miller <davem@davemloft.net>
20127 * po/hr.po: Update from translation team.
20129 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20131 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20133 2012-12-19 Steve Ellcey <sellcey@mips.com>
20135 * NEWS: Mention new memcpy for MIPS.
20137 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20139 * manual/contrib.texi (Contributors): Spelling correction.
20141 2012-12-15 David S. Miller <davem@davemloft.net>
20143 * po/ru.po: Update from translation team.
20145 2012-12-13 David S. Miller <davem@davemloft.net>
20147 * NEWS: Mention IFUNC testsuite enhancements.
20149 * po/pl.po: Update from translation team.
20150 * po/bg.po: Likewise.
20152 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20153 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20155 2012-12-11 David S. Miller <davem@davemloft.net>
20157 * po/sv.po: Update from translation team.
20159 * po/vi.po: Update from translation team.
20161 * po/cs.po: Update from translation team.
20163 * po/de.po: Update from translation team.
20164 * po/eo.po: Likewise.
20165 * po/nl.po: Likewise.
20167 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20170 * manual/argp.texi (Argp Helper Functions): Move node to follow
20171 Argp Parsing State.
20174 * manual/conf.texi (Limits on File System Capacity): Mention if
20175 terminating null is included in the max size.
20177 2012-12-10 Andreas Jaeger <aj@suse.de>
20179 * po/cs.po: Update from translation team.
20181 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20183 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20184 void pointer and cast to uintptr_t.
20185 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20187 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20188 * sysdeps/s390/s390-64/memset.S: Likewise.
20190 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20193 * menual/message.texi (Message Translation): Fix typos.
20194 (Helper programs for gettext): Likewise.
20196 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20199 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20202 2012-12-07 David S. Miller <davem@davemloft.net>
20204 * po/libc.pot: Update.
20206 2012-12-07 Richard Henderson <rth@redhat.com>
20209 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20210 normal/normal case to before the switch.
20211 (_FP_DIV): Likewise.
20213 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20214 Mike Frysinger <vapier@gentoo.org>
20216 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20217 check for __NR_fadvise64_64.
20219 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20221 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20222 0, not just to plain "0" as a statement.
20223 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20226 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20228 * NEWS: Use sourceware.org in Bugzilla URL.
20230 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20233 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20235 * stdio-common/tst-put-error.c (do_test): Add newline to the
20236 padded test to ensure flush.
20238 2012-12-05 Jeff Law <law@redhat.com>
20240 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20242 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20244 * README: Don't refer to ports add-on as distributed separately.
20245 Mention AArch64 in list of systems supported in the ports add-on.
20247 * LICENSES: Add more non-FSF copyright and license notices.
20249 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20252 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20254 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20255 10000 as width of padded output.
20257 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20259 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20261 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20262 variable LX with __attribute__ ((unused)).
20263 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20265 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20267 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20268 with __attribute__ ((unused)).
20270 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20272 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20274 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20276 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20277 (CFLAGS-nldbl-acos.c): New variable.
20278 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20377 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20381 whole low double instead of just low 47 bits when splitting values
20384 2012-12-03 Allan McRae <allan@archlinux.org>
20386 * manual/stdio.texi (Predefined Printf Handlers): Remove
20387 @hsep and @vsep usage.
20389 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20391 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20392 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20394 2012-12-03 Jeff Law <law@redhat.com>
20396 * time/sys/time.h (settimeofday): Do not mark TV argument
20399 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20401 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20402 when currently writing and seek to current position when not.
20403 * libio/Makefile (tests): Remove bug-fclose1.
20404 * libio/bug-fclose1.c: Delete.
20406 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20408 * manual/arith.texi (feenableexcept): Fix typo.
20409 (fedisableexcept): Likewise.
20411 2012-11-30 Roland McGrath <roland@hack.frob.com>
20413 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20414 second, differently-typed declaration, rather than a cast.
20416 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20418 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20419 * include/rpc/svc.h: ... here.
20421 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20424 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20425 depending n and resplen2 to catch cases where answer
20428 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20430 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20431 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20433 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20437 2012-11-29 Roland McGrath <roland@hack.frob.com>
20439 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20441 2012-11-28 Jeff Law <law@redhat.com>
20444 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20445 dataset_temporary. Track alloca usage into alloca_used.
20446 If dataset is large allocate and release it via malloc/free.
20448 2012-06-04 Florian Weimer <fweimer@redhat.com>
20451 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20453 2012-11-28 David S. Miller <davem@davemloft.net>
20455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20457 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20460 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20461 of pi/2 rounded to nearest to 64 bits.
20462 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20463 nearest to 64 bits.
20464 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20467 2012-11-28 Jeff Law <law@redhat.com>
20468 Martin Osvald <mosvald@redhat.com>
20471 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20472 * sunrpc/svc.c: Include time.h.
20473 (__svc_accept_failed): New function.
20474 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20475 any reason other than EINTR, call __svc_accept_failed.
20476 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20477 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20479 2012-11-28 Andreas Schwab <schwab@suse.de>
20481 * scripts/abilist.awk: Also handle indirect functions in .opd
20484 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20487 * sysdeps/x86/fpu/powl_helper.c: New file.
20488 * sysdeps/x86/fpu/Makefile: Likewise.
20489 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20491 (__ieee754_powl): Use __powl_helper for finite arguments except
20492 integer exponents below 8.
20493 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20495 (__ieee754_powl): Use __powl_helper for finite arguments except
20496 integer exponents below 8.
20497 * math/libm-test.inc (pow_test): Add more tests and enable some
20498 previously disabled tests.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20502 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20503 Carlos O'Donell <carlos_odonell@mentor.com>
20505 * nss/makedb.c (is_prime): Assert that input is odd and greater
20506 than 4. Note that fact in a comment too.
20507 (next_prime): Add 4 to input.
20509 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20512 * libio/Makefile (tests): Add test case tst-fwrite-error.
20513 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20514 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20515 * libio/tst-fwrite-error.c: New test case.
20517 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20519 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20520 before casting to void *.
20521 * include/libc-internal.h (__pointer_type): New macro.
20522 (__integer_if_pointer_type_sub): Likewise.
20523 (__integer_if_pointer_type): Likewise.
20524 (cast_to_integer): Likewise.
20525 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20526 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20527 before casting to atomic64_t.
20528 (atomic_exchange_acq): Likewise.
20529 (__arch_exchange_and_add_body): Likewise.
20530 (__arch_add_body): Likewise.
20531 (atomic_add_negative): Likewise.
20532 (atomic_add_zero): Likewise.
20534 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20536 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20537 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20538 (add_fdes): Likewise.
20539 (linear_search_fdes): Likewise.
20540 (binary_search_unencoded_fdes): Likewise.
20542 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20544 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20546 2012-11-24 Adam Conrad <adconrad@0c3.net>
20548 * configure.in: Autodetect C++ header directories.
20549 * configure: Regenerated.
20551 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20553 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20555 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20559 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20561 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20562 LDBL_MANT_DIG == 106]: Disable some tests.
20563 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20565 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20570 input for small inputs. Return +/- pi/2 for large inputs.
20571 * math/libm-test.inc (atan_test): Add more tests.
20573 * sysdeps/generic/unwind-dw2-fde-glibc.c
20574 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20575 __attribute__ ((unused)).
20578 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20579 x * y if x and y are nonzero and z is zero.
20582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20583 nonzero exponents with absolute value below 0x1p-117 to +/-
20587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20588 up arguments below 2**-450, not just those below 2**-500.
20589 * math/libm-test.inc (hypot_test): Add another test.
20592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20593 Return a+b for ratio over 2**120, not 2**60.
20594 * math/libm-test.inc (hypot_test): Add another test.
20596 * math/libm-test.inc (clog_test): Use
20597 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20598 (clog10_test): Likewise.
20601 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20603 2012-11-22 Andreas Schwab <schwab@suse.de>
20605 * sysdeps/i386/fpu/libm-test-ulps: Update.
20607 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20609 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20610 printf output with newline.
20612 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20615 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20616 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20617 -z nodlopen, -z initfirst and -z execstack support.
20618 * configure: Regenerated.
20620 * elf/elf.h (DF_1_NODIRECT): New macro.
20621 (DF_1_IGNMULDEF): Likewise.
20622 (DF_1_NOKSYMS): Likewise.
20623 (DF_1_NOHDR): Likewise.
20624 (DF_1_EDITED): Likewise.
20625 (DF_1_NORELOC): Likewise.
20626 (DF_1_SYMINTPOSE): Likewise.
20627 (DF_1_GLOBAUDIT): Likewise.
20628 (DF_1_SINGLETON): Likewise.
20629 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20630 DT_1_SUPPORTED_MASK bits.
20631 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20633 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20635 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20637 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20639 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20642 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20643 (sendmmsg): Move declarations...
20644 * socket/sys/socket.h: ... here.
20645 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20646 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20648 * socket/recvmmsg.c: ... this new file.
20649 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20650 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20651 definition of __sendmmsg hidden.
20652 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20653 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20654 Move ENOSYS stub into and include it from...
20655 * socket/sendmmsg.c: ... this new file.
20656 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20657 (sysdep_routines): Move recvmmsg and sendmmsg...
20658 * socket/Makefile (routines): ... here.
20659 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20660 (GLIBC_PRIVATE): Add __sendmmsg.
20661 * include/sys/socket.h (__sendmmsg): Add declarations.
20662 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20665 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20668 variable I1 with __attribute__ ((unused)).
20669 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20671 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20673 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20674 DUMMY variables with __attribute__ ((unused)).
20676 * bits/byteswap.h: Include <bits/types.h>.
20677 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20679 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20681 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20682 string_t. Do not manually set errno.
20683 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20684 length with __strnlen. Make sure to both set errno and return it on
20687 2012-11-19 David S. Miller <davem@davemloft.net>
20689 With help from Joseph Myers.
20690 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20691 very large arguments properly.
20692 * math/libm-test.inc (atan_test): New tests.
20693 (atan2_test): New tests.
20694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20697 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20700 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20703 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20704 [POSIX] (EADDRNOTAVAIL): Likewise.
20705 [POSIX] (EAFNOSUPPORT): Likewise.
20706 [POSIX] (EALREADY): Likewise.
20707 [POSIX] (ECONNABORTED): Likewise.
20708 [POSIX] (ECONNREFUSED): Likewise.
20709 [POSIX] (ECONNRESET): Likewise.
20710 [POSIX] (EDESTADDRREQ): Likewise.
20711 [POSIX] (EDQUOT): Likewise.
20712 [POSIX] (EHOSTUNREACH): Likewise.
20713 [POSIX] (EIDRM): Likewise.
20714 [POSIX] (EISCONN): Likewise.
20715 [POSIX] (ELOOP): Likewise.
20716 [POSIX] (EMULTIHOP): Likewise.
20717 [POSIX] (ENETDOWN): Likewise.
20718 [POSIX] (ENETUNREACH): Likewise.
20719 [POSIX] (ENOBUFS): Likewise.
20720 [POSIX] (ENODATA): Likewise.
20721 [POSIX] (ENOLINK): Likewise.
20722 [POSIX] (ENOMSG): Likewise.
20723 [POSIX] (ENOPROTOOPT): Likewise.
20724 [POSIX] (ENOSR): Likewise.
20725 [POSIX] (ENOSTR): Likewise.
20726 [POSIX] (ENOTCONN): Likewise.
20727 [POSIX] (ENOTSOCK): Likewise.
20728 [POSIX] (EOPNOTSUPP): Likewise.
20729 [POSIX] (EOVERFLOW): Likewise.
20730 [POSIX] (EPROTO): Likewise.
20731 [POSIX] (EPROTONOSUPPORT): Likewise.
20732 [POSIX] (EPROTOTYPE): Likewise.
20733 [POSIX] (ESTALE): Likewise.
20734 [POSIX] (ETIME): Likewise.
20735 [POSIX] (ETXTBSY): Likewise.
20736 [POSIX] (EWOULDBLOCK): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20738 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20739 [POSIX] (SEEK_CUR): Likewise.
20740 [POSIX] (SEEK_END): Likewise.
20741 [POSIX || UNIX98] (mode_t): Do not require.
20742 [POSIX] (off_t): Likewise.
20743 [POSIX] (pid_t): Likewise.
20744 [POSIX] (sys/stat.h): Do not allow header.
20745 [POSIX] (unistd.h): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20747 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20749 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20751 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20752 sigevent): Specify elements.
20753 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20755 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20756 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20758 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20759 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20760 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20761 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20762 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20763 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20764 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20765 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20767 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20768 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20769 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20770 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20771 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20773 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20775 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20777 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20779 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20780 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20781 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20782 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20784 Specify lower bound on value.
20785 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20791 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20792 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20794 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20796 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20813 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20815 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20820 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20822 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20827 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20828 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20830 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20834 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20835 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20836 specify as optional.
20837 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20840 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20841 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20842 [XPG3] (NL_LANGMAX): Likewise.
20843 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20844 [POSIX || XPG3] (NL_NMAX): Likewise.
20845 [POSIX || XPG3] (NL_SETMAX): Likewise.
20846 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20847 [XPG3] (NZERO): Likewise.
20848 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20849 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20850 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20851 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20852 (REG_ERANGE): Expect.
20853 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20855 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20856 Use (void) in prototype.
20857 [POSIX] (*_t): Allow.
20858 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20859 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20860 (WRDE_BADVAL): Expect.
20862 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20864 [XPG3 || XPG4] (O_RSYNC): Likewise.
20865 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20867 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20868 [XPG3 || XPG4] (sigqueue): Likewise.
20869 [XPG3 || XPG4] (sigtimedwait): Likewise.
20870 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20871 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20872 [XPG3 || XPG4] (vsnprintf): Likewise.
20873 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20875 [XPG3 || XPG4] (blksize_t): Likewise.
20876 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20878 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20879 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20880 [XPG3 || XPG4] (struct itimerspec): Likewise.
20881 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20882 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20883 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20884 [XPG3 || XPG4] (clockid_t): Likewise.
20885 [XPG3 || XPG4] (timer_t): Likewise.
20886 [XPG3 || XPG4] (clock_getres): Likewise.
20887 [XPG3 || XPG4] (clock_gettime): Likewise.
20888 [XPG3 || XPG4] (clock_settime): Likewise.
20889 [XPG3 || XPG4] (nanosleep): Likewise.
20890 [XPG3 || XPG4] (timer_create): Likewise.
20891 [XPG3 || XPG4] (timer_delete): Likewise.
20892 [XPG3 || XPG4] (timer_gettime): Likewise.
20893 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20894 [XPG3 || XPG4] (timer_settime): Likewise.
20895 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20896 [XPG3 || XPG4] (getlogin_r): Likewise.
20897 [XPG3 || XPG4] (pread): Likewise.
20898 [XPG3 || XPG4] (pthread_atfork): Likewise.
20899 [XPG3 || XPG4] (pwrite): Likewise.
20902 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20905 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20907 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20908 finalizing MALLSTREAM.
20910 * sysdeps/mach/hurd/syncfs.c: New file.
20912 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20915 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20916 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20917 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20918 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20919 (_nss_dns_gethostbyname4_r): Likewise.
20920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20921 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20923 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20926 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20928 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20930 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20931 * elf/cache.c (print_entry): Print ",AArch64" for
20934 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20935 * elf/cache.c (print_entry): Print ",hard-float" for
20938 2012-11-18 David S. Miller <davem@davemloft.net>
20940 With help from Joseph Myers.
20941 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20943 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20945 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20946 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20948 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20949 * math/libm-test.inc (y0_test): New tests.
20950 (y1_test): New tests.
20951 * sysdeps/i386/fpu/libm-test-ulps: Update.
20952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20955 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20957 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20959 * configure: Regenerated.
20961 2012-11-17 David S. Miller <davem@davemloft.net>
20964 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20965 nonzero exponents with absolute value below 0x1p-128 to +/-
20968 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20970 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20972 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20974 * posix/getconf-speclist.c: New file.
20975 * posix/posix-envs.def: Likewise.
20976 * posix/confstr.c (START_ENV_GROUP): New macro.
20977 (END_ENV_GROUP): Likewise.
20978 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20979 (KNOWN_PRESENT_ENV_STRING): Likewise.
20980 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20981 (UNKNOWN_ENVIRONMENT): Likewise.
20982 (confstr): Include posix-envs.def instead of handling
20983 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20984 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20985 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20986 (END_ENV_GROUP): Likewise.
20987 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20989 (UNKNOWN_ENVIRONMENT): Likewise.
20990 (__sysconf): Include posix-envs.def instead of handling associated
20991 cases directly here.
20992 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20993 preprocessing getconf-speclist.c rather than running getconf or
20994 generating empty file.
20996 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20998 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21000 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21003 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21005 2012-11-16 David S. Miller <davem@davemloft.net>
21007 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21008 smaller than LDBL_EPSILON/2.0L, just return xm1.
21010 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21012 * elf/tst-array1.c (init): Set constructor priority to 1000.
21013 (fini): Set destructor priority to 1000.
21014 * elf/tst-array2dep.c: Likewise.
21016 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21019 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21020 (_IO_new_file_xsputn): Also return EOF if none of the input
21021 data was written when overflow failed.
21022 * libio/iopadn.c (_IO_padn): Likewise.
21023 * libio/iowpadn.c (_IO_wpadn): Likewise.
21024 * stdio-common/tst-put-error.c: Add copyright notice.
21025 (do_test): Add case for printing padded string.
21026 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21027 _IO_padn returned error.
21028 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21029 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21032 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21034 * libio/libioP.h: Add comment note that the references to C++
21035 bits are now obsolete.
21037 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21039 * math/libm-test.inc (check_complex): Use asprintf.
21041 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21043 * debug/pcprofiledump.c (print_version): Update copyright year.
21044 * malloc/memusagestat.c (print_version): Likewise.
21046 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21049 * elf/Makefile (tests): Add tst-audit8.
21050 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21051 ($(objpfx)tst-audit8.out): New target.
21052 (tst-audit8-ENV): New variable.
21053 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21054 audit if l_reloc_result is NULL.
21055 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21056 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21057 * elf/tst-audit8.c: New file.
21059 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21061 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21062 * misc/Makefile (CFLAGS-select.c): Define.
21063 * posix/Makefile (CFLAGS-pause.c): Define.
21065 2012-11-13 David S. Miller <davem@davemloft.net>
21067 * crypt/Makefile: Move test targets after toplevel Rules
21068 inclusion. Grab any necessary sysdep routines when linking.
21069 * crypt/md5.c (md5_process_block): Remove define, we will always
21070 name it __md5_process_block.
21071 (md5_finish_ctx): Update md5_process_block call.
21072 (md5_stream): Likewise.
21073 (md5_process_bytes): Likewise.
21074 (md5_process_block): Rename to __md5_process_block and move to ...
21075 * crypt/md5-block.c: ... here.
21076 * crypt/sha256.c (sha256_process_block): Move to ...
21077 * crypt/sha256-block.c: ... here.
21078 * crypt/sha512.c (sha512_process_block): Move to ...
21079 * crypt/sha512-block.c: ... here.
21080 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21082 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21083 * sysdeps/sparc/sparc64/multiarch/Makefile
21084 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21086 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21089 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21090 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21091 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21092 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21093 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21094 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21095 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21096 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21097 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21099 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21100 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21102 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21104 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21106 * timezone/tzselect.ksh: Update from tzcode git revision
21107 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21108 * timezone/zdump.c: Likewise.
21109 * timezone/zic.c: Likewise.
21110 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21111 in TZVERSION setting, not $(PKGVERSION).
21112 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21113 REPORT_BUGS_TO settings.
21116 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21119 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21121 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21122 detection to immediately after _FP_ROUND().
21123 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21126 2012-11-11 David S. Miller <davem@davemloft.net>
21128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21130 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21131 __close rather than their public counterparts.
21133 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21135 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21137 [UNIX98] (sem_timedwait): Do not expect.
21138 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21139 [XPG4 || UNIX98] (sockatmark): Do not expect.
21140 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21141 (clock_getcpuclockid): Do not expect.
21142 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21143 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21145 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21146 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21147 [UNIX98] (vwscanf): Likewise.
21148 [UNIX98] (vswscanf): Likewise.
21150 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21152 * timezone/version.h: Remove file.
21153 * timezone/README: Do not refer to version.h.
21154 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21155 $(objpfx)version.h.
21156 ($(objpfx)zdump.o): Likewise.
21157 ($(objpfx)version.h): New target.
21159 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21161 * timezone/README: Don't mention modification to tzselect.ksh.
21162 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21163 work on unmodified tzselect.ksh. Substitute version numbers in
21166 * Makefile (format-me): Remove.
21167 (INSTALL): Adjust indentation. Use commands directly instead of
21168 using $(format-me).
21170 * aclocal.m4 (ACX_PKGVERSION): New macro.
21171 (ACX_BUGURL): Likewise.
21172 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21173 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21174 (REPORT_BUGS_TO): Likewise.
21175 * configure: Regenerated.
21176 * config.h.in (PKGVERSION): New macro.
21177 (REPORT_BUGS_TO): Likewise.
21178 * config.make.in (PKGVERSION): New variable.
21179 (PKGVERSION_TEXI): Likewise.
21180 (REPORT_BUGS_TO): Likewise.
21181 (REPORT_BUGS_TEXI): Likewise.
21182 * Makefile (format-me): Use -I$(common-objpfx)manual.
21183 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21184 ($(common-objpfx)manual/%): New target.
21185 (manual/%): Remove target.
21186 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21187 (print_version): Use PKGVERSION.
21188 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21189 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21190 and REPORT_BUGS_TO.
21191 ($(objpfx)xtrace): Likewise.
21192 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21193 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21194 (print_version): Use PKGVERSION.
21195 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21196 (do_version): Use PKGVERSION.
21197 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21199 (common-ldd-rewrite): Likewise.
21200 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21201 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21202 (print_version): Use PKGVERSION.
21203 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21204 * elf/pldd.c (argp_program_bug_address): Remove variable.
21205 (more_help): New function.
21206 (argp): Use more_help.
21207 (print_version): Use PKGVERSION.
21208 * elf/sln.c (main): Use PKGVERSION.
21209 (usage): Use REPORT_BUGS_TO.
21210 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21211 (top level): Use PKGVERSION.
21212 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21213 (print_version): Use PKGVERSION.
21214 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21215 (print_version): Use PKGVERSION.
21216 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21217 (print_version): Use PKGVERSION.
21218 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21219 (print_version): Use PKGVERSION.
21220 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21221 (print_version): Use PKGVERSION.
21222 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21223 (print_version): Use PKGVERSION.
21224 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21226 ($(objpfx)memusage): Likewise.
21227 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21228 (do_version): Use PKGVERSION.
21229 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21230 (print_version): Use PKGVERSION.
21231 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21232 ($PKGVERSION): New variable.
21233 ($REPORT_BUGS_TO): Likewise.
21234 (usage): Use $REPORT_BUGS_TO.
21235 (top level): Use $PKGVERSION.
21236 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21237 ($(objpfx)pkgvers.texi): New rule.
21238 ($(objpfx)stamp-pkgvers): Likewise.
21239 * manual/install.texi: Include pkgvers.texi.
21240 (--with-pkgversion): Document new configure option.
21241 (--with-bugurl): Likewise.
21242 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21243 than necessarily for this particular distribution. Use
21244 REPORT_BUGS_TO for where to report bugs.
21245 * INSTALL: Regenerated.
21246 * manual/libc.texinfo: Include pkgvers.texi.
21247 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21248 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21249 (print_version): Use PKGVERSION.
21250 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21251 (print_version): Use PKGVERSION.
21252 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21253 (print_version): Use PKGVERSION.
21254 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21255 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21257 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21258 (print_version): Use PKGVERSION.
21259 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21260 (print_version): Use PKGVERSION.
21261 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21264 * timezone/checktab.awk: Update from tzcode 2012i.
21265 * timezone/ialloc.c: Likewise.
21266 * timezone/private.h: Likewise.
21267 * timezone/scheck.c: Likewise.
21268 * timezone/tzfile.h: Likewise.
21269 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21270 (TZVERSION): Hardcode tzcode version number.
21271 * timezone/zdump.c: Update from tzcode 2012i.
21272 * timezone/zic.c: Likewise.
21273 * timezone/version.h: New file.
21274 * timezone/README: Describe version.h. Update upstream location.
21277 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21278 (mktemp): Enable declaration.
21279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21296 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21297 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21298 for copies of such integer values.
21299 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21300 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21302 2012-11-09 Andreas Jaeger <aj@suse.de>
21304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21305 definitions and declarations that are provided by
21306 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21308 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21310 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21311 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21312 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21315 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21317 * elf/elf.h: Update comment before AArch64 relocations.
21319 2012-11-07 David S. Miller <davem@davemloft.net>
21321 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21322 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21323 (__start_context): Declare.
21324 (__makecontext_ret): Delete.
21325 (__makecontext): Hook up __start_context instead of
21327 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21328 (sysdep_routines): Add __start_context when in stdlib.
21330 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21332 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21333 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21334 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21336 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21337 (READELF): New variable. Use it instead of hardcoded "readelf".
21339 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21341 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21342 * sysdeps/x86/Makefile: Here.
21343 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21344 * sysdeps/x86/tst-xmmymm.sh: This.
21346 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21348 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21350 [UNIX98] (pthread_barrier_t): Do not expect.
21351 [UNIX98] (pthread_barrierattr_t): Likewise.
21352 [UNIX98] (pthread_spinlock_t): Likewise.
21353 [UNIX98] (pthread_barrier_destroy): Likewise.
21354 [UNIX98] (pthread_barrier_init): Likewise.
21355 [UNIX98] (pthread_barrier_wait): Likewise.
21356 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21357 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21358 [UNIX98] (pthread_barrierattr_init): Likewise.
21359 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21360 [UNIX98] (pthread_getcpuclockid): Likewise.
21361 [UNIX98] (pthread_mutex_timedlock): Likewise.
21362 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21363 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21364 [UNIX98] (pthread_sigmask): Likewise.
21365 [UNIX98] (pthread_spin_destroy): Likewise.
21366 [UNIX98] (pthread_spin_init): Likewise.
21367 [UNIX98] (pthread_spin_lock): Likewise.
21368 [UNIX98] (pthread_spin_trylock): Likewise.
21369 [UNIX98] (pthread_spin_unlock): Likewise.
21370 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21372 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21374 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21375 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21376 [XPG3 || XPG4] (pthread_key_t): Likewise.
21377 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21378 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21379 [XPG3 || XPG4] (pthread_once_t): Likewise.
21380 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21381 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21382 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21383 [XPG3 || XPG4] (pthread_t): Likewise.
21385 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21387 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21389 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21390 Change function return type to int.
21392 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21393 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21394 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21395 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21396 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21397 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21398 [!POSIX] (posix_madvise): Likewise.
21399 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21401 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21402 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21403 (mode_t): Likewise.
21404 (posix_mem_offset): Likewise.
21405 (posix_typed_mem_get_info): Likewise.
21406 (posix_typed_mem_open): Likewise.
21408 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21409 Change condition to [XOPEN2K8].
21411 * conform/conformtest.pl: Preprocess allow-header data with -x c
21412 instead of from stdin.
21413 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21414 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21415 [C99-based standards] (cerfc): Likewise.
21416 [C99-based standards] (cexp2): Likewise.
21417 [C99-based standards] (cexpm1): Likewise.
21418 [C99-based standards] (clog10): Likewise.
21419 [C99-based standards] (clog1p): Likewise.
21420 [C99-based standards] (clog2): Likewise.
21421 [C99-based standards] (clgamma): Likewise.
21422 [C99-based standards] (ctgamma): Likewise.
21423 [C99-based standards] (cerff): Likewise.
21424 [C99-based standards] (cerfcf): Likewise.
21425 [C99-based standards] (cexp2f): Likewise.
21426 [C99-based standards] (cexpm1f): Likewise.
21427 [C99-based standards] (clog10f): Likewise.
21428 [C99-based standards] (clog1pf): Likewise.
21429 [C99-based standards] (clog2f): Likewise.
21430 [C99-based standards] (clgammaf): Likewise.
21431 [C99-based standards] (ctgammaf): Likewise.
21432 [C99-based standards] (cerfl): Likewise.
21433 [C99-based standards] (cerfcl): Likewise.
21434 [C99-based standards] (cexp2l): Likewise.
21435 [C99-based standards] (cexpm1l): Likewise.
21436 [C99-based standards] (clog10l): Likewise.
21437 [C99-based standards] (clog1pl): Likewise.
21438 [C99-based standards] (clog2l): Likewise.
21439 [C99-based standards] (clgammal): Likewise.
21440 [C99-based standards] (ctgammal): Likewise.
21441 * conform/data/inttypes.h-data [C99-based standards]: Include
21442 stdint.h-data. Remove all expectations for stdint.h contents.
21443 [C99-based standards] (PRI*): Do not allow.
21444 [C99-based standards] (SCN*): Likewise.
21445 [C99-based standards] (*_t): Likewise.
21446 [C99-based-standards] (PRId8): Expect macro.
21447 [C99-based-standards] (PRIi8): Likewise.
21448 [C99-based-standards] (PRIo8): Likewise.
21449 [C99-based-standards] (PRIu8): Likewise.
21450 [C99-based-standards] (PRIx8): Likewise.
21451 [C99-based-standards] (PRIX8): Likewise.
21452 [C99-based-standards] (SCNd8): Likewise.
21453 [C99-based-standards] (SCNi8): Likewise.
21454 [C99-based-standards] (SCNo8): Likewise.
21455 [C99-based-standards] (SCNu8): Likewise.
21456 [C99-based-standards] (SCNx8): Likewise.
21457 [C99-based-standards] (PRIdLEAST8): Likewise.
21458 [C99-based-standards] (PRIiLEAST8): Likewise.
21459 [C99-based-standards] (PRIoLEAST8): Likewise.
21460 [C99-based-standards] (PRIuLEAST8): Likewise.
21461 [C99-based-standards] (PRIxLEAST8): Likewise.
21462 [C99-based-standards] (PRIXLEAST8): Likewise.
21463 [C99-based-standards] (SCNdLEAST8): Likewise.
21464 [C99-based-standards] (SCNiLEAST8): Likewise.
21465 [C99-based-standards] (SCNoLEAST8): Likewise.
21466 [C99-based-standards] (SCNuLEAST8): Likewise.
21467 [C99-based-standards] (SCNxLEAST8): Likewise.
21468 [C99-based-standards] (PRIdFAST8): Likewise.
21469 [C99-based-standards] (PRIiFAST8): Likewise.
21470 [C99-based-standards] (PRIoFAST8): Likewise.
21471 [C99-based-standards] (PRIuFAST8): Likewise.
21472 [C99-based-standards] (PRIxFAST8): Likewise.
21473 [C99-based-standards] (PRIXFAST8): Likewise.
21474 [C99-based-standards] (SCNdFAST8): Likewise.
21475 [C99-based-standards] (SCNiFAST8): Likewise.
21476 [C99-based-standards] (SCNoFAST8): Likewise.
21477 [C99-based-standards] (SCNuFAST8): Likewise.
21478 [C99-based-standards] (SCNxFAST8): Likewise.
21479 [C99-based-standards] (PRId16): Likewise.
21480 [C99-based-standards] (PRIi16): Likewise.
21481 [C99-based-standards] (PRIo16): Likewise.
21482 [C99-based-standards] (PRIu16): Likewise.
21483 [C99-based-standards] (PRIx16): Likewise.
21484 [C99-based-standards] (PRIX16): Likewise.
21485 [C99-based-standards] (SCNd16): Likewise.
21486 [C99-based-standards] (SCNi16): Likewise.
21487 [C99-based-standards] (SCNo16): Likewise.
21488 [C99-based-standards] (SCNu16): Likewise.
21489 [C99-based-standards] (SCNx16): Likewise.
21490 [C99-based-standards] (PRIdLEAST16): Likewise.
21491 [C99-based-standards] (PRIiLEAST16): Likewise.
21492 [C99-based-standards] (PRIoLEAST16): Likewise.
21493 [C99-based-standards] (PRIuLEAST16): Likewise.
21494 [C99-based-standards] (PRIxLEAST16): Likewise.
21495 [C99-based-standards] (PRIXLEAST16): Likewise.
21496 [C99-based-standards] (SCNdLEAST16): Likewise.
21497 [C99-based-standards] (SCNiLEAST16): Likewise.
21498 [C99-based-standards] (SCNoLEAST16): Likewise.
21499 [C99-based-standards] (SCNuLEAST16): Likewise.
21500 [C99-based-standards] (SCNxLEAST16): Likewise.
21501 [C99-based-standards] (PRIdFAST16): Likewise.
21502 [C99-based-standards] (PRIiFAST16): Likewise.
21503 [C99-based-standards] (PRIoFAST16): Likewise.
21504 [C99-based-standards] (PRIuFAST16): Likewise.
21505 [C99-based-standards] (PRIxFAST16): Likewise.
21506 [C99-based-standards] (PRIXFAST16): Likewise.
21507 [C99-based-standards] (SCNdFAST16): Likewise.
21508 [C99-based-standards] (SCNiFAST16): Likewise.
21509 [C99-based-standards] (SCNoFAST16): Likewise.
21510 [C99-based-standards] (SCNuFAST16): Likewise.
21511 [C99-based-standards] (SCNxFAST16): Likewise.
21512 [C99-based-standards] (PRId32): Likewise.
21513 [C99-based-standards] (PRIi32): Likewise.
21514 [C99-based-standards] (PRIo32): Likewise.
21515 [C99-based-standards] (PRIu32): Likewise.
21516 [C99-based-standards] (PRIx32): Likewise.
21517 [C99-based-standards] (PRIX32): Likewise.
21518 [C99-based-standards] (SCNd32): Likewise.
21519 [C99-based-standards] (SCNi32): Likewise.
21520 [C99-based-standards] (SCNo32): Likewise.
21521 [C99-based-standards] (SCNu32): Likewise.
21522 [C99-based-standards] (SCNx32): Likewise.
21523 [C99-based-standards] (PRIdLEAST32): Likewise.
21524 [C99-based-standards] (PRIiLEAST32): Likewise.
21525 [C99-based-standards] (PRIoLEAST32): Likewise.
21526 [C99-based-standards] (PRIuLEAST32): Likewise.
21527 [C99-based-standards] (PRIxLEAST32): Likewise.
21528 [C99-based-standards] (PRIXLEAST32): Likewise.
21529 [C99-based-standards] (SCNdLEAST32): Likewise.
21530 [C99-based-standards] (SCNiLEAST32): Likewise.
21531 [C99-based-standards] (SCNoLEAST32): Likewise.
21532 [C99-based-standards] (SCNuLEAST32): Likewise.
21533 [C99-based-standards] (SCNxLEAST32): Likewise.
21534 [C99-based-standards] (PRIdFAST32): Likewise.
21535 [C99-based-standards] (PRIiFAST32): Likewise.
21536 [C99-based-standards] (PRIoFAST32): Likewise.
21537 [C99-based-standards] (PRIuFAST32): Likewise.
21538 [C99-based-standards] (PRIxFAST32): Likewise.
21539 [C99-based-standards] (PRIXFAST32): Likewise.
21540 [C99-based-standards] (SCNdFAST32): Likewise.
21541 [C99-based-standards] (SCNiFAST32): Likewise.
21542 [C99-based-standards] (SCNoFAST32): Likewise.
21543 [C99-based-standards] (SCNuFAST32): Likewise.
21544 [C99-based-standards] (SCNxFAST32): Likewise.
21545 [C99-based-standards] (PRId64): Likewise.
21546 [C99-based-standards] (PRIi64): Likewise.
21547 [C99-based-standards] (PRIo64): Likewise.
21548 [C99-based-standards] (PRIu64): Likewise.
21549 [C99-based-standards] (PRIx64): Likewise.
21550 [C99-based-standards] (PRIX64): Likewise.
21551 [C99-based-standards] (SCNd64): Likewise.
21552 [C99-based-standards] (SCNi64): Likewise.
21553 [C99-based-standards] (SCNo64): Likewise.
21554 [C99-based-standards] (SCNu64): Likewise.
21555 [C99-based-standards] (SCNx64): Likewise.
21556 [C99-based-standards] (PRIdLEAST64): Likewise.
21557 [C99-based-standards] (PRIiLEAST64): Likewise.
21558 [C99-based-standards] (PRIoLEAST64): Likewise.
21559 [C99-based-standards] (PRIuLEAST64): Likewise.
21560 [C99-based-standards] (PRIxLEAST64): Likewise.
21561 [C99-based-standards] (PRIXLEAST64): Likewise.
21562 [C99-based-standards] (SCNdLEAST64): Likewise.
21563 [C99-based-standards] (SCNiLEAST64): Likewise.
21564 [C99-based-standards] (SCNoLEAST64): Likewise.
21565 [C99-based-standards] (SCNuLEAST64): Likewise.
21566 [C99-based-standards] (SCNxLEAST64): Likewise.
21567 [C99-based-standards] (PRIdFAST64): Likewise.
21568 [C99-based-standards] (PRIiFAST64): Likewise.
21569 [C99-based-standards] (PRIoFAST64): Likewise.
21570 [C99-based-standards] (PRIuFAST64): Likewise.
21571 [C99-based-standards] (PRIxFAST64): Likewise.
21572 [C99-based-standards] (PRIXFAST64): Likewise.
21573 [C99-based-standards] (SCNdFAST64): Likewise.
21574 [C99-based-standards] (SCNiFAST64): Likewise.
21575 [C99-based-standards] (SCNoFAST64): Likewise.
21576 [C99-based-standards] (SCNuFAST64): Likewise.
21577 [C99-based-standards] (SCNxFAST64): Likewise.
21578 [C99-based-standards] (PRIdMAX): Likewise.
21579 [C99-based-standards] (PRIiMAX): Likewise.
21580 [C99-based-standards] (PRIoMAX): Likewise.
21581 [C99-based-standards] (PRIuMAX): Likewise.
21582 [C99-based-standards] (PRIxMAX): Likewise.
21583 [C99-based-standards] (PRIXMAX): Likewise.
21584 [C99-based-standards] (SCNdMAX): Likewise.
21585 [C99-based-standards] (SCNiMAX): Likewise.
21586 [C99-based-standards] (SCNoMAX): Likewise.
21587 [C99-based-standards] (SCNuMAX): Likewise.
21588 [C99-based-standards] (SCNxMAX): Likewise.
21589 [C99-based-standards] (PRIdPTR): Likewise.
21590 [C99-based-standards] (PRIiPTR): Likewise.
21591 [C99-based-standards] (PRIoPTR): Likewise.
21592 [C99-based-standards] (PRIuPTR): Likewise.
21593 [C99-based-standards] (PRIxPTR): Likewise.
21594 [C99-based-standards] (PRIXPTR): Likewise.
21595 [C99-based-standards] (SCNdPTR): Likewise.
21596 [C99-based-standards] (SCNiPTR): Likewise.
21597 [C99-based-standards] (SCNoPTR): Likewise.
21598 [C99-based-standards] (SCNuPTR): Likewise.
21599 [C99-based-standards] (SCNxPTR): Likewise.
21600 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21602 * conform/data/stdint.h-data: Update comments to clarify
21604 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21606 [C99-based standards] (INT8_MAX): Likewise.
21607 [C99-based standards] (INT16_MIN): Likewise.
21608 [C99-based standards] (INT16_MAX): Likewise.
21609 [C99-based standards] (INT32_MIN): Likewise.
21610 [C99-based standards] (INT32_MAX): Likewise.
21611 [C99-based standards] (INT64_MIN): Likewise.
21612 [C99-based standards] (INT64_MAX): Likewise.
21613 [C99-based standards] (UINT8_MAX): Likewise.
21614 [C99-based standards] (UINT16_MAX): Likewise.
21615 [C99-based standards] (UINT32_MAX): Likewise.
21616 [C99-based standards] (UINT64_MAX): Likewise.
21617 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21618 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21619 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21620 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21621 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21622 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21623 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21624 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21625 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21626 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21627 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21628 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21629 [C99-based standards] (INT_FAST8_MIN): Likewise.
21630 [C99-based standards] (INT_FAST8_MAX): Likewise.
21631 [C99-based standards] (INT_FAST16_MIN): Likewise.
21632 [C99-based standards] (INT_FAST16_MAX): Likewise.
21633 [C99-based standards] (INT_FAST32_MIN): Likewise.
21634 [C99-based standards] (INT_FAST32_MAX): Likewise.
21635 [C99-based standards] (INT_FAST64_MIN): Likewise.
21636 [C99-based standards] (INT_FAST64_MAX): Likewise.
21637 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21638 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21639 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21640 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21641 [C99-based standards] (INTPTR_MIN): Likewise.
21642 [C99-based standards] (INTPTR_MAX): Likewise.
21643 [C99-based standards] (UINTPTR_MAX): Likewise.
21644 [C99-based standards] (INTMAX_MIN): Likewise.
21645 [C99-based standards] (INTMAX_MAX): Likewise.
21646 [C99-based standards] (UINTMAX_MAX): Likewise.
21647 [C99-based standards] (PTRDIFF_MIN): Likewise.
21648 [C99-based standards] (PTRDIFF_MAX): Likewise.
21649 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21650 [C99-based standards] (SIZE_MAX): Likewise.
21651 [C99-based standards] (WCHAR_MAX): Likewise.
21652 [C99-based standards] (WINT_MAX): Likewise.
21653 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21654 constraint on value.
21655 [C99-based standards] (WCHAR_MIN): Likewise.
21656 [C99-based standards] (WINT_MIN): Likewise.
21657 [C99-based standards] (*_t): Allow.
21658 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21659 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21660 Include math.h-data and complex.h-data. Remove all expectations
21661 of math.h and complex.h contents.
21662 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21664 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21665 (struct tm): Expect tag.
21666 [C99-based-standards] (wcstof): Expect function.
21667 [C99-based-standards] (wcstold): Likewise.
21668 [C99-based-standards] (wcstoll): Likewise.
21669 [C99-based-standards] (wcstoull): Likewise.
21670 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21671 macro-int-constant. Specify type.
21672 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21673 constraint on value.
21674 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21676 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21678 [ISO C standards]: Do not allow headers.
21679 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21680 wcs[abcdefghijklmnopqrstuvwxyz]*.
21681 [ISO C standards] (*_t): Do not allow.
21682 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21684 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21685 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21687 [ISO C standards]: Do not allow headers.
21688 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21689 is[abcdefghijklmnopqrstuvwxyz]*.
21690 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21691 to[abcdefghijklmnopqrstuvwxyz]*.
21692 [ISO C standards] (*_t): Do not allow.
21693 * conform/data/stdalign.h-data: New file.
21694 * conform/data/stdbool.h-data: Likewise.
21695 * conform/data/stdnoreturn.h-data: Likewise.
21697 2012-11-07 Roland McGrath <roland@hack.frob.com>
21700 * manual/filesys.texi (Directory Entries): Typo fix.
21701 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21703 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21705 * elf/elf.h (EM_AARCH64): New macro.
21706 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21707 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21708 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21709 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21710 (R_AARCH64_TLSDESC): Likewise.
21711 (NT_ARM_TLS): Likewise.
21712 (NT_ARM_HW_BREAK): Likewise.
21713 (NT_ARM_HW_WATCH): Likewise.
21715 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21718 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21719 (__ieee754_powl): Saturate nonzero exponents with absolute value
21720 below 0x1p-79 to +/- 0x1p-79.
21721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21722 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21723 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21724 nonzero exponents with absolute value below 0x1p-32 to +/-
21726 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21727 (__ieee754_powl): Saturate nonzero exponents with absolute value
21728 below 0x1p-79 to +/- 0x1p-79.
21729 * math/libm-test.inc (pow_test): Add more tests.
21731 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21733 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21734 _dl_s390_cap_flags with kernel. Increase string length.
21735 (_dl_s390_platforms): Add z196 and zEC12.
21737 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21739 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21740 Change XOPEN21K to XOPEN2K.
21742 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21744 * string/memmove.c: Use memcpy when possible.
21746 2012-11-06 Andreas Jaeger <aj@suse.de>
21748 * po/eo.po: Update from translation team.
21750 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21754 exponent and small x and y exponents, scale x or y up. Increase
21755 by 2 the exponent used in scaling up.
21756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21758 * math/libm-test.inc (fma_test): Add more tests.
21759 (fma_test_towardzero): Likewise.
21760 (fma_test_downward): Likewise.
21761 (fma_test_upward): Likewise.
21763 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21766 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21770 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21771 namespace for names of struct fields.
21772 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21774 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21775 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21777 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21780 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21782 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21784 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21788 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21791 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21795 definitely overflow as x * y not x * y + z.
21796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21798 * math/libm-test.inc (fma_test): Add more tests.
21799 (fma_test_towardzero): Likewise.
21800 (fma_test_downward): Likewise.
21801 (fma_test_upward): Likewise.
21803 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21807 * include/stub-tag.h: Remove file.
21808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21810 * manual/maint.texi (Porting): Don't reference it.
21811 * Makerules ($(objpfx)stubs): Likewise.
21812 * dirent/closedir.c: Don't include <stub-tag.h>.
21813 * dirent/dirfd.c: Likewise.
21814 * dirent/fdopendir.c: Likewise.
21815 * dirent/getdents.c: Likewise.
21816 * dirent/getdents64.c: Likewise.
21817 * dirent/opendir.c: Likewise.
21818 * dirent/readdir.c: Likewise.
21819 * dirent/readdir64.c: Likewise.
21820 * dirent/readdir64_r.c: Likewise.
21821 * dirent/readdir_r.c: Likewise.
21822 * dirent/rewinddir.c: Likewise.
21823 * dirent/seekdir.c: Likewise.
21824 * dirent/telldir.c: Likewise.
21825 * gmon/profil.c: Likewise.
21826 * grp/setgroups.c: Likewise.
21827 * inet/if_index.c: Likewise.
21828 * io/access.c: Likewise.
21829 * io/chdir.c: Likewise.
21830 * io/chmod.c: Likewise.
21831 * io/chown.c: Likewise.
21832 * io/close.c: Likewise.
21833 * io/dup.c: Likewise.
21834 * io/dup2.c: Likewise.
21835 * io/dup3.c: Likewise.
21836 * io/euidaccess.c: Likewise.
21837 * io/faccessat.c: Likewise.
21838 * io/fchdir.c: Likewise.
21839 * io/fchmod.c: Likewise.
21840 * io/fchmodat.c: Likewise.
21841 * io/fchown.c: Likewise.
21842 * io/fchownat.c: Likewise.
21843 * io/fcntl.c: Likewise.
21844 * io/flock.c: Likewise.
21845 * io/fstatfs.c: Likewise.
21846 * io/fstatfs64.c: Likewise.
21847 * io/fstatvfs.c: Likewise.
21848 * io/fstatvfs64.c: Likewise.
21849 * io/futimens.c: Likewise.
21850 * io/fxstat.c: Likewise.
21851 * io/fxstat64.c: Likewise.
21852 * io/fxstatat.c: Likewise.
21853 * io/fxstatat64.c: Likewise.
21854 * io/getcwd.c: Likewise.
21855 * io/isatty.c: Likewise.
21856 * io/lchmod.c: Likewise.
21857 * io/lchown.c: Likewise.
21858 * io/link.c: Likewise.
21859 * io/linkat.c: Likewise.
21860 * io/lseek.c: Likewise.
21861 * io/lseek64.c: Likewise.
21862 * io/lxstat64.c: Likewise.
21863 * io/mkdir.c: Likewise.
21864 * io/mkdirat.c: Likewise.
21865 * io/mkfifo.c: Likewise.
21866 * io/mkfifoat.c: Likewise.
21867 * io/open.c: Likewise.
21868 * io/open64.c: Likewise.
21869 * io/openat.c: Likewise.
21870 * io/openat64.c: Likewise.
21871 * io/pipe.c: Likewise.
21872 * io/pipe2.c: Likewise.
21873 * io/poll.c: Likewise.
21874 * io/posix_fadvise.c: Likewise.
21875 * io/posix_fadvise64.c: Likewise.
21876 * io/posix_fallocate.c: Likewise.
21877 * io/posix_fallocate64.c: Likewise.
21878 * io/read.c: Likewise.
21879 * io/readlink.c: Likewise.
21880 * io/readlinkat.c: Likewise.
21881 * io/rmdir.c: Likewise.
21882 * io/sendfile.c: Likewise.
21883 * io/sendfile64.c: Likewise.
21884 * io/statfs.c: Likewise.
21885 * io/statfs64.c: Likewise.
21886 * io/statvfs.c: Likewise.
21887 * io/statvfs64.c: Likewise.
21888 * io/symlink.c: Likewise.
21889 * io/symlinkat.c: Likewise.
21890 * io/ttyname.c: Likewise.
21891 * io/ttyname_r.c: Likewise.
21892 * io/umask.c: Likewise.
21893 * io/unlink.c: Likewise.
21894 * io/unlinkat.c: Likewise.
21895 * io/utime.c: Likewise.
21896 * io/utimensat.c: Likewise.
21897 * io/write.c: Likewise.
21898 * io/xmknod.c: Likewise.
21899 * io/xmknodat.c: Likewise.
21900 * io/xstat.c: Likewise.
21901 * io/xstat64.c: Likewise.
21902 * login/getpt.c: Likewise.
21903 * login/grantpt.c: Likewise.
21904 * login/unlockpt.c: Likewise.
21905 * math/e_acoshl.c: Likewise.
21906 * math/e_acosl.c: Likewise.
21907 * math/e_asinl.c: Likewise.
21908 * math/e_atan2l.c: Likewise.
21909 * math/e_atanhl.c: Likewise.
21910 * math/e_coshl.c: Likewise.
21911 * math/e_expl.c: Likewise.
21912 * math/e_fmodl.c: Likewise.
21913 * math/e_gammal_r.c: Likewise.
21914 * math/e_hypotl.c: Likewise.
21915 * math/e_j0l.c: Likewise.
21916 * math/e_j1l.c: Likewise.
21917 * math/e_jnl.c: Likewise.
21918 * math/e_lgammal_r.c: Likewise.
21919 * math/e_log10l.c: Likewise.
21920 * math/e_log2l.c: Likewise.
21921 * math/e_logl.c: Likewise.
21922 * math/e_powl.c: Likewise.
21923 * math/e_rem_pio2l.c: Likewise.
21924 * math/e_sinhl.c: Likewise.
21925 * math/e_sqrtl.c: Likewise.
21926 * math/fclrexcpt.c: Likewise.
21927 * math/fedisblxcpt.c: Likewise.
21928 * math/feenablxcpt.c: Likewise.
21929 * math/fegetenv.c: Likewise.
21930 * math/fegetexcept.c: Likewise.
21931 * math/fegetround.c: Likewise.
21932 * math/feholdexcpt.c: Likewise.
21933 * math/fesetenv.c: Likewise.
21934 * math/fesetround.c: Likewise.
21935 * math/feupdateenv.c: Likewise.
21936 * math/fgetexcptflg.c: Likewise.
21937 * math/fraiseexcpt.c: Likewise.
21938 * math/fsetexcptflg.c: Likewise.
21939 * math/ftestexcept.c: Likewise.
21940 * math/k_cosl.c: Likewise.
21941 * math/k_rem_pio2l.c: Likewise.
21942 * math/k_sinl.c: Likewise.
21943 * math/k_tanl.c: Likewise.
21944 * math/s_asinhl.c: Likewise.
21945 * math/s_atanl.c: Likewise.
21946 * math/s_cbrtl.c: Likewise.
21947 * math/s_erfl.c: Likewise.
21948 * math/s_expm1l.c: Likewise.
21949 * math/s_log1pl.c: Likewise.
21950 * math/s_tanhl.c: Likewise.
21951 * misc/acct.c: Likewise.
21952 * misc/brk.c: Likewise.
21953 * misc/chflags.c: Likewise.
21954 * misc/chroot.c: Likewise.
21955 * misc/fchflags.c: Likewise.
21956 * misc/fgetxattr.c: Likewise.
21957 * misc/flistxattr.c: Likewise.
21958 * misc/fremovexattr.c: Likewise.
21959 * misc/fsetxattr.c: Likewise.
21960 * misc/fsync.c: Likewise.
21961 * misc/ftruncate.c: Likewise.
21962 * misc/futimes.c: Likewise.
21963 * misc/futimesat.c: Likewise.
21964 * misc/getdomain.c: Likewise.
21965 * misc/getdtsz.c: Likewise.
21966 * misc/gethostid.c: Likewise.
21967 * misc/gethostname.c: Likewise.
21968 * misc/getloadavg.c: Likewise.
21969 * misc/getpagesize.c: Likewise.
21970 * misc/getsysstats.c: Likewise.
21971 * misc/getxattr.c: Likewise.
21972 * misc/gtty.c: Likewise.
21973 * misc/ioctl.c: Likewise.
21974 * misc/lgetxattr.c: Likewise.
21975 * misc/listxattr.c: Likewise.
21976 * misc/llistxattr.c: Likewise.
21977 * misc/lremovexattr.c: Likewise.
21978 * misc/lsetxattr.c: Likewise.
21979 * misc/lutimes.c: Likewise.
21980 * misc/madvise.c: Likewise.
21981 * misc/mincore.c: Likewise.
21982 * misc/mlock.c: Likewise.
21983 * misc/mlockall.c: Likewise.
21984 * misc/mmap.c: Likewise.
21985 * misc/mprotect.c: Likewise.
21986 * misc/msync.c: Likewise.
21987 * misc/munlock.c: Likewise.
21988 * misc/munlockall.c: Likewise.
21989 * misc/munmap.c: Likewise.
21990 * misc/preadv.c: Likewise.
21991 * misc/preadv64.c: Likewise.
21992 * misc/ptrace.c: Likewise.
21993 * misc/pwritev.c: Likewise.
21994 * misc/pwritev64.c: Likewise.
21995 * misc/readv.c: Likewise.
21996 * misc/reboot.c: Likewise.
21997 * misc/remap_file_pages.c: Likewise.
21998 * misc/removexattr.c: Likewise.
21999 * misc/revoke.c: Likewise.
22000 * misc/select.c: Likewise.
22001 * misc/setdomain.c: Likewise.
22002 * misc/setegid.c: Likewise.
22003 * misc/seteuid.c: Likewise.
22004 * misc/sethostid.c: Likewise.
22005 * misc/sethostname.c: Likewise.
22006 * misc/setregid.c: Likewise.
22007 * misc/setreuid.c: Likewise.
22008 * misc/setxattr.c: Likewise.
22009 * misc/sstk.c: Likewise.
22010 * misc/stty.c: Likewise.
22011 * misc/swapoff.c: Likewise.
22012 * misc/swapon.c: Likewise.
22013 * misc/sync.c: Likewise.
22014 * misc/syncfs.c: Likewise.
22015 * misc/syscall.c: Likewise.
22016 * misc/truncate.c: Likewise.
22017 * misc/ualarm.c: Likewise.
22018 * misc/usleep.c: Likewise.
22019 * misc/ustat.c: Likewise.
22020 * misc/utimes.c: Likewise.
22021 * misc/vhangup.c: Likewise.
22022 * misc/writev.c: Likewise.
22023 * posix/_exit.c: Likewise.
22024 * posix/alarm.c: Likewise.
22025 * posix/execve.c: Likewise.
22026 * posix/fexecve.c: Likewise.
22027 * posix/fork.c: Likewise.
22028 * posix/fpathconf.c: Likewise.
22029 * posix/getaddrinfo.c: Likewise.
22030 * posix/getegid.c: Likewise.
22031 * posix/geteuid.c: Likewise.
22032 * posix/getgid.c: Likewise.
22033 * posix/getgroups.c: Likewise.
22034 * posix/getlogin.c: Likewise.
22035 * posix/getlogin_r.c: Likewise.
22036 * posix/getpgid.c: Likewise.
22037 * posix/getpid.c: Likewise.
22038 * posix/getppid.c: Likewise.
22039 * posix/getresgid.c: Likewise.
22040 * posix/getresuid.c: Likewise.
22041 * posix/getsid.c: Likewise.
22042 * posix/getuid.c: Likewise.
22043 * posix/glob64.c: Likewise.
22044 * posix/nanosleep.c: Likewise.
22045 * posix/pathconf.c: Likewise.
22046 * posix/pause.c: Likewise.
22047 * posix/posix_madvise.c: Likewise.
22048 * posix/pread.c: Likewise.
22049 * posix/pread64.c: Likewise.
22050 * posix/pwrite.c: Likewise.
22051 * posix/pwrite64.c: Likewise.
22052 * posix/sched_getaffinity.c: Likewise.
22053 * posix/sched_getp.c: Likewise.
22054 * posix/sched_gets.c: Likewise.
22055 * posix/sched_primax.c: Likewise.
22056 * posix/sched_primin.c: Likewise.
22057 * posix/sched_rr_gi.c: Likewise.
22058 * posix/sched_setaffinity.c: Likewise.
22059 * posix/sched_setp.c: Likewise.
22060 * posix/sched_sets.c: Likewise.
22061 * posix/sched_yield.c: Likewise.
22062 * posix/setgid.c: Likewise.
22063 * posix/setlogin.c: Likewise.
22064 * posix/setpgid.c: Likewise.
22065 * posix/setresgid.c: Likewise.
22066 * posix/setresuid.c: Likewise.
22067 * posix/setsid.c: Likewise.
22068 * posix/setuid.c: Likewise.
22069 * posix/sleep.c: Likewise.
22070 * posix/spawni.c: Likewise.
22071 * posix/sysconf.c: Likewise.
22072 * posix/times.c: Likewise.
22073 * posix/wait.c: Likewise.
22074 * posix/wait3.c: Likewise.
22075 * posix/wait4.c: Likewise.
22076 * posix/waitpid.c: Likewise.
22077 * resolv/gai_sigqueue.c: Likewise.
22078 * resource/getpriority.c: Likewise.
22079 * resource/getrlimit.c: Likewise.
22080 * resource/getrusage.c: Likewise.
22081 * resource/nice.c: Likewise.
22082 * resource/setpriority.c: Likewise.
22083 * resource/setrlimit.c: Likewise.
22084 * resource/ulimit.c: Likewise.
22085 * rt/aio_cancel.c: Likewise.
22086 * rt/aio_fsync.c: Likewise.
22087 * rt/aio_read.c: Likewise.
22088 * rt/aio_sigqueue.c: Likewise.
22089 * rt/aio_suspend.c: Likewise.
22090 * rt/aio_write.c: Likewise.
22091 * rt/clock_getres.c: Likewise.
22092 * rt/clock_gettime.c: Likewise.
22093 * rt/clock_nanosleep.c: Likewise.
22094 * rt/clock_settime.c: Likewise.
22095 * rt/lio_listio.c: Likewise.
22096 * rt/mq_close.c: Likewise.
22097 * rt/mq_getattr.c: Likewise.
22098 * rt/mq_notify.c: Likewise.
22099 * rt/mq_open.c: Likewise.
22100 * rt/mq_receive.c: Likewise.
22101 * rt/mq_send.c: Likewise.
22102 * rt/mq_setattr.c: Likewise.
22103 * rt/mq_timedreceive.c: Likewise.
22104 * rt/mq_timedsend.c: Likewise.
22105 * rt/mq_unlink.c: Likewise.
22106 * rt/shm_open.c: Likewise.
22107 * rt/shm_unlink.c: Likewise.
22108 * rt/timer_create.c: Likewise.
22109 * rt/timer_delete.c: Likewise.
22110 * rt/timer_getoverr.c: Likewise.
22111 * rt/timer_gettime.c: Likewise.
22112 * rt/timer_settime.c: Likewise.
22113 * setjmp/__longjmp.c: Likewise.
22114 * setjmp/setjmp.c: Likewise.
22115 * signal/kill.c: Likewise.
22116 * signal/killpg.c: Likewise.
22117 * signal/raise.c: Likewise.
22118 * signal/sigaction.c: Likewise.
22119 * signal/sigaltstack.c: Likewise.
22120 * signal/sigblock.c: Likewise.
22121 * signal/sigignore.c: Likewise.
22122 * signal/sigintr.c: Likewise.
22123 * signal/signal.c: Likewise.
22124 * signal/sigpause.c: Likewise.
22125 * signal/sigpending.c: Likewise.
22126 * signal/sigqueue.c: Likewise.
22127 * signal/sigreturn.c: Likewise.
22128 * signal/sigset.c: Likewise.
22129 * signal/sigsetmask.c: Likewise.
22130 * signal/sigstack.c: Likewise.
22131 * signal/sigsuspend.c: Likewise.
22132 * signal/sigtimedwait.c: Likewise.
22133 * signal/sigvec.c: Likewise.
22134 * signal/sigwait.c: Likewise.
22135 * signal/sigwaitinfo.c: Likewise.
22136 * signal/sysv_signal.c: Likewise.
22137 * socket/accept.c: Likewise.
22138 * socket/accept4.c: Likewise.
22139 * socket/bind.c: Likewise.
22140 * socket/connect.c: Likewise.
22141 * socket/getpeername.c: Likewise.
22142 * socket/getsockname.c: Likewise.
22143 * socket/getsockopt.c: Likewise.
22144 * socket/isfdtype.c: Likewise.
22145 * socket/listen.c: Likewise.
22146 * socket/recv.c: Likewise.
22147 * socket/recvfrom.c: Likewise.
22148 * socket/recvmsg.c: Likewise.
22149 * socket/send.c: Likewise.
22150 * socket/sendmsg.c: Likewise.
22151 * socket/sendto.c: Likewise.
22152 * socket/setsockopt.c: Likewise.
22153 * socket/shutdown.c: Likewise.
22154 * socket/sockatmark.c: Likewise.
22155 * socket/socket.c: Likewise.
22156 * socket/socketpair.c: Likewise.
22157 * stdio-common/ctermid.c: Likewise.
22158 * stdio-common/cuserid.c: Likewise.
22159 * stdio-common/remove.c: Likewise.
22160 * stdio-common/rename.c: Likewise.
22161 * stdio-common/renameat.c: Likewise.
22162 * stdio-common/tempname.c: Likewise.
22163 * stdlib/getcontext.c: Likewise.
22164 * stdlib/makecontext.c: Likewise.
22165 * stdlib/setcontext.c: Likewise.
22166 * stdlib/swapcontext.c: Likewise.
22167 * stdlib/system.c: Likewise.
22168 * streams/fattach.c: Likewise.
22169 * streams/fdetach.c: Likewise.
22170 * streams/getmsg.c: Likewise.
22171 * streams/getpmsg.c: Likewise.
22172 * streams/putmsg.c: Likewise.
22173 * streams/putpmsg.c: Likewise.
22174 * sysdeps/unix/bsd/getpt.c: Likewise.
22175 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22176 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22177 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22180 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22181 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22182 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22183 * sysvipc/msgctl.c: Likewise.
22184 * sysvipc/msgget.c: Likewise.
22185 * sysvipc/msgrcv.c: Likewise.
22186 * sysvipc/msgsnd.c: Likewise.
22187 * sysvipc/semctl.c: Likewise.
22188 * sysvipc/semget.c: Likewise.
22189 * sysvipc/semop.c: Likewise.
22190 * sysvipc/semtimedop.c: Likewise.
22191 * sysvipc/shmat.c: Likewise.
22192 * sysvipc/shmctl.c: Likewise.
22193 * sysvipc/shmdt.c: Likewise.
22194 * sysvipc/shmget.c: Likewise.
22195 * termios/tcdrain.c: Likewise.
22196 * termios/tcflow.c: Likewise.
22197 * termios/tcflush.c: Likewise.
22198 * termios/tcgetattr.c: Likewise.
22199 * termios/tcgetpgrp.c: Likewise.
22200 * termios/tcsendbrk.c: Likewise.
22201 * termios/tcsetattr.c: Likewise.
22202 * termios/tcsetpgrp.c: Likewise.
22203 * time/adjtime.c: Likewise.
22204 * time/clock.c: Likewise.
22205 * time/getitimer.c: Likewise.
22206 * time/gettimeofday.c: Likewise.
22207 * time/setitimer.c: Likewise.
22208 * time/settimeofday.c: Likewise.
22209 * time/stime.c: Likewise.
22210 * time/time.c: Likewise.
22212 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22214 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22217 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22219 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22221 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22225 FE_TONEAREST before applying Dekker multiplication and Knuth
22226 addition. Clear inexact exceptions and check for exact zero
22227 results afterwards.
22228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22231 * math/libm-test.inc (fma_test): Add more tests.
22232 (fma_test_towardzero): Likewise.
22233 (fma_test_downward): Likewise.
22234 (fma_test_upward): Likewise.
22235 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22237 (libc_fesetround): New macro.
22238 (libc_fesetroundf): Likewise.
22239 (libc_fesetroundl): Likewise.
22240 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22242 (libc_fesetround_387): Likewise.
22243 (libc_fesetroundf): New macro.
22244 (libc_fesetround): Likewise.
22245 (libc_fesetroundl): Likewise.
22246 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22248 (libc_fesetroundf): New macro.
22249 (libc_fesetround): Likewise.
22250 (libc_fesetroundl): Likewise.
22251 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22252 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22253 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22255 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22256 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22258 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22259 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22261 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22265 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22266 integer constant usable in #if and use that to give value to enum
22268 (FE_DIVBYZERO): Likewise.
22269 (FE_UNDERFLOW): Likewise.
22270 (FE_OVERFLOW): Likewise.
22271 (FE_INVALID): Likewise.
22272 (FE_INVALID_SNAN): Likewise.
22273 (FE_INVALID_ISI): Likewise.
22274 (FE_INVALID_IDI): Likewise.
22275 (FE_INVALID_ZDZ): Likewise.
22276 (FE_INVALID_IMZ): Likewise.
22277 (FE_INVALID_COMPARE): Likewise.
22278 (FE_INVALID_SOFTWARE): Likewise.
22279 (FE_INVALID_SQRT): Likewise.
22280 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22281 (FE_TONEAREST): Likewise.
22282 (FE_TOWARDZERO): Likewise.
22283 (FE_UPWARD): Likewise.
22284 (FE_DOWNWARD): Likewise.
22285 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22286 (FE_DIVBYZERO): Likewise.
22287 (FE_OVERFLOW): Likewise.
22288 (FE_UNDERFLOW): Likewise.
22289 (FE_INEXACT): Likewise.
22290 (FE_TONEAREST): Likewise.
22291 (FE_DOWNWARD): Likewise.
22292 (FE_UPWARD): Likewise.
22293 (FE_TOWARDZERO): Likewise.
22294 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22295 (FE_UNDERFLOW): Likewise.
22296 (FE_OVERFLOW): Likewise.
22297 (FE_DIVBYZERO): Likewise.
22298 (FE_INVALID): Likewise.
22299 (FE_TONEAREST): Likewise.
22300 (FE_TOWARDZERO): Likewise.
22301 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22302 (FE_OVERFLOW): Likewise.
22303 (FE_UNDERFLOW): Likewise.
22304 (FE_DIVBYZERO): Likewise.
22305 (FE_INEXACT): Likewise.
22306 (FE_TONEAREST): Likewise.
22307 (FE_TOWARDZERO): Likewise.
22308 (FE_UPWARD): Likewise.
22309 (FE_DOWNWARD): Likewise.
22310 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22311 (FE_DIVBYZERO): Likewise.
22312 (FE_OVERFLOW): Likewise.
22313 (FE_UNDERFLOW): Likewise.
22314 (FE_INEXACT): Likewise.
22315 (FE_TONEAREST): Likewise.
22316 (FE_DOWNWARD): Likewise.
22317 (FE_UPWARD): Likewise.
22318 (FE_TOWARDZERO): Likewise.
22320 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22322 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22324 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22326 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22327 commands. Quote $PWD.
22328 (blacklist_exports): Don't use remove_newlines. Replace "declare
22330 (remove_newlines): Remove.
22332 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22334 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22335 * stdlib/stdlib.h (atof): Moved to ...
22336 * include/bits/stdlib-float.h: Here. New file.
22337 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22338 * stdlib/bits/stdlib-float.h: New file.
22339 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22344 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22346 * conform/conformtest.pl (@headers): Add fenv.h.
22347 * conform/data/fenv.h-data: New file.
22348 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22349 include of <math/fenv.h>.
22351 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22352 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22353 && !UNIX98]. Enables tests for XOPEN2K8.
22354 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22355 POSIX2008]: Likewise.
22357 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22358 (struct rusage): Do not expect type or its members.
22361 * math/math.h (FP_NAN): Define macro to integer constant usable in
22362 #if and use that to give value to enum constant.
22363 (FP_INFINITE): Likewise.
22364 (FP_ZERO): Likewise.
22365 (FP_SUBNORMAL): Likewise.
22366 (FP_NORMAL): Likewise.
22368 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22370 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22371 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22374 2012-11-02 Roland McGrath <roland@hack.frob.com>
22376 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22377 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22378 autoconf-time if not.
22379 * configure.in: Remove AC_PREREQ.
22381 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22383 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22384 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22385 of the internal implementation.
22387 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22389 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22390 except include of <misc/sys/syslog.h>.
22392 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22395 function returns with a NULL context exit with zero.
22397 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22399 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22401 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22403 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22404 (run_program_cmd): This.
22405 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22406 (tst_langinfo): New variable. Use it.
22408 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22410 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22411 floating point opcodes.
22413 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22415 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22418 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22420 * sysdeps/mach/hurd/powerpc: Remove directory.
22421 * sysdeps/mach/powerpc: Likewise.
22423 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22425 * scripts/check-local-headers.sh: Ignore c++ headers.
22427 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22429 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22430 __libc_cleanup_region_start argument.
22432 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22437 x * y using scaling, not as x * y + z.
22438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22440 * math/libm-test.inc (fma_test): Add more tests.
22441 (fma_test_towardzero): Likewise.
22442 (fma_test_downward): Likewise.
22443 (fma_test_upward): Likewise.
22445 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22447 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22449 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22451 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22454 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22456 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22458 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22465 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22468 Fix the order of the list for glibc 2.17.
22469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22472 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22476 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22480 for low part of x being zero before using __atanl (y).
22481 * math/libm-test.inc (atan2_test): Add another test.
22483 * manual/install.texi (Configuring and compiling): Document
22484 general use of test-wrapper and test-wrapper-env.
22485 * INSTALL: Regenerated.
22487 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22488 (__fma): Do not extract and scale down low bits on after-rounding
22489 systems when result rounded to normal precision would have normal
22491 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22492 (__fmal): Do not extract and scale down low bits on after-rounding
22493 systems when result rounded to normal precision would have normal
22495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22496 (__fmal): Do not extract and scale down low bits on after-rounding
22497 systems when result rounded to normal precision would have normal
22499 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22501 (fma_test): Add more tests.
22502 (fma_test_towardzero): Likewise.
22503 (fma_test_downward): Likewise.
22504 (fma_test_upward): Likewise.
22506 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22508 * sysdeps/i386/tininess.h: Renamed to ...
22509 * sysdeps/x86/tininess.h: This.
22510 * sysdeps/x86_64/tininess.h: Removed.
22512 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22514 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22515 input. Use $(build-program-cmd).
22516 ($(objpfx)tst-array1-static.out): Likewise.
22517 ($(objpfx)tst-array2.out): Likewise.
22518 ($(objpfx)tst-array3.out): Likewise.
22519 ($(objpfx)tst-array4.out): Likewise.
22520 ($(objpfx)tst-array5.out): Likewise.
22521 ($(objpfx)tst-array5-static.out): Likewise.
22523 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22525 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22528 * nss/nsswitch.h (nss_interface_function): Provide new
22529 macro for use with NSS functions.
22530 * grp/initgroups.c: Use new macro.
22531 * nss/getXXbyYY.c: Likewise.
22532 * nss/getXXbyYY_r.c: Likewise.
22533 * nss/getXXent.c: Likewise.
22534 * nss/getXXent_r.c: Likewise.
22535 * sysdeps/posix/getaddrinfo.c: Likewise.
22537 2012-10-30 Andreas Jaeger <aj@suse.de>
22539 * po/ru.po: Update Russion translation from translation project.
22541 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22546 result and shift together with sticky bit instead of replicating
22547 round-to-nearest rounding.
22548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22550 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22551 missing underflow exceptions.
22552 (fma_test_towardzero): Add more tests.
22553 (fma_test_downward): Likewise.
22554 (fma_test_upward): Likewise.
22557 * sysdeps/generic/tininess.h: New file.
22558 * sysdeps/i386/tininess.h: Likewise.
22559 * sysdeps/sh/tininess.h: Likewise.
22560 * sysdeps/x86_64/tininess.h: Likewise.
22561 * stdlib/tst-strtod-underflow.c: Likewise.
22562 * stdlib/tst-tininess.c: Likewise.
22563 * stdlib/strtod_l.c: Include <tininess.h>.
22564 (round_and_return): Do not set errno for exact underflow cases.
22565 Force an underflow exception when setting errno for underflow.
22566 Determine underflow based on rounding to normal precision if
22567 TININESS_AFTER_ROUNDING.
22568 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22569 ERANGE for exact underflow cases.
22570 * stdlib/Makefile (tests): Add tst-tininess and
22571 tst-strtod-underflow.
22572 ($(objpfx)tst-tininess): Use $(link-libm).
22573 ($(objpfx)tst-strtod-underflow): Likewise.
22575 2012-10-30 Andreas Jaeger <aj@suse.de>
22578 * elf/Makefile (tests): Remove conditional for have-initfini-array
22579 since this is now always required and the variable does not exist
22581 (tests-static): Likewise.
22582 (modules-names): Likewise.
22584 * po/eo.po: Add Esperanto translation from translation project.
22586 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22587 merged with constructor/destructor.
22588 (init_array): Likewise.
22589 * elf/tst-array2dep.c (fini_array): Likewise.
22590 (init_array): Likewise.
22592 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22594 * manual/message.texi: Delete @cartouche tags.
22596 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22598 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22600 * sysdeps/mach/hurd/fsync.c: Likewise.
22602 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22603 [_POSIX_REALTIME_SIGNALS]: Change condition to
22604 [_POSIX_REALTIME_SIGNALS > 0].
22606 2012-10-27 Andreas Jaeger <aj@suse.de>
22608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22609 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22611 [__WORDSIZE != 64]: Likewise.
22613 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22615 * iconvdata/tst-table.sh: Remove ${SHELL}.
22616 * iconvdata/tst-tables.sh: Likewise.
22618 2012-10-25 David S. Miller <davem@davemloft.net>
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22621 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22627 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22628 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22631 2012-10-25 Roland McGrath <roland@hack.frob.com>
22633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22634 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22637 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22638 Jim Blandy <jimb@codesourcery.com>
22640 * scripts/cross-test-ssh.sh: New file.
22641 * manual/install.texi (Configuring and compiling): Document use of
22643 * INSTALL: Regenerated.
22645 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22647 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22650 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22652 * Makeconfig (run-program-prefix): Fix comment.
22654 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22655 Jim Blandy <jimb@codesourcery.com>
22657 * Makeconfig (test-wrapper): New variable,
22658 (test-wrapper-env): Likewise.
22659 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22660 (run-built-tests): Define to yes.
22661 (run-program-prefix): Use $(test-wrapper).
22662 (built-program-cmd): Likewise.
22663 * Rules (make-test-out): Use $(test-wrapper-env) and
22664 $(host-built-program-cmd).
22665 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22666 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22668 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22669 $(test-wrapper-env) to tst-rtld-load-self.sh.
22670 ($(objpfx)order2.out): Use $(test-wrapper).
22671 ($(objpfx)tst-initorder.out): Likewise.
22672 ($(objpfx)tst-initorder2.out): Likewise.
22673 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22674 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22675 (test_wrapper_env): New variable. Use it to run ld.so.
22676 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22677 Use it to run ld.so.
22678 (test_wrapper_env): Likewise.
22679 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22680 $(test-wrapper) to run-iconv-test.sh.
22681 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22682 (ICONV): Use $test_wrapper.
22683 * posix/Makefile ($(objpfx)globtest.out): Pass
22684 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22685 globtest.sh, not $(run-program-prefix).
22686 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22687 (test_wrapper): Likewise.
22688 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22689 set together with run_via_rtld_prefix.
22690 (run_program_prefix): Define in terms of test_wrapper and
22691 run_via_rtld_prefix.
22693 2012-10-24 Roland McGrath <roland@hack.frob.com>
22695 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22696 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22700 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22701 Declare __clock_getres, __clock_gettime, __clock_settime,
22702 __clock_nanosleep, and __clock_getcpuclockid.
22703 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22704 Remove librt_hidden_def (clock_gettime).
22705 * sysdeps/unix/clock_gettime.c: Likewise.
22706 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22708 * rt/clock_getres.c: Define __clock_getres as an alias.
22709 * sysdeps/posix/clock_getres.c: Likewise.
22710 * rt/clock_settime.c: Define __clock_settime as an alias.
22711 * sysdeps/unix/clock_settime.c: Likewise.
22712 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22713 * sysdeps/unix/clock_nanosleep.c: Likewise.
22714 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22715 * rt/clock-compat.c: New file.
22716 * rt/Makefile (librt-routines): Add clock-compat and move
22717 $(clock-routines) to ...
22718 (routines): ... here, new variable.
22719 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22720 Don't add get_clockfreq here.
22721 * rt/Versions (libc: GLIBC_2.17): New version set.
22722 Add clock_* symbols here.
22723 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22725 (GLIBC_2.17): Add clock_* symbols.
22726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22737 * NEWS: Mention the move.
22739 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22740 Use __open, __read, __close rather than their public counterparts.
22741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22742 (__get_clockfreq_via_cpuinfo): Likewise.
22743 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22744 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22746 * config.h.in (HAVE_IFUNC): New #undef.
22747 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22749 * configure: Regenerated.
22751 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22753 * configure.in: Move READELF check to start of file.
22754 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22755 libc_cv_asm_gnu_indirect_function in the process.
22756 * configure: Regenerated.
22758 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22760 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22761 send the output to /dev/null.
22762 (libc_cv_cc_with_libunwind): Likewise.
22763 (libc_cv_as_noexecstack): Likewise.
22764 * configure: Regenerate.
22766 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22768 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22770 * posix/globtest.sh (TMPDIR): Do not set.
22771 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22772 (testout): Likewise.
22774 2012-10-24 Andreas Jaeger <aj@suse.de>
22776 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22777 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22778 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22779 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22780 posix_fadvise64, posix_fallocate64.
22782 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22783 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22784 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22786 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22788 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22791 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22792 <bits/fcntl-linux.h>.
22793 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22796 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22797 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22798 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22799 [__WORDSIZE != 64]: Likewise.
22801 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22803 * Makeconfig (run-built-tests): New variable.
22804 * Rules [$(cross-compiling) = yes]: Change condition to
22805 [$(run-built-tests) = no].
22806 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22807 to [$(run-built-tests) = yes].
22808 * elf/Makefile [$(cross-compiling) = no]: Likewise
22809 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22810 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22811 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22812 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22813 * io/Makefile [$(cross-compiling) = no]: Likewise.
22814 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22815 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22816 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22817 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22818 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22819 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22820 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22821 * string/Makefile [$(cross-compiling) = no]: Likewise.
22823 * posix/Makefile ($(objpfx)globtest.out): Pass
22824 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22825 $(rtld-installed-name).
22826 * posix/globtest.sh (elf_objpfx): Remove variable.
22827 (rtld_installed_name): Likewise.
22828 (library_path): Likewise.
22829 (run_program_prefix): New variable. Use for running globtest
22832 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22833 Joseph Myers <joseph@codesourcery.com>
22835 * Makeconfig (host-built-program-cmd): New variable.
22836 * elf/Makefile (tst-stackguard1-ARGS): Use
22837 $(host-built-program-cmd).
22838 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22839 (tst-spawn-ARGS): Likewise.
22840 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22842 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22843 Jim Blandy <jimb@codesourcery.com>
22845 * Makeconfig (run-via-rtld-prefix): New variable.
22846 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22847 (built-program-cmd): Likewise.
22849 2012-10-22 Andreas Jaeger <aj@suse.de>
22851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22852 __O_RSYNC if it exists, otherwise to O_SYNC.
22854 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22855 Joseph Myers <joseph@codesourcery.com>
22857 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22859 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22861 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22864 2012-10-22 Andreas Jaeger <aj@suse.de>
22866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22871 bits/fcntl-linux.h.
22873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22874 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22881 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22882 Joseph Myers <joseph@codesourcery.com>
22884 * config.make.in (NM): New variable.
22886 2012-10-21 Andreas Jaeger <aj@suse.de>
22888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22889 definitions and declarations that are provided by
22890 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22892 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22895 * elf/Makefile (tests-static): Add tst-leaks1-static.
22896 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22897 ($(objpfx)tst-leaks1-static): New rule.
22898 ($(objpfx)tst-leaks1-static-mem): Likewise.
22899 (tst-leaks1-static-ENV): New macro.
22900 * elf/dl-open.c (dl_open_worker): Check the main application
22901 only if SHARED is defined.
22902 * elf/tst-leaks1-static.c: New file.
22904 2012-10-20 Andreas Jaeger <aj@suse.de>
22906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22907 generic values for Linux.
22908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22909 and declarations that are provided by <bits/fcntl-linux.h> and
22910 include <bits/fcntl-linux.h>.
22911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22914 2012-10-20 Roland McGrath <roland@hack.frob.com>
22916 * io/fcntl.h: Move include of <bits/types.h> to the top and
22917 include it unconditionally.
22919 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22921 * wcsmbs/Makefile (tests-ifunc): New variable.
22922 (tests): Add $(tests-ifunc).
22923 * wcsmbs/test-wcschr-ifunc.c: New file.
22924 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22925 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22926 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22927 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22928 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22930 * string/Makefile (tests-ifunc): New variable.
22931 (tests): Add $(tests-ifunc).
22932 * string/test-memccpy.c (TEST_NAME): New macro.
22933 * string/test-memchr.c (TEST_NAME): Likewise.
22934 * string/test-memcmp.c (TEST_NAME): Likewise.
22935 * string/test-memcpy.c (TEST_NAME): Likewise.
22936 * string/test-memmem.c (TEST_NAME): Likewise.
22937 * string/test-memmove.c (TEST_NAME): Likewise.
22938 * string/test-memset.c (TEST_NAME): Likewise.
22939 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22940 * string/test-stpcpy.c (TEST_NAME): Likewise.
22941 * string/test-stpncpy.c (TEST_NAME): Likewise.
22942 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22943 * string/test-strcasestr.c (TEST_NAME): Likewise.
22944 * string/test-strcat.c (TEST_NAME): Likewise.
22945 * string/test-strchr.c (TEST_NAME): Likewise.
22946 * string/test-strcmp.c(TEST_NAME): Likewise.
22947 * string/test-strcpy.c (TEST_NAME): Likewise.
22948 * string/test-strcspn.c (TEST_NAME): Likewise.
22949 * string/test-strlen.c (TEST_NAME): Likewise.
22950 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22951 * string/test-strncmp.c (TEST_NAME): Likewise.
22952 * string/test-strncpy.c (TEST_NAME): Likewise.
22953 * string/test-strnlen.c (TEST_NAME): Likewise.
22954 * string/test-strpbrk.c (TEST_NAME): Likewise.
22955 * string/test-strrchr.c (TEST_NAME): Likewise.
22956 * string/test-strspn.c (TEST_NAME): Likewise.
22957 * string/test-strstr.c (TEST_NAME): Likewise.
22958 * string/test-bcopy-ifunc.c: New file.
22959 * string/test-bzero-ifunc.c: Likewise.
22960 * string/test-memccpy-ifunc.c: Likewise.
22961 * string/test-memchr-ifunc.c: Likewise.
22962 * string/test-memcmp-ifunc.c: Likewise.
22963 * string/test-memcpy-ifunc.c: Likewise.
22964 * string/test-memmem-ifunc.c: Likewise.
22965 * string/test-memmove-ifunc.c: Likewise.
22966 * string/test-mempcpy-ifunc.c: Likewise.
22967 * string/test-memset-ifunc.c: Likewise.
22968 * string/test-rawmemchr-ifunc.c: Likewise.
22969 * string/test-stpcpy-ifunc.c: Likewise.
22970 * string/test-stpncpy-ifunc.c: Likewise.
22971 * string/test-strcasecmp-ifunc.c: Likewise.
22972 * string/test-strcasestr-ifunc.c: Likewise.
22973 * string/test-strcat-ifunc.c: Likewise.
22974 * string/test-strchr-ifunc.c: Likewise.
22975 * string/test-strchrnul-ifunc.c: Likewise.
22976 * string/test-strcmp-ifunc.c: Likewise.
22977 * string/test-strcpy-ifunc.c: Likewise.
22978 * string/test-strcspn-ifunc.c: Likewise.
22979 * string/test-strlen-ifunc.c: Likewise.
22980 * string/test-strncasecmp-ifunc.c: Likewise.
22981 * string/test-strncat-ifunc.c: Likewise.
22982 * string/test-strncmp-ifunc.c: Likewise.
22983 * string/test-strncpy-ifunc.c: Likewise.
22984 * string/test-strnlen-ifunc.c: Likewise.
22985 * string/test-strpbrk-ifunc.c: Likewise.
22986 * string/test-strrchr-ifunc.c: Likewise.
22987 * string/test-strspn-ifunc.c: Likewise.
22988 * string/test-strstr-ifunc.c: Likewise.
22990 * debug/Makefile (tests-ifunc): New variable.
22991 (tests): Add $(tests-ifunc).
22992 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22993 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22994 * debug/test-stpcpy_chk-ifunc.c: New file.
22995 * debug/test-strcpy_chk-ifunc.c: Likewise.
22997 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23000 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23001 header is not read in.
23003 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23005 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23006 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23007 directly. Pass built executable to script as
23008 $(built-program-cmd).
23009 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23010 $testprogram without using LD_LIBRARY_PATH and $ldso.
23012 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23013 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23014 $(rtld-installed-name).
23015 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23016 (rtld_installed_name): Likewise.
23017 (library_path): Likewise.
23018 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23020 $(run-program-prefix) to tst-tables.sh.
23021 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23022 it to run tst-table-from and tst-table-to.
23023 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23024 Pass it to tst-table.sh.
23025 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23026 $(run-program-prefix) to tst-gettext.sh.
23027 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23029 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23031 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23032 to run tst-gettext.
23033 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23034 to run tst-gettext2.
23035 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23036 to run tst-translit.
23037 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23038 $(run-program-prefix) to tst-mtrace.sh.
23039 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23041 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23042 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23043 $(rtld-installed-name).
23044 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23045 (rtld_installed_name): Likewise.
23046 (run_program_prefix): New variable. Use it to run wordexp-test.
23048 * Makeconfig (ARCH): Remove all definitions.
23049 (machine): Likewise.
23050 [ARCH]: Remove conditional code.
23051 [!objdir]: Give error.
23052 [!objdir] (objpfx): Remove.
23053 [!objdir] (common-objpfx): Likewise.
23054 [!objdir] (common-objdir): Likewise.
23055 * configure.in (config_makefile): Remove. Hardcode Makefile in
23056 AC_CONFIG_FILES call.
23057 * configure: Regenerated.
23060 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23062 (testout): Likewise.
23064 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23065 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23066 $(rtld-installed-name).
23067 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23068 (rtld_installed_name): Likwise.
23069 (runit): Remove function.
23070 (run_getconf): New variable, Use it for running getconf binary.
23072 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23075 * string/test-memmem.c (check_result): New function.
23076 (do_one_test): Use it.
23077 (check1): New function.
23078 (test_main): Use it.
23080 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23082 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23084 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23086 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23087 (_G_LSEEK64): Likewise.
23088 (_G_MMAP64): Likewise.
23089 (_G_FSTAT64): Likewise.
23090 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23091 (_G_LSEEK64): Likewise.
23092 (_G_MMAP64): Likewise.
23093 (_G_FSTAT64): Likewise.
23094 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23095 unconditional. Call __mmap64 directly.
23096 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23097 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23098 __lseek64 directly.
23099 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23100 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23102 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23103 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23104 __lseek64 directly.
23105 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23106 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23107 __lseek64 directly.
23108 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23109 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23110 __lseek64 directly.
23111 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23112 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23113 __fxstat64 directly.
23114 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23115 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23117 (freopen64) [!_G_OPEN64]: Remove conditional code.
23118 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23120 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23121 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23123 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23124 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23126 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23127 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23129 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23130 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23132 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23133 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23135 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23136 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23138 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23140 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23143 * manual/memory.texi (Malloc Tunable Parameters): Add note
23144 about free list pointers overwriting some perturb bytes.
23145 Wording suggested by Roland McGrath.
23147 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23149 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23150 (lgamma_test): Likewise.
23151 (tgamma_test): Likewise.
23153 2012-10-16 Florian Weimer <fweimer@redhat.com>
23156 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23157 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23159 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23161 * NEWS: Mention BZ #14716.
23162 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23163 when removing AVAILABLE1_USES_J macro.
23165 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23167 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23168 (__bswap_64): __uint64_t for unsigned 64-bit int.
23170 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23172 * include/string.h (memmem): Declare libc hidden alias.
23173 * string/memmem.c (memmem): Define libc hidden alias.
23174 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23175 __read, __close instead of open, read, close.
23177 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23180 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23182 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23183 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23184 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23186 (__rawmemchr_sse2): Likewise.
23187 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23188 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23189 (__strchr_sse2): Likewise.
23190 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23191 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23192 (__strcasecmp_sse2): Likewise.
23193 (__strncasecmp_sse2): Likewise.
23194 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23195 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23196 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23197 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23198 (__strrchr_sse2): Likewise.
23199 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23201 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23202 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23203 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23204 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23205 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23206 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23207 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23208 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23209 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23210 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23211 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23212 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23213 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23214 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23215 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23216 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23217 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23218 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23219 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23220 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23221 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23222 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23223 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23224 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23225 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23226 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23227 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23228 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23229 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23230 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23234 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23235 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23236 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23237 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23239 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23241 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23242 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23243 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23244 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23248 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23249 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23250 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23251 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23252 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23253 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23254 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23255 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23256 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23257 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23258 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23259 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23260 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23263 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23264 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23265 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23267 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23268 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23269 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23271 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23272 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23273 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23274 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23275 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23276 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23277 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23278 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23279 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23280 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23281 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23283 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23284 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23285 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23286 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23288 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23289 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23290 * include/ifunc-impl-list.h: New file.
23291 * misc/ifunc-impl-list.c: Likewise.
23292 * misc/Makefile (routines): Add ifunc-impl-list.
23293 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23294 * string/test-string.h: Include <ifunc-impl-list.h>.
23295 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23296 impl_array): New variables.
23297 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23299 (test_init): Call __libc_ifunc_impl_list to initialize
23300 func_list if TEST_IFUNC and TEST_NAME are defined.
23302 * string/Makefile (strop-tests): Add bcopy and bzero.
23303 * string/test-bcopy.c: New file.
23304 * string/test-bzero.c: Likewise.
23305 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23307 * string/test-memset.c: Support bzero test if TEST_BZERO is
23309 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23311 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23313 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23316 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23318 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23319 * configure: Regenerated.
23321 * Makeconfig (+link-static-before-libc): Don't include
23322 $(link-static-libc).
23324 * libio/libio.h (_IO_pos_t): Remove.
23326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23328 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23331 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23333 * crypt/crypt-entry.c: Include fips-private.h.
23334 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23335 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23336 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23337 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23339 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23341 * crypt/crypt-private.h: Include stdbool.h.
23342 (_ufc_setup_salt_r): Return bool.
23343 * crypt/crypt-entry.c: Include errno.h.
23344 (__crypt_r): Return NULL with EINVAL for bad salt.
23345 * crypt/crypt_util.c (bad_for_salt): New.
23346 (_ufc_setup_salt_r): Check that salt is long enough and within
23347 the specified alphabet.
23348 * crypt/badsalttest.c: New file.
23349 * crypt/Makefile (tests): Add it.
23350 ($(objpfx)badsalttest): New.
23352 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23354 * NEWS: Add entry for BZ #14602.
23356 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23358 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23360 * math/libm-test.inc: Update comment listing what functions and
23362 (isgreater_test): New function.
23363 (isgreaterequal_test): Likewise.
23364 (isless_test): Likewise.
23365 (islessequal_test): Likewise.
23366 (islessgreater_test): Likewise.
23367 (isunordered_test): Likewise.
23368 (main): Call the new functions.
23370 2012-10-09 Roland McGrath <roland@hack.frob.com>
23372 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23373 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23374 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23375 * sysdeps/i386/configure: Regenerated.
23376 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23377 * sysdeps/mach/configure: Regenerated.
23378 * sysdeps/mach/hurd/configure: Regenerated.
23379 * sysdeps/powerpc/configure: Regenerated.
23380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23382 * sysdeps/s390/s390-32/configure: Regenerated.
23383 * sysdeps/s390/s390-64/configure: Regenerated.
23384 * sysdeps/sh/configure: Regenerated.
23385 * sysdeps/sparc/configure: Regenerated.
23386 * sysdeps/unix/sysv/linux/configure: Regenerated.
23387 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23388 * sysdeps/x86_64/configure: Regenerated.
23390 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23391 defined. Don't check if MAP is NULL.
23393 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23395 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23396 (_G_stat64): Likewise.
23397 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23398 (_G_stat64): Likewise.
23399 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23400 instead of struct _G_stat64.
23401 * libio/fileops.c (mmap_remap_check): Likewise.
23402 (decide_maybe_mmap): Likewise.
23403 (_IO_new_file_seekoff): Likewise.
23404 (_IO_file_stat): Likewise.
23405 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23407 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23408 instead of struct _G_stat64.
23409 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23411 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23414 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23416 (CHECK_EOL): New macro.
23417 (two_way_short_needle): Check beginning of haystack for EOL. Use
23419 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23420 Replace with CHECK_EOL.
23421 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23422 Replace with CHECK_EOL.
23424 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23426 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23428 * math/libm-test.inc: Update comment listing what functions and
23430 (finite_test): New function.
23431 (isinf_test): Likewise.
23432 (isnan_test): Likewise.
23433 (fpclassify_test): Test subnormal input.
23434 (isfinite_test): Likewise.
23435 (isnormal_test): Likewise.
23436 (main): Call the new functions.
23438 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23441 * Makerules (%.dynsym): Force C locale when running
23442 $(OBJDUMP) --dynamic-syms.
23444 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23446 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23449 2012-10-06 David S. Miller <davem@davemloft.net>
23451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23452 upper 32-bits of the length value in %o2 since we use branch-on-register
23453 tests which consider the entire 64-bit register.
23455 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23457 * string/test-strstr.c (check2): Add a test for page boundary.
23459 2012-10-05 David S. Miller <davem@davemloft.net>
23461 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23462 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23464 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23467 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23468 and bzero when HWCAP_SPARC_CRYPTO is present.
23470 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23473 * string/test-strstr.c (check2): New function.
23474 (test_main): Call check2.
23476 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23478 * string/bug-strcasestr1.c (do_test): Moved to ...
23479 * string/test-strcasestr.c (check1): Here. New function.
23480 (do_one_test): Break out result checking code into ...
23481 (check_result): This. New function.
23482 (do_one_test): Call check_result.
23483 (test_main): Call check1.
23484 * string/bug-strchr1.c (do_test): Moved to ...
23485 * string/test-strchr.c (check1): Here. New function.
23486 (do_one_test): Break out result checking code into ...
23487 (check_result): This. New function.
23488 (do_one_test): Call check_result.
23489 (test_main): Call check1.
23490 * string/bug-strstr1.c (main): Moved to ...
23491 * string/test-strstr.c (check1): Here. New function.
23492 (do_one_test): Break out result checking code into ...
23493 (check_result): This. New function.
23494 (do_one_test): Call check_result.
23495 (test_main): Call check1.
23496 * string/bug-strcasestr1.c: Removed.
23497 * string/bug-strchr1.c: Likewise.
23498 * string/bug-strstr1.c: Likewise.
23500 * elf/Makefile (dl-routines): Add hwcaps.
23501 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23502 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23503 (_dl_important_hwcaps): Moved to ...
23504 * elf/dl-hwcaps.c: Here. New file.
23505 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23508 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23509 if IS_IN_rtld isn't defined.
23511 * elf/dl-support.c (_dl_sysinfo_map): New.
23512 Include "get-dynamic-info.h" and "setup-vdso.h".
23513 (_dl_non_dynamic_init): Call setup_vdso.
23514 * elf/dynamic-link.h: Don't include <assert.h>.
23515 (elf_get_dynamic_info): Moved to ...
23516 * elf/get-dynamic-info.h: Here. New file.
23517 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23518 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23519 * elf/setup-vdso.h: Here. New file.
23520 * elf/rtld.c: Include "setup-vdso.h".
23521 (dl_main): Call setup_vdso.
23523 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23525 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23526 creal in comment listing functions tested. List finite, isinf,
23527 isnan, isless, islessequal, isgreater, isgreaterequal,
23528 islessgreater, isunordered, lgamma_r and pow10 as functions and
23529 macros not tested. Mention which functions not tested are aliases
23530 for other functions. Fix typo. Note that signs of NaNs are not
23533 * scripts/config.guess: Update from config.git.
23534 * scripts/config.sub: Likewise.
23536 2012-10-04 Roland McGrath <roland@hack.frob.com>
23538 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23539 * misc/madvise.c (madvise): Renamed to __madvise.
23540 Make madvise a weak alias.
23541 * include/sys/mman.h: Declare __madvise.
23542 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23543 * sysdeps/unix/syscalls.list
23544 (madvise): Make __madvise the strong name, and madvise a weak alias.
23545 * sysdeps/unix/sysv/linux/syscalls.list
23546 (madvise, mmap): Remove redundant entries.
23547 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23548 * malloc/malloc.c (mtrim): Likewise.
23549 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23551 2012-10-03 Roland McGrath <roland@hack.frob.com>
23553 * sysdeps/mach/hurd/dl-cache.c: File removed.
23554 * config.h.in (USE_LDCONFIG): New #undef.
23555 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23556 * configure: Regenerated.
23557 * elf/Makefile (dl-routines): Add dl-cache only under
23558 [$(use-ldconfig) = yes].
23559 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23560 cache on [USE_LDCONFIG].
23561 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23563 * elf/rtld.c (dl_main): Likewise.
23565 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23567 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23568 _SC_LEVEL4_CACHE_LINESIZE.
23570 2012-10-03 Roland McGrath <roland@hack.frob.com>
23572 * sysdeps/unix/bsd/confstr.h: File removed.
23574 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23576 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23579 2012-10-02 Roland McGrath <roland@hack.frob.com>
23581 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23582 Make 'mapoff' field ElfW(Off) rather than off_t.
23584 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23586 * nscd/Makefile: Remove nscd-cflags and all its users.
23587 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23588 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23591 * malloc.c (malloc_printerr): Clarify error message.
23593 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23597 Set bit_FMA_Usable if FMA is supported.
23598 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23600 (bit_FMA4_Usable): Updated.
23601 (index_FMA_Usable): New macro.
23602 (CPUID_FMA): Likewise
23603 (HAS_FMA): Defined with bit_FMA_Usable.
23605 2012-10-01 Roland McGrath <roland@hack.frob.com>
23607 * bits/types.h (__swblk_t): Type removed.
23608 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23609 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23611 (__SWBLK_T_TYPE): Likewise.
23612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23613 (__SWBLK_T_TYPE): Likewise.
23614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23615 (__SWBLK_T_TYPE): Likewise.
23616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23617 (__SWBLK_T_TYPE): Likewise.
23619 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23620 Honza Horak <hhorak@redhat.com>
23622 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23623 (xdr_mapname): Use YPMAXMAP as maxsize.
23624 (xdr_peername): Use YPMAXPEER as maxsize.
23625 (xdr_keydat): Use YPAXRECORD as maxsize.
23626 (xdr_valdat): Use YPMAXRECORD as maxsize.
23628 2012-10-01 Roland McGrath <roland@hack.frob.com>
23630 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23632 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23633 * csu/init-first.c: ... here.
23634 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23635 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23636 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23637 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23638 * sysdeps/i386/init-first.c: File removed.
23639 * sysdeps/sh/init-first.c: File removed.
23641 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23645 if x * y might underflow to zero and z is zero.
23646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23648 * math/libm-test.inc (min_subnorm_value): New variable.
23649 (fma_test): Add more tests.
23650 (fma_test_towardzero): Likewise.
23651 (fma_test_downward): Likewise
23652 (fma_test_upward): Likewise.
23653 (initialize): Set min_subnorm_value.
23655 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23661 mode for addition resulting in exact zero.
23662 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23667 * math/libm-test.inc (fma_test): Add more tests.
23668 (fma_test_towardzero): New function.
23669 (fma_test_downward): Likewise.
23670 (fma_test_upward): Likewise.
23671 (main): Call the new functions.
23673 2012-09-28 David S. Miller <davem@davemloft.net>
23675 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23677 2012-09-28 Roland McGrath <roland@hack.frob.com>
23679 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23680 instead of SIGALRM.
23682 * sysdeps/gnu/_G_config.h: Moved to ...
23683 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23684 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23685 * sysdeps/generic/_G_config.h: ... here.
23687 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23689 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23691 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23692 Conditionalize target on [libnss_test1.so-version].
23694 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23696 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23697 (elfobjdir): Move out of conditionals.
23699 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23700 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23701 (__nss_lookup_function): Conditionalize label remove_from_tree on
23702 [!DO_STATIC_NSS || SHARED], matching its only use.
23704 2012-09-28 David S. Miller <davem@davemloft.net>
23706 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23707 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23709 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23711 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23713 when HWCAP_SPARC_CRYPTO is present.
23715 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23717 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23719 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23722 * stdio-common/vfprintf.c (process_string_arg): Revert
23725 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23727 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23729 * stdio-common/tst-sprintf.c: Include <locale.h>
23730 (main): Test sprintf's handling of incomplete multibyte
23733 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23735 * elf/dl-runtime.c (VERSYMIDX): Removed.
23736 * elf/dl-version.c (VERSYMIDX): Likewise.
23737 * elf/do-rel.h (VERSYMIDX): Likewise.
23738 (VALIDX): Likewise.
23739 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23740 * elf/rtld.c (VALIDX): Likewise.
23741 (ADDRIDX): Likewise.
23742 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23743 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23744 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23745 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23746 (VALIDX): Likewise.
23747 (ADDRIDX): Likewise.
23749 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23751 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23753 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23756 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23758 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23759 addresses are in the same scope as 192.0.2/24.
23760 * posix/gai.conf: Document new scope table defaults.
23762 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23765 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23766 for ftell. Compute offsets from write pointers instead.
23767 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23769 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23772 * libio/Makefile (tests): New test case tst-fseek.
23773 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23774 combination works in wide mode.
23775 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23776 state when the external buffer state changes.
23778 2012-09-27 David S. Miller <davem@davemloft.net>
23781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23782 pass reloc->r_addend in as the 'high' argument to
23783 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23787 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23789 * rt/tst-aio2.c: Include <pthread.h>.
23790 * rt/tst-aio3.c: Likewise.
23792 2012-09-27 Steve Ellcey <sellcey@mips.com>
23794 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23796 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23798 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23799 contents on [SHARED].
23801 2012-09-26 Marek Polacek <polacek@redhat.com>
23805 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23806 for C++ and GCC <4.3 as well as for non GCC compilers.
23808 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23812 2012-09-25 Roland McGrath <roland@hack.frob.com>
23814 * Makefile.in (all, install): Declare with .PHONY.
23815 Reported by Michael Hope <michael.hope@linaro.org>.
23817 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23819 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23820 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23822 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23824 (sydep_routines): Add the new and the internal functions.
23825 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23826 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23828 (GLIBC_2.17): Add the new function.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23830 (GLIBC_2.17): Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23832 (GLIBC_2.17): Likewise.
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23834 (GLIBC_2.17): Likewise.
23835 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23837 2012-09-25 Alan Modra <amodra@gmail.com>
23839 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23840 Add release barrier before setting once_control to say
23841 initialisation is done. Add hints on lwarx. Use macro in
23843 (clear_once_control): Add release barrier.
23845 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23848 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23850 * math/s_clog10.c (__clog10): Likewise.
23851 * math/s_clog10f.c (__clog10f): Likewise.
23852 * math/s_clog10l.c (__clog10l): Likewise.
23853 * math/s_clogf.c (__clogf): Likewise.
23854 * math/s_clogl.c (__clogl): Likewise.
23855 * math/Makefile (libm-calls): Add x2y2m1.
23856 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23857 (__x2y2m1): Likewise.
23858 (__x2y2m1l): Likewise.
23859 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23860 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23863 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23864 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23865 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23866 * sysdeps/i386/fpu/libm-test-ulps: Update.
23867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23871 int as type of variable DEPTH.
23872 (glob): Use size_t instead of int as type of variables NEWCOUNT
23875 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23877 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23878 Add s_sincosf-sse2.
23879 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23880 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23881 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23882 macros for using routine as __sincosf_ia32.
23883 Use macro for function declaration and weak_alias.
23884 * sysdeps/i386/fpu/libm-test-ulps: Update.
23886 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23889 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23890 subnormal argument.
23891 * math/s_cexpf.c (__cexpf): Likewise.
23892 * math/s_csinf.c (__csinf): Likewise.
23893 * math/s_csinhf.c (__csinhf): Likewise.
23894 * math/s_ctanf.c (__ctanf): Likewise.
23895 * math/s_ctanhf.c (__ctanhf): Likewise.
23896 * math/s_ccosh.c (__ccoshf): Likewise.
23897 * math/s_cexp.c (__cexpl): Likewise.
23898 * math/s_csin.c (__csin): Likewise.
23899 * math/s_csinh.c (__csinh): Likewise.
23900 * math/s_ctan.c (__ctan): Likewise.
23901 * math/s_ctanh.c (ctanh): Likewise.
23902 * math/s_ccoshl.c (__ccoshl): Likewise.
23903 * math/s_cexpl.c (__cexpl): Likewise.
23904 * math/s_csinl.c (__csinl): Likewise.
23905 * math/s_csinhl.c (__csinhl): Likewise.
23906 * math/s_ctanl.c (__ctanl): Likewise.
23907 * math/s_ctanhl.c (__ctanhl): Likewise.
23909 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23911 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23912 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23913 (_IO_off_t): Define to __off_t, not _G_off_t.
23914 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23915 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23916 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23917 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23918 type of __dummy and __dummy2 fields.
23919 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23920 (_G_ssize_t): Likewise.
23921 (_G_off_t): Likewise.
23922 (_G_pid_t): Likewise.
23923 (_G_uid_t): Likewise.
23924 (_G_wchar_t): Likewise.
23925 (_G_wint_t): Likewise.
23926 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23927 (_G_ssize_t): Likewise.
23928 (_G_off_t): Likewise.
23929 (_G_pid_t): Likewise.
23930 (_G_uid_t): Likewise.
23931 (_G_wchar_t): Likewise.
23932 (_G_wint_t): Likewise.
23933 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23934 (_G_ssize_t): Likewise.
23935 (_G_off_t): Likewise.
23936 (_G_pid_t): Likewise.
23937 (_G_uid_t): Likewise.
23938 (_G_wchar_t): Likewise.
23939 (_G_wint_t): Likewise.
23941 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23943 * malloc/arena.c: Include malloc-sysdep.h.
23944 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23945 is sufficient to shrink the heap or an unmap is needed.
23946 * sysdeps/generic/malloc-sysdep.h: New file. Define
23947 new function check_may_shrink_heap.
23948 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23949 new function check_may_shrink_heap.
23951 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23953 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23956 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23958 * catgets/test-gencat.sh: Add "set -e".
23959 * elf/tst-pathopt.sh: Likewise.
23960 * grp/tst_fgetgrent.sh: Likewise.
23961 * iconvdata/run-iconv-test.sh: Likewise.
23962 * intl/tst-gettext.sh: Likewise.
23963 * intl/tst-gettext2.sh: Likewise.
23964 * intl/tst-gettext4.sh: Likewise.
23965 * intl/tst-gettext6.sh: Likewise.
23966 * intl/tst-translit.sh: Likewise.
23967 * io/ftwtest-sh: Likewise.
23968 * libio/test-freopen.sh: Likewise.
23969 * malloc/tst-mtrace.sh: Likewise.
23970 * posix/globtest.sh: Likewise.
23971 * posix/tst-getconf.sh: Likewise.
23972 * posix/wordexp-tst.sh: Likewise.
23973 * stdio-common/tst-printf.sh: Likewise.
23974 * stdio-common/tst-unbputc.sh: Likewise.
23975 * stdlib/tst-fmtmsg.sh: Likewise.
23976 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23977 * catgets/Makefile: Do not specify -e option when running
23978 testsuite shell scripts.
23979 * elf/Makefile: Likewise.
23980 * grp/Makefile: Likewise.
23981 * iconvdata/Makefile: Likewise.
23982 * intl/Makefile: Likewise.
23983 * io/Makefile: Likewise.
23984 * libio/Makefile: Likewise.
23985 * malloc/Makefile: Likewise.
23986 * posix/Makefile: Likewise.
23987 * stdio-common/Makefile: Likewise.
23988 * stdlib/Makefile: Likewise.
23989 * sysdeps/x86_64/Makefile: Likewise.
23991 * io/ftwtest-sh: Add copyright header.
23992 * posix/globtest.sh: Likewise.
23993 * posix/tst-getconf.sh: Likewise.
23994 * posix/wordexp-tst.sh: Likewise.
23995 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23997 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24000 * Makeconfig (+link): Defined as $(+link-static) if
24001 $(build-shared) isn't yes.
24002 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24004 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24006 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24009 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24010 new chunk size with MALLOC_ALIGN_MASK.
24012 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24015 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24017 (__printf_fphex): Determine rounding using get_rounding_mode and
24019 * stdio-common/tst-printf-round.c (struct hex_test): New
24021 (hex_tests): New variable.
24022 (test_hex_in_one_mode): New function.
24023 (do_test): Also run tests for hex float output.
24025 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24027 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24028 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24029 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24030 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24031 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24032 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24033 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24034 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24036 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24038 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24039 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24040 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24041 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24043 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24046 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24048 * elf/tst-rtld-load-self.sh: New test.
24049 * elf/Makefile: Run it.
24051 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24053 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24054 (tst-writev-ENV): Remove.
24055 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24057 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24059 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24061 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24063 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24065 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24067 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24068 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24069 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24072 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24075 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24076 * config.make.in (have-cpp-asm-debuginfo): Removed.
24077 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24078 * configure: Regenerated.
24080 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24083 * stdio-common/printf_fp.c: Include <stdbool.h> and
24085 (___printf_fp): Determine rounding using get_rounding_mode and
24087 * stdio-common/tst-printf-round.c: New file.
24088 * stdio-common/Makefile (tests): Add tst-printf-round.
24089 (link-libm): New variable.
24090 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24092 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24095 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24096 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24098 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24101 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24103 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24104 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24105 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24106 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24108 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24111 * include/rounding-mode.h: New file.
24112 * sysdeps/generic/get-rounding-mode.h: Likewise.
24113 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24114 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24115 (MAX_VALUE): New macro.
24116 (MIN_VALUE): Likewise.
24117 (overflow_value): New function.
24118 (underflow_value): Likewise.
24119 (round_and_return): Use overflow_value and underflow_value to
24120 determine return values in overflow and underflow cases. Use
24121 round_away to determine rounding depending on rounding mode.
24122 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24123 determine return values in overflow and underflow cases.
24124 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24125 (struct test_results): New structure.
24126 (struct test): Use struct test_results to store expected results
24127 for all rounding modes.
24128 (TEST): Include expected results for all rounding modes.
24129 (test_in_one_mode): New function.
24130 (do_test): Use test_in_one_mode to compute and check results.
24131 Check results for all rounding modes.
24132 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24135 2012-12-09 Allan McRae <allan@archlinux.org>
24137 * sysdeps/i386/fpu/libm-test-ulps: Update
24139 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24141 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24142 (_G_int32_t): Likewise.
24143 (_G_uint16_t): Likewise.
24144 (_G_uint32_t): Likewise.
24145 (_G_HAVE_BOOL): Likewise.
24146 (_G_HAVE_ATEXIT): Likewise.
24147 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24148 (_G_HAVE_IO_FILE_OPEN): Likewise.
24149 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24150 (_G_int32_t): Likewise.
24151 (_G_uint16_t): Likewise.
24152 (_G_uint32_t): Likewise.
24153 (_G_HAVE_BOOL): Likewise.
24154 (_G_HAVE_ATEXIT): Likewise.
24155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24156 (_G_HAVE_IO_FILE_OPEN): Likewise.
24157 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24158 (_G_int32_t): Likewise.
24159 (_G_uint16_t): Likewise.
24160 (_G_uint32_t): Likewise.
24161 (_G_HAVE_BOOL): Likewise.
24162 (_G_HAVE_ATEXIT): Likewise.
24163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24164 (_G_HAVE_IO_FILE_OPEN): Likewise.
24166 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24168 * csu/libc-tls.c: Update copyright years.
24170 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24172 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24173 [!_G_USING_THUNKS]: Remove conditional code.
24174 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24175 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24177 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24178 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24179 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24180 (_G_VTABLE_LABEL_PREFIX): Likewise.
24181 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24182 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24183 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24184 (_G_VTABLE_LABEL_PREFIX): Likewise.
24185 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24186 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24187 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24188 (_G_VTABLE_LABEL_PREFIX): Likewise.
24189 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24191 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24193 * libio/Makefile: Include ../Makeconfig before tests.
24194 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24195 only if $(build-shared) is yes.
24197 * iconv/gconv_db.c: Update copyright years.
24199 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24202 unwind info if defined PIC. Fix special cases description.
24203 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24205 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24207 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24209 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24211 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24213 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24216 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24217 (LDLIBS-tst-chk4): This.
24218 (LDFLAGS-tst-chk5): Renamed to ...
24219 (LDLIBS-tst-chk5): This.
24220 (LDFLAGS-tst-chk6): Renamed to ...
24221 (LDLIBS-tst-chk6): This.
24222 (LDFLAGS-tst-lfschk4): Renamed to ...
24223 (LDLIBS-tst-lfschk4): This.
24224 (LDFLAGS-tst-lfschk5): Renamed to ...
24225 (LDLIBS-tst-lfschk5): This.
24226 (LDFLAGS-tst-lfschk6): Renamed to ...
24227 (LDLIBS-tst-lfschk6): This.
24229 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24230 on $(common-objpfx)soversions.mk.
24232 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24235 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24238 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24240 * malloc/arena.c (arena_get_retry): New function that gets
24241 another arena for the caller to try its request on.
24242 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24243 current arena cannot fulfill the request.
24244 (__libc_memalign): Likewise.
24245 (__libc_memalign): Likewise.
24246 (__libc_pvalloc): Likewise.
24247 (__libc_calloc): Likewise.
24249 2012-09-05 John Tobey <john.tobey@gmail.com>
24252 * manual/arith.texi (Operations on Complex): Fix description
24253 of carg branch cut.
24255 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24258 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24262 * manual/memory.texi (Memory): Make order of menu items match
24265 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24267 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24268 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24269 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24271 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24273 * csu/libc-tls.c (static_dtv): Renamed to ...
24274 (_dl_static_dtv): This. Make it global.
24275 (_dl_initial_dtv): Removed.
24276 (__libc_setup_tls): Updated.
24277 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24278 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24281 2012-09-06 Petr Machata <pmachata@redhat.com>
24283 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24284 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24285 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24286 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24288 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24291 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24292 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24295 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24298 * Makeconfig (link-static-before-libc): Replace $(+prector)
24300 (link-static-after-libc): Replace $(+postctor) with
24302 (link-bounded): Replace $(+prector)/$(+postctor) with
24303 $(+prectorT)/$(+postctorT).
24304 (+prectorT): New macro.
24305 (+postctorT): Likewise.
24307 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24309 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24310 (round_str): Handle values above the maximum for IBM long double
24312 * stdlib/tst-strtod-round.c (tests): Regenerated.
24314 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24316 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24318 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24319 zarch_nohighgprs around the zarch optimized routines.
24320 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24321 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24325 2012-09-05 David S. Miller <davem@davemloft.net>
24327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24329 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24330 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24331 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24332 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24337 * malloc/arena.c: Fold copyright years.
24338 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24342 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24344 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24346 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24351 change internal state upon failure.
24353 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24355 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24356 * malloc/memusage.c (mmap): Likewise.
24357 (mmap64, mremap): Likewise. Adjust name in comment.
24359 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24361 * libio/fileops.c: Fix typos in comments.
24362 * libio/oldfileops.c: Likewise.
24363 * libio/wfileops.c: Likewise.
24365 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24368 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24369 (tst-malloc-usable-ENV): Set environment for test case.
24370 * malloc/hooks.c (malloc_check_get_size): New function to get
24372 * malloc/malloc.c (musable): Use malloc_check_get_size.
24373 * malloc/tst-malloc-usable.c: New test case.
24375 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24377 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24379 2012-09-05 Allan McRae <allan@archlinux.org>
24382 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24383 determine header location.
24384 * configure: Regenerated.
24386 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24388 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24390 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24391 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24393 (test): Regenerate.
24395 2012-09-04 David S. Miller <davem@davemloft.net>
24397 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24398 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24399 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24401 2012-09-04 Florian Weimer <fweimer@redhat.com>
24403 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24406 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24408 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24411 * libio/iogetdelim.c: Include <limits.h>.
24412 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24413 + len + 1 would overflow.
24415 2012-09-03 Andreas Jaeger <aj@suse.de>
24417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24418 * sysdeps/i386/fpu/libm-test-ulps: Update.
24420 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24422 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24423 Add s_sinf-sse2, s_conf-sse2.
24425 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24426 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24427 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24428 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24430 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24431 for using routine as __sinf_ia32.
24432 Use macro for function declaration and weak_alias.
24433 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24434 for using routine as __cosf_ia32.
24435 Use macro for function declaration and weak_alias.
24437 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24438 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24440 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24441 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24444 * math/libm-test.inc (cos_test): Add more test cases.
24445 (sin_test): Likewise.
24446 (sincos_test): Likewise.
24448 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24451 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24455 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24458 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24459 first element of the GOT.
24460 (elf_machine_load_address): Return the difference between
24461 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24463 2012-09-01 Allan McRae <allan@archlinux.org>
24466 * configure.in (AWK): Require gawk version 3.0 or later.
24467 * configure: Regenerated.
24469 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24471 * sysdeps/unix/sysv/linux/kernel-features.h
24472 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24474 [__NR_clock_getres]: Make code unconditional.
24475 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24476 (clock_getcpuclockid): Remove code left unreachable by removal of
24478 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24479 code unconditional.
24480 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24481 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24482 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24483 Make code unconditional.
24484 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24486 * sysdeps/unix/sysv/linux/clock_settime.c
24487 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24489 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24490 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24492 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24495 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24496 scripts/test-installation.pl.
24498 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24499 and $ld_so_version if it is set.
24501 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24505 failure if reading from procfs failed.
24506 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24508 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/unix/sysv/linux/kernel-features.h
24511 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24512 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24513 Remove conditional code.
24514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24515 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24516 Remove conditional code.
24517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24518 * sysdeps/unix/sysv/linux/i386/fxstat.c
24519 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24521 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24522 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24523 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24524 * sysdeps/unix/sysv/linux/i386/lxstat.c
24525 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24527 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24528 Remove conditional code.
24529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24530 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24531 Remove conditional code.
24532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24533 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24534 <kernel-features.h>.
24535 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24537 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24538 Remove conditional code.
24539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24540 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24541 Remove conditional.
24543 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24546 * NEWS: Add fixed bug number.
24548 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24551 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24552 underflowing exponent in case of negative sign.
24553 * stdlib/tst-strtod-round-data: Add more tests.
24554 * stdlib/tst-strtod-round.c (tests): Regenerated.
24557 * stdlib/strtod_l.c (NDIG): Remove.
24558 (HEXNDIG): Likewise.
24559 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24560 smallest representable value.
24561 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24562 lie within an exact representation of 1/2 ulp of the result.
24563 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24565 (TENS_P9_IDX): Define unconditionally.
24566 (TENS_P9_SIZE): Likewise.
24567 (TENS_P10_IDX): Likewise.
24568 (TENS_P10_SIZE): Likewise.
24569 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24570 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24571 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24572 entries for 10^2^13 and 10^2^14.
24573 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24574 (TENS_P13_IDX): Define.
24575 (TENS_P13_SIZE): Likewise.
24576 (TENS_P14_IDX): Likewise.
24577 (TENS_P14_SIZE): Likewise.
24578 (_fpioconst_pow10): Change array size to
24579 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24581 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24582 1024]: Add entries for 10^2^13 and 10^2^14.
24583 [LAST_POW10 > _LAST_POW10]: Remove #error.
24584 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24585 (_fpioconst_pow10): Change array size to
24586 FPIOCONST_POW10_ARRAY_SIZE.
24587 * stdlib/gen-fpioconst.c: New file.
24588 * stdlib/gen-tst-strtod-round.c: Likewise.
24589 * stdlib/tst-strtod-round-data: Likewise.
24590 * stdlib/tst-strtod-round.c: Likewise.
24591 * stdlib/Makefile (tests): Add tst-strtod-round.
24594 * stdlib/strtod_l.c: Include <stdint.h>.
24595 (NDEBUG): Do not define.
24596 (round_and_return): Change EXPONENT parameter to type intmax_t.
24597 Rearrange calculations to avoid internal overflow possibilities.
24598 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24599 Rearrange calculations to avoid internal overflow possibilities.
24600 Assert that number fits inside MPNSIZE limbs.
24601 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24602 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24603 calculations and add assertions to avoid internal overflow
24604 possibilities. Add casts to avoid signed/unsigned operations.
24605 * stdlib/tst-strtod-overflow.c: New file.
24606 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24608 2012-08-25 Marek Polacek <polacek@redhat.com>
24610 * time/time.h: Fix some typos in comments.
24612 2012-08-23 Roland McGrath <roland@hack.frob.com>
24614 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24615 * posix/tst-rfc3484-2.c: Likewise.
24616 * posix/tst-rfc3484-3.c: Likewise.
24618 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24620 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24621 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24623 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24625 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24626 #include of fxstatat64.c.
24628 2012-08-22 Roland McGrath <roland@hack.frob.com>
24630 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24631 * shadow/getspent_r.c: Likewise.
24632 * shadow/getspnam.c: Likewise.
24633 * shadow/getspnam_r.c: Likewise.
24634 * gshadow/getsgent.c: Likewise.
24635 * gshadow/getsgent_r.c: Likewise.
24636 * gshadow/getsgnam.c: Likewise.
24637 * gshadow/getsgnam_r.c: Likewise.
24638 * inet/getnetbyad.c: Likewise.
24639 * inet/getnetbyad_r.c: Likewise.
24640 * inet/getnetbynm.c: Likewise.
24641 * inet/getnetbynm_r.c: Likewise.
24642 * inet/getnetent.c: Likewise.
24643 * inet/getnetent_r.c: Likewise.
24644 * inet/getproto.c: Likewise.
24645 * inet/getproto_r.c: Likewise.
24646 * inet/getprtent.c: Likewise.
24647 * inet/getprtent_r.c: Likewise.
24648 * inet/getprtname.c: Likewise.
24649 * inet/getprtname_r.c: Likewise.
24650 * inet/getrpcbyname.c: Likewise.
24651 * inet/getrpcbyname_r.c: Likewise.
24652 * inet/getrpcbynumber.c: Likewise.
24653 * inet/getrpcbynumber_r.c: Likewise.
24654 * inet/getrpcent.c: Likewise.
24655 * inet/getrpcent_r.c: Likewise.
24656 * inet/getaliasent.c: Likewise.
24657 * inet/getaliasent_r.c: Likewise.
24658 * inet/getaliasname.c: Likewise.
24659 * inet/getaliasname_r.c: Likewise.
24660 * nscd/getgrgid_r.c: Likewise.
24661 * nscd/getgrnam_r.c: Likewise.
24662 * nscd/gethstbyad_r.c: Likewise.
24663 * nscd/gethstbynm3_r.c: Likewise.
24664 * nscd/getpwnam_r.c: Likewise.
24665 * nscd/getpwuid_r.c: Likewise.
24666 * nscd/getsrvbynm_r.c: Likewise.
24667 * nscd/getsrvbypt_r.c: Likewise.
24668 * nscd/gai.c: Likewise.
24670 * configure.in (build_nscd): New substituted variable, set
24671 by --disable-build-nscd and defaults to $use_nscd.
24672 * configure: Regenerated.
24673 * config.make.in (build-nscd): New substituted variable.
24674 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24675 Change conditional to require [$(build-nscd) = yes] as well.
24676 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24679 * configure.in (use_nscd): New substituted variable, set by
24680 --disable-nscd. If enabled, define USE_NSCD.
24681 * configure: Regenerated.
24682 * config.h.in: Add USE_NSCD.
24683 * config.make.in (use-nscd): New substituted variable.
24684 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24685 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24686 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24687 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24688 (CFLAGS-getgrnam_r.c): Likewise.
24689 (CFLAGS-initgroups.c): Likewise.
24690 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24691 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24693 * inet/getnetgrent_r.c
24694 (nscd_setnetgrent): New function, broken out of ...
24695 (setnetgrent): ... here. Call it.
24696 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24697 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24698 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24699 * nscd/Makefile (routines, aux): Move definitions after include of
24700 Makeconfig. Conditionalize on [$(use-nscd) != no].
24701 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24702 Conditionalize on [USE_NSCD].
24703 (is_nscd, nscd_init_cb): Likewise.
24704 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24705 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24706 * nss/nss_db/db-init.c: Likewise.
24707 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24709 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24710 (make_request): Use it.
24711 (cache_valid_p): New function.
24712 (__check_pf): Use it.
24713 * NEWS: Add item for --disable-nscd.
24715 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24717 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24718 to support sed >= 4.2.1-20-ga9bf076.
24719 * configure: Regenerated.
24721 2012-08-22 Roland McGrath <roland@hack.frob.com>
24723 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24724 Conditionalize whole body on [IREL].
24726 2012-08-22 Jeff Law <law@redhat.com>
24729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24730 if the family is PF_UNSPEC.
24732 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24734 * Makerules (lib-version): Rename from V.
24735 (install-lib-nosubdir): Change V to lib-version.
24737 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24740 * powerpc32/power6/wcschr.c: New file.
24741 * powerpc32/power6/wcscpy.c: New file.
24742 * powerpc32/power6/wcsrchr.c: New file.
24743 * powerpc64/power6/wcschr.c: New file.
24744 * powerpc64/power6/wcscpy.c: New file.
24745 * powerpc64/power6/wcsrchr.c: New file.
24747 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24749 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24750 (two_way_short_needle): Use it.
24751 * string/strstr.c (AVAILABLE1_USES_J): Define.
24752 * string/strcasestr.c: Likewise.
24754 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24756 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24759 * NEWS: Add an entry.
24760 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24761 define their defaults.
24762 (two_way_short_needle): Detect end-of-string on-the-fly.
24763 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24764 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24765 * string/bug-strcasestr1.c: New test.
24766 * string/Makefile: Run it.
24768 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24771 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24772 the first character.
24774 2012-08-21 Roland McGrath <roland@hack.frob.com>
24776 * csu/elf-init.c (__libc_csu_irel): Function removed.
24777 * csu/libc-start.c (apply_irel): New function.
24778 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24780 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24782 * sysdeps/unix/sysv/linux/kernel-features.h
24783 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24784 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24785 <kernel-features.h>.
24786 [__NR_fadvise64_64]: Make code unconditional.
24787 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24788 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24789 !__NR_fadvise64_64)]: Likewise.
24790 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24791 !__NR_fadvise64_64))]: Likewise.
24792 [__NR_fadvise64]: Make code unconditional.
24793 [!__NR_fadvise64]: Remove conditional code.
24794 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24795 <kernel-features.h>.
24796 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24798 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24801 not include <kernel-features.h>.
24802 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24804 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24807 include <kernel-features.h>.
24808 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24810 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24813 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24816 slight instruction rearrangements per scrollpipe analysis.
24817 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24819 2012-08-20 Roland McGrath <roland@hack.frob.com>
24821 * manual/syslog.texi (syslog; vsyslog, closelog):
24822 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24823 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24825 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24826 DSOCAPS to match condition on defining it.
24828 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24830 * sysdeps/unix/sysv/linux/kernel-features.h
24831 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24833 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24834 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24836 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24837 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24839 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24840 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24842 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24843 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24845 * sysdeps/unix/sysv/linux/kernel-features.h
24846 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24847 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24849 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24850 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24851 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24852 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24853 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24854 Make code unconditional.
24855 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24856 (__mmap64) [!__NR_mmap2]: Likewise.
24857 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24858 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24859 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24860 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24861 [__NR_mmap2]: Make code unconditional.
24862 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24863 (__mmap64) [!__NR_mmap2]: Likewise.
24865 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24867 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24869 2012-08-18 Andreas Jaeger <aj@suse.de>
24871 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24873 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24875 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24876 * include/unistd.h (__have_sock_cloexec): Likewise.
24877 (__have_pipe2): Likewise.
24878 (__have_dup3): Likewise.
24880 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24883 * include/unistd.h (__have_pipe2): Change define into an extern int.
24884 (__have_dup3): Likewise.
24885 * socket/have_sock_cloexec.c: Include fcntl.h.
24886 (__have_pipe2): New variable.
24887 (__have_dup3): Likewise.
24889 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24891 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24893 2012-08-17 Marek Polacek <polacek@redhat.com>
24895 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24896 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24898 2012-08-17 Roland McGrath <roland@hack.frob.com>
24900 * configure.in: Add AC_SUBST for sysheaders.
24901 * configure: Regenerated.
24902 * config.make.in (sysheaders): New substituted variable.
24904 * sysdeps/unix/mkfifo.c: Moved ...
24905 * sysdeps/posix/mkfifo.c: ... here.
24906 * sysdeps/unix/mkfifoat.c: Moved ...
24907 * sysdeps/posix/mkfifoat.c: ... here.
24909 * sysdeps/unix/utime.c: Moved ...
24910 * sysdeps/posix/utime.c: ... here.
24912 * sysdeps/unix/time.c: Moved ...
24913 * sysdeps/posix/time.c: ... here.
24914 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24915 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24917 * sysdeps/unix/nice.c: Moved ...
24918 * sysdeps/posix/nice.c: ... here.
24920 * sysdeps/unix/alarm.c: Moved ...
24921 * sysdeps/posix/alarm.c: ... here.
24923 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24925 2012-08-17 Jeff Law <law@redhat.com>
24927 * intl/Makefile (codeset_mo): New variable.
24928 ($(codeset_mo)): New target.
24929 (tst-codeset.out): Depend on that. Remove explicit rule.
24930 (tst-gettext3.out, tst-gettext5.out): Likewise.
24931 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24932 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24933 * intl/tst-codeset.sh: Remove.
24934 * intl/tst-gettext3.sh: Likewise.
24935 * intl/tst-gettext5.sh: Likewise.
24937 2012-08-17 Roland McGrath <roland@hack.frob.com>
24939 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24940 * sysdeps/unix/syscalls.list: ... here.
24942 * sysdeps/posix/getaddrinfo.c
24943 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24944 (gaiconf_init, gaiconf_reload): Use them.
24945 [!_STATBUF_ST_NSEC]
24946 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24947 Define using time_t rather than struct timespec.
24949 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24950 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24952 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24954 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24955 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24958 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24959 __libc_cleanup_push argument.
24961 * bits/param.h: New file.
24962 * misc/sys/param.h: New file.
24963 * include/sys/param.h: New file.
24964 * misc/Makefile (headers): Add bits/param.h.
24965 * sysdeps/generic/sys/param.h: File removed.
24966 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24967 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24968 * sysdeps/mach/hurd/bits/param.h: New file.
24969 * sysdeps/mach/hurd/sys/param.h: File removed.
24971 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24974 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24976 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24977 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24980 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24981 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24982 rather than -D_IO_MTSAFE_IO conditionally.
24983 * stdio-common/Makefile (CPPFLAGS): Likewise.
24984 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24985 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24986 Use $(libio-mtsafe).
24987 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24988 of -D_IO_MTSAFE_IO.
24989 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24990 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24991 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24992 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24993 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24994 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24995 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24996 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24997 (CFLAGS-fread_u_chk.c): Likewise.
24998 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24999 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25000 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25001 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25002 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25003 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25004 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25005 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25006 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25008 * libio/Makefile: Test [$(libc-reentrant) = yes]
25009 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25012 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25013 * sysdeps/pthread/configure: File removed.
25014 * sysdeps/pthread/Makeconfig: New file.
25015 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25016 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25018 2012-08-16 Gary Benson <gbenson@redhat.com>
25020 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25021 unmapping the first object in a namespace.
25023 2012-08-16 Roland McGrath <roland@hack.frob.com>
25025 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25026 (__internal_setnetgrent): ... this. Add internal_function to
25027 definition. Add libc_hidden_def.
25028 (setnetgrent): Update caller.
25029 (internal_endnetgrent): Renamed to ...
25030 (__internal_endnetgrent): ... this. Add internal_function to
25031 definition. Add libc_hidden_def.
25032 (endnetgrent): Update caller.
25033 (internal_getnetgrent_r): Renamed to ...
25034 (__internal_getnetgrent_r): ... this. Add internal_function to
25035 definition. Add libc_hidden_def.
25036 (__getnetgrent_r): Update caller.
25037 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25039 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25041 * stdlib/longlong.h: Update from GCC.
25043 2012-08-16 Roland McGrath <roland@hack.frob.com>
25045 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25046 on _QL, which is set by umul_ppmm but never used.
25047 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25048 variables, which are set by GMP macros but never used.
25049 * stdio-common/_itowa.c (_itowa): Likewise.
25050 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25051 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25053 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25055 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25056 struct La_sh_regs is not constant.
25057 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25058 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25059 and struct La_sparc64_regs are not constant.
25061 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/unix/sysv/linux/kernel-features.h
25064 (__ASSUME_POSIX_TIMERS): Remove.
25065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25066 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25067 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25068 Make code unconditional.
25069 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25070 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25071 Make code unconditional.
25072 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25073 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25074 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25075 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25076 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25077 Make code unconditional.
25078 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25079 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25080 (__libc_missing_posix_timers): Remove.
25082 2012-08-15 Roland McGrath <roland@hack.frob.com>
25084 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25085 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25087 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25089 * elf/dl-sym.c: Include <stdlib.h>.
25091 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25092 constants, which avoids warnings in 32-bit builds.
25094 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25095 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25097 * misc/lseek.c: File moved to ...
25098 * io/lseek.c: ... here.
25100 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25102 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25103 shifting LEN more than 31 bits at once.
25105 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25108 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25109 segmentation fault for a case of two empty input strings.
25110 * string/test-strncasecmp.c (check1): Renamed to...
25111 (bz12205): ...this.
25112 (bz14195): Add new testcase for two empty input strings and N > 0.
25113 (test_main): Call new testcase, adapt for renamed function.
25115 2012-08-15 Andreas Jaeger <aj@suse.de>
25118 * crypt/md5test2.c: New test, based on test supplied by Serge
25119 Belyshev <belyshev@depni.sinp.msu.ru>.
25120 * crypt/Makefile (xtests): Add md5test-giant..
25121 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25123 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25126 * crypt/md5.c (md5_process_block): Don't assume the buffer
25127 length is less than 2**32.
25128 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25129 length is less than 2**64.
25131 2012-08-15 Roland McGrath <roland@hack.frob.com>
25133 * string/str-two-way.h: Include <sys/param.h>.
25134 (MAX): Macro removed.
25136 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25137 Move #define and #undef of memmove to just before and after
25138 including <string.h>.
25140 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25141 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25142 and after including <string.h>. Move declarations of
25143 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25144 to before #include "string/memmove.c".
25146 * include/dirent.h: Declare __getdirentries.
25148 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25149 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25151 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25153 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25154 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25155 * sysdeps/i386/configure: Regenerated.
25156 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25157 STABS_CURRENT_FILE, and STABS_FUN.
25158 (END): Remove call to STABS_FUN_END.
25159 (STABS_CURRENT_FILE1): Delete.
25160 (STABS_CURRENT_FILE): Likewise.
25161 (STABS_FUN): Likewise.
25162 (STABS_FUN_END): Likewise.
25163 (STABS_FUN2): Likewise.
25164 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25165 * sysdeps/x86_64/configure: Regenerated.
25167 2012-08-14 Roland McGrath <roland@hack.frob.com>
25169 * elf/dl-open.c: Include <atomic.h>.
25170 * elf/dl-lookup.c: Likewise.
25172 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25174 * sysdeps/unix/sysv/linux/kernel-features.h
25175 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25176 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25178 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25180 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25181 condition on __ASSUME_CLONE_THREAD_FLAGS.
25183 2012-08-14 Andreas Jaeger <aj@suse.de>
25185 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25189 * include/atomic.h (atomic_exchange_and_add): Split into ...
25190 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25193 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25197 2012-08-13 Jeff Law <law@redhat.com>
25199 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25200 null byte in the output string.
25202 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25204 * sysdeps/unix/sysv/linux/kernel-features.h
25205 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25206 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25207 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25208 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25209 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25210 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25211 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25213 2012-08-09 Jeff Law <law@redhat.com>
25216 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25217 When avoid_arena is set, don't retry in the that arena. Pick the
25218 next one, whatever it might be.
25219 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25220 (arena_lock): Pass in new parameter to arena_get2.
25221 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25223 (__libc_malloc): Unify retrying after main arena failure with
25224 __libc_memalign version.
25225 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25227 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25230 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25231 to __redirect_strstr.
25232 (__strstr_sse42): Use typeof __redirect_strstr.
25233 (__strstr_ia32): Likewise.
25234 (__libc_strstr): New prototype.
25235 (strstr): Renamed to ...
25236 (__libc_strstr): This.
25237 (strstr): New strong alias of __libc_strstr.
25238 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25239 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25242 (__libc_time): New prototype.
25243 (time_ifunc): Replace time with __libc_time.
25244 (time): New strong alias and hidden definition of __libc_time.
25245 (__GI_time): Remove strong alias.
25246 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25247 Include <stddef.h>.
25248 (memmove): Redefined to __redirect_memmove.
25249 (__memmove_sse2): Use typeof __redirect_memmove.
25250 (__memmove_ssse3): Likewise.
25251 (__memmove_ssse3_back): Likewise.
25252 (__libc_memmove): New prototype.
25253 (memmove): Renamed to ...
25254 (__libc_memmove): This.
25255 (memmove): New strong alias of __libc_memmove.
25257 2012-08-08 Mark Salter <msalter@redhat.com>
25260 (R_MN10300_TLS_GD): Define.
25261 (R_MN10300_TLS_LD): Likewise.
25262 (R_MN10300_TLS_LDO): Likewise.
25263 (R_MN10300_TLS_GOTIE): Likewise.
25264 (R_MN10300_TLS_IE): Likewise.
25265 (R_MN10300_TLS_LE): Likewise.
25266 (R_MN10300_TLS_DTPMOD): Likewise.
25267 (R_MN10300_TLS_DTPOFF): Likewise.
25268 (R_MN10300_TLS_TPOFF): Likewise.
25269 (R_MN10300_SYM_DIFF): Likewise.
25270 (R_MN10300_ALIGN): Likewise.
25271 (R_MN10300_NUM): Update.
25273 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25278 2012-08-08 Roland McGrath <roland@hack.frob.com>
25280 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25282 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25283 sysdeps/unix -> sysdeps/posix move.
25284 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25286 2012-08-07 Allan McRae <allan@archlinux.org>
25289 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25290 (SUNOS_CPP): Likewise.
25291 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25293 (open_input): Call CPP using execvp.
25295 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25297 * sysdeps/unix/sysv/linux/kernel-features.h
25298 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25299 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25300 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25301 (__ASSUME_WAITID_SYSCALL): Likewise.
25302 * sysdeps/unix/sysv/linux/dl-execstack.c
25303 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25304 code unconditional.
25305 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25307 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25308 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25309 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25311 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25313 [__ASSUME_WAITID_SYSCALL]: Likewise.
25314 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25316 2012-08-07 Roland McGrath <roland@hack.frob.com>
25318 * sysdeps/unix/closedir.c: Renamed to ...
25319 * sysdeps/posix/closedir.c: ... here.
25320 * sysdeps/unix/dirfd.c: Renamed to ...
25321 * sysdeps/posix/dirfd.c: ... here.
25322 * sysdeps/unix/dirstream.h: Renamed to ...
25323 * sysdeps/posix/dirstream.h: ... here.
25324 * sysdeps/unix/fdopendir.c: Renamed to ...
25325 * sysdeps/posix/fdopendir.c: ... here.
25326 * sysdeps/unix/opendir.c: Renamed to ...
25327 * sysdeps/posix/opendir.c: ... here.
25328 * sysdeps/unix/readdir.c: Renamed to ...
25329 * sysdeps/posix/readdir.c: ... here.
25330 * sysdeps/unix/readdir_r.c: Renamed to ...
25331 * sysdeps/posix/readdir_r.c: ... here.
25332 * sysdeps/unix/rewinddir.c: Renamed to ...
25333 * sysdeps/posix/rewinddir.c: ... here.
25334 * sysdeps/unix/seekdir.c: Renamed to ...
25335 * sysdeps/posix/seekdir.c: ... here.
25336 * sysdeps/unix/telldir.c: Renamed to ...
25337 * sysdeps/posix/telldir.c: ... here.
25338 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25339 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25340 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25341 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25343 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25344 * bits/fcntl.h: ... here.
25346 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25348 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25349 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25350 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25351 (struct flock): Move l_start, l_len to the beginning.
25352 Use __pid_t for l_pid.
25353 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25354 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25355 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25356 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25357 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25358 [__USE_LARGEFILE64] (struct flock64): New type.
25359 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25361 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25362 * bits/dirent.h: ... here.
25364 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25365 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25367 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25370 Change from 2.6.0 to 2.6.16.
25371 * sysdeps/unix/sysv/linux/configure: Regenerated.
25372 * sysdeps/unix/sysv/linux/kernel-features.h
25373 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25374 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25376 (__ASSUME_UTIMES): Likewise.
25377 (__ASSUME_CLONE_STOPPED): Remove.
25378 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25379 architectures, not kernel version.
25380 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25381 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25382 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25383 (__ASSUME_WAITID_SYSCALL): Likewise.
25384 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25385 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25386 * README: State 2.6.16 as minimum Linux kernel version. Do not
25387 refer to older versions.
25389 2012-08-06 Roland McGrath <roland@hack.frob.com>
25391 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25392 Define alphasort64 as an alias.
25393 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25394 Define versionsort64 as an alias.
25395 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25396 Define scandir64 as an alias.
25397 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25398 Define scandirat64 as an alias.
25399 * dirent/alphasort64.c (alphasort64):
25400 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25401 * dirent/versionsort64.c: Likewise.
25402 * dirent/scandir64.c: Likewise.
25403 * dirent/scandirat64.c: Likewise.
25404 * sysdeps/wordsize-64/alphasort.c: File removed.
25405 * sysdeps/wordsize-64/alphasort64.c: File removed.
25406 * sysdeps/wordsize-64/scandir.c: File removed.
25407 * sysdeps/wordsize-64/scandir64.c: File removed.
25408 * sysdeps/wordsize-64/scandirat.c: File removed.
25409 * sysdeps/wordsize-64/scandirat64.c: File removed.
25410 * sysdeps/wordsize-64/versionsort.c: File removed.
25411 * sysdeps/wordsize-64/versionsort64.c: File removed.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25416 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25417 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25419 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25421 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25423 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25425 [defined __arch64__ || defined __sparcv9]
25426 (__INO_T_MATCHES_INO64_T): New macro.
25427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25428 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25429 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25430 * sysdeps/unix/sysv/linux/bits/dirent.h
25431 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25432 (_DIRENT_MATCHES_DIRENT64): New macro.
25434 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25435 Define lockf64 as an alias.
25436 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25437 Define fseeko64 as an alias.
25438 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25439 Define ftello64 as an alias.
25440 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25441 Define _IO_fgetpos64 and fgetpos64 as aliases.
25442 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25443 Define _IO_fsetpos64 and fsetpos64 as aliases.
25444 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25445 Conditionalize body on this.
25446 * libio/fseeko64.c: Likewise.
25447 * libio/ftello64.c: Likewise.
25448 * libio/iofgetpos64.c: Likewise.
25449 * libio/iofsetpos64.c: Likewise.
25450 * sysdeps/wordsize-64/lockf.c: File removed.
25451 * sysdeps/wordsize-64/lockf64.c: File removed.
25452 * sysdeps/wordsize-64/fseeko.c: File removed.
25453 * sysdeps/wordsize-64/fseeko64.c: File removed.
25454 * sysdeps/wordsize-64/ftello.c: File removed.
25455 * sysdeps/wordsize-64/ftello64.c: File removed.
25456 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25457 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25458 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25459 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25460 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25462 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25463 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25464 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25465 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25471 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25473 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25475 [defined __arch64__ || defined __sparcv9]
25476 (__OFF_T_MATCHES_OFF64_T): New macro.
25477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25478 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25480 (__OFF_T_MATCHES_OFF64_T): New macro.
25482 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25484 * stdlib/secure-getenv.c (__secure_getenv): Replace
25485 GLIBC_2_16 with GLIBC_2_17.
25487 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25489 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25490 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25492 2012-08-03 David S. Miller <davem@davemloft.net>
25494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25496 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25500 (__ASSUME_CORRECT_SI_PID): Likewise.
25501 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25502 (__ASSUME_TMPFS_NAME): Likewise.
25503 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25504 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25505 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25506 (HAVE_AUX_SECURE): Make definition unconditional.
25507 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25508 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25510 2012-08-03 Roland McGrath <roland@hack.frob.com>
25512 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25513 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25514 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25516 __eloop_threshold instead of SYMLOOP_MAX.
25518 * sysdeps/generic/eloop-threshold.h: New file.
25519 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25521 * elf/chroot_canon.c (chroot_canon): Likewise.
25523 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25527 Change to 2.6.0 everywhere.
25528 * sysdeps/unix/sysv/linux/configure: Regenerated.
25529 * sysdeps/unix/sysv/linux/kernel-features.h
25530 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25531 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25533 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25534 (__ASSUME_FUTEX_REQUEUE): Remove.
25535 (__ASSUME_STATFS64): Define unconditionally.
25536 (__ASSUME_AT_SECURE): Likewise.
25537 (__ASSUME_CORRECT_SI_PID): Likewise.
25538 (__ASSUME_TGKILL): Define without depending on kernel version for
25540 (__ASSUME_UTIMES): Likewise.
25541 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25543 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25544 (__ASSUME_TMPFS_NAME): Likewise.
25545 * README: Update reference to Linux kernel versions.
25547 2012-08-02 Marek Polacek <polacek@redhat.com>
25550 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25551 libc_cv_asm_type_prefix with %.
25552 * configure: Regenerated.
25553 * include/libc-symbols.h: Remove comment about
25554 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25555 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25556 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25557 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25558 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25559 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25560 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25561 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25562 * elf/tst-unique2mod1.c: Likewise.
25563 * elf/tst-unique1mod2.c: Likewise.
25564 * elf/tst-unique1mod1.c: Likewise.
25565 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25566 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25567 Replace ASM_TYPE_DIRECTIVE with .type.
25568 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25569 * sysdeps/i386/sysdep.h: Likewise.
25570 * sysdeps/x86_64/sysdep.h: Likewise.
25571 * sysdeps/sh/sysdep.h: Likewise.
25572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25573 Do not define ASM_TYPE_DIRECTIVE.
25574 * sysdeps/powerpc/sysdep.h: Likewise.
25575 * sysdeps/powerpc/powerpc32/sysdep.h:
25576 Replace ASM_TYPE_DIRECTIVE with .type.
25577 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25578 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25579 * sysdeps/i386/fpu/e_powf.S: Likewise.
25580 * sysdeps/i386/fpu/e_expl.S: Likewise.
25581 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25582 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25583 * sysdeps/i386/fpu/e_pow.S: Likewise.
25584 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25586 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25587 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25588 * sysdeps/i386/fpu/e_log2.S: Likewise.
25589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25590 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25591 * sysdeps/i386/fpu/e_powl.S: Likewise.
25592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25593 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25594 * sysdeps/i386/fpu/e_logl.S: Likewise.
25595 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25596 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25597 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25598 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25600 * sysdeps/i386/fpu/e_log.S: Likewise.
25601 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25602 * sysdeps/i386/fpu/e_logf.S: Likewise.
25603 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25605 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25606 * sysdeps/i386/fpu/e_log10.S: Likewise.
25607 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25609 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25610 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25611 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25612 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25613 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25614 * sysdeps/i386/i686/strtok.S: Likewise.
25615 * sysdeps/i386/i386-mcount.S: Likewise.
25616 * sysdeps/i386/strtok.S: Likewise.
25617 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25619 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25621 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25622 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25623 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25624 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25625 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25626 * sysdeps/x86_64/_mcount.S: Likewise.
25627 * sysdeps/x86_64/strtok.S: Likewise.
25628 * sysdeps/sh/_mcount.S: Likewise.
25630 2012-08-01 Roland McGrath <roland@hack.frob.com>
25632 * libio/iofopen.c: Include <fcntl.h>.
25633 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25634 (_IO_fopen64, fopen64): Define as aliases.
25635 * libio/iofopen64.c: Include <fcntl.h>.
25636 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25637 Conditionalize body on this.
25638 * sysdeps/wordsize-64/iofopen.c: File removed.
25639 * sysdeps/wordsize-64/iofopen64.c: File removed.
25641 2012-08-01 Marek Polacek <polacek@redhat.com>
25643 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25644 Use dlfcn directly instead of a variable.
25645 (binfmt-subdir): Do not define.
25648 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25651 Remove all definitions.
25652 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25653 <kernel-features.h>.
25654 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25655 (miss_F_GETOWN_EX): Remove all definitions.
25656 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25658 [!__ASSUME_FCNTL64]: Remove conditional code.
25659 [__ASSUME_FCNTL64]: Make code unconditional.
25660 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25661 <kernel-features.h>.
25662 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25663 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25664 (lockf64) [__NR_fcntl64]: Make code unconditional.
25665 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25667 * sysdeps/unix/sysv/linux/kernel-features.h
25668 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25669 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25670 Make code unconditional.
25671 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25672 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25674 [__NR_vfork]: Make code unconditional.
25675 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25676 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25678 [__NR_vfork]: Make code unconditional.
25679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25682 2012-08-01 Roland McGrath <roland@hack.frob.com>
25684 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25685 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25687 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25688 Define mkstemp64 as an alias.
25689 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25690 Define mkstemps64 as an alias.
25691 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25692 Define mkostemp64 as an alias.
25693 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25694 Define mkostemps64 as an alias.
25695 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25696 Conditionalize body on this.
25697 * misc/mkostemp64.c: Likewise.
25698 * misc/mkostemps64.c: Likewise.
25699 * misc/mkstemps64.c: Likewise.
25700 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25701 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25702 * sysdeps/wordsize-64/mkostemp.c: File removed.
25703 * sysdeps/wordsize-64/mkstemp.c: File removed.
25704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25705 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25706 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25707 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25710 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25712 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25713 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25715 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25716 compat_symbol macros from <shlib-compat.h> rather than the underlying
25717 default_symbol_version and symbol_version macros, so that DEFAULT
25718 lines in shlib-versions are respected.
25719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25721 2012-08-01 Florian Weimer <fweimer@redhat.com>
25723 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25724 Declare with warn_unused_result.
25725 (setgid, setregid, setegid, setresgid): Likewise.
25726 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25728 * WUR-REPORT: Remove set*id functions.
25730 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25732 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25734 2012-07-31 Roland McGrath <roland@hack.frob.com>
25737 * include/sys/socket.h (__libc_accept, __libc_accept4):
25738 Add attribute_hidden.
25739 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25743 * inet/getnetgrent_r.c (setup): Likewise.
25745 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25747 2012-07-31 David S. Miller <davem@davemloft.net>
25749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25751 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25754 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25755 value between 1.0 and 2.0 and smaller part has absolute value less
25757 * math/s_clog10.c (__clog10): Likewise.
25758 * math/s_clog10f.c (__clog10f): Likewise.
25759 * math/s_clog10l.c (__clog10l): Likewise.
25760 * math/s_clogf.c (__clogf): Likewise.
25761 * math/s_clogl.c (__clogl): Likewise.
25762 * math/libm-test.inc (clog_test): Add more tests.
25763 (clog10_test): Likewise.
25764 * sysdeps/i386/fpu/libm-test-ulps: Update.
25765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767 2012-07-31 Florian Weimer <fweimer@redhat.com>
25769 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25770 Exit with zero in case no suitable GID is found, and write a
25771 message to standard error.
25773 2012-07-30 Roland McGrath <roland@hack.frob.com>
25775 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25777 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25778 (MAXPATHLEN): Removed.
25779 (NOGROUP, NODEV): New macros.
25780 (setbit, clrbit, isset, isclr): New macros.
25781 (howmany, roundup, powerof2): New macros.
25782 (DEV_BSIZE): New macro.
25784 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25785 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25787 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25788 definition on [!__NO_LONG_DOUBLE_MATH].
25790 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25791 PTR_MANGLE and PTR_DEMANGLE.
25793 * socket/accept4.c (accept4): Rename to __libc_accept4.
25794 Define accept4 as a weak alias.
25796 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25797 on [_DIRENT_HAVE_D_TYPE].
25798 * io/ftw.c (ftw_dir): Likewise.
25800 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25802 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25804 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25805 Use the BSD numbers rather than the arbitrary ones we had.
25806 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25807 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25808 (SIGXCPU, SIGXFSZ): New macros.
25811 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25812 initializer on [_LIBC_REENTRANT].
25814 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25815 definitions inside [_POSIX_MAPPED_FILES].
25817 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25819 * dirent/opendir.c: Include <fcntl.h>.
25821 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25822 (__libc_getspecific): Likewise.
25823 (__libc_key_create): Likewise.
25825 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25826 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25827 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25828 (tmpfile64): Define as alias.
25829 * sysdeps/wordsize-64/tmpfile.c: File removed.
25830 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25834 * stdio-common/vfscanf.c: Include <stdbool.h>.
25835 * nss/makedb.c: Likewise.
25836 * stdio-common/_i18n_number.h: Likewise.
25837 * argp/argp-help.c: Likewise.
25838 * posix/wordexp.c: Likewise.
25839 * sysdeps/posix/spawni.c: Likewise.
25840 * nss/nss_files/files-initgroups.c: Likewise.
25841 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25842 * nss/nss_files/files-initgroups.c: Likewise.
25843 * nss/nss_db/db-netgrp.c: Likewise.
25844 * nss/nss_db/db-initgroups.c: Likewise.
25845 * io/fchmodat.c: Include <sys/stat.h>.
25847 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25848 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25850 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25853 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25854 Add multiple inclusion protection.
25856 2012-07-27 David S. Miller <davem@davemloft.net>
25858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25860 2012-07-27 Gary Benson <gbenson@redhat.com>
25863 * elf/rtld.c: Include <stap-probe.h>.
25864 (dl_main): Added static probes "init_start" and "init_complete".
25865 * elf/dl-load.c: Include <stap-probe.h>.
25866 (lose): Take new parameter "nsid".
25867 Added static probe "map_failed".
25868 (_dl_map_object_from_fd): Pass namespace id to lose.
25869 Added static probe "map_start".
25870 (open_verify): Pass namespace id to lose.
25871 * elf/dl-open.c: Include <stap-probe.h>.
25872 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25873 and "reloc_complete".
25874 * elf/dl-close.c: Include <stap-probe.h>.
25875 (_dl_close_worker): Added static probes "unmap_start" and
25877 * elf/rtld-debugger-interface.txt: New file documenting the above.
25879 2012-07-26 Roland McGrath <roland@hack.frob.com>
25881 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25882 rather than a string variable.
25883 * sunrpc/rpc_main.c (h_output): Likewise.
25884 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25886 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25888 * inet/check_native.c: New file.
25890 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25893 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25894 if larger part has absolute value 1.0.
25895 * math/s_clog10.c (__clog10): Likewise.
25896 * math/s_clog10f.c (__clog10f): Likewise.
25897 * math/s_clog10l.c (__clog10l): Likewise.
25898 * math/s_clogf.c (__clogf): Likewise.
25899 * math/s_clogl.c (__clogl): Likewise.
25900 * math/libm-test.inc (clog_test): Add more tests.
25901 (clog10_test): Likewise.
25902 * sysdeps/i386/fpu/libm-test-ulps: Update.
25903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25905 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25906 (pltexit): Likewise.
25907 (La_regs): Likewise.
25908 (La_retval): Likewise.
25909 (int_retval): Likewise.
25910 Update #error for removed macros to refer only to definitions in
25912 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25914 (pltexit): Likewise.
25915 (La_regs): Likewise.
25916 (La_retval): Likewise.
25917 (int_retval): Likewise.
25918 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25920 (pltexit): Likewise.
25921 (La_regs): Likewise.
25922 (La_retval): Likewise.
25923 (int_retval): Likewise.
25924 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25926 (pltexit): Likewise.
25927 (La_regs): Likewise.
25928 (La_retval): Likewise.
25929 (int_retval): Likewise.
25930 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25932 (pltexit): Likewise.
25933 (La_regs): Likewise.
25934 (La_retval): Likewise.
25935 (int_retval): Likewise.
25936 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25938 (pltexit): Likewise.
25939 (La_regs): Likewise.
25940 (La_retval): Likewise.
25941 (int_retval): Likewise.
25942 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25944 (pltexit): Likewise.
25945 (La_regs): Likewise.
25946 (La_retval): Likewise.
25947 (int_retval): Likewise.
25948 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25949 macro definitions in tst-audit.h.
25950 * sysdeps/i386/tst-audit.h: New file.
25951 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25952 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25953 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25954 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25955 * sysdeps/sh/tst-audit.h: Likewise.
25956 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25957 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25958 * sysdeps/x86_64/tst-audit.h: Likewise.
25960 2012-07-26 Andreas Jaeger <aj@suse.de>
25962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25965 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25966 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25967 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25969 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25970 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25971 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25973 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25976 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25978 (si_call_addr, si_syscall, si_arch): Define new macro.
25979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25981 (si_call_addr, si_syscall, si_arch): Define new marcro.
25982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25984 (si_call_addr, si_syscall, si_arch): Define new macro.
25985 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25987 (si_call_addr, si_syscall, si_arch): Define new macro.
25989 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25993 Change to 2.4.21 where previously 2.4.1.
25994 * sysdeps/unix/sysv/linux/configure: Regenerated.
25995 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25996 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25997 Linux kernel version.
25998 (__ASSUME_STD_AUXV): Remove.
25999 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26001 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26002 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26003 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26004 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26005 (__ASSUME_NETLINK_SUPPORT): Likewise.
26006 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26007 (__no_netlink_support): Remove conditional definition.
26008 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26010 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26011 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26012 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26013 (if_nameindex_ioctl): Remove.
26014 (if_nameindex_netlink): Do not handle __no_netlink_support.
26015 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26017 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26018 Remove conditional code.
26019 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26021 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26023 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26024 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26025 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26027 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26028 [!__ASSUME_STD_AUXV]: Remove conditional code.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26030 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26031 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26033 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26034 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26036 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26038 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26039 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26041 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26043 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26046 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26049 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26050 code unconditional.
26051 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26053 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26055 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26058 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26060 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26063 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26064 code unconditional.
26065 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26067 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26069 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26072 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26073 code unconditional.
26074 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26076 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26078 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26081 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26083 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26084 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26085 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26086 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26087 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26088 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26089 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26090 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26091 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26092 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26093 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26094 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26095 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26096 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26101 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26104 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26107 2012-07-25 Florian Weimer <fweimer@redhat.com>
26109 * Versions.def: Add GLIBC_2.17.
26110 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26111 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26112 Introduce __libc_secure_getenv.
26113 * stdlib/Versions (2.17): Add secure_getenv
26114 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26115 * stdlib/secure-getenv.c: Rename __secure_getenv to
26116 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26117 symbol __secure_getenv for GLIBC_2.0.
26118 * stdlib/tst-secure-getenv.c: New.
26119 * stdlib/Makefile (tests): Add testcase.
26120 * manual/startup.texi (Environment Access): Document
26122 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26123 __libc_secure_getenv.
26124 * inet/ruserpass.c (ruserpass): Likewise.
26125 * malloc/mtrace.c (mtrace): Likewise.
26126 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26127 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26128 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26129 * sysdeps/posix/tempname.c: Likewise. Evaluate
26130 HAVE_SECURE_GETENV.
26131 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26132 __secure_getenv to __libc_secure_getenv.
26133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26146 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26148 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26149 (struct La_i86_retval): Likewise.
26150 (struct La_x86_64_regs): Likewise.
26151 (struct La_x86_64_retval): Likewise.
26152 (struct La_x32_regs): Likewise.
26153 (struct La_x32_retval): Likewise.
26154 (struct La_ppc32_regs): Likewise.
26155 (struct La_ppc32_retval): Likewise.
26156 (struct La_ppc64_regs): Likewise.
26157 (struct La_ppc64_retval): Likewise.
26158 (struct La_sh_regs): Likewise.
26159 (struct La_sh_retval): Likewise.
26160 (struct La_s390_32_regs): Likewise.
26161 (struct La_s390_32_retval): Likewise.
26162 (struct La_s390_64_regs): Likewise.
26163 (struct La_s390_64_retval): Likewise.
26164 (struct La_sparc32_regs): Likewise.
26165 (struct La_sparc32_retval): Likewise.
26166 (struct La_sparc64_regs): Likewise.
26167 (struct La_sparc64_retval): Likewise.
26168 (struct audit_ifaces): Remove architecture-specific pltenter and
26170 * sysdeps/i386/ldsodefs.h: New file.
26171 * sysdeps/powerpc/ldsodefs.h: Likewise.
26172 * sysdeps/s390/ldsodefs.h: Likewise.
26173 * sysdeps/sh/ldsodefs.h: Likewise.
26174 * sysdeps/sparc/ldsodefs.h: Likewise.
26175 * sysdeps/x86_64/ldsodefs.h: Likewise.
26177 2012-07-25 Marek Polacek <polacek@redhat.com>
26180 * math/libm-test.inc (yn_test): Add another test.
26181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26182 to ERANGE when the result is +-Inf.
26183 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26185 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26186 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26188 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26190 * conform/data/time.h-data (NULL): Use macro-constant. Require
26192 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26194 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26196 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26198 * configure.in <sysdeps resolving>: Correct printing
26200 * configure: Regenerate.
26202 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26204 * math/w_ilogb.c: Include <limits.h>.
26205 * math/w_ilogbl.c: Likewise.
26207 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26209 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26210 va_copy. Document allowing for unavailable va_copy only as
26211 pre-C99 compatibility.
26212 * manual/string.texi (Copying and Concatenation): Use va_copy
26213 instead of __va_copy in concat example.
26215 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26217 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26218 (__sendto): Use create_address_port. Initialize APORT and deallocate
26221 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26222 with O_NOLINK passed to __file_name_lookup.
26224 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26225 with O_NOLINK passed to __file_name_lookup.
26227 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26228 negative N or less than NGIDS.
26230 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26231 type to string_t. Set ERANGE as errno and return it if NAME is not big
26232 enough. Use memcpy instead of strncpy.
26234 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26236 * elf/Makefile (check-data): Remove.
26237 (localplt.data): New vpath directive.
26238 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26239 instead of $(check-data).
26240 * scripts/data/localplt-generic.data: Move to ...
26241 * sysdeps/generic/localplt.data: ... here.
26242 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26243 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26244 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26247 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26250 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26253 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26256 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26259 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26263 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26265 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26266 PPC32 and PPC64 files.
26267 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26268 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26270 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26272 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26273 __makecontext_ret to ...
26274 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26275 ... here and call exit if uc_link is NULL. New file.
26276 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26277 __makecontext_ret.S.
26278 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26279 __makecontext_ret to ...
26280 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26281 ... here and call exit if uc_link is NULL. New file.
26282 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26283 __makecontext_ret.S.
26285 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26287 * elf/elf.h (R_390_IRELATIVE): New definition.
26288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26289 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26290 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26292 (elf_machine_lazy_rel): Likewise.
26293 * sysdeps/s390/dl-irel.h: New file.
26294 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26295 * sysdeps/s390/s390-64/memset.S: New asm code.
26296 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26297 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26299 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26300 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26301 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26303 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26304 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26305 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26306 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26307 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26308 * sysdeps/s390/s390-32/memset.S: New asm code.
26309 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26311 2012-07-17 Marek Polacek <polacek@redhat.com>
26314 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26315 * sysdeps/s390/s390-64/configure.in: Likewise.
26316 * sysdeps/sparc/configure.in: Likewise.
26317 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26318 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26319 * sysdeps/i386/configure.in: Likewise.
26320 * sysdeps/x86_64/configure.in: Likewise.
26321 * sysdeps/sh/configure.in: Likewise.
26322 * sysdeps/s390/s390-32/configure: Regenerated.
26323 * sysdeps/s390/s390-64/configure: Likewise.
26324 * sysdeps/x86_64/configure: Likewise.
26325 * sysdeps/sh/configure: Likewise.
26326 * sysdeps/powerpc/powerpc64/configure: Likewise.
26327 * sysdeps/powerpc/powerpc32/configure: Likewise.
26328 * sysdeps/sparc/configure: Likwise.
26329 * sysdeps/i386/configure: Likewise.
26331 * elf/dl-open.c: Comment fixes.
26333 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26335 * Makefile [CXX] (check-data): Remove.
26336 [CXX] (c++-types.data): New vpath directive.
26337 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26338 vpath. Do not allow for C++ type data being missing.
26339 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26340 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26341 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26342 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26343 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26344 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26345 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26348 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26351 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26354 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26357 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26360 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26363 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26366 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26369 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26370 definitions to architecture-specific files.
26371 (TLS_IE): Likewise.
26372 (TLS_LD): Likewise.
26373 (TLS_GD): Likewise.
26374 * sysdeps/i386/tls-macros.h: New file.
26375 * sysdeps/powerpc/tls-macros.h: Likewise.
26376 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26377 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26378 * sysdeps/sh/tls-macros.h: Likewise.
26379 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26380 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26381 * sysdeps/x86_64/tls-macros.h: Likewise.
26383 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26386 zero value for regular exit case.
26388 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26389 (__start_context): Preserve zero value for regular exit case.
26391 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26392 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26394 * manual/setjmp.texi (setcontext): Clarify normal process
26395 termination when uc_link is the null pointer.
26396 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26399 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26401 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26402 preprocessor. Test for each exception mask separately.
26404 2012-07-16 Andreas Jaeger <aj@suse.de>
26406 * po/ru.po: Update from translation team.
26408 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26410 * conform/data/string.h-data (NULL): Use macro-constant. Require
26412 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26413 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26414 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26415 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26418 2012-07-13 Andreas Jaeger <aj@suse.de>
26420 * po/fr.po: Update from translation team.
26422 2012-07-12 Marek Polacek <polacek@redhat.com>
26425 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26429 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26432 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26433 Change to 2.4.1 where previously 2.4.0.
26434 * sysdeps/unix/sysv/linux/configure: Regenerated.
26435 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26436 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26438 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26439 (__ASSUME_AT_CLKTCK): Remove.
26440 (__ASSUME_AT_PAGESIZE): Likewise.
26441 (__ASSUME_AT_XID): Likewise.
26442 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26443 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26444 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26446 (HAVE_AUX_PAGESIZE): Likewise.
26447 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26448 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26449 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26451 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26455 the temporary buffer used to invoke __gethostbyname2_r,
26456 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26457 host_data / struct gaih_addrtuple.
26458 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26459 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26460 header file nss/nsswitch.h.
26461 * nss/nsswitch.h (global scope): Add definition of implementation
26462 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26463 resolv/nss_dns/dns-host.c).
26465 2012-07-11 Andreas Jaeger <aj@suse.de>
26467 * po/fr.po: Update from translation team.
26469 * po/sv.po: Update from translation team
26470 * po/fr.po: Another update from translation team.
26472 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26474 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26475 for subnormals or multiply small sinh result by itself.
26476 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26479 2012-07-11 David S. Miller <davem@davemloft.net>
26481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26483 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26486 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26487 (INTERNAL_MARK): Shift it here.
26489 2012-07-10 Marek Polacek <polacek@redhat.com>
26492 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26493 libc_cv_asm_global_directive with .globl.
26494 * configure: Regenerated.
26495 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26497 * sysdeps/i386/configure: Regenerated.
26498 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26500 * sysdeps/x86_64/configure: Regenerated.
26501 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26502 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26503 * elf/tst-unique2mod2.c: Likewise.
26504 * elf/tst-unique2mod1.c: Likewise.
26505 * elf/tst-unique1mod2.c: Likewise.
26506 * elf/tst-unique1mod1.c: Likewise.
26507 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26508 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26510 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26511 * sysdeps/mach/sysdep.h: Likewise.
26512 * sysdeps/i386/sysdep.h: Likewise.
26513 * sysdeps/i386/i386-mcount.S: Likewise.
26514 * sysdeps/x86_64/_mcount.S: Likewise.
26515 * sysdeps/x86_64/sysdep.h: Likewise.
26516 * sysdeps/sh/_mcount.S: Likewise.
26517 * sysdeps/sh/sysdep.h: Likewise.
26518 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26519 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26520 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26521 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26522 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26523 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26524 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26525 * locale/localeinfo.h: Likewise.
26526 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26527 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26529 2012-07-09 Roland McGrath <roland@hack.frob.com>
26532 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26534 * manual/message.texi (The Uniforum approach): Likewise.
26535 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26536 (glibc iconv Implementation): Likewise.
26538 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26541 * math/s_clog.c (__clog): Avoid scaling a value down where that
26542 could result in underflow.
26543 * math/s_clog10.c (__clog10): Likewise.
26544 * math/s_clog10f.c (__clog10f): Likewise.
26545 * math/s_clog10l.c (__clog10l): Likewise.
26546 * math/s_clogf.c (__clogf): Likewise.
26547 * math/s_clogl.c (__clogl): Likewise.
26548 * math/libm-test.inc (clog_test): Add more tests.
26549 (clog10_test): Likewise.
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26553 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26556 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26557 by 7 not 8 to examine high bit of fractional part.
26560 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26561 for call to __mcount_internal.
26562 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26563 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26564 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26566 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26569 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26570 approximation for values within 0x1p-13f of an odd multiple of
26572 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26573 exception. Add more tests.
26574 * sysdeps/i386/fpu/libm-test-ulps: Update.
26577 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26578 inputs and return -1 for them. Do not check for +Inf in case not
26579 reachable for +Inf.
26580 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26581 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26582 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26583 and return -1 for them. Do not check for +Inf in case not
26584 reachable for +Inf.
26585 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26587 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26588 and return -1 for them. Do not check for +Inf in case not
26589 reachable for +Inf.
26590 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26591 spurious underflow.
26592 * sysdeps/i386/fpu/libm-test-ulps: Update.
26593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26597 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26599 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26603 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26604 could result in spurious underflow. Scale down values above
26605 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26606 * math/s_csqrtf.c (__csqrtf): Likewise.
26607 * math/s_csqrtl.c (__csqrtl): Likewise.
26608 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26609 spurious underflow.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26613 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26615 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26617 * catgets/xopen-msg.awk: New file.
26618 * catgets/xopen-msg.sed: Removed.
26620 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26622 * intl/po2test.awk: New file.
26623 * intl/po2test.sed: Removed.
26625 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26628 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26629 or multiply small sinh result by itself.
26630 * math/s_ctanf.c (__ctanf): Likewise.
26631 * math/s_ctanh.c (__ctanh): Likewise.
26632 * math/s_ctanhf.c (__ctanhf): Likewise.
26633 * math/s_ctanhl.c (__ctanhl): Likewise.
26634 * math/s_ctanl.c (__ctanl): Likewise.
26635 * math/libm-test.inc (ctan_test_tonearest): New function.
26636 (ctan_test_towardzero): Likewise.
26637 (ctan_test_downward): Likewise.
26638 (ctan_test_upward): Likewise.
26639 (ctanh_test_tonearest): Likewise.
26640 (ctanh_test_towardzero): Likewise.
26641 (ctanh_test_downward): Likewise.
26642 (ctanh_test_upward): Likewise.
26643 (main): Call these new functions.
26644 * sysdeps/i386/fpu/libm-test-ulps: Update.
26645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26647 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26649 * .gitignore: Delete /ports entry.
26651 2012-07-03 Andreas Jaeger <aj@suse.de>
26653 * po/bg.po: Update from translation team.
26654 * po/cs.po: Likewise.
26655 * po/de.po: Likewise.
26656 * po/hr.po: Likewise.
26657 * po/nl.pl: Likewise.
26658 * po/pl.po: Likewise.
26659 * po/vi.po: Likewise.
26661 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26663 * Makeconfig [!+link] (+link-before-libc): New variable.
26664 [!+link] (+link-after-libc): Likewise.
26665 [!+link] (+link-tests): Likewise.
26666 [!+link] (+link): Define in terms of $(+link-before-libc) and
26667 $(+link-after-libc).
26668 [!+link-static] (+link-static-before-libc): New variable.
26669 [!+link-static] (+link-static-after-libc): Likewise.
26670 [!+link-static] (+link-static-tests): Likewise.
26671 [!+link-static] (+link-static): Define in terms of
26672 $(+link-static-before-libc) and $(+link-static-after-libc).
26673 [build-shared] (link-libc-before-gnulib): New variable.
26674 [build-shared] (link-libc-tests): Likewise.
26675 [build-shared] (link-libc): Define in terms of
26676 $(link-libc-before-gnulib).
26677 [!build-shared] (link-libc-tests): New variable.
26678 (link-libc-static-tests): New variable.
26679 [!gnulib] (gnulib-arch): New variable.
26680 [!gnulib] (gnulib-tests): Likewise.
26681 [!gnulib] (static-gnulib-arch): Likewise.
26682 [!gnulib] (static-gnulib-tests): Likewise.
26683 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26684 Define with "=" instead of ":=".
26685 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26686 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26687 * Rules (binaries-all-notests): New variable.
26688 (binaries-all-tests): Likewise.
26689 (binaries-static-notests): Likewise.
26690 (binaries-static-tests): Likewise.
26691 (binaries-all): Define using $(binaries-all-notests) and
26692 $(binaries-all-tests).
26693 (binaries-static): Define using $(binaries-static-notests) and
26694 $(binaries-static-tests).
26695 (binaries-shared-tests): New variable.
26696 (binaries-shared-notests): Likewise.
26697 (binaries-shared): Remove variable.
26698 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26699 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26700 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26701 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26702 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26703 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26704 * elf/Makefile (sln-modules): New variable.
26705 (extra-objs): Add $(sln-modules:=.o).
26706 (ldconfig-modules): Add static-stubs.
26707 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26708 * elf/static-stubs.c: New file.
26711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26712 by 7 not 8 to examine high bit of fractional part. Use volatile
26713 variables when splitting into final array of floats if
26714 __FLT_EVAL_METHOD__ != 0.
26715 * math/libm-test.inc (cos_test): Add another test.
26716 (sin_test): Likewise.
26717 * sysdeps/i386/fpu/libm-test-ulps: Update.
26720 * math/libm-test.inc (cosh_test): Add more tests.
26722 * version.h (RELEASE): Set to "development".
26723 (VERSION): Set to "2.16.90".
26725 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26727 * NEWS: Update copyright. Remove last-updated date.
26728 Mention math library bug fixes and timezone data changes.
26729 * README: Mention GNU/Hurd, x32, and HPPA support status.
26731 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26733 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26735 2012-06-27 Andreas Jaeger <aj@suse.de>
26737 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26739 2012-06-25 Andreas Jaeger <aj@suse.de>
26741 * sysdeps/s390/fpu/libm-test-ulps: Update.
26743 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26744 Thomas Schwinge <thomas@codesourcery.com>
26746 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26747 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26751 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26753 * sysdeps/mach/start.c: Remove file.
26754 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26755 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26756 * sysdeps/sh/init-first.c: Likewise.
26758 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26759 registers for frame unwinding purposes, add CFI directives.
26760 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26762 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26765 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26766 __fortify_fail returning.
26767 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26769 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26770 sysdeps/sh/____longjmp_chk.S.
26771 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26772 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26773 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26774 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26776 * sysdeps/sh/abort-instr.h: New file.
26777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26778 process in case exit returns.
26780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26781 initialize the GOT register before use.
26783 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26784 calculation of ARGC > 4.
26786 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26787 meaningful names to some local labels.
26789 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26790 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26792 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26793 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26794 (__arch_compare_and_exchange_val_16_acq): Likewise.
26795 (__arch_compare_and_exchange_val_32_acq): Likewise.
26796 (atomic_exchange_and_add): Fix gUSA sequence.
26797 (atomic_add): Likewise.
26798 (atomic_add_negative): Likewise.
26799 (atomic_add_zero): Likewise.
26800 (atomic_bit_test_set): Likewise.
26802 2012-06-22 Andreas Schwab <schwab@redhat.com>
26805 * include/link.h (struct link_map): Add l_free_initfini.
26806 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26808 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26809 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26810 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26813 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26815 * configure.in: Use AC_LANG_SOURCE.
26816 * configure: Regenerate.
26818 2012-06-22 Roland McGrath <roland@hack.frob.com>
26820 * configure.in (libc_cv_localstatedir): New substituted variable.
26821 * configure: Regenerated.
26822 * config.make.in (localstatedir): New variable, substituted from
26823 libc_cv_localstatedir.
26824 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26825 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26826 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26827 * sysdeps/gnu/configure: Regenerated.
26829 2012-06-21 Jeff Law <law@redhat.com>
26832 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26833 free. Simplify list management for _LIBC case.
26835 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26839 Clear sign bit of 64-bit integer value before comparing against
26842 * sysdeps/mach/configure: Regenerated.
26844 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26847 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26849 2012-06-21 Jeff Law <law@redhat.com>
26852 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26853 uint16_t for elements in the "seen" array to avoid char overflows.
26854 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26855 * elf/dl-open.c (dl_open_worker): Likewise.
26857 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26859 * scripts/list-sources.sh: Scan PORTS for translations.
26860 * po/libc.pot: Regenerated.
26862 2012-06-21 Andreas Jaeger <aj@suse.de>
26865 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26867 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26868 * bits/byteswap-16.h (__bswap_16): Likewise.
26869 * bits/byteswap.h (__bswap_constant_16): Likewise.
26871 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26874 * sysdeps/i386/fpu_control.h: Removed.
26875 * sysdeps/x86_64/fpu_control.h: Moved to ...
26876 * sysdeps/x86/fpu_control.h: Here.
26878 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26879 (_FPU_SETCW): Likewise.
26881 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26884 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26885 * sysdeps/x86/fpu/bits/mathinline.h: This.
26886 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26890 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26891 functions if __x86_64__ is defined.
26893 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26895 * string/endian.h: Add !__ASSEMBLER__ condition for including
26896 conversion interfaces.
26898 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26902 of ABS(x) in calculating zero to negative powers other than odd
26904 * math/libm-test.inc (pow_test): Add more tests.
26906 2012-06-15 Andreas Jaeger <aj@suse.de>
26908 * manual/contrib.texi (Contributors): Update entry of Liubov
26909 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26912 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26914 * string/string.h: Add __wur to GNU version of strerror_r.
26916 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26919 * string/Makefile (tests): Add tst-strtok_r.
26920 * string/tst-strtok_r.c: New file.
26921 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26922 RAX_LP/RDX_LP on SAVE_PTR.
26924 2012-06-14 Roland McGrath <roland@hack.frob.com>
26926 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26928 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26930 * libm_test.inc (csqrt_test): Allow more spurious underflow
26932 (j0_test): Likewise.
26933 (j1_test): Likewise.
26934 (y0_test): Likewise.
26935 (y1_test): Likewise.
26937 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26939 * po/Makefile (libc.pot): Use UTF-8 charset.
26941 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26944 Suppress sign-conversion warning from FD_SET.
26945 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26946 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26947 not unsigned long int.
26948 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26950 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26954 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26955 __extern_always_inline instead of __extern_inline.
26956 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26957 (__signbit): Likewise.
26958 (__signbitl): Support C++ namespace.
26959 (lrintf): New inline function.
26961 (llrintf): Likewise.
26962 (llrint): Likewise.
26972 (floorf): Likewise.
26973 (nearbyint): Likewise.
26974 (nearbyintf): Likewise.
26976 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26978 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26979 non-default versions.
26981 2012-06-11 Roland McGrath <roland@hack.frob.com>
26984 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26986 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26988 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26989 (FE_UPWARD, FE_DOWNWARD): Don't define.
26990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26991 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26995 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26998 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27000 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27002 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27005 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27008 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27009 * sysdeps/i386/fpu/Implies: New file.
27010 * sysdeps/x86_64/fpu/Implies: Likewise.
27011 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27012 * sysdeps/x86/fpu/bits/fenv.h: This.
27014 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27017 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27020 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27021 character 0xffff that matches the last element of the
27024 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27029 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27031 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27032 values higher than 25.6283.
27034 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27036 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27037 subnormal exponent extraction and add some __builtin_expect.
27038 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27039 Fix for subnormal mantissa calculation.
27041 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27043 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27044 cpu2 is -1 and errno is not ENOSYS.
27046 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27049 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27050 * sysdeps/x86/bits/string.h: This.
27051 * sysdeps/x86_64/bits/string.h: Removed.
27053 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27054 if not compiling for x86-64, but compiling for >= i486.
27056 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27057 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27059 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27060 New macro from Linux kernel 3.4.0.
27061 (FP_XSTATE_MAGIC2): Likewise.
27062 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27063 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27064 (struct _fpx_sw_bytes): New struct.
27065 (struct _xsave_hdr): Likewise.
27066 (struct _ymmh_state): Likewise.
27067 (struct _xstate): Likewise.
27069 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27070 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27072 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27074 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27076 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27077 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27079 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27080 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27081 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27083 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27086 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27087 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27088 (sysdep_headers): Include sys/platform/ppc.h.
27089 * sysdeps/powerpc/test-gettimebase.c: Test for
27090 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27091 * manual/Makefile (appendices): Include platform.texi.
27092 * manual/contrib.texi (Contributors): Update @node pointers.
27093 * manual/maint.texi (Maintenance): Likewise.
27094 (Platform): New node.
27095 * manual/platform.texi: New file. Document the new features.
27097 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27098 Jakub Jelinek <jakub@redhat.com>
27101 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27102 where __builtin_expect is unavailable.
27104 2012-06-03 David S. Miller <davem@davemloft.net>
27106 * stdlib/longlong.h: Updated from GCC.
27108 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27111 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27112 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27115 (GLIBC_2.16): Likewise.
27117 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27119 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27121 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27124 (default-abi): New variable.
27125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27126 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27128 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27130 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27132 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27135 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27136 definition. Document in comment.
27138 2012-06-01 David S. Miller <davem@davemloft.net>
27140 * stdlib/longlong.h: Updated from GCC.
27142 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27145 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27146 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27147 sys/debugreg.h sys/io.h here.
27148 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27149 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27151 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27152 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27153 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27154 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27155 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27156 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27159 Define only if __x86_64__ is defined.
27161 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27165 Use int64_t for variable i.
27166 * math/libm-test.inc (fmod_test): Add more tests.
27168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27169 z computation is not scheduled after fetestexcept.
27170 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27171 Use math_force_eval instead of asm to ensure calculation scheduled
27172 before exception test.
27173 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27174 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27176 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27179 computation is not scheduled after fetestexcept.
27181 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27184 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27185 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27187 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27189 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27190 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27192 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27195 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27197 (__WCHAR_MIN): Support __WORDSIZE == 64.
27198 (__WCHAR_MAX): Likewise.
27200 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27204 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27205 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27208 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27209 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27211 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27214 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27215 Defined to 1 if __x86_64__ isn't defined.
27216 (_STAT_VER_LINUX_OLD): New.
27217 (st_atime): Remove duplicate.
27218 (st_mtime): Likewise.
27219 (st_ctime): Likewise.
27221 2012-05-31 David S. Miller <davem@davemloft.net>
27223 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27226 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27228 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27232 * elf/dl-reloc.c: Include <_itoa.h>.
27233 (_dl_reloc_bad_type): Remove use of INTUSE.
27234 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27235 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27236 * stdio-common/psiginfo.c (psiginfo): Likewise.
27237 * stdio-common/psignal.c (psignal): Likewise.
27238 * string/strsignal.c (strsignal): Likewise.
27239 * include/signal.h (_sys_siglist): Declare hidden proto.
27240 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27241 INTVARDEF with libc_hidden_data_def.
27242 * stdio-common/itoa-udigits.c: Likewise.
27243 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27244 (_itoa_lower_digits_internal): Remove declaration.
27245 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27246 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27247 (_sys_sigabbrev_internal): Remove aliases.
27248 (_sys_siglist): Define hidden alias.
27250 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27255 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27258 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27259 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27261 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27262 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27263 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27264 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27265 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27266 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27268 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27269 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27270 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27272 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27282 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27284 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27285 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27287 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27288 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27289 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27291 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27292 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27294 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27295 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27299 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27301 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27302 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27304 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27306 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27307 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27308 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27310 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27312 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27314 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27316 * math/math.h (M_El): Use two more decimal places.
27317 (M_LOG2El): Likewise.
27318 (M_LOG10El): Likewise.
27319 (M_LN2l): Likewise.
27320 (M_LN10l): Likewise.
27322 (M_PI_2l): Likewise.
27323 (M_PI_4l): Likewise.
27324 (M_1_PIl): Likewise.
27325 (M_2_PIl): Likewise.
27326 (M_2_SQRTPIl): Likewise.
27327 (M_SQRT2l): Likewise.
27328 (M_SQRT1_2l): Likewise.
27330 2012-05-31 David S. Miller <davem@davemloft.net>
27332 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27333 values between float registers.
27334 * sysdeps/sparc/sparc64/memset.S: Likewise.
27335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27337 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27339 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27340 -D_FORTIFY_SOURCE=1.
27341 (CPPFLAGS-tst-longjmp_chk.c): Define.
27342 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27343 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27344 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27345 CFLAGS-tst-wchar-h.c.
27347 2012-05-31 Marek Polacek <polacek@redhat.com>
27350 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27351 __endmntent_internal): Remove declaration.
27352 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27353 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27354 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27356 2012-05-30 David S. Miller <davem@davemloft.net>
27358 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27359 (___Q_simulate_exceptions): Use real FP ops rather than writing
27361 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27364 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27367 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27368 * sysdeps/x86/bits/xtitypes.h: This.
27370 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27371 * sysdeps/x86/bits/wordsize.h: This.
27373 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27374 * sysdeps/x86/bits/huge_vall.h: This.
27376 * sysdeps/i386/bits/select.h: Removed.
27377 * sysdeps/x86_64/bits/select.h: Renamed to ...
27378 * sysdeps/x86/bits/select.h: This.
27380 * sysdeps/i386/bits/setjmp.h: Removed.
27381 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27382 * sysdeps/x86/bits/setjmp.h: This.
27384 * sysdeps/i386/bits/mathdef.h: Removed.
27385 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27386 * sysdeps/x86/bits/mathdef.h: This.
27388 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27391 * include/sys/socket.h (__connect_internal)
27392 (__libc_sa_len_internal): Remove declaration.
27393 (__connect, __libc_sa_len): Declare hidden_proto.
27394 (SA_LEN): Remove use of INTUSE.
27395 * socket/connect.c: Add libc_hidden_def.
27396 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27397 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27398 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27400 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27401 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27402 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27403 of adding _internal alias.
27405 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27408 * sysdeps/i386/bits/link.h: Removed.
27409 * sysdeps/i386/bits/linkmap.h: Likewise.
27410 * sysdeps/x86_64/bits/link.h: Renamed to ...
27411 * sysdeps/x86/bits/link.h: This.
27412 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27413 * sysdeps/x86/bits/linkmap.h: This.
27415 * sysdeps/i386/bits/endian.h: Removed.
27416 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27417 * sysdeps/x86/bits/endian.h: This.
27419 * sysdeps/i386/bits/byteswap.h: Removed.
27420 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27421 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27422 * sysdeps/x86/bits/byteswap.h: This.
27423 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27424 * sysdeps/x86/bits/byteswap-16.h: This.
27425 * sysdeps/i386/Implies: Add x86.
27426 * sysdeps/x86_64/Implies: Likewise.
27428 2012-05-30 David S. Miller <davem@davemloft.net>
27430 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27431 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27433 (FP_TRAPPING_EXCEPTIONS): Define.
27434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27435 (FP_TRAPPING_EXCEPTIONS): Define.
27436 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27437 subnormals only when inexact has been signalled or underflow
27438 exceptions are enabled.
27439 (_FP_PACK_CANONICAL): Likewise.
27441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27445 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27447 2012-05-30 Richard Henderson <rth@twiddle.net>
27449 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27450 with #ifndef NOT_IN_libc.
27452 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27453 marked to avoid plt entry.
27455 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27458 * Makeconfig (default-abi): New macro.
27459 (abi-includes): Likewise.
27460 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27461 $(abi-$(default-abi)-lib-soname) for soname if defined.
27462 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27464 * Makefile (installed-stubs): Likewise.
27465 * include/stubs-biarch.h: Removed.
27466 * scripts/lib-names.awk: Only handle one library at a time.
27467 * scripts/soversions.awk: Remove WORDSIZE support.
27468 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27470 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27472 (syscall-list-default-condition): Likewise.
27473 (syscall-list-default-condition): Likewise.
27474 (syscall-list-includes): Likewise.
27475 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27476 syscall-list-* with abi-*. Handle undefined abi-variants.
27477 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27478 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27479 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27481 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27482 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27484 (syscall-list-32-options): Likewise.
27485 (syscall-list-32-condition): Likewise.
27486 (syscall-list-64-options): Likewise.
27487 (syscall-list-64-condition): Likewise.
27488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27490 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27493 (abi-64-ld-soname): New macro.
27494 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27495 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27498 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27499 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27501 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27503 * sysdeps/unix/sysv/linux/kernel-features.h
27504 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27505 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27506 include <kernel-features.h>.
27507 [!__NR_ftruncate64]: Remove conditional code.
27508 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27509 [__NR_ftruncate64]: Make code unconditional.
27510 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27511 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27512 include <kernel-features.h>.
27513 [!__NR_ftruncate64]: Remove conditional code.
27514 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27515 [__NR_ftruncate64]: Make code unconditional.
27516 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27518 include <kernel-features.h>.
27519 [!__NR_ftruncate64]: Remove conditional code.
27520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27521 [__NR_ftruncate64]: Make code unconditional.
27522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27524 include <kernel-features.h>.
27525 [!__NR_ftruncate64]: Remove conditional code.
27526 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27527 [__NR_ftruncate64]: Make code unconditional.
27528 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27530 * configure.in (libc_cv_fpie): Weaken to a compile test using
27531 LIBC_TRY_CC_OPTION.
27532 * configure: Regenerated.
27534 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27549 2012-05-27 David S. Miller <davem@davemloft.net>
27551 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27553 (__Q_simulate_exceptions): Return void. Change to simulate
27554 exceptions by writing into the %fsr.
27555 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27556 (__Qp_handle_exceptions): Likewise.
27558 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27559 __Qp_handle_exceptions.
27560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27561 __Qp_handle_exceptions.
27562 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27563 as unused and give dummy FP_RND_NEAREST initializer.
27564 (FP_INHIBIT_RESULTS): Define.
27565 (___Q_simulate_exceptions): Update declaration.
27566 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27569 as unused and give dummy FP_RND_NEAREST initializer.
27570 (__Qp_handle_exceptions): Update declaration.
27571 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27574 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27576 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27577 the temporary FPU control word.
27578 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27579 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27580 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27581 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27583 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27584 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27585 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27586 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27587 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27590 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27592 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27595 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27597 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27598 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27599 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27600 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27602 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27603 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27606 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27608 * po/h.po: Update from translation team.
27610 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27612 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27614 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27615 handling of denormals.
27616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27617 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27618 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27619 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27625 2012-05-26 Marek Polacek <polacek@redhat.com>
27628 * math/libm-test.inc (fma_test): Don't always expect underflow
27631 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27634 * elf/tst-execstack.c: Include stackinfo.h.
27635 (do_test): Adjust test case to ensure that pthread_getattr_np
27636 behaviour remains the same after marking stack executable.
27638 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/unix/sysv/linux/kernel-features.h
27641 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27642 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27644 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27645 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27646 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27648 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27649 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27651 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27653 * configure.in: Define the default includes to being none.
27654 * configure: Regenerated.
27656 2012-05-25 Roland McGrath <roland@hack.frob.com>
27658 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27659 * sysdeps/x86_64/setjmp.S: Likewise.
27660 * sysdeps/i386/bsd-setjmp.S: Likewise.
27661 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27662 * sysdeps/i386/setjmp.S: Likewise.
27663 * sysdeps/i386/__longjmp.S: Likewise.
27664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27665 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27667 * include/stap-probe.h: New file.
27668 * configure.in: Handle --enable-systemtap.
27669 * configure: Regenerated.
27670 * config.h.in (USE_STAP_PROBE): New #undef.
27671 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27672 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27673 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27675 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27679 to 2.4.0 where earlier.
27680 * sysdeps/unix/sysv/linux/configure: Regenerated.
27681 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27682 <kernel-features.h>.
27683 [__ASSUME_32BITUIDS]: Make code unconditional.
27684 [!__ASSUME_32BITUIDS]: Remove conditional code.
27685 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27686 <kernel-features.h>.
27687 [__ASSUME_32BITUIDS]: Make code unconditional.
27688 [!__ASSUME_32BITUIDS]: Remove conditional code.
27689 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27690 [__ASSUME_32BITUIDS]: Make code unconditional.
27691 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27692 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27693 <kernel-features.h>.
27694 [__ASSUME_32BITUIDS]: Make code unconditional.
27695 [!__ASSUME_32BITUIDS]: Remove conditional code.
27696 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27697 <kernel-features.h>.
27698 [__ASSUME_32BITUIDS]: Make code unconditional.
27699 [!__ASSUME_32BITUIDS]: Remove conditional code.
27700 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27701 <kernel-features.h>.
27702 [__ASSUME_32BITUIDS]: Make code unconditional.
27703 [!__ASSUME_32BITUIDS]: Remove conditional code.
27704 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27705 <kernel-features.h>.
27706 [__ASSUME_32BITUIDS]: Make code unconditional.
27707 [!__ASSUME_32BITUIDS]: Remove conditional code.
27708 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27709 <kernel-features.h>.
27710 [__ASSUME_32BITUIDS]: Make code unconditional.
27711 [!__ASSUME_32BITUIDS]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27713 <kernel-features.h>.
27714 [__ASSUME_32BITUIDS]: Make code unconditional.
27715 [!__ASSUME_32BITUIDS]: Remove conditional code.
27716 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27717 <kernel-features.h>.
27718 [__ASSUME_32BITUIDS]: Make code unconditional.
27719 [!__ASSUME_32BITUIDS]: Remove conditional code.
27720 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27721 <kernel-features.h>.
27722 [__ASSUME_32BITUIDS]: Make code unconditional.
27723 [!__ASSUME_32BITUIDS]: Remove conditional code.
27724 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27725 <kernel-features.h>.
27726 [__ASSUME_32BITUIDS]: Make code unconditional.
27727 [!__ASSUME_32BITUIDS]: Remove conditional code.
27728 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27729 <kernel-features.h>.
27730 [__ASSUME_32BITUIDS]: Make code unconditional.
27731 [!__ASSUME_32BITUIDS]: Remove conditional code.
27732 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27733 <kernel-features.h>.
27734 [__NR_setresgid] (__setresgid): Do not declare.
27735 [__ASSUME_32BITUIDS]: Make code unconditional.
27736 [!__ASSUME_32BITUIDS]: Remove conditional code.
27737 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27738 <kernel-features.h>.
27739 [__NR_setresuid] (__setresuid): Do not declare.
27740 [__ASSUME_32BITUIDS]: Make code unconditional.
27741 [!__ASSUME_32BITUIDS]: Remove conditional code.
27742 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27743 <kernel-features.h>.
27744 [__ASSUME_32BITUIDS]: Make code unconditional.
27745 [!__ASSUME_32BITUIDS]: Remove conditional code.
27746 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27747 <kernel-features.h>.
27748 [__ASSUME_32BITUIDS]: Make code unconditional.
27749 [!__ASSUME_32BITUIDS]: Remove conditional code.
27750 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27751 <kernel-features.h>.
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27755 <kernel-features.h>.
27756 [__ASSUME_32BITUIDS]: Make code unconditional.
27757 [!__ASSUME_32BITUIDS]: Remove conditional code.
27758 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27759 <kernel-features.h>.
27760 [__ASSUME_32BITUIDS]: Make code unconditional.
27761 [!__ASSUME_32BITUIDS]: Remove conditional code.
27762 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27763 <kernel-features.h>.
27764 [__ASSUME_32BITUIDS]: Make code unconditional.
27765 [!__ASSUME_32BITUIDS]: Remove conditional code.
27766 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27767 <kernel-features.h>.
27768 [__ASSUME_32BITUIDS]: Make code unconditional.
27769 [!__ASSUME_32BITUIDS]: Remove conditional code.
27770 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27771 <kernel-features.h>.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27775 <kernel-features.h>.
27776 [__ASSUME_32BITUIDS]: Make code unconditional.
27777 [!__ASSUME_32BITUIDS]: Remove conditional code.
27778 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27779 <kernel-features.h>.
27780 [__ASSUME_32BITUIDS]: Make code unconditional.
27781 [!__ASSUME_32BITUIDS]: Remove conditional code.
27782 * sysdeps/unix/sysv/linux/kernel-features.h
27783 (__ASSUME_SETRESUID_SYSCALL): Remove.
27784 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27785 (__ASSUME_32BITUIDS): Likewise.
27786 (__ASSUME_LDT_WORKS): Likewise.
27787 (__ASSUME_O_DIRECTORY): Likewise.
27788 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27789 architecture but not kernel version.
27790 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27791 (__ASSUME_MMAP2_SYSCALL): Likewise.
27792 (__ASSUME_STAT64_SYSCALL): Likewise.
27793 (__ASSUME_IPC64): Likewise.
27794 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27795 <kernel-features.h>.
27796 [__ASSUME_32BITUIDS]: Make code unconditional.
27797 [!__ASSUME_32BITUIDS]: Remove conditional code.
27798 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27799 <kernel-features.h>.
27800 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27801 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27802 132096]: Remove conditional code.
27803 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27804 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27805 <kernel-features.h>.
27806 [__ASSUME_32BITUIDS]: Make code unconditional.
27807 [!__ASSUME_32BITUIDS]: Remove conditional code.
27808 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27809 <kernel-features.h>.
27810 [__ASSUME_32BITUIDS]: Make code unconditional.
27811 [!__ASSUME_32BITUIDS]: Remove conditional code.
27812 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27813 <kernel-features.h>.
27814 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27816 (__setresgid): Do not declare.
27817 [__ASSUME_32BITUIDS]: Make code unconditional.
27818 [!__ASSUME_32BITUIDS]: Remove conditional code.
27819 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27820 <kernel-features.h>.
27821 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27823 (__setresuid): Do not declare.
27824 [__ASSUME_32BITUIDS]: Make code unconditional.
27825 [!__ASSUME_32BITUIDS]: Remove conditional code.
27826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27827 <kernel-features.h>.
27828 [__ASSUME_32BITUIDS]: Make code unconditional.
27829 [!__ASSUME_32BITUIDS]: Remove conditional code.
27830 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27831 <kernel-features.h>.
27832 [__ASSUME_32BITUIDS]: Make code unconditional.
27833 [!__ASSUME_32BITUIDS]: Remove conditional code.
27835 2012-05-25 Richard Henderson <rth@twiddle.net>
27837 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27838 dl_hwcap to ifunc resolver.
27839 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27841 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27842 dl_hwcap to ifunc resolver.
27843 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27845 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27848 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27849 for |x| <= 2**-26, not 2**-57.
27850 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27853 2012-05-24 Jeff Law <law@redhat.com>
27855 * stdio-common/Makefile (tests): Add bug25.
27856 * stdio-common/bug25.c: New test.
27858 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27861 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27862 multiple of MALLOC_ALIGNMENT in size.
27863 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27865 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27867 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27869 (FILENAME_MAX): Use macro-int-constant.
27870 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27871 (_IOFBF): Use macro-int-constant.
27872 (_IOLBF): Likewise.
27873 (_IONBF): Likewise.
27874 (SEEK_CUR): Likewise.
27875 (SEEK_END): Likewise.
27876 (SEEK_SET): Likewise.
27877 (TMP_MAX): Likewise.
27878 (EOF): Use macro-int-constant. Require < 0.
27879 (NULL): Use macro-constant. Require == 0.
27880 (stdin): Require type to be FILE *.
27881 (stdout): Likewise.
27882 (stderr): Likewise.
27883 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27884 macro-int-constant.
27885 (EXIT_SUCCESS): Likewise.
27886 (NULL): Use macro-constant. Require == 0.
27887 (RAND_MAX): Use macro-int-constant.
27888 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27889 [C99-based standards] (strtof): Require function.
27890 [C99-based standards] (strtold): Likewise.
27891 [C99-based standards] (strtoll): Likewise.
27892 [C99-based standards] (strtoull): Likewise.
27893 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27894 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27895 [ISO || ISO99 || ISO11] (math.h): Likewise.
27896 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27897 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27900 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27903 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27904 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27905 * intl/dgettext.c (DCGETTEXT): Likewise.
27906 * intl/gettext.c (DCGETTEXT): Likewise.
27907 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27908 * posix/regex_internal.h (gettext): Likewise.
27909 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27910 Remove declaration.
27911 * include/argz.h (__argz_count_internal)
27912 (__argz_stringify_internal): Remove declaration.
27913 (__argz_count, __argz_stringify): Declare hidden proto.
27914 * intl/dcgettext.c: Remove use of INTDEF.
27915 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27916 * string/argz-stringify.c: Likewise.
27917 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27918 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27919 Declare hidden proto.
27920 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27921 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27922 Declare hidden proto.
27923 * include/stdio.h (__asprintf_internal): Don't declare.
27924 (__asprintf): Don't define as macro. Declare hidden proto.
27925 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27926 (__fsetlocking): Declare hidden proto.
27927 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27928 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27930 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27931 (_IO_setlinebuf): Remove use of INTUSE.
27932 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27933 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27934 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27935 Remove declaration.
27936 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27937 (_IO_do_flush): Remove use of INTUSE.
27938 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27939 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27940 (_IO_adjust_column, _IO_least_wmarker)
27941 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27942 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27943 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27944 (_IO_default_doallocate, _IO_wdefault_doallocate)
27945 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27946 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27947 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27948 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27949 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27950 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27951 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27952 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27953 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27954 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27955 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27956 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27957 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27959 (_IO_flush_all_internal, _IO_adjust_column_internal)
27960 (_IO_default_uflow_internal, _IO_default_finish_internal)
27961 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27962 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27963 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27964 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27965 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27966 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27967 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27968 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27969 (_IO_file_close_internal, _IO_file_close_it_internal)
27970 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27971 (_IO_file_init_internal, _IO_file_attach_internal)
27972 (_IO_file_fopen_internal, _IO_file_read_internal)
27973 (_IO_file_sync_internal, _IO_file_seek_internal)
27974 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27975 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27976 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27977 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27978 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27979 (_IO_list_all_internal, _IO_link_in_internal)
27980 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27981 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27982 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27983 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27984 (_IO_do_write_internal, _IO_padn_internal)
27985 (_IO_getline_info_internal, _IO_getline_internal)
27986 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27987 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27988 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27989 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27990 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27991 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27992 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27993 with libc_hidden_ver, remove use of INTUSE.
27994 * libio/genops.c: Likewise.
27995 * libio/freopen.c: Likewise.
27996 * libio/freopen64.c: Likewise.
27997 * libio/iofclose.c: Likewise.
27998 * libio/iofdopen.c: Likewise.
27999 * libio/iofflush.c: Likewise.
28000 * libio/iofflush_u.c: Likewise.
28001 * libio/iofgets.c: Likewise.
28002 * libio/iofgets_u.c: Likewise.
28003 * libio/iofopen.c: Likewise.
28004 * libio/iofopncook.c: Likewise.
28005 * libio/iofread.c: Likewise.
28006 * libio/iofread_u.c: Likewise.
28007 * libio/ioftell.c: Likewise.
28008 * libio/iofwrite.c: Likewise.
28009 * libio/iogetline.c: Likewise.
28010 * libio/iogets.c: Likewise.
28011 * libio/iogetwline.c: Likewise.
28012 * libio/iopadn.c: Likewise.
28013 * libio/iopopen.c: Likewise.
28014 * libio/ioseekoff.c: Likewise.
28015 * libio/ioseekpos.c: Likewise.
28016 * libio/iosetbuffer.c: Likewise.
28017 * libio/iosetvbuf.c: Likewise.
28018 * libio/ioungetc.c: Likewise.
28019 * libio/ioungetwc.c: Likewise.
28020 * libio/iovdprintf.c: Likewise.
28021 * libio/iovsprintf.c: Likewise.
28022 * libio/iovsscanf.c: Likewise.
28023 * libio/memstream.c: Likewise.
28024 * libio/obprintf.c: Likewise.
28025 * libio/oldfileops.c: Likewise.
28026 * libio/oldiofclose.c: Likewise.
28027 * libio/oldiofdopen.c: Likewise.
28028 * libio/oldiofopen.c: Likewise.
28029 * libio/oldiopopen.c: Likewise.
28030 * libio/oldstdfiles.c: Likewise.
28031 * libio/putc.c: Likewise.
28032 * libio/setbuf.c: Likewise.
28033 * libio/setlinebuf.c: Likewise.
28034 * libio/stdfiles.c: Likewise.
28035 * libio/strops.c: Likewise.
28036 * libio/vasprintf.c: Likewise.
28037 * libio/vscanf.c: Likewise.
28038 * libio/vsnprintf.c: Likewise.
28039 * libio/vswprintf.c: Likewise.
28040 * libio/wfiledoalloc.c: Likewise.
28041 * libio/wfileops.c: Likewise.
28042 * libio/wgenops.c: Likewise.
28043 * libio/wmemstream.c: Likewise.
28044 * libio/wstrops.c: Likewise.
28045 * libio/__fpurge.c: Likewise.
28046 * libio/__fsetlocking.c: Likewise.
28047 * assert/assert.c: Likewise.
28048 * debug/fgets_chk.c: Likewise.
28049 * debug/fgets_u_chk.c: Likewise.
28050 * debug/fread_chk.c: Likewise.
28051 * debug/fread_u_chk.c: Likewise.
28052 * debug/gets_chk.c: Likewise.
28053 * debug/obprintf_chk.c: Likewise.
28054 * debug/vasprintf_chk.c: Likewise.
28055 * debug/vdprintf_chk.c: Likewise.
28056 * debug/vsnprintf_chk.c: Likewise.
28057 * debug/vsprintf_chk.c: Likewise.
28058 * malloc/mtrace.c: Likewise.
28059 * misc/error.c: Likewise.
28060 * misc/syslog.c: Likewise.
28061 * stdio-common/asprintf.c: Likewise.
28062 * stdio-common/fxprintf.c: Likewise.
28063 * stdio-common/getw.c: Likewise.
28064 * stdio-common/isoc99_fscanf.c: Likewise.
28065 * stdio-common/isoc99_scanf.c: Likewise.
28066 * stdio-common/isoc99_vfscanf.c: Likewise.
28067 * stdio-common/isoc99_vscanf.c: Likewise.
28068 * stdio-common/isoc99_vsscanf.c: Likewise.
28069 * stdio-common/printf-prs.c: Likewise.
28070 * stdio-common/printf_fp.c: Likewise.
28071 * stdio-common/printf_fphex.c: Likewise.
28072 * stdio-common/printf_size.c: Likewise.
28073 * stdio-common/putw.c: Likewise.
28074 * stdio-common/scanf.c: Likewise.
28075 * stdio-common/sprintf.c: Likewise.
28076 * stdio-common/tmpfile.c: Likewise.
28077 * stdio-common/vfprintf.c: Likewise.
28078 * stdio-common/vfscanf.c: Likewise.
28079 * stdlib/strfmon_l.c: Likewise.
28080 * sunrpc/openchild.c: Likewise.
28081 * sunrpc/xdr_stdio.c: Likewise.
28082 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28083 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28085 2012-05-24 Roland McGrath <roland@hack.frob.com>
28087 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28089 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28090 in the third column, to generate for the shared library an IFUNC
28091 that uses _dl_vdso_vsym.
28092 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28093 * Makeconfig (object-suffixes-noshared): New variable.
28095 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28096 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28097 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28098 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28101 * include/sys/time.h (__gettimeofday): Remove macro.
28102 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28103 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28105 (__gettimeofday): Add libc_hidden_def.
28106 (gettimeofday): Add libc_hidden_weak.
28107 * sysdeps/mach/gettimeofday.c: Likewise.
28108 * sysdeps/posix/gettimeofday.c: Likewise.
28109 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28110 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28112 (__gettimeofday_internal): Remove strong_alias.
28113 (__gettimeofday): Add libc_hidden_def.
28114 (gettimeofday): Add libc_hidden_weak.
28115 * sysdeps/unix/syscalls.list (gettimeofday):
28116 Remove __gettimeofday_internal alias.
28118 2012-05-24 Daniel Jacobowitz <drow@false.org>
28119 H.J. Lu <hongjiu.lu@intel.com>
28122 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28123 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28124 (largebin_index_32_big): New.
28125 (largebin_index): Use it for 16-byte alignment.
28126 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28127 correction with front_misalign.
28129 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28157 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28158 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28160 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28164 * math/libm-test.inc (exp_test): Add test from bug 14036.
28165 (pow_test): Add test from bug 10846.
28167 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28169 (special_function): Do not include flags in test name.
28170 (parse_args): Likewise.
28171 * sysdeps/i386/fpu/libm-test-ulps: Update.
28172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28173 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28177 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28179 * math/libm-test.inc ("Philosophy"): Update comment about
28181 (UNDERFLOW_EXCEPTION): New macro.
28182 (UNDERFLOW_EXCEPTION_OK): Likewise.
28183 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28184 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28185 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28186 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28187 (INVALID_EXCEPTION_OK): Update value.
28188 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28189 (OVERFLOW_EXCEPTION_OK): Likewise.
28190 (IGNORE_ZERO_INF_SIGN): Likewise.
28191 (test_exceptions): Handle underflow exceptions.
28192 (acos_test): Update for underflow exception expectations.
28193 (cexp_test): Likewise.
28194 (clog_test): Likewise.
28195 (clog10_test): Likewise.
28196 (csqrt_test): Likewise.
28197 (ctan_test): Likewise.
28198 (ctanh_test): Likewise.
28199 (exp_test): Likewise.
28200 (exp10_test): Likewise.
28201 (exp2_test): Likewise.
28202 (expm1_test): Likewise.
28203 (fma_test): Likewise.
28204 (j0_test): Likewise.
28205 (jn_test): Likewise.
28206 (nexttoward_test): Likewise.
28207 (pow_test): Likewise.
28208 (scalbn_test): Likewise.
28209 (scalbln_test): Likewise.
28210 (tan_test): Likewise.
28211 (y1_test): Likewise.
28212 * sysdeps/i386/fpu/libm-test-ulps: Update.
28213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28215 2012-05-23 David S. Miller <davem@davemloft.net>
28217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28218 (__libc_sigaction): Remove unused local variables.
28220 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28222 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28224 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28226 mktime: avoid signed integer overflow
28227 * time/mktime.c (__mktime_internal): Do not mishandle the case
28228 where diff == INT_MIN.
28230 mktime: simplify computation of average
28231 * time/mktime.c (ranged_convert): Use new time_t_avg function
28232 instead of rolling our own (probably-slower) code.
28234 mktime: do not assume signed right shift propagates sign bit
28235 * time/mktime.c (isdst_differ): New static function.
28236 (__mktime_internal): No need to normalize tm_isdst now.
28237 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28240 mktime: merge another wrapv change from gnulib
28241 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28242 from some compilers.
28244 mktime: remove incorrect attempt at unusual arithmetics
28245 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28246 The code didn't really work on such machines anyway.
28247 (TYPE_MINIMUM): Assume two's complement.
28248 (twos_complement_arithmetic): Verify that long_int and time_t
28249 are two's complement (or unsigned, in the latter case).
28251 mktime: check signed shifts on long_int and time_t, too
28252 * time/mktime.c (SHR): Check that shifts work as desired
28253 on the types long_int and time_t too, as SHR is used on
28256 mktime: do not assume 'long' is wide enough
28257 * time/mktime.c (verify): Move decl up.
28258 (long_int): New type.
28259 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28260 to remove assumption in the code that 'long' is wide enough to
28261 store year values. This assumption is not true on x32 and on
28262 some non-glibc platforms.
28264 mktime: merge wrapv change from gnulib
28265 * time/mktime.c (WRAPV): New macro.
28266 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28267 (guess_time_tm, __mktime_internal): Do not assume that signed
28268 integer overflow wraps around; modern compilers generate code
28269 where this assumption is no longer valid.
28271 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28273 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28274 Replace "jmp L(pseudo_end)" with "ret".
28275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28278 2012-05-23 Andreas Jaeger <aj@suse.de>
28280 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28281 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28283 2012-05-23 Andreas Jaeger <aj@suse.de>
28284 Maximilian Attems <max@stro.at>
28286 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28289 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28292 code so that pseudo_end is just ret and the stack pointer is
28293 correct also for static library in error case.
28295 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28297 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28298 move to syscalls.list.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28304 * manual/install.texi (Running make install): Do not mention Linux
28305 kernel version for which pt_chown is not needed.
28306 (Linux): Do not mention problems with nscd with 2.0 kernels.
28307 * INSTALL: Regenerated.
28309 2012-05-23 Andreas Jaeger <aj@suse.de>
28311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28312 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28314 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28316 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28317 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28318 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28319 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28321 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28322 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28324 * sysdeps/unix/sysv/linux/bits/in.h
28325 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28327 2012-05-22 Roland McGrath <roland@hack.frob.com>
28329 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28330 (PREPARE_VERSION): Just use assert instead, it will be elided
28331 under [NDEBUG] anyway.
28333 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28335 * sysdeps/unix/sysv/linux/Makefile: Include
28336 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28337 (sysdep_routines): Remove sysctl.
28338 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28339 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28340 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28342 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28344 2012-05-22 Andreas Jaeger <aj@suse.de>
28346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28347 that pseudo_end is just ret and the stack pointer is correct also
28348 for static library in error case.
28350 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28353 * nss/nsswitch.c (defconfig_entries): New variable.
28354 (__nss_database_lookup): Don't leak defconfig entries.
28355 (nss_parse_service_list): Don't leak on error paths.
28356 (free_database_entries): New function.
28357 (free_defconfig): New function.
28358 (free_mem): Move common code to free_database_entries.
28360 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28362 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28364 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28366 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28367 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28370 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28371 (INTERNAL_SYSCALL_TYPES): Likewise.
28372 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28373 (LOAD_REGS_TYPES_[1-6]): Likewise.
28374 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28375 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28377 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28380 copysignl for GLIBC_2_0.
28381 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28382 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28384 logbl for GLIBC_2_0.
28385 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28386 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28388 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28391 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28393 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28396 * time/mktime.c: Update copyright years.
28398 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28400 mktime: merge comment-quoting-style change from gnulib
28401 * time/mktime.c: Quote 'like this' in comments.
28402 The GNU coding standards suggest that we no longer quote `like this',
28403 as "`" and "'" are typically rendered asymmetrically nowadays.
28404 The typical gnulib style is to quote 'like this' when quoting
28405 code, and "like this" when quoting English.
28407 * time/mktime.c (compile-command): Add "-I.".
28409 mktime: merge mktime-internal.h change from gnulib
28410 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28412 mktime: merge time_r change from gnulib
28413 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28415 mktime: merge DEBUG change from gnulib
28416 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28417 case system <time.h> has a #define.
28419 mktime: merge <sys/types.h> change from gnulib
28420 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28421 since <time.t> is now guaranteed to define time_t.
28423 mktime: merge HAVE_CONFIG_H change from gnulib
28424 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28426 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28431 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28433 (struct rusage): Use anonymous union to pad each field to
28436 2012-05-21 David S. Miller <davem@davemloft.net>
28438 * Makefules (o-iterator): Remove .s cases.
28439 (compile-command.s): Delete.
28440 (COMPILE.s): Delete.
28441 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28443 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28445 * configure.in (libc_cv_predef_stack_protector): Only consider
28446 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28447 * configure: Regenerated.
28449 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28452 New macro. Use R*LP on int and pointer.
28453 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28454 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28455 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28456 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28458 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28459 [__WORDSIZE_TIME64_COMPAT32] instead of
28460 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28461 (struct utmp): Likewise.
28462 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28463 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28465 (__WORDSIZE_TIME64_COMPAT32): This.
28466 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28467 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28468 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28469 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28471 (__WORDSIZE_TIME64_COMPAT32): New macro.
28473 2012-05-21 Andreas Jaeger <aj@suse.de>
28475 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28476 only if [SHARED]. Add prototype for __wcschr_ia32.
28478 2012-05-21 Roland McGrath <roland@hack.frob.com>
28480 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28481 of %rbp unmolested in the jmp_buf while mangling the low bits.
28482 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28483 unmolested high bits of %rbp while demangling the low bits.
28484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28486 2012-05-21 Andreas Jaeger <aj@suse.de>
28488 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28489 * sunrpc/svc_simple.c: Use it for registerrpc.
28490 * sunrpc/xcrypt.c: Use it for passwd2des.
28492 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28494 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28496 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28497 Don't define if [__SYSCALL_WORDSIZE != 32].
28498 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28501 2012-05-21 Bruno Haible <bruno@clisp.org>
28502 Andreas Jaeger <aj@suse.de>
28504 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28505 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28506 inptr and inend for must_buffer_ch.
28507 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28508 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28509 * stdio-common/Makefile (tests): Remove bug15.
28510 (bug15-ENV): Remove macro.
28511 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28514 2012-05-19 Andreas Jaeger <aj@suse.de>
28515 Roland McGrath <roland@hack.frob.com>
28517 * manual/contrib.texi: Completely rewritten. It contains now an
28518 alphabetical list of contributors and their contributions.
28520 2012-05-21 Richard Henderson <rth@twiddle.net>
28522 * misc/getauxval.c (__getauxval): Use unsigned long int.
28523 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28524 (getauxval): Use unsigned long int.
28526 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28528 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28530 2012-05-21 Roland McGrath <roland@hack.frob.com>
28532 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28533 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28534 __alignof__ (long double).
28536 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28540 2012-05-20 Richard Henderson <rth@twiddle.net>
28542 * misc/getauxval.c: New file.
28543 * misc/sys/auxv.h: New file.
28544 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28545 (routines): Add getauxval.
28546 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28548 * elf/dl-sysdep.c (_dl_auxv): Remove.
28549 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28550 * elf/dl-support.c (_dl_auxv): New variable.
28551 (_dl_aux_init): Initialize it.
28552 * manual/startup.texi (Auxiliary Vector): New node.
28553 * sysdeps/generic/bits/hwcap.h: New file.
28554 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28555 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28556 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28557 * sysdeps/sparc/sysdep.h: ... here. Include it.
28558 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28571 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28575 2012-05-19 David S. Miller <davem@davemloft.net>
28577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28579 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28582 * math/s_ccosh.c: Include <float.h>
28583 (__ccosh): Avoid internal overflow calculating sinh and cosh
28584 values before multiplying by sin and cos values.
28585 * math/s_ccoshf.c: Likewise.
28586 * math/s_ccoshl.c: Likewise.
28587 * math/s_csin.c: Likewise.
28588 * math/s_csinf.c: Likewise.
28589 * math/s_csinl.c: Likewise.
28590 * math/s_csinh.c: Likewise.
28591 * math/s_csinhf.c: Likewise.
28592 * math/s_csinhl.c: Likewise.
28593 * math/libm-test.inc (ccos_test): Add more tests.
28594 (ccosh_test): Likewise.
28595 (csin_test): Likewise.
28596 (csinh_test): Likewise.
28597 * sysdeps/i386/fpu/libm-test-ulps: Update.
28598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28600 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28602 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28603 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28605 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28607 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28609 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28610 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28611 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28612 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28613 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28614 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28615 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28616 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28617 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28618 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28619 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28620 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28621 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28622 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28623 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28624 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28625 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28626 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28627 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28628 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28629 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28630 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28631 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28632 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28633 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28634 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28635 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28636 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28637 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28638 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28639 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28641 2012-05-18 Andreas Jaeger <aj@suse.de>
28643 * csu/.gitignore: Delete.
28645 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28647 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28648 (timex): Use __syscall_slong_t.
28650 2012-05-18 Andreas Jaeger <aj@suse.de>
28651 Carlos O'Donell <carlos_odonell@mentor.com>
28653 * manual/install.texi (Configuring and compiling): Update
28654 description about files modified in the source directory.
28655 * INSTALL: Regenerated.
28657 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28659 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28660 value. Use "or" to set return value to -1.
28661 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28662 negate return value.
28664 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28666 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28667 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28668 failure if the compiler has Graphite support disabled.
28669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28671 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28672 CFLAGS-memmove.c): Likewise.
28673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28676 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28678 * sysdeps/x86_64/x32/_itoa.h: New file.
28680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28681 getdents system call only if kernel and user dirents have the
28682 same d_ino and d_off.
28684 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28685 LLONG_MAX != LONG_MAX.
28686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28687 (_fitoa_word): Likewise.
28689 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28691 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28692 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28693 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28695 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28696 include <bits/wordsize.h>. Check __x86_64__ instead of
28698 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28699 if __x86_64__ is defined. Use anonymous union on fpstate.
28701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28704 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28706 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28707 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28708 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28709 Refer to _rtld_local_ro instead of _rtld_global_ro.
28710 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28712 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28714 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28716 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28717 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28718 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28720 * sysdeps/powerpc/powerpc32/dl-machine.c
28721 (__elf_machine_runtime_setup) [PROF]: Don't reference
28724 2012-05-18 Andreas Jaeger <aj@suse.de>
28726 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28727 function only available for GCCs before 3.4 since GCC 3.4
28728 introduced a builtin.
28730 (llrintf): Likewise.
28731 (llrint): Likewise.
28738 (nearbyint): Likewise.
28739 (nearbyintf): Likewise.
28743 (floorf): Likewise.
28745 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28747 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28748 on both fields and cast pointer to __syscall_ulong_t.
28750 * bits/types.h (__fsword_t): New type.
28751 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28752 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28754 (__FSWORD_T_TYPE): Likewise.
28755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28756 (__FSWORD_T_TYPE): Likewise.
28757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28758 (__FSWORD_T_TYPE): Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28760 (__FSWORD_T_TYPE): Likewise.
28761 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28762 __SWORD_TYPE with __fsword_t.
28763 (statfs64): Likewise.
28765 2012-05-17 David S. Miller <davem@davemloft.net>
28767 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28769 2012-05-17 Andreas Jaeger <aj@suse.de>
28771 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28774 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28776 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28778 2012-05-17 Andreas Jaeger <aj@suse.de>
28780 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28783 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28785 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28787 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28789 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28790 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28792 2012-05-17 Andreas Jaeger <aj@suse.de>
28793 Carlos O'Donell <carlos_odonell@mentor.com>
28796 * sysdeps/x86_64/multiarch/init-arch.h
28797 (bit_YMM_Usable): Rename to...
28798 (bit_AVX_Usable): ... this.
28799 (bit_FMA4_Usable): New macro.
28800 (bit_XMM_state): New macro.
28801 (bit_YMM_state): New macro.
28802 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28803 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28804 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28805 (CPUID_OSXSAVE): New macro.
28806 (CPUID_AVX): New macro.
28807 (CPUID_FMA4): New macro.
28808 (index_YMM_Usable): Rename to...
28809 (index_AVX_Usable): ... this.
28810 (HAS_AVX): Use HAS_ARCH_FEATURE.
28811 (HAS_FMA4): Likewise.
28812 (HAS_YMM_USABLE): Remove.
28813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28814 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28816 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28817 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28818 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28819 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28820 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28822 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28824 * math/libm-test.c: Support platforms without multiple rounding modes.
28825 * math/bug-nextafter.c: Support platforms without FP exceptions.
28826 * math/bug-nexttoward.c: Likewise.
28827 * math/test-fenv.c: Likewise.
28828 * math/test-misc.c: Likewise.
28829 * stdlib/bug-getcontext.c: Likewise.
28831 2012-05-17 Andreas Jaeger <aj@suse.de>
28833 * manual/examples/search.c (critter_cmp): Change signature to
28835 * manual/string.texi (Collation Functions): Likewise.
28837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28839 * bits/types.h: Fold copyright years.
28840 * bits/typesizes.h: Likewise.
28841 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28845 * time/time.h: Likewise.
28847 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28850 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28851 in instead of returning them. Return void.
28852 (__libc_mallinfo): Accumulate over all arenas.
28853 (__malloc_stats): Adjust for change in int_mallinfo interface.
28855 2012-05-16 Roland McGrath <roland@hack.frob.com>
28858 * configure.in (NM): Add AC_CHECK_TOOL for it.
28859 (libc_extra_cflags): New substituted variable.
28860 Check for -fstack-protector being used implicitly.
28861 * configure: Regenerated.
28862 * config.make.in (config-extra-cflags): New variable,
28863 gets @libc_extra_cflags@.
28864 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28867 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28868 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28869 * configure: Regenerated.
28870 * config.make.in (CPPUNDEFS): New substituted variable.
28871 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28872 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28873 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28877 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28878 (mq_attr): Use __syscall_slong_t.
28880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28883 Check __x86_64__ instead of __WORDSIZE.
28884 (_STAT_VER_LINUX): Likewise.
28885 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28886 __syscall_ulong_t and __syscall_slong_t.
28887 (stat64): Likewise.
28889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28893 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28895 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28899 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28902 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28903 include <bits/wordsize.h>. Check __x86_64__ instead of
28905 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28907 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28910 include <bits/wordsize.h>. Check __x86_64__ instead of
28912 (user_regs_struct): Use "__extension__ unsigned long long"
28913 instead of "unsigned long" if __x86_64__ is defined.
28914 (user): Likewise. Pad after pointer field if __ILP32__ is
28917 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28919 * configure.in (makeinfo): Require version 4.5 or later. Allow
28921 * configure: Regenerated.
28922 * manual/install.texi (texinfo): Increase version requirement to
28924 * INSTALL: Regenerated.
28926 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28928 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28930 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28932 * sysdeps/x86_64/x32/ffs.c: New file.
28934 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28936 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28937 defined. Use __syscall_ulong_t.
28938 (shminfo): Use __syscall_ulong_t.
28939 (shm_info): Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28944 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28946 (msgqnum_t): Use __syscall_ulong_t.
28947 (msglen_t): Likewise.
28948 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28951 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28952 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28956 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28957 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28959 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28962 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28963 include <bits/wordsize.h>. Check __x86_64__ instead of
28966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28967 "unsigned long long int" if __x86_64__ is defined.
28968 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28971 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28972 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28976 (GET_PC): Cast to uintptr_t first.
28977 (GET_FRAME): Likewise.
28978 (GET_STACK): Likewise.
28980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28982 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28984 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28989 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28990 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28991 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28993 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28996 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28997 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28999 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29005 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29010 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29012 * Makerules (+depfiles): Also collect depfiles from .oS in
29014 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29015 .oS, $(libnldbl-routines)).
29017 * Makerules (native-compile-mkdep-flags): Define.
29018 * sunrpc/Makefile (extra-objs): Add $(addprefix
29019 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29020 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29021 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29022 calling $(make-target-directory).
29024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29026 * bits/types.h (__snseconds_t): Removed.
29027 * time/time.h (struct timespec): Replace __snseconds_t with
29029 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29030 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29033 (__SNSECONDS_T_TYPE): Likewise.
29034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29035 (__SNSECONDS_T_TYPE): Likewise.
29036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29037 (__SNSECONDS_T_TYPE): Likewise.
29039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29041 * sysdeps/mach/hurd/bits/typesizes.h
29042 (__SYSCALL_SLONG_TYPE): New macro.
29043 (__SYSCALL_ULONG_TYPE): Likewise.
29045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29047 * bits/types.h (__syscall_slong_t): New type.
29048 (__syscall_ulong_t): Likewise.
29050 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29051 (__SYSCALL_ULONG_TYPE): Likewise.
29052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29053 (__SYSCALL_SLONG_TYPE): Likewise.
29054 (__SYSCALL_ULONG_TYPE): Likewise.
29055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29056 (__SYSCALL_SLONG_TYPE): Likewise.
29057 (__SYSCALL_ULONG_TYPE): Likewise.
29058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29059 (__SYSCALL_SLONG_TYPE): Likewise.
29060 (__SYSCALL_ULONG_TYPE): Likewise.
29062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29064 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29065 Add sigaltstack-offsets.sym.
29066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29067 <sigaltstack-offsets.h>.
29068 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29069 longjmp_msg pointer.
29070 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29071 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29073 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29075 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29077 * elf/stackguard-macros.h: Remove file.
29078 * sysdeps/generic/stackguard-macros.h: New file.
29079 * sysdeps/i386/stackguard-macros.h: Likewise.
29080 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29081 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29082 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29083 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29084 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29085 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29086 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29087 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29088 <elf/stackguard-macros.h>.
29091 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29092 __aligned__ in attribute.
29093 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29094 (gregset_t): Likewise.
29096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29098 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29099 * sysdeps/x86_64/64/Implies-after: Here. New file.
29100 * sysdeps/x86_64/x32/Implies-after: New file.
29102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29105 and access return value for _dl_profile_fixup. Use R10_LP to
29108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29110 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29114 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29115 * sysdeps/x86_64/x32/sysdep.h: New file.
29117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29119 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29120 * sysdeps/x86_64/setjmp.S: Likewise.
29122 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29124 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29126 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29128 remove unused global constant.
29130 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29132 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29133 include of <not-cancel.h>.
29135 2012-05-15 Roland McGrath <roland@hack.frob.com>
29137 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29139 2012-05-15 Jeff Law <law@redhat.com>
29140 Andreas Jaeger <aj@suse.de>
29143 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29145 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29146 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29148 code changing __hst_map_handle.map.
29150 2012-05-15 Roland McGrath <roland@hack.frob.com>
29152 * configure.in (sysnames): Look for Implies-before and Implies-after
29154 * configure: Regenerated.
29156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29158 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29159 8-byte data alignment with LP_SIZE alignment.
29161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29163 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29168 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29173 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29176 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29180 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29181 (stackinfo_sub_sp): Likewise.
29183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29200 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29204 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29205 into R11_LP and load __x86_64_shared_cache_size_half into
29208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29213 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29221 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29222 powerpc32/power7/fpu/s_logb.c via #include.
29223 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29224 powerpc32/power7/fpu/s_logbf.c via #include.
29225 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29226 powerpc32/power7/fpu/s_logbl.c via #include.
29228 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29230 * README.libm: Remove file.
29232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29234 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29235 count for x32. Use R*_LP and omit operand-size suffix.
29237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29239 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29240 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29241 * sysdeps/x86_64/x32/shlib-versions: New file.
29243 2012-05-14 Roland McGrath <roland@hack.frob.com>
29245 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29246 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29247 Use _dl_fatal_printf instead.
29249 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29251 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29252 set if not set by the user. Do not allow for being unset.
29253 * sysdeps/unix/sysv/linux/configure: Regenerated.
29255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29258 the `q' suffix from lea and replace .quad with ASM_ADDR.
29260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29263 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29265 (PTR_DEMANGLE): Likewise.
29267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29269 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29271 (ASM_ADDR): Likewise.
29272 (RAX_LP): Likewise.
29273 (RBP_LP): Likewise.
29274 (RBX_LP): Likewise.
29275 (RCX_LP): Likewise.
29276 (RDI_LP): Likewise.
29277 (RSI_LP): Likewise.
29278 (RSP_LP): Likewise.
29281 (R10_LP): Likewise.
29282 (R10_LP): Likewise.
29283 (R11_LP): Likewise.
29284 (R12_LP): Likewise.
29285 (R13_LP): Likewise.
29286 (R14_LP): Likewise.
29287 (R15_LP): Likewise.
29289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29291 * sysdeps/x86_64/x32/dl-machine.h: New file.
29293 2012-05-14 Andreas Jaeger <aj@suse.de>
29295 * manual/Makefile (subdir): Remove export of subdir.
29296 (all): Remove target.
29297 (.PHONY): Remove all from list.
29298 (mkinstalldirs): Remove.
29299 (.PHONY): Remove installdirs from list.
29300 ($(inst_infodir)/libc.info): Use make-target-directory.
29301 (installdirs): Remove.
29302 (subdir_%): Remove.
29303 (glibc-targets): Remove.
29306 ($(objpfx)stubs ../po/manual.pot): Remove.
29307 ($(objpfx)stamp%): Remove.
29308 (make-target-directory): Remove.
29309 (subdir_install): Remove.
29310 (routines): Remove.
29317 * manual/.gitignore: Remove, it's not needed anymore.
29318 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29320 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29322 (texis): Renamed to $(objpfx)texis.
29323 (texis-path): New, contains path to generated files.
29324 (chapters.%): Use texis-path for complete path, add extra argument
29326 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29327 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29328 (summary,texi, stamp-summary): Use complete path of
29329 files. Generate files in build dir.
29330 (dir-add.texi): Build in build dir.
29331 (libm-err.texi,stamp-libm-err): Likewise.
29332 (version.texi, stamp-version): Likewise.
29333 (.%c.texi): Likewise.
29334 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29335 (mostlyclean): Remove target.
29336 (realclean): Remove target.
29337 (generated): Add new variable with contents from mostlyclean and
29338 realclean, remove entries duplicated in common-mostlyclean, add
29339 stamp-libm-err and stamp-version.
29340 (generated-dirs): Add libc directory.
29341 ($(inst_infodir)/libc.info): Install files from build dir.
29343 * manual/install.texi (Configuring and compiling): Adjust since
29344 the info files are not part of the tar ball anymore.
29346 2012-05-14 Andreas Jaeger <aj@suse.de>
29348 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29351 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29355 to 2.2.0 where earlier.
29356 * sysdeps/unix/sysv/linux/configure: Regenerated.
29357 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29358 Remove conditional code.
29359 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29361 Remove conditional code.
29362 [!__NR_lchown]: Likewise.
29363 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29364 [__NR_lchown]: Likewise.
29365 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29366 comment referencing __ASSUME_LCHOWN_SYSCALL.
29367 * sysdeps/unix/sysv/linux/i386/sigaction.c
29368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29370 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29371 Remove conditional code.
29372 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29373 (__protocol_available): Remove #if 0 code.
29374 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29376 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29377 * sysdeps/unix/sysv/linux/kernel-features.h
29378 (__ASSUME_GETCWD_SYSCALL): Don't define.
29379 (__ASSUME_REALTIME_SIGNALS): Likewise.
29380 (__ASSUME_PREAD_SYSCALL): Likewise.
29381 (__ASSUME_PWRITE_SYSCALL): Likewise.
29382 (__ASSUME_POLL_SYSCALL): Likewise.
29383 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29384 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29386 (__ASSUME_SIOCGIFNAME): Don't define.
29387 (__ASSUME_MSG_NOSIGNAL): Likewise.
29388 (__ASSUME_SENDFILE): Define unconditionally.
29389 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29390 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29392 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29393 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29394 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29395 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29396 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29397 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29398 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29400 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29403 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29406 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29412 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29423 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29424 Remove conditional code.
29425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29426 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29427 Remove conditional code.
29428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29429 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29430 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29431 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29432 Remove conditional code.
29433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29434 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29435 Remove conditional code.
29436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29437 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29438 Remove conditional code.
29439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29440 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29441 Remove conditional code.
29442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29443 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29444 Remove conditional code.
29445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29446 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29449 * sysdeps/unix/sysv/linux/sigaction.c
29450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29452 * sysdeps/unix/sysv/linux/sigpending.c
29453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29455 * sysdeps/unix/sysv/linux/sigprocmask.c
29456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29458 * sysdeps/unix/sysv/linux/sigsuspend.c
29459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29462 (__libc_missing_rt_sigs): Remove.
29463 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29464 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29465 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29466 Remove conditional code.
29467 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29468 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29471 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29472 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29473 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29475 2012-05-14 Andreas Jaeger <aj@suse.de>
29477 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29478 it's not used in glibc.
29479 (__coshm1): Likewise.
29480 (__acosh1p): Likewise.
29483 * manual/string.texi (Copying and Concatenation): Add missing
29484 variable in concat example.
29485 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29491 __builtin_clzl with __builtin_clzll.
29493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29496 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29499 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29501 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29502 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29503 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29504 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29506 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29508 * NEWS: Update ia64 info.
29510 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29512 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29515 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29517 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29518 * sysdeps/unix/syscalls.list (dup3): Likewise.
29519 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29520 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29522 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29524 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29525 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29527 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29529 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29531 (TLS_IE): Use mov/add instead of movq/addq to load thread
29533 (TLS_GD_PREFIX): New.
29536 2012-05-11 David S. Miller <davem@davemloft.net>
29538 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29539 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29540 (_FPU_SETCW): Likewise.
29542 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29544 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29545 is 32-byte aligned.
29547 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29550 * iconvdata/gb18030.c: Update tables.
29551 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29552 characters specially.
29553 (BODY for TO_LOOP): Add encoding of missing ranges.
29555 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29558 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29559 * sysdeps/mach/hurd/dup3.c: Likewise.
29560 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29561 * sysdeps/powerpc/memmove.c:: Likewise.
29563 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29566 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29568 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29570 * elf/elf.h (R_X86_64_RELATIVE64): New.
29571 (R_X86_64_NUM): Updated.
29572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29573 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29574 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29575 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29576 tst-quad1pie tst-quad2pie
29577 (modules-names): Add tst-quadmod1 tst-quadmod2.
29578 ($(objpfx)tst-quad1): New dependency.
29579 ($(objpfx)tst-quad2): Likewise.
29580 ($(objpfx)tst-quad1pie): Likewise.
29581 ($(objpfx)tst-quad2pie): Likewise.
29582 * sysdeps/x86_64/tst-quad1.c: New file.
29583 * sysdeps/x86_64/tst-quad1pie.c: New file.
29584 * sysdeps/x86_64/tst-quad2.c: Likewise.
29585 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29586 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29587 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29588 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29589 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29593 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29594 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29595 * streams/stropts.h (t_scalar_t): Define type.
29597 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29598 (_PATH_PRESERVE): Set to "/var/lib".
29599 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29601 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29604 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29605 if __dir_mkfile succeeded.
29607 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29608 checking for _hurd_dtablesize. Unlock it right after having
29609 finished _hurd_dtable allocation.
29611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29613 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29614 * sysdeps/mach/hurd/configure: Regenerated.
29615 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29616 special-casing to...
29617 * sysdeps/gnu/configure.in: ... this new file.
29618 * sysdeps/unix/sysv/linux/configure: Regenerated.
29619 * sysdeps/gnu/configure: New generated file.
29621 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29622 for Linux: use nsec instead of usec, as well as:
29623 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29624 members of type struct timespec.
29625 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29627 (struct stat64): Likewise.
29628 (_STATBUF_ST_NSEC): New macro.
29629 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29632 __strtoul_internal rather than strtoul.
29634 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29636 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29641 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29642 which preserves existing values.
29643 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29645 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29647 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29648 TIMEOUT values. Return EINVAL for NFDS values either negative or
29649 greater than FD_SETSIZE.
29651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29653 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29654 allocated, call __vm_protect to finish enabling the existing space, and
29655 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29656 allocate the remainder.
29658 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29660 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29661 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29665 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29666 sysdeps/mach/hurd/readlink.c.
29668 * posix/tst-sysconf.c (posix_options): Only use
29669 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29670 _POSIX_SYNCHRONIZED_IO when they are defined
29671 * sysdeps/mach/hurd/bits/posix_opt.h:
29672 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29673 (_XOPEN_REALTIME): Undefine macro.
29674 (_XOPEN_REALTIME_THREADS): Undefine macro.
29675 (_XOPEN_SHM): Undefine macro.
29676 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29678 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29680 (_POSIX_ASYNC_IO): Undefine macro.
29681 (_POSIX_PRIORITIZED_IO): Undefine macro.
29682 (_POSIX_SPIN_LOCKS): Define macro to -1.
29684 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29685 SA_NODEFER, SA_RESETHAND.
29686 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29687 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29692 * elf/Makefile (pldd-modules): Define unconditionally.
29694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29696 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29700 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29701 Return ENOENT when name is empty.
29702 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29706 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29708 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29712 Fix mlock in all cases except non-readable pages.
29713 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29714 instead of VM_PROT_ALL as parameter to __vm_wire function.
29716 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29717 (__mkdir): When path is `/', just fail with EEXIST.
29718 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29720 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29722 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29723 <sys/uio.h> (for writev).
29724 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29725 and <sys/param.h> (for MIN).
29727 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29729 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29730 REQUESTED_TIME. Properly set the remaining time and return EINTR
29733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29735 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29736 Depend on against $(link-rpcuserlibs).
29738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29740 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29741 (__libc_stack_end): Do not use attribute_relro.
29742 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29743 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29744 to libthread-provided value.
29745 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29751 * bits/libc-lock.h (__libc_once_get): New macro.
29752 * sysdeps/mach/bits/libc-lock.h: Likewise.
29753 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29755 instead of using implementation details.
29757 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29758 * libio/freopen.c: Likewise.
29759 * libio/freopen64.c: Likewise.
29760 * misc/syslog.c: Likewise.
29761 * nscd/connections.c: Likewise.
29762 * nscd/netgroupcache.c: Likewise.
29763 * sysdeps/posix/getcwd.c: Likewise.
29765 2012-05-10 Roland McGrath <roland@hack.frob.com>
29767 * math/w_ilogbf.c: Add #include <limits.h>.
29769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29771 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29772 path instead of returning without unlocking.
29774 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29775 immediate-write ioctls.
29776 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29780 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29781 __builtin_frame_address instead of making assumptions about the
29782 location of the return address relative to DATA. Force early load of
29783 the return address.
29784 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29785 __builtin_frame_address.
29788 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29789 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29790 implement dup3 and do some further code clean-ups.
29791 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29792 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29796 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29798 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29799 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29800 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29801 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29802 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29805 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29806 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29807 when handler == SIG_ERR, not when handler != SIG_ERR.
29809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29811 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29812 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29815 accept4 for GNU Hurd.
29816 * include/sys/socket.h (__libc_accept4): New prototype.
29817 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29818 to implement __libc_accept4.
29819 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29821 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29823 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29824 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29825 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29826 signal-defines.sym.
29828 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29830 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29834 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29835 assertion on O_CLOEXEC flag.
29836 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29837 * hurd/intern-fd.c: Likewise.
29838 * hurd/port2fd.c: Likewise.
29840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29843 * bits/in.h (IPV6_PKTINFO): Define new macro.
29844 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29846 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29851 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29853 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29854 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29856 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29857 * math/libm-test.inc (logb_test) : Additional logb tests.
29859 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29860 Andreas Jaeger <aj@suse.de>
29862 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29863 * configure: Regenerated.
29864 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29865 * config.make.in (link-obsolete-rpc): New substituted variable.
29866 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29867 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29868 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29869 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29870 so that libc.a contains the symbols.
29871 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29872 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29873 * sunrpc/auth_none.c: Likewise.
29874 * sunrpc/auth_unix.c: Likewise.
29875 * sunrpc/authdes_prot.c: Likewise.
29876 * sunrpc/authuxprot.c: Likewise.
29877 * sunrpc/clnt_gen.c: Likewise.
29878 * sunrpc/clnt_perr.c: Likewise.
29879 * sunrpc/clnt_raw.c: Likewise.
29880 * sunrpc/clnt_simp.c: Likewise.
29881 * sunrpc/clnt_tcp.c: Likewise.
29882 * sunrpc/clnt_udp.c: Likewise.
29883 * sunrpc/clnt_unix.c: Likewise.
29884 * sunrpc/des_crypt.c: Likewise.
29885 * sunrpc/des_soft.c: Likewise.
29886 * sunrpc/get_myaddr.c: Likewise.
29887 * sunrpc/key_call.c: Likewise.
29888 * sunrpc/key_prot.c: Likewise.
29889 * sunrpc/netname.c: Likewise.
29890 * sunrpc/pm_getmaps.c: Likewise.
29891 * sunrpc/pm_getport.c: Likewise.
29892 * sunrpc/pmap_clnt.c: Likewise.
29893 * sunrpc/pmap_prot.c: Likewise.
29894 * sunrpc/pmap_prot2.c: Likewise.
29895 * sunrpc/pmap_rmt.c: Likewise.
29896 * sunrpc/publickey.c: Likewise.
29897 * sunrpc/rpc_cmsg.c: Likewise.
29898 * sunrpc/rpc_common.c: Likewise.
29899 * sunrpc/rpc_dtable.c: Likewise.
29900 * sunrpc/rpc_prot.c: Likewise.
29901 * sunrpc/rpc_thread.c: Likewise.
29902 * sunrpc/rtime.c: Likewise.
29903 * sunrpc/svc.c: Likewise.
29904 * sunrpc/svc_auth.c: Likewise.
29905 * sunrpc/svc_raw.c: Likewise.
29906 * sunrpc/svc_run.c: Likewise.
29907 * sunrpc/svc_tcp.c: Likewise.
29908 * sunrpc/svc_udp.c: Likewise.
29909 * sunrpc/svc_unix.c: Likewise.
29910 * sunrpc/svcauth_des.c: Likewise.
29911 * sunrpc/xcrypt.c: Likewise.
29912 * sunrpc/xdr.c: Likewise.
29913 * sunrpc/xdr_array.c: Likewise.
29914 * sunrpc/xdr_float.c: Likewise.
29915 * sunrpc/xdr_intXX_t.c: Likewise.
29916 * sunrpc/xdr_mem.c: Likewise.
29917 * sunrpc/xdr_rec.c: Likewise.
29918 * sunrpc/xdr_ref.c: Likewise.
29919 * sunrpc/xdr_sizeof.c: Likewise.
29920 * sunrpc/xdr_stdio.c: Likewise.
29922 2012-05-10 Roland McGrath <roland@hack.frob.com>
29924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29925 change. Update copyright years.
29927 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29929 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29931 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29932 Joseph Myers <joseph@codesourcery.com>
29933 Paul Pluzhnikov <ppluzhnikov@google.com>
29936 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29938 [cross-compiling] (extra-libs): Likewise.
29939 [cross-compiling] (extra-libs-others): Likewise.
29940 [cross-compiling] (librpcsvc-routines): Likewise.
29941 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29942 [cross-compiling] (omit-deps): Likewise.
29943 (sunrpc-CPPFLAGS): New variable.
29944 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29945 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29946 (cross-rpcgen-objs): New variable.
29947 (extra-objs): Append $(cross-rpcgen-objs).
29948 ($(cross-rpcgen-objs)): New rule.
29949 ($(objpfx)cross-rpcgen): Likewise.
29950 (rpcgen-cmd): Define to use $(built-program-file). Expand
29952 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29953 ($(objpfx)x%.stmp): Likewise.
29954 * sunrpc/proto.h [IS_IN_build] (_): Define.
29955 [IS_IN_build] (_libc_intl_domainname): Likewise.
29957 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29960 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29961 and R_X86_64_TPOFF64.
29963 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29965 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29966 sysdeps/unix/sysv/syscalls.list.
29969 * sysdeps/unix/sysv/syscalls.list: Remove file.
29971 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29974 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29975 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29976 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29977 (__LC_IDENTIFICATION): Make these macros useful in #if
29978 expressions, as required by C99.
29980 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29982 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29983 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29986 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29988 * stdlib/longlong.h: Updated from GCC.
29990 2012-05-09 Andreas Jaeger <aj@suse.de>
29992 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29993 default is first entry.
29994 (run_mode): Set type.
29995 (main): Remove informal message about syslog.
29996 (options): Fix typo.
29999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30002 (llrintf): Likewise.
30003 (llrint): Likewise.
30006 (nearbyint): Likewise.
30007 (nearbyintf): Likewise.
30009 2012-05-09 Andreas Jaeger <aj@suse.de>
30010 Pedro Alves <palves@redhat.com>
30012 * nscd/nscd.c (run_mode): Use enum.
30013 (main): Cleanup coding style issue.
30015 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30016 Andreas Jaeger <aj@suse.de>
30018 * nscd/nscd.c (go_background): Replaced with...
30019 (run_mode): ... this.
30020 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30021 (options): Add -F --foreground.
30022 (main): Implement it.
30023 (parse_opt): Parse it.
30025 2012-05-09 Andreas Jaeger <aj@suse.de>
30028 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30029 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30030 -Wconversion warning.
30031 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30034 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30036 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30038 (LC_ALL): Use macro-int-constant.
30039 (LC_COLLATE): Likewise.
30040 (LC_CTYPE): Likewise.
30041 (LC_MESSAGES): Likewise.
30042 (LC_MONETARY): Likewise.
30043 (LC_NUMERIC): Likewise.
30044 (LC_TIME): Likewise.
30045 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30046 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30048 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30050 [C99-based standards] (float_t): Expect type.
30051 [C99-based standards] (double_t): Expect type.
30052 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30054 [C99-based standards] (HUGE_VALL): Likewise.
30055 [C99-based standards] (INFINITY): Likewise.
30056 [C99-based standards] (NAN): Likewise.
30057 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30058 [C99-based standards] (FP_NAN): Likewise.
30059 [C99-based standards] (FP_NORMAL): Likewise.
30060 [C99-based standards] (FP_SUBNORMAL): Likewise.
30061 [C99-based standards] (FP_ZERO): Likewise.
30062 [C99-based standards] (FP_FAST_FMA): Use
30063 optional-macro-int-constant. Specify type. Require == 1.
30064 [C99-based standards] (FP_FAST_FMAF): Likewise.
30065 [C99-based standards] (FP_FAST_FMAL): Likewise.
30066 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30067 [C99-based standards] (FP_ILOGBNAN): Likewise.
30068 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30070 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30071 [C99-based standards] (math_errhandling): Specify type.
30072 [ISO99 || ISO11] (signgam): Do not allow.
30073 [non-C99-based standards] (copysignf): Do not allow.
30074 [non-C99-based standards] (exp2f): Likewise.
30075 [non-C99-based standards] (log2f): Likewise.
30076 [non-C99-based standards] (modff): Allow.
30077 [non-C99-based standards] (erff): Do not allow.
30078 [non-C99-based standards] (erfcf): Likewise.
30079 [non-C99-based standards] (gammaf): Likewise.
30080 [non-C99-based standards] (hypotf): Likewise.
30081 [non-C99-based standards] (j0f): Likewise.
30082 [non-C99-based standards] (j1f): Likewise.
30083 [non-C99-based standards] (jnf): Likewise.
30084 [non-C99-based standards] (lgammaf): Likewise.
30085 [non-C99-based standards] (tgammaf): Likewise.
30086 [non-C99-based standards] (y0f): Likewise.
30087 [non-C99-based standards] (y1f): Likewise.
30088 [non-C99-based standards] (ynf): Likewise.
30089 [non-C99-based standards] (isnanf): Likewise.
30090 [non-C99-based standards] (acoshf): Likewise.
30091 [non-C99-based standards] (asinhf): Likewise.
30092 [non-C99-based standards] (atanhf): Likewise.
30093 [non-C99-based standards] (cbrtf): Likewise.
30094 [non-C99-based standards] (expm1f): Likewise.
30095 [non-C99-based standards] (ilogbf): Likewise.
30096 [non-C99-based standards] (log1pf): Likewise.
30097 [non-C99-based standards] (logbf): Likewise.
30098 [non-C99-based standards] (nextafterf): Likewise.
30099 [non-C99-based standards] (remainderf): Likewise.
30100 [non-C99-based standards] (rintf): Likewise.
30101 [non-C99-based standards] (scalbf): Likewise.
30102 [non-C99-based standards] (copysignl): Likewise.
30103 [non-C99-based standards] (exp2l): Likewise.
30104 [non-C99-based standards] (log2l): Likewise.
30105 [non-C99-based standards] (modfl): Allow.
30106 [non-C99-based standards] (erfl): Do not allow.
30107 [non-C99-based standards] (erfcl): Likewise.
30108 [non-C99-based standards] (gammal): Likewise.
30109 [non-C99-based standards] (hypotl): Likewise.
30110 [non-C99-based standards] (j0l): Likewise.
30111 [non-C99-based standards] (j1l): Likewise.
30112 [non-C99-based standards] (jnl): Likewise.
30113 [non-C99-based standards] (lgammal): Likewise.
30114 [non-C99-based standards] (tgammal): Likewise.
30115 [non-C99-based standards] (y0l): Likewise.
30116 [non-C99-based standards] (y1l): Likewise.
30117 [non-C99-based standards] (ynl): Likewise.
30118 [non-C99-based standards] (isnanl): Likewise.
30119 [non-C99-based standards] (acoshl): Likewise.
30120 [non-C99-based standards] (asinhl): Likewise.
30121 [non-C99-based standards] (atanhl): Likewise.
30122 [non-C99-based standards] (cbrtl): Likewise.
30123 [non-C99-based standards] (expm1l): Likewise.
30124 [non-C99-based standards] (ilogbl): Likewise.
30125 [non-C99-based standards] (log1pl): Likewise.
30126 [non-C99-based standards] (logbl): Likewise.
30127 [non-C99-based standards] (nextafterl): Likewise.
30128 [non-C99-based standards] (remainderl): Likewise.
30129 [non-C99-based standards] (rintl): Likewise.
30130 [non-C99-based standards] (scalbl): Likewise.
30131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30132 [non-C99-based standards] (FP_*): Do not allow.
30133 [C99-based standards] (FP_*): Change to
30134 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30135 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30137 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30138 (SIG_ERR): Likewise.
30139 [X/Open-based standards] (SIG_HOLD): Likewise.
30140 (SIG_IGN): Likewise.
30141 (SIGABRT): Use macro-int-constant. Specify type. Require
30143 (SIGFPE): Likewise.
30144 (SIGILL): Likewise.
30145 (SIGINT): Likewise.
30146 (SIGSEGV): Likewise.
30147 (SIGTER): Likewise.
30148 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30151 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30152 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30153 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30154 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30155 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30156 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30157 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30158 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30159 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30160 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30161 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30162 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30163 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30164 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30165 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30166 [X/Open-based standards] (SIGTRAP): Likewise.
30167 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30168 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30169 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30170 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30171 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30174 2012-05-08 Ian Wienand <ianw@vmware.com>
30177 * time/tzset.c (__tzset_parse_tz): Update default rules for
30178 daylight time changes in the Energy Policy Act of 2005.
30180 2012-05-09 Andreas Jaeger <aj@suse.de>
30183 * elf/ldconfig.c (parse_conf): Change string to make clear that
30184 ldconfig only issued a warning if ld.so.conf does not exist.
30186 2012-05-08 David S. Miller <davem@davemloft.net>
30188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30189 movxtod instead of popping the value on the stack.
30191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30193 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30195 * config.h.in: Add HAVE_ARM_PCS_VFP.
30197 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30200 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30201 checking but the checks are disabled for any reason.
30203 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30205 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30206 and ELF64_R_TYPE with ELFW(R_TYPE).
30208 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30210 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30211 (ulimit): Likewise.
30213 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30214 (settimeofday): Likewise.
30216 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30218 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30219 a struct th_u2 inside the union, and move tu_block/tu_code into
30220 a new th_u3 union of tu_block/tu_code inside of that. Move
30221 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30222 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30223 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30224 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30225 (th_stuff): Change to th_u1.tu_stuff.
30227 (th_msg): Change to th_u1.th_u2.tu_data.
30229 2012-05-07 David S. Miller <davem@davemloft.net>
30231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30234 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30235 (SETUP_PIC_REG): Use it.
30236 (SETUP_PIC_REG_LEAF): Use it.
30238 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30244 (EXPL_FINITE): Likewise.
30245 (FLDLOG): Likewise.
30246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30247 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30251 (EXPL_FINITE): Likewise.
30252 (FLDLOG): Likewise.
30253 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30254 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30256 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30257 test of -max_value argument for long double.
30258 * sysdeps/i386/fpu/libm-test-ulps: Update.
30259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30261 2012-05-06 David S. Miller <davem@davemloft.net>
30263 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30264 quad soft-float symbols whose references which are compiler
30266 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30268 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30274 (EXPL_FINITE): Likewise.
30275 (FLDLOG): Likewise.
30278 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30279 Adjust comments for base varying.
30280 (__expl_finite): Change alias to EXPL_FINITE.
30281 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30283 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30284 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30285 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30286 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30289 (EXPL_FINITE): Likewise.
30290 (FLDLOG): Likewise.
30293 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30294 Adjust comments for base varying.
30295 (__expl_finite): Change alias to EXPL_FINITE.
30296 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30301 * math/libm-test.inc (check_float_internal): Correct ulp
30302 calculation for subnormal expected results.
30304 2012-05-06 Andreas Jaeger <aj@suse.de>
30306 * Makeconfig (+math-flags): New, set to -frounding-math.
30307 (+cflags): Add +math-flags so that all of glibc gets compiled with
30310 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30312 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30314 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30320 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30321 (__ieee754_expl): Allow for and saturate large arguments.
30322 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30323 (u_threshold): Likewise.
30324 (__exp): Call __ieee754_exp before checking for overflow and
30326 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30327 (u_threshold): Likewise.
30328 (__expf): Call __ieee754_expf before checking for overflow and
30330 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30331 (u_threshold): Likewise.
30332 (__expl): Call __ieee754_expl before checking for overflow and
30334 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30335 (__ieee754_expl): Allow for and saturate large arguments.
30336 * math/libm-test.inc (exp_test): Add another test. Do not allow
30337 missing overflow exception on overflow.
30338 (expm1_test): Do not allow missing overflow exception on overflow.
30340 * sysdeps/i386/fpu/e_expl.c: Move to ...
30341 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30342 rather than using inline asm.
30343 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30344 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30345 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30347 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30350 (signal): Likewise.
30354 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30356 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30357 sysdeps/unix/common/syscalls.list.
30358 (fchmod): Likewise.
30359 (fchown): Likewise.
30360 (ftruncate): Likewise.
30361 (getrusage): Likewise.
30362 (gettimeofday): Likewise.
30363 (setpgid): Likewise.
30364 (setregid): Likewise.
30365 (setreuid): Likewise.
30366 (sigaction): Likewise.
30367 (truncate): Likewise.
30368 (vhangup): Likewise.
30369 * sysdeps/unix/common/syscalls.list: Remove file.
30370 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30371 * sysdeps/unix/sysv/linux/Implies: Likewise.
30373 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30377 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30381 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30384 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30387 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30390 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30393 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30396 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30399 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30403 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30407 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30410 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30414 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30418 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30420 * sysdeps/unix/common/bits/dirent.h: Remove file.
30421 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30423 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30424 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30425 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30426 * sysdeps/unix/bsd/isatty.c: Likewise.
30427 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30428 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30429 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30431 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30435 long double comparison inaccuracies.
30436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30439 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30441 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30444 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30447 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30448 nonzero digits before rounding a hex value.
30449 * stdlib/tst-strtod.c (tests): Add another test.
30451 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30453 * sysdeps/s390/fpu/libm-test-ulps: Update.
30455 2012-05-03 Andreas Jaeger <aj@suse.de>
30457 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30458 does not get optimized out.
30459 (malloc_opt_barrier): New.
30461 2012-05-03 Andreas Jaeger <aj@suse.de>
30462 Roland McGrath <roland@hack.frob.com>
30464 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30465 intermediate file deletion.
30466 (generated): Add .symlist files.
30468 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30471 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30472 Redirect under this condition.
30473 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30474 [__USE_GNU] (__dprintf_chk): Not under this condition.
30475 [__USE_GNU] (__vdprintf_chk): Likewise.
30476 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30477 under this condition.
30478 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30479 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30480 [__USE_XOPEN2K8] (vdprintf): Likewise.
30481 [__USE_GNU] (__dprintf_chk): Not under this condition.
30482 [__USE_GNU] (__vdprintf_chk): Likewise.
30483 [__USE_GNU] (dprintf): Likewise.
30484 [__USE_GNU] (vdprintf): Likewise.
30486 2012-05-03 Roland McGrath <roland@hack.frob.com>
30488 * elf/Makefile (common-generated): Set this instead of generated for
30489 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30490 $(all-built-dso)-derived lists.
30492 2012-05-03 Andreas Jaeger <aj@suse.de>
30494 * sysdeps/i386/fpu/libm-test-ulps: Update.
30497 * FAQ.in: Likewise.
30498 * scripts/gen-FAQ.pl: Likewise.
30499 * manual/install.texi (Installation): Point to online location of
30501 * Makefile (files-for-dist): Remove FAQ.
30504 2012-05-02 Allan McRae <allan@archlinux.org>
30506 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30507 (LDFLAGS-reldepmod5.so): Likewise.
30508 (LDFLAGS-reldep6mod1.so): Likewise.
30509 (LDFLAGS-reldep6mod4.so): Likewise.
30510 (LDFLAGS-reldep8mod3.so): Likewise.
30511 (LDFLAGS-unload4mod1.so): Likewise.
30512 (LDFLAGS-unload4mod2.so): Likewise.
30513 (LDFLAGS-tst-initorder): Likewise.
30514 (LDFLAGS-tst-initordera2.so): Likewise.
30515 (LDFLAGS-tst-initordera3.so): Likewise.
30516 (LDFLAGS-tst-initordera4.so): Likewise.
30517 (LDFLAGS-tst-initorderb2.so): Likewise.
30518 (LDFLAGS-noload): Likewise.
30519 (LDFLAGS-next): Likewise.
30520 (LDFLAGS-order2mod1.so): Likewise.
30521 (LDFLAGS-order2mod2.so): Likewise.
30522 (LDFLAGS-tst-initorder2): Likewise.
30523 (LDFLAGS-tst-initorder2a.so): Likewise.
30524 (LDFLAGS-tst-initorder2b.so): Likewise.
30525 (LDFLAGS-tst-initorder2c.so): Likewise.
30526 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30528 2012-05-02 David S. Miller <davem@davemloft.net>
30530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30532 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30535 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30537 2012-05-02 Andreas Jaeger <aj@suse.de>
30539 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30540 since we manipulate rounding mode.
30541 (CPPFLAGS-test-idouble.c): Likewise.
30542 (CPPFLAGS-test-ifloat.c): Likewise.
30543 (CFLAGS-test-ldouble.c): Likewise.
30544 (CFLAGS-test-double.c): Likewise.
30545 (CFLAGS-test-float.c): Likewise.
30546 (CFLAGS-test-misc.c): Likewise.
30547 (CFLAGS-test-test-fenv.c): Likewise.
30549 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30553 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30554 comparisons to determine direction to adjust input.
30556 2012-05-01 Roland McGrath <roland@hack.frob.com>
30558 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30559 output to the target.
30561 * scripts/localplt.awk: New file.
30562 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30563 (check-localplt-CFLAGS): Variable removed.
30564 ($(all-built-dso:=.jmprel)): New static pattern rule.
30565 (generated): Add those targets.
30566 (localplt-built-dso): New variable.
30567 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30569 * elf/check-localplt.c: File removed.
30571 * scripts/check-execstack.awk: New file.
30572 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30573 (check-execstack-CFLAGS): Variable removed.
30574 ($(objpfx)check-execstack.h): Target removed.
30575 ($(objpfx)execstack-default): New target.
30576 (generated): Add that instead of check-execstack.h.
30577 ($(all-built-dso:=.phdr)): New static pattern rule.
30578 (generated): Add those targets.
30579 * elf/check-execstack.c: File removed.
30581 * scripts/check-textrel.awk: New file.
30582 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30583 (check-textrel-CFLAGS): Variable removed.
30584 (all-built-dso): Use := to define.o
30585 ($(all-built-dso:=.dyn)): New static pattern rule.
30586 (generated): Add those targets.
30587 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30588 * config.make.in (READELF): New substituted variable.
30589 * elf/check-textrel.c: File removed.
30591 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30593 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30595 * conform/data/ctype.h-data [C99-based standards] (isblank):
30597 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30598 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30600 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30601 Specify type. Require positive value.
30602 (EILSEQ): Likewise.
30603 (ERANGE): Likewise.
30604 [ISO || POSIX] (EILSEQ): Do not expect.
30605 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30606 Specify type. Require positive value.
30607 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30637 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30638 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30639 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30640 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30641 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30642 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30643 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30644 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30645 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30646 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30647 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30648 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30649 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30650 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30651 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30652 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30654 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30681 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30682 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30683 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30685 (FLT_ROUNDS): Expect as macro, not constant.
30686 (FLT_MANT_DIG): Use macro-int-constant.
30687 (DBL_MANT_DIG): Likewise.
30688 (LDBL_MANT_DIG): Likewise.
30689 (FLT_DIG): Likewise.
30690 (DBL_DIG): Likewise.
30691 (LDBL_DIG): Likewise.
30692 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30693 (DBL_MIN_EXP): Likewise.
30694 (LDBL_MIN_EXP): Likewise.
30695 (FLT_MAX_EXP): Use macro-int-constant.
30696 (DBL_MAX_EXP): Likewise.
30697 (LDBL_MAX_EXP): Likewise.
30698 (FLT_MAX_10_EXP): Likewise.
30699 (DBL_MAX_10_EXP): Likewise.
30700 (LDBL_MAX_10_EXP): Likewise.
30701 (FLT_MAX): Use macro-constant.
30702 (DBL_MAX): Likewise.
30703 (LDBL_MAX): Likewise.
30704 (FLT_EPSILON): Use macro-constant. Give upper bound.
30705 (DBL_EPSILON): Likewise.
30706 (LDBL_EPSILON): Likewise.
30707 (FLT_MIN): Likewise.
30708 (DBL_MIN): Likewise.
30709 (LDBL_MIN): Likewise.
30710 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30711 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30712 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30713 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30714 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30715 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30716 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30717 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30718 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30719 [ISO11] (FLT_TRUE_MIN): Likewise.
30720 [ISO11] (LDBL_TRUE_MIN): Likewise.
30721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30722 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30723 (SCHAR_MIN): Use macro-int-constant. Specify type.
30724 (SCHAR_MAX): Likewise.
30725 (UCHAR_MAX): Likewise.
30726 (CHAR_MIN): Likewise.
30727 (CHAR_MAX): Likewise.
30728 (MB_LEN_MAX): Use macro-int-constant.
30729 (SHRT_MIN): Use macro-int-constant. Specify type.
30730 (SHRT_MAX): Likewise.
30731 (USHRT_MAX): Likewise.
30732 (INT_MAX): Likewise.
30733 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30735 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30737 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30739 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30740 bound negative. Suffix upper bound with "L".
30741 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30743 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30745 [C99-based standards] (LLONG_MAX): Likewise.
30746 [C99-based standards] (ULLONG_MAX): Likewise.
30747 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30749 [ISO11] (max_align_t): Require type.
30750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30752 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30753 from $CFLAGS, without defining away __attribute__ calls.
30754 (checknamespace): Use $CFLAGS_namespace.
30756 * conform/conformtest.pl (@keywords): Only include C99 keywords
30757 for standards based on C99 or C11.
30759 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30761 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30764 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30765 usability of symbols in #if.
30767 * conform/conformtest.pl: If macro or constant types start
30768 "promoted:", expect the symbol to be of the following type
30769 promoted by the integer promotions.
30771 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30772 in one place. Also handle "macro-constant".
30774 * conform/conformtest.pl: Only accept expected macro values with
30775 "==". Parse all "macro" lines in one place.
30776 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30778 * conform/conformtest.pl: Handle braced types on "constant" lines
30779 instead of handling "typed-constant".
30780 * conform/data/signal.h-data: Use "constant" instead of
30783 * conform/conformtest.pl: Handle "optional-" at start of lines in
30784 one place rather than duplicating several cases. Handle each
30785 format of "macro" line with initial "optional-".
30787 * conform/conformtest.pl: Only accept expected constant or
30788 optional-constant values with "==". Parse all "constant" lines in
30789 one place. Parse all "optional-constant" lines in one place.
30790 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30791 * conform/data/fmtmsg.h-data: Likewise.
30792 * conform/data/netinet/in.h-data: Likewise.
30793 * conform/data/tar.h-data: Likewise.
30794 * conform/data/limits.h-data: Use "==" form on "constant" and
30795 "optional-constant" lines.
30797 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30798 Use -std=c99 for XOPEN2K.
30799 (@knownproblems): Remove.
30800 (newtoken): Don't check %isknown.
30802 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30803 Do not expect macro.
30804 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30816 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30817 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30834 [XPG3] (acosh): Likewise.
30835 [XPG3] (asinh): Likewise.
30836 [XPG3] (atanh): Likewise.
30837 [XPG3] (cbrt): Likewise.
30838 [XPG3] (expm1): Likewise.
30839 [XPG3] (ilogb): Likewise.
30840 [XPG3] (log1p): Likewise.
30841 [XPG3] (logb): Likewise.
30842 [XPG3] (nextafter): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30845 [XPG3] (remainder): Likewise.
30846 [XPG3] (rint): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30854 [UNIX98 || XOPEN2K] (scalb): Expect.
30855 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30856 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30993 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30994 _XOPEN_SOURCE_EXTENDED for XPG4.
30996 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30998 * Makeconfig (localtime): Remove variable.
30999 (inst_localtime-file): Likewise.
31001 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31022 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31026 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31027 comparisons to determine direction to adjust input.
31028 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31029 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31036 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31037 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31039 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31041 * math/libm-test.inc (nexttoward_test): Add more tests.
31043 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31047 in version GLIBC_2.1, not GLIBC_2.0.
31048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31051 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31054 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31056 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31057 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31058 * math/libm-test.inc (acos_test): Add more tests.
31059 (asin_test): Likewise.
31060 * sysdeps/i386/fpu/libm-test-ulps: Update.
31061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31066 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31068 * math/libm-test.inc (acos_test_tonearest): New function.
31069 (acos_test_towardzero): Likewise.
31070 (acos_test_downward): Likewise.
31071 (acos_test_upward): Likewise.
31072 (asin_test_tonearest): Likewise.
31073 (asin_test_towardzero): Likewise.
31074 (asin_test_downward): Likewise.
31075 (asin_test_upward): Likewise.
31076 (main): Call the new functions.
31077 * sysdeps/i386/fpu/libm-test-ulps: Update.
31078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31082 * math/e_exp10.c: Include <float.h>.
31083 (__ieee754_exp10): Handle underflow here rather than multiplying
31084 large negative argument by M_LN10.
31085 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31087 * math/e_exp10l.c: Include <float.h>.
31088 (__ieee754_exp10l): Handle underflow here rather than multiplying
31089 large negative argument by M_LN10l.
31090 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31091 spurious overflow exception on underflow.
31093 2012-04-29 Marek Polacek <polacek@redhat.com>
31095 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31096 (__fortify_function): New macro.
31097 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31098 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31099 __extern_always_inline.
31100 * libio/bits/stdio2.h: Likewise.
31101 * libio/bits/stdio.h: Likewise.
31102 * string/string.h: Likewise.
31103 * string/bits/string3.h: Likewise.
31104 * include/stdio.h: Likewise.
31105 * stdlib/bits/stdlib.h: Likewise.
31106 * stdlib/stdlib.h: Likewise.
31107 * rt/bits/mqueue2.h: Likewise.
31108 * rt/mqueue.h: Likewise.
31109 * posix/bits/unistd.h: Likewise.
31110 * posix/unistd.h: Likewise.
31111 * io/bits/poll2.h: Likewise.
31112 * io/bits/fcntl2.h: Likewise.
31113 * io/fcntl.h: Likewise.
31114 * io/sys/poll.h: Likewise.
31115 * misc/bits/syslog.h: Likewise.
31116 * misc/bits/syslog-ldbl.h: Likewise.
31117 * misc/sys/syslog.h: Likewise.
31118 * socket/bits/socket2.h: Likewise.
31119 * socket/sys/socket.h: Likewise.
31120 * debug/tst-chk1.c: Likewise.
31121 * wcsmbs/bits/wchar2.h: Likewise.
31122 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31123 * wcsmbs/wchar.h: Likewise.
31125 2012-04-29 Andreas Jaeger <aj@suse.de>
31127 * Makerules (tests): Remove enable-check-abi protection.
31128 (check-abi-warn): Remove.
31129 (check-abi-%): Remove check-abi-warn usage.
31131 * configure.in: Remove check-abi configure option.
31132 * configure: Regenerated.
31133 * config.make.in (enable-check-abi): Remove.
31135 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31138 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31139 double functions to double *_finite functions.
31142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31143 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31145 * stdio-common/Makefile (tests): Add tst-sprintf3.
31146 * stdio-common/tst-sprintf3.c: New file.
31148 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31149 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31151 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31153 * conform/conformtest.pl: Remove duplicate typed-constant
31156 2012-04-28 David S. Miller <davem@davemloft.net>
31158 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31159 (check-abi-%): Remove AWK script prerequisite and explicit
31161 (check-abi): Rewrite to just diff the symlist with the abilist.
31162 (config-tls, config-abi-config): Delete, no longer used.
31163 (update-abi-%): Remove AWK script and explicit abilist directory.
31164 (update-abi): Rewrite to simply compare and conditionally copy the
31165 symlist and the sysdep abilist file. Remove update-abi-config
31167 * abilist/ld.abilist: Remove.
31168 * abilist/libBrokenLocale.abilist: Remove.
31169 * abilist/libanl.abilist: Remove.
31170 * abilist/libcrypt.abilist: Remove.
31171 * abilist/libdl.abilist: Remove.
31172 * abilist/librt.abilist: Remove.
31173 * abilist/libthread_db.abilist: Remove.
31174 * abilist/libutil.abilist: Remove.
31175 * scripts/extract-abilist.awk: Remove.
31176 * scripts/merge-abilist.awk: Remove.
31177 * sysdeps/generic/libcidn.abilist: New file.
31178 * sysdeps/generic/libnss_compat.abilist: New file.
31179 * sysdeps/generic/libnss_db.abilist: New file.
31180 * sysdeps/generic/libnss_dns.abilist: New file.
31181 * sysdeps/generic/libnss_files.abilist: New file.
31182 * sysdeps/generic/libnss_hesiod.abilist: New file.
31183 * sysdeps/generic/libnss_nis.abilist: New file.
31184 * sysdeps/generic/libnss_nisplus.abilist: New file.
31185 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31186 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31187 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31189 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31190 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31191 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31192 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31193 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31194 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31195 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31196 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31197 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31199 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31200 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31201 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31202 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31204 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31205 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31206 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31207 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31208 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31209 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31212 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31213 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31215 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31318 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31319 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31320 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31323 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31324 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31325 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31326 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31327 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31328 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31329 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31330 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31331 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31383 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31385 * conform/conformtest.pl: Fix typo in handling typed-constant from
31388 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31390 * README: Cut down references to pre-2.6 Linux kernels and
31391 Linuxthreads. Update lists of configurations in libc and ports
31392 and sort alphabetically. Say "or newer" with Linux kernel version
31395 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31397 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31400 * math/libm-test.inc (logb_test_downward): New test to expose
31401 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31404 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31407 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31409 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31410 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31412 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31414 * sysdeps/unix/i386/brk.S: Remove file.
31415 * sysdeps/unix/i386/dl-brk.S: Likewise.
31416 * sysdeps/unix/i386/pipe.S: Likewise.
31417 * sysdeps/unix/i386/sigreturn.S: Likewise.
31418 * sysdeps/unix/i386/syscall.S: Likewise.
31419 * sysdeps/unix/i386/vfork.S: Likewise.
31420 * sysdeps/unix/i386/wait.S: Likewise.
31422 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31423 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31425 * configure.in (arm*-none*): Do not allow without
31426 --enable-hacker-mode.
31427 (netbsd*): Remove case setting base_os.
31428 (386bsd*): Likewise.
31429 (freebsd*): Likewise.
31432 (sunos*): Likewise.
31433 (ultrix*): Likewise.
31434 (newsos*): Likewise.
31435 (dynix*): Likewise.
31441 (minix*): Likewise.
31442 (irix4*): Likewise.
31443 (irix6*): Likewise.
31444 (solaris[2-9]*): Likewise.
31446 * configure: Regenerated.
31448 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31451 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31452 overflow or cancellation in calculating denominator.
31453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31455 down expression to avoid unexpected rounding in newer GCCs.
31456 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31458 2012-04-26 David S. Miller <davem@davemloft.net>
31460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31461 long-double compat symbols.
31462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31476 2012-04-25 David S. Miller <davem@davemloft.net>
31478 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31479 HWCAP_* values only after the memory barriers have been defined.
31480 (atomic_full_barrier): Define.
31481 (atomic_read_barrier): Define.
31482 (atomic_write_barrier): Define.
31484 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31486 * shlib-versions: Add libgcc_s version information.
31487 * sysdeps/generic/libgcc_s.h: Remove.
31488 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31490 * sysdeps/gnu/unwind-resume.c: Likewise.
31491 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31493 2012-04-25 David S. Miller <davem@davemloft.net>
31495 * sysdeps/unix/sparc/brk.S: Delete.
31496 * sysdeps/unix/sparc/dl-brk.S: Delete.
31497 * sysdeps/unix/sparc/pipe.S: Delete.
31498 * sysdeps/unix/sparc/sysdep.S: Delete.
31499 * sysdeps/unix/sparc/sysdep.h: Delete.
31500 * sysdeps/unix/sparc/vfork.S: Delete.
31501 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31502 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31504 ret_ERRVAL, r0, r1, MOVE): Define.
31505 (JUMPTARGET): Remove.
31506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31507 sysdeps/unix/sparc/sysdep.h
31508 (ENTRY, END): Remove.
31509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31511 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31513 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31514 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31517 * timezone/README: Update upstream location and email address for
31519 * timezone/zdump.c: Update from tzcode 2012b.
31520 * timezone/zic.c: Likewise.
31522 * configure.in (libc_cv_as_needed): Remove test.
31523 * configure: Regenerated.
31524 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31525 conditional definition.
31526 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31527 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31528 * config.make.in (have-as-needed): Remove variable.
31530 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31531 Paul Pluzhnikov <ppluzhnikov@google.com>
31533 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31536 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31538 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31539 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31540 * sysdeps/sh/strlen.S: Likewise.
31542 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31544 * sysdeps/unix/fork.S: Remove file.
31545 * sysdeps/unix/i386/fork.S: Likewise.
31546 * sysdeps/unix/sparc/fork.S: Likewise.
31548 * sysdeps/unix/system.c: Remove file.
31549 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31551 * sysdeps/unix/getegid.S: Remove file.
31552 * sysdeps/unix/geteuid.S: Likewise.
31554 2012-04-24 Roland McGrath <roland@hack.frob.com>
31556 * scripts/check-localplt.awk: New file.
31557 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31559 * scripts/data/localplt-generic.data: Add a comment.
31561 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31562 NODE when __dir_mkfile failed.
31563 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31564 Reported by Ludovic Courtès <ludo@gnu.org>.
31566 2012-04-24 Andreas Jaeger <aj@suse.de>
31568 * Makerules (common-clean): Also remove gen-as-const-headers
31571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31573 * Makerules (native-compile): Do not change working directory for
31574 build. Use $(OUTPUT_OPTION) in command.
31575 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31577 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31580 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31581 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31582 * math/libm-test.inc (floor_test): Add more tests.
31583 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31585 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31587 * sysdeps/unix/getdents.c: Remove file.
31588 * sysdeps/unix/sysv/getdents.c: Likewise.
31589 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31591 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31592 sysdeps/unix/mman/syscalls.list.
31594 (mprotect): Likewise.
31596 (munmap): Likewise.
31597 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31598 * sysdeps/unix/mman/syscalls.list: Remove.
31599 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31601 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31602 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31603 * configure: Regenerated.
31604 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31605 $(libgcc_s_suffix).
31606 * config.make.in (libgcc_s_suffix): Remove variable.
31608 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31610 * sysdeps/unix/sysv/gethostname.c: Move to ...
31611 * sysdeps/posix/gethostname.c: ... here.
31613 * sysdeps/unix/execve.S: Remove file.
31615 * sysdeps/unix/_exit.S: Remove file.
31617 2012-04-23 Andreas Jaeger <aj@suse.de>
31620 * manual/Makefile: Remove make dist support, there's no
31621 need for a stand-alone documentation tar ball.
31622 (TEXI2DVI): Define always, it's not in Makeconfig.
31625 (edition): Removed.
31626 (glibc-doc-$(edition).tar): Removed
31630 (ETAGS): Remove, it's in Makeconfig.
31631 (move-if-change): Remove, it's in Makeconfig.
31633 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31636 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31637 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31638 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31639 (strtod_l, strtof_l, strtold_l): Remove __wur.
31640 It is not necessarily an error to ignore strtol's return value.
31641 One can reliably look at the stored endptr to decide whether
31642 the number had valid syntax.
31644 2012-04-21 Andreas Jaeger <aj@suse.de>
31647 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31649 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31651 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31652 * sysdeps/unix/sysv/Versions: Remove file.
31654 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31659 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31663 version from __vm86.
31665 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31667 * sysdeps/unix/common/lxstat.c: Remove file.
31668 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31670 * sysdeps/unix/sysv/Makefile: Remove file.
31672 * sysdeps/unix/sysv/direct.h: Remove file.
31674 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31675 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31676 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31677 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31678 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31679 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31680 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31682 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31684 * sysdeps/unix/xmknod.c: Remove file.
31685 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31687 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31689 * sysdeps/unix/sysv/i386/time.S: Remove file.
31691 * sysdeps/unix/fxstat.c: Remove file.
31692 * sysdeps/unix/xstat.c: Likewise.
31693 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31695 * sysdeps/unix/sysv/sigaction.c: Remove file.
31697 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31698 (sysdep_headers): Remove variable.
31699 [termio.h not in sysdep_headers] (generated): Likewise.
31700 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31701 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31702 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31703 * sysdeps/unix/sysv/tcflow.c: Likewise.
31704 * sysdeps/unix/sysv/tcflush.c: Likewise.
31705 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31706 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31707 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31708 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31709 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31711 * sysdeps/unix/siglist.c: Remove file.
31713 * sysdeps/unix/getppid.S: Remove file.
31715 * sysdeps/unix/mkdir.c: Remove file.
31716 * sysdeps/unix/rmdir.c: Likewise.
31718 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31720 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31722 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31723 errlist-compat value.
31725 2012-04-18 David S. Miller <davem@davemloft.net>
31727 * sysdeps/generic/memcopy.h (reg_char): Delete.
31728 * debug/strcat_chk.c: Use char, not reg_char.
31729 * debug/strcpy_chk.c: Likewise.
31730 * debug/strncat_chk.c: Likewise.
31731 * debug/strncpy_chk.c: Likewise.
31732 * string/memchr.c: Likewise.
31733 * string/memrchr.c: Likewise.
31734 * string/rawmemchr.c: Likewise.
31735 * string/strcat.c: Likewise.
31736 * string/strchr.c: Likewise.
31737 * string/strchrnul.c: Likewise.
31738 * string/strcmp.c: Likewise.
31739 * string/strcpy.c: Likewise.
31740 * string/strncat.c: Likewise.
31741 * string/strncmp.c: Likewise.
31742 * string/strncpy.c: Likewise.
31744 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31746 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31747 __builtin_memcopy is called when src and dest ranges are known to not
31750 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31752 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31753 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31754 fwd_align_merge macro call.
31755 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31756 bwd_align_merge macro call.
31757 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31759 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31761 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31762 bwd_align_merge macros.
31763 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31764 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31767 2012-04-18 David S. Miller <davem@davemloft.net>
31769 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31771 2012-04-18 Andreas Jaeger <aj@suse.de>
31774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31775 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31776 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31778 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31779 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31780 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31782 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31783 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31784 Adjust for changed ldbl-128 files.
31786 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31787 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31790 2012-04-17 David S. Miller <davem@davemloft.net>
31792 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31794 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31796 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31797 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31798 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31799 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31800 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31801 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31803 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31806 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31807 * math/libm-test.inc: Add ilogb errno and exception tests.
31808 * math/w_ilogb.c: New file: ilogb wrapper.
31809 * math/w_ilogbf.c: New file: ilogbf wrapper.
31810 * math/w_ilogbl.c: New file: ilogbl wrapper.
31811 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31812 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31813 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31814 exception being thrown with 0.0 as argument.
31815 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31816 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31817 exception being thrown with 0.0 as argument.
31818 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31819 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31820 exception being thrown with 0.0 as argument.
31821 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31822 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31823 exception being thrown with 0.0 as argument.
31824 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31825 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31827 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31828 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31829 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31830 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31831 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31832 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31834 2012-04-17 Petr Baudis <pasky@ucw.cz>
31836 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31839 2012-04-16 Marek Polacek <polacek@redhat.com>
31841 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31843 2012-04-16 Marek Polacek <polacek@redhat.com>
31845 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31846 operands of fdivp instruction.
31848 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31850 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31851 * elf/tst-auditmod3b.c: Likewise.
31852 * elf/tst-auditmod4b.c: Likewise.
31853 * elf/tst-auditmod5b.c: Likewise.
31854 * elf/tst-auditmod6b.c: Likewise.
31855 * elf/tst-auditmod6c.c: Likewise.
31856 * elf/tst-auditmod7b.c: Likewise.
31857 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31858 * sysdeps/x86_64/preconfigure.in: Likewise.
31859 * sysdeps/x86_64/preconfigure: Regenerated.
31861 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31863 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31866 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31869 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31871 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31874 * locale/iso-639.def: Fix gl language name. Spotted by
31877 2012-04-12 Roland McGrath <roland@hack.frob.com>
31880 * libio/libio.h (__io_write_fn): Update comment.
31882 2012-04-12 Petr Baudis <pasky@ucw.cz>
31885 * stdio.texi (Hook Functions): The user provided writer function
31886 is not allowed to return -1.
31888 2012-04-11 David S. Miller <davem@davemloft.net>
31890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31892 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31894 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31895 Add a leading slash to rtkaio.
31897 2012-04-11 Jim Meyering <meyering@redhat.com>
31900 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31901 It is not necessarily an error to ignore fwrite's return
31902 value. One can reliably use ferror to test for errors after
31905 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31907 * bits/types.h (__snseconds_t): New type.
31908 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31910 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31912 (__SNSECONDS_T_TYPE): Likewise.
31913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31914 (__SNSECONDS_T_TYPE): Likewise.
31915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31916 (__SNSECONDS_T_TYPE): Likewise.
31918 2012-04-10 Andreas Jaeger <aj@suse.de>
31921 * manual/time.texi (Processor Time): Return type of times is
31922 elapsed real time since an arbitrary point in the past.
31923 (CPU Time): Move CLK_TCK from here...
31924 (Processor Time): ...to here. Correct description.
31925 * manual/conf.texi (Constants for Sysconf): Correct description of
31928 2012-04-10 David S. Miller <davem@davemloft.net>
31931 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31932 where the is a gap between DT_REL(A) and DT_JMPREL.
31934 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31936 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31937 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31938 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31940 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31942 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31943 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31944 (dl_main): Handle --inhibit-cache.
31945 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31947 * elf/dl-load.c (_dl_map_object): Use it.
31948 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31950 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31953 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31954 (__ieee754_powl): Saturate large exponents rather than testing for
31955 overflow of y*log2(x).
31956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31957 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31961 * math/s_ctan.c: Include <float.h>.
31962 (__ctan): Avoid internal overflow or cancellation in calculating
31964 * math/s_ctanf.c: Likewise.
31965 * math/s_ctanl.c: Likewise.
31966 * math/s_ctanh.c: Likewise.
31967 * math/s_ctanhf.c: Likewise.
31968 * math/s_ctanhl.c: Likewise.
31969 * math/libm-test.inc (ctan_test): Add more tests.
31970 (ctanh_test): Likewise.
31971 * sysdeps/i386/fpu/libm-test-ulps: Update.
31972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31974 2012-04-09 Andreas Jaeger <aj@suse.de>
31977 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31978 is an optional BSD extension.
31981 * manual/stdio.texi (Opening Streams): Document additional fopen
31984 2012-04-09 Roland McGrath <roland@hack.frob.com>
31986 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31987 %eax without telling the compiler.
31989 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31992 * manual/install.texi: Use sourceware.org.
31994 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31997 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31998 (__ieee754_pow): Generate overflow and underflow using huge*huge
31999 and tiny*tiny rather than just returning constant infinity or zero
32000 for large exponents.
32001 * math/libm-test.inc (pow_test): Require overflow exceptions for
32002 applicable cases of large exponents.
32005 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32006 (__ieee754_pow): Use iterative multiplication algorithm only for
32007 integer exponents with absolute value below 1024. Check for odd
32008 integer exponents when using algorithm for real exponents.
32009 * math/libm-test.inc (pow_test): Add more tests.
32010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32012 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32015 * math/libm-test.inc (exp_test): Do not allow overflow exception
32018 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32021 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32022 instead of __kernel_standard_f.
32024 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32026 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32027 * sysdeps/x86_64/memset_chk.S: Likewise.
32029 2012-04-08 Andreas Jaeger <aj@suse.de>
32032 * manual/startup.texi (Environment Access): Describe return value
32033 for putenv and setenv.
32036 * manual/filesys.texi (Directory Entries): Add description for
32040 * manual/filesys.texi (Directory Entries): Clarify that it's file
32041 system not operating system in the description of DT_UNKNOWN.
32044 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32046 2012-04-08 Stephen Compall <s11@member.fsf.org>
32049 * manual/llio.texi (Opening and Closing Files): Add cross
32050 reference to explain mode argument.
32052 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32054 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32055 * sysdeps/x86_64/memset_chk.S: Likewise.
32057 2012-04-07 David S. Miller <davem@davemloft.net>
32059 * elf/elf.h (R_SPARC_WDISP10): Define.
32060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32063 R_SPARC_SIZE64 and R_SPARC_H34.
32065 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32068 conditions and remove no longer applicable assertion.
32070 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32072 * bits/byteswap.h: Include <features.h>.
32073 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32074 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32076 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32078 * bits/byteswap.h (__bswap_16): Removed.
32079 Include <bits/byteswap-16.h> to get __bswap_16.
32080 * sysdeps/i386/bits/byteswap.h: Likewise.
32081 * sysdeps/s390/bits/byteswap.h: Likewise.
32082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32083 * bits/byteswap-16.h: New file.
32084 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32085 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32086 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32087 * string/Makefile (headers): Add bits/byteswap-16.h.
32089 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32092 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32094 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32095 * nss/tst-nss-static.c: New.
32097 2012-04-06 Robert Millan <rmh@gnu.org>
32100 * manual/llio.texi (File Position Primitive): lseek
32101 refers to WHENCE when it really means OFFSET.
32103 2012-04-06 Andreas Jaeger <aj@suse.de>
32105 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32106 strncmp declarations.
32108 * abilist/libc.abilist: Add __poll and __ppoll.
32110 2012-04-05 David S. Miller <davem@davemloft.net>
32112 * scripts/check-local-headers.sh: Accept a host triplet in the
32113 path matched by the exclude regexp.
32115 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32117 * sysdeps/powerpc/powerpc32/dl-machine.h
32118 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32119 * sysdeps/s390/s390-32/dl-machine.h
32120 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32121 * sysdeps/sparc/sparc32/dl-machine.h
32122 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32123 * sysdeps/sparc/sparc64/dl-machine.h
32124 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32126 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32128 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32129 undefined symbol errors.
32131 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32134 2012-04-05 Michael Matz <matz@suse.de>
32137 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32139 2012-04-05 Andreas Jaeger <aj@suse.de>
32142 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32145 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32147 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32148 which ROUND is no valid rounding mode.
32150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32152 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32154 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32158 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32159 an exception using FPU order intentionally.
32161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32163 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32164 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32165 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32166 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32168 2012-04-05 Simon Josefsson <simon@josefsson.org>
32171 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32172 EINVAL when BUFLEN is too smal.
32174 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32177 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32178 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32180 2012-04-03 Andreas Jaeger <aj@suse.de>
32183 * manual/setjmp.texi (System V contexts): Fix sentence.
32186 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32187 New macro for this case.
32188 [!__GNUC__] (__bswap_64): New inline function for this case.
32189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32190 * bits/byteswap.h: Likewise.
32191 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32192 ull, guard with __GLIBC_HAVE_LONG_LONG.
32194 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32195 __GLIBC_HAVE_LONG_LONG.
32197 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32198 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32200 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32203 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32204 inptr and inend, rather than using last_ch.
32206 2012-04-02 David S. Miller <davem@davemloft.net>
32208 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32209 * stdio-common/printf-parse.h (read_int): Change return type to
32210 'int', return -1 on INT_MAX overflow.
32211 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32212 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32213 overflows INT_MAX. Check for overflow of in-format-string precision
32214 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32215 SIZE_MAX not INT_MAX for integer overflow test.
32216 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32217 skip the construct in the format string but do not record anything.
32218 * stdio-common/bug22.c: Adjust to test both width/prevision
32219 INT_MAX overflow as well as total length INT_MAX overflow. Check
32220 explicitly for proper errno values.
32222 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32224 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32226 * string/test-strcmp.c [! WIDE]: Likewise.
32227 * time/tst-mktime2.c: Likewise for INT_MAX.
32228 * string/test-string.h: #include <sys/param.h> for MIN.
32230 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32231 * sysdeps/i386/init-first.c (init): Likewise.
32232 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32233 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32234 * sysdeps/sh/init-first.c (init): Likewise.
32236 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32238 * po/ru.po: Update from translation team.
32239 * po/vi.po: Likewise.
32241 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32243 * resolv/nss_dns/dns-host.c: Merge copyright years.
32245 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32248 Optimize memcpy with prefetch if
32249 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32250 src, dst pointers have unequal 16 byte alignments.
32252 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32255 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32256 from a CNAME entry and return the minimum ttl for the query.
32257 (gaih_getanswer_slice): Likewise.
32259 2012-03-30 Jeff Law <law@redhat.com>
32261 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32263 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32264 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32266 * resolv/nss_dns/dns-host.c: Update copyright year.
32268 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32270 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32271 requests to save a system call. Fix check that all bytes are sent.
32273 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32274 comments for sendmmsg.
32276 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32279 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32280 with only 1 character between 0x0041 and 0x01b0.
32281 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32282 * wcsmbs/tst-mbsnrtowcs.c: New file.
32284 2012-03-29 David S. Miller <davem@davemloft.net>
32286 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32287 small copies by hand.
32289 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32292 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32293 _nss_compat_initgroups_dyn): Fall back to malloc/free
32294 for large group memberships.
32296 2012-03-28 David S. Miller <davem@davemloft.net>
32298 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32299 that branches into memcpy.
32300 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32303 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32306 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32307 implementation too.
32308 * sysdeps/sparc/mempcpy.S: New file.
32310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32311 the IFUNC routine in the libc case.
32312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32314 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32315 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32316 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32317 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32318 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32319 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32320 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32321 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32323 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32324 loop to 256 bytes instead of 64 bytes and fix test signedness.
32326 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32327 * sysdeps/sparc/sparc32/Makefile: rather than here...
32328 * sysdeps/sparc/sparc64/Makefile: and here.
32330 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32332 * malloc/mallocbug.c: Avoid warnings about unused variables.
32334 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32337 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32338 in the right place. Discard and retry query if response is
32339 larger than input buffer size.
32341 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32346 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32347 x for large integer exponent.
32348 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32349 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32350 sign of result as needed afterwards.
32351 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32352 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32353 result for underflowing pow the same as for overflow.
32354 (__kernel_standard_l): Handle powl overflow and underflow here
32355 rather than calling __kernel_standard.
32356 * math/libm-test.inc (pow_test): Add more tests.
32371 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32372 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32373 (__kernel_standard_l): New function.
32374 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32376 * math/w_acosl.c (__acosl): Likewise.
32377 * math/w_asinl.c (__asinl): Likewise.
32378 * math/w_atan2l.c (__atan2l): Likewise.
32379 * math/w_atanhl.c (__atanhl): Likewise.
32380 * math/w_coshl.c (__coshl): Likewise.
32381 * math/w_exp10l.c (__exp10l): Likewise.
32382 * math/w_exp2l.c (__exp2l): Likewise.
32383 * math/w_fmodl.c (__fmodl): Likewise.
32384 * math/w_hypotl.c (__hypotl): Likewise.
32385 * math/w_j0l.c (__j0l, __y0l): Likewise.
32386 * math/w_j1l.c (__j1l, __y1l): Likewise.
32387 * math/w_jnl.c (__jnl, __ynl): Likewise.
32388 * math/w_lgammal.c (__lgammal): Likewise.
32389 * math/w_log10l.c (__log10l): Likewise.
32390 * math/w_log2l.c (__log2l): Likewise.
32391 * math/w_logl.c (__logl): Likewise.
32392 * math/w_powl.c (__powl): Likewise.
32393 * math/w_remainderl.c (__remainderl): Likewise.
32394 * math/w_scalbl.c (sysv_scalbl): Likewise.
32395 * math/w_sinhl.c (__sinhl): Likewise.
32396 * math/w_sqrtl.c (__sqrtl): Likewise.
32397 * math/w_tgammal.c (__tgammal): Likewise.
32398 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32399 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32400 * math/libm-test.inc (acos_test): Add more tests.
32401 (acosh_test): Likewise.
32402 (asin_test): Likewise.
32403 (atanh_test): Likewise.
32404 (exp_test): Likewise.
32405 (exp10_test): Likewise.
32406 (exp2_test): Likewise.
32407 (expm1_test): Likewise.
32408 (lgamma_test): Likewise.
32409 (log_test): Likewise.
32410 (log10_test): Likewise.
32411 (log1p_test): Likewise.
32412 (log2_test): Likewise.
32413 (pow_test): Do not allow some spurious overflow exceptions.
32414 (sqrt_test): Add more tests.
32415 (tgamma_test): Likewise.
32416 (y0_test): Likewise.
32417 (y1_test): Likewise.
32418 (yn_test): Likewise.
32420 2012-03-27 Anton Blanchard <anton@samba.org>
32422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32428 2012-03-27 David S. Miller <davem@davemloft.net>
32430 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32432 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32433 have-as-vis3 check.
32435 2012-03-27 Andreas Jaeger <aj@suse.de>
32437 * sysdeps/x86_64/elf/configure.in: Moved to ...
32438 * sysdeps/x86_64/configure.in: ... here.
32439 * sysdeps/x86_64/elf/start.S: Moved to ...
32440 * sysdeps/x86_64/start.S: ... here.
32441 * sysdeps/x86_64/elf/configure: Delete.
32443 * sysdeps/x86_64/configure.in: Merge contents from
32444 sysdeps/i386/configure.in (without i686 check).
32446 * sysdeps/i386/elf/Versions: Merge into ...
32447 * sysdeps/i386/Versions: ... this.
32448 * sysdeps/i386/elf/Versions: Delete file.
32449 * sysdeps/i386/elf/start.S: Moved to ...
32450 * sysdeps/i386/start.S: ...here.
32451 * sysdeps/i386/elf/configure.in: Merge into...
32452 * sysdeps/i386/configure.in: ...here.
32453 * sysdeps/i386/elf/configure.in: Delete file.
32454 * sysdeps/i386/elf/configure: Delete file.
32456 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32457 * debug/backtracesyms.c: ... here.
32458 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32459 * debug/backtracesymsfd.c: ... here.
32460 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32461 * sysdeps/generic/ifunc-sel.h: ... here.
32463 * sysdeps/unix/i386/start.c: Delete file.
32464 * sysdeps/unix/sparc/start.c: Delete file.
32465 * sysdeps/unix/start.c: Delete file.
32467 * sysdeps/sh/elf/configure.in: Moved to ...
32468 * sysdeps/sh/configure.in: ... here.
32469 * sysdeps/sh/elf/start.S: Moved to ...
32470 * sysdeps/sh/start.S: ... here.
32471 * sysdeps/sh/elf/configure: Delete file.
32473 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32474 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32475 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32476 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32477 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32478 * sysdeps/powerpc/powerpc64/start.S: here.
32479 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32480 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32481 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32482 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32483 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32485 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32486 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32487 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32488 * sysdeps/powerpc/powerpc32/start.S: ... here.
32489 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32490 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32491 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32493 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32494 * sysdeps/powerpc/ifunc-sel.h: ... here.
32495 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32496 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32498 * sysdeps/sparc/elf/configure.in: Moved to ...
32499 * sysdeps/sparc/configure.in: ... here.
32500 * sysdeps/sparc/elf/configure: Delete file.
32501 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32502 * sysdeps/sparc/sparc32/start.S: ... here.
32503 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32504 * sysdeps/sparc/sparc64/start.S: ... here.
32505 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32506 * sysdeps/sparc/sparc32/Makefile: ... this.
32507 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32508 * sysdeps/sparc/sparc64/Makefile: ... this.
32510 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32511 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32512 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32513 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32514 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32515 * sysdeps/s390/s390-32/setjmp.S: ... here.
32516 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32517 * sysdeps/s390/s390-32/configure.in: ... here.
32518 * sysdeps/s390/s390-32/elf/configure: Delete file.
32519 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32520 * sysdeps/s390/s390-32/start.S: ... here.
32522 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32523 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32524 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32525 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32526 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32527 * sysdeps/s390/s390-64/setjmp.S: ... here.
32528 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32529 * sysdeps/s390/s390-64/configure.in: ... here
32530 * sysdeps/s390/s390-64/elf/configure: Delete file.
32531 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32532 * sysdeps/s390/s390-64/start.S: ... here.
32533 * sysdeps/s390/s390-64/elf/configure: Delete.
32535 * configure.in: Remove support for elf directories in sysdeps.
32537 * configure: Regenerated.
32538 * sysdeps/i386/configure: Regenerated.
32539 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32540 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32541 * sysdeps/s390/s390-32/configure: Regenerated.
32542 * sysdeps/s390/s390-64/configure: Regenerated.
32543 * sysdeps/sh/configure: Regenerated.
32544 * sysdeps/sparc/configure: Regenerated.
32545 * sysdeps/x86_64/configure: Regenerated.
32547 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32552 denormal result into account.
32554 2012-03-25 Roland McGrath <roland@hack.frob.com>
32556 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32557 Reported by Allan McRae <allan@archlinux.org>.
32559 2012-03-23 Jeff Law <law@redhat.com>
32561 * nss/getnssent.c (__nss_getent): Fix typo.
32563 2012-03-23 David S. Miller <davem@davemloft.net>
32565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32567 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32569 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32570 to pad to uint64_t for each field.
32571 (dl_tls_index): Replace unsigned long with uint64_t.
32573 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32574 Paul Pluzhnikov <ppluzhnikov@google.com>
32577 * grp/Makefile (otherlibs): Don't set it.
32578 * inet/Makefile (otherlibs): Likewise.
32579 * login/Makefile (otherlibs): Likewise.
32580 * nscd/Makefile (otherlibs): Likewise.
32581 * posix/Makefile (otherlibs): Likewise.
32582 * pwd/Makefile (otherlibs): Likewise.
32583 * rt/Makefile (otherlibs): Likewise.
32584 * sunrpc/Makefile (otherlibs): Likewise.
32585 * nss/Makefile (otherlibs): Likewise.
32586 Add libnss_files to routines and static-only-routines.
32587 ($(objpfx)getent): Remove rule.
32588 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32589 static-only-routines.
32591 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32594 * math/s_cexp.c: Include <float.h>.
32595 (__cexp): Handle exp result overflowing not necessarily
32596 overflowing both real and imaginary parts of result.
32597 * math/s_cexpf.c: Likewise.
32598 * math/s_cexpl.c: Likewise.
32599 * math/libm-test.inc (cexp_test): Add more tests.
32600 * sysdeps/i386/fpu/libm-test-ulps: Update.
32601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32603 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32605 * include/link.h (ELFW): New macro.
32606 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32607 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32609 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32611 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32616 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32618 (struct La_x32_retval): Likewise.
32620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32622 * sysdeps/x86_64/preconfigure.in: New file.
32623 * sysdeps/x86_64/preconfigure: New generated file.
32625 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32628 * math/e_exp2l.c: Include <float.h>.
32629 (__ieee754_exp2l): Handle overflow and underflow cases
32630 separately. Only pass fractional part of argument to
32632 * math/libm-test.inc (exp2_test): Add more tests.
32634 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32635 negating x to take absolute value.
32636 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32638 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32641 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32642 computing low part if x was negated.
32643 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32645 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32647 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32648 la_x32_gnu_pltexit.
32649 (pltexit): Cast int_retval to ptrdiff_t.
32650 * elf/tst-auditmod3b.c: Likewise.
32651 * elf/tst-auditmod4b.c: Likewise.
32652 * elf/tst-auditmod5b.c: Likewise.
32653 * elf/tst-auditmod6b.c: Likewise.
32654 * elf/tst-auditmod6c.c: Likewise.
32655 * elf/tst-auditmod7b.c: Likewise.
32657 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32658 and x32_gnu_pltexit.
32660 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32661 __ELF_NATIVE_CLASS.
32662 (La_x32_regs): New macro.
32663 (La_x32_retval): Likewise.
32664 (la_x32_gnu_pltenter): New function prototype.
32665 (la_x32_gnu_pltexit): Likewise.
32667 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32674 * configure.in (libc_cv_cc_nofma): Check for option to disable
32675 generation of FMA instructions.
32676 * configure: Regenerate.
32677 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32678 * sysdeps/ieee754/dbl-64/Makefile: New file.
32679 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32680 Remove brandred-fma4.
32681 (CFLAGS-brandred-fma4.c): Remove.
32682 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32683 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32685 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32688 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32690 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32691 LLONG_MAX != LONG_MAX.
32692 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32693 (_fitoa_word): Likewise.
32694 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32695 LLONG_MAX != LONG_MAX.
32696 * stdio-common/_itowa.h: Include <_itoa.h>.
32697 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32698 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32699 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32700 only if not defined.
32701 (_ITOA_WORD_TYPE): Likewise.
32702 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32703 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32705 2012-03-21 David S. Miller <davem@davemloft.net>
32707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32709 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32711 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32712 of x86_64 when setting libc_cv_slibdir, libdir and
32714 * sysdeps/unix/sysv/linux/configure: Regenerated.
32716 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32718 * manual/lang.texi (Old Varargs): Remove section.
32719 (How Variadic): Update menu.
32720 (va_start): Do not mention varargs.h.
32722 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32723 Joseph Myers <joseph@codesourcery.com>
32725 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32727 * configure: Regenerated.
32729 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32731 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32732 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32735 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32738 * Makefile (files-for-dist): Remove NOTES.
32739 (NOTES): Remove rule.
32740 * README: Don't refer to NOTES.
32741 * manual/creature.texi: Don't include macros.texi.
32742 * manual/intro.texi (creature.texi): Remove comment referring to
32745 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32746 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32747 * configure: Regenerated.
32748 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32749 LIBC_TRY_CC_OPTION.
32750 (libc_cv_as_i686): Likewise.
32751 (libc_cv_cc_avx): Likewise.
32752 (libc_cv_cc_sse2avx): Likewise.
32753 (libc_cv_cc_fma4): Likewise.
32754 (libc_cv_cc_novzeroupper): Likewise.
32755 * sysdeps/i386/configure: Regenerated.
32758 * sysdeps/i386/fpu/s_cexp.S: Remove.
32759 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32760 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32761 * math/libm-test.inc (cexp_test): Add more tests.
32762 * sysdeps/i386/fpu/libm-test-ulps: Update.
32763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32765 2012-03-21 Allan McRae <allan@archlinux.org>
32767 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32769 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32772 * math/w_exp2.c: Do not include <float.h>.
32773 (o_threshold, u_threshold): Remove.
32774 (__exp2): Calculate result before checking finiteness and calling
32776 * math/w_exp2f.c: Likewise.
32777 * math/w_exp2l.c: Likewise.
32778 * math/libm-test.inc (exp2_test): Require overflow exception for
32782 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32783 range of signed 64-bit integers before using fistpll. Remove
32784 checks for whether integers fit in mantissa bits.
32785 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32786 the range of signed 32-bit integers before using fistpl. Remove
32787 checks for whether integers fit in mantissa bits.
32788 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32789 (__ieee754_powl): Test for y outside the range of signed 64-bit
32790 integers before using fistpll. Reduce 64-bit values to 63-bit
32792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32793 divide-by-zero is raised for zero to large negative powers.
32794 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32795 (__ieee754_powl): Test for y outside the range of signed 64-bit
32796 integers before using fistpll. Reduce 64-bit values to 63-bit
32798 * math/libm-test.inc (pow_test): Add more tests.
32800 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32802 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32803 <stdio-common/_itoa.h>.
32804 * debug/segfault.c: Likewise.
32805 * elf/dl-cache.c: Likewise.
32806 * elf/dl-minimal.c: Likewise.
32807 * elf/dl-misc.c: Likewise.
32808 * elf/dl-sysdep.c: Likewise.
32809 * elf/dl-version.c: Likewise.
32810 * elf/rtld.c: Likewise.
32811 * hurd/hurdsock.c: Likewise.
32812 * hurd/lookup-retry.c: Likewise.
32813 * malloc/malloc.c: Likewise.
32814 * malloc/mtrace.c: Likewise.
32815 * nscd/nscd_getgr_r.c: Likewise.
32816 * nscd/nscd_getpw_r.c: Likewise.
32817 * nscd/nscd_getserv_r.c: Likewise.
32818 * posix/getopt_init.c: Likewise.
32819 * posix/wordexp.c: Likewise.
32820 * stdio-common/_itoa.c: Likewise.
32821 * stdio-common/printf_fphex.c: Likewise.
32822 * stdio-common/vfprintf.c: Likewise.
32823 * string/_strerror.c: Likewise.
32824 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32825 * sysdeps/i386/i686/hp-timing.h: Likewise.
32826 * sysdeps/mach/_strerror.c: Likewise.
32827 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32828 * sysdeps/mach/hurd/sethostid.c: Likewise.
32829 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32830 * sysdeps/mach/xpg-strerror.c: Likewise.
32831 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32833 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32834 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32835 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32836 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32837 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32838 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32839 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32840 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32841 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32842 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32843 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32844 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32845 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32846 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32847 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32848 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32849 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32850 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32851 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32853 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32855 * stdio-common/_itoa.h: Moved to ...
32856 * sysdeps/generic/_itoa.h: Here.
32858 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32860 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32861 instead of "_itoa.h" and "_itowa.h".
32862 * stdio-common/vfprintf.: Likewise.
32864 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32868 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32869 (__signbit): Likwise.
32870 (llrintf): Likwise.
32873 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32875 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32878 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32880 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32881 OVERFLOW_EXCEPTION_OK.
32882 * math/libm-test.inc ("Philosophy"): Update comment about
32884 (OVERFLOW_EXCEPTION): Define.
32885 (OVERFLOW_EXCEPTION_OK): Likewise.
32886 (INVALID_EXCEPTION_OK): Renumber.
32887 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32888 (IGNORE_ZERO_INF_SIGN): Likewise.
32889 (test_exceptions): Handle FE_OVERFLOW.
32890 (exp10_test): Expect overflow exceptions.
32891 (exp2_test): Likewise.
32892 (expm1_test): Likewise.
32893 (nextafter_test): Likewise.
32894 (pow_test): Likewise.
32895 (scalbn_test): Likewise.
32896 (scalbln_test): Likewise.
32898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32900 * sysdeps/x86_64/bits/atomic.h
32901 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32903 (atomic_exchange_acq): Likewise.
32904 (__arch_exchange_and_add_body): Likewise.
32905 (__arch_add_body): Likewise.
32906 (atomic_add_negative): Likewise.
32907 (atomic_add_zero): Likewise.
32909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32911 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32912 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32916 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32917 Check __x86_64__ instead of __WORDSIZE.
32919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32921 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32923 2012-03-19 David S. Miller <davem@davemloft.net>
32925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32927 * sysdeps/sparc/fpu/fenv_private.h: New file.
32928 * sysdeps/sparc/fpu/math_private.h: Use it.
32929 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32931 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32932 (libc_feholdexcept_setroundl): Remove.
32933 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32935 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32936 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32940 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32941 int64_t instead of long int.
32942 (INSERT_WORDS64): Likwise.
32944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32946 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32947 _Unwind_GetCFA return to _Unwind_Ptr first.
32949 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32952 * math/s_clog.c: Include <float.h>.
32953 (__clog): Scale large or subnormal inputs.
32954 * math/s_clogf.c: Likewise.
32955 * math/s_clogl.c: Likewise.
32956 * math/s_clog10.c: Include <float.h>.
32957 (M_LOG10_2): Define.
32958 (__clog10): Scale large or subnormal inputs.
32959 * math/s_clog10f.c: Likewise.
32960 * math/s_clog10l.c: Likewise.
32961 * math/libm-test.inc (clog_test): Add more tests.
32962 (clog10_test): Likewise.
32963 * sysdeps/i386/fpu/libm-test-ulps: Update.
32964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32967 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32969 * math/libm-test.inc (atan2_test): Add another test.
32971 * Makerules (common-objdir-compile): Remove.
32972 * sysdeps/unix/Makefile (config-generated): Do not add
32973 $(unix-generated) to variable.
32974 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32975 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32977 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32979 [generic bits/local_lim.h] (before-compile): Do not append to
32981 [generic bits/local_lim.h] (common-generated): Likewise.
32982 [generic sys/param.h] (before-compile): Do not append to variable.
32983 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32984 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32985 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32986 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32988 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32989 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32990 [generic sys/param.h] ($(addprefix
32991 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32992 [generic sys/param.h] (common-generated): Do not append to
32994 [generic sys/param.h] (sysdep_headers): Likewise.
32995 [generic bits/errno.h] (before-compile): Do not append to
32997 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32999 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33000 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33001 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33002 [generic bits/errno.h] (common-generated): Do not append to
33004 [generic bits/ioctls.h] (before-compile): Do not append to
33006 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33008 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33009 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33010 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33012 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33013 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33014 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33015 [generic bits/ioctls.h] (common-generated): Do not append to
33017 [generic sys/syscall.h] (syscall.h): Remove variable.
33018 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33020 [generic sys/syscall.h] (before-compile): Do not append to
33022 [generic sys/syscall.h] (common-generated): Likewise.
33023 * sysdeps/unix/errnos-tmpl.c: Remove file.
33024 * sysdeps/unix/errnos.awk: Likewise.
33025 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33026 * sysdeps/unix/ioctls.awk: Likewise.
33027 * sysdeps/unix/mk-local_lim.c: Likewise.
33028 * sysdeps/unix/snarf-ioctls: Likewise.
33030 2012-03-19 Richard Henderson <rth@twiddle.net>
33032 * sysdeps/i386/fpu/fenv_private.h: New file.
33033 * sysdeps/i386/fpu/math_private.h: Use it.
33034 (math_opt_barrier, math_force_eval): Remove.
33035 (libc_feholdexcept_setround_53bit): Remove.
33036 (libc_feupdateenv_53bit): Remove.
33037 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33038 (math_opt_barrier, math_force_eval): Remove.
33039 (libc_feholdexcept): Remove.
33040 (libc_feholdexcept_setround): Remove.
33041 (libc_fetestexcept, libc_fesetenv): Remove.
33042 (libc_feupdateenv_test): Remove.
33043 (libc_feupdateenv, libc_feholdsetround): Remove.
33044 (libc_feresetround): Remove.
33046 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33047 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33049 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33050 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33051 (libc_feupdateenv_testl): New.
33052 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33053 (libc_feupdateenv_testf): New.
33054 (libc_feupdateenv): Use libc_feupdateenv_test.
33055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33056 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33058 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33059 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33060 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33061 (libc_feresetround_noex): New.
33062 (libc_feresetround_noexf): New.
33063 (libc_feresetround_noexl): New.
33064 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33065 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33066 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33067 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33072 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33073 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33074 SET_RESTORE_ROUND_NOEX.
33075 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33076 SET_RESTORE_ROUND_NOEXF.
33077 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33078 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33079 (libc_feholdsetroundf): New.
33080 (libc_feresetround, libc_feresetroundf): New.
33082 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33083 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33084 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33086 * sysdeps/generic/math_private.h: Include <fenv.h>.
33087 (default_libc_feholdexcept): New.
33088 (default_libc_feholdexcept_setround): New.
33089 (default_libc_fesetenv, default_libc_feupdateenv): New.
33090 (libc_feholdexcept): Only define if undefined.
33091 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33093 (libc_feholdexcept_setroundl): Likewise.
33094 (libc_feholdexcept_setround_53bit): Likewise.
33095 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33098 (libc_feupdateenv_53bit): Likewise.
33099 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33100 (libc_feholdexcept): Convert from macro to inline function.
33101 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33102 (libc_fesetenv, libc_feupdateenv): Likewise.
33104 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33105 not previously defined.
33106 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33107 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33108 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33109 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33110 * sysdeps/ieee754/flt-32/math_private.h: New file.
33111 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33112 math_private.h below SET_FLOAT_WORD.
33113 (__isnan, __isinf_ns, __finite): Remove.
33114 (__isnanf, __isinf_nsf, __finitef): Remove.
33116 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33120 2012-03-17 David S. Miller <davem@davemloft.net>
33123 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33126 2012-03-16 David S. Miller <davem@davemloft.net>
33128 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33132 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33134 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33135 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33136 sysdep_routines when subdir is sysvipc.
33137 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33138 __getshmlba helper.
33140 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33149 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33150 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33151 (__lround): Renamed to ...
33152 (__llround): This. Replace long int with long long int.
33153 Define lround functions as aliases of llround functions.
33154 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33156 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33158 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33159 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33160 adresses to uintptr_t. Replace "long int" and "unsigned long
33161 int" with "greg_t" on va_arg.
33163 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33165 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33166 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33168 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33169 Move e_machine check before EI_CLASS check. Handle x32
33170 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33171 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33172 SKIP_EM_IA_64 and include
33173 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33175 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33176 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33177 (add_system_dir): New macro.
33179 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33180 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33182 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33193 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33195 * math/w_j0f.c (j0f): Likewise.
33197 * math/w_j0l.c (__j0l): Likewise.
33199 * math/w_j1.c (j1): Likewise.
33201 * math/w_j1f.c (j1f): Likewise.
33203 * math/w_j1l.c (__j1l): Likewise.
33205 * math/w_jn.c (jn): Likewise.
33207 * math/w_jnf.c (jnf): Likewise.
33209 * math/w_jnl.c (__jnl): Likewise.
33211 * math/libm-test.inc (j0_test): Add more tests.
33212 (j1_test): Likewise.
33213 (jn_test): Likewise. Add trailing semicolon to existing test.
33214 (y0_test): Likewise.
33215 (y1_test): Likewise.
33216 * sysdeps/i386/fpu/libm-test-ulps: Update.
33217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33221 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33222 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33223 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33224 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33225 (__tanl): Set errno for infinite argument.
33226 * sysdeps/i386/fpu/mptan.c: Remove.
33227 * sysdeps/i386/fpu/s_tan.S: Likewise.
33228 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33229 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33230 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33231 * math/libm-test.inc (tan_test): Add more tests and enable more
33232 tests for double and long double.
33233 * sysdeps/i386/fpu/libm-test-ulps: Update.
33234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33236 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33238 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33239 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33241 2012-03-16 Roland McGrath <roland@hack.frob.com>
33243 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33244 * configure.in: Use it for both main tree and add-ons.
33245 * configure: Regenerated.
33247 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33249 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33251 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33253 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33257 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33258 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33263 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33265 != 0 for prec == 2.
33266 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33267 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33268 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33269 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33270 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33271 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33272 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33273 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33274 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33275 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33276 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33277 * math/libm-test.inc (cos_test): Add more tests and enable more
33278 tests for long double.
33279 (sin_test): Likewise.
33280 (sincos_test): Likewise.
33281 * sysdeps/i386/fpu/libm-test-ulps: Update.
33282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33284 2012-03-16 David S. Miller <davem@davemloft.net>
33286 * sysdeps/sparc/fpu/math_private.h: New file.
33288 2012-03-15 David S. Miller <davem@davemloft.net>
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33304 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33305 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33307 * sysdeps/sparc/sparc-ifunc.h: New file.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33353 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33355 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33359 2012-03-15 Andreas Jaeger <aj@suse.de>
33362 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33363 ieee754/flt-32 implementation for sin, cos and sincos.
33364 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33365 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33366 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33367 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33368 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33369 ieee754/flt-32 implementation for tan.
33371 * math/libm-test.inc (cos_test): Enable some large input tests for
33373 (sin_test): Likewise.
33374 (sincos_test): Likewise.
33375 (tan_test): Add tests for large input.
33377 * sysdeps/i386/fpu/libm-test-ulps: Update.
33379 2012-03-15 Andreas Jaeger <aj@suse.de>
33382 * math/libm-test.inc (cos_test): Add more test cases.
33383 (sin_test): Likewise.
33384 (sincos_test): Likewise.
33386 2012-03-15 Andreas Jaeger <aj@suse.de>
33389 * math/libm-test.inc (cos_test): Add a test case for large input
33391 (sin_test): Likewise.
33392 (sincos_test): Likewise.
33394 2012-03-15 Andreas Jaeger <aj@suse.de>,
33395 Joseph Myers <joseph@codesourcery.com>
33398 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33399 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33400 * sysdeps/i386/fpu/branred.c: Likewise.
33401 * sysdeps/i386/fpu/dosincos.c: Likewise.
33402 * sysdeps/i386/fpu/mpa.c: Likewise.
33403 * sysdeps/i386/fpu/s_cos.S: Likewise.
33404 * sysdeps/i386/fpu/s_sin.S: Likewise.
33405 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33406 * sysdeps/i386/fpu/sincos32.c: Likewise.
33408 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33410 (libc_feupdateenv_53bit): Define.
33411 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33413 (libc_feupdateenv_53bit): Define.
33415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33416 53 bit (without extend i386 double precision).
33418 * math/libm-test.inc (sincos_test): Add tests for large input.
33422 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33424 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33428 2012-03-15 David S. Miller <davem@davemloft.net>
33430 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33458 fmin/fmax sysdep routines.
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33461 2012-03-14 David S. Miller <davem@davemloft.net>
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33540 * sysdeps/sparc/configure.in: New file.
33541 * sysdeps/sparc/configure: Generate.
33542 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33543 * configure: Regenerate.
33544 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33545 * config.make.in (have-as-vis3): New.
33546 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33547 available use -Av9d instead of -Av9a.
33548 * sysdeps/sparc/sparc64/Makefile: Likewise.
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33564 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33565 fzeros/fnegs to load 0x80000000 into a float register instead of
33567 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33569 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33573 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33574 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33575 ($(inst_includedir)/bits/syscall.h): Remove rule.
33576 ($(objpfx)bits/syscall.d): Include instead of
33577 $(objpfx)syscall-list.d.
33578 (generated): Change syscall-list.h and syscall-list.d to
33579 bits/syscall.h and bits/syscall.d.
33581 2012-03-14 Roland McGrath <roland@hack.frob.com>
33584 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33586 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33589 * math/s_csqrt.c: Include <float.h>.
33590 (__csqrt): Scale large or subnormal inputs.
33591 * math/s_csqrtf.c: Likewise.
33592 * math/s_csqrtl.c: Likewise.
33593 * math/libm-test.inc (csqrt_test): Add more tests.
33594 * sysdeps/i386/fpu/libm-test-ulps: Update.
33595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33598 * math/libm-test.inc (hypot_test): Add more tests.
33600 2012-03-13 David S. Miller <davem@davemloft.net>
33603 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33604 double-precision for the calculation instead of scaling.
33606 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33608 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33609 manipulate bits before adding and subtracting TWO52[sx].
33610 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33611 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33613 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33615 2012-03-13 David S. Miller <davem@davemloft.net>
33617 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33618 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33620 rtld-global-offsets.h
33621 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33623 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33626 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33628 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33629 'err' in the ifdef scope in which it is actually used.
33631 * nss/nss_db/db-init.c: Include string.h
33633 2012-03-12 David S. Miller <davem@davemloft.net>
33635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33636 masking out of the most significant byte of random value used.
33637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33638 Fix coding style in previous change.
33640 * sysdeps/unix/sysv/linux/kernel-features.h
33641 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33642 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33644 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33647 2012-03-11 David S. Miller <davem@davemloft.net>
33649 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33650 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33652 for 'resultvar' otherwise things get truncated on 64-bit.
33654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33655 Fix masking out of the most significant byte of random value used.
33657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33659 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33663 2012-03-09 David S. Miller <davem@davemloft.net>
33665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33666 variables with appropriate CPP guards.
33667 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33668 frame pointer, not the stack pointer. Correct layout comments. Fix test
33669 on resulting framesize and the management of the outregs buffer for pltexit.
33670 Preserve floating point return values across _dl_call_pltexit call.
33671 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33672 framesize and the management of the outregs buffer for pltexit.
33673 Preserve floating point return values across _dl_call_pltexit
33675 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33676 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33677 (print_exit): Fix format string for return register value.
33679 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33681 * sunrpc/Makefile (others): Add rpcgen.
33682 ($(objpfx)rpcgen): Remove special build rule and dependency on
33684 * sunrpc/rpcgen.c: New file.
33686 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33689 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33690 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33691 * sysdeps/i386/crti.S: Likewise.
33692 * sysdeps/i386/crtn.S: Likewise.
33693 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33694 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33695 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33696 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33697 * sysdeps/sh/crti.S: Likewise.
33698 * sysdeps/sh/crtn.S: Likewise.
33699 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33702 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33704 * locale/programs/locfile-kw.gperf: Likewise.
33705 * locale/programs/charmap-kw.h: Regenerated.
33706 * locale/programs/locfile-kw.h: Likewise.
33709 * intl/plural.y: Replace FSF snail mail address with URL.
33710 * intl/plural.c: Regenerated.
33712 2012-03-09 Richard Henderson <rth@twiddle.net>
33714 * include/math_private.h: Remove file.
33715 * math/math_private.h: Move file ...
33716 * sysdeps/generic/math_private.h: ... here.
33718 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33719 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33720 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33722 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33723 and <math_private.h>.
33724 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33725 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33726 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33727 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33728 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33824 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33825 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33826 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33827 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33829 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33836 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33837 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33838 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33839 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33841 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33843 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33847 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33849 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33850 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33851 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33852 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33853 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33854 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33855 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33856 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33857 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33858 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33859 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33860 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33861 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33862 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33863 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33864 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33865 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33866 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33867 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33868 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33869 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33870 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33871 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33872 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33873 * sysdeps/ieee754/k_standard.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33996 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34001 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34006 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34022 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34023 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34024 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34034 * sysdeps/ieee754/s_lib_version.c: Likewise.
34035 * sysdeps/ieee754/s_matherr.c: Likewise.
34036 * sysdeps/ieee754/s_signgam.c: Likewise.
34037 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34039 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34040 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34041 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34042 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34043 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34044 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34045 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34046 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34047 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34048 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34049 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34050 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34051 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34052 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34054 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34059 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34061 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34062 * sunrpc/rpc_main.c: Likewise.
34063 * sunrpc/rpc_svcout.c: Likewise.
34065 2012-03-09 David S. Miller <davem@davemloft.net>
34067 * include/math_private.h: New file.
34069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34071 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34072 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34073 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34074 from <bits/socket_type.h>.
34075 (enum __socket_type): Don't define here.
34076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34078 bits/socket_type.h.
34081 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34082 checking __USE_GNU.
34084 * Makerules ($(inst_includedir)/%.h): New rule.
34085 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34086 (install-others): Remove variable setting.
34087 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34089 2012-03-08 Richard Henderson <rth@twiddle.net>
34091 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34092 from macro to inline function; merge with the
34093 !__LIBC_INTERNAL_MATH_INLINES version.
34094 (__ieee754_sqrtf): Likewise.
34096 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34097 to inline function.
34098 (__rintf, __floor, __floorf): Likewise.
34100 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34101 macro to inline function.
34102 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34104 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34105 not <math/math_private.h>.
34107 2012-03-08 David S. Miller <davem@davemloft.net>
34109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34111 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34113 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34115 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34117 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34118 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34120 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34122 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34123 be defined individually, they must be defined as a block. Define
34124 S for printing a string instead of hidint the different by using a
34125 macro for adding the 'l'.
34126 * stdio-common/tst-fphex-wide.c: Adjust.
34128 2012-03-07 Marek Polacek <polacek@redhat.com>
34130 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34132 2012-03-08 Marek Polacek <polacek@redhat.com>
34135 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34136 * stdio-common/tst-fphex.c: Define a few macros to make the
34137 test reusable. Use them.
34138 * stdio-common/tst-fphex-wide.c: New file.
34140 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34143 * manual/macros.texi (gnusystems): New macro.
34144 (nongnusystems): Likewise.
34145 (gnulinuxhurdsystems): Likewise.
34146 (gnuhurdsystems): Likewise..
34147 (gnulinuxsystems): Likewise.
34148 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34149 variants of the GNU system, not "GNU system".
34150 * manual/conf.texi: Likewise.
34151 * manual/errno.texi: Likewise. Update example of errno macro
34153 * manual/filesys.texi: Likewise.
34154 (getumask): Document as specific to GNU/Hurd.
34155 * manual/install.texi: Likewise. Reword some references to
34157 * manual/intro.texi: Likewise.
34158 * manual/io.texi: Likewise.
34159 (File Name Portability): Detail which constraints are inapplicable
34160 to all GNU systems and which are only inapplicable to GNU/Hurd.
34161 * manual/job.texi: Likewise.
34162 * manual/llio.texi: Likewise.
34163 (O_NOCTTY): Document as present on GNU/Linux.
34164 * manual/maint.texi: Likewise.
34165 * manual/memory.texi: Likewise.
34166 * manual/pattern.texi: Likewise.
34167 * manual/pipe.texi: Likewise.
34168 * manual/process.texi: Likewise.
34169 * manual/resource.texi: Likewise.
34170 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34172 * manual/setjmp.texi: Likewise.
34173 * manual/signal.texi: Likewise.
34174 * manual/startup.texi: Likewise.
34175 * manual/stdio.texi: Likewise.
34176 * manual/terminal.texi: Likewise.
34177 (ONLCR): Document as POSIX.
34178 (OXTABS): Document availability on GNU/Linux as XTABS.
34179 (ONOEOT): Document availability separately from other bits.
34180 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34181 * manual/time.texi: Likewise.
34182 * manual/users.texi: Likewise.
34183 * INSTALL: Regenerated.
34184 * sysdeps/gnu/errlist.c: Regenerated.
34186 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34187 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34188 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34190 * configure: Regenerated.
34192 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34194 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34195 default includes instead of AC_HEADER_CHECK.
34196 * sysdeps/i386/configure: Regenerated.
34199 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34200 * math/s_cacoshf.c (__cacoshf): Likewise.
34201 * math/s_cacoshl.c (__cacoshl): Likewise.
34202 * math/s_casinh.c (__casinh): Set signs of result from argument.
34203 * math/s_casinhf.c (__casinhf): Likewise.
34204 * math/s_casinhl.c (__casinhl): Likewise.
34205 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34206 (casinh_test): Add more tests.
34207 * sysdeps/i386/fpu/libm-test-ulps: Update.
34208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34210 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34212 * po/zh_TW.po: Update from translation team.
34214 * login/Makefile (distribute): Remove variable.
34215 * catgets/Makefile: Likewise.
34216 * mach/Makefile: Likewise.
34217 * malloc/Makefile: Likewise.
34218 * misc/Makefile: Likewise.
34219 * iconv/Makefile: Likewise.
34220 * nscd/Makefile: Likewise.
34221 * hurd/Makefile: Likewise.
34222 * manual/Makefile: Likewise.
34223 * locale/Makefile: Likewise.
34224 * intl/Makefile: Likewise.
34225 * conform/Makefile: Likewise.
34226 * nss/Makefile: Likewise.
34227 * time/Makefile: Likewise.
34228 * soft-fp/Makefile: Likewise.
34229 * dirent/Makefile: Likewise.
34230 * gmon/Makefile: Likewise.
34231 * po/Makefile: Likewise.
34232 * rt/Makefile: Likewise.
34233 * socket/Makefile: Likewise.
34234 * math/Makefile: Likewise.
34235 * signal/Makefile: Likewise.
34236 * debug/Makefile: Likewise.
34237 * elf/Makefile: Likewise.
34238 * timezone/Makefile: Likewise.
34239 * stdlib/Makefile: Likewise.
34240 * iconvdata/Makefile: Likewise.
34241 * sunrpc/Makefile: Likewise.
34242 * io/Makefile: Likewise.
34243 * argp/Makefile: Likewise.
34244 * inet/Makefile: Likewise.
34245 * hesiod/Makefile: Likewise.
34246 * grp/Makefile: Likewise.
34247 * csu/Makefile: Likewise.
34248 * wctype/Makefile: Likewise.
34249 * crypt/Makefile: Likewise.
34250 * libio/Makefile: Likewise.
34251 * string/Makefile: Likewise.
34252 * nis/Makefile: Likewise.
34253 * resolv/Makefile: Likewise.
34254 * stdio-common/Makefile: Likewise.
34255 * wcsmbs/Makefile: Likewise.
34256 * dlfcn/Makefile: Likewise.
34257 * posix/Makefile: Likewise.
34260 * timezone/Makefile: Don't install timezone files, just the programs
34263 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34265 * nss/databases.def: Add missing gshadow entry.
34267 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34269 2012-03-06 Marek Polacek <polacek@redhat.com>
34272 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34273 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34274 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34275 * stdio-common/tst-long-dbl-fphex.c: New file.
34277 2012-03-06 David S. Miller <davem@davemloft.net>
34279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34280 (set_obp_int): New function.
34281 (get_obp_int): New function.
34282 (__get_clockfreq_via_dev_openprom): Likewise.
34283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34284 Avoid unused variable warnings on 'val' and use builtin_expect.
34285 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34287 (INLINE_CLONE_SYSCALL): Likewise.
34289 2012-03-05 David S. Miller <davem@davemloft.net>
34291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34293 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34297 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34298 only for |x| >= 40.
34299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34301 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34304 Replace gettimeofday with __vdso_gettimeofday.
34306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34307 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34308 __vdso_clock_gettime and __vdso_getcpu.
34310 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34311 time with __vdso_time.
34313 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34315 * manual/lang.texi (size_t): Note types to which size_t may be
34316 equivalent with the GNU C Library, but do not describe when
34317 differences between them are significant.
34319 2012-03-05 Andreas Jaeger <aj@suse.de>
34321 * sysdeps/i386/fpu/libm-test-ulps: Update.
34323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34326 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34327 (__ieee754_pow): Save and restore rounding mode and use
34328 round-to-nearest for main computations.
34329 * math/libm-test.inc (pow_test_tonearest): New function.
34330 (pow_test_towardzero): Likewise.
34331 (pow_test_downward): Likewise.
34332 (pow_test_upward): Likewise.
34333 (main): Call the new functions.
34334 * sysdeps/i386/fpu/libm-test-ulps: Update.
34335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34338 * math/libm-test.inc (cosh_test_tonearest): New function.
34339 (cosh_test_towardzero): Likewise.
34340 (cosh_test_downward): Likewise.
34341 (cosh_test_upward): Likewise.
34342 (sinh_test_tonearest): Likewise.
34343 (sinh_test_towardzero): Likewise.
34344 (sinh_test_downward): Likewise.
34345 (sinh_test_upward): Likewise.
34346 (main): Call the new functions.
34347 * sysdeps/i386/fpu/libm-test-ulps: Update.
34348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34350 2012-03-05 Tom de Vries <tom@codesourcery.com>
34352 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34353 default stack guard is set in last bytes.
34354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34356 2012-03-05 Kees Cook <keescook@chromium.org>
34358 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34361 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34362 possibly allocate from heap instead of stack.
34363 * stdio-common/bug-vfprintf-nargs.c: New file.
34364 * stdio-common/Makefile (tests): Add nargs overflow test.
34366 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34370 2012-03-03 Marek Polacek <polacek@redhat.com>
34372 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34373 * math/math_private.h: Likewise.
34374 * stdlib/tst-strtod.c: Likewise.
34375 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34376 * sysdeps/x86_64/bits/atomic.h: Likewise.
34378 2012-03-02 David S. Miller <davem@davemloft.net>
34380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34384 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34385 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34386 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34387 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34389 2012-03-02 Roland McGrath <roland@hack.frob.com>
34392 * manual/examples/README: New file, says the example source files
34393 can be used under GPL>=2.
34394 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34395 line containing just "*/".
34396 * manual/examples/add.c: Add copyright header (GPL>=2).
34397 * manual/examples/argp-ex1.c: Likewise.
34398 * manual/examples/argp-ex2.c: Likewise.
34399 * manual/examples/argp-ex3.c: Likewise.
34400 * manual/examples/argp-ex4.c: Likewise.
34401 * manual/examples/atexit.c: Likewise.
34402 * manual/examples/db.c: Likewise.
34403 * manual/examples/dir.c: Likewise.
34404 * manual/examples/dir2.c: Likewise.
34405 * manual/examples/execinfo.c: Likewise.
34406 * manual/examples/filecli.c: Likewise.
34407 * manual/examples/filesrv.c: Likewise.
34408 * manual/examples/fmtmsgexpl.c: Likewise.
34409 * manual/examples/genpass.c: Likewise.
34410 * manual/examples/inetcli.c: Likewise.
34411 * manual/examples/inetsrv.c: Likewise.
34412 * manual/examples/isockad.c: Likewise.
34413 * manual/examples/longopt.c: Likewise.
34414 * manual/examples/memopen.c: Likewise.
34415 * manual/examples/memstrm.c: Likewise.
34416 * manual/examples/mkfsock.c: Likewise.
34417 * manual/examples/mkisock.c: Likewise.
34418 * manual/examples/mygetpass.c: Likewise.
34419 * manual/examples/pipe.c: Likewise.
34420 * manual/examples/popen.c: Likewise.
34421 * manual/examples/rprintf.c: Likewise.
34422 * manual/examples/search.c: Likewise.
34423 * manual/examples/select.c: Likewise.
34424 * manual/examples/setjmp.c: Likewise.
34425 * manual/examples/sigh1.c: Likewise.
34426 * manual/examples/sigusr.c: Likewise.
34427 * manual/examples/stpcpy.c: Likewise.
34428 * manual/examples/strdupa.c: Likewise.
34429 * manual/examples/strftim.c: Likewise.
34430 * manual/examples/strncat.c: Likewise.
34431 * manual/examples/subopt.c: Likewise.
34432 * manual/examples/swapcontext.c: Likewise.
34433 * manual/examples/termios.c: Likewise.
34434 * manual/examples/testopt.c: Likewise.
34435 * manual/examples/testpass.c: Likewise.
34436 * manual/examples/timeval_subtract.c: Likewise.
34439 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34441 * manual/timeval_subtract.c.texi: ... here, new file.
34443 2012-03-02 David S. Miller <davem@davemloft.net>
34445 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34447 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34450 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34451 (__sin): Save and restore rounding mode and use round-to-nearest
34452 for all computations.
34453 (__cos): Save and restore rounding mode and use round-to-nearest
34454 for all computations.
34455 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34457 (tan): Save and restore rounding mode and use round-to-nearest for
34459 * math/libm-test.inc (cos_test_tonearest): New function.
34460 (cos_test_towardzero): Likewise.
34461 (cos_test_downward): Likewise.
34462 (cos_test_upward): Likewise.
34463 (sin_test_tonearest): Likewise.
34464 (sin_test_towardzero): Likewise.
34465 (sin_test_downward): Likewise.
34466 (sin_test_upward): Likewise.
34467 (tan_test_tonearest): Likewise.
34468 (tan_test_towardzero): Likewise.
34469 (tan_test_downward): Likewise.
34470 (tan_test_upward): Likewise.
34471 (main): Call the new functions.
34472 * sysdeps/i386/fpu/libm-test-ulps: Update.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34476 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34477 small n, then large n, before computing and testing k+n.
34478 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34483 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34484 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34490 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34491 * math/libm-test.inc (scalbn_test): Add more tests.
34492 (scalbln_test): Likewise.
34494 * manual/filesys.texi (mode_t): Describe constraints on size and
34495 signedness, not exact equivalence to a particular type.
34497 (ino64_t): Likewise.
34499 (nlink_t): Likewise.
34500 (blkcnt_t): Likewise.
34501 (blkcnt64_t): Likewise.
34502 * manual/llio.texi (off_t): Likewise.
34505 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34506 (__ieee754_exp): Save and restore rounding mode and use
34507 round-to-nearest for all computations.
34508 * math/libm-test.inc (exp_test_tonearest): New function.
34509 (exp_test_towardzero): Likewise.
34510 (exp_test_downward): Likewise.
34511 (exp_test_upward): Likewise.
34512 (main): Call the new functions.
34513 * sysdeps/i386/fpu/libm-test-ulps: Update.
34514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34516 2012-03-01 Chris Demetriou <cgd@google.com>
34518 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34519 have predictable order.
34521 2012-03-01 David S. Miller <davem@davemloft.net>
34523 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34525 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34526 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34527 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34530 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34531 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34532 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34534 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34535 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34536 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34537 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34538 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34543 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34544 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34546 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34548 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34549 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34550 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34553 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34555 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34556 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34559 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34560 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34562 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34563 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34564 * sysdeps/sparc/elf/configure: Regenerated.
34566 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34568 * configure.in (AS, LD): Require binutils 2.20 or later.
34569 * configure: Regenerated.
34570 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34571 as required minimum version.
34572 * INSTALL: Regenerated.
34576 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34577 before squaring exponent.
34578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34579 bottom long double and 27 bits of top long double before squaring
34581 * math/libm-test.inc (erfc_test): Add more tests.
34582 * sysdeps/i386/fpu/libm-test-ulps: Update.
34583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34586 2012-03-01 Kai Tietz <ktietz@redhat.com>
34588 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34589 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34590 containing bit-fields.
34591 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34592 * soft-fp/single.h (_FP_UNION_S): Likewise.
34593 * soft-fp/double.h (_FP_UNION_D): Likewise.
34595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34598 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34599 not include ../strcmp.S.
34600 [USE_AS_STRNCASECMP_L]: Likewise.
34601 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34602 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34603 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34604 (__strncasecmp_l_ia32): Define as alias to
34605 __strncasecmp_l_nonascii.
34608 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34609 * sysdeps/i386/fpu/libm-test-ulps: Update.
34610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34612 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34615 2012-02-29 Jeff Law <law@redhat.com>
34617 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34618 out of bounds read.
34620 2012-02-29 Marek Polacek <polacek@redhat.com>
34623 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34624 * elf/Makefile: Add rules to run tst-unused-dep.out.
34626 2012-02-28 David S. Miller <davem@davemloft.net>
34628 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34629 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34635 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34637 * math/libm-test.inc (llround_test): Move one test from
34638 lround_test. Use TEST_f_L in moved test.
34639 (lround_test): Move misplaced test to llround_test. Add testcase
34642 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34644 * sysdeps/x86_64/fpu/e_expf.S: New file.
34645 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34647 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34650 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34651 of remain_len that may cause incomplete multi-byte character and
34653 * posix/bug-regex33.c: New file.
34654 * posix/Makefile (tests): Add bug-regex33.
34656 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34658 * manual/macros.texi: New file.
34659 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34660 * manual/libc.texinfo: Include macros.texi.
34661 * manual/creatute.texi: Likewise.
34662 * manual/install.texi: Likewise.
34663 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34664 @glibcadj{} in references to the GNU C Library.
34665 * manual/charset.texi: Likewise.
34666 * manual/conf.texi: Likewise.
34667 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34668 when not using those macros.
34669 * manual/creature.texi: Likewise.
34670 * manual/crypt.texi: Likewise.
34671 * manual/errno.texi: Likewise.
34672 * manual/filesys.texi: Likewise.
34673 * manual/header.texi: Likewise.
34674 * manual/install.texi: Likewise.
34675 * manual/intro.texi: Likewise.
34676 * manual/io.texi: Likewise.
34677 * manual/job.texi: Likewise.
34678 * manual/lang.texi: Likewise.
34679 * manual/libc.texiinfo: Likewise.
34680 * manual/llio.texi: Likewise.
34681 * manual/locale.texi: Likewise.
34682 * manual/maint.texi: Likewise.
34683 * manual/math.texi: Likewise.
34684 * manual/memory.texi: Likewise.
34685 * manual/message.texi: Likewise.
34686 * manual/nss.texi: Likewise.
34687 * manual/pattern.texi: Likewise.
34688 * manual/process.texi: Likewise.
34689 * manual/resource.texi: Likewise.
34690 * manual/search.texi: Likewise.
34691 * manual/setjmp.texi: Likewise.
34692 * manual/signal.texi: Likewise.
34693 * manual/socket.texi: Likewise.
34694 * manual/startup.texi: Likewise.
34695 * manual/stdio.texi: Likewise.
34696 * manual/string.texi: Likewise.
34697 * manual/sysinfo.texi: Likewise.
34698 * manual/syslog.texi: Likewise.
34699 * manual/terminal.texi: Likewise.
34700 * manual/time.texi: Likewise.
34701 * manual/users.texi: Likewise.
34702 * INSTALL: Regenerated.
34703 * NOTES: Regenerated.
34704 * sysdeps/gnu/errlist.c: Regenerated.
34706 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34708 * include/dirent.h: Include <dirstream.h> before
34711 2012-02-28 David S. Miller <davem@davemloft.net>
34713 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34714 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34715 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34716 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34718 2012-02-27 David S. Miller <davem@davemloft.net>
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34722 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34723 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34726 frame pointer instead of stack pointer relative arg slot.
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34731 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34734 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34736 2012-02-27 David S. Miller <davem@davemloft.net>
34738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34744 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34747 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34749 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34750 later. Allow versions 5-9.
34751 * configure: Regenerated.
34752 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34753 required minimum version and 4.6 as recommended version. Do not
34754 mention bugs in GCC 2.7 and 2.8.
34755 * INSTALL: Regenerated.
34757 2012-02-27 David S. Miller <davem@davemloft.net>
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34763 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34764 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34766 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34769 manipulate bits before adding and subtracting TWO112[sx].
34770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34772 2012-02-27 Roland McGrath <roland@hack.frob.com>
34775 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34776 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34777 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34778 being in POSIX, because they are in 1003.1-2008.
34780 * rt/tst-aio.c: Include <fcntl.h>.
34781 * rt/tst-aio7.c: Likewise.
34782 * rt/tst-aio64.c: Likewise.
34784 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34786 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34788 * manual/install.texi (--with-headers): Describe headers as
34789 interface headers, not private headers.
34790 (Specific advice for GNU/Linux systems): Describe use of headers
34791 from "make headers_install", not private headers from older
34793 * INSTALL: Regenerated.
34794 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34796 * sysdeps/unix/sysv/linux/configure: Regenerated.
34798 * manual/llio.texi (fclean): Remove documentation.
34800 * manual/Makefile (libc-texi-generated): New variable. Include
34802 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34803 $(libc-texi-generated), not duplicated list of files.
34804 (version.texi, stamp-version): New rules.
34805 (realclean): Remove $(libc-texi-generated), not individual files
34806 from that list. Do not remove dir-add.texinfo.
34807 * manual/libc.texinfo: Comment out uses of edition numbers and
34808 references to printed manual. Remove last-updated dates.
34809 (EDITION): Comment out.
34811 (VERSION, UPDATED): Remove.
34812 (version.texi): Include.
34814 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34816 * sysdeps/posix/spawni.c: Include <signal.h>.
34817 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34818 * sysdeps/pthread/aio_fsync.c: Likewise.
34820 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34822 * conform/Makefile (tests): Run only when not cross-compiling and
34823 when fast-check is not defined.
34825 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34826 * conform/data/limits.h-data: Fixes for POSIX2008.
34827 * conform/run-conformtest.sh: Run all tests.
34828 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34830 * include/bits/dlfcn.h: Likewise.
34831 * include/langinfo.h: Likewise.
34832 * include/monetary.h: Likewise.
34833 * include/sys/poll.h: Likewise.
34835 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34837 * posix/spawn.h: Define __need_sigset_t.
34838 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34839 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34840 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34841 to get sigevent_t only.
34842 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34843 only for __USE_GNU.
34844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34845 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34846 process_vm_writev only for __USE_GNU.
34847 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34849 * conform/Makefile: For now ignore errors from run-conformtest.
34850 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34851 POSIX to avoid namespace pollution. Don't prepend headers.
34852 * conform/data/aio.h-data: Fixes for POSIX testing.
34853 * conform/data/fcntl.h-data: Likewise.
34854 * conform/data/glob.h-data: Likewise.
34855 * conform/data/grp.h-data: Likewise.
34856 * conform/data/pthread.h-data: Likewise.
34857 * conform/data/pwd.h-data: Likewise.
34858 * conform/data/signal.h-data: Likewise.
34859 * conform/data/spawn.h-data: Likewise.
34860 * conform/data/stdio.h-data: Likewise.
34861 * conform/data/stdlib.h-data: Likewise.
34862 * conform/data/stropts.h-data: Likewise.
34863 * conform/data/sys/mman.h-data: Likewise.
34864 * conform/data/sys/stat.h-data: Likewise.
34865 * conform/data/sys/types.h-data: Likewise.
34866 * conform/data/sys/wait.h-data: Likewise.
34867 * conform/data/time.h-data: Likewise.
34868 * conform/data/unistd.h-data: Likewise.
34869 * conform/data/utime.h-data: Likewise.
34871 * io/sys/stat.h: fchmod was always in POSIX.
34872 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34873 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34874 * rt/aio.h: Define __need_timespec before including <time.h>.
34875 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34876 struct. Add forward declaration of pthread_attr_t and use it in
34878 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34880 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34881 always remove CLK_TCK definition.
34883 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34885 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34887 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34889 * conform/run-conformtest.sh: New file.
34890 * conform/Makefile: Run run-conformtest for tests.
34891 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34894 * conform/data/uchar.h-data: New file.
34895 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34896 * conform/data/arpa/inet.h-data: Likewise.
34897 * conform/data/assert.h-data: Likewise.
34898 * conform/data/complex.h-data: Likewise.
34899 * conform/data/cpio.h-data: Likewise.
34900 * conform/data/ctype.h-data: Likewise.
34901 * conform/data/dirent.h-data: Likewise.
34902 * conform/data/dlfcn.h-data: Likewise.
34903 * conform/data/errno.h-data: Likewise.
34904 * conform/data/fcntl.h-data: Likewise.
34905 * conform/data/float.h-data: Likewise.
34906 * conform/data/fmtmsg.h-data: Likewise.
34907 * conform/data/fnmatch.h-data: Likewise.
34908 * conform/data/ftw.h-data: Likewise.
34909 * conform/data/glob.h-data: Likewise.
34910 * conform/data/grp.h-data: Likewise.
34911 * conform/data/iconv.h-data: Likewise.
34912 * conform/data/inttypes.h-data: Likewise.
34913 * conform/data/langinfo.h-data: Likewise.
34914 * conform/data/libgen.h-data: Likewise.
34915 * conform/data/limits.h-data: Likewise.
34916 * conform/data/locale.h-data: Likewise.
34917 * conform/data/math.h-data: Likewise.
34918 * conform/data/monetary.h-data: Likewise.
34919 * conform/data/mqueue.h-data: Likewise.
34920 * conform/data/ndbm.h-data: Likewise.
34921 * conform/data/net/if.h-data: Likewise.
34922 * conform/data/netdb.h-data: Likewise.
34923 * conform/data/netinet/in.h-data: Likewise.
34924 * conform/data/nl_types.h-data: Likewise.
34925 * conform/data/poll.h-data: Likewise.
34926 * conform/data/pthread.h-data: Likewise.
34927 * conform/data/pwd.h-data: Likewise.
34928 * conform/data/regex.h-data: Likewise.
34929 * conform/data/sched.h-data: Likewise.
34930 * conform/data/search.h-data: Likewise.
34931 * conform/data/semaphore.h-data: Likewise.
34932 * conform/data/setjmp.h-data: Likewise.
34933 * conform/data/signal.h-data: Likewise.
34934 * conform/data/spawn.h-data: Likewise.
34935 * conform/data/stdarg.h-data: Likewise.
34936 * conform/data/stdio.h-data: Likewise.
34937 * conform/data/stdlib.h-data: Likewise.
34938 * conform/data/string.h-data: Likewise.
34939 * conform/data/strings.h-data: Likewise.
34940 * conform/data/stropts.h-data: Likewise.
34941 * conform/data/sys/ipc.h-data: Likewise.
34942 * conform/data/sys/mman.h-data: Likewise.
34943 * conform/data/sys/msg.h-data: Likewise.
34944 * conform/data/sys/resource.h-data: Likewise.
34945 * conform/data/sys/select.h-data: Likewise.
34946 * conform/data/sys/sem.h-data: Likewise.
34947 * conform/data/sys/shm.h-data: Likewise.
34948 * conform/data/sys/socket.h-data: Likewise.
34949 * conform/data/sys/stat.h-data: Likewise.
34950 * conform/data/sys/statvfs.h-data: Likewise.
34951 * conform/data/sys/time.h-data: Likewise.
34952 * conform/data/sys/timeb.h-data: Likewise.
34953 * conform/data/sys/times.h-data: Likewise.
34954 * conform/data/sys/types.h-data: Likewise.
34955 * conform/data/sys/uio.h-data: Likewise.
34956 * conform/data/sys/un.h-data: Likewise.
34957 * conform/data/sys/utsname.h-data: Likewise.
34958 * conform/data/sys/wait.h-data: Likewise.
34959 * conform/data/syslog.h-data: Likewise.
34960 * conform/data/tar.h-data: Likewise.
34961 * conform/data/termios.h-data: Likewise.
34962 * conform/data/utime.h-data: Likewise.
34963 * conform/data/utmpx.h-data: Likewise.
34964 * conform/data/varargs.h-data: Likewise.
34965 * conform/data/wchar.h-data: Likewise.
34966 * conform/data/wctype.h-data: Likewise.
34967 * conform/data/wordexp.h-data: Likewise.
34969 * include/stropts.h: New file.
34970 * include/uchar.h: New file.
34971 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34972 * include/assert.h: Likewise.
34973 * include/ctype.h: Likewise.
34974 * include/dirent.h: Likewise.
34975 * include/dlfcn.h: Likewise.
34976 * include/fcntl.h: Likewise.
34977 * include/fnmatch.h: Likewise.
34978 * include/glob.h: Likewise.
34979 * include/grp.h: Likewise.
34980 * include/libio.h: Likewise.
34981 * include/locale.h: Likewise.
34982 * include/math.h: Likewise.
34983 * include/net/if.h: Likewise.
34984 * include/netdb.h: Likewise.
34985 * include/netinet/in.h: Likewise.
34986 * include/pthread.h: Likewise.
34987 * include/pwd.h: Likewise.
34988 * include/regex.h: Likewise.
34989 * include/sched.h: Likewise.
34990 * include/search.h: Likewise.
34991 * include/setjmp.h: Likewise.
34992 * include/signal.h: Likewise.
34993 * include/stdio.h: Likewise.
34994 * include/stdlib.h: Likewise.
34995 * include/string.h: Likewise.
34996 * include/sys/cdefs.h: Likewise.
34997 * include/sys/mman.h: Likewise.
34998 * include/sys/msg.h: Likewise.
34999 * include/sys/resource.h: Likewise.
35000 * include/sys/select.h: Likewise.
35001 * include/sys/socket.h: Likewise.
35002 * include/sys/stat.h: Likewise.
35003 * include/sys/statvfs.h: Likewise.
35004 * include/sys/time.h: Likewise.
35005 * include/sys/times.h: Likewise.
35006 * include/sys/uio.h: Likewise.
35007 * include/sys/utsname.h: Likewise.
35008 * include/sys/wait.h: Likewise.
35009 * include/termios.h: Likewise.
35010 * include/time.h: Likewise.
35011 * include/ulimit.h: Likewise.
35012 * include/unistd.h: Likewise.
35013 * include/utime.h: Likewise.
35014 * include/wchar.h: Likewise.
35015 * include/wctype.h: Likewise.
35016 * include/wordexp.h: Likewise.
35018 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35020 * time/time.h: TIME_UTC must be a macro.
35021 Make timespec_get available for ISO C11 only as well.
35023 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35025 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35026 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35028 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35030 * configure.in: Use -o not -a in test for unsupported multi-arch.
35032 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35034 * manual/texinfo.tex: Update to version 2012-01-19.16.
35036 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35038 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35040 2012-02-24 Roland McGrath <roland@hack.frob.com>
35043 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35044 * manual/fdl-1.3.texi: New file.
35045 * manual/fdl-1.1.texi: File removed.
35048 * manual/libc.texinfo (FDL_VERSION): New @set.
35049 Use it for mention of FDL in cover text.
35050 (Documentation License): Use it in @include file name.
35052 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35053 Roland McGrath <roland@hack.frob.com>
35056 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35057 not LONG_LONG_MAX and LONG_LONG_MIN.
35058 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35059 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35061 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35067 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35068 manipulate bits before adding and subtracting TWO23[sx].
35069 * math/libm-test.inc (nearbyint_test): Add more tests.
35071 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35074 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35075 bits before adding and subtracting TWO23[sx].
35076 * math/libm-test.inc (rint_test): Add more tests.
35077 (rint_test_tonearest): Likewise.
35078 (rint_test_towardzero): Likewise.
35079 (rint_test_downward): Likewise.
35080 (rint_test_upward: Likewise.
35082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35085 * include/stdc-predef.h: New file. Extracted from features.h.
35086 * include/features.h: Include stdc-predef.h.
35087 * Makefile (headers): Add stdc-predef.h.
35088 * CONFORMANCE (Compiler limitations): Update.
35090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35092 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35094 2012-02-21 David S. Miller <davem@davemloft.net>
35096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35097 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35099 2012-02-20 David S. Miller <davem@davemloft.net>
35101 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35102 using a normal save/restore sequence, rather than allocating a
35103 dummy stack frame just to store a frame pointer and restore.
35104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35106 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35108 * manual/install.texi: Fix stray word in line-wrapped comment.
35110 2012-02-20 David S. Miller <davem@davemloft.net>
35112 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35113 both binutils and gcc support GOTDATA.
35115 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35116 "rd %pc" in the PIC register setup sequences.
35118 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35119 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35120 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35121 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35122 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35127 (SYSCALL_ERROR_HANDLER): Likewise.
35128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35129 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35131 (SYSCALL_ERROR_HANDLER): Likewise.
35133 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35134 (HAVE_GCC_GOTDATA): New.
35135 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35136 relocation support in both binutils and gcc.
35137 * sysdeps/sparc/elf/configure: Regenerate.
35139 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35140 * sysdeps/sparc/sparc32/elf/configure: Delete.
35141 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35142 * sysdeps/sparc/sparc64/elf/configure: Delete.
35143 * sysdeps/sparc/elf/configure.in: New file.
35144 * sysdeps/sparc/elf/configure: Generate.
35146 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35147 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35148 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35149 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35150 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35152 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35154 * manual/install.texi: Do not mention specific glibc version
35156 * manual/libc.texinfo (VERSION, UPDATED): Update.
35157 (@copying): Use @copyright{} and range of years.
35159 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35162 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35163 [crti.S not in sysdirs] (generated): Do not append.
35164 [crti.S not in sysdirs] (omit-deps): Likewise.
35165 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35166 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35167 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35168 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35169 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35171 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35172 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35173 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35174 * csu/defs.awk: Remove file.
35175 * sysdeps/generic/initfini.c: Likewise.
35176 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35178 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35181 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35183 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35184 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35185 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35188 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35190 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35191 (__EPOLL_PACKED): Define to empty if not defined by
35193 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35197 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35199 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35200 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35201 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35202 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35204 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35208 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35210 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35213 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35214 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35217 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35222 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35224 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35225 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35227 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35229 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35232 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35234 * math/w_acos.c: Use non-signaling floating-point comparisons.
35235 * math/w_acosf.c: Likewise.
35236 * math/w_acosh.c: Likewise.
35237 * math/w_acoshf.c: Likewise.
35238 * math/w_acoshl.c: Likewise.
35239 * math/w_acosl.c: Likewise.
35240 * math/w_asin.c: Likewise.
35241 * math/w_asinf.c: Likewise.
35242 * math/w_asinl.c: Likewise.
35243 * math/w_atanh.c: Likewise.
35244 * math/w_atanhf.c: Likewise.
35245 * math/w_atanhl.c: Likewise.
35246 * math/w_exp2.c: Likewise.
35247 * math/w_exp2f.c: Likewise.
35248 * math/w_exp2l.c: Likewise.
35249 * math/w_j0.c: Likewise.
35250 * math/w_j0f.c: Likewise.
35251 * math/w_j0l.c: Likewise.
35252 * math/w_j1.c: Likewise.
35253 * math/w_j1f.c: Likewise.
35254 * math/w_j1l.c: Likewise.
35255 * math/w_jn.c: Likewise.
35256 * math/w_jnf.c: Likewise.
35257 * math/w_log.c: Likewise.
35258 * math/w_log10.c: Likewise.
35259 * math/w_log10f.c: Likewise.
35260 * math/w_log10l.c: Likewise.
35261 * math/w_log2.c: Likewise.
35262 * math/w_log2f.c: Likewise.
35263 * math/w_log2l.c: Likewise.
35264 * math/w_logf.c: Likewise.
35265 * math/w_logl.c: Likewise.
35266 * math/w_sqrt.c: Likewise.
35267 * math/w_sqrtf.c: Likewise.
35268 * math/w_sqrtl.c: Likewise.
35269 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35270 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35275 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35278 * manual/string.texi (strnlen): Use correct parameter name in
35279 equivalent expression.
35281 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35284 * manual/users.texi (seteuid): Consistently use neweuid for
35287 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35290 * manual/nss.texi (Services in the NSS configuration): Correct
35291 list of services in example configuration file.
35293 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35296 * manual/arith.texi: Remove statements about negative zero
35297 behaving identically to zero.
35299 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35302 * manual/install.texi: Do not document upgrading from libc5.
35304 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35307 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35309 2012-02-18 David S. Miller <davem@davemloft.net>
35311 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35312 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35313 %o7 across the call.
35314 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35317 SETUP_PIC_REG_LEAF.
35318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35319 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35320 * sysdeps/sparc/crtn.S: Likewise.
35322 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35324 * aout/Makefile: Remove.
35326 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35329 * manual/examples/argp-ex1.c (main): Format definition in GNU
35331 * manual/examples/argp-ex2.c (main): Likewise.
35332 * manual/examples/argp-ex3.c (main): Likewise.
35333 * manual/examples/argp-ex4.c (main): Likewise.
35334 * manual/examples/longopt.c (main): Use new-style prototype
35336 * manual/examples/strncat.c (main): Specify return type and use
35337 (void) for arguments.
35338 * manual/examples/subopt.c (main): Use char **argv argument.
35340 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35343 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35346 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35349 * manual/string.texi (strchr): Change when strchrnul is
35352 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35355 * manual/locale.texi (setlocale): Document LOCPATH.
35357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35360 * manual/process.texi (execle): Move @dots{} before last argument.
35362 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35365 * manual/charset.texi (Generic Charset Conversion): Fix typo
35366 (LC_TYPE -> LC_CTYPE).
35368 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35371 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35372 (scalbnf): Likewise.
35373 (scalbnl): Likewise.
35374 (scalbln): Likewise.
35375 (scalblnf): Likewise.
35376 (scalblnl): Likewise.
35377 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35378 (vwarnx): Likewise.
35381 * manual/filesys.texi (telldir): Use braces around return type.
35382 * manual/llio.texi (mmap): Add space after comma.
35383 (mmap64): Likewise.
35384 * manual/math.texi (jn): Use @var{} on parameter names.
35390 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35392 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35394 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35395 (sched_get_priority_max): Likewise.
35396 * manual/signal.texi (sigvec): Add space after comma.
35397 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35399 (if_indextoname): Likewise.
35400 (if_freenameindex): Likewise.
35401 (sendto): Use ',' instead of '.' in prototype.
35402 * manual/startup.texi (syscall): Use @dots{} instead of literal
35404 * manual/stdio.texi (__fpending): Separate initial words of
35405 paragraph from @deftypefun line.
35406 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35408 (vsyslog): Use @var{} on parameter names.
35409 * manual/terminal.texi (stty): Use @var{} on parameter names.
35410 * manual/users.texi (getutmp): Use @var{} on parameter names.
35411 (getutmpx): Likewise.
35413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35416 * manual/stdio.texi (fopen): Fix typos in description of
35419 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35422 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35423 get clock_id definition.
35425 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35428 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35429 (madvise): Cast every argument to void on its own.
35431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35434 * manual/startup.texi (Exit Status): Fix typo.
35436 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35439 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35440 * manual/examples/argp-ex2.c: Likewise.
35441 * manual/examples/argp-ex3.c: Likewise.
35443 2012-02-16 Richard Henderson <rth@redhat.com>
35445 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35446 * sysdeps/s390/s390-32/initfini.c: Remove.
35447 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35448 * sysdeps/s390/s390-64/initfini.c: Remove.
35450 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35452 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35453 compiler output for sysdeps/generic/initfini.c.
35454 * sysdeps/sh/elf/initfini.c: Remove file.
35456 2012-02-16 David S. Miller <davem@davemloft.net>
35459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35461 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35462 * sysdeps/sparc/crti.S: New file.
35463 * sysdeps/sparc/crtn.S: New file.
35464 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35465 * sysdeps/sparc/sparc64/Makefile: Likewise.
35467 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35470 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35472 2012-02-15 Roland McGrath <roland@hack.frob.com>
35475 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35477 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35478 (write, read, close): Likewise.
35479 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35481 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35483 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35484 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35485 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35486 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35488 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35492 2012-02-14 Marek Polacek <polacek@redhat.com>
35494 * sysdeps/x86_64/crti.S: New file.
35495 * sysdeps/x86_64/crtn.S: New file.
35496 * sysdeps/x86_64/elf/initfini.c: Remove file.
35498 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35500 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35501 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35502 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35503 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35505 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35509 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35511 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35512 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35513 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35514 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35516 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35520 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35522 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35523 __feraiseexcept instead of feraiseexcept.
35525 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35526 nanosleep invocations.
35527 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35528 strings, and add error checking for a nanosleep invocations.
35530 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35532 Replace FSF snail mail address with URLs, as per GNU coding standards.
35533 Most of the snail mail addresses were wrong anyway, and omitting
35534 them makes the source code easier to maintain. Almost all of the
35535 changes are to license notices and to locale LC_IDENTIFICATION
35536 addresses, except for this one:
35537 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35538 not its snail mail address.
35540 2012-02-09 Richard Henderson <rth@twiddle.net>
35542 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35543 of kernel-features.h.
35545 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35547 2012-02-08 Marek Polacek <polacek@redhat.com>
35549 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35550 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35551 * sysdeps/gnu/_G_config.h: Likewise.
35552 * sysdeps/generic/_G_config.h: Likewise.
35554 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35556 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35560 * sysdeps/powerpc/powerpc32/crti.S: New file.
35561 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35562 * sysdeps/powerpc/powerpc64/crti.S: New file.
35563 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35565 * Makeconfig (have-initfini): Don't set.
35566 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35567 * configure.in (nopic_initfini): Don't substitute.
35568 * config.h.in (HAVE_INITFINI): Don't #undef.
35569 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35570 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35572 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35574 Support crti.S and crtn.S provided directly by architectures.
35575 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35576 [crti.S in sysdirs] (omit-deps): Likewise.
35577 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35578 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35579 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35580 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35581 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35582 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35583 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35584 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35585 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35586 compiler output for sysdeps/generic/initfini.c.
35587 * sysdeps/i386/elf/Makefile: Remove file.
35588 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35590 2012-02-07 Marek Polacek <polacek@redhat.com>
35592 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35593 * sysdeps/gnu/_G_config.h: Likewise.
35594 * sysdeps/mach/hurd/_G_config.h: Likewise.
35596 2012-02-07 Marek Polacek <polacek@redhat.com>
35598 * math/Makefile (tests): Add tst-CMPLX2.
35599 * math/tst-CMPLX2.c: New file.
35601 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35603 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35605 * math/libm-test.inc (jn_test): Add missing L suffix.
35607 2012-02-06 Marek Polacek <polacek@redhat.com>
35609 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35610 * sysdeps/i386/fpu/e_powf.S: Likewise.
35611 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35612 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35613 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35614 * sysdeps/i386/fpu/e_pow.S: Likewise.
35615 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35616 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35617 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35618 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35619 * sysdeps/i386/fpu/e_log2.S: Likewise.
35620 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35622 * sysdeps/i386/fpu/e_powl.S: Likewise.
35623 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35625 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35626 * sysdeps/i386/fpu/e_logl.S: Likewise.
35627 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35628 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35629 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35630 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35631 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35633 * sysdeps/i386/fpu/e_log.S: Likewise.
35634 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35635 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35636 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35637 * sysdeps/i386/fpu/e_logf.S: Likewise.
35638 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35639 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35640 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35641 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35642 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35643 * sysdeps/i386/fpu/e_log10.S: Likewise.
35644 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35645 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35646 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35647 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35648 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35649 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35650 * sysdeps/i386/asm-syntax.h: Likewise.
35651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35654 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35655 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35657 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35658 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35660 * sysdeps/powerpc/sysdep.h: Likewise.
35661 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35664 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35667 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35669 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35671 * sysdeps/i386/sysdep.h: Include <features.h>.
35672 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35675 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35679 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35682 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35684 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35685 (SETUP_PIC_REG): Use GET_PC_THUNK.
35686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35689 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35691 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35692 for non-PIC compilation.
35693 (SETUP_PIC_REG): Add .p2align directive.
35694 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35695 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35696 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35697 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35698 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35699 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35700 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35702 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35703 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35704 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35705 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35706 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35707 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35708 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35709 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35710 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35711 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35712 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35713 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35714 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35716 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35717 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35718 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35722 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35723 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35724 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35726 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35727 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35728 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35729 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35730 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35731 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35732 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35733 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35734 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35736 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35738 * math/tst-CMPLX.c: Include <stdio.h>.
35740 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35742 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35744 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35745 * sysdeps/sparc/bits/mathdef.h: Likewise.
35747 2012-01-31 Marek Polacek <polacek@redhat.com>
35749 * libio/libio.h: Don't define _PARAMS.
35750 * locale/programs/config.h: Don't define PARAMS.
35751 * stdlib/strtol_l.c: Likewise.
35752 (__strtol_l): Remove PARAMS from the prototype.
35754 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35756 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35757 names. Just use the correct names. Remove unnecessary wrapper
35759 * malloc/arena.c: Likewise.
35760 * malloc/hooks.c: Likewise.
35762 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35763 ARENA_TEST says not to. Simplify test for creation of a new arena.
35764 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35766 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35768 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35770 (update_get_addr): New function.
35771 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35772 GET_ADDR_MODULE parameter.
35774 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35776 * crypt/cert.c: Remove __STDC__ conditionals.
35777 * crypt/crypt-entry.c: Likewise.
35778 * crypt/crypt_util.c: Likewise.
35779 * libio/filedoalloc.c: Likewise.
35780 * libio/fileops.c: Likewise.
35781 * libio/genops.c: Likewise.
35782 * libio/iofclose.c: Likewise.
35783 * libio/iofdopen.c: Likewise.
35784 * libio/iofopen.c: Likewise.
35785 * libio/iofopen64.c: Likewise.
35786 * libio/iogetdelim.c: Likewise.
35787 * libio/iopopen.c: Likewise.
35788 * libio/obprintf.c: Likewise.
35789 * libio/oldfileops.c: Likewise.
35790 * libio/oldiofclose.c: Likewise.
35791 * libio/oldiofdopen.c: Likewise.
35792 * libio/oldiofopen.c: Likewise.
35793 * libio/oldiopopen.c: Likewise.
35794 * libio/wfiledoalloc.c: Likewise.
35795 * libio/wgenops.c: Likewise.
35796 * locale/programs/xmalloc.c: Likewise.
35797 * misc/syslog.c: Likewise.
35798 * stdio-common/xbug.c: Likewise.
35799 * string/memchr.c: Likewise.
35800 * string/memcmp.c: Likewise.
35801 * string/memrchr.c: Likewise.
35802 * string/rawmemchr.c: Likewise.
35803 * sysdeps/posix/getcwd.c: Likewise.
35804 * time/strftime_l.c: Likewise.
35806 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35808 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35809 * config.make.in (config-cflags-sse2avx): Define.
35810 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35813 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35815 * scripts/config.guess: Update from upstream config git repository.
35816 * scripts/config.sub: Likewise.
35818 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35820 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35822 (R_TILEPRO_*, R_TILEGX_*): New macros.
35824 * scripts/firstversions.awk: Fix bug in version range handling.
35826 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35828 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35830 * include/sys/epoll.h: New file.
35831 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35834 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35836 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35837 Avoid unnecessary __WORDSIZE == 64 test.
35838 (fmaxf): Use VEX format if possible.
35843 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35844 * math/math_private.h: Remove libc_fegetround* and
35846 * sysdeps/i386/configure.in: Check for -msse2avx.
35847 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35848 also if SSE2AVX is defined.
35849 Remove libc_fegetround* and libc_fesetround*.
35850 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35851 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35860 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35862 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35868 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35871 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35873 * Makeconfig (libm): Define.
35874 * elf/Makefile: Add rules to build and run tst-relsort1.
35875 * elf/tst-relsort1.c: New file.
35876 * elf/tst-relsort1mod1.c: New file.
35877 * elf/tst-relsort1mod2.c: New file.
35879 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35881 * math/s_ldexp.c: Remove __STDC__ conditionals.
35882 * math/s_ldexpf.c: Likewise.
35883 * math/s_ldexpl.c: Likewise.
35884 * math/s_nextafter.c: Likewise.
35885 * math/s_nexttowardf.c: Likewise.
35886 * math/s_significand.c: Likewise.
35887 * math/s_significandf.c: Likewise.
35888 * math/s_significandl.c: Likewise.
35889 * math/w_jnl.c: Likewise.
35890 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35891 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35892 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35893 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35894 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35907 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35911 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35912 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35913 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35914 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35915 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35916 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35917 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35918 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35919 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35920 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35921 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35922 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35924 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35925 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35926 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35927 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35928 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35929 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35930 * sysdeps/ieee754/k_standard.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35980 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35996 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35997 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36002 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36005 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36006 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36010 * sysdeps/ieee754/s_matherr.c: Likewise.
36011 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36016 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36018 * crypt/md5.h: Remove __STDC__ conditionals.
36019 * libio/libioP.h: Likewise.
36020 * locale/programs/config.h: Likewise.
36021 * sysdeps/generic/sysdep.h: Likewise.
36022 * sysdeps/i386/asm-syntax.h: Likewise.
36023 * sysdeps/s390/asm-syntax.h: Likewise.
36024 * sysdeps/unix/sysdep.h: Likewise.
36025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36028 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36030 * libio/libio.h: Remove __STDC__ conditionals.
36031 * malloc/obstack.h: Likewise.
36032 * math/complex.h: Likewise.
36033 * math/math.h: Likewise.
36034 * sysdeps/generic/_G_config.h: Likewise.
36035 * sysdeps/gnu/_G_config.h: Likewise.
36036 * sysdeps/mach/hurd/_G_config.h: Likewise.
36037 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36038 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36039 * sysdeps/sparc/bits/mathdef.h: Likewise.
36041 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36044 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36045 Clean up HAS_* macros.
36046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36047 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36057 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36059 * elf/tst-unique3.cc (gets): Remove declaration.
36060 * elf/tst-unique3lib.cc (gets): Likewise.
36061 * elf/tst-unique3lib2.cc (gets): Likewise.
36062 * elf/tst-unique4.cc (gets): Likewise.
36064 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36066 * include/stdio.h: Add C++ protection. Add gets declarations and
36068 * debug/tst-chk1.c: Don't declare gets here.
36069 * stdio-common/tst-gets.c: Likewise.
36071 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36073 * posix/glob: Remove directory.
36075 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36077 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36079 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36081 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36082 of the non-standard EPFNOSUPPORT.
36084 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36086 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36087 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36088 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36090 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36092 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36094 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36096 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36098 * nscd/grpcache.c (cache_addgr): Likewise.
36099 * nscd/hstcache.c (cache_addhst): Likewise.
36100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36101 * nscd/pwdcache.c (cache_addpw): Likewise.
36102 * nscd/servicescache.c (cache_addserv): Likewise.
36104 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36106 * malloc/malloc.c: Various cleanups.
36107 * malloc/hooks.c: Likewise.
36109 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36110 * stdlib/bug-fmtmsg1.c: New file.
36112 * stdlib/fmtmsg.c (init): Add missing unlock.
36113 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36115 2012-01-12 Marek Polacek <polacek@redhat.com>
36117 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36120 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36122 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36123 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36124 macro to ensure uniqueness of label name.
36125 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36126 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36128 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36132 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36133 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36137 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36139 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36141 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36142 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36143 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36145 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36148 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36149 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36152 * math/bits/math-finite.h: Add ldexp support.
36154 2012-01-10 Marek Polacek <polacek@redhat.com>
36156 * locale/programs/localedef.h (show_archive_content): Add noreturn
36159 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36161 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36163 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36165 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36167 * io/Makefile (headers): Add bits/poll2.h.
36169 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36172 typo #include statement.
36174 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36176 * include/sys/cdefs.h: Define __attribute_alloc_size.
36177 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36178 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36179 * elf/pldd.c: Likewise.
36180 * iconv/iconv_charmap.c: Likewise.
36181 * iconv/iconvconfig.c: Likewise.
36182 * iconv/strtab.c: Likewise.
36183 * locale/programs/locale.c: Likewise.
36184 * locale/programs/localedef.h: Likewise.
36185 * locale/programs/simple-hash.c: Likewise.
36186 * nscd/nscd.h: Likewise.
36187 * nss/makedb.c: Likewise.
36188 * sysdeps/generic/ldconfig.h: Likewise.
36189 * locale/programs/localedef.c: Remove xmalloc prototype.
36190 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36192 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36194 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36197 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36199 * math/Makefile (tests): Add tst-CMPLX.
36200 * math/tst-CMPLX.c: New file.
36202 * math/complex.h (CMPLXL): Fix typo.
36204 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36205 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36207 * debug/tst-chk1.c: Add poll and ppoll tests.
36208 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36209 * include/sys/poll.h: Add hidden proto for ppoll.
36210 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36211 * sysdeps/mach/hurd/ppoll.c: Likewise.
36212 * io/ppoll.c: Likewise.
36213 * debug/poll_chk.c: New file.
36214 * debug/ppoll_chk.c: New file.
36215 * include/bits/poll2.h: New file.
36216 * io/bits/poll2.h: New file.
36219 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36221 * configure.in: static is always set to yes. Remove.
36222 * config.make.in: Don't set build-static.
36223 * Makeconfig: Remove use of build-static.
36224 * dlfcn/Makefile: Likewise.
36225 * elf/Makefile: Likewise.
36226 * math/Makefile: Likewise.
36227 * misc/Makefile: Likewise.
36228 * nptl/Makefile: Likewise.
36229 * sysdeps/mach/hurd/Makefile: Likewise.
36231 * configure.in: PWD_P is not used anymore.
36232 * config.make.in: Remove PWD_P entry.
36234 * configure.in: Remove last remnants of RANLIB.
36235 No need to check for signed size_t anymore.
36236 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36238 Remove __builtin_expect test because we require at least gcc 3.4.
36239 * aclocal.m4: Likewise.
36241 * wcsmbs/mbrtoc16.c: Implement using towc function.
36242 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36243 * wcsmbs/wcsmbsload.c: Likewise.
36244 * iconv/gconv_simple.c: Likewise.
36245 * iconv/gconv_int.h: Likewise.
36246 * iconv/gconv_builtin.h: Likewise.
36247 * iconv/iconv_prog.c: Remove CHAR16 handling.
36249 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36251 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36253 * configure.in: Remove --with-elf and --enable-bounded options.
36254 Dont set base_machine for ia64. More non-ELF conditions removed.
36255 Remove testing and setting of leading underscore information.
36256 * config.make.in (build-bounded): Set to no.
36257 * config.h.in: Remove NO_UNDERSCORES entry.
36258 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36260 * csu/start.c: Remove !NO_UNDERSCORE code.
36261 * locale/localeinfo.h: Likewise.
36262 * sysdeps/generic/machine-gmon.h: Likewise.
36263 * sysdeps/generic/sysdep.h: Likewise.
36264 * sysdeps/i386/sysdep.h: Likewise.
36265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36266 * sysdeps/mach/sysdep.h: Likewise.
36267 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36269 * sysdeps/sh/sysdep.h: Likewise.
36270 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36271 * sysdeps/unix/i386/sysdep.S: Likewise.
36272 * sysdeps/unix/sparc/start.c: Likewise.
36273 * sysdeps/unix/sparc/sysdep.S: Likewise.
36274 * sysdeps/unix/sparc/sysdep.h: Likewise.
36275 * sysdeps/unix/start.c: Likewise.
36276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36277 * sysdeps/x86_64/sysdep.h: Likewise.
36279 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36282 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36284 * argp/argp-fmtstream.h: Use const instead __const.
36285 * argp/argp.h: Likewise.
36286 * assert/assert.h: Likewise.
36287 * bits/fenv.h: Likewise.
36288 * bits/sched.h: Likewise.
36289 * bits/sigset.h: Likewise.
36290 * bits/sigthread.h: Likewise.
36291 * catgets/nl_types.h: Likewise.
36292 * conform/data/pthread.h-data: Likewise.
36293 * crypt/crypt-private.h: Likewise.
36294 * crypt/crypt.h: Likewise.
36295 * crypt/crypt_util.c: Likewise.
36296 * ctype/ctype.h: Likewise.
36297 * debug/execinfo.h: Likewise.
36298 * debug/mbsnrtowcs_chk.c: Likewise.
36299 * debug/mbsrtowcs_chk.c: Likewise.
36300 * debug/wcsnrtombs_chk.c: Likewise.
36301 * debug/wcsrtombs_chk.c: Likewise.
36302 * debug/wcstombs_chk.c: Likewise.
36303 * dirent/dirent.h: Likewise.
36304 * dlfcn/dlfcn.h: Likewise.
36305 * elf/neededtest4.c: Likewise.
36306 * grp/grp.h: Likewise.
36307 * gshadow/gshadow.h: Likewise.
36308 * iconv/gconv.h: Likewise.
36309 * iconv/gconv_int.h: Likewise.
36310 * iconv/gconv_simple.c: Likewise.
36311 * iconv/iconv.h: Likewise.
36312 * iconv/loop.c: Likewise.
36313 * iconv/skeleton.c: Likewise.
36314 * include/aio.h: Likewise.
36315 * include/aliases.h: Likewise.
36316 * include/argz.h: Likewise.
36317 * include/arpa/inet.h: Likewise.
36318 * include/assert.h: Likewise.
36319 * include/dirent.h: Likewise.
36320 * include/dlfcn.h: Likewise.
36321 * include/execinfo.h: Likewise.
36322 * include/fcntl.h: Likewise.
36323 * include/fenv.h: Likewise.
36324 * include/glob.h: Likewise.
36325 * include/grp.h: Likewise.
36326 * include/libintl.h: Likewise.
36327 * include/mntent.h: Likewise.
36328 * include/netdb.h: Likewise.
36329 * include/pwd.h: Likewise.
36330 * include/rpc/netdb.h: Likewise.
36331 * include/sched.h: Likewise.
36332 * include/search.h: Likewise.
36333 * include/shadow.h: Likewise.
36334 * include/signal.h: Likewise.
36335 * include/stdio.h: Likewise.
36336 * include/stdlib.h: Likewise.
36337 * include/string.h: Likewise.
36338 * include/sys/socket.h: Likewise.
36339 * include/sys/stat.h: Likewise.
36340 * include/sys/statfs.h: Likewise.
36341 * include/sys/statvfs.h: Likewise.
36342 * include/sys/syslog.h: Likewise.
36343 * include/sys/time.h: Likewise.
36344 * include/sys/uio.h: Likewise.
36345 * include/time.h: Likewise.
36346 * include/unistd.h: Likewise.
36347 * include/utmp.h: Likewise.
36348 * include/wchar.h: Likewise.
36349 * include/wctype.h: Likewise.
36350 * inet/aliases.h: Likewise.
36351 * inet/arpa/inet.h: Likewise.
36352 * inet/netinet/ether.h: Likewise.
36353 * inet/netinet/in.h: Likewise.
36354 * intl/libintl.h: Likewise.
36355 * io/bits/fcntl2.h: Likewise.
36356 * io/fcntl.h: Likewise.
36357 * io/ftw.h: Likewise.
36358 * io/sys/poll.h: Likewise.
36359 * io/sys/stat.h: Likewise.
36360 * io/sys/statfs.h: Likewise.
36361 * io/sys/statvfs.h: Likewise.
36362 * io/utime.h: Likewise.
36363 * libio/bits/stdio.h: Likewise.
36364 * libio/bits/stdio2.h: Likewise.
36365 * libio/libio.h: Likewise.
36366 * libio/libioP.h: Likewise.
36367 * libio/stdio.h: Likewise.
36368 * locale/lc-ctype.c: Likewise.
36369 * locale/locale.h: Likewise.
36370 * login/utmp.h: Likewise.
36371 * malloc/arena.c: Likewise.
36372 * malloc/malloc.c: Likewise.
36373 * malloc/malloc.h: Likewise.
36374 * malloc/mcheck.c: Likewise.
36375 * malloc/mtrace.c: Likewise.
36376 * math/bits/mathcalls.h: Likewise.
36377 * math/fenv.h: Likewise.
36378 * math/math_private.h: Likewise.
36379 * misc/bits/error.h: Likewise.
36380 * misc/bits/syslog.h: Likewise.
36381 * misc/err.h: Likewise.
36382 * misc/error.h: Likewise.
36383 * misc/fstab.h: Likewise.
36384 * misc/mntent.h: Likewise.
36385 * misc/regexp.h: Likewise.
36386 * misc/search.h: Likewise.
36387 * misc/sgtty.h: Likewise.
36388 * misc/sys/mman.h: Likewise.
36389 * misc/sys/syslog.h: Likewise.
36390 * misc/sys/uio.h: Likewise.
36391 * misc/sys/xattr.h: Likewise.
36392 * misc/ttyent.h: Likewise.
36393 * nis/rpcsvc/ypclnt.h: Likewise.
36394 * nss/nss.h: Likewise.
36395 * posix/bits/unistd.h: Likewise.
36396 * posix/fnmatch.h: Likewise.
36397 * posix/glob.h: Likewise.
36398 * posix/sched.h: Likewise.
36399 * posix/spawn.h: Likewise.
36400 * posix/sys/wait.h: Likewise.
36401 * posix/unistd.h: Likewise.
36402 * posix/wordexp.h: Likewise.
36403 * pwd/pwd.h: Likewise.
36404 * resolv/netdb.h: Likewise.
36405 * resource/sys/resource.h: Likewise.
36406 * rt/aio.h: Likewise.
36407 * rt/bits/mqueue2.h: Likewise.
36408 * rt/mqueue.h: Likewise.
36409 * shadow/shadow.h: Likewise.
36410 * signal/signal.h: Likewise.
36411 * socket/send.c: Likewise.
36412 * socket/sendto.c: Likewise.
36413 * socket/sys/socket.h: Likewise.
36414 * stdio-common/printf.h: Likewise.
36415 * stdlib/bits/stdlib.h: Likewise.
36416 * stdlib/fmtmsg.h: Likewise.
36417 * stdlib/monetary.h: Likewise.
36418 * stdlib/stdlib.h: Likewise.
36419 * stdlib/ucontext.h: Likewise.
36420 * streams/stropts.h: Likewise.
36421 * string/argz.h: Likewise.
36422 * string/bits/string2.h: Likewise.
36423 * string/string.h: Likewise.
36424 * string/strings.h: Likewise.
36425 * sunrpc/rpc/auth.h: Likewise.
36426 * sunrpc/rpc/auth_des.h: Likewise.
36427 * sunrpc/rpc/clnt.h: Likewise.
36428 * sunrpc/rpc/netdb.h: Likewise.
36429 * sunrpc/rpc/pmap_clnt.h: Likewise.
36430 * sunrpc/rpc/xdr.h: Likewise.
36431 * sysdeps/generic/inttypes.h: Likewise.
36432 * sysdeps/generic/net/if.h: Likewise.
36433 * sysdeps/generic/sys/swap.h: Likewise.
36434 * sysdeps/gnu/net/if.h: Likewise.
36435 * sysdeps/gnu/utmpx.h: Likewise.
36436 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36437 * sysdeps/i386/i486/bits/string.h: Likewise.
36438 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36439 * sysdeps/s390/bits/string.h: Likewise.
36440 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36441 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36442 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36443 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36444 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36445 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36446 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36447 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36448 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36449 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36450 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36451 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36452 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36453 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36454 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36455 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36456 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36461 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36462 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36463 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36464 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36465 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36466 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36467 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36468 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36469 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36470 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36471 * sysvipc/sys/ipc.h: Likewise.
36472 * sysvipc/sys/msg.h: Likewise.
36473 * sysvipc/sys/sem.h: Likewise.
36474 * sysvipc/sys/shm.h: Likewise.
36475 * termios/termios.h: Likewise.
36476 * time/sys/time.h: Likewise.
36477 * time/time.h: Likewise.
36478 * wcsmbs/bits/wchar2.h: Likewise.
36479 * wcsmbs/uchar.h: Likewise.
36480 * wcsmbs/wchar.h: Likewise.
36481 * wctype/wctype.h: Likewise.
36484 * Makeconfig: Remove all but ELF support including AIX support.
36485 * Makerules: Likewise.
36486 * config.h.in: Likewise.
36487 * config.make.in: Likewise.
36488 * configure: Likewise.
36489 * configure.in: Likewise.
36490 * csu/Makefile: Likewise.
36491 * csu/version.c: Likewise.
36492 * debug/Makefile: Likewise.
36493 * dlfcn/Makefile: Likewise.
36494 * elf/Makefile: Likewise.
36495 * extra-lib.mk: Likewise.
36496 * iconv/Makefile: Likewise.
36497 * include/libc-symbols.h: Likewise.
36498 * include/shlib-compat.h: Likewise.
36499 * resolv/Makefile: Likewise.
36500 * resolv/res_libc.c: Likewise.
36501 * rt/Makefile: Likewise.
36502 * sysdeps/i386/asm-syntax.h: Likewise.
36503 * sysdeps/i386/sysdep.h: Likewise.
36504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36505 * sysdeps/mach/sysdep.h: Likewise.
36506 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36507 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36508 * sysdeps/s390/asm-syntax.h: Likewise.
36509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36511 * sysdeps/sh/sysdep.h: Likewise.
36512 * sysdeps/unix/sparc/sysdep.h: Likewise.
36513 * sysdeps/wordsize-32/divdi3.c: Likewise.
36514 * sysdeps/x86_64/sysdep.h: Likewise.
36516 * argp/Versions: Remove _argp_unlock_xxx.
36519 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36520 * abilist/libBrokenLocale.abilist: Likewise.
36521 * abilist/libanl.abilist: Likewise.
36522 * abilist/libc.abilist: Likewise.
36523 * abilist/libcrypt.abilist: Likewise.
36524 * abilist/libdl.abilist: Likewise.
36525 * abilist/libm.abilist: Likewise.
36526 * abilist/libnsl.abilist: Likewise.
36527 * abilist/libpthread.abilist: Likewise.
36528 * abilist/libresolv.abilist: Likewise.
36529 * abilist/librt.abilist: Likewise.
36530 * abilist/libthread_db.abilist: Likewise.
36531 * abilist/libutil.abilist: Likewise.
36532 * abilist/libnss_db.abilist: New file.
36534 * scripts/abilist.awk: Add support for indirect functions.
36536 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36538 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36540 * shlib-versions: Remove entries for ports architectures.
36542 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36544 * elf/stackguard-macros.h: Remove support for IA-64.
36545 * elf/tst-auditmod1.c: Likewise.
36546 * sysdeps/generic/ldsodefs.h: Likewise.
36548 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36549 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36553 * configure.in: Remove --enable-omitfp support.
36555 * config.make.in: Likewise.
36556 * Makeconfig: Likewise.
36557 * manual/install.texi: Likewise.
36559 In case anyone cares, the IA-64 architecture could move to ports.
36560 * sysdeps/ia64/*: Removed.
36561 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36562 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36565 * configure.in: Remove entries for unsupported architectures.
36568 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36569 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36571 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36572 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36573 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36574 fall back to using wcrtomb.
36575 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36576 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36578 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36579 * wcsmbs/tst-c16c32-1.c: New file.
36581 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36584 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36586 * elf/tst-unique3.cc: Add explicit declaration of gets.
36587 * elf/tst-unique3lib.cc: Likewise.
36588 * elf/tst-unique3lib2.cc: Likewise.
36589 * elf/tst-unique4.cc: Likewise.
36591 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36593 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36596 * assert/assert.h (static_assert): Don't define for C++.
36597 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36598 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36600 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36602 * iconv/loop.c (single loop): Fix assertion in storing of
36605 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36607 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36609 * posix/getconf.c: Update copyright year.
36610 * nss/getent.c: Likewise.
36611 * nss/makedb.c: Likewise.
36612 * iconv/iconvconfig.c: Likewise.
36613 * iconv/iconv_prog.c: Likewise.
36614 * elf/ldconfig.c: Likewise.
36615 * elf/pldd.c: Likewise.
36616 * elf/sotruss.ksh: Likewise.
36617 * catgets/gencat.c: Likewise.
36618 * csu/version.c: Likewise.
36619 * elf/ldd.bash.in: Likewise.
36620 * elf/sprof.c (print_version): Likewise.
36621 * locale/programs/locale.c: Likewise.
36622 * locale/programs/localedef.c: Likewise.
36623 * login/programs/pt_chown.c: Likewise.
36624 * nscd/nscd.c (print_version): Likewise.
36625 * debug/xtrace.sh: Likewise.
36626 * malloc/memusage.sh: Likewise.
36627 * malloc/mtrace.pl: Likewise.
36628 * debug/catchsegv.sh: Likewise.
36630 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36632 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36635 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36638 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36639 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36641 * iconv/gconv_int.h: Likewise.
36642 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36643 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36644 from libc for GLIBC_2.16.
36645 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36646 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36647 * wcsmbs/uchar.h: Really define mbstate_t.
36648 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36649 * wcsmbs/c16rtomb.c: New file.
36650 * wcsmbs/mbrtoc16.c: New file.
36651 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36652 for C/POSIX locale.
36653 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36654 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36656 * wcsmbs/wchar.h: Add missing __restrict.
36658 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36661 * time/Makefile (routines): Add timespec_get.
36662 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36663 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36664 timespec for ISO C11.
36665 * time/timespec_get.c: New file.
36666 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36667 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36670 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36671 * stdlib/stdlib.h: Declare aligned_alloc.
36672 * Versions.def: Add GLIBC_2.16 for libc.
36673 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36676 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36679 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36683 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36686 * assert/assert.h (static_assert): Define.
36688 * version.h: Update for 2.16 development version.
36691 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36694 * version.h (RELEASE): Bump for 2.15 release.
36695 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36697 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36698 Patch by Marek Polacek <mpolacek@redhat.com>.
36700 * bits/byteswap.h: Protect long long constants with __extension__.
36701 * sysdeps/i386/bits/byteswap.h: Likewise.
36702 * sysdeps/ia64/bits/byteswap.h: Likewise.
36703 * sysdeps/s390/bits/byteswap.h: Likewise.
36704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36706 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36710 destination buffer.
36711 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36713 2011-12-23 Marek Polacek <polacek@redhat.com>
36715 * elf/dl-addr.c (determine_info): Add inline keyword.
36716 * elf/tst-auditmod4b.c (check_avx): Likewise.
36717 * elf/tst-auditmod6b.c (check_avx): Likewise.
36718 * elf/tst-auditmod6c.c (check_avx): Likewise.
36719 * elf/tst-auditmod7b.c (check_avx): Likewise.
36721 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36723 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36726 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36729 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36730 processing for last bytes.
36732 2011-08-06 Bruno Haible <bruno@clisp.org>
36735 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36736 U+0385, not to U+1FEE.
36739 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36740 entry for U+00A5 U+0301.
36742 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36745 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36746 buffer for the output is too small.
36748 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36752 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36753 SSE flags if possible.
36755 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36759 processing for last bytes.
36761 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36764 (syscall-list-default-options, syscall-list-default-condition)
36765 (syscall-list-includes): Define.
36766 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36767 list of ABIs and options and #if conditions for each ABI. Do not
36768 handle common syscalls between ABIs specially.
36769 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36771 (syscall-list-variants, syscall-list-32bit-options)
36772 (syscall-list-32bit-condition, syscall-list-64bit-options)
36773 (syscall-list-64bit-condition): Define.
36774 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36775 (syscall-list-variants, syscall-list-32bit-options)
36776 (syscall-list-32bit-condition, syscall-list-64bit-options)
36777 (syscall-list-64bit-condition): Define.
36778 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36780 (syscall-list-variants, syscall-list-32bit-options)
36781 (syscall-list-32bit-condition, syscall-list-64bit-options)
36782 (syscall-list-64bit-condition): Define.
36783 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36785 (syscall-list-variants, syscall-list-32bit-options)
36786 (syscall-list-32bit-condition, syscall-list-64bit-options)
36787 (syscall-list-64bit-condition): Define.
36789 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36791 * locale/iso-639.def: Add brx entry.
36794 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36795 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36797 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36798 __feraiseexcept_renamed.
36800 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36803 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36804 EPOLLET with unsigned values.
36805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36808 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36809 to large cancellation.
36810 * math/s_cacoshf.c: Likewise.
36811 * math/s_cacoshl.c: Likewise.
36813 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36817 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36818 * math/s_cacoshf.c: Likewise.
36819 * math/s_cacoshl.c: Likewise.
36821 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36824 * iconv/gconv.h: Define __GCONV_SWAP.
36825 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36826 * iconvdata/utf-16.c: Likewise.
36827 * iconvdata/utf-32.c: Likewise.
36829 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36832 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36833 numerator after shifting it by one limb.
36835 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36837 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36838 under [__USE_EXTERN_INLINES].
36840 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36843 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36845 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36847 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36848 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36850 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36851 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36852 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36853 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36854 for strncasecmp/strncasecmp_l compilation.
36855 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36856 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36858 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36861 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36864 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36867 * time/tzfile.c (__tzfile_read): Check values from file header.
36869 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36871 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36872 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36873 * powerpc/powerpc32/dl-start.S: Likewise.
36874 * powerpc/powerpc32/elf/start.S: Likewise.
36875 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36876 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36877 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36878 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36879 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36880 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36881 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36882 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36883 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36884 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36885 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36886 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36887 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36888 * powerpc/powerpc32/memset.S: Likewise.
36889 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36890 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36891 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36892 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36893 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36894 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36895 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36896 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36897 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36898 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36899 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36903 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36905 * math/libm-test.inc: Added more nearbyint tests.
36906 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36911 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36913 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36916 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36918 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36919 Add wcscpy-ssse3 wcscpy-c.
36920 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36921 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36922 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36923 * sysdeps/x86_64/wcschr.S: New file.
36924 * sysdeps/x86_64/wcsrchr.S: New file.
36925 * string/test-strcmp.c: Remove checking of wcscmp function for
36927 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36928 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36929 wcsrchr-sse2 wcsrchr-c.
36930 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36931 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36932 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36933 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36934 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36935 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36936 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36937 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36938 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36939 * wcsmbc/wcschr.c (WCSCHR): New macro.
36941 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36943 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36944 * wcsmbs/test-wcsrchr.c: New file.
36945 * string/test-strrchr.c: Add wcsrchr support.
36947 * wcsmbs/test-wcscpy.c: New file.
36948 * string/test-strcpy.c: Add wcscpy support.
36951 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36953 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36956 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36959 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36961 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36964 Minor optimizations.
36966 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36967 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36968 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36970 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36972 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36973 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36974 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36975 for gcc to avoid warnings.
36976 * inet/Makefile (tests): Add tst-checks.
36977 * inet/tst-checks.c: New file.
36979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36982 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36985 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36986 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36988 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36990 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36992 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36995 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36997 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36999 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37000 conditional on GCC version.
37001 (__arch_compare_and_exchange_val_8_acq)
37002 (__arch_compare_and_exchange_val_16_acq)
37003 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37004 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37005 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37007 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37009 * sysdeps/sh/backtrace.c: New file.
37011 2011-12-02 Andreas Schwab <schwab@redhat.com>
37013 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37016 2011-12-01 Andreas Schwab <schwab@redhat.com>
37018 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37019 falling back to utime.
37021 2011-11-30 Andreas Schwab <schwab@redhat.com>
37023 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37024 expectations for float.
37026 2011-11-29 Andreas Schwab <schwab@redhat.com>
37028 * locale/weight.h (findidx): Add parameter len.
37029 * locale/weightwc.h (findidx): Likewise.
37030 * posix/fnmatch_loop.c (FCT): Adjust caller.
37031 * posix/regcomp.c (build_equiv_class): Likewise.
37032 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37033 * posix/regexec.c (check_node_accept_bytes): Likewise.
37034 * string/strcoll_l.c (STRCOLL): Likewise.
37035 * string/strxfrm_l.c (STRXFRM): Likewise.
37037 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37039 * Makefile.in: Remove CVSOPT handling.
37040 * configure.in: Remove use of AC_REVISION.
37041 * iconvdata/Makefile (distribute): No need to filter out CVS.
37042 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37045 2011-11-16 Andreas Schwab <schwab@redhat.com>
37047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37048 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37049 [USE_AS_STRNCASECMP_L]: Likewise.
37050 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37051 NO_TLS_DIRECT_SEG_REFS.
37052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37053 Fix argument offsets for non-PIC.
37054 [USE_AS_STRNCASECMP_L]: Likewise.
37055 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37056 NO_TLS_DIRECT_SEG_REFS.
37058 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37060 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37062 * locale/loadlocale.c (_nl_load_locale): Likewise.
37064 2011-11-15 Andreas Schwab <schwab@redhat.com>
37066 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37067 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37069 (SYSCALL_GETTIME): Set errno on error.
37071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37072 count references to noai6ai_cached.
37074 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37076 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37078 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37079 FD_CLOEXEC for /proc/self/maps.
37081 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37082 FD_CLOEXEC for /proc/meminfo.
37084 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37087 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37088 FD_CLOEXEC for given file.
37090 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37092 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37093 FD_CLOEXEC for /etc/hosts.
37094 (_gethtent): Likewise.
37096 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37098 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37099 cancellation and set FD_CLOEXEC for /etc/netgroup.
37101 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37102 reading /etc/publickey.
37104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37105 allow cancellation when reading /etc/group.
37107 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37109 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37111 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37112 when using data file.
37114 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37116 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37117 (write_nis_obj): Use "c" and "e" in fopen.
37119 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37121 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37123 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37125 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37127 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37130 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37132 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37134 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37136 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37137 file parsing and set FD_CLOEXEC.
37139 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37141 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37143 2011-11-14 Andreas Schwab <schwab@redhat.com>
37145 * malloc/arena.c (arena_get2): Don't call reused_arena when
37146 _int_new_arena failed.
37148 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37151 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37156 to compile strcasecmp and strncasecmp.
37157 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37158 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37162 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37164 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37165 locale-defines.sym to gen-as-const-headers.
37166 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37167 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37169 to compile strcasecmp and strncasecmp.
37170 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37171 strcasecmp_l and strncasecmp_l.
37172 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37173 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37174 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37175 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37176 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37177 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37178 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37179 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37180 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37181 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37182 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37184 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37186 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37187 result of SYSDEP_GETTIME_CPU to retval.
37188 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37189 parameter list to macro. Remove trailing semicolon. Adjust users.
37191 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37194 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37196 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37199 from unused variable.
37201 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37203 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37206 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37209 * sunrpc/rpc_prot.c (rejected): Fix case value.
37211 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37212 unsigned long long int to avoid warnings in shift.
37214 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37216 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37219 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37220 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37221 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37223 * nis/nis_table.c (nis_list): Use variable of correct type for
37224 result of __follow_path call.
37226 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37228 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37229 of math functions ceil, trunc, floor, round, and sqrt, when
37230 avaliable on the platform.
37231 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37233 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37234 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37235 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37237 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37239 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37242 2011-11-11 Roland McGrath <roland@hack.frob.com>
37244 * include/unistd.h: Fix __readlink return type.
37245 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37247 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37249 * stdlib/ucontext.h: Undo last change for makecontext.
37251 2011-11-11 Andreas Schwab <schwab@redhat.com>
37253 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37255 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37256 * setjmp/setjmp.h: Mark functions as non-leaf.
37257 * setjmp/bits/setjmp2.h: Likewise.
37258 * stdlib/ucontext.h: Likewise.
37260 2011-11-10 Andreas Schwab <schwab@redhat.com>
37262 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37263 (reused_arena): Don't check arena limit.
37264 (arena_get2): Atomically check arena limit.
37266 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37268 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37269 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37274 2011-11-07 Andreas Schwab <schwab@redhat.com>
37276 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37277 handler when locking.
37279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37280 Fix size of allocated buffer.
37282 2011-11-04 Andreas Schwab <schwab@redhat.com>
37285 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37286 declarations for long double functions.
37287 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37289 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37291 2011-11-03 Andreas Schwab <schwab@redhat.com>
37293 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37296 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37299 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37301 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37303 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37305 * include/alloca.h (stackinfo_alloca_round): Define.
37306 (extend_alloca): Use it.
37307 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37308 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37311 * scripts/check-local-headers.sh: Ignore libaudit.h.
37313 * nscd/Makefile (extra-objs): Make recursively expanded.
37315 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37317 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37318 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37320 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37321 * posix/tst-rfc3484-2.c: Likewise.
37322 * posix/tst-rfc3484-3.c: Likewise.
37324 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37326 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37328 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37329 process_vm_writev from libc using GLIBC_2.15 version.
37331 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37333 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37335 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37338 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37341 * nss/getent.c (initgroups_keys): Show error message in case no group
37344 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37345 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37346 __bump_nl_timestamp.
37347 * nscd/connections (nscd_init): When host database is served open
37348 netlink socket and request notification about configuration changes.
37349 (main_loop_poll): Track netlink file descriptor and bump timestamp
37350 in case data becomes available.
37351 (main_loop_epoll): Likewise.
37352 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37353 (database_pers_head): Add extra_data fileds.
37354 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37356 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37359 in6ai data, call __free_in6ai.
37360 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37361 Add -DHAVE_NETLINK.
37362 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37363 interface information. Reuse previous data if netlink timestamp
37365 (__bump_nl_timestamp): New function.
37366 (__free_in6ai): New function.
37368 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37370 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37371 close_not_cancel_no_status here.
37372 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37374 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37377 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37380 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37381 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37382 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37384 2011-07-03 Andreas Jaeger <aj@suse.de>
37387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37388 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37389 * math/libm-test.inc (sin_test): Add test case.
37391 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37394 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37395 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37397 * elf/chroot_canon.c (chroot_canon): Cleanups.
37399 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37402 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37403 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37405 * string/test-strchr.c: Make usable for strchrnul testing.
37406 * string/test-strchrnul.c: New file.
37407 * string/Makefile (strop-tests): Add strchrnul.
37409 * po/it.po: Update from translation team.
37410 * po/es.po: Likewise.
37412 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37415 the three constants needed as parameters. Drop the others.
37416 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37417 __m128i_strloadu_tolower.
37418 Create and initialize variable zero and use it in all the places
37419 where _mm_setzero_si128 was used.
37421 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37422 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37423 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37424 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37426 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37429 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37430 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37431 __mpranred, __mptan.
37432 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37433 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37434 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37435 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37439 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37440 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37442 2011-10-28 Andreas Schwab <schwab@redhat.com>
37444 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37445 redefine if SHARED.
37446 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37449 wide char related routines to wcsmbs subdir.
37451 2011-10-27 Andreas Schwab <schwab@redhat.com>
37454 * misc/sys/cdefs.h (__THROWNL): Define.
37455 * posix/unistd.h: Use __THREADNL instead of __THREAD
37456 for memory synchronization functions.
37458 2011-10-26 Roland McGrath <roland@hack.frob.com>
37461 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37463 * manual/stdio.texi (Obstack Streams): Node removed.
37465 2011-10-26 Andreas Schwab <schwab@redhat.com>
37467 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37468 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37469 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37471 * math/math_private.h (math_force_eval): Allow non-addressable
37473 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37475 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37477 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37478 file is not needed.
37480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37489 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37490 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37491 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37492 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37493 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37494 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37495 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37497 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37498 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37499 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37500 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37502 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37503 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37504 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37506 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37507 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37509 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37510 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37512 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37513 place. Use VEX encoding when compiling for AVX.
37515 2011-10-25 Andreas Schwab <schwab@redhat.com>
37517 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37518 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37520 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37522 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37524 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37525 useless if() expression.
37526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37536 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37537 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37538 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37540 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37542 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37546 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37548 2011-10-25 Andreas Schwab <schwab@redhat.com>
37550 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37552 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37554 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37556 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37557 .text section. Avoid duplicate constants.
37558 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37568 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37570 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37573 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37575 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37582 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37583 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37584 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37598 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37599 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37600 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37601 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37602 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37604 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37606 * sysdeps/x86_64/dla.h: Move to ...
37607 * sysdeps/x86_64/fpu/dla.h: ...here.
37608 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37609 situations. Use __builtin_fma only for gcc 4.6 and up.
37611 * config.make.in: Add have-mfma4 entry.
37612 * configure.in: Substitute libc_cv_cc_fma4.
37613 * math/Makefile (dbl-only-routines): Add sincostab.
37614 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37615 Use __sincostab not sincos.
37616 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37623 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37624 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37625 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37626 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37628 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37629 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37631 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37632 define aliases when function name is a macro.
37633 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37634 sysdeps/ieee754/dbl-64/sincos.tbl.
37635 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37636 fma4-enabled routines.
37637 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37638 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37639 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37640 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37642 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37643 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37644 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37645 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37646 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37647 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37649 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37650 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37651 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37652 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37653 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37654 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37655 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37657 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37658 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37659 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37668 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37679 2011-10-24 Andreas Schwab <schwab@redhat.com>
37681 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37683 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37687 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37691 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37692 Remove unused variable magic_bits.
37693 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37695 * string/strnlen.c: Define and use STRNLEN macro.
37696 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37697 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37699 * wcsmbs/wcslen.c: Define and use WCSLEN.
37700 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37701 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37702 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37703 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37704 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37705 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37706 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37708 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37711 strnlen-sse2-no-bsf.
37712 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37714 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37715 Add strnlen support.
37716 (USE_AS_STRNLEN): New macro.
37717 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37718 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37719 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37720 * sysdeps/x86_64/wcslen.S: New file.
37722 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37725 XMM-moves are used for copying on small sizes.
37727 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37729 * wcsmbs/Makefile (strop-tests): Add wcschr.
37730 * wcsmbs/test-wcschr.c: New file.
37731 * string/test-strchr.c: Update.
37732 Add wcschr support.
37735 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37737 * wcsmbs/Makefile (strop-tests): Add wcslen.
37738 * wcsmbs/test-wcslen.c: New file.
37739 * string/test-strlen.c: Update.
37740 Add wcslen support.
37743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37745 * po/it.po: Update from translation team.
37747 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37749 * sysdeps/x86_64/wcscmp.S: Update.
37750 Fix wrong comparison semantics.
37751 wcscmp shall use signed comparison not unsigned.
37752 Don't use substraction to avoid overflow bug.
37753 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37754 * wcsmbc/wcscmp.c: Likewise.
37755 * string/test-strcmp.c: Likewise.
37756 Add new tests to check cases with negative values.
37758 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37760 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37761 * sysdeps/x86_64/dla.h: ...here. New file.
37762 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37772 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37775 __ynl_finite aliases.
37777 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37781 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37783 [DLA_FMA] (EMULV): Use DLA_FMA.
37784 [DLA_FMA] (MUL12): Use EMULV.
37785 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37786 that are not needed.
37787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37795 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37797 * math/s_nan.c: Undef __nan.
37798 * math/s_nanf.c: Undef __nanf.
37799 * math/s_nanl.c: Undef __nanl.
37800 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37803 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37805 * math/s_catan.c: Add branch predictions.
37806 * math/s_catanf.c: Likewise.
37807 * math/s_catanh.c: Likewise.
37808 * math/s_catanhf.c: Likewise.
37809 * math/s_catanhl.c: Likewise.
37810 * math/s_catanl.c: Likewise.
37811 * math/s_cexp.c: Likewise.
37812 * math/s_cexpf.c: Likewise.
37813 * math/s_cexpl.c: Likewise.
37814 * math/s_clog.c: Likewise.
37815 * math/s_clog10.c: Likewise.
37816 * math/s_clog10f.c: Likewise.
37817 * math/s_clog10l.c: Likewise.
37818 * math/s_clogf.c: Likewise.
37819 * math/s_clogl.c: Likewise.
37820 * math/s_csqrt.c: Likewise.
37821 * math/s_csqrtf.c: Likewise.
37822 * math/s_csqrtl.c: Likewise.
37823 * math/s_ctanf.c: Likewise.
37824 * math/s_ctanh.c: Likewise.
37825 * math/s_ctanhf.c: Likewise.
37826 * math/s_ctanhl.c: Likewise.
37827 * math/s_ctanl.c: Likewise.
37829 * math/math_private.h: Define __nan, __nanf, __nanl.
37830 * math/s_cacosh.c: Include <math_private.h>.
37831 * math/s_cacoshl.c: Likewise.
37832 * math/s_casinh.c: Likewise.
37833 * math/s_casinhf.c: Likewise.
37834 * math/s_casinhl.c: Likewise.
37835 * math/s_ccos.c: Rely entire on ccosh.
37836 * math/s_ccosf.c: Rely entire on ccoshf.
37837 * math/s_ccosl.c: Rely entirely on ccoshl.
37838 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37839 Remove tests for FE_INVALID.
37840 * math/s_ccoshf.c: Likewise.
37841 * math/s_ccoshl.c: Likewise.
37842 * math/s_csin.c: Likewise.
37843 * math/s_csinf.c: Likewise.
37844 * math/s_csinh.c Likewise.
37845 * math/s_csinhf.c: Likewise.
37846 * math/s_csinhl.c: Likewise.
37847 * math/s_csinl.c: Likewise.
37848 * math/s_ctan.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37850 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37851 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37853 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37856 compilation problems.
37858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37861 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37863 * sysdeps/i386/configure.in: Test for -mfma4 option.
37864 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37865 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37866 COMMON_CPUID_INDEX_80000001.
37867 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37868 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37869 use it if FMA3 is not supported.
37870 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37872 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37873 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37875 2011-10-20 Andreas Schwab <schwab@redhat.com>
37878 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37879 it would create a cycle with a link time dependency.
37881 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37883 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37885 * string/Makefile (strop-tests): Add rawmemchr.
37886 * string/test-rawmemchr.c: New file.
37888 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37890 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37891 when compiling str{,n}casecmp and when AVX is available. Hook up
37892 new optimized code in initializers.
37894 2011-10-19 Andreas Schwab <schwab@redhat.com>
37896 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37897 __feraiseexcept instead of feraiseexcept.
37899 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37901 * math/math_private.h: Define defaults for libc_fetestexcept and
37903 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37904 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37905 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37906 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37907 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37908 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37909 libc_fetestexcept and libc_feupdateenv.
37911 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37912 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37913 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37914 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37915 libc_feholdexcept_setround.
37917 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37918 Add s_nearbyint-c and s_nearbyintf-c.
37919 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37920 nearbyintf inlines.
37921 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37922 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37923 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37926 * math/math_private.h: Define defaults for libc_fegetround,
37927 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37928 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37929 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37930 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37931 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37932 standard functions.
37933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37934 Remove comments and hacks for old compiler versions.
37935 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37936 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37937 libc_feholdexceptl.
37939 2011-10-18 Andreas Schwab <schwab@redhat.com>
37941 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37942 (__feraiseexcept_renamed): Add __NTH.
37943 (feraiseexcept): Add __NTH. Rename local variables to fix
37944 namespace violations.
37946 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37950 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37952 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37953 recently added interfaces.
37954 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37956 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37957 about macro parameter expansion.
37959 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37960 __NO_MATH_INLINES is defined. Cleanups.
37962 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37963 and __floorf is target has SSE4.1.
37964 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37965 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37966 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37969 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37971 (floorf): Likewise.
37973 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37975 2011-10-17 Andreas Schwab <schwab@redhat.com>
37977 * misc/sys/cdefs.h: Fix last change.
37979 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37982 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37984 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37986 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37987 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37991 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37993 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37994 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37995 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37996 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37997 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37998 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37999 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38000 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38001 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38002 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38003 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38004 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38005 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38006 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38007 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38009 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38010 ceil, ceilf, floor, floorf.
38012 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38013 Perform IRELATIVE relocations last.
38015 * elf/do-rel.h: Add another parameter nrelative, replacing the
38016 local variable with the same name. Change name of the function
38017 to end in Rel or Rela (uppercase).
38018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38019 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38020 elf_dynamic_do_##reloc function.
38022 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38024 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38025 is sufficient, at least on modern CPUs.
38027 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38029 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38030 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38032 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38034 * math/bits/math-finite.h: Add entries for exp.
38035 * math/e_expl.c: Add __*_finite alias.
38036 * sysdeps/i386/fpu/e_exp.S: Likewise.
38037 * sysdeps/i386/fpu/e_expf.S: Likewise.
38038 * sysdeps/i386/fpu/e_expl.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38040 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38043 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38044 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38045 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38047 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38048 is sufficient, at least on modern CPUs.
38050 * ctype/ctype-info.c (__ctype_init): Define.
38051 * include/ctype.h (__ctype_init): Declare.
38052 (__ctype_b_loc): The variable is always initialized.
38053 (__ctype_toupper_loc): Likewise.
38054 (__ctype_tolower_loc): Likewise.
38055 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38056 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38058 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38060 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38062 * configure.in: Also look in $cxxmachine/include for C++ system
38065 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38067 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38068 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38069 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38070 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38072 (USE_AS_WMEMCMP): New macro.
38074 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38075 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38076 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38077 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38079 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38080 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38081 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38082 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38083 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38085 (USE_AS_WMEMCMP): New macro.
38086 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38087 * sysdeps/string/test-memcmp.c: Update.
38088 Fix simple_wmemcmp.
38090 * wcsmbs/wmemcmp.c: Update.
38091 (WMEMCMP): New macro.
38094 2011-10-12 Andreas Jaeger <aj@suse.de>
38097 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38099 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38101 * libio/iofwide.c (do_length): Avoid warning.
38103 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38105 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38107 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38109 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38110 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38111 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38112 * sysdeps/i386/i686/fpu/e_log.S: New file.
38113 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38114 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38116 * ctype/ctype.h: Add support for inlined isXXX functions when
38117 compiling C++ code.
38119 2011-10-14 Andreas Schwab <schwab@redhat.com>
38121 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38123 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38125 2011-10-13 Roland McGrath <roland@hack.frob.com>
38128 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38130 2011-10-13 Andreas Schwab <schwab@redhat.com>
38132 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38133 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38136 * sysdeps/x86_64/memrchr.S: Check for zero size.
38138 * string/stratcliff.c: Add memrchr tests.
38140 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38143 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38144 rawmemchr-sse2 rawmemchr-sse2-bsf.
38145 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38146 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38147 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38148 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38149 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38150 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38151 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38152 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38153 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38154 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38155 * string/memrchr.c (MEMRCHR): New macro.
38157 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38159 Add integration with gcc's -ffinite-math-only and optimize wrapper
38161 * Versions.def: Define GLIBC_2.15 version for libm.
38162 * math/Makefile (headers): Add bits/math-finite.h.
38163 * math/bits/math-finite.h: New file.
38164 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38165 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38166 * math/e_acoshl.c: Add __*_finite alias.
38167 * math/e_acosl.c: Likewise.
38168 * math/e_asinl.c: Likewise.
38169 * math/e_atan2l.c: Likewise.
38170 * math/e_atanhl.c: Likewise.
38171 * math/e_coshl.c: Likewise.
38172 * math/e_exp10.c: Likewise.
38173 * math/e_exp10f.c: Likewise.
38174 * math/e_exp10l.c: Likewise.
38175 * math/e_exp2l.c: Likewise.
38176 * math/e_fmodl.c: Likewise.
38177 * math/e_gammal_r.c: Likewise.
38178 * math/e_hypotl.c: Likewise.
38179 * math/e_j0l.c: Likewise.
38180 * math/e_j1l.c: Likewise.
38181 * math/e_jnl.c: Likewise.
38182 * math/e_lgammal_r.c: Likewise.
38183 * math/e_log10l.c: Likewise.
38184 * math/e_log2l.c: Likewise.
38185 * math/e_logl.c: Likewise.
38186 * math/e_powl.c: Likewise.
38187 * math/e_sinhl.c: Likewise.
38188 * math/e_sqrtl.c: Likewise.
38189 * math/e_scalb.c: Completely rewritten and optimized.
38190 * math/e_scalbf.c: Likewise.
38191 * math/e_scalbl.c: Likewise.
38192 * math/w_acos.c: Likewise.
38193 * math/w_acosf.c: Likewise.
38194 * math/w_acosl.c: Likewise.
38195 * math/w_acosh.c: Likewise.
38196 * math/w_acoshf.c: Likewise.
38197 * math/w_acoshl.c: Likewise.
38198 * math/w_asin.c: Likewise.
38199 * math/w_asinf.c: Likewise.
38200 * math/w_asinl.c: Likewise.
38201 * math/w_atan2.c: Likewise.
38202 * math/w_atan2f.c: Likewise.
38203 * math/w_atan2l.c: Likewise.
38204 * math/w_atanh.c: Likewise.
38205 * math/w_atanhf.c: Likewise.
38206 * math/w_atanhl.c: Likewise.
38207 * math/w_exp10.c: Likewise.
38208 * math/w_exp10f.c: Likewise.
38209 * math/w_exp10l.c: Likewise.
38210 * math/w_fmod.c: Likewise.
38211 * math/w_fmodf.c: Likewise.
38212 * math/w_fmodl.c: Likewise.
38213 * math/w_j0.c: Likewise.
38214 * math/w_j0f.c: Likewise.
38215 * math/w_j0l.c: Likewise.
38216 * math/w_j1.c: Likewise.
38217 * math/w_j1f.c: Likewise.
38218 * math/w_j1l.c: Likewise.
38219 * math/w_jn.c: Likewise.
38220 * math/w_jnf.c: Likewise.
38221 * math/w_log.c: Likewise.
38222 * math/w_logf.c: Likewise.
38223 * math/w_logl.c: Likewise.
38224 * math/w_log10.c: Likewise.
38225 * math/w_log10f.c: Likewise.
38226 * math/w_log10l.c: Likewise.
38227 * math/w_log2.c: Likewise.
38228 * math/w_log2f.c: Likewise.
38229 * math/w_log2l.c: Likewise.
38230 * math/w_pow.c: Likewise.
38231 * math/w_powf.c: Likewise.
38232 * math/w_powl.c: Likewise.
38233 * math/w_remainder.c: Likewise.
38234 * math/w_remainderf.c: Likewise.
38235 * math/w_remainderl.c: Likewise.
38236 * math/w_scalb.c: Likewise.
38237 * math/w_scalbf.c: Likewise.
38238 * math/w_scalbl.c: Likewise.
38239 * math/w_sqrt.c: Likewise.
38240 * math/w_sqrtf.c: Likewise.
38241 * math/w_sqrtl.c: Likewise.
38242 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38243 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38245 * math/math_private.h: Declare __kernel_standard_f.
38246 * math/w_cosh.c: Remove cruft and optimize a bit.
38247 * math/w_coshf.c: Likewise.
38248 * math/w_coshl.c: Likewise.
38249 * math/w_exp2.c: Likewise.
38250 * math/w_exp2f.c: Likewise.
38251 * math/w_exp2l.c: Likewise.
38252 * math/w_hypot.c: Likewise.
38253 * math/w_hypotf.c: Likewise.
38254 * math/w_hypotl.c: Likewise.
38255 * math/w_lgamma.c: Likewise.
38256 * math/w_lgamma_r.c: Likewise.
38257 * math/w_lgammaf.c: Likewise.
38258 * math/w_lgammaf_r.c: Likewise.
38259 * math/w_lgammal.c: Likewise.
38260 * math/w_lgammal_r.c: Likewise.
38261 * math/w_sinh.c: Likewise.
38262 * math/w_sinhf.c: Likewise.
38263 * math/w_sinhl.c: Likewise.
38264 * math/w_tgamma.c: Likewise.
38265 * math/w_tgammaf.c: Likewise.
38266 * math/w_tgammal.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38269 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38270 Minor optimizations. Pretty printing. Remove cruft.
38271 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38272 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38274 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38275 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38276 * sysdeps/i386/fpu/e_asin.S: Likewise.
38277 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38278 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38279 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38280 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38281 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38283 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38284 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38285 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38286 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38287 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38288 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38289 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38290 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38291 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38292 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38293 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38294 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38295 * sysdeps/i386/fpu/e_log.S: Likewise.
38296 * sysdeps/i386/fpu/e_log10.S: Likewise.
38297 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38298 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38299 * sysdeps/i386/fpu/e_log2.S: Likewise.
38300 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38301 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38302 * sysdeps/i386/fpu/e_logf.S: Likewise.
38303 * sysdeps/i386/fpu/e_logl.S: Likewise.
38304 * sysdeps/i386/fpu/e_pow.S: Likewise.
38305 * sysdeps/i386/fpu/e_powf.S: Likewise.
38306 * sysdeps/i386/fpu/e_powl.S: Likewise.
38307 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38308 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38309 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38310 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38311 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38313 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38314 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38315 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38341 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38342 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38344 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38345 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38346 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38347 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38348 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38349 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38350 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38351 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38352 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38353 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38357 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38362 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38365 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38366 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38368 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38369 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38387 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38396 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38404 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38406 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38409 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38411 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38412 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38413 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38414 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38415 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38416 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38417 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38418 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38419 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38424 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38426 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38427 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38428 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38429 (__isnanf): Likewise.
38430 (__isinf_ns): Likewise.
38431 (__isinf_nsf): Likewise.
38432 (__finite): Likewise.
38433 (__finitef): Likewise.
38434 (__ieee754_sqrt): Define as macro.
38435 (__ieee754_sqrtf): Define as macro.
38436 (__ieee754_sqrtl): Define as macro.
38437 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38439 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38440 __FINITE_MATH_ONLY__ consistent.
38441 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38443 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38445 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38448 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38450 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38452 * po/ja.po: Update from translation team.
38454 2011-10-08 Roland McGrath <roland@hack.frob.com>
38456 * locale/programs/locarchive.c (prepare_address_space): New function.
38457 (create_archive, enlarge_archive, open_archive): Use it.
38459 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38460 inside [SHARED], where it is used.
38462 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38464 * nss/getent.c (netgroup_keys): Remove unused variable.
38465 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38467 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38469 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38470 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38472 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38473 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38474 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38475 * math/Makefile (libm-calls): Add s_isinf_ns.
38476 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38477 * math/multc3.c: Likewise.
38478 * math/s_casin.c: Likewise.
38479 * math/s_casinf.c: Likewise.
38480 * math/s_casinl.c: Likewise.
38481 * math/s_ccos.c: Likewise.
38482 * math/s_ccosf.c: Likewise.
38483 * math/s_ccosl.c: Likewise.
38484 * math/s_ctan.c: Likewise.
38485 * math/s_ctanf.c: Likewise.
38486 * math/s_ctanh.c: Likewise.
38487 * math/s_ctanhf.c: Likewise.
38488 * math/s_ctanhl.c: Likewise.
38489 * math/s_ctanl.c: Likewise.
38490 * math/w_fmod.c: Likewise.
38491 * math/w_fmodf.c: Likewise.
38492 * math/w_fmodl.c: Likewise.
38493 * math/w_remainder.c: Likewise.
38494 * math/w_remainderf.c: Likewise.
38495 * math/w_remainderl.c: Likewise.
38496 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38497 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38498 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38500 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38501 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38502 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38503 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38505 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38507 * stdio-common/printf_fphex.c: Likewise.
38508 * stdio-common/printf_size.c: Likewise.
38510 * math/e_exp10.c: Include math_private.h using <...> not "...".
38511 * math/e_exp10f.c: Likewise.
38512 * math/e_exp10l.c: Likewise.
38513 * math/e_exp2l.c: Likewise.
38514 * math/e_j0l.c: Likewise.
38515 * math/e_j1l.c: Likewise.
38516 * math/e_jnl.c: Likewise.
38517 * math/e_lgammal_r.c: Likewise.
38518 * math/e_rem_pio2l.c: Likewise.
38519 * math/e_scalb.c: Likewise.
38520 * math/e_scalbf.c: Likewise.
38521 * math/e_scalbl.c: Likewise.
38522 * math/k_cosl.c: Likewise.
38523 * math/k_sinl.c: Likewise.
38524 * math/k_tanl.c: Likewise.
38525 * math/s_cacoshf.c: Likewise.
38526 * math/s_catan.c: Likewise.
38527 * math/s_catanf.c: Likewise.
38528 * math/s_catanh.c: Likewise.
38529 * math/s_catanhf.c: Likewise.
38530 * math/s_catanhl.c: Likewise.
38531 * math/s_catanl.c: Likewise.
38532 * math/s_ccosh.c: Likewise.
38533 * math/s_ccoshf.c: Likewise.
38534 * math/s_ccoshl.c: Likewise.
38535 * math/s_cexp.c: Likewise.
38536 * math/s_cexpf.c: Likewise.
38537 * math/s_cexpl.c: Likewise.
38538 * math/s_clog.c: Likewise.
38539 * math/s_clog10.c: Likewise.
38540 * math/s_clog10f.c: Likewise.
38541 * math/s_clog10l.c: Likewise.
38542 * math/s_clogf.c: Likewise.
38543 * math/s_clogl.c: Likewise.
38544 * math/s_csin.c: Likewise.
38545 * math/s_csinf.c: Likewise.
38546 * math/s_csinh.c: Likewise.
38547 * math/s_csinhf.c: Likewise.
38548 * math/s_csinhl.c: Likewise.
38549 * math/s_csinl.c: Likewise.
38550 * math/s_csqrt.c: Likewise.
38551 * math/s_csqrtf.c: Likewise.
38552 * math/s_csqrtl.c: Likewise.
38553 * math/s_ctan.c: Likewise.
38554 * math/s_ctanf.c: Likewise.
38555 * math/s_ctanh.c: Likewise.
38556 * math/s_ctanhf.c: Likewise.
38557 * math/s_ctanhl.c: Likewise.
38558 * math/s_ctanl.c: Likewise.
38559 * math/s_ldexp.c: Likewise.
38560 * math/s_ldexpf.c: Likewise.
38561 * math/s_ldexpl.c: Likewise.
38562 * math/s_significand.c: Likewise.
38563 * math/s_significandf.c: Likewise.
38564 * math/s_significandl.c: Likewise.
38565 * math/w_acos.c: Likewise.
38566 * math/w_acosf.c: Likewise.
38567 * math/w_acosh.c: Likewise.
38568 * math/w_acoshf.c: Likewise.
38569 * math/w_acoshl.c: Likewise.
38570 * math/w_acosl.c: Likewise.
38571 * math/w_asin.c: Likewise.
38572 * math/w_asinf.c: Likewise.
38573 * math/w_asinl.c: Likewise.
38574 * math/w_atan2.c: Likewise.
38575 * math/w_atan2f.c: Likewise.
38576 * math/w_atan2l.c: Likewise.
38577 * math/w_atanh.c: Likewise.
38578 * math/w_atanhf.c: Likewise.
38579 * math/w_atanhl.c: Likewise.
38580 * math/w_cosh.c: Likewise.
38581 * math/w_coshf.c: Likewise.
38582 * math/w_coshl.c: Likewise.
38583 * math/w_dremf.c: Likewise.
38584 * math/w_exp10.c: Likewise.
38585 * math/w_exp10f.c: Likewise.
38586 * math/w_exp10l.c: Likewise.
38587 * math/w_exp2.c: Likewise.
38588 * math/w_exp2f.c: Likewise.
38589 * math/w_fmod.c: Likewise.
38590 * math/w_fmodf.c: Likewise.
38591 * math/w_fmodl.c: Likewise.
38592 * math/w_hypot.c: Likewise.
38593 * math/w_hypotf.c: Likewise.
38594 * math/w_hypotl.c: Likewise.
38595 * math/w_j0.c: Likewise.
38596 * math/w_j0f.c: Likewise.
38597 * math/w_j0l.c: Likewise.
38598 * math/w_j1.c: Likewise.
38599 * math/w_j1f.c: Likewise.
38600 * math/w_j1l.c: Likewise.
38601 * math/w_jn.c: Likewise.
38602 * math/w_jnf.c: Likewise.
38603 * math/w_jnl.c: Likewise.
38604 * math/w_lgamma.c: Likewise.
38605 * math/w_lgamma_r.c: Likewise.
38606 * math/w_lgammaf.c: Likewise.
38607 * math/w_lgammaf_r.c: Likewise.
38608 * math/w_lgammal.c: Likewise.
38609 * math/w_lgammal_r.c: Likewise.
38610 * math/w_log.c: Likewise.
38611 * math/w_log10.c: Likewise.
38612 * math/w_log10f.c: Likewise.
38613 * math/w_log10l.c: Likewise.
38614 * math/w_log2.c: Likewise.
38615 * math/w_log2f.c: Likewise.
38616 * math/w_log2l.c: Likewise.
38617 * math/w_logf.c: Likewise.
38618 * math/w_logl.c: Likewise.
38619 * math/w_pow.c: Likewise.
38620 * math/w_powf.c: Likewise.
38621 * math/w_powl.c: Likewise.
38622 * math/w_remainder.c: Likewise.
38623 * math/w_remainderf.c: Likewise.
38624 * math/w_remainderl.c: Likewise.
38625 * math/w_scalb.c: Likewise.
38626 * math/w_scalbf.c: Likewise.
38627 * math/w_scalbl.c: Likewise.
38628 * math/w_sinh.c: Likewise.
38629 * math/w_sinhf.c: Likewise.
38630 * math/w_sinhl.c: Likewise.
38631 * math/w_sqrt.c: Likewise.
38632 * math/w_sqrtf.c: Likewise.
38633 * math/w_sqrtl.c: Likewise.
38634 * math/w_tgamma.c: Likewise.
38635 * math/w_tgammaf.c: Likewise.
38636 * math/w_tgammal.c: Likewise.
38638 * po/ja.po: Update from translation team.
38640 2011-09-29 Andreas Jaeger <aj@suse.de>
38643 * sunrpc/netname.c (netname2host): Fix logic.
38647 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38649 * math/w_remainder.c (__remainder): Likewise.
38650 * math/w_remainderf.c (__remainderf): Likewise.
38651 * math/libm-test.inc (remainder_test): Add test cases.
38653 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38655 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38658 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38660 * string/test-memcmp.c: Avoid unncessary #defines.
38661 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38663 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38665 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38666 Use new sse2 version for core i3 - i7 as it's faster
38667 than sse42 version.
38668 (bit_Prefer_PMINUB_for_stringop): New.
38669 * sysdeps/x86_64/rawmemchr.S: Update.
38670 Replace with faster SSE2 version.
38671 * sysdeps/x86_64/memrchr.S: New file.
38672 * sysdeps/x86_64/memchr.S: Update.
38673 Replace with faster SSE2 version.
38675 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38677 * elf/dl-load.c (lose): Add cast to avoid warning.
38679 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38681 * po/ca.po: Update from translation team.
38683 * inet/getnetgrent_r.c: Hook up nscd.
38684 * nscd/Makefile (routines): Add nscd_netgroup.
38685 (nscd-modules): Add netgroupcache.
38686 (CFLAGS-netgroupcache.c): Define.
38687 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38688 (cache_search): Add const to second parameter.
38689 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38691 (dbs): Add netgrdb entry.
38692 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38693 (verify_persistent_db): Handle netgrdb.
38694 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38695 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38697 (netgroup_response_header): Define.
38698 (innetgroup_response_header): Define.
38699 (datahead): Add netgroup_response_header and innetgroup_response_header
38701 * nscd/nscd.conf: Add entries for netgroup cache.
38702 * nscd/nscd.h (dbtype): Add netgrdb.
38703 (_PATH_NSCD_NETGROUP_DB): Define.
38704 (netgroup_iov_disabled): Declare.
38705 (xmalloc, xcalloc, xrealloc): Move declarations here.
38706 (cache_search): Adjust prototype.
38707 Add netgroup-related prototypes.
38708 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38709 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38710 (__nscd_innetgr): Declare.
38711 * nscd/selinux.c (perms): Use access_vector_t as element type and
38712 add netgroup-related initializers.
38713 * nscd/netgroupcache.c: New file.
38714 * nscd/nscd_netgroup.c: New file.
38715 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38716 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38717 For four parameters use innetgr.
38718 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38719 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38720 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38721 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38723 * nscd/connections.c (register_traced_file): Don't register file
38724 for disabled databases.
38726 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38728 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38730 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38731 from tree and freeing node.
38733 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38735 * nss/nsswitch.c (__nss_database_lookup): Handle
38736 nss_parse_service_list out of memory case.
38738 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38740 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38741 out of memory case.
38743 2011-10-04 Andreas Schwab <schwab@redhat.com>
38745 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38746 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38748 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38749 elf_machine_rela, elf_machine_lazy_rel.
38750 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38751 (ELF_DYNAMIC_DO_REL): Likewise.
38752 (ELF_DYNAMIC_DO_RELA): Likewise.
38753 (ELF_DYNAMIC_RELOCATE): Likewise.
38754 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38755 to ELF_DYNAMIC_DO_REL.
38756 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38757 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38758 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38761 skip_ifunc, don't call ifunc function if non-zero.
38762 (elf_machine_rela): Likewise.
38763 (elf_machine_lazy_rel): Likewise.
38764 (elf_machine_lazy_rela): Likewise.
38765 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38766 (elf_machine_lazy_rel): Likewise.
38767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38769 (elf_machine_lazy_rel): Likewise.
38770 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38772 (elf_machine_lazy_rel): Likewise.
38773 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38774 (elf_machine_lazy_rel): Likewise.
38775 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38776 (elf_machine_lazy_rel): Likewise.
38777 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38778 (elf_machine_lazy_rel): Likewise.
38779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38780 (elf_machine_lazy_rel): Likewise.
38781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38782 (elf_machine_lazy_rel): Likewise.
38783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38784 (elf_machine_lazy_rel): Likewise.
38786 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38788 * nss/nss_files/files-init.c (_nss_files_init): Use static
38789 initialization for all the *_traced_file variables.
38791 2011-09-28 Andreas Schwab <schwab@redhat.com>
38793 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38795 2011-09-27 Roland McGrath <roland@hack.frob.com>
38798 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38800 2011-09-27 Andreas Schwab <schwab@redhat.com>
38802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38803 Reread the line before reparsing it.
38805 2011-09-26 Andreas Schwab <schwab@redhat.com>
38807 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38809 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38810 Maxim Kuvyrkov <maxim@codesourcery.com>
38811 Joseph Myers <joseph@codesourcery.com>
38813 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38814 if needed for __stack_chk_guard.
38816 2011-09-19 Roland McGrath <roland@hack.frob.com>
38818 * sysdeps/posix/spawni.c (script_execute): Always define it.
38819 It will be optimized away if unused.
38820 (maybe_script_execute): New function.
38821 (__spawni): Call it.
38823 * Makerules: Don't include tls.make.
38824 (config-tls): Always set to thread.
38825 * tls.make.c: File removed.
38827 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38829 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38830 * config.make.in (CPPFLAGS-config): New substituted variable.
38832 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38837 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38838 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38840 2011-09-15 Roland McGrath <roland@hack.frob.com>
38842 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38843 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38844 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38845 (CALL_FAIL): Likewise.
38846 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38847 (CALL_FAIL): Macro removed.
38848 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38850 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38852 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38853 for __FINITE_MATH_ONLY__ == 1.
38855 2011-09-15 Andreas Schwab <schwab@redhat.com>
38857 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38858 __ieee754_sqrt instead of sqrt.
38859 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38860 __ieee754_sqrtf instead of sqrtf.
38861 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38862 __floorf instead of floorf.
38863 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38864 __floorf, __truncf instead of floorf, truncf.
38866 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38868 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38870 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38871 __extern_always_inline.
38872 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38875 2011-09-14 Andreas Schwab <schwab@redhat.com>
38877 * elf/rtld.c (dl_main): Also relocate in dependency order when
38878 doing symbol dependency testing.
38880 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38883 Always define `refsym'.
38885 2011-09-13 Andreas Schwab <schwab@redhat.com>
38887 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38888 (__FD_ELT): Renamed from __FDELT.
38889 * misc/bits/select2.h (__FD_ELT): Likewise.
38890 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38891 __FD_MASK instead of __FDELT, __FDMASK.
38892 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38894 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38897 * elf/Makefile (gen-ldd): Fix pattern.
38899 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38900 (init_tls): Likewise.
38902 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38904 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38906 2011-09-12 Andreas Schwab <schwab@redhat.com>
38908 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38909 `struct cmsghdr *' instead of `void *'.
38910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38913 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38915 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38917 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38918 ldd_rewrite_script.
38920 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38922 * configure.in: Remove --with-tls option.
38923 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38924 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38925 out in case it is missing.
38926 * sysdeps/ia64/elf/configure.in: Likewise.
38927 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38928 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38929 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38930 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38931 * sysdeps/sh/elf/configure.in: Likewise.
38932 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38933 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38934 * sysdeps/x86_64/elf/configure.in: Likewise.
38935 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38936 * sysdeps/mach/hurd/tls.h: Likewise.
38939 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38942 * configure.in: Fix use of AC_INIT.
38944 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38946 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38948 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38950 * malloc/hooks.c: Likewise.
38953 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38954 variables statically.
38955 (narenas): Initialize.
38956 (list_lock): Initialize.
38957 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38958 initializtion of main_arena and list_lock. Small cleanups.
38959 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38960 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38961 Add initializers to main_arena and mp_.
38962 (malloc_state): Remove pagesize member. Change all users to use
38965 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38966 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38967 is always initialized.
38969 * malloc/malloc.c: Removed unused configurations and dead code.
38970 * malloc/arena.c: Likewise.
38971 * malloc/hooks.c: Likewise.
38972 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38974 * include/tls.h: Removed. USE___THREAD must always be defined.
38975 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38976 * elf/dl-libc.c: Likewise.
38977 * elf/dl-tsd.c: Likewise.
38978 * include/errno.h: Likewise.
38979 * include/netdb.h: Likewise.
38980 * include/resolv.h: Likewise.
38981 * inet/herrno-loc.c: Likewise.
38982 * inet/herrno.c: Likewise.
38983 * malloc/arena.c: Likewise.
38984 * malloc/hooks.c: Likewise.
38985 * malloc/malloc.c: Likewise.
38986 * resolv/res-state.c: Likewise.
38987 * resolv/res_libc.c: Likewise.
38988 * sysdeps/i386/dl-machine.h: Likewise.
38989 * sysdeps/ia64/dl-machine.h: Likewise.
38990 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38991 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38992 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38993 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38994 * sysdeps/sh/dl-machine.h: Likewise.
38995 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38996 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38997 * sysdeps/unix/i386/sysdep.S: Likewise.
38998 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38999 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39004 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39008 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39009 * sysdeps/x86_64/dl-machine.h: Likewise.
39010 * tls.make.c: Likewise.
39012 * configure.in: Remove --with-__thread option. Make tests for
39013 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39014 tls_model attribute fail if no support is available. Remove
39016 * Makeconfig: Adjust for dropped configure option. All features are
39018 * Makerules: Likewise.
39019 * Versions.def: Likewise.
39020 * argp/argp-fmtstream.c: Likewise.
39021 * argp/argp-fmtstream.h: Likewise.
39022 * argp/argp-help.c: Likewise.
39023 * assert/assert.c: Likewise.
39024 * config.h.in: Likewise.
39025 * config.make.in: Likewise.
39026 * configure: Likewise.
39027 * configure.in: Likewise.
39028 * csu/Versions: Likewise.
39029 * csu/init.c: Likewise.
39030 * elf/tst-audit2.c: Likewise.
39031 * elf/tst-tls10.c: Likewise.
39032 * elf/tst-tls10.h: Likewise.
39033 * elf/tst-tls11.c: Likewise.
39034 * elf/tst-tls12.c: Likewise.
39035 * elf/tst-tls14.c: Likewise.
39036 * elf/tst-tlsmod11.c: Likewise.
39037 * elf/tst-tlsmod12.c: Likewise.
39038 * elf/tst-tlsmod13.c: Likewise.
39039 * elf/tst-tlsmod13a.c: Likewise.
39040 * elf/tst-tlsmod14a.c: Likewise.
39041 * elf/tst-tlsmod15b.c: Likewise.
39042 * elf/tst-tlsmod16a.c: Likewise.
39043 * elf/tst-tlsmod16b.c: Likewise.
39044 * elf/tst-tlsmod7.c: Likewise.
39045 * elf/tst-tlsmod8.c: Likewise.
39046 * elf/tst-tlsmod9.c: Likewise.
39047 * gmon/gmon.c: Likewise.
39048 * grp/fgetgrent_r.c: Likewise.
39049 * grp/putgrent.c: Likewise.
39050 * hurd/fopenport.c: Likewise.
39051 * include/libc-symbols.h: Likewise.
39052 * include/tls.h: Likewise.
39053 * intl/gettextP.h: Likewise.
39054 * intl/loadinfo.h: Likewise.
39055 * locale/global-locale.c: Likewise.
39056 * locale/localeinfo.h: Likewise.
39057 * mach/devstream.c: Likewise.
39058 * malloc/arena.c: Likewise.
39059 * malloc/set-freeres.c: Likewise.
39060 * misc/err.c: Likewise.
39061 * misc/getttyent.c: Likewise.
39062 * misc/mntent_r.c: Likewise.
39063 * posix/getopt.c: Likewise.
39064 * posix/wordexp.c: Likewise.
39065 * pwd/fgetpwent_r.c: Likewise.
39066 * resolv/Versions: Likewise.
39067 * resolv/res_hconf.c: Likewise.
39068 * shadow/fgetspent_r.c: Likewise.
39069 * shadow/putspent.c: Likewise.
39070 * stdio-common/printf_fphex.c: Likewise.
39071 * stdio-common/tmpfile.c: Likewise.
39072 * stdlib/abort.c: Likewise.
39073 * stdlib/fmtmsg.c: Likewise.
39074 * sunrpc/auth_unix.c: Likewise.
39075 * sunrpc/clnt_perr.c: Likewise.
39076 * sunrpc/clnt_tcp.c: Likewise.
39077 * sunrpc/clnt_udp.c: Likewise.
39078 * sunrpc/clnt_unix.c: Likewise.
39079 * sunrpc/openchild.c: Likewise.
39080 * sunrpc/svc_simple.c: Likewise.
39081 * sunrpc/svc_tcp.c: Likewise.
39082 * sunrpc/svc_udp.c: Likewise.
39083 * sunrpc/svc_unix.c: Likewise.
39084 * sunrpc/xdr.c: Likewise.
39085 * sunrpc/xdr_array.c: Likewise.
39086 * sunrpc/xdr_rec.c: Likewise.
39087 * sunrpc/xdr_ref.c: Likewise.
39088 * sunrpc/xdr_stdio.c: Likewise.
39090 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39092 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39094 2011-07-03 Andreas Jaeger <aj@suse.de>
39096 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39097 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39098 regenerate with gen-libm-tests.pl.
39100 2010-05-12 Petr Baudis <pasky@suse.cz>
39103 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39104 around j0() zero points by switching to j1().
39105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39110 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39112 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39114 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39117 Patch in part by Pavel Roskin <proski@gnu.org>.
39120 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39122 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39123 Free memory block if necessary.
39126 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39127 be NULL. Don't lock in this case.
39129 2011-09-09 Roland McGrath <roland@hack.frob.com>
39131 * elf/elf.h (ELFOSABI_GNU): New macro.
39132 (ELFOSABI_LINUX): Define to that.
39134 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39136 * string/strncat.c (strncat): Undef the symbol in case it has been
39137 defined in bits/string.h.
39139 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39141 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39143 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39146 2011-08-17 Andreas Jaeger <aj@suse.de>
39148 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39150 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39151 Ian Lance Taylor <iant@google.com>
39153 * math/libm-test.inc (lround_test): New testcase.
39154 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39156 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39158 * Makefile: Remove support for automatic cvs check-ins.
39159 * Makerules: Likewise.
39160 * config.make.in: Likewise.
39161 * configure.in: Likewise.
39162 * intl/Makefile: Likewise.
39163 * locale/Makefile: Likewise.
39164 * po/Makefile: Likewise.
39165 * posix/Makefile: Likewise.
39166 * sysdeps/gnu/Makefile: Likewise.
39167 * sysdeps/mach/hurd/Makefile: Likewise.
39168 * sysdeps/sparc/sparc32/Makefile: Likewise.
39171 * posix/Makefile (bug-regex32-ENV): Define.
39172 Patch by John Stanley <jpsinthemix@verizon.net>.
39174 * misc/Makefile (headers): Add bits/select2.h.
39175 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39176 * misc/bits/select2.h: New file.
39177 * include/bits/select2.h: New file.
39178 * debug/Makefile (routines): Add fdelt_chk.
39179 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39180 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39182 * debug/fdelt_chk.c: New file.
39184 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39185 * wcsmbs/test-wmemcmp.c: Likewise.
39186 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39187 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39189 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39191 * string/Makefile (strop-tests): Add memcmp.
39192 * string/test-wmemcmp.c: New file.
39193 * string/test-memcmp.c: Add wmemcmp support.
39195 2011-09-08 Roland McGrath <roland@hack.frob.com>
39198 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39201 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39202 garbage value in a __mach_port_mod_refs call in the cases of the
39203 task-self and thread-self ports.
39205 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39207 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39209 2011-09-08 Andreas Schwab <schwab@redhat.com>
39211 * elf/dl-load.c (lose): Check for non-null L.
39213 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39215 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39217 * elf/dl-libc.c (dlerror_run): Pass back error code from
39221 * elf/dl-load.c (lose): Free l_origin if it is valid.
39223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39225 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39228 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39229 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39230 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39232 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39234 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39235 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39237 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39238 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39239 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39240 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39241 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39242 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39243 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39245 2011-08-15 Alan Modra <amodra@gmail.com>
39248 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39249 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39250 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39251 ppc_mcount to static-only-routines.
39252 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39254 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39255 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39257 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39260 for finite and infinity parameters.
39262 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39265 and add nop instructions for throughput optimization.
39266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39268 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39270 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39271 aligned copy for power7 with vector-scalar instructions.
39272 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39274 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39279 2011-09-07 Andreas Schwab <schwab@redhat.com>
39282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39285 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39287 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39288 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39289 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39290 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39293 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39295 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39296 Forgot to demangle the pointer.
39298 * sysdeps/i386/sysdep.h: Define atom_text_section.
39299 * sysdeps/x86_64/sysdep.h: Likewise.
39300 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39301 section with atom_text_section.
39302 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39306 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39308 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39309 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39310 already be defined. Change to take two parameters and don't assign
39311 result to variable. Adjust all users.
39312 Define INTERNAL_GETTIME if not already defined.
39313 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39316 HAVE_CLOCK_GETTIME_VSYSCALL.
39317 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39320 gettimeofday vsyscall, just use time.
39322 2011-09-06 Andreas Schwab <schwab@redhat.com>
39324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39327 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39329 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39333 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39334 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39335 syscall if possible.
39337 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39339 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39340 e_ident. Don't pass to find_mapsXX.
39341 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39343 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39346 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39347 * sysdeps/x86_64/multiarch/strchr.S: Update.
39348 Check bit_slow_BSF bit.
39349 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39350 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39351 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39353 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39356 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39358 (tryshell): Define.
39359 (__spawni): Change last parameter to be flag. Test
39360 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39361 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39362 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39363 * posix/spawni.c: Likewise.
39364 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39365 * posix/spawnp.c: Likewise. Change normal version to use
39366 SPAWN_XFLAGS_USE_PATH.
39367 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39368 SPAWN_XFLAGS_TRY_SHELL.
39371 * posix/glob.h: Remove gcc 1.x support.
39374 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39376 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39379 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39381 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39382 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39383 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39384 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39385 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39386 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39388 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39390 * sysdeps/x86_64/wcscmp.S: New file.
39392 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39393 wcscmp-c wcscmp-sse2
39394 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39395 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39396 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39397 * wcsmbs/wcscmp.c: Allow renaming.
39399 2011-09-05 David S. Miller <davem@davemloft.net>
39401 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39402 stack slot, rather than the struct return pointer slot.
39403 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39404 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39406 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39408 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39410 * po/ja.po: Update from translation team.
39413 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39414 kernel in 64-bit binaries.
39416 2011-09-01 David S. Miller <davem@davemloft.net>
39418 * elf/elf.h (HWCAP_SPARC_*): Move to..
39419 * sysdeps/sparc/sysdep.h: this new file and add new values.
39420 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39421 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39422 _DL_HWCAP_COUNT to 24.
39423 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39425 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39426 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39427 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39429 instead of magic constants.
39430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39432 2011-08-31 David S. Miller <davem@davemloft.net>
39434 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39436 Reimplement to do errno handling inline.
39437 (SYSCALL_ERROR_HANDLER): New macro.
39438 (__SYSCALL_STRING): Do not do errno handling in asm.
39439 (__CLONE_SYSCALL_STRING): Delete.
39440 (__INTERNAL_SYSCALL_STRING): Delete.
39441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39442 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39443 (PSEUDO): Reimplement to do errno handling inline.
39444 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39445 (SYSCALL_ERROR_HANDLER): New macro.
39446 (__SYSCALL_STRING): Do not do errno handling in asm.
39447 (__CLONE_SYSCALL_STRING): Delete.
39448 (__INTERNAL_SYSCALL_STRING): Delete.
39449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39450 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39452 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39453 (inline_syscall*): Add 'err' argument.
39454 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39455 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39456 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39457 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39459 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39460 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39462 2011-08-30 Andreas Schwab <schwab@redhat.com>
39464 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39466 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39468 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39471 2011-08-24 David S. Miller <davem@davemloft.net>
39473 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39475 2011-08-24 Andreas Schwab <schwab@redhat.com>
39477 * elf/Makefile: Add rules to build and run unload8 test.
39478 * elf/unload8.c: New file.
39479 * elf/unload8mod1.c: New file.
39480 * elf/unload8mod1x.c: New file.
39481 * elf/unload8mod2.c: New file.
39482 * elf/unload8mod3.c: New file.
39484 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39487 2011-08-23 David S. Miller <davem@davemloft.net>
39489 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39490 subtract stack bias.
39491 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39492 %sp not %fp in calculations.
39493 (_JMPBUF_UNWINDS_ADJ): Likewise.
39495 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39496 (aio_suspend): Call it to force an exception region around the
39497 AIO_MISC_WAIT() invocation.
39499 2011-08-23 Andreas Schwab <schwab@redhat.com>
39501 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39504 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39506 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39508 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39509 and <dl-machine.h>.
39510 (Elf64_FuncDesc): Remove.
39512 2011-08-22 David S. Miller <davem@davemloft.net>
39514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39515 sigaltstack check, add missing cfi directives.
39516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39517 missing cfi directives, and sigaltstack handling.
39519 2011-08-16 Andreas Schwab <schwab@redhat.com>
39522 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39523 object is seen twice.
39524 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39526 * elf/Makefile (distribute): Add tst-initorder2.c.
39527 (tests): Add tst-initorder2.
39528 (modules-names): Add tst-initorder2a tst-initorder2b
39529 tst-initorder2c tst-initorder2d. Add rules to build them.
39530 ($(objpfx)tst-initorder2.out): New rule.
39531 * elf/tst-initorder2.c: New file.
39532 * elf/tst-initorder2.exp: New file.
39534 2011-08-22 Andreas Schwab <schwab@redhat.com>
39536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39538 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39539 dependencies back to end of function.
39541 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39542 $(elfobjdir)/ld.so.
39544 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39547 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39548 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39549 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39550 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39551 of __vdso_gettimeofday.
39552 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39553 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39555 (_libc_vdso_platform_setup): Remove initialization of
39556 __vdso_gettimeofday and __vdso_time.
39558 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39560 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39561 and fgetc_unlocked.
39562 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39565 * elf/dl-open.c (add_to_global): Report additions to the global scope
39566 for LD_DEBUG=scopes.
39567 (dl_open_worker): Also print scope of newly loaded dependencies.
39568 (_dl_show_scope): Indicate if there is no scope.
39571 * stdio-common/Makefile (tests): Add bug24.
39572 * stdio-common/bug24.c: New file.
39574 2011-08-19 Andreas Jaeger <aj@suse.de>
39577 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39578 non-existant file when using close-on-exec mode.
39580 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39583 the very first instruction.
39585 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39586 the CFI state in the end.
39587 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39588 inclusion of dl-trampoline.h.
39589 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39591 2011-08-19 Andreas Schwab <schwab@redhat.com>
39593 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39594 expectations for long double.
39596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39597 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39599 2011-08-14 David S. Miller <davem@davemloft.net>
39601 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39602 artificual limit depends upon the system page size.
39604 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39606 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39607 * resolv/Makefile: Define CFLAGS-libresolv.
39609 2011-08-17 Andreas Schwab <schwab@redhat.com>
39611 * nss/makedb.c (compute_tables): Make variables used in nested
39614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39616 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39617 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39618 if buffer was too small.
39620 * elf/pldd.c (main): Attach to all threads in the process.
39621 Rewrite /proc handling to use *at functions.
39623 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39625 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39626 specifies first scope to show.
39627 (dl_open_worker): Update callers. Move printing scope of new
39628 object to before the relocation.
39629 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39630 * sysdeps/generic/ldsodefs.h: Update declaration.
39632 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39633 string for the scope number.
39635 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39637 * nscd/servicescache.c (cache_addserv): Make sure written is always
39640 2011-08-14 Roland McGrath <roland@hack.frob.com>
39642 * sysdeps/i386/i486/bits/atomic.h
39643 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39644 statement expression, so as to suppress "set but not used" warning.
39645 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39647 * string/strncat.c (STRNCAT): Use prototype definition.
39649 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39650 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39652 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39653 (localedef-modules): Add localedef.
39654 (locale-modules): Add locale.
39656 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39657 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39658 to avoid a warning.
39660 2011-08-14 David S. Miller <davem@davemloft.net>
39662 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39663 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39665 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39667 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39668 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39669 * elf/rtld.c (dl_main): Set l_name of vDSO.
39670 Call _dl_show_scope when DL_DEBUG_SCOPES.
39671 (process_dl_debug): Recognize scopes flag and also set it for all.
39672 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39673 Declare _dl_show_scope.
39675 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39676 (do_dlopen): Pass caller_dlopen to dl_open.
39677 (__libc_dlopen_mode): Initialize caller_dlopen.
39679 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39680 of libc. Make tolower call locale-independent. Optimize a bit by
39681 using isdigit instead of isalnum.
39682 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39684 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39686 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39687 was a dependency or dynamically loaded.
39689 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39691 * intl/l10nflist.c: Allow architecture-specific pop function.
39692 * sysdeps/x86_64/l10nflist.c: New file.
39694 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39697 2011-08-10 Andreas Schwab <schwab@redhat.com>
39699 * include/dirent.h: Add libc_hidden_proto for scandirat and
39700 scandirat64. Don't declare __scandirat64.
39701 * dirent/scandirat.c: Add libc_hidden_def.
39702 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39703 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39705 2011-08-10 David S. Miller <davem@davemloft.net>
39707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39713 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39715 * Versions.def [libc]: Add GLIBC_2.15.
39716 * dirent/Makefile (routines): Add scandirat and scandirat64.
39717 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39719 * dirent/dirent.h: Declare scandirat and scandirat64.
39720 * dirent/scandirat.c: New file.
39721 * dirent/scandirat64.c: New file.
39722 * sysdeps/wordsize-64/scandirat.c: New file.
39723 * sysdeps/wordsize-64/scandirat64.c: New file.
39724 * dirent/opendir.c: Define opendirat.
39725 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39727 * dirent/scandir64.c: Adjust for scandir.c change.
39728 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39729 __scandirat64, and __scandir_cancel_handler.
39730 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39731 additional parameter and use openat instead of open (outside of ld.so).
39732 Add new __opendir as wrapper around __opendirat.
39733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39734 here without requiring old scandirat implementation.
39736 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39738 * dirent/scandir.c (cancel_handler): Renamed to
39739 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39740 defined. Adjust users.
39741 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39742 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39744 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39746 * string/test-string.h (IMPL): Use __STRING to expand name and then
39749 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39752 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39754 * string/Makefile: Update.
39755 (strop-tests): Append strncat.
39756 * string/test-wcscmp.c: New file.
39757 New comprehensive test for wcscmp.
39758 * string/test-strcmp.c: Update.
39759 (WIDE): New define.
39761 2011-07-22 Andreas Schwab <schwab@redhat.com>
39763 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39766 2011-07-26 Andreas Schwab <schwab@redhat.com>
39768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39769 encoding to ACE if AI_IDN.
39771 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39773 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39774 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39776 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39778 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39779 Fix overflow bug in strncat.
39780 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39782 * string/test-strncat.c: Update.
39783 Add new tests for checking overflow bugs.
39785 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39788 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39789 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39790 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39791 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39792 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39793 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39794 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39795 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39798 (USE_AS_STRCAT): Define.
39799 Add strcat and strncat support.
39800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39802 2011-07-25 Andreas Schwab <schwab@redhat.com>
39804 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39805 __n bigger than INT_MAX+1.
39806 (__strncmp_g): Likewise.
39808 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39810 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39811 * libio/stido.h: Likewise.
39813 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39818 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39821 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39825 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39830 (_dl_x86_64_save_sse): Likewise.
39832 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39836 (_dl_x86_64_save_sse): Likewise.
39838 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39840 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39842 2011-07-21 Andreas Schwab <schwab@redhat.com>
39844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39846 (_dl_x86_64_save_sse): Use correct AVX check.
39848 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39851 bug in strncpy/strncat.
39852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39854 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39856 * string/tester.c (test_strcat): Add tests for different alignments
39857 of source and destination.
39858 (test_strncat): Likewise.
39860 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39863 * posix/glob.c (glob): Check passed in values before using them in
39864 expressions to avoid some overflows.
39865 (glob_in_dir): Likewise.
39868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39869 check for AVX enablement so that we don't crash with old kernels and
39871 * elf/tst-audit4.c: Add same checks here.
39872 * elf/tst-audit6.c: Likewise.
39874 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39876 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39878 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39880 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39882 * po/cs.po: Update from translation team.
39883 * po/bg.po: Likewise.
39885 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39887 * misc/sys/cdefs.h: Add support for const attribute.
39888 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39889 to gnu_dev_{major,minor,makedev} functions.
39891 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39893 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39895 2011-07-20 Andreas Schwab <schwab@redhat.com>
39897 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39900 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39903 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39904 register in order to avoid conflicts with the soft frame pointer
39905 being held in r11 when necessary.
39906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39907 (INTERNAL_VSYSCALL_NCS): Likewise.
39909 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39911 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39912 * elf/dl-fini.c (_dl_fini): Adjust caller.
39913 * elf/dl-close.c (_dl_close_worker): Likewise.
39914 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39916 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39918 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39919 "aux_cache->nlibs < 0".
39921 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39922 in the reload-count case.
39924 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39927 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39928 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39929 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39930 * sysdeps/x86_64/multiarch/strcat.S: New file.
39931 * sysdeps/x86_64/multiarch/strncat.S: New file.
39932 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39934 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39935 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39937 (USE_AS_STRCAT): Define.
39938 Add strcat and strncat support.
39939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39940 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39941 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39942 * string/strncat.c: Update.
39943 (USE_AS_STRNCAT): Define.
39944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39945 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39947 * sysdeps/x86_64/multiarch/init-arch.h
39948 (bit_Prefer_PMINUB_for_stringop): New.
39949 (index_Prefer_PMINUB_for_stringop): Likewise.
39950 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39951 bit_Prefer_PMINUB_for_stringop.
39953 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39955 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39957 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39958 of casting of buffer.
39959 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39960 buffer32 and buffer64.
39961 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39962 writes instead of casting of buffer.
39963 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39965 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39968 2011-07-19 Andreas Schwab <schwab@redhat.com>
39970 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39972 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39974 * nscd/nscd.c (termination_handler): Don't do anything for a database
39975 if it has not yet been initialized.
39977 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39979 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39981 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39983 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39985 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39987 * po/nl.po: Update from translation team.
39988 * po/sv.po: Likewise.
39990 2011-07-16 Roland McGrath <roland@hack.frob.com>
39992 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39993 now disallowed by GCC.
39995 * configure.in (use-default-link): Default to yes if a test -shared
39996 link meets our qualifications.
39997 * configure: Regenerated.
39999 * config.make.in (output-format): New variable.
40000 * configure.in: Check for ld --print-output-format support.
40001 * configure: Regenerated.
40002 * Makerules ($(common-objpfx)format.lds)
40003 [$(output-format) != unknown]: Just use $(output-format),
40004 instead of the linker-script munging.
40006 2011-07-14 Roland McGrath <roland@hack.frob.com>
40008 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40009 of $(common-objpfx)shlib.lds.
40010 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40012 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40013 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40015 * configure.in (-z relro check): Adjust test code to add a large
40016 writable data section after it.
40017 * configure: Regenerated.
40019 2011-07-11 Roland McGrath <roland@hack.frob.com>
40021 * configure.in (-z relro check): Fix test code to make the variable
40023 * configure: Regenerated.
40025 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40027 * nscd/nscd.h (struct traced_file): Define.
40028 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40029 elements. Add traced_files.
40030 (inotify_fd): Declare.
40031 (register_traced_file): Declare.
40032 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40033 (inotify_fd): Export.
40034 (resolv_conf_descr): Remove.
40035 (nscd_init): Move inotify descriptor creation to main.
40036 Don't register files for notification here.
40037 (register_traced_file): New function.
40038 (invalidate_cache): Don't use reset_res to determine whether to call
40039 res_init, go through the list of registered files.
40040 (main_loop_poll): The inotify descriptors are now stored in the
40041 structures for the traced files.
40042 (main_loop_epoll): Likewise
40043 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40044 to __nss_disable_nscd.
40045 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40046 for a database anymore. Check the records for all the registered
40048 * nss/Makefile (libnss_files-routines): Add files-init.
40049 (libnss_db-routines): Add db-init.
40050 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40051 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40052 * nss/nss_db/db-init.c: New file.
40053 * nss/nss_files/files-init.c: New file.
40054 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40055 __nss_lookup_function.
40056 (__nss_lookup_function): Call nss_load_library.
40057 (nss_load_all_libraries): New function.
40058 (__nss_disable_nscd): Take parameter with callback function for files
40059 to register. Set is_nscd. Load all the DSOs for the NSS modules
40060 used for the cached services.
40061 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40062 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40063 options for features to all the files in nscd.
40065 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40067 2011-07-10 Roland McGrath <roland@hack.frob.com>
40069 * csu/elf-init.c (__libc_csu_init): Comment typo.
40071 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40073 * po/pl.po: Update from translation team.
40074 * po/ja.po: Likewise.
40075 * po/ru.po: Likewise.
40076 * po/ko.po: Likewise.
40077 * po/fr.po: Likewise.
40079 2011-07-09 Roland McGrath <roland@hack.frob.com>
40081 * configure.in (.ctors/.dtors header and trailer check):
40082 Use an empirical test on a built program.
40083 * configure: Regenerated.
40085 * configure.in (-z relro check): Use an empirical test on a built DSO.
40086 Detect, but do not require, on ia64.
40087 * configure: Regenerated.
40089 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40090 Update tests that use readelf to use $READELF instead.
40091 * configure: Regenerated.
40093 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40095 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40096 if the result is not used.
40098 2011-07-05 Andreas Jaeger <aj@suse.de>
40101 * stdlib/tst-strtod.c: Add testcase.
40103 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40105 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40106 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40107 The latter has a higher limit. Take additional parameter to pass to
40109 (__pathconf): Pass file to __statfs_link_max.
40110 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40112 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40116 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40120 (__statfs_filesize_max): Likewise.
40121 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40123 2011-07-05 Andreas Jaeger <aj@suse.de>
40125 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40127 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40129 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40131 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40134 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40136 * Makefile (strop-tests): Add strncat.
40137 * string/test-strncat.c: New file.
40139 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40141 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40143 2011-06-21 Andreas Jaeger <aj@suse.de>
40145 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40146 Copy rule from iconvdata/Makefile.
40148 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40151 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40152 but no long options are defined, just return 'W'.
40154 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40157 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40159 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40161 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40163 (innetgr): Likewise.
40165 2011-07-05 Roland McGrath <roland@hack.frob.com>
40167 * config.make.in (install_root): Default to $(DESTDIR).
40169 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40171 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40173 2011-07-02 Roland McGrath <roland@hack.frob.com>
40175 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40177 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40178 containing directory rather than embedding absolute directory names.
40180 * scripts/check-local-headers.sh: Rewritten using awk.
40181 Match by word, not by line. Print error messages for matches.
40182 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40184 * Makerules [shlib-lds-flags empty]:
40185 ($(common-objpfx)libc_pic.opts): New target.
40186 ($(common-objpfx)libc_pic.os.clean): New target.
40187 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40189 * config.make.in (OBJCOPY): New variable.
40190 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40191 * configure: Regenerated.
40193 * config.make.in (use-default-link): New variable.
40194 * configure.in (use_default_link): Grok --with-default-link to set it.
40195 * configure: Regenerated.
40196 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40197 (shlib-lds, shlib-lds-flags): Define to empty.
40199 * Makerules (shlib-lds): New variable.
40200 (shlib-lds-flags): New variable.
40201 (build-shlib, build-moduile, build-module-asneeded): Use it.
40202 ($(common-objpfx)libc.so): Use $(shlib-lds).
40203 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40204 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40206 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40207 DT_FLAGS/DT_FLAGS_1 with zero flags.
40209 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40210 linker script munging.
40212 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40214 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40216 * crypt/sha512.c (sha512_process_block): Perform total addition using
40217 128-bit if possible.
40218 (__sha512_finish_ctx): Likewise.
40219 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40221 * crypt/sha256.c (SWAP64): Define.
40222 (sha256_process_block): Perform total addition using 64-bit if
40224 (__sha256_finish_ctx): Likewise.
40226 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40228 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40230 * nscd/hstcache.c (cache_addhst): Likewise.
40231 * nscd/grpcache.c (cache_addgr): Likewise.
40232 * nscd/aicache.c (addhstaiX): Likewise
40233 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40235 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40237 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40239 * nscd/hstcache.c (cache_addhst): Likewise.
40240 * nscd/grpcache.c (cache_addgr): Likewise.
40241 * nscd/aicache.c (addhstaiX): Likewise
40243 2011-07-01 Andreas Schwab <schwab@redhat.com>
40245 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40246 domain only when needed.
40248 2011-06-30 Andreas Schwab <schwab@redhat.com>
40250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40251 is always restored.
40253 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40255 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40256 are re-adding the entry.
40257 * nscd/servicescache.c (cache_addserv): Likewise.
40259 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40261 * sysdeps/generic/dl-irel.h: fix protection against multiple
40263 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40265 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40268 * malloc/memusage.sh: Fix quoting in message.
40269 * debug/xtrace.sh: Likewise.
40271 * configure.in: Remove support for --experimental-malloc option, make
40273 * config.make.in: Likewise.
40274 * malloc/Makefile: Likewise.
40276 2011-06-27 Andreas Schwab <schwab@redhat.com>
40278 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40279 two-byte characters.
40281 2011-06-27 Roland McGrath <roland@hack.frob.com>
40283 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40284 AC_CACHE_CHECK invocation.
40285 * configure: Regenerated.
40287 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40289 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40292 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40293 bit from old_res_options.
40295 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40297 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40298 value type for setfct.
40300 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40303 __gettimeofday instead of gettimeofday.
40305 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40307 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40309 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40313 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40316 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40319 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40320 strcpy-sse2-unaligned strncpy-sse2-unaligned
40321 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40322 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40323 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40324 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40325 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40328 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40329 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40330 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40331 (STRCPY): Support SSE2 and SSSE3 versions.
40333 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40336 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40337 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40338 kernels which artificially limit size of requests.
40340 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40343 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40344 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40345 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40346 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40347 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40348 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40349 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40352 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40353 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40354 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40355 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40356 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40358 Enable unaligned load optimization for Intel Core i3, i5 and i7
40360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40362 (index_Fast_Unaligned_Load): Define.
40363 (HAS_FAST_UNALIGNED_LOAD): Define.
40365 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40367 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40369 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40373 until it is clear that the information is realy needed.
40374 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40376 2011-06-22 Andreas Schwab <schwab@redhat.com>
40378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40380 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40383 /sys/devices/system/cpu/online if it is usable.
40385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40386 reading the information from the /proc filesystem to once a second.
40388 2011-06-21 Andreas Jaeger <aj@suse.de>
40390 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40391 NULL after inclusion of kernel headers.
40393 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40395 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40396 calls to internal_setent.
40399 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40400 addresses using gethostbyname4_r ignore IPv4 addresses.
40402 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40403 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40405 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40407 2011-06-20 David S. Miller <davem@davemloft.net>
40409 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40411 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40413 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40414 (elf_irel): Use it.
40415 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40416 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40417 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40418 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40419 * sysdeps/x86_64/dl-irel.h: Likewise.
40421 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40422 * elf/dl-sym.c: Likewise.
40424 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40426 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40427 need to dereference resplen2.
40429 2011-06-14 Andreas Schwab <schwab@redhat.com>
40431 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40433 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40435 * Makeconfig: Define vardbdir and inst_vardbdir.
40436 * nss/Makefile: Add rules to install db-Makefile.
40438 * nss/nss_db/db-XXX.c: Cleanup.
40440 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40441 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40443 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40444 * nss/makedb.c: Implement -g option to specify that value strings
40445 are generated and should not be added to table iterated over for
40447 * nss/nss_db/db-initgroups.c: New file.
40449 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40452 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40453 (internal_getgrouplist): Adjust to name change.
40454 Update use_initgroups_entry if this is not the first call.
40455 * nss/databases.def: Add initgroups entry.
40457 * nss/makedb.c (compute_tables): Check result of multiple hash table
40458 sizes to minimize maximum chain length.
40460 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40462 * Versions.def: Add entry for libnss_db.
40463 * shlib-versions: Likewise.
40464 * nss/Makefile: Add rules to build libnss_db.
40465 * nss/Versions: Add libnss_db information. Organize libnss_files
40467 * nss/db-Makefile: Add gshadow support. Change rules for the new
40468 makedb progra. Some minor improvements to generate smaller files.
40469 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40471 * nss/makedb.c: ...here.
40472 Improve database format to be smaller and require less memory at
40474 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40476 * nss/nss_db/db-netgrp.c: Likewise.
40477 * nss/nss_db/db-open.c: Likewise.
40478 * nss/nss_files/flies-XXX.x: Adjust comments.
40479 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40480 * nss/nss_files/files-grp.c: Likewise.
40481 * nss/nss_files/files-hosts.c: Likewise.
40482 * nss/nss_files/files-network.c: Likewise.
40483 * nss/nss_files/files-proto.c: Likewise.
40484 * nss/nss_files/files-pwd.c: Likewise.
40485 * nss/nss_files/files-rpc.c: Likewise.
40486 * nss/nss_files/files-service.c: Likewise.
40487 * nss/nss_files/files-sgrp.c: Likewise.
40488 * nss/nss_files/files-spwd.c: Likewise.
40489 * nss/nss_db/db-alias.c: Removed.
40490 * nss/nss_db/dummy-db.h: Removed.
40492 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40494 * nss/makedb.c: Rewritten to not use database library.
40495 * nss/Makefile: Update to build new makedb program.
40497 2011-06-14 Andreas Jaeger <aj@suse.de>
40499 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40500 memset declaration.
40502 2011-06-10 Andreas Schwab <schwab@redhat.com>
40504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40507 2011-06-10 Roland McGrath <roland@hack.frob.com>
40509 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40510 * elf/Makefile ($(objpfx)ld.so): Likewise.
40512 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40513 Don't list ld.so twice in dependencies.
40515 * posix/bug-regex31.c: Include <stdlib.h>.
40517 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40519 * nis/nss_compat/compat-spwd.c
40520 (getspent_next_nss_netgr): Remove unused variable.
40521 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40523 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40524 nonmembers" output to use the right array.
40526 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40528 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40530 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40531 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40532 * catgets/gencat.c (read_input_file): Likewise.
40533 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40535 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40536 variable definition inside #if's controlling its use.
40538 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40540 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40542 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40544 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40547 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40549 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40550 * configure: Regenerated.
40552 * Makerules: Revert last change.
40553 * elf/Makefile: Likewise.
40555 2011-06-09 Roland McGrath <roland@hack.frob.com>
40557 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40558 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40559 (reloc-link): Likewise.
40561 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40563 * elf/Makefile: Add rules to build pldd.
40564 * elf/pldd.c: New file.
40565 * elf/pldd-xx.c: New file.
40567 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40569 * version.h: Update for 2.15 development version.
40571 2011-06-07 David S. Miller <davem@davemloft.net>
40573 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40576 elf_machine_lazy_rel): Likewise.
40577 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40578 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40579 elf_machine_lazy_rel): Likewise.
40580 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40581 dl_hwcap via passed in argument.
40582 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40585 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40587 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40589 2011-06-06 Roland McGrath <roland@hack.frob.com>
40592 * manual/fdl-1.1.texi: New file, verbatim from:
40593 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40594 * manual/lgpl-2.1.texi: New file, verbatim from:
40595 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40596 * manual/Makefile (licenses): New variable, list those new file names.
40598 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40600 * manual/fdl.texi: File removed.
40601 * manual/lesser.texi: File removed.
40602 * manual/libc.texinfo (Copying, Documentation License):
40603 Use new @include file names, put @appendix directive before @include.
40605 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40608 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40609 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40610 (mq_open): Add __NTH.
40612 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40615 Assume Intel Core i3/i5/i7 processor if AVX is available.
40617 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40622 2011-05-31 Andreas Schwab <schwab@redhat.com>
40624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40625 memory. Use alloca_account. Fix memory leak when retrying.
40627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40629 * version.h (RELEASE): Bump for 2.14 release.
40630 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40632 * config.make.in (RANLIB): Remove entry.
40634 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40636 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40637 (libc.pot): Work around missing support for .ksh extension in xgettext.
40640 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40641 if both request failed.
40642 (send_dg): In case of server errors clear resplen or *resplen2.
40645 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40646 when there are multiple maps.
40647 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40648 (_dl_fini): Remove test here.
40650 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40652 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40655 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40656 bit from old_res_options.
40657 (gaih_inet): Likewise.
40660 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40663 * resolv/res_init.c (res_setoptions): Make the code more compact.
40666 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40670 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40672 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40675 * malloc/malloc.h: Declare malloc hook variables as volatile.
40677 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40681 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40682 raise in the comment.
40683 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40685 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40687 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40690 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40691 grow the buffers more if it already has to be sufficient.
40692 (build_wcs_upper_buffer): Likewise.
40693 * posix/regexec.c (check_matching): Likewise.
40694 (clean_state_log_if_needed): Likewise.
40695 (extend_buffers): Don't enlarge buffers beyond size of the input
40697 Patches mostly by Emil Wojak <emil@wojak.eu>.
40698 * posix/bug-regex32.c: New file.
40699 * posix/Makefile (tests): Add bug-regex32.
40701 * locale/findlocale.c (_nl_find_locale): Return right away if
40702 _nl_explode_name failed.
40703 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40705 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40707 * debug/xtrace.sh: Unify messages.
40708 * malloc/memusage.sh: Likewise.
40711 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40712 time symbol from vDSO. Substitute with vsyscall if not available.
40713 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40716 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40717 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40718 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40719 Add sendmmsg and internal_sendmmsg.
40720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40721 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40724 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40725 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40728 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40731 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40732 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40738 * iconvdata/Makefile (tests): Add bug-iconv9.
40739 * iconvdata/bug-iconv9.c: New file.
40741 2011-05-27 Andreas Schwab <schwab@redhat.com>
40744 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40746 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40749 (struct user_regs_struct): Change intcs field back to cs.
40751 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40753 * po/ja.po: Update from translation team.
40755 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40758 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40759 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40761 2011-05-20 Andreas Schwab <schwab@redhat.com>
40763 * stdlib/longlong.h: Update from GCC.
40765 2011-05-23 Andreas Schwab <schwab@redhat.com>
40767 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40769 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40770 Add parameter name.
40771 (__sysconf): Pass it down.
40773 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40776 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40779 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40780 add in in __libc_use_alloca calls. Adjust callers.
40781 (glob): Use malloc in some situations.
40783 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40784 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40787 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40789 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40790 and CLOCK_BOOTTIME_ALARM.
40793 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40796 * string/_strerror.c (__strerror_r): Print negative errors as signed
40800 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40801 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40802 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40804 * configure.in: Fix typo in redirection and correct removal of test
40805 files in two cases.
40808 * locale/setlocale.c (new_composite_name): Fix test to check for
40809 identical name of all categories.
40812 * libio/filedoalloc.c (local_isatty): New function.
40813 (_IO_file_doallocate): Use local_isatty.
40814 * stdio-common/perror.c (perror): In case a new stream is used
40815 forward the stream error.
40816 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40819 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40824 * include/alloca.h (extend_alloca_account): Define.
40827 * posix/regex.h: Fix comments with documentation of user-accessible
40828 fields after compilation and describe correct free'ing of pattern
40829 after re_compile_pattern.
40830 Patch by Reuben Thomas <rrt@sc3d.org>.
40832 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40834 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40835 and -mno-altivec to prevent the compiler from using Altivec and/or
40836 VSX instructions when the corresponding registers are not available.
40838 2011-05-19 Andreas Schwab <schwab@redhat.com>
40840 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40842 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40844 * libio/freopen.c (freopen): Use __dup2, not dup2.
40845 * libio/freopen64.c (freopen64): Likewise.
40847 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40850 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40851 * math/Makefile (tests): Add test-powl.
40852 (CFLAGS-test-powl.c): Define.
40853 * math/test-powl.c: New file.
40855 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40857 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40859 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40862 * iconvdata/gb18030.c: Update to GB18020-2005.
40864 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40866 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40867 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40868 Patch by Aharon Robbins <arnold@skeeve.com>.
40871 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40875 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40876 through underflows.
40879 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40880 point to strings before performing equality test for error_one_per_line
40884 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40888 (struct user_fpregs_struct): Avoid __uint*_t types.
40891 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40892 symbol info. Use it instead of calling _dl_addr locally.
40893 (lock_and_info): New function.
40894 (tr_freehook): Call lock_and_info and pass symbol info as additional
40895 parameter to tr_where.
40896 (tr_mallochook): Likewise.
40897 (tr_reallochook): Likewise.
40898 (tr_memalignhook): Likewise.
40900 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40901 used and couldn't be at all thread-safe.
40903 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40905 * libio/freopen.c (freopen): Don't close old file descriptor
40906 before the new one is opened. Instead dup the new file descriptor
40907 to the old one after the new stream is created.
40908 * libio/freopen64.c (freopen64): Likewise.
40909 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40910 * libio/fileops.c (_IO_new_file_close_it): Handle new
40911 _IO_FLAGS2_NOCLOSE flag.
40912 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40913 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40914 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40915 _IO_FLAGS2_NOCLOSE flag.
40916 * include/unistd.h: Add hidden_proto for dup3.
40917 Define __have_dup3.
40918 * io/dup3.c: Define hidden symbol.
40919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40922 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40923 when an incomplete long option is used.
40924 * posix/tst-getopt_long1.c: New file.
40925 * posix/Makefile (tests): Add tst-getopt_long1.
40928 * scripts/config.guess: Update from autoconf-2.68.
40929 * scripts/config.sub: Likewise.
40932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40934 (has_cpuclock): ...this. New function.
40935 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40936 macro here based on has_cpuclock code.
40939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40940 First byte (not low byte) is now always NUL.
40941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40944 Use non-cancelable interfaces.
40947 * locale/iso-639.def: Add entry for Sorani.
40950 * include/stdlib.h: Move include protection to the right place.
40951 Define abort_msg_s. Declare __abort_msg with it.
40952 * stdlib/abort.c (__abort_msg): Adjust type.
40953 * assert/assert.c (__assert_fail_base): New function. Majority
40954 of code from __assert_fail. Allocate memory for __abort_msg with
40956 (__assert_fail): Now call __assert_fail_base.
40957 * assert/assert-perr.c: Remove bulk of implementation. Use
40958 __assert_fail_base.
40959 * include/assert.hL Declare __assert_fail_base.
40960 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40962 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40964 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40968 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40969 until all modules are registered in the DTV.
40970 * elf/Makefile: Add rules to build and run tst-tls19.
40971 * elf/tst-tls19.c: New file.
40972 * elf/tst-tls19mod1.c: New file.
40973 * elf/tst-tls19mod2.c: New file.
40974 * elf/tst-tls19mod3.c: New file.
40975 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40978 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40982 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40983 two-byte sequence errors.
40984 * iconvdata/Makefile (tests): Add bug-iconv8.
40985 * iconvdata/bug-iconv8.c: New file.
40988 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40991 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40994 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40995 (dummy_getcfa): New function.
40996 (init): Get _Unwind_GetCFA address, use dummy if not found.
40997 (backtrace_helper): In recursion check, also check whether CFA changes.
40998 (__backtrace): Completely initialize arg.
41000 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41001 storing incomplete byte sequence in state object. Avoid testing for
41002 guaranteed too small input if we know there is enough data available.
41004 2011-05-11 Andreas Schwab <schwab@redhat.com>
41006 * Makeconfig (+link-pie): Indent.
41007 * Rules (binaries-pie): Define if $(have-fpie) and
41009 (binaries-shared): Also filter out $(binaries-pie).
41010 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41011 * nscd/Makefile (others-pie): Add nscd.
41012 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41013 ($(objpfx)nscd): Remove command override.
41014 * login/Makefile (others-pie): Add pt_chown.
41015 ($(objpfx)pt_chown): Remove command override.
41016 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41017 remove command overrides.
41019 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41021 * libio/tst_putwc.c: Fix error messages.
41024 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41025 currently writing and seek to current position when not.
41026 * libio/Makefile (tests): Add bug-fclose1.
41027 * libio/bug-fclose1.c: New file.
41029 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41032 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41033 don't set DF_1_NODELETE here.
41034 (do_lookup_x): When entering new entry test for copy relocation
41035 and if necessary set DF_1_NODELETE flag.
41036 * elf/tst-unique4.cc: New file.
41037 * elf/tst-unique4.h: New file.
41038 * elf/tst-unique4lib.cc: New file.
41039 * elf/Makefile: Add rules to build and run tst-unique4.
41040 Patch by Piotr Bury <pbury@goahead.com>.
41042 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41045 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41048 * misc/mntent_r.c (addmntent): Flush the stream after the output
41051 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41052 (is_trusted_path_normalize): Skip initial colon. Append slash
41053 to empty buffer. Duplicate is_trusted_path code but allow
41054 constructed patch to be prefix.
41055 (is_dst): Allow $ORIGIN followed by /.
41056 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41057 Correct testing of result of is_trusted_path_normalize
41058 (decompose_rpath): Fix warning.
41060 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41063 * grp/initgroups.c (internal_getgrouplist): When we found the service
41064 list through the initgroups entry in nsswitch.conf do not always
41065 continue on a successful lookup. Don't always use the
41066 __nss_group_database value if it is set.
41067 * nss/nsswitch.conf (initgroups): Change action for successful db
41068 lookup to continue for compatibility.
41070 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41073 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41075 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41077 * iconvdata/tst-tables.sh: Likewise.
41078 * iconvdata/cp770.c: New file.
41079 * iconvdata/cp771.c: New file.
41080 * iconvdata/cp772.c: New file.
41081 * iconvdata/cp773.c: New file.
41082 * iconvdata/cp774.c: New file.
41083 * iconvdata/testdata/CP770: New file.
41084 * iconvdata/testdata/CP770..UTF8: New file.
41085 * iconvdata/testdata/CP771: New file.
41086 * iconvdata/testdata/CP771..UTF8: New file.
41087 * iconvdata/testdata/CP772: New file.
41088 * iconvdata/testdata/CP772..UTF8: New file.
41089 * iconvdata/testdata/CP773: New file.
41090 * iconvdata/testdata/CP773..UTF8: New file.
41091 * iconvdata/testdata/CP774: New file.
41092 * iconvdata/testdata/CP774..UTF8: New file.
41094 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41096 * iconvdata/gen-8bit-gap.sh: Likewise.
41097 * iconvdata/gen-8bit.sh: Likewise.
41099 * locale/iso-639.def: Add ary entry.
41102 * locale/C-translit.h.in: Add U20A1 transliteration.
41105 * locale/iso-639.def: Add wae entry.
41106 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41109 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41113 * locale/C-translit.h.in: Add entry for U20B9.
41114 Patch by pravin.d.s@gmail.com.
41116 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41119 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41120 ENAMETOOLONG use generic getcwd.
41121 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41122 in rtld. Use *stat64.
41123 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41124 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41125 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41126 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41127 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41128 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41129 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41130 __fstatat64 macros.
41131 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41132 * dirent/rewinddir.c: Add libc_hidden_def.
41133 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41134 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41136 * include/dirent.h (__alloc_dir): Add flags parameter.
41137 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41138 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41140 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41141 from fdopendir if O_CLOEXEC is already set.
41143 2011-03-15 Alan Modra <amodra@gmail.com>
41145 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41146 l_tls_firstbyte_offset non-zero. Save padding offset in
41147 l_tls_firstbyte_offset for later use.
41148 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41149 freeing static tls block.
41151 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41153 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41154 where #ifdef was intended. The intent is to prevent ARG_MAX from
41155 being defined by the kernel headers.
41157 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41160 * resolv/resolv.h: Define RES_NOTLDQUERY.
41161 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41162 no-tld-query and set RES_NOTLDQUERY.
41163 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41164 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41165 modern BIND to search name as TLD unless forbidden.
41167 2011-05-07 Petr Baudis <pasky@suse.cz>
41168 Ulrich Drepper <drepper@gmail.com>
41171 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41172 (is_trusted_path): ...to here.
41173 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41174 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41175 using is_trusted_path_normalize() in setuid scripts.
41177 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41180 __BEGIN/__END_DECLS.
41182 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41185 NSS_STATUS_NOTFOUND if no record was found.
41187 2011-05-05 Andreas Schwab <schwab@redhat.com>
41189 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41190 (headers-not-in-tirpc): Remove rpc/netdb.h
41191 * resolv/netdb.h: Revert last change.
41193 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41195 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41196 circular dependency between libgcc.a and libc.a.
41198 2011-05-05 Andreas Schwab <schwab@redhat.com>
41200 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41201 * nis/Makefile: Don't install rpcsvc/*.
41202 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41203 instead of <rpc/types.h>.
41204 (MAXHOSTNAMELEN): Define.
41206 2011-05-03 Andreas Schwab <schwab@redhat.com>
41208 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41210 2011-04-28 Maciej Babinski <mbabinski@google.com>
41213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41214 gethostbyname4_r when IPv6 results are possible.
41216 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41219 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41220 _PC_PIPE_BUF handling.
41222 2011-04-30 Bruno Haible <bruno@clisp.org>
41225 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41226 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41228 * inet/getnameinfo.c (getnameinfo): Likewise.
41230 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41232 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41233 to groups setting in database lookup.
41234 * nss/nsswitch.conf: Add initgroups entry.
41236 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41239 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41241 Patch by Eric Blake <eblake@redhat.com>.
41243 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41245 * sunrpc/Makefile (need-export-routines): Add svc_run.
41246 (routines): Remove svc_run.
41247 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41248 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41249 * sunrpc/svc_run.c (svc_run): Likewise.
41250 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41252 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41255 problem in reallocation in last patch.
41257 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41259 * sunrpc/Makefile: Move inclusion of Rules.
41261 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41263 * nss/nss_files/files-initgroups.c: New file.
41264 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41265 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41266 _nss_files_initgroups_dyn.
41268 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41270 * elf/elf.h (R_ARM_IRELATIVE): Define.
41272 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41274 * po/ru.po: Update from translation team.
41276 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41278 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41281 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41285 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41288 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41290 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41292 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41294 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41298 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41301 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41303 * stdlib/bug-getcontext.c: New file.
41304 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41306 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41308 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41309 instructions into .machine "z9-109".
41310 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41311 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41313 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41315 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41316 between environment variables and auxiliary vector.
41318 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41320 * Makefile: Add rules to build linkobj/libc.so.
41321 * include/libc-symbols.h: Define libc_hidden_nolink.
41322 * include/rpc/auth.h: Mark functions which are to be hidden.
41323 * include/rpc/auth_des.h: Likewise.
41324 * include/rpc/auth_unix.h: Likewise.
41325 * include/rpc/clnt.h: Likewise.
41326 * include/rpc/des_crypt.h: Likewise.
41327 * include/rpc/key_prot.h: Likewise.
41328 * include/rpc/pmap_clnt.h: Likewise.
41329 * include/rpc/pmap_prot.h: Likewise.
41330 * include/rpc/pmap_rmt.h: Likewise.
41331 * include/rpc/rpc_msg.h: Likewise.
41332 * include/rpc/svc.h: Likewise.
41333 * include/rpc/svc_auth.h: Likewise.
41334 * include/rpc/xdr.h: Likewise.
41335 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41336 * nss/Makefile: Likewise.
41337 * sunrpc/Makefile: Don't install headers. Build library with normal
41338 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41339 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41340 for the compat linking library. Remove use of INTDEF/INTUSE.
41341 * sunrpc/auth_none.c: Likewise.
41342 * sunrpc/auth_unix.c: Likewise.
41343 * sunrpc/authdes_prot.c: Likewise.
41344 * sunrpc/authuxprot.c: Likewise.
41345 * sunrpc/clnt_gen.c: Likewise.
41346 * sunrpc/clnt_perr.c: Likewise.
41347 * sunrpc/clnt_raw.c: Likewise.
41348 * sunrpc/clnt_simp.c: Likewise.
41349 * sunrpc/clnt_tcp.c: Likewise.
41350 * sunrpc/clnt_udp.c: Likewise.
41351 * sunrpc/clnt_unix.c: Likewise.
41352 * sunrpc/des_crypt.c: Likewise.
41353 * sunrpc/des_soft.c: Likewise.
41354 * sunrpc/get_myaddr.c: Likewise.
41355 * sunrpc/key_call.c: Likewise.
41356 * sunrpc/key_prot.c: Likewise.
41357 * sunrpc/netname.c: Likewise.
41358 * sunrpc/pm_getmaps.c: Likewise.
41359 * sunrpc/pm_getport.c: Likewise.
41360 * sunrpc/pmap_clnt.c: Likewise.
41361 * sunrpc/pmap_prot.c: Likewise.
41362 * sunrpc/pmap_prot2.c: Likewise.
41363 * sunrpc/pmap_rmt.c: Likewise.
41364 * sunrpc/publickey.c: Likewise.
41365 * sunrpc/rpc_cmsg.c: Likewise.
41366 * sunrpc/rpc_common.c: Likewise.
41367 * sunrpc/rpc_dtable.c: Likewise.
41368 * sunrpc/rpc_prot.c: Likewise.
41369 * sunrpc/rpc_thread.c: Likewise.
41370 * sunrpc/rtime.c: Likewise.
41371 * sunrpc/svc.c: Likewise.
41372 * sunrpc/svc_auth.c: Likewise.
41373 * sunrpc/svc_authux.c: Likewise.
41374 * sunrpc/svc_raw.c: Likewise.
41375 * sunrpc/svc_run.c: Likewise.
41376 * sunrpc/svc_simple.c: Likewise.
41377 * sunrpc/svc_tcp.c: Likewise.
41378 * sunrpc/svc_udp.c: Likewise.
41379 * sunrpc/svc_unix.c: Likewise.
41380 * sunrpc/svcauth_des.c: Likewise.
41381 * sunrpc/xcrypt.c: Likewise.
41382 * sunrpc/xdr.c: Likewise.
41383 * sunrpc/xdr_array.c: Likewise.
41384 * sunrpc/xdr_float.c: Likewise.
41385 * sunrpc/xdr_intXX_t.c: Likewise.
41386 * sunrpc/xdr_mem.c: Likewise.
41387 * sunrpc/xdr_rec.c: Likewise.
41388 * sunrpc/xdr_ref.c: Likewise.
41389 * sunrpc/xdr_sizeof.c: Likewise.
41390 * sunrpc/xdr_stdio.c: Likewise.
41392 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41395 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41396 * sysdeps/ia64/dl-tls.h: Likewise.
41397 * sysdeps/powerpc/dl-tls.h: Likewise.
41398 * sysdeps/s390/dl-tls.h: Likewise.
41399 * sysdeps/sh/dl-tls.h: Likewise.
41400 * sysdeps/sparc/dl-tls.h: Likewise.
41401 * sysdeps/x86_64/dl-tls.h: Likewise.
41402 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41404 2011-03-14 Andreas Schwab <schwab@redhat.com>
41406 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41407 rpath element also skip the following colon.
41408 (expand_dynamic_string_token): Add is_path parameter and pass
41409 down to DL_DST_REQUIRED and _dl_dst_substitute.
41410 (decompose_rpath): Call expand_dynamic_string_token with
41411 non-zero is_path. Ignore empty rpaths.
41412 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41415 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41420 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41423 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41424 Patch by Filipe David Manana <fdmanana@apache.org>.
41426 2011-04-07 Andreas Schwab <schwab@redhat.com>
41428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41429 Maintain aligned stack.
41430 (CHECK_RSP): Remove unused macro.
41432 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41434 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41437 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41439 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41441 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41443 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41446 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41447 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41448 * sysdeps/x86_64/memmove.c: New file.
41449 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41450 (memcpy): Renamed to ...
41451 (__new_memcpy): This.
41452 (memcpy): Provide GLIBC_2_14 memcpy.
41453 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41454 (memcpy): Provide GLIBC_2_2_5 memcpy.
41456 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41459 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41461 2011-03-30 Andreas Schwab <schwab@redhat.com>
41463 * misc/syncfs.c: New file.
41464 * misc/Makefile (routines): Add syncfs.
41465 * posix/unistd.h: Declare syncfs.
41466 * sysdeps/unix/syscalls.list: Add syncfs.
41468 2011-04-01 Andreas Schwab <schwab@redhat.com>
41470 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41477 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41480 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41484 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41490 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41491 sync_file_range.c with -fexceptions.
41492 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41493 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41494 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41495 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41496 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41497 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41499 sync_file_range as cancellation point
41500 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41501 now a wrapper around __call_sync_file_range with cancellation handling.
41502 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41503 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41504 function name to __call_sync_file_range.
41505 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41506 Add call_sync_file_range.
41508 2011-04-01 Andreas Schwab <schwab@redhat.com>
41510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41513 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41515 * iconv/iconv.h: Fix typo in comment.
41516 * io/fcntl.h: Likewise.
41517 * libio/stdio.h: Likewise.
41518 * posix/spawn.h: Likewise.
41519 * posix/unistd.h: Likewise.
41520 * stdlib/stdlib.h: Likewise.
41521 * time/time.h: Likewise.
41522 * wcsmbs/wchar.h: Likewise.
41524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41525 open_by_handle): Add.
41526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41527 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41528 Augment a few comments.
41529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41534 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41537 * io/fcntl.h (AT_EMPTY_PATH): Define.
41539 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41541 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41542 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41543 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41545 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41546 * Versions.def: Add GLIBC_2.14.
41547 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41550 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41552 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41554 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41556 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41559 * string/test-strncmp.c (do_page_test): New function.
41560 (check2): Likewise.
41561 (test_main): Call check2.
41562 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41564 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41567 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41568 Handle cache information in CPU leaf 4.
41569 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41571 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41574 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41575 character representation.
41576 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41578 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41580 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41581 END(__isnan) to END(__isnanf) to match function entry point/label
41582 EALIGN(__isnanf,...).
41584 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41586 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41588 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41591 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41592 copy from the symbol referenced in the relocation to initialize the
41594 Patch by Piotr Bury <pbury@goahead.com>.
41595 * elf/Makefile: Add rules to build and tst-unique3.
41596 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41597 * elf/tst-unique3.cc: New file.
41598 * elf/tst-unique3.h: New file.
41599 * elf/tst-unique3lib.cc: New file.
41600 * elf/tst-unique3lib2.cc: New file.
41602 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41604 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41606 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41607 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41610 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41612 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41613 to-be-loaded object along a path to loader is ld.so.
41615 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41616 Ulrich Drepper <drepper@gmail.com>
41618 * sysdeps/x86_64/memset.S: After aligning destination, code
41619 branches to different locations depending on the value of
41620 misalignment, when multiarch is enabled. Fix this.
41622 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41624 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41625 Set _x86_64_preferred_memory_instruction for AMD processsors.
41626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41627 Set bit_Prefer_SSE_for_memop for AMD processors.
41629 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41631 * libio/fmemopen.c (fmemopen): Optimize a bit.
41633 2011-03-03 Andreas Schwab <schwab@redhat.com>
41635 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41637 2011-03-03 Roland McGrath <roland@redhat.com>
41639 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41641 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41643 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41644 __bzero_ultra1 instead of __memset_ultra1.
41646 2011-02-23 Andreas Schwab <schwab@redhat.com>
41647 Ulrich Drepper <drepper@gmail.com>
41650 * include/link.h (struct link_map): Add l_orig_initfini.
41651 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41652 returning unsuccessfully.
41653 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41654 close of a file loaded at startup, restore the original l_initfini
41656 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41657 list, store the pointer.
41658 * elf/Makefile ($(objpfx)noload-mem): New rule.
41659 (noload-ENV): Define.
41660 (tests): Add $(objpfx)noload-mem.
41661 * elf/noload.c: Include <memcheck.h>.
41662 (main): Call mtrace. Close all opened handles.
41664 2011-02-17 Andreas Schwab <schwab@redhat.com>
41667 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41668 dependencies are missing.
41670 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41672 Fix __if_freereq crash: Unlike the generic version which uses free,
41674 * sysdeps/mach/hurd/ifreq.h: New file.
41676 2011-01-27 Petr Baudis <pasky@suse.cz>
41677 Ulrich Drepper <drepper@gmail.com>
41680 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41681 to extend_alloca().
41682 * stdio-common/bug23.c: New file.
41683 * stdio-common/Makefile (tests): Add bug23.
41685 2010-09-28 Andreas Schwab <schwab@redhat.com>
41686 Ulrich Drepper <drepper@gmail.com>
41689 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41690 before performing relro protection. At old place add assertion
41691 to make sure nothing changed.
41693 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41694 Glauber de Oliveira Costa <glommer@gmail.com>
41696 * elf/elf.h: Add new ARM TLS relocs.
41698 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41701 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41703 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41705 * sysdeps/wordsize-64/tst-writev.c: New file.
41707 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41709 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41710 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41711 insns in _dl_start to prevent a TOC reference before relocs are
41714 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41717 * Makeconfig: Remove RANLIB definition.
41718 * Makerules: Don't use RANLIB.
41719 * aclocal.m4: Remove ranlib test.
41720 * configure.in: No need to check for ranlib.
41721 * elf/rtld-Rules: Don't use RANLIB.
41723 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41725 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41727 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41728 inclusion protection macro.
41730 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41731 SIGRTMIN and SIGRTMAX and print information in that case only when
41732 SIGRTMIN is defined.
41734 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41736 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41737 arginfo fn returning -1.
41739 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41740 and thousands string is zero terminated.
41742 2011-02-03 Andreas Schwab <schwab@redhat.com>
41744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41745 sysdeps/unix/sysv/linux/bits/socket.h.
41747 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41749 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41750 (__CPU_COUNT): Remove old macros.
41751 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41752 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41753 (__CPU_ALLOC, __CPU_FREE): Add macros.
41754 (__sched_cpualloc, __sched_cpufree): Add declarations.
41756 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41758 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41759 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41760 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41761 (readdhstai): Return value of addhstaiX call.
41762 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41763 (addgrbyX): Return value returned by cache_addgr.
41764 (readdgrbyname): Return value returned by addgrbyX.
41765 (readdgrbygid): Likewise.
41766 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41767 (addpwbyX): Return value returned by cache_addpw.
41768 (readdpwbyname): Return value returned by addhstbyX.
41769 (readdpwbyuid): Likewise.
41770 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41771 (addservbyX): Return value returned by cache_addserv.
41772 (readdservbyname): Return value returned by addservbyX:
41773 (readdservbyport): Likewise.
41774 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41775 (addhstbyX): Return value returned by cache_addhst.
41776 (readdhstbyname): Return value returned by addhstbyX.
41777 (readdhstbyaddr): Likewise.
41778 (readdhstbynamev6): Likewise.
41779 (readdhstbyaddrv6): Likewise.
41780 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41781 (readdinitgroups): Return value returned by addinitgroupsX.
41782 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41783 (prune_cache): Keep track of timeout value of re-added entries.
41784 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41785 * nscd/nscd.h: Adjust prototypes of readd* functions.
41787 2011-02-04 Roland McGrath <roland@redhat.com>
41789 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41790 (nis_stats): Likewise.
41791 * nis/nis_modify.c (nis_modify): Likewise.
41792 * nis/nis_remove.c (nis_remove): Likewise.
41793 * nis/nis_add.c (nis_add): Likewise.
41795 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41797 * posix/fnmatch_loop.c: Add some consts.
41799 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41801 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41804 * config.make.in (config-cflags-novzeroupper): Define.
41805 * configure.in: Substitute libc_cv_cc_novzeroupper.
41806 * elf/Makefile (AVX-CFLAGS): Define.
41807 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41808 (CFLAGS-tst-auditmod4a.c): Likewise.
41809 (CFLAGS-tst-auditmod4b.c): Likewise.
41810 (CFLAGS-tst-auditmod6b.c): Likewise.
41811 (CFLAGS-tst-auditmod6c.c): Likewise.
41812 (CFLAGS-tst-auditmod7b.c): Likewise.
41813 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41815 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41817 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41818 function to the callback.
41819 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41821 2011-02-02 Andreas Schwab <schwab@redhat.com>
41823 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41826 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41829 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41831 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41833 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41836 * elf/Makefile: Add rules to build and run new test.
41837 * elf/tst-initorder.c: New file.
41838 * elf/tst-initorder.exp: New file.
41839 * elf/tst-initordera1.c: New file.
41840 * elf/tst-initordera2.c: New file.
41841 * elf/tst-initordera3.c: New file.
41842 * elf/tst-initordera4.c: New file.
41843 * elf/tst-initorderb1.c: New file.
41844 * elf/tst-initorderb2.c: New file.
41845 * elf/tst-order-a1.c: New file.
41846 * elf/tst-order-a2.c: New file.
41847 * elf/tst-order-a3.c: New file.
41848 * elf/tst-order-a4.c: New file.
41849 * elf/tst-order-b1.c: New file.
41850 * elf/tst-order-b2.c: New file.
41851 * elf/tst-order-main.c: New file.
41852 New test case by George Gensure <werkt0@gmail.com>.
41854 2010-10-01 Andreas Schwab <schwab@redhat.com>
41856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41857 decoding ACE if AI_CANONIDN.
41859 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41861 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41863 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41865 * version.h (RELEASE): Bump for 2.13 release.
41866 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41868 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41872 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41873 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41874 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41875 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41879 * posix/getconf.c: Update copyright year.
41880 * catgets/gencat.c: Likewise.
41881 * csu/version.c: Likewise.
41882 * debug/catchsegv.sh: Likewise.
41883 * debug/xtrace.sh: Likewise.
41884 * elf/ldconfig.c: Likewise.
41885 * elf/ldd.bash.in: Likewise.
41886 * elf/sprof.c (print_version): Likewise.
41887 * iconv/iconv_prog.c: Likewise.
41888 * iconv/iconvconfig.c: Likewise.
41889 * locale/programs/locale.c: Likewise.
41890 * locale/programs/localedef.c: Likewise.
41891 * malloc/memusage.sh: Likewise.
41892 * malloc/mtrace.pl: Likewise.
41893 * nscd/nscd.c (print_version): Likewise.
41894 * nss/getent.c: Likewise.
41896 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41897 PF_CAIF, and PF_ALG.
41898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41900 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41902 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41903 (modules-names): Use them.
41904 (ifunc-test-modules, ifunc-pie-tests): Define.
41905 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41906 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41907 (test-extras): Likewise.
41908 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41909 $(compile-command.c).
41910 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41911 (all-built-dso): Define.
41912 (check-textrel.out, check-execstack.out): Depend on it.
41914 * configure.in: Don't override --enable-multi-arch.
41916 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41919 * nscd/hstcache.c (tryagain): Define.
41920 (cache_addhst): Return tryagain not notfound for temporary errors.
41921 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41924 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41927 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41928 to make the syscall.
41929 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41932 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41933 and fall back to matching as normal character if the string ends before
41934 the matching ']' is found. This is what POSIX requires.
41935 * posix/testfnm.c: Adjust test result.
41936 * posix/globtest.sh: Adjust test result. Add new test.
41937 * posix/tst-fnmatch.input: Likewise.
41938 * posix/tst-fnmatch2.c: Add new test.
41940 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41942 * elf/Makefile (check-execstack): Revert last change. Depend on
41944 (check-execstack.h): New target.
41945 (generated): Add check-execstack.h.
41946 * elf/check-execstack.c: Include "check-execstack.h".
41947 (main): Revert last change.
41948 (handle_file): Return zero if GNU_STACK is absent and
41949 DEFAULT_STACK_PERMS doesn't include PF_X.
41951 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41953 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41954 in child fails because the descriptor is already closed.
41955 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41956 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41957 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41960 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41964 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41965 temporary buffer used to handle multi lookups locally.
41966 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41968 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41970 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41973 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41975 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41976 alignment for SSE2.
41978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41981 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41982 characters. When rounding increased number of integer digits recompute
41984 * stdio-common/tst-grouping.c: New file.
41985 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41987 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41989 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41990 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41992 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41994 * bits/select.h: Likewise.
41996 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41998 * po/ja.po: Update from translation team.
42000 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42003 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42004 implementation just like for lxstat, fxstatat, et al.
42006 2010-12-27 Jim Meyering <meyering@redhat.com>
42009 * posix/regexec.c (build_trtable): Return failure indication upon
42010 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42012 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42015 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42016 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42018 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42021 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42024 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42025 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42027 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42029 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42030 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42031 script has SORT_BY_INIT_PRIORITY.
42032 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42033 NO_CTORS_DTORS_SECTIONS is defined.
42034 * elf/soinit.c: Likewise.
42035 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42036 NO_CTORS_DTORS_SECTIONS is defined.
42037 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42038 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42039 * sysdeps/sh/init-first.c: Likewise.
42040 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42042 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42044 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42045 always use the slow path.
42047 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42049 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42050 similar rule which adds the sysdep directories to the header search in
42051 order to pick up the correct platform stackinfo.h.
42052 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42053 perform test if it is, otherwise return successfully without testing.
42054 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42055 DEFAULT_STACK_PERMS define in stackinfo.h.
42056 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42057 defined in stackinfo.h.
42058 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42059 DEFAULT_STACK_PERMS defined in stackinfo.h.
42060 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42061 * sysdeps/ia64/stackinfo.h: Likewise.
42062 * sysdeps/s390/stackinfo.h: Likewise.
42063 * sysdeps/sh/stackinfo.h: Likewise.
42064 * sysdeps/sparc/stackinfo.h: Likewise.
42065 * sysdeps/x86_64/stackinfo.h: Likewise.
42066 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42067 PF_X for powerpc64. Retain PF_X for powerpc32.
42069 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42071 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42073 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42074 GETDENTS_64BIT_ALIGNED.
42076 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42078 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42080 2010-12-10 Andreas Schwab <schwab@redhat.com>
42082 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42085 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42086 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42088 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42089 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42091 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42094 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42097 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42099 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42101 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42103 * po/it.po: Update from translation team.
42105 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42110 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42112 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42114 2010-11-24 Andreas Schwab <schwab@redhat.com>
42116 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42118 (gaih_getanswer_slice): Likewise.
42120 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42124 2010-05-31 Petr Baudis <pasky@suse.cz>
42127 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42128 silently even in the chroot mode.
42130 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42132 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42133 last patch a bit. Pretty printing
42135 2010-05-31 Petr Baudis <pasky@suse.cz>
42138 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42139 initialization of skip_initgroups_dyn.
42141 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42143 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42146 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42148 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42150 2010-11-11 Andreas Schwab <schwab@redhat.com>
42152 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42153 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42154 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42155 ($(objpfx)tst-fnmatch-mem): New rule.
42156 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42157 * posix/tst-fnmatch.c (main): Call mtrace.
42159 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42162 Support Intel processor model 6 and model 0x2c.
42164 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42166 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42169 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42172 * string/test-strncasecmp.c (check_result): New function.
42173 (do_one_test): Use it.
42174 (check1): New function.
42175 (test_main): Use it.
42176 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42177 Support strcasecmp and strncasecmp.
42179 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42182 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42185 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42187 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42191 * sysdeps/x86_64/multiarch/bzero.S: New file.
42192 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42193 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42194 * sysdeps/x86_64/multiarch/memset.S: New file.
42195 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42197 Set bit_Prefer_SSE_for_memop for Intel processors.
42198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42200 (index_Prefer_SSE_for_memop): Define.
42201 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42203 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42205 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42206 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42208 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42211 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42212 (__x86_64_raw_data_cache_size_half): Likewise.
42213 (__x86_64_raw_shared_cache_size): Likewise.
42214 (__x86_64_raw_shared_cache_size_half): Likewise.
42216 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42217 (__x86_64_raw_data_cache_size_half): Likewise.
42218 (__x86_64_raw_shared_cache_size): Likewise.
42219 (__x86_64_raw_shared_cache_size_half): Likewise.
42220 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42221 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42222 and __x86_64_raw_shared_cache_size_half. Round
42223 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42224 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42225 to multiple of 256 bytes.
42227 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42231 of inacessible symlinks. Verify result of symlink before returning it.
42232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42233 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42235 2010-10-28 Erich Ritz <erichritz@gmail.com>
42237 * math/math.h (isinf): Fix typo in comment.
42239 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42241 * po/da.po: Update from translation team.
42243 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42245 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42246 is added to the list.
42248 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42249 Ulrich Drepper <drepper@gmail.com>
42251 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42252 the global list here. Move code to...
42253 (_dl_add_to_namespace_list): ...here. New function.
42254 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42255 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42256 * elf/dl-load.c (lose): Don't remove the element from the list.
42257 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42258 (_dl_map_object): Likewise.
42260 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42263 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42264 into all bytes of SSE register.
42265 Patch by Richard Li <richardpku@gmail.com>.
42267 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42270 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42273 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42275 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42276 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42277 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42278 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42283 2010-10-22 Andreas Schwab <schwab@redhat.com>
42285 * include/dlfcn.h (__RTLD_SECURE): Define.
42286 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42287 mode & __RTLD_SECURE instead.
42288 (open_path): Rename preloaded parameter to secure.
42289 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42290 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42291 * elf/dl-deps.c (openaux): Likewise.
42292 * elf/rtld.c (struct map_args): Remove is_preloaded.
42293 (map_doit): Don't use it.
42294 (dl_main): Likewise.
42295 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42296 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42298 2010-09-09 Andreas Schwab <schwab@redhat.com>
42300 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42301 (sysd-rules-targets): Remove duplicates.
42302 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42303 rtld-%.$o dependency.
42305 2010-10-18 Andreas Schwab <schwab@redhat.com>
42307 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42308 _dl_map_object do it.
42310 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42312 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42313 fast fma builtins, define the macros in the C99 standard.
42314 (FP_FAST_FMAF): Likewise.
42315 (FP_FAST_FMAL): Likewise.
42316 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42318 * bits/mathdef.h: Update copyright year.
42319 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42321 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42323 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42324 builtins, define the macros in the C99 standard.
42325 (FP_FAST_FMAF): Likewise.
42326 (FP_FAST_FMAL): Likewise.
42327 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42329 (FP_FAST_FMAF): Likewise.
42331 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42334 * math/libm-test.inc (fma_test): Some new testcases.
42335 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42337 y and infinite z. Do multiplication by C already in long double.
42338 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42340 y and infinite z. Do bitwise or of inexact bit into u.d.
42341 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42342 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42343 * sysdeps/i386/fpu/s_fma.S: Removed.
42344 * sysdeps/i386/fpu/s_fmal.S: Removed.
42346 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42349 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42351 computation is not scheduled after fetestexcept. Fix value
42352 of minimum denormal long double.
42354 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42357 * math/libm-test.inc (fma_test): Add some more tests.
42358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42361 2010-10-15 Andreas Schwab <schwab@redhat.com>
42363 * scripts/data/localplt-s390-linux-gnu.data: New file.
42364 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42366 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42369 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42370 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42372 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42374 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42376 if one of x and y is very large and the other is subnormal.
42377 * sysdeps/s390/fpu/s_fmaf.c: New file.
42378 * sysdeps/s390/fpu/s_fma.c: New file.
42379 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42380 * sysdeps/powerpc/fpu/s_fma.S: New file.
42381 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42382 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42383 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42385 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42388 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42390 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42391 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42392 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42393 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42394 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42395 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42398 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42401 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42402 * posix/bug-regex31.input: Add test case.
42404 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42406 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42407 * posix/bug-regex31.input: New file.
42410 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42411 (parse_sub_exp): Fix last change, use postorder.
42413 * posix/bug-regex31.c: New file.
42414 * posix/Makefile: Add rules to build and run bug-regex31.
42416 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42419 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42422 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42423 to have entries in sys_siglist.
42426 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42429 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42432 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42433 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42434 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42435 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42436 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42437 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42438 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42439 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42440 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42441 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42442 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42443 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42444 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42445 * math/ftestexcept.c (fetestexcept): Likewise.
42446 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42447 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42448 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42449 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42450 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42451 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42452 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42454 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42457 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42460 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42462 * string/bug-strstr1.c: New file.
42463 * string/Makefile: Add rules to build and run bug-strstr1.
42465 2010-10-05 Eric Blake <eblake@redhat.com>
42468 * string/str-two-way.h (two_way_long_needle): Always clear memory
42469 when skipping input due to the shift table.
42471 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42474 * malloc/mcheck.c: Handle large requests.
42477 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42478 for strncmp and strncasecmp.
42479 * string/stratcliff.c: Add tests for strcmp and strncmp.
42480 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42482 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42484 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42487 2010-09-30 Andreas Jaeger <aj@suse.de>
42489 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42490 (CGROUP_SUPER_MAGIC): Define.
42491 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42492 Handle btrfs and cgroup file systems.
42493 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42496 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42498 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42499 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42501 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42504 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42505 trying to locate the ELF header.
42507 2010-09-27 Andreas Schwab <schwab@redhat.com>
42510 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42511 Mask out sign-bit copies when constructing f_fsid.
42513 2010-09-24 Petr Baudis <pasky@suse.cz>
42515 * debug/stack_chk_fail_local.c: Add missing licence exception.
42516 * debug/warning-nop.c: Likewise.
42518 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42520 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42521 implementing getdents64 using getdents syscall, set d_type if
42522 __ASSUME_GETDENTS32_D_TYPE.
42524 2010-09-16 Andreas Schwab <schwab@redhat.com>
42526 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42527 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42529 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42532 * posix/unistd.h: Undo change of feature selection for ftruncate from
42535 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42537 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42540 2010-09-20 Andreas Schwab <schwab@redhat.com>
42542 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42544 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42546 2010-09-14 Andreas Schwab <schwab@redhat.com>
42548 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42549 variables after CHECK_SP call.
42550 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42552 2010-09-13 Andreas Schwab <schwab@redhat.com>
42553 Ulrich Drepper <drepper@redhat.com>
42555 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42556 re-relocationg ld.so.
42557 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42558 _dl_init_paths call.
42559 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42562 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42564 * resolv/res_init.c (__res_vinit): Count the default server we added.
42566 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42567 Ulrich Drepper <drepper@redhat.com>
42570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42571 (____longjmp_chk): Use %ebx for saving value across system call.
42574 2010-09-06 Andreas Schwab <schwab@redhat.com>
42576 * manual/Makefile: Don't mix pattern rules with normal rules.
42578 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42580 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42582 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42583 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42584 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42585 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42589 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42592 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42593 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42595 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42597 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42598 * sysdeps/x86_64/addmul_1.S: Likewise.
42599 * sysdeps/x86_64/lshift.S: Likewise.
42600 * sysdeps/x86_64/mul_1.S: Likewise.
42601 * sysdeps/x86_64/rshift.S: Likewise.
42602 * sysdeps/x86_64/sub_n.S: Likewise.
42603 * sysdeps/x86_64/submul_1.S: Likewise.
42605 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42607 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42608 Define __sched_param instead of SCHED_* and sched_param when
42609 <bits/sched.h> is included with __need_schedparam defined.
42610 * bits/sched.h [__need_schedparam]
42611 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42612 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42613 (__defined_schedparam): Define to 1.
42614 (__sched_param): New structure, identical to sched_param.
42615 (__need_schedparam): Undefine.
42617 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42620 (epoll_create1): Declare.
42622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42624 2010-08-31 Andreas Schwab <schwab@redhat.com>
42627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42628 shifting retval into place.
42630 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42632 * nis/rpcsvc/nis.h: Update copyright notice.
42633 * nis/rpcsvc/nis.x: Likewise.
42634 * nis/rpcsvc/nis_callback.h: Likewise.
42635 * nis/rpcsvc/nis_callback.x: Likewise.
42636 * nis/rpcsvc/nis_object.x: Likewise.
42637 * nis/rpcsvc/nis_tags.h: Likewise.
42638 * nis/rpcsvc/yp.h: Likewise.
42639 * nis/rpcsvc/yp.x: Likewise.
42640 * nis/rpcsvc/ypupd.h: Likewise.
42641 * nis/yp_xdr.c: Likewise.
42642 * nis/ypupdate_xdr.c: Likewise.
42644 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42645 mainly the body of pmap_getport. Add parameters to specify timeouts.
42646 (pmap_getport): Use __libc_rpc_getport.
42647 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42648 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42649 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42651 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42656 2010-08-27 Roland McGrath <roland@redhat.com>
42658 * sysdeps/i386/i686/multiarch/Makefile
42659 (CFLAGS-varshift.c): New variable.
42661 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42663 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42664 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42668 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42670 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42672 * sysdeps/x86_64/strlen.S: Unroll the loop.
42673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42674 strlen-sse2 strlen-sse2-bsf.
42675 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42676 __strlen_no_bsf if bit_Slow_BSF is set.
42677 (__strlen_sse42): Removed.
42678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42679 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42681 2010-08-25 Roland McGrath <roland@redhat.com>
42683 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42684 * sysdeps/x86_64/multiarch/varshift.c: New file.
42685 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42686 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42687 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42688 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42690 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42693 strlen-sse2 strlen-sse2-bsf.
42694 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42695 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42696 (__strlen_sse2): Removed.
42697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42700 bit_Slow_BSF for Atom.
42701 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42702 (index_Slow_BSF): Define.
42703 (HAS_SLOW_BSF): Define.
42705 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42708 * resolv/res_init.c (__res_vinit): When no server address at all
42709 is given default to loopback.
42711 2010-08-24 Roland McGrath <roland@redhat.com>
42713 * configure.in: Remove config-name.h generation.
42714 * configure: Regenerated.
42715 * config-name.in: File removed.
42716 * scripts/config-uname.sh: New file.
42717 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42718 ($(objdir)config-name.h): New target.
42720 * sunrpc/rpc_parse.h: Avoid nested comment.
42722 2010-08-24 Richard Henderson <rth@redhat.com>
42723 Ulrich Drepper <drepper@redhat.com>
42724 H.J. Lu <hongjiu.lu@intel.com>
42726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42728 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42729 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42730 _mm_alignr_epi8 with _mm_loadu_si128.
42731 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42732 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42733 (__m128i_shift_right): Removed.
42734 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42735 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42736 * sysdeps/x86_64/multiarch/varshift.h: New file.
42737 * sysdeps/x86_64/multiarch/varshift.S: New file.
42739 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42741 * configure.in: Move assembler checks to before sysdep dir checking.
42743 2010-08-20 Petr Baudis <pasky@suse.cz>
42745 * LICENSES: Sync the sunrpc license.
42747 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42749 * sunrpc/auth_des.c: Update copyright notice once again.
42750 * sunrpc/auth_none.c: Likewise.
42751 * sunrpc/auth_unix.c: Likewise.
42752 * sunrpc/authdes_prot.c: Likewise.
42753 * sunrpc/authuxprot.c: Likewise.
42754 * sunrpc/bindrsvprt.c: Likewise.
42755 * sunrpc/clnt_gen.c: Likewise.
42756 * sunrpc/clnt_perr.c: Likewise.
42757 * sunrpc/clnt_raw.c: Likewise.
42758 * sunrpc/clnt_simp.c: Likewise.
42759 * sunrpc/clnt_tcp.c: Likewise.
42760 * sunrpc/clnt_udp.c: Likewise.
42761 * sunrpc/clnt_unix.c: Likewise.
42762 * sunrpc/des_crypt.c: Likewise.
42763 * sunrpc/des_soft.c: Likewise.
42764 * sunrpc/get_myaddr.c: Likewise.
42765 * sunrpc/getrpcport.c: Likewise.
42766 * sunrpc/key_call.c: Likewise.
42767 * sunrpc/key_prot.c: Likewise.
42768 * sunrpc/openchild.c: Likewise.
42769 * sunrpc/pm_getmaps.c: Likewise.
42770 * sunrpc/pm_getport.c: Likewise.
42771 * sunrpc/pmap_clnt.c: Likewise.
42772 * sunrpc/pmap_prot.c: Likewise.
42773 * sunrpc/pmap_prot2.c: Likewise.
42774 * sunrpc/pmap_rmt.c: Likewise.
42775 * sunrpc/rpc/auth.h: Likewise.
42776 * sunrpc/rpc/auth_unix.h: Likewise.
42777 * sunrpc/rpc/clnt.h: Likewise.
42778 * sunrpc/rpc/des_crypt.h: Likewise.
42779 * sunrpc/rpc/key_prot.h: Likewise.
42780 * sunrpc/rpc/netdb.h: Likewise.
42781 * sunrpc/rpc/pmap_clnt.h: Likewise.
42782 * sunrpc/rpc/pmap_prot.h: Likewise.
42783 * sunrpc/rpc/pmap_rmt.h: Likewise.
42784 * sunrpc/rpc/rpc.h: Likewise.
42785 * sunrpc/rpc/rpc_des.h: Likewise.
42786 * sunrpc/rpc/rpc_msg.h: Likewise.
42787 * sunrpc/rpc/svc.h: Likewise.
42788 * sunrpc/rpc/svc_auth.h: Likewise.
42789 * sunrpc/rpc/types.h: Likewise.
42790 * sunrpc/rpc/xdr.h: Likewise.
42791 * sunrpc/rpc_clntout.c: Likewise.
42792 * sunrpc/rpc_cmsg.c: Likewise.
42793 * sunrpc/rpc_common.c: Likewise.
42794 * sunrpc/rpc_cout.c: Likewise.
42795 * sunrpc/rpc_dtable.c: Likewise.
42796 * sunrpc/rpc_hout.c: Likewise.
42797 * sunrpc/rpc_main.c: Likewise.
42798 * sunrpc/rpc_parse.c: Likewise.
42799 * sunrpc/rpc_parse.h: Likewise.
42800 * sunrpc/rpc_prot.c: Likewise.
42801 * sunrpc/rpc_sample.c: Likewise.
42802 * sunrpc/rpc_scan.c: Likewise.
42803 * sunrpc/rpc_scan.h: Likewise.
42804 * sunrpc/rpc_svcout.c: Likewise.
42805 * sunrpc/rpc_tblout.c: Likewise.
42806 * sunrpc/rpc_util.c: Likewise.
42807 * sunrpc/rpc_util.h: Likewise.
42808 * sunrpc/rpcinfo.c: Likewise.
42809 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42810 * sunrpc/rpcsvc/key_prot.x: Likewise.
42811 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42812 * sunrpc/rpcsvc/mount.x: Likewise.
42813 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42814 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42815 * sunrpc/rpcsvc/rex.x: Likewise.
42816 * sunrpc/rpcsvc/rstat.x: Likewise.
42817 * sunrpc/rpcsvc/rusers.x: Likewise.
42818 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42819 * sunrpc/rpcsvc/spray.x: Likewise.
42820 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42821 * sunrpc/rtime.c: Likewise.
42822 * sunrpc/svc.c: Likewise.
42823 * sunrpc/svc_auth.c: Likewise.
42824 * sunrpc/svc_authux.c: Likewise.
42825 * sunrpc/svc_raw.c: Likewise.
42826 * sunrpc/svc_run.c: Likewise.
42827 * sunrpc/svc_simple.c: Likewise.
42828 * sunrpc/svc_tcp.c: Likewise.
42829 * sunrpc/svc_udp.c: Likewise.
42830 * sunrpc/svc_unix.c: Likewise.
42831 * sunrpc/svcauth_des.c: Likewise.
42832 * sunrpc/xcrypt.c: Likewise.
42833 * sunrpc/xdr.c: Likewise.
42834 * sunrpc/xdr_array.c: Likewise.
42835 * sunrpc/xdr_float.c: Likewise.
42836 * sunrpc/xdr_mem.c: Likewise.
42837 * sunrpc/xdr_rec.c: Likewise.
42838 * sunrpc/xdr_ref.c: Likewise.
42839 * sunrpc/xdr_sizeof.c: Likewise.
42840 * sunrpc/xdr_stdio.c: Likewise.
42842 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42845 2010-08-19 Andreas Schwab <schwab@redhat.com>
42847 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42849 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42851 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42852 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42853 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42854 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42855 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42856 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42857 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42858 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42860 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42861 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42862 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42863 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42864 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42866 2010-07-26 Anton Blanchard <anton@samba.org>
42868 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42869 * malloc/arena.c (heap_trim): Likewise.
42871 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42873 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42876 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42878 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42880 * sysdeps/i386/elf/Makefile: New file.
42882 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42884 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42885 from fanotify_init.
42886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42889 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42891 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42893 * sysdeps/multiarch/strcmp.S: Likewise.
42895 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42897 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42898 strncase_l-nonascii.
42899 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42900 Add strncase_l-ssse3.
42901 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42902 * sysdeps/x86_64/strcmp.S: Likewise.
42903 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42904 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42905 * sysdeps/x86_64/strncase.S: New file.
42906 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42907 * sysdeps/x86_64/strncase_l.S: New file.
42908 * string/Makefile (strop-tests): Add strncasecmp.
42909 * string/test-strncasecmp.c: New file.
42911 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42914 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42915 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42917 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42919 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42921 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42923 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42924 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42927 2010-05-01 Alan Modra <amodra@gmail.com>
42929 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42930 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42931 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42932 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42933 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42934 tidying. Don't tail-call __sigjmp_save for static lib.
42935 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42937 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42938 (CALL_MCOUNT): Add eh info, and nop after bl.
42939 (TAIL_CALL_SYSCALL_ERROR): New macro.
42940 (PSEUDO_RET): Use it.
42941 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42942 Correct save location of integer regs and cr.
42943 (_dl_profile_resolve): Correct cr save location. Delete nops
42944 after bl when SHARED. Reduce cfi size a little by better
42945 placement of cfi directives.
42946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42947 make a stack frame. Instead use parm save area as a temp.
42948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42949 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42951 Don't make a stack frame for parent, use parm save area.
42952 Increase child stack frame to 112 bytes. Don't save unused reg,
42953 and adjust reg usage. Set up cfi on error recovery and
42954 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42956 (__makecontext): Add dummy nop after jump to exit.
42957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42958 Use correct parm save area and cr save, reduce stack frame.
42959 Correct cfi for possible PSEUDO_RET frame setup.
42960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42961 Branch to local label emitted by PSEUDO_RET rather than
42964 2010-08-12 Andreas Schwab <schwab@redhat.com>
42967 * locale/programs/locale.c (print_assignment): New function.
42968 (show_locale_vars): Use it.
42970 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42972 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42974 (struct statfs64): Likewise.
42975 (_STATFS_F_FLAGS): Define.
42976 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42978 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42979 (ST_VALID): Define locally.
42980 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42981 __statvfs_getflags, use the provided value.
42982 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42983 __ASSUME_STATFS_F_FLAGS.
42985 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42987 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42988 Add sys/fanotify.h.
42989 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42990 fanotify_mask for GLIBC_2.13.
42991 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42992 fanotify_init and fanotify_mark.
42993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42994 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42996 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42998 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42999 prlimit64 for GLIBC_2.13.
43000 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43006 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43007 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43008 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43010 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43013 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43014 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43016 * nss/Makefile: Add rules to build and run tst-nss-test1.
43017 * shlib-versions: Add entry for libnss_test1.
43018 * nss/nss_test1.c: New file.
43019 * nss/tst-nss-test1.c: New file.
43021 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43022 (__nss_configure_lookup): Set appropriate entry in
43023 __nss_configure_lookup to true.
43024 * nss/nsswitch.h: Define enum with indeces of databases in
43025 databases and __nss_database_custom arrays. Declare
43026 __nss_database_custom.
43027 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43028 to avoid using nscd when custom rules are installed.
43029 * nss/getXXbyYY_r.c: Likewise.
43030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43032 * nss/nss_files/files-parse.c: Whitespace fixes.
43034 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43037 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43038 * posix/fnmatch_loop.c: Likewise.
43040 2010-07-17 Andi Kleen <ak@linux.intel.com>
43042 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43043 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43044 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43045 * Versions.def [GLIBC_2.13]: Add.
43047 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43050 Also fail if tpwd after pwuid call is NULL.
43052 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43054 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43055 when converting to ms.
43057 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43059 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43060 EOPNOTSUPP errors with ENOTTY.
43061 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43062 EOPNOTSUPP errors with ENOTTY.
43064 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43066 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43067 Add strcasecmp_l-ssse3.
43068 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43070 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43071 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43072 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43074 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43076 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43078 * string/Makefile (strop-tests): Add strcasecmp.
43079 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43080 strcasecmp_l-nonascii.
43081 (gen-as-const-headers): Add locale-defines.sym.
43082 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43083 * sysdeps/x86_64/strcasecmp.S: New file.
43084 * sysdeps/x86_64/strcasecmp_l.S: New file.
43085 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43086 * sysdeps/x86_64/locale-defines.sym: New file.
43087 * string/test-strcasecmp.c: New file.
43089 * string/test-strcasestr.c: Test both ends of the range of characters.
43090 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43092 2010-07-29 Roland McGrath <roland@redhat.com>
43095 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43097 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43099 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43102 2010-07-27 Andreas Schwab <schwab@redhat.com>
43104 * manual/memory.texi (Malloc Tunable Parameters): Document
43107 2010-07-26 Roland McGrath <roland@redhat.com>
43110 * configure.in (-fgnu89-inline check): Set and substitute
43111 gnu89_inline, not libc_cv_gnu89_inline.
43112 * configure: Regenerated.
43113 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43115 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43117 * string/test-strnlen.c: New file.
43118 * string/Makefile (strop-tests): Add strnlen.
43119 * string/tester.c (test_strnlen): Add a few more test cases.
43120 * string/tst-strlen.c: Better error reporting.
43122 * sysdeps/x86_64/strnlen.S: New file.
43124 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43126 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43127 lower-latency instructions.
43129 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43131 * string/test-strcasestr.c: New file.
43132 * string/test-strstr.c: New file.
43133 * string/Makefile (strop-tests): Add strstr and strcasestr.
43134 * string/str-two-way.h: Don't undefine MAX.
43135 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43137 2010-07-21 Andreas Schwab <schwab@redhat.com>
43139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43140 strcasestr-nonascii.
43141 (CFLAGS-strcasestr-nonascii.c): Define.
43142 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43144 Remove unused attribute.
43146 2010-07-20 Roland McGrath <roland@redhat.com>
43148 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43149 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43150 ld.so.cache was broken. With it, there is no way to disable dsocaps
43151 like LD_HWCAP_MASK can disable hwcaps.
43153 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43155 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43157 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43159 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43160 call in strcasestr.
43161 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43162 __strcasestr_sse42_nonascii.
43163 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43164 strcasestr-nonascii.c.
43165 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43167 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43169 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43170 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43174 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43176 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43179 2010-07-06 Andreas Schwab <schwab@redhat.com>
43182 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43185 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43188 _PC_PIPE_BUF using F_GETPIPE_SZ.
43190 2010-07-05 Roland McGrath <roland@redhat.com>
43192 * manual/arith.texi (Rounding Functions): Fix rint description
43193 implicit in round description.
43195 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43197 * elf/Makefile: Fix linking for a few tests to make recent linker
43200 2010-06-30 Andreas Schwab <schwab@redhat.com>
43202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43203 $(common-objpfx)libc_nonshared.a.
43205 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43207 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43208 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43209 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43210 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43211 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43212 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43213 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43214 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43229 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43230 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43231 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43232 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43233 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43234 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43235 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43236 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43237 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43238 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43239 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43240 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43256 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43258 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43259 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43260 * string/memmove.c (memmove): Renamed to ...
43261 (MEMMOVE): ...this. Default to memmove.
43262 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43263 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43266 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43267 mempcpy-ssse3-back memmove-ssse3-back.
43268 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43271 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43272 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43273 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43274 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43275 * sysdeps/x86_64/multiarch/memmove.c: New file.
43276 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43277 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43278 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43279 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43280 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43283 (index_Fast_Copy_Backward): Define.
43284 (HAS_ARCH_FEATURE): Define.
43285 (HAS_FAST_REP_STRING): Define.
43286 (HAS_FAST_COPY_BACKWARD): Define.
43288 2010-06-21 Andreas Schwab <schwab@redhat.com>
43290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43291 Restore proper fallback handling.
43293 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43296 * posix/group_member.c (__group_member): Correct checking loop.
43298 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43299 OOM in getpwuid_r correctly. Return error number when the caller
43300 should return, otherwise -1.
43301 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43302 call returning > 0 value.
43303 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43305 2010-06-07 Andreas Schwab <schwab@redhat.com>
43307 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43308 libc_nonshared.a from targets in modules-names.
43310 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43312 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43315 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43317 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43318 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43322 2010-06-02 Andreas Schwab <schwab@redhat.com>
43324 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43326 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43328 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43337 2010-06-14 Roland McGrath <roland@redhat.com>
43339 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43341 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43343 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43344 __REDIRECT followed by __THROW.
43345 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43346 * posix/getopt.h (getopt): Likewise.
43348 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43350 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43351 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43352 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43354 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43355 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43357 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43359 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43361 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43365 Properly check family and model.
43367 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43369 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43371 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43373 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43375 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43377 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43380 2010-05-19 Andreas Schwab <schwab@redhat.com>
43382 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43385 2010-05-21 Andreas Schwab <schwab@redhat.com>
43387 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43388 and internal_recvmmsg.
43389 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43390 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43391 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43392 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43394 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43395 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43396 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43398 2010-05-20 Andreas Schwab <schwab@redhat.com>
43400 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43402 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43404 POWER7 optimizations.
43405 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43406 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43408 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43410 * version.h: Update for 2.13 development version.
43412 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43415 exceptions. Return 0.
43417 2010-05-07 Roland McGrath <roland@redhat.com>
43419 * elf/ldconfig.c (main): Add a const.
43421 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43423 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43424 (args_options): Add no-idn option.
43425 (ahosts_keys_int): Add idn_flags to ai_flags.
43426 (parse_option): Handle 'i' option to clear idn_flags.
43428 * malloc/malloc.c (_int_free): Possible race in the most recently
43429 added check. Only act on the data if no current modification
43432 See ChangeLog.17 for earlier changes.