1 2014-04-28 Wilco <wdijkstr@arm.com>
3 * sysdeps/arm/fenv_private.h: New file.
4 * sysdeps/arm/math_private.h: New file.
5 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11 (La_x86_64_retval): Likewise.
13 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16 fpsr if value didn't change.
17 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18 to fpcr if value didn't change.
19 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21 fpsr or fpcr if value didn't change.
22 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
24 fpcr if value didn't change.
25 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26 to fpsr if value didn't change.
28 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * nptl/tst-sem3.c: Use test-skeleton.c
31 (main): Rename to do_test. Use return instead of
33 * nptl/tst-sem4.c: Use test-skeleton.c
34 (main): Rename to do_test.
36 2014-04-22 David S. Miller <davem@davemloft.net>
38 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39 (struct sigaction): New struct member __glibc_reserved0, change
40 type of sa_flags to int.
42 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
44 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45 (COUNT_LEADING_ZEROS_0): Define for AArch64.
47 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52 2014-04-22 Will Newton <will.newton@linaro.org>
53 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
55 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
56 (__longjmp): Add longjmp and longjmp_target SystemTap
58 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
59 (__sigsetjmp): Add setjmp SystemTap probe.
61 2014-04-17 Carlos O'Donell <carlos@redhat.com>
63 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
66 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
70 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72 * sysdeps/powerpc/fpu/fenv_private.h
73 (libc_feholdexcept_setroundl_ctx): Define to
74 libc_feholdexcept_setround_ppc_ctx.
75 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
76 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
77 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
78 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
80 2014-04-17 Ian Bolton <ian.bolton@arm.com>
82 * sysdeps/aarch64/math-tests.h: New file.
84 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
86 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
88 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89 Check and set bit_AVX2_Usable.
90 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
93 (index_AVX2_Usable): Likewise.
94 (CPUID_AVX2): Likewise.
97 2014-04-17 Will Newton <will.newton@linaro.org>
99 * manual/setjmp.texi (System V contexts): Add note that
100 calling setcontext on a context created by a call to a
101 signal handler is undefined. Update text to note that
102 setcontext from a signal handler is possible but not
106 * stdlib/tst-setcontext.c: Include signal.h.
107 (main): Check that the signal stack before and
108 after swapcontext is the same.
110 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
111 Re-implement to restore registers in user code and avoid
112 rt_sigreturn system call.
114 2014-04-17 Wilco <wdijkstr@arm.com>
116 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
117 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
118 * math/test-fenv.c: Skip exception trap tests on targets which only
119 support non-stop mode.
121 2014-04-17 Ian Bolton <ian.bolton@arm.com>
122 Wilco Dijkstra <wilco.dijkstra@arm.com>
124 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
125 (libc_feholdsetround_aarch64_ctx)
126 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
127 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
128 (libc_feresetround_ctx, libc_feresetroundf_ctx)
129 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
130 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
131 (libc_feresetround_noexl_ctx): Define.
133 2014-04-16 Richard Henderson <rth@redhat.com>
135 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
137 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
140 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
141 const from the non-libc, non-ldso copy.
143 * sysdeps/alpha/libm-test-ulps: Regenerate.
145 2014-04-16 Ian Bolton <ian.bolton@arm.com>
146 Wilco Dijkstra <wilco.dijkstra@arm.com>
148 * sysdeps/aarch64/fpu/math_private.h: New file.
150 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
152 * sysdeps/aarch64/libm-test-ulps: Regenerate.
154 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
156 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
157 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
159 Intel MPX bound registers before _dl_profile_fixup.
160 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
161 registers after _dl_profile_fixup. Save and restore bound
162 registers bnd0/bnd1 when calling _dl_call_pltexit.
163 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
164 (LR_BND_OFFSET): Likewise.
165 (LRV_BND0_OFFSET): Likewise.
166 (LRV_BND1_OFFSET): Likewise.
168 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
170 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
172 * sysdeps/mach/hurd/i386/tls.h: ... here.
173 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
174 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
177 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
179 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
181 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
185 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
188 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
189 * sysdeps/s390/configure: Regenerate.
191 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
194 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
195 Set round-to-nearest internally to reduce error accumulation.
197 2014-04-16 Alan Modra <amodra@gmail.com>
201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
202 * math/libm-test.inc (frexp_test_data): Add tests.
203 * NEWS: Update fixed bug list.
205 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
207 * benchtests/Makefile: Depend on libraries in build directory.
208 (bench-math): Separate out math tests.
209 (bench-pthread): Separate out pthread tests.
210 (bench): Include math and pthread tests.
212 2014-04-14 Carlos O'Donell <carlos@redhat.com>
215 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
216 _dl_debug_initialize.
218 2014-04-14 Carlos O'Donell <carlos@redhat.com>
220 * configure.ac: Remove SELinux header check.
221 * configure: Regenerate.
222 * nscd/selinux.c (perms): Array of const char* to permission names.
223 (nscd_request_avc_has_perm): Call security_deny_unknown to find
224 default policy. Call string_to_security_class and string_to_av_perm to
225 translate strings. Enforce default policy and call avs_has_perm with
226 results of translated strings.
228 2014-04-13 David S. Miller <davem@davemloft.net>
230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
232 2014-04-12 Allan McRae <allan@archlinux.org>
235 * manual/string.texi (Collation Functions): Fix qsort argument
237 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
239 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
241 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
242 Make the test a no-op if there are no exceptions defined.
244 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
246 * elf/Makefile (tests): make tst-dlopen-aout conditional on
247 enable-hardcoded-path-in-tests
249 2014-04-11 Will Newton <will.newton@linaro.org>
251 * benchtests/Makefile (extra-objs): Add json-lib.o.
252 (bench-func): Tidy up JSON output.
253 * benchtests/bench-skeleton.c: Include json-lib.h.
254 (main): Use JSON library functions to do output of
256 * benchtests/bench-timing-type.c (main): Output the
257 timing type simply, leaving formatting to the user.
258 * benchtests/json-lib.c: New file.
259 * benchtests/json-lib.h: Likewise.
261 2014-04-11 Torvald Riegel <triegel@redhat.com>
264 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
265 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
266 memory barriers. Add comments.
267 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
268 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
269 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
270 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
271 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
272 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
274 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
276 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
277 * sysdeps/s390/s390-64/configure.ac: ... this ...
278 * sysdeps/s390/configure.ac: ... to here.
279 * sysdeps/s390/s390-32/configure: Delete file.
280 * sysdeps/s390/s390-64/configure: Delete file.
281 * sysdeps/s390/configure: Regenerate.
283 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
285 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
287 2014-04-11 Will Newton <will.newton@linaro.org>
289 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
290 to zero if it is not defined elsewhere. (mtrim): Test
291 the value of MALLOC_DEBUG with #if rather than #ifdef.
293 2014-04-10 Torvald Riegel <triegel@redhat.com>
295 * benchtests/pthread_once-inputs: New file.
296 * benchtests/pthread_once-source.c: New file.
297 * benchtests/README: Update documentation.
299 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
300 H.J. Lu <hongjiu.lu@intel.com>
302 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
303 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
304 * sysdeps/x86_64/configure: Regenerated.
305 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
307 (REGISTER_SAVE_RAX): Likewise.
308 (REGISTER_SAVE_RCX): Likewise.
309 (REGISTER_SAVE_RDX): Likewise.
310 (REGISTER_SAVE_RSI): Likewise.
311 (REGISTER_SAVE_RDI): Likewise.
312 (REGISTER_SAVE_R8): Likewise.
313 (REGISTER_SAVE_R9): Likewise.
314 (REGISTER_SAVE_BND0): Likewise.
315 (REGISTER_SAVE_BND1): Likewise.
316 (REGISTER_SAVE_BND2): Likewise.
317 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
318 bound registers when calling _dl_fixup.
320 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
322 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
323 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
325 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
326 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
327 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
328 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
329 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
330 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
331 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
333 2014-04-09 Peter Brett <peter@peter-b.co.uk>
336 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
337 pathconf(_PC_NAME_MAX).
339 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
343 (__PTHREAD_SPINS): Move definition to ...
344 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
345 (__PTHREAD_SPINS): ... here.
346 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
347 (__PTHREAD_SPIN): Likewise.
348 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
349 (__PTHREAD_SPIN): Likewise.
350 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
351 (__PTHREAD_SPIN): Likewise.
352 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
353 (__PTHREAD_SPIN): Likewise.
354 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
355 (__PTHREAD_SPIN): Likewise.
356 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
357 (__PTHREAD_SPIN): Likewise.
358 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
359 (__PTHREAD_SPIN): Likewise.
360 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
361 (__PTHREAD_SPIN): Likewise.
362 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
363 (__PTHREAD_SPIN): Likewise.
364 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
365 (__PTHREAD_SPIN): Likewise.
366 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
367 (__PTHREAD_SPIN): Likewise.
368 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
369 (__PTHREAD_SPIN): Likewise.
371 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
373 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
374 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
375 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
376 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
378 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
379 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
380 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
381 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
383 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
384 strlen symbol for non multi-arch builds.
385 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
386 missing hidden_def and weak_alias.
388 2014-04-08 Carlos O'Donell <carlos@redhat.com>
390 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
392 2014-04-07 Will Newton <will.newton@linaro.org>
394 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
395 and contents. [!_LIBC] Remove #ifndef and contents.
396 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
397 * string/memccpy.c (__memccpy): Use ANSI prototype.
398 * string/memfrob.c (memfrob): Likewise.
399 * string/strcoll.c (STRCOLL): Likewise.
400 * string/strlen.c (strlen): Likewise.
401 * string/strtok.c (STRTOK): Likewise.
402 * string/strcat.c: Remove unused #include of memcopy.h.
403 (strcat): Use ANSI prototype.
404 * string/strchr.c: Remove unused #include of memcopy.h.
405 (strchr): Use ANSI prototype.
406 * string/strcmp.c: Remove unused #include of memcopy.h.
407 (strcmp): Use ANSI prototype.
408 * string/strcpy.c: Remove unused #include of memcopy.h.
409 (strcpy): Use ANSI prototype.
411 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
414 * config.make.in (config-extra-cppflags): Set it from
416 * configure.ac (libc_extra_cflags): Make it accumulate over
418 (libc_extra_cppflags): New flag.
419 * configure. Regenerate.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
421 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
422 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
425 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
429 result for FE_DOWNWARD rounding mode.
430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
434 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
436 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
437 in function argument name.
439 2014-04-03 David Svoboda <svoboda@cert.org>
442 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
445 2014-04-03 Roland McGrath <roland@hack.frob.com>
447 * elf/dl-unmap-segments.h: New file.
448 * sysdeps/generic/ldsodefs.h
449 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
450 * elf/dl-close.c: Include <dl-unmap-segments.h>.
451 * elf/dl-fptr.c: Likewise.
452 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
453 * sysdeps/aarch64/tlsdesc.c: Likewise.
454 * sysdeps/arm/tlsdesc.c: Likewise.
455 * sysdeps/i386/tlsdesc.c: Likewise.
456 * sysdeps/tile/dl-runtime.c: Likewise.
457 * sysdeps/x86_64/tlsdesc.c: Likewise.
458 * elf/dl-load.h: New file.
459 * elf/dl-load.c: Include it.
460 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
461 Macros moved to dl-load.h.
462 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
463 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
464 Use _dl_unmap_segments in place of __munmap.
465 Break out segment-mapping loop into ...
466 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
468 2014-04-03 Will Newton <will.newton@linaro.org>
470 * elf/dl-lookup.c (do_lookup_x): Remove comment
471 referring to nested function and move variable
472 declarations down to before first use.
474 2014-04-02 Joseph Myers <joseph@codesourcery.com>
478 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
480 * math/s_catanf.c (__catanf): Likewise.
481 * math/s_catanh.c (__catanh): Likewise.
482 * math/s_catanhf.c (__catanhf): Likewise.
483 * math/s_catanhl.c (__catanhl): Likewise.
484 * math/s_catanl.c (__catanl): Likewise.
485 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
486 by positive zero when computing -Inf result.
487 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
488 (catanh_test): Likewise.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
493 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
494 instead of using underflowing value in computing result.
495 * math/s_clog10.c (__clog10): Likewise.
496 * math/s_clog10f.c (__clog10f): Likewise.
497 * math/s_clog10l.c (__clog10l): Likewise.
498 * math/s_clogf.c (__clogf): Likewise.
499 * math/s_clogl.c (__clogl): Likewise.
500 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
501 (clog10_test): Likewise.
502 * sysdeps/i386/fpu/libm-test-ulps: Update.
503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
505 2014-04-02 Alan Modra <amodra@gmail.com>
508 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
509 output when value is near a power of two. Use int64_t for lx and
510 remove casts. Use decimal rather than hex exponent constants.
511 Don't use long double multiplication when double will suffice.
512 * math/libm-test.inc (nextafter_test_data): Add tests.
513 * NEWS: Add 16739 and 16786 to bug list.
515 2014-04-02 Alan Modra <amodra@gmail.com>
517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
519 2014-04-02 Alan Modra <amodra@gmail.com>
521 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
523 2014-04-01 Will Newton <will.newton@linaro.org>
525 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
526 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
528 2014-04-01 Florian Weimer <fweimer@redhat.com>
531 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
532 * nptl/tst-setuid2.c: New file.
533 * nptl/Makefile (xtests): Add tst-setuid2.
535 2014-04-01 Alan Modra <amodra@gmail.com>
538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
540 2014-03-31 Joseph Myers <joseph@codesourcery.com>
544 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
545 set errno as appropriate.
546 * math/w_scalbf.c (__scalbf): Likewise.
547 * math/w_scalbl.c (__scalbl): Likewise.
548 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
549 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
550 * math/libm-test.inc (scalb_test_data): Add errno expectations.
554 * math/w_atan2.c: Include <errno.h>.
555 (__atan2): Set errno for result underflowing to zero.
556 * math/w_atan2f.c: Include <errno.h>.
557 (__atan2f): Set errno for result underflowing to zero.
558 * math/w_atan2l.c: Include <errno.h>.
559 (__atan2l): Set errno for result underflowing to zero.
560 * math/auto-libm-test-in: Don't allow missing errno for some atan2
562 * math/auto-libm-test-out: Regenerated.
564 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
566 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
567 Encode instruction correctly in little endian.
568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
570 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
574 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
577 2014-03-31 Joseph Myers <joseph@codesourcery.com>
580 * sysdeps/unix/sysv/linux/kernel-features.h
581 [__sparc__ && !__arch64__ && !__sparc_v9__]
582 (__ASSUME_SET_ROBUST_LIST): Do not define.
583 [__sparc__ && !__arch64__ && !__sparc_v9__]
584 (__ASSUME_FUTEX_LOCK_PI): Likewise.
585 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
588 (__ASSUME_FUTEX_LOCK_PI): Undefine.
589 (__ASSUME_REQUEUE_PI): Likewise.
590 (__ASSUME_SET_ROBUST_LIST): Likewise.
591 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
592 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
595 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
597 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
599 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
601 * sysdeps/unix/sysv/linux/mips/kernel-features.h
602 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
604 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
605 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
610 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
611 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
613 2014-03-31 Will Newton <will.newton@linaro.org>
615 * benchtests/Makefile (bench): Add ffs and ffsll to list
617 * benchtests/ffs-inputs: New file.
618 * benchtests/ffsll-inputs: Likewise.
620 2014-03-29 Joseph Myers <joseph@codesourcery.com>
623 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
624 too large before casting to int.
625 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
626 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
627 * math/libm-test.inc (scalb_test_data): Add more tests.
629 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * benchtests/Makefile (DETAILED_OPT): New make option.
632 (bench-func): Run benchmark program with -d if DETAILED_OPT is
634 * benchtests/bench-skeleton.c: Include stdbool.h.
635 (main): Store and print timings per input.
636 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
637 member to each argument value.
638 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
639 (_print_arg_data): Initialize per-input timing to 0.
641 * benchtests/Makefile (timing-type): New binary.
642 (bench-clean): Also remove bench-timing-type.
643 (bench): New target for timing-type.
644 (bench-func): Print output in JSON format.
645 * benchtests/bench-skeleton.c (main): Print output in JSON
647 * benchtests/bench-timing-type.c: New file.
648 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
649 (TIMING_PRINT_STATS): Remove.
650 * benchtests/scripts/bench.py (_print_arg_data): Store variant
653 * benchtests/bench-modf.c: Remove.
654 * benchtests/modf-inputs: New inputs file.
656 2014-03-28 Joseph Myers <joseph@codesourcery.com>
659 * math/s_clog10.c (M_PI_LOG10E): New macro.
660 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
661 imaginary parts are 0.
662 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
663 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
664 imaginary parts are 0.
665 * math/s_clog10l.c (M_PI_LOG10El): New macro.
666 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
667 imaginary parts are 0.
668 * math/libm-test.inc (clog10_test_data): Update expected results
669 for when real and imaginary parts are 0.
671 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
673 * elf/dl-load.c: Finish conversion of __builtin_expect into
676 2014-03-27 Joseph Myers <joseph@codesourcery.com>
679 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
680 1+x for argument with exponent below -67.
681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
683 * math/auto-libm-test-in: Add more tests of exp.
684 * math/auto-libm-test-out: Regenerated.
686 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
689 * inet/getnetgrent_r.c (get_nonempty_val): New function.
690 (nscd_getnetgrent): Use it.
693 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
696 2014-03-27 Andi Kleen <ak@linux.intel.com>
698 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
699 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
700 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
701 Remove out of line section. Use cfi intrinsics.
702 (LLL_STUB_UNWIND_INFO*): Remove.
703 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
704 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
705 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
706 Remove out of line section. Use cfi intrinsics.
707 (LLL_STUB_UNWIND_INFO*): Remove.
709 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
712 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
715 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
717 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
719 2014-03-26 Joseph Myers <joseph@codesourcery.com>
722 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
724 * math/test-fenv-preserve.c: New file.
725 * math/Makefile (tests): Add test-fenv-preserve.
727 2014-03-26 Will Newton <will.newton@linaro.org>
729 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
731 2014-03-25 Roland McGrath <roland@hack.frob.com>
733 * scripts/versionlist.awk: Partition the version sets and emit all
734 GLIBC_* (sorted) before all others (sorted).
736 2014-03-25 Joseph Myers <joseph@codesourcery.com>
738 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
741 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
746 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
751 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755 2014-03-25 Andreas Schwab <schwab@suse.de>
757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
758 label to be used after in6ailist is initialized.
760 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
763 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
765 2014-03-25 Joseph Myers <joseph@codesourcery.com>
769 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
771 (fp_formats): Update initializers.
772 (init_fp_formats): Initialize new field.
773 (output_for_one_input_case): Allow underflow for results up to
775 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
776 * math/auto-libm-test-in: Don't mark some underflows from asin and
778 * math/auto-libm-test-out: Regenerated.
779 * sysdeps/i386/fpu/libm-test-ulps: Update.
780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782 2014-03-25 Andreas Schwab <schwab@suse.de>
784 * libio/Makefile (tst-ftell-partial-wide-ENV)
785 (tst-ftell-active-handler-ENV): Define.
787 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
789 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
791 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
793 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
795 2014-03-24 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
798 * sysdeps/x86_64/fpu/multiarch/e_exp.c
799 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
801 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
804 * elf/dl-load.c (open_verify): Add mode parameter.
805 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
806 (open_path): Change from boolean 'secure' to complete flag 'mode'
807 (_dl_map_object): Adjust.
808 * elf/Makefile (tests): Add tst-dlopen-aout.
809 * elf/tst-dlopen-aout.c: New test.
811 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
814 * sysdeps/unix/sysv/linux/s390/bits/stat.h
815 (struct stat): Rename member pad0 to __glibc_reserved0.
817 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
820 * sysdeps/s390/s390-32/bits/wordsize.h
821 (__WORDSIZE32_SIZE_ULONG): New define.
822 * sysdeps/s390/s390-64/bits/wordsize.h
823 (__WORDSIZE32_SIZE_ULONG): Likewise.
824 * sysdeps/generic/stdint.h (SIZE_MAX):
825 Define as UL if __WORDSIZE32_SIZE_ULONG.
827 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
830 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
831 (__glibc_reserved0): New variable.
832 (sa_flags): Change type to int.
834 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
836 * posix/Makefile (before-compile): Use += before-compile instead
839 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
841 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
844 2014-03-20 Andreas Schwab <schwab@suse.de>
847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
848 non-matching result from nscd.
850 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
852 * scripts/bench.py: Moved to ...
853 * benchtests/scripts/bench.py: ... here.
854 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
856 2014-03-24 Andreas Schwab <schwab@suse.de>
859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
860 alloca_account and account alloca use for struct in6ailist.
862 2014-03-24 Joseph Myers <joseph@codesourcery.com>
865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
866 rounding mode to recompute results that overflow to infinity or
868 * math/auto-libm-test-in: Don't mark tests as expected to fail for
870 * math/auto-libm-test-out: Regenerated.
871 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
872 (ccosh_test): Likewise.
873 (csin_test_data): Use plus_oflow.
874 (csin_test): Use ALL_RM_TEST.
875 (csinh_test_data): Use plus_oflow.
876 (csinh_test): Use ALL_RM_TEST.
877 * sysdeps/i386/fpu/libm-test-ulps: Update.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880 2014-03-21 Joseph Myers <joseph@codesourcery.com>
882 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
883 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
884 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
887 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
889 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
890 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
891 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
894 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
895 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
897 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
898 * sysdeps/i386/fpu/libm-test-ulps: Update.
899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
903 * scripts/bench.pl: Remove file.
904 * scripts/bench.py: New benchmark script.
905 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
906 * benchtests/README: Mention python dependency.
907 * scripts/pylintrc: New file.
908 * scripts/pylint: New file.
910 * bits/mathdef.h: Use #ifdef instead of #if.
911 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
912 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
913 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
914 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
915 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
916 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
918 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
921 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
923 and strpbrk-ppc64 objects.
924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
925 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
926 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
927 multiarch strpbrk for POWER7.
928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
929 multiarch strpbrk for PPC64.
930 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
932 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
935 2014-03-20 Joseph Myers <joseph@codesourcery.com>
937 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
938 (atan_test): Likewise.
939 (atanh_test_data): Use NO_TEST_INLINE for two tests.
940 (atanh_test): Use ALL_RM_TEST.
941 (atan2_test_data): Likewise.
942 (cabs_test): Likewise.
943 (cacosh_test): Likewise.
944 (carg_test): Likewise.
945 (casin_test): Likewise.
946 (casinh_test): Likewise.
947 (cbrt_test): Likewise.
948 (csqrt_test): Likewise.
949 (erf_test): Likewise.
950 (erfc_test): Likewise.
951 (pow10_test): Likewise.
952 (exp2_test): Likewise.
953 (hypot_test): Likewise.
956 (lgamma_test): Likewise.
957 (gamma_test): Likewise.
958 (sincos_test): Likewise.
959 (tanh_test): Likewise.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
965 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
969 and strcspn-ppc64 objects.
970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
971 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
972 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
973 multiarch strcspn for POWER7.
974 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
975 multiarch strcspn for PPC64.
976 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
978 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
981 2014-03-20 Joseph Myers <joseph@codesourcery.com>
983 * math/gen-libm-test.pl (generate_testfile): Expect only function
984 name as argument to AUTO_TESTS_* and pass results for all rounding
986 (parse_auto_input): Separate inputs of automatic tests from
987 outputs before storing in %auto_tests.
988 * math/libm-test.inc (acos_test_data): Update call to
990 (acos_test): Use ALL_RM_TEST.
991 (acos_tonearest_test_data): Remove.
992 (acos_test_tonearest): Likewise.
993 (acos_towardzero_test_data): Likewise.
994 (acos_test_towardzero): Likewise.
995 (acos_downward_test_data): Likewise.
996 (acos_test_downward): Likewise.
997 (acos_upward_test_data): Likewise.
998 (acos_test_upward): Likewise.
999 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1000 (asin_test_data): Likewise.
1001 (asin_test): Use ALL_RM_TEST.
1002 (asin_tonearest_test_data): Remove.
1003 (asin_test_tonearest): Likewise.
1004 (asin_towardzero_test_data): Likewise.
1005 (asin_test_towardzero): Likewise.
1006 (asin_downward_test_data): Likewise.
1007 (asin_test_downward): Likewise.
1008 (asin_upward_test_data): Likewise.
1009 (asin_test_upward): Likewise.
1010 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1011 (atan_test_data): Likewise.
1012 (atanh_test_data): Likewise.
1013 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1014 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1015 (carg_test_data): Likewise.
1016 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1017 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1018 (ccosh_test_data): Likewise.
1019 (cexp_test_data): Likewise.
1020 (clog_test_data): Likewise.
1021 (clog10_test_data): Likewise.
1022 (cos_test_data): Update call to AUTO_TESTS_f_f.
1023 (cos_test): Use ALL_RM_TEST.
1024 (cos_tonearest_test_data): Remove.
1025 (cos_test_tonearest): Likewise.
1026 (cos_towardzero_test_data): Likewise.
1027 (cos_test_towardzero): Likewise.
1028 (cos_downward_test_data): Likewise.
1029 (cos_test_downward): Likewise.
1030 (cos_upward_test_data): Likewise.
1031 (cos_test_upward): Likewise.
1032 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1033 (cosh_test): Use ALL_RM_TEST.
1034 (cosh_tonearest_test_data): Remove.
1035 (cosh_test_tonearest): Likewise.
1036 (cosh_towardzero_test_data): Likewise.
1037 (cosh_test_towardzero): Likewise.
1038 (cosh_downward_test_data): Likewise.
1039 (cosh_test_downward): Likewise.
1040 (cosh_upward_test_data): Likewise.
1041 (cosh_test_upward): Likewise.
1042 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1043 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1044 (ctan_test_data): Likewise.
1045 (ctan_test): Use ALL_RM_TEST.
1046 (ctan_tonearest_test_data): Remove.
1047 (ctan_test_tonearest): Likewise.
1048 (ctan_towardzero_test_data): Likewise.
1049 (ctan_test_towardzero): Likewise.
1050 (ctan_downward_test_data): Likewise.
1051 (ctan_test_downward): Likewise.
1052 (ctan_upward_test_data): Likewise.
1053 (ctan_test_upward): Likewise.
1054 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1055 (ctanh_test): Use ALL_RM_TEST.
1056 (ctanh_tonearest_test_data): Remove.
1057 (ctanh_test_tonearest): Likewise.
1058 (ctanh_towardzero_test_data): Likewise.
1059 (ctanh_test_towardzero): Likewise.
1060 (ctanh_downward_test_data): Likewise.
1061 (ctanh_test_downward): Likewise.
1062 (ctanh_upward_test_data): Likewise.
1063 (ctanh_test_upward): Likewise.
1064 (erf_test_data): Update call to AUTO_TESTS_f_f.
1065 (erfc_test_data): Likewise.
1066 (exp_test_data): Likewise.
1067 (exp_test): Use ALL_RM_TEST.
1068 (exp_tonearest_test_data): Remove.
1069 (exp_test_tonearest): Likewise.
1070 (exp_towardzero_test_data): Likewise.
1071 (exp_test_towardzero): Likewise.
1072 (exp_downward_test_data): Likewise.
1073 (exp_test_downward): Likewise.
1074 (exp_upward_test_data): Likewise.
1075 (exp_test_upward): Likewise.
1076 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1077 (exp10_test): Use ALL_RM_TEST.
1078 (exp10_tonearest_test_data): Remove.
1079 (exp10_test_tonearest): Likewise.
1080 (exp10_towardzero_test_data): Likewise.
1081 (exp10_test_towardzero): Likewise.
1082 (exp10_downward_test_data): Likewise.
1083 (exp10_test_downward): Likewise.
1084 (exp10_upward_test_data): Likewise.
1085 (exp10_test_upward): Likewise.
1086 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1087 (expm1_test_data): Likewise.
1088 (expm1_test): Use ALL_RM_TEST.
1089 (expm1_tonearest_test_data): Remove.
1090 (expm1_test_tonearest): Likewise.
1091 (expm1_towardzero_test_data): Likewise.
1092 (expm1_test_towardzero): Likewise.
1093 (expm1_downward_test_data): Likewise.
1094 (expm1_test_downward): Likewise.
1095 (expm1_upward_test_data): Likewise.
1096 (expm1_test_upward): Likewise.
1097 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1098 (fma_test): Use ALL_RM_TEST.
1099 (fma_towardzero_test_data): Remove.
1100 (fma_test_towardzero): Likewise.
1101 (fma_downward_test_data): Likewise.
1102 (fma_test_downward): Likewise.
1103 (fma_upward_test_data): Likewise.
1104 (fma_test_upward): Likewise.
1105 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1106 (j0_test_data): Update call to AUTO_TESTS_f_f.
1107 (j1_test_data): Likewise.
1108 (jn_test_data): Update call to AUTO_TESTS_if_f.
1109 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1110 (log_test_data): Update call to AUTO_TESTS_f_f.
1111 (log10_test_data): Likewise.
1112 (log1p_test_data): Likewise.
1113 (log2_test_data): Likewise.
1114 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1115 (pow_tonearest_test_data): Likewise.
1116 (sin_test_data): Update call to AUTO_TESTS_f_f.
1117 (sin_test): Use ALL_RM_TEST.
1118 (sin_tonearest_test_data): Remove.
1119 (sin_test_tonearest): Likewise.
1120 (sin_towardzero_test_data): Likewise.
1121 (sin_test_towardzero): Likewise.
1122 (sin_downward_test_data): Likewise.
1123 (sin_test_downward): Likewise.
1124 (sin_upward_test_data): Likewise.
1125 (sin_test_upward): Likewise.
1126 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1127 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1128 (sinh_test): Use ALL_RM_TEST.
1129 (sinh_tonearest_test_data): Remove.
1130 (sinh_test_tonearest): Likewise.
1131 (sinh_towardzero_test_data): Likewise.
1132 (sinh_test_towardzero): Likewise.
1133 (sinh_downward_test_data): Likewise.
1134 (sinh_test_downward): Likewise.
1135 (sinh_upward_test_data): Likewise.
1136 (sinh_test_upward): Likewise.
1137 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1138 (sqrt_test): Use ALL_RM_TEST.
1139 (sqrt_tonearest_test_data): Remove.
1140 (sqrt_test_tonearest): Likewise.
1141 (sqrt_towardzero_test_data): Likewise.
1142 (sqrt_test_towardzero): Likewise.
1143 (sqrt_downward_test_data): Likewise.
1144 (sqrt_test_downward): Likewise.
1145 (sqrt_upward_test_data): Likewise.
1146 (sqrt_test_upward): Likewise.
1147 (tan_test_data): Update call to AUTO_TESTS_f_f.
1148 (tan_test): Use ALL_RM_TEST.
1149 (tan_tonearest_test_data): Remove.
1150 (tan_test_tonearest): Likewise.
1151 (tan_towardzero_test_data): Likewise.
1152 (tan_test_towardzero): Likewise.
1153 (tan_downward_test_data): Likewise.
1154 (tan_test_downward): Likewise.
1155 (tan_upward_test_data): Likewise.
1156 (tan_test_upward): Likewise.
1157 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1158 (tgamma_test_data): Likewise.
1159 (y0_test_data): Likewise.
1160 (y1_test_data): Likewise.
1161 (yn_test_data): Update call to AUTO_TESTS_if_f.
1162 (main): Do not call removed functions.
1164 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1166 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1167 (ldexp_test_data): Remove.
1168 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1170 (scalb_test): Use ALL_RM_TEST.
1172 2014-03-19 Andreas Schwab <schwab@suse.de>
1174 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1176 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1183 (__ASSUME_PREADV): Undefine.
1184 (__ASSUME_PWRITEV): Likewise.
1186 2014-03-18 Roland McGrath <roland@hack.frob.com>
1188 * bits/mman-linux.h: Add comment about non-Linux use.
1189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1190 bits/mman-linux.h resting place.
1192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1193 * bits/mman-linux.h: ... here.
1195 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197 * conform/conformtest.pl: Add standard definition when calling C
1198 preprocessor on data files.
1199 (checknamespace): Remove unused variable.
1201 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1203 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1204 minus_oflow, plus_uflow and minus_uflow in expected results.
1205 * math/libm-test.inc (scalbn_test_data): Add more tests of
1206 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1208 (scalbn_test): Use ALL_RM_TEST.
1209 (scalbln_test_data): Add more tests of negative arguments. Use
1210 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1211 (scalbln_test): Use ALL_RM_TEST.
1213 2014-03-18 Roland McGrath <roland@hack.frob.com>
1215 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1217 2014-03-18 Will Newton <will.newton@linaro.org>
1219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1222 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1224 * Makerules [!subdir] (check-abi): Exit with error status if a
1227 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1229 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1230 for rint. Include results for all rounding modes.
1231 (nearbyint_test): Use ALL_RM_TEST.
1232 (rint_test_data): Include all tests used for nearbyint.
1234 2014-03-17 Will Newton <will.newton@linaro.org>
1236 * nptl/sysdeps/pthread/pthread.h: Revert previous
1239 * sysdeps/generic/ldsodefs.h: Revert previous
1242 * libio/genops.c: Revert previous change.
1243 * libio/libioP.h: Likewise.
1244 * stdio-common/vfprintf.c: Likewise.
1246 * sysdeps/generic/math_private.h: Revert previous
1249 * sysdeps/generic/math_private.h: Check whether
1250 HAVE_RM_CTX is defined with #ifdef rather
1253 * argp/argp-fmtstream.h: Check whether
1254 __STRICT_ANSI__ is defined with #ifdef rather
1256 * argp/argp.h: Likewise.
1258 * libio/genops.c: Check whether
1259 _IO_JUMPS_OFFSET is defined with #ifdef rather
1261 * libio/libioP.h: Likewise.
1262 * stdio-common/vfprintf.c: Likewise.
1264 * sysdeps/generic/ldsodefs.h: Check whether
1265 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1268 * nptl/sysdeps/pthread/pthread.h: Check
1269 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1272 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1276 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1280 * libio/fileops.c (_IO_file_open): Seek to end of file but
1281 don't cache the offset.
1282 (get_file_offset): Remove function.
1283 (do_ftell): Use cached offset when available.
1284 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1285 don't cache the offset.
1286 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1288 (do_one_test): Call it.
1289 (do_ftell_test): Fix up expected old offset for a+ mode.
1290 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1293 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1294 up test status with function return status.
1295 (do_write_test): Likewise.
1296 (do_append_test): Likewise.
1298 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1299 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1302 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1304 * math/gen-libm-test.pl (parse_args): Handle results specified for
1305 each rounding mode separately.
1306 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1307 tests and results from lrint_tonearest_test_data,
1308 lrint_towardzero_test_data, lrint_downward_test_data and
1309 lrint_upward_test_data.
1310 (lrint_test): Use ALL_RM_TEST.
1311 (lrint_tonearest_test_data): Remove.
1312 (lrint_test_tonearest): Likewise.
1313 (lrint_towardzero_test_data): Likewise.
1314 (lrint_test_towardzero): Likewise.
1315 (lrint_downward_test_data): Likewise.
1316 (lrint_test_downward): Likewise.
1317 (lrint_upward_test_data): Likewise.
1318 (lrint_test_upward): Likewise.
1319 (llrint_test_data): Merge in per-rounding-mode tests and results
1320 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1321 llrint_downward_test_data and llrint_upward_test_data.
1322 (llrint_test): Use ALL_RM_TEST.
1323 (llrint_tonearest_test_data): Remove.
1324 (llrint_test_tonearest): Likewise.
1325 (llrint_towardzero_test_data): Likewise.
1326 (llrint_test_towardzero): Likewise.
1327 (llrint_downward_test_data): Likewise.
1328 (llrint_test_downward): Likewise.
1329 (llrint_upward_test_data): Likewise.
1330 (llrint_test_upward): Likewise.
1331 (rint_test_data): Merge in per-rounding-mode tests and results
1332 from rint_tonearest_test_data, rint_towardzero_test_data,
1333 rint_downward_test_data and rint_upward_test_data. Add
1334 per-rounding-mode results for tests not in those arrays.
1335 (rint_test): Use ALL_RM_TEST.
1336 (rint_tonearest_test_data): Remove.
1337 (rint_test_tonearest): Likewise.
1338 (rint_towardzero_test_data): Likewise.
1339 (rint_test_towardzero): Likewise.
1340 (rint_downward_test_data): Likewise.
1341 (rint_test_downward): Likewise.
1342 (rint_upward_test_data): Likewise.
1343 (rint_test_upward): Likewise.
1344 (main): Don't call removed functions.
1346 2014-03-14 Roland McGrath <roland@hack.frob.com>
1348 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1349 "Compiled on ..." crapola. It is anti-useful.
1351 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1353 * scripts/evaluate-test.sh: Handle fourth argument to determine
1354 whether test run should stop on failure.
1355 * Makeconfig (stop-on-test-failure): New variable.
1356 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1357 $(stop-on-test-failure).
1358 * Makefile (tests): Give a summary of results from testing and
1359 exit with failure status if they include an ERROR or FAIL.
1361 * manual/install.texi (Configuring and compiling): Mention
1362 stop-on-test-failure=y.
1363 * INSTALL: Regenerated.
1365 2014-03-14 Roland McGrath <roland@hack.frob.com>
1367 * scripts/versionlist.awk: New file.
1368 * Makerules [$(build-shared) = yes]
1369 (postclean-generated): Add Versions.def, not Versions.def.v and
1371 ($(common-objpfx)Versions.def.v.i): Target removed.
1372 ($(common-objpfx)Versions.def): New target.
1373 ($(common-objpfx)Versions.all): Depend on that rather that
1374 $(common-objpfx)Versions.def.v.
1375 * Versions.def: File removed.
1377 * Makeconfig (+gccwarn): Add -Wundef.
1378 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1379 a dl-sysdep.h breaking its contract.
1380 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1381 * include/stackinfo.h: New file.
1382 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1383 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1384 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1385 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1386 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1387 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1388 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1389 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1390 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1391 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1392 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1393 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1394 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1395 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1396 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1398 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1403 * math/libm-test.inc (round_test_data): Add more tests.
1405 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1410 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1412 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1417 * math/libm-test.inc (ceil_test_data): Add more tests.
1419 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * math/libm-test.inc (trunc_test_data): Add more tests related to
1424 2014-03-14 Roland McGrath <roland@hack.frob.com>
1426 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1427 with #if rather than #ifdef.
1428 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1430 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1432 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1433 first. Disable AVX-512 GCC support if assembler doesn't support
1435 * sysdeps/x86_64/configure: Regenerated.
1437 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1439 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1440 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1441 (__old_pthread_attr_setstack): Likewise.
1442 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1443 [!_STACK_GROWS_DOWN]: Likewise.
1445 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1447 * config.make.in (have-bash2): Delete.
1448 * configure.ac (libc_cv_have_bash2): Delete.
1449 * configure: Regenerate.
1450 * elf/Makefile (common-ldd-rewrite): Rename to ...
1451 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1452 (sh-ldd-rewrite): Delete.
1453 (bash-ldd-rewrite): Delete.
1454 (have-bash2): Delete checks.
1455 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1457 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1459 * config.make.in (have-ksh): Delete.
1461 * configure.ac (libc_cv_have_ksh): Delete.
1462 * configure: Regenerate.
1464 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1466 * elf/Makefile: Delete $(have-ksh) check.
1467 ($(objpfx)sotruss): Change KSH to BASH.
1468 * elf/sotruss.ksh: Rename to ...
1469 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1470 function style to match POSIX. Drop ksh vim mode setting.
1472 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1474 * manual/time.texi (Specifying the Time Zone with TZ): Change
1475 Tuesday to Thursday.
1477 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1479 * debug/tst-longjmp_chk2.c: Update header comment.
1480 (stackoverflow_handler): Add comment. Call assert on pass value.
1482 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1484 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1485 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1486 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1487 (La_x86_64_vector): Add zmm.
1488 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1489 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1490 ($(objpfx)tst-audit10): New target.
1491 ($(objpfx)tst-audit10.out): Likewise.
1492 (tst-audit10-ENV): New.
1493 (AVX512-CFLAGS): Likewise.
1494 (CFLAGS-tst-audit10.c): Likewise.
1495 (CFLAGS-tst-auditmod10a.c): Likewise.
1496 (CFLAGS-tst-auditmod10b.c): Likewise.
1497 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1498 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1499 * sysdeps/x86_64/configure: Regenerated.
1500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1501 AVX-512 zmm register support.
1502 (_dl_x86_64_save_sse): Likewise.
1503 (_dl_x86_64_restore_sse): Likewise.
1504 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1505 size vector registers.
1506 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1507 (ZMM_SIZE): Likewise.
1508 * sysdeps/x86_64/tst-audit10.c: New file.
1509 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1510 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1512 2014-03-13 Roland McGrath <roland@hack.frob.com>
1514 * configure.ac (HAVE_EHDR_START): New check.
1515 * configure: Regenerated.
1516 * config.h.in (HAVE_EHDR_START): New #undef.
1517 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1518 assuming the lowest-addressed segment maps the start of the file.
1520 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1522 * INSTALL: Regenerated.
1524 2014-03-13 Will Newton <will.newton@linaro.org>
1526 * manual/setjmp.texi (System V contexts): Improve
1527 clarity and grammar of documentation.
1529 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1532 * elf/Makefile (tests): Add tst-pie2.
1533 (tests-pie): Add tst-pie2.
1534 * elf/tst-pie2.c: New file.
1535 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1537 * elf/rtld.c (map_doit): Load executable as lt_executable.
1538 (dl_main): Likewise.
1540 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1544 (__ASSUME_PSELECT): Undefine.
1546 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1550 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1553 selector for static builds.
1555 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1561 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1564 selector for static builds.
1566 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1568 * sysdeps/mips/math_private.h [__mips_hard_float]
1569 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1570 libc_feresetround_mips_ctx.
1571 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1572 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1573 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1576 * math/s_nextafter.c (__nextafter): Do not return value from
1577 overflowing computation.
1578 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1579 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1582 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1585 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1587 2014-03-11 Roland McGrath <roland@hack.frob.com>
1589 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1590 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1591 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1592 the new mov targetting sp.
1594 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1597 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1598 Define it for static builds as well.
1599 (NO_BZERO_IMPL): Likewise.
1601 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1603 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1604 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1605 multiarch strspn for PPC64.
1606 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1607 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1609 (__libc_ifunc_impl_list): Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1611 multiarch optimizations
1612 * string/strspn.c (strspn): Using macro to redefine symbol name.
1614 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1615 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1618 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1619 multiarch strncat for PPC64.
1620 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1621 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1623 (__libc_ifunc_impl_list): Likewise.
1624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1625 multiarch optimizations
1627 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1630 * nscd/nscd.service: Make service type forking.
1632 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1635 sign in non default rounding modes.
1636 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1638 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1640 * math/libm-test.inc (ALL_RM_TEST): New macro.
1641 (ceil_test): Use ALL_RM_TEST.
1642 (cimag_test): Likewise.
1643 (conj_test): Likewise.
1644 (copysign_test): Likewise.
1645 (cproj_test): Likewise.
1646 (creal_test): Likewise.
1647 (fabs_test): Likewise.
1648 (floor_test): Likewise.
1649 (fmax_test): Likewise.
1650 (fmin_test): Likewise.
1651 (fmod_test): Likewise.
1652 (fpclassify_test): Likewise.
1653 (frexp_test): Likewise.
1654 (ilogb_test): Likewise.
1655 (isfinite_test): Likewise.
1656 (finite_test): Likewise.
1657 (isgreater_test): Likewise.
1658 (isgreaterequal_test): Likewise.
1659 (isinf_test): Likewise.
1660 (isless_test): Likewise.
1661 (islessequal_test): Likewise.
1662 (islessgreater_test): Likewise.
1663 (isnan_test): Likewise.
1664 (isnormal_test): Likewise.
1665 (issignaling_test): Likewise.
1666 (isunordered_test): Likewise.
1667 (logb_test): Likewise.
1668 (logb_downward_test_data): Remove.
1669 (logb_test_downward): Likewise.
1670 (lround_test): Use ALL_RM_TEST.
1671 (llround_test): Likewise.
1672 (modf_test): Likewise.
1673 (nexttoward_test): Likewise.
1674 (remainder_test): Likewise.
1675 (drem_test): Likewise.
1676 (remainder_tonearest_test_data): Likewise.
1677 (remainder_test_tonearest): Likewise.
1678 (drem_test_tonearest): Likewise.
1679 (remainder_towardzero_test_data): Likewise.
1680 (remainder_test_towardzero): Likewise.
1681 (drem_test_towardzero): Likewise.
1682 (remainder_downward_test_data): Likewise.
1683 (remainder_test_downward): Likewise.
1684 (drem_test_downward): Likewise.
1685 (remainder_upward_test_data): Likewise.
1686 (remainder_test_upward): Likewise.
1687 (drem_test_upward): Likewise.
1688 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1689 (round_test): Use ALL_RM_TEST.
1690 (signbit_test): Likewise.
1691 (trunc_test): Likewise.
1692 (significand_test): Likewise.
1693 (main): Don't call removed functions.
1695 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1698 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1700 (ILL_ILLOPN): Likewise.
1701 (ILL_ILLADR): Likewise.
1702 (ILL_ILLTRP): Likewise.
1703 (ILL_PRVOPC): Likewise.
1704 (ILL_PRVREG): Likewise.
1705 (ILL_COPROC): Likewise.
1706 (ILL_BADSTK): Likewise.
1707 (FPE_INTDIV): Likewise.
1708 (FPE_INTOVF): Likewise.
1709 (FPE_FLTDIV): Likewise.
1710 (FPE_FLTOVF): Likewise.
1711 (FPE_FLTUND): Likewise.
1712 (FPE_FLTRES): Likewise.
1713 (FPE_FLTINV): Likewise.
1714 (FPE_FLTSUB): Likewise.
1715 (SEGV_MAPERR): Likewise.
1716 (SEGV_ACCERR): Likewise.
1717 (BUS_ADRALN): Likewise.
1718 (BUS_ADRERR): Likewise.
1719 (BUS_OBJERR): Likewise.
1720 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1721 (TRAP_TRACE): Likewise.
1722 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1724 (CLD_KILLED): Likewise.
1725 (CLD_DUMPED): Likewise.
1726 (CLD_TRAPPED): Likewise.
1727 (CLD_STOPPED): Likewise.
1728 (CLD_CONTINUED): Likewise.
1729 (POLL_IN): Likewise.
1730 (POLL_OUT): Likewise.
1731 (POLL_MSG): Likewise.
1732 (POLL_ERR): Likewise.
1733 (POLL_PRI): Likewise.
1734 (POLL_HUP): Likewise.
1735 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1737 (ILL_ILLOPN): Likewise.
1738 (ILL_ILLADR): Likewise.
1739 (ILL_ILLTRP): Likewise.
1740 (ILL_PRVOPC): Likewise.
1741 (ILL_PRVREG): Likewise.
1742 (ILL_COPROC): Likewise.
1743 (ILL_BADSTK): Likewise.
1744 (FPE_INTDIV): Likewise.
1745 (FPE_INTOVF): Likewise.
1746 (FPE_FLTDIV): Likewise.
1747 (FPE_FLTOVF): Likewise.
1748 (FPE_FLTUND): Likewise.
1749 (FPE_FLTRES): Likewise.
1750 (FPE_FLTINV): Likewise.
1751 (FPE_FLTSUB): Likewise.
1752 (SEGV_MAPERR): Likewise.
1753 (SEGV_ACCERR): Likewise.
1754 (BUS_ADRALN): Likewise.
1755 (BUS_ADRERR): Likewise.
1756 (BUS_OBJERR): Likewise.
1757 (BUS_MCEERR_AR): Likewise.
1758 (BUS_MCEERR_AO): Likewise.
1759 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1760 (TRAP_TRACE): Likewise.
1761 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1763 (CLD_KILLED): Likewise.
1764 (CLD_DUMPED): Likewise.
1765 (CLD_TRAPPED): Likewise.
1766 (CLD_STOPPED): Likewise.
1767 (CLD_CONTINUED): Likewise.
1768 (POLL_IN): Likewise.
1769 (POLL_OUT): Likewise.
1770 (POLL_MSG): Likewise.
1771 (POLL_ERR): Likewise.
1772 (POLL_PRI): Likewise.
1773 (POLL_HUP): Likewise.
1774 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1775 (ILL_ILLOPN): Likewise.
1776 (ILL_ILLADR): Likewise.
1777 (ILL_ILLTRP): Likewise.
1778 (ILL_PRVOPC): Likewise.
1779 (ILL_PRVREG): Likewise.
1780 (ILL_COPROC): Likewise.
1781 (ILL_BADSTK): Likewise.
1782 (FPE_INTDIV): Likewise.
1783 (FPE_INTOVF): Likewise.
1784 (FPE_FLTDIV): Likewise.
1785 (FPE_FLTOVF): Likewise.
1786 (FPE_FLTUND): Likewise.
1787 (FPE_FLTRES): Likewise.
1788 (FPE_FLTINV): Likewise.
1789 (FPE_FLTSUB): Likewise.
1790 (SEGV_MAPERR): Likewise.
1791 (SEGV_ACCERR): Likewise.
1792 (BUS_ADRALN): Likewise.
1793 (BUS_ADRERR): Likewise.
1794 (BUS_OBJERR): Likewise.
1795 (BUS_MCEERR_AR): Likewise.
1796 (BUS_MCEERR_AO): Likewise.
1797 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1798 (TRAP_TRACE): Likewise.
1799 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1801 (CLD_KILLED): Likewise.
1802 (CLD_DUMPED): Likewise.
1803 (CLD_TRAPPED): Likewise.
1804 (CLD_STOPPED): Likewise.
1805 (CLD_CONTINUED): Likewise.
1806 (POLL_IN): Likewise.
1807 (POLL_OUT): Likewise.
1808 (POLL_MSG): Likewise.
1809 (POLL_ERR): Likewise.
1810 (POLL_PRI): Likewise.
1811 (POLL_HUP): Likewise.
1812 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1814 (ILL_ILLOPN): Likewise.
1815 (ILL_ILLADR): Likewise.
1816 (ILL_ILLTRP): Likewise.
1817 (ILL_PRVOPC): Likewise.
1818 (ILL_PRVREG): Likewise.
1819 (ILL_COPROC): Likewise.
1820 (ILL_BADSTK): Likewise.
1821 (ILL_BADIADDR): Likewise.
1822 (ILL_BREAK): Likewise.
1823 (FPE_INTDIV): Likewise.
1824 (FPE_INTOVF): Likewise.
1825 (FPE_FLTDIV): Likewise.
1826 (FPE_FLTOVF): Likewise.
1827 (FPE_FLTUND): Likewise.
1828 (FPE_FLTRES): Likewise.
1829 (FPE_FLTINV): Likewise.
1830 (FPE_FLTSUB): Likewise.
1831 (FPE_DECOVF): Likewise.
1832 (FPE_DECDIV): Likewise.
1833 (FPE_DECERR): Likewise.
1834 (FPE_INVASC): Likewise.
1835 (FPE_INVDEC): Likewise.
1836 (SEGV_MAPERR): Likewise.
1837 (SEGV_ACCERR): Likewise.
1838 (SEGV_PSTKOVF): Likewise.
1839 (BUS_ADRALN): Likewise.
1840 (BUS_ADRERR): Likewise.
1841 (BUS_OBJERR): Likewise.
1842 (BUS_MCEERR_AR): Likewise.
1843 (BUS_MCEERR_AO): Likewise.
1844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1845 (TRAP_TRACE): Likewise.
1846 (TRAP_BRANCH): Likewise.
1847 (TRAP_HWBKPT): Likewise.
1848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1850 (CLD_KILLED): Likewise.
1851 (CLD_DUMPED): Likewise.
1852 (CLD_TRAPPED): Likewise.
1853 (CLD_STOPPED): Likewise.
1854 (CLD_CONTINUED): Likewise.
1855 (POLL_IN): Likewise.
1856 (POLL_OUT): Likewise.
1857 (POLL_MSG): Likewise.
1858 (POLL_ERR): Likewise.
1859 (POLL_PRI): Likewise.
1860 (POLL_HUP): Likewise.
1861 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1862 (ILL_ILLOPN): Likewise.
1863 (ILL_ILLADR): Likewise.
1864 (ILL_ILLTRP): Likewise.
1865 (ILL_PRVOPC): Likewise.
1866 (ILL_PRVREG): Likewise.
1867 (ILL_COPROC): Likewise.
1868 (ILL_BADSTK): Likewise.
1869 (FPE_INTDIV): Likewise.
1870 (FPE_INTOVF): Likewise.
1871 (FPE_FLTDIV): Likewise.
1872 (FPE_FLTOVF): Likewise.
1873 (FPE_FLTUND): Likewise.
1874 (FPE_FLTRES): Likewise.
1875 (FPE_FLTINV): Likewise.
1876 (FPE_FLTSUB): Likewise.
1877 (SEGV_MAPERR): Likewise.
1878 (SEGV_ACCERR): Likewise.
1879 (BUS_ADRALN): Likewise.
1880 (BUS_ADRERR): Likewise.
1881 (BUS_OBJERR): Likewise.
1882 (BUS_MCEERR_AR): Likewise.
1883 (BUS_MCEERR_AO): Likewise.
1884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1885 (TRAP_TRACE): Likewise.
1886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1888 (CLD_KILLED): Likewise.
1889 (CLD_DUMPED): Likewise.
1890 (CLD_TRAPPED): Likewise.
1891 (CLD_STOPPED): Likewise.
1892 (CLD_CONTINUED): Likewise.
1893 (POLL_IN): Likewise.
1894 (POLL_OUT): Likewise.
1895 (POLL_MSG): Likewise.
1896 (POLL_ERR): Likewise.
1897 (POLL_PRI): Likewise.
1898 (POLL_HUP): Likewise.
1899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1900 (ILL_ILLOPN): Likewise.
1901 (ILL_ILLADR): Likewise.
1902 (ILL_ILLTRP): Likewise.
1903 (ILL_PRVOPC): Likewise.
1904 (ILL_PRVREG): Likewise.
1905 (ILL_COPROC): Likewise.
1906 (ILL_BADSTK): Likewise.
1907 (FPE_INTDIV): Likewise.
1908 (FPE_INTOVF): Likewise.
1909 (FPE_FLTDIV): Likewise.
1910 (FPE_FLTOVF): Likewise.
1911 (FPE_FLTUND): Likewise.
1912 (FPE_FLTRES): Likewise.
1913 (FPE_FLTINV): Likewise.
1914 (FPE_FLTSUB): Likewise.
1915 (SEGV_MAPERR): Likewise.
1916 (SEGV_ACCERR): Likewise.
1917 (BUS_ADRALN): Likewise.
1918 (BUS_ADRERR): Likewise.
1919 (BUS_OBJERR): Likewise.
1920 (BUS_MCEERR_AR): Likewise.
1921 (BUS_MCEERR_AO): Likewise.
1922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1923 (TRAP_TRACE): Likewise.
1924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1926 (CLD_KILLED): Likewise.
1927 (CLD_DUMPED): Likewise.
1928 (CLD_TRAPPED): Likewise.
1929 (CLD_STOPPED): Likewise.
1930 (CLD_CONTINUED): Likewise.
1931 (POLL_IN): Likewise.
1932 (POLL_OUT): Likewise.
1933 (POLL_MSG): Likewise.
1934 (POLL_ERR): Likewise.
1935 (POLL_PRI): Likewise.
1936 (POLL_HUP): Likewise.
1937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1938 (ILL_ILLOPN): Likewise.
1939 (ILL_ILLADR): Likewise.
1940 (ILL_ILLTRP): Likewise.
1941 (ILL_PRVOPC): Likewise.
1942 (ILL_PRVREG): Likewise.
1943 (ILL_COPROC): Likewise.
1944 (ILL_BADSTK): Likewise.
1945 (FPE_INTDIV): Likewise.
1946 (FPE_INTOVF): Likewise.
1947 (FPE_FLTDIV): Likewise.
1948 (FPE_FLTOVF): Likewise.
1949 (FPE_FLTUND): Likewise.
1950 (FPE_FLTRES): Likewise.
1951 (FPE_FLTINV): Likewise.
1952 (FPE_FLTSUB): Likewise.
1953 (SEGV_MAPERR): Likewise.
1954 (SEGV_ACCERR): Likewise.
1955 (BUS_ADRALN): Likewise.
1956 (BUS_ADRERR): Likewise.
1957 (BUS_OBJERR): Likewise.
1958 (BUS_MCEERR_AR): Likewise.
1959 (BUS_MCEERR_AO): Likewise.
1960 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1961 (TRAP_TRACE): Likewise.
1962 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1964 (CLD_KILLED): Likewise.
1965 (CLD_DUMPED): Likewise.
1966 (CLD_TRAPPED): Likewise.
1967 (CLD_STOPPED): Likewise.
1968 (CLD_CONTINUED): Likewise.
1969 (POLL_IN): Likewise.
1970 (POLL_OUT): Likewise.
1971 (POLL_MSG): Likewise.
1972 (POLL_ERR): Likewise.
1973 (POLL_PRI): Likewise.
1974 (POLL_HUP): Likewise.
1975 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1976 (ILL_ILLOPN): Likewise.
1977 (ILL_ILLADR): Likewise.
1978 (ILL_ILLTRP): Likewise.
1979 (ILL_PRVOPC): Likewise.
1980 (ILL_PRVREG): Likewise.
1981 (ILL_COPROC): Likewise.
1982 (ILL_BADSTK): Likewise.
1983 (ILL_DBLFLT): Likewise.
1984 (ILL_HARDWALL): Likewise.
1985 (FPE_INTDIV): Likewise.
1986 (FPE_INTOVF): Likewise.
1987 (FPE_FLTDIV): Likewise.
1988 (FPE_FLTOVF): Likewise.
1989 (FPE_FLTUND): Likewise.
1990 (FPE_FLTRES): Likewise.
1991 (FPE_FLTINV): Likewise.
1992 (FPE_FLTSUB): Likewise.
1993 (SEGV_MAPERR): Likewise.
1994 (SEGV_ACCERR): Likewise.
1995 (BUS_ADRALN): Likewise.
1996 (BUS_ADRERR): Likewise.
1997 (BUS_OBJERR): Likewise.
1998 (BUS_MCEERR_AR): Likewise.
1999 (BUS_MCEERR_AO): Likewise.
2000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2001 (TRAP_TRACE): Likewise.
2002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2004 (CLD_KILLED): Likewise.
2005 (CLD_DUMPED): Likewise.
2006 (CLD_TRAPPED): Likewise.
2007 (CLD_STOPPED): Likewise.
2008 (CLD_CONTINUED): Likewise.
2009 (POLL_IN): Likewise.
2010 (POLL_OUT): Likewise.
2011 (POLL_MSG): Likewise.
2012 (POLL_ERR): Likewise.
2013 (POLL_PRI): Likewise.
2014 (POLL_HUP): Likewise.
2015 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2016 (ILL_ILLOPN): Likewise.
2017 (ILL_ILLADR): Likewise.
2018 (ILL_ILLTRP): Likewise.
2019 (ILL_PRVOPC): Likewise.
2020 (ILL_PRVREG): Likewise.
2021 (ILL_COPROC): Likewise.
2022 (ILL_BADSTK): Likewise.
2023 (FPE_INTDIV): Likewise.
2024 (FPE_INTOVF): Likewise.
2025 (FPE_FLTDIV): Likewise.
2026 (FPE_FLTOVF): Likewise.
2027 (FPE_FLTUND): Likewise.
2028 (FPE_FLTRES): Likewise.
2029 (FPE_FLTINV): Likewise.
2030 (FPE_FLTSUB): Likewise.
2031 (SEGV_MAPERR): Likewise.
2032 (SEGV_ACCERR): Likewise.
2033 (BUS_ADRALN): Likewise.
2034 (BUS_ADRERR): Likewise.
2035 (BUS_OBJERR): Likewise.
2036 (BUS_MCEERR_AR): Likewise.
2037 (BUS_MCEERR_AO): Likewise.
2038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2039 (TRAP_TRACE): Likewise.
2040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2042 (CLD_KILLED): Likewise.
2043 (CLD_DUMPED): Likewise.
2044 (CLD_TRAPPED): Likewise.
2045 (CLD_STOPPED): Likewise.
2046 (CLD_CONTINUED): Likewise.
2047 (POLL_IN): Likewise.
2048 (POLL_OUT): Likewise.
2049 (POLL_MSG): Likewise.
2050 (POLL_ERR): Likewise.
2051 (POLL_PRI): Likewise.
2052 (POLL_HUP): Likewise.
2053 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2054 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2057 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2058 before #include of <time.h>.
2059 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2060 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2061 (test-xfail-UNIX98/sched.h/conform): Likewise.
2063 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2065 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2066 error absence of trapping exception support.
2067 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2069 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2071 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2072 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2073 * timezone/Makefile (testdata): Move definition above include of
2075 (test-zones): New variable.
2076 (tests-special): Add zone files.
2077 (build-testdata): Use $(evaluate-test).
2079 * elf/Makefile (tests-special): Rename tests to end with .out.
2080 ($(objpfx)noload-mem): Likewise.
2081 ($(objpfx)tst-leaks1-mem): Likewise.
2082 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2083 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2084 $(objpfx)test-iconvconfig.out.
2085 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2086 set -e inside subshell and redirect output to file.
2087 * iconvdata/Makefile (generated): Rename tests to end with .out.
2089 (tests-special): Rename tests to end with .out.
2090 ($(objpfx)mtrace-tst-loading): Likewise.
2091 * intl/Makefile (generated): Likewise.
2092 (tests-special): Likewise.
2093 ($(objpfx)mtrace-tst-gettext): Likewise.
2094 * misc/Makefile (generated): Likewise.
2095 (tests-special): Likewise.
2096 ($(objpfx)tst-error1-mem): Likewise.
2097 * nptl/Makefile (tests-special): Likewise.
2098 ($(objpfx)tst-stack3-mem): Likewise.
2099 (generated): Likewise.
2100 * posix/Makefile (generated): Likewise.
2101 (tests-special): Likewise.
2102 (xtests-special): Likewise.
2103 ($(objpfx)tst-fnmatch-mem): Likewise.
2104 ($(objpfx)bug-regex2-mem): Likewise.
2105 ($(objpfx)bug-regex14-mem): Likewise.
2106 ($(objpfx)bug-regex21-mem): Likewise.
2107 ($(objpfx)bug-regex31-mem): Likewise.
2108 ($(objpfx)tst-vfork3-mem): Likewise.
2109 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2110 ($(objpfx)tst-pcre-mem): Likewise.
2111 ($(objpfx)tst-boost-mem): Likewise.
2112 ($(objpfx)bug-ga2-mem): Likewise.
2113 ($(objpfx)bug-glob2-mem): Likewise.
2114 * resolv/Makefile (generate): Likewise.
2115 (tests-special): Likewise.
2116 (xtests-special): Likewise.
2117 (generated): Likewise.
2118 ($(objpfx)mtrace-tst-leaks): Likewise.
2119 ($(objpfx)mtrace-tst-leaks2): Likewise.
2121 * scripts/merge-test-results.sh: New file.
2122 * Makefile (tests-special-notdir): New variable.
2123 (tests): Run merge-test-results.sh.
2125 * Rules (tests-special-notdir): New variable.
2126 (xtests-special-notdir): Likewise.
2127 (tests): Run merge-test-results.sh
2130 * Makeconfig (test-xfail-name): New variable.
2131 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2132 compute variable name for expected failures.
2133 * conform/Makefile (conformtest-headers-data): New variable.
2134 (conformtest-standards): Likewise.
2135 (conformtest-headers-ISO): Likewise.
2136 (conformtest-headers-ISO99): Likewise.
2137 (conformtest-headers-ISO11): Likewise.
2138 (conformtest-headers-POSIX): Likewise.
2139 (conformtest-headers-XPG3): Likewise.
2140 (conformtest-headers-XPG4): Likewise.
2141 (conformtest-headers-UNIX98): Likewise.
2142 (conformtest-headers-XOPEN2K): Likewise.
2143 (conformtest-headers-POSIX2008): Likewise.
2144 (conformtest-headers-XOPEN2K8): Likewise.
2145 (conformtest-header-list-base): Likewise.
2146 (conformtest-header-list-tests): Likewise.
2147 (conformtest-header-base): Likewise.
2148 (conformtest-header-tests): Likewise.
2149 (tests-special): Add $(conformtest-header-list-tests). If
2150 [$(fast-check) && !$(cross-compiling)], add
2151 $(conformtest-header-tests) instead of
2152 $(objpfx)run-conformtest.out.
2153 (generated): Add $(conformtest-header-list-base). If
2154 [$(fast-check) && !$(cross-compiling)], add
2155 $(conformtest-header-base). Remove previous setting.
2156 ($(conformtest-header-list-tests)): New target.
2157 (test-xfail-run-conformtest): Remove variable.
2158 ($(objpfx)run-conformtest.out): Remove target.
2159 (test-xfail-ISO11/complex.h/conform): New variable.
2160 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2161 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2162 (test-xfail-XPG3/varargs.h/conform): Likewise.
2163 (test-xfail-XPG4/varargs.h/conform): Likewise.
2164 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2165 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2166 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2167 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2168 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2169 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2170 (test-xfail-XPG3/ftw.h/conform): Likewise.
2171 (test-xfail-XPG3/grp.h/conform): Likewise.
2172 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2173 (test-xfail-XPG3/limits.h/conform): Likewise.
2174 (test-xfail-XPG3/pwd.h/conform): Likewise.
2175 (test-xfail-XPG3/search.h/conform): Likewise.
2176 (test-xfail-XPG3/signal.h/conform): Likewise.
2177 (test-xfail-XPG3/stdio.h/conform): Likewise.
2178 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2179 (test-xfail-XPG3/string.h/conform): Likewise.
2180 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2181 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2182 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2183 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2184 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2185 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2186 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2187 (test-xfail-XPG3/termios.h/conform): Likewise.
2188 (test-xfail-XPG3/time.h/conform): Likewise.
2189 (test-xfail-XPG3/unistd.h/conform): Likewise.
2190 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2191 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2192 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2193 (test-xfail-XPG4/netdb.h/conform): Likewise.
2194 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2195 (test-xfail-XPG4/signal.h/conform): Likewise.
2196 (test-xfail-XPG4/stdio.h/conform): Likewise.
2197 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2198 (test-xfail-XPG4/stropts.h/conform): Likewise.
2199 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2200 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2201 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2202 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2203 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2204 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2205 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2206 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2207 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2208 (test-xfail-XPG4/termios.h/conform): Likewise.
2209 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2210 (test-xfail-XPG4/unistd.h/conform): Likewise.
2211 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2212 (test-xfail-POSIX/sched.h/conform): Likewise.
2213 (test-xfail-POSIX/signal.h/conform): Likewise.
2214 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2215 (test-xfail-POSIX/tar.h/conform): Likewise.
2216 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2217 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2218 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2219 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2220 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2221 (test-xfail-UNIX98/sched.h/conform): Likewise.
2222 (test-xfail-UNIX98/signal.h/conform): Likewise.
2223 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2224 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2225 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2226 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2227 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2228 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2229 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2230 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2231 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2232 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2233 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2234 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2235 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2236 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2237 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2238 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2239 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2240 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2241 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2242 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2243 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2244 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2245 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2246 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2247 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2248 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2249 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2250 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2251 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2252 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2253 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2254 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2255 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2256 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2257 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2258 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2259 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2260 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2261 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2262 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2263 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2264 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2265 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2266 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2267 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2268 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2269 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2270 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2271 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2272 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2273 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2274 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2275 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2276 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2277 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2278 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2279 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2280 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2281 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2282 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2283 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2284 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2285 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2286 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2287 (conformtest-cc-flags): Likewise.
2288 ($(conformtest-header-tests): New target.
2289 * conform/check-header-lists.sh: New file.
2290 * conform/run-conformtest.sh: Remove.
2292 * conform/conformtest.pl: Allow ' and \ in values given for
2294 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2296 [POSIX] (sys/types.h): Likewise.
2297 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2299 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2301 * conform/data/signal.h-data (SIGIO): Remove expectation.
2302 [XPG3] (SIGBUS): Do not expect.
2303 [POSIX || XPG3] (SIGPOLL): Likewise.
2304 [POSIX || XPG3] (SIGPROF): Likewise.
2305 [POSIX || XPG3] (SIGSYS): Likewise.
2306 [XPG3] (SIGTRAP): Likewise.
2307 [POSIX || XPG3] (SIGURG): Likewise.
2308 [POSIX || XPG3] (SIGVTALRM): Likewise.
2309 [POSIX || XPG3] (SIGXCPU): Likewise.
2310 [POSIX || XPG3] (SIGXFSZ): Likewise.
2311 [POSIX] (SA_SIGINFO): Expect.
2312 [XPG3] (siginfo_t): Do not expect type or contents.
2313 [POSIX] (si_pid): Do not expect element.
2314 [POSIX] (si_uid): Likewise.
2315 [POSIX] (si_addr): Likewise.
2316 [POSIX] (si_status): Likewise.
2317 [POSIX] (si_band): Likewise.
2318 [XPG4] (si_value): Likewise.
2319 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2320 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2321 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2322 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2323 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2324 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2325 [POSIX || XPG3] (ILL_COPROC): Likewise.
2326 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2327 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2328 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2329 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2330 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2331 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2332 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2333 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2334 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2335 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2336 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2337 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2338 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2339 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2340 [POSIX || XPG3] (CLD_EXITED): Likewise.
2341 [POSIX || XPG3] (CLD_KILLED): Likewise.
2342 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2343 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2344 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2345 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2346 [POSIX || XPG3] (POLL_IN): Likewise.
2347 [POSIX || XPG3] (POLL_OUT): Likewise.
2348 [POSIX || XPG3] (POLL_MSG): Likewise.
2349 [POSIX || XPG3] (POLL_ERR): Likewise.
2350 [POSIX || XPG3] (POLL_PRI): Likewise.
2351 [POSIX || XPG3] (POLL_HUP): Likewise.
2352 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2353 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2354 (SIG*): Do not allow.
2355 [XPG3] (si_*): Likewise.
2356 [XPG3] (SI_*): Likewise.
2357 [XPG3 || XPG4] (sigev_*): Likewise.
2358 [XPG3 || XPG4] (SIGEV_*): Likewise.
2359 [XPG3 || XPG4] (sival_*): Likewise.
2360 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2361 [POSIX || XPG3] (BUS_*): Likewise.
2362 [POSIX || XPG3] (CLD_*): Likewise.
2363 [POSIX || XPG3] (FPE_*): Likewise.
2364 [POSIX || XPG3] (ILL_*): Likewise.
2365 [POSIX || XPG3] (POLL_*): Likewise.
2366 [POSIX || XPG3] (SEGV_*): Likewise.
2367 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2368 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2369 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2370 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2371 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2372 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2373 Specify type and value.
2374 (TVERSLEN): Likewise.
2375 (REGTYPE): Likewise.
2376 (AREGTYPE): Likewise.
2377 (LNKTYPE): Likewise.
2378 (SYMTYPE): Likewise.
2379 (CHRTYPE): Likewise.
2380 (BLKTYPE): Likewise.
2381 (DIRTYPE): Likewise.
2382 (FIFOTYPE): Likewise.
2383 (CONTTYPE): Likewise.
2388 (TUWRITE): Likewise.
2391 (TGWRITE): Likewise.
2394 (TOWRITE): Likewise.
2396 [POSIX] (TSVTX): Expect constant.
2398 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2400 * Makefile (tests): Change dependencies to ....
2401 (tests-special): ... additions to this variable.
2402 (tests): Depend on $(tests-special).
2403 * Makerules (check-abi-list): New variable.
2404 (check-abi): Depend on $(check-abi-list).
2405 [$(subdir) = elf] (tests-special): Add
2406 $(objpfx)check-abi-libc.out.
2407 [$(build-shared) = yes && subdir] (tests-special): Add
2409 [$(build-shared) = yes && subdir] (tests): Do not depend on
2411 * Rules (tests): Depend on $(tests-special).
2412 (xtests): Depend on $(xtests-special).
2413 * catgets/Makefile (tests): Change dependencies to ....
2414 (tests-special): ... additions to this variable.
2415 * conform/Makefile (tests): Change dependencies to ....
2416 (tests-special): ... additions to this variable.
2417 * elf/Makefile (tests): Change dependencies to ....
2418 (tests-special): ... additions to this variable.
2419 * grp/Makefile (tests): Change dependencies to ....
2420 (tests-special): ... additions to this variable.
2421 * iconv/Makefile (xtests): Change dependencies to ....
2422 (xtests-special): ... additions to this variable.
2423 * iconvdata/Makefile (tests): Change dependencies to ....
2424 (tests-special): ... additions to this variable.
2425 * intl/Makefile (tests): Change dependencies to ....
2426 (tests-special): ... additions to this variable. Also add
2427 $(objpfx)tst-gettext.out.
2428 * io/Makefile (tests): Change dependencies to ....
2429 (tests-special): ... additions to this variable.
2430 * libio/Makefile (tests): Change dependencies to ....
2431 (tests-special): ... additions to this variable.
2432 * malloc/Makefile (tests): Change dependencies to ....
2433 (tests-special): ... additions to this variable.
2434 * misc/Makefile (tests): Change dependencies to ....
2435 (tests-special): ... additions to this variable.
2436 * nptl/Makefile (tests): Change dependencies to ....
2437 (tests-special): ... additions to this variable.
2438 * nptl_db/Makefile (tests): Change dependencies to ....
2439 (tests-special): ... additions to this variable.
2440 * posix/Makefile (tests): Change dependencies to ....
2441 (tests-special): ... additions to this variable.
2442 (xtests): Change dependencies to ....
2443 (xtests-special): ... additions to this variable.
2444 * resolv/Makefile (tests): Change dependencies to ....
2445 (tests-special): ... additions to this variable.
2446 (xtests): Change dependencies to ....
2447 (xtests-special): ... additions to this variable.
2448 * stdio-common/Makefile (tests): Change dependencies to ....
2449 (tests-special): ... additions to this variable.
2450 (do-tst-unbputc): Remove target.
2451 (do-tst-printf): Likewise.
2452 * stdlib/Makefile (tests): Change dependencies to ....
2453 (tests-special): ... additions to this variable.
2454 * string/Makefile (tests): Change dependencies to ....
2455 (tests-special): ... additions to this variable.
2456 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2457 (tests-special): ... additions to this variable.
2459 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2461 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2463 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2464 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2466 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2467 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2468 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2469 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2470 * conform/data/libgen.h-data [XPG3]: Likewise.
2471 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2472 * conform/data/ndbm.h-data [XPG3]: Likewise.
2473 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2474 * conform/data/netdb.h-data [XPG3]: Likewise.
2475 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2476 * conform/data/poll.h-data [XPG3]: Likewise.
2477 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2478 * conform/data/strings.h-data [XPG3]: Likewise.
2479 * conform/data/stropts.h-data [XPG3]: Likewise.
2480 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2481 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2482 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2484 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2485 * conform/data/sys/time.h-data [XPG3]: Likewise.
2486 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2487 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2488 * conform/data/sys/un.h-data [XPG3]: Likewise.
2489 * conform/data/syslog.h-data [XPG3]: Likewise.
2490 * conform/data/ucontext.h-data [XPG3]: Likewise.
2491 * conform/data/utmpx.h-data [XPG3]: Likewise.
2492 * conform/data/varargs.h-data [UNIX98]: Enable file.
2494 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2496 * math/libm-test.inc (struct test_f_f_data): Move expected results
2497 into structure for each rounding mode.
2498 (struct test_ff_f_data): Likewise.
2499 (struct test_ff_f_data_nexttoward): Likewise.
2500 (struct test_fi_f_data): Likewise.
2501 (struct test_fl_f_data): Likewise.
2502 (struct test_if_f_data): Likewise.
2503 (struct test_fff_f_data): Likewise.
2504 (struct test_c_f_data): Likewise.
2505 (struct test_f_f1_data): Likewise.
2506 (struct test_fF_f1_data): Likewise.
2507 (struct test_ffI_f1_data): Likewise.
2508 (struct test_c_c_data): Likewise.
2509 (struct test_cc_c_data): Likewise.
2510 (struct test_f_i_data): Likewise.
2511 (struct test_ff_i_data): Likewise.
2512 (struct test_f_l_data): Likewise.
2513 (struct test_f_L_data): Likewise.
2514 (struct test_fFF_11_data): Likewise.
2516 (RM_FE_DOWNWARD): Likewise.
2517 (RM_FE_TONEAREST): Likewise.
2518 (RM_FE_TOWARDZERO): Likewise.
2519 (RM_FE_UPWARD): Likewise.
2520 (RUN_TEST_LOOP_f_f): Update references to expected results.
2521 (RUN_TEST_LOOP_2_f): Likewise.
2522 (RUN_TEST_LOOP_fff_f): Likewise.
2523 (RUN_TEST_LOOP_c_f): Likewise.
2524 (RUN_TEST_LOOP_f_f1): Likewise.
2525 (RUN_TEST_LOOP_fF_f1): Likewise.
2526 (RUN_TEST_LOOP_fI_f1): Likewise.
2527 (RUN_TEST_LOOP_ffI_f1): Likewise.
2528 (RUN_TEST_LOOP_c_c): Likewise.
2529 (RUN_TEST_LOOP_cc_c): Likewise.
2530 (RUN_TEST_LOOP_f_i): Likewise.
2531 (RUN_TEST_LOOP_f_i_tg): Likewise.
2532 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2533 (RUN_TEST_LOOP_f_b): Likewise.
2534 (RUN_TEST_LOOP_f_b_tg): Likewise.
2535 (RUN_TEST_LOOP_f_l): Likewise.
2536 (RUN_TEST_LOOP_f_L): Likewise.
2537 (RUN_TEST_LOOP_fFF_11): Likewise.
2538 * math/gen-libm-test.pl (parse_args): Output four copies of
2539 expected results for each test.
2541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2542 (__ASSUME_UTIMES): Remove.
2543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2544 (__ASSUME_UTIMES): Likewise.
2546 * math/gen-auto-libm-tests.c: Update comment on output format.
2547 (output_for_one_input_case): Generate before-rounding and
2548 after-rounding information as conditions on output flags not
2549 floating-point format.
2550 * math/auto-libm-test-out: Regenerated.
2551 * math/gen-libm-test.pl (cond_value): New function.
2552 (or_cond_value): Use cond_value.
2553 (generate_testfile): Handle conditional exceptions.
2555 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2557 * math/libm-test.inc (max_valid_error): New variable.
2558 (init_max_error): Take new argument specifying whether function
2559 results are exactly determined. Set max_valid_error and bound
2560 other variables for errors based on this argument.
2561 (set_max_error): Do not record results above max_valid_error.
2562 (check_float_internal): Only accept errors of up to 0.5ulps if
2563 also at most max_valid_error.
2564 (START): Take new argument EXACT and pass it to init_max_error.
2565 (acos_test): Update call to START.
2566 (acos_test_tonearest): Likewise.
2567 (acos_test_towardzero): Likewise.
2568 (acos_test_downward): Likewise.
2569 (acos_test_upward): Likewise.
2570 (acosh_test): Likewise.
2571 (asin_test): Likewise.
2572 (asin_test_tonearest): Likewise.
2573 (asin_test_towardzero): Likewise.
2574 (asin_test_downward): Likewise.
2575 (asin_test_upward): Likewise.
2576 (asinh_test): Likewise.
2577 (atan_test): Likewise.
2578 (atanh_test): Likewise.
2579 (atan2_test): Likewise.
2580 (cabs_test): Likewise.
2581 (cacos_test): Likewise.
2582 (cacosh_test): Likewise.
2583 (carg_test): Likewise.
2584 (casin_test): Likewise.
2585 (casinh_test): Likewise.
2586 (catan_test): Likewise.
2587 (catanh_test): Likewise.
2588 (cbrt_test): Likewise.
2589 (ccos_test): Likewise.
2590 (ccosh_test): Likewise.
2591 (ceil_test): Likewise.
2592 (cexp_test): Likewise.
2593 (cimag_test): Likewise.
2594 (clog_test): Likewise.
2595 (clog10_test): Likewise.
2596 (conj_test): Likewise.
2597 (copysign_test): Likewise.
2598 (cos_test): Likewise.
2599 (cos_test_tonearest): Likewise.
2600 (cos_test_towardzero): Likewise.
2601 (cos_test_downward): Likewise.
2602 (cos_test_upward): Likewise.
2603 (cosh_test): Likewise.
2604 (cosh_test_tonearest): Likewise.
2605 (cosh_test_towardzero): Likewise.
2606 (cosh_test_downward): Likewise.
2607 (cosh_test_upward): Likewise.
2608 (cpow_test): Likewise.
2609 (cproj_test): Likewise.
2610 (creal_test): Likewise.
2611 (csin_test): Likewise.
2612 (csinh_test): Likewise.
2613 (csqrt_test): Likewise.
2614 (ctan_test): Likewise.
2615 (ctan_test_tonearest): Likewise.
2616 (ctan_test_towardzero): Likewise.
2617 (ctan_test_downward): Likewise.
2618 (ctan_test_upward): Likewise.
2619 (ctanh_test): Likewise.
2620 (ctanh_test_tonearest): Likewise.
2621 (ctanh_test_towardzero): Likewise.
2622 (ctanh_test_downward): Likewise.
2623 (ctanh_test_upward): Likewise.
2624 (erf_test): Likewise.
2625 (erfc_test): Likewise.
2626 (exp_test): Likewise.
2627 (exp_test_tonearest): Likewise.
2628 (exp_test_towardzero): Likewise.
2629 (exp_test_downward): Likewise.
2630 (exp_test_upward): Likewise.
2631 (exp10_test): Likewise.
2632 (exp10_test_tonearest): Likewise.
2633 (exp10_test_towardzero): Likewise.
2634 (exp10_test_downward): Likewise.
2635 (exp10_test_upward): Likewise.
2636 (pow10_test): Likewise.
2637 (exp2_test): Likewise.
2638 (expm1_test): Likewise.
2639 (expm1_test_tonearest): Likewise.
2640 (expm1_test_towardzero): Likewise.
2641 (expm1_test_downward): Likewise.
2642 (expm1_test_upward): Likewise.
2643 (fabs_test): Likewise.
2644 (fdim_test): Likewise.
2645 (floor_test): Likewise.
2646 (fma_test): Likewise.
2647 (fma_test_towardzero): Likewise.
2648 (fma_test_downward): Likewise.
2649 (fma_test_upward): Likewise.
2650 (fmax_test): Likewise.
2651 (fmin_test): Likewise.
2652 (fmod_test): Likewise.
2653 (fpclassify_test): Likewise.
2654 (frexp_test): Likewise.
2655 (hypot_test): Likewise.
2656 (ilogb_test): Likewise.
2657 (isfinite_test): Likewise.
2658 (finite_test): Likewise.
2659 (isgreater_test): Likewise.
2660 (isgreaterequal_test): Likewise.
2661 (isinf_test): Likewise.
2662 (isless_test): Likewise.
2663 (islessequal_test): Likewise.
2664 (islessgreater_test): Likewise.
2665 (isnan_test): Likewise.
2666 (isnormal_test): Likewise.
2667 (issignaling_test): Likewise.
2668 (isunordered_test): Likewise.
2669 (j0_test): Likewise.
2670 (j1_test): Likewise.
2671 (jn_test): Likewise.
2672 (ldexp_test): Likewise.
2673 (lgamma_test): Likewise.
2674 (gamma_test): Likewise.
2675 (lrint_test): Likewise.
2676 (lrint_test_tonearest): Likewise.
2677 (lrint_test_towardzero): Likewise.
2678 (lrint_test_downward): Likewise.
2679 (lrint_test_upward): Likewise.
2680 (llrint_test): Likewise.
2681 (llrint_test_tonearest): Likewise.
2682 (llrint_test_towardzero): Likewise.
2683 (llrint_test_downward): Likewise.
2684 (llrint_test_upward): Likewise.
2685 (log_test): Likewise.
2686 (log10_test): Likewise.
2687 (log1p_test): Likewise.
2688 (log2_test): Likewise.
2689 (logb_test): Likewise.
2690 (logb_test_downward): Likewise.
2691 (lround_test): Likewise.
2692 (llround_test): Likewise.
2693 (modf_test): Likewise.
2694 (nearbyint_test): Likewise.
2695 (nextafter_test): Likewise.
2696 (nexttoward_test): Likewise.
2697 (pow_test): Likewise.
2698 (pow_test_tonearest): Likewise.
2699 (pow_test_towardzero): Likewise.
2700 (pow_test_downward): Likewise.
2701 (pow_test_upward): Likewise.
2702 (remainder_test): Likewise.
2703 (drem_test): Likewise.
2704 (remainder_test_tonearest): Likewise.
2705 (drem_test_tonearest): Likewise.
2706 (remainder_test_towardzero): Likewise.
2707 (drem_test_towardzero): Likewise.
2708 (remainder_test_downward): Likewise.
2709 (drem_test_downward): Likewise.
2710 (remainder_test_upward): Likewise.
2711 (drem_test_upward): Likewise.
2712 (remquo_test): Likewise.
2713 (rint_test): Likewise.
2714 (rint_test_tonearest): Likewise.
2715 (rint_test_towardzero): Likewise.
2716 (rint_test_downward): Likewise.
2717 (rint_test_upward): Likewise.
2718 (round_test): Likewise.
2719 (scalb_test): Likewise.
2720 (scalbn_test): Likewise.
2721 (scalbln_test): Likewise.
2722 (signbit_test): Likewise.
2723 (sin_test): Likewise.
2724 (sin_test_tonearest): Likewise.
2725 (sin_test_towardzero): Likewise.
2726 (sin_test_downward): Likewise.
2727 (sin_test_upward): Likewise.
2728 (sincos_test): Likewise.
2729 (sinh_test): Likewise.
2730 (sinh_test_tonearest): Likewise.
2731 (sinh_test_towardzero): Likewise.
2732 (sinh_test_downward): Likewise.
2733 (sinh_test_upward): Likewise.
2734 (sqrt_test): Likewise.
2735 (sqrt_test_tonearest): Likewise.
2736 (sqrt_test_towardzero): Likewise.
2737 (sqrt_test_downward): Likewise.
2738 (sqrt_test_upward): Likewise.
2739 (tan_test): Likewise.
2740 (tan_test_tonearest): Likewise.
2741 (tan_test_towardzero): Likewise.
2742 (tan_test_downward): Likewise.
2743 (tan_test_upward): Likewise.
2744 (tanh_test): Likewise.
2745 (tgamma_test): Likewise.
2746 (trunc_test): Likewise.
2747 (y0_test): Likewise.
2748 (y1_test): Likewise.
2749 (yn_test): Likewise.
2750 (significand_test): Likewise.
2752 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2753 individual tests in comment.
2754 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2755 (prev_max_error): New variable.
2756 (prev_real_max_error): Likewise.
2757 (prev_imag_max_error): Likewise.
2758 (compare_ulp_data): Don't refer to test names in comment.
2759 (find_test_ulps): Remove function.
2760 (find_function_ulps): Likewise.
2761 (find_complex_function_ulps): Likewise.
2762 (init_max_error): Take function name as argument. Look up ulps
2764 (print_ulps): Remove function.
2765 (print_max_error): Use prev_max_error instead of calling
2767 (print_complex_max_error): Use prev_real_max_error and
2768 prev_imag_max_error instead of calling find_complex_function_ulps.
2769 (check_float_internal): Take max_ulp parameter instead of calling
2770 find_test_ulps. Don't call print_ulps.
2771 (check_float): Update call to check_float_internal.
2772 (check_complex): Update calls to check_float_internal.
2773 (START): Pass argument to init_max_error.
2774 * math/gen-libm-test.pl (%results): Don't include "kind"
2776 (parse_ulps): Don't handle ulps of individual tests.
2777 (print_ulps_file): Likewise.
2778 (output_ulps): Likewise.
2779 * math/README.libm-test: Update.
2780 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2782 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2783 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2784 * sysdeps/arm/libm-test-ulps: Likewise.
2785 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2786 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2787 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2788 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2789 * sysdeps/microblaze/libm-test-ulps: Likewise.
2790 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2791 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2793 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2794 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2795 * sysdeps/sh/libm-test-ulps: Likewise.
2796 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2797 * sysdeps/tile/libm-test-ulps: Likewise.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2800 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2802 * math/libm-test.inc (print_complex_max_error): Check separately
2803 whether real and imaginary errors are within allowed range and
2804 pass 0 to print_complex_function_ulps instead of value within
2807 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2809 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2811 (get_handles_fopen): Likewise.
2812 (do_write_test): Likewise.
2814 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2816 * libio/fileops.c (do_ftell): Use cached offset when
2818 * libio/iofwide.c (do_ftell_wide): Likewise.
2819 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2821 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2824 * libio/libioP.h (get_file_offset): New function.
2825 * libio/fileops.c (get_file_offset): Likewise.
2826 (do_ftell): Likewise.
2827 (_IO_new_file_seekoff): Split out ftell logic.
2828 * libio/wfileops.c (do_ftell_wide): Likewise.
2829 (_IO_wfile_seekoff): Split out ftell logic.
2830 * libio/tst-ftell-active-handler.c: New test case.
2831 * libio/Makefile (tests): Add it.
2833 2014-03-03 Roland McGrath <roland@hack.frob.com>
2835 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2836 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2838 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2841 * nscd/connections.c (nscd_init): Call do_exit.
2842 (start_threads): Call do_exit and notify_parent.
2843 (begin_drop_privileges): Call do_exit.
2844 (finish_drop_privileges): Likewise.
2845 * nscd/selinux.c (preserve_capabilities): Likewise.
2846 (install_real_capabilities): Likewise.
2847 (nscd_selinux_enabled): Likewise.
2848 (avc_create_thread): Likewise.
2849 (avc_alloc_lock): Likewise.
2850 (nscd_avc_init): Likewise.
2851 * nscd/nscd.c (parent_fd): New static variable.
2852 (main): Create a pipe between parent and child processes.
2853 Skip closing parent_fd.
2854 (monitor_child): New function.
2855 (do_exit): Likewise.
2856 (notify_parent): Likewise.
2857 * nscd/nscd.h (notify_parent): Likewise.
2858 (do_exit): Likewise.
2860 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2862 * malloc/malloc.c (__libc_calloc): Revert last change.
2864 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2868 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2870 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2874 (__libc_ifunc_impl_list): Likewise.
2875 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2876 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2877 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2878 * string/strrchr.c: Define STRRCHR.
2880 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2882 * benchtest/bench-strtok.c (simple_strtok): Delete.
2883 (strtok_string): Use as benchmark.
2884 * string/strtok (STRTOK): New macro.
2886 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2888 * manual/threads.texi: Add header and standard comments to all
2891 * elf/dl-lookup.c (check_match): New function.
2892 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2893 (do_lookup_x): Remove nested function check_match. Use non-nested
2894 function check_match.
2896 2014-02-28 Roland McGrath <roland@hack.frob.com>
2898 * csu/Makefile (generated, before-compile): Use += rather than =.
2899 * catgets/Makefile (generated, generated-dirs): Likewise.
2900 * debug/Makefile (generated): Likewise.
2901 * dlfcn/Makefile (generated): Likewise.
2902 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2903 * iconvdata/Makefile (before-compile, generated): Likewise.
2904 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2905 * libio/Makefile (generated): Likewise.
2906 * malloc/Makefile (generated): Likewise.
2907 * manual/Makefile (generated, generated-dirs): Likewise.
2908 * misc/Makefile (generated): Likewise.
2909 * posix/Makefile (generated): Likewise.
2910 * resolv/Makefile (generated): Likewise.
2911 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2912 * timezone/Makefile (generated, generated-dirs): Likewise.
2914 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2916 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2921 POWER8 llround ifunc implementation.
2922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2923 POWER8 implementation.
2924 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2925 POWER8 llround implementation.
2927 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2932 POWER8 llrint ifunc implementation.
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2934 POWER8 implementation.
2935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2936 POWER8 llrint implementation.
2938 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2943 POWER8 finite ifunc implementation.
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2945 POWER8 implementation.
2946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2949 POWER8 finite implementation.
2950 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2952 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2957 POWER8 isinf ifunc implementation.
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2959 POWER8 implementation.
2960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2963 POWER8 isinf implementation.
2964 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2966 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2969 Add hwcap2 initialization.
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2973 POWER8 isnan ifunc implementation.
2974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2975 POWER8 implementation.
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2979 POWER8 isnan implementation.
2980 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2982 2014-02-27 Joey Ye <joey.ye@arm.com>
2984 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2985 (_FP_NANFRAC_Q): Set to zero.
2987 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2990 * math/auto-libm-test-in: New test inputs.
2991 * math/auto-libm-test-out: Regenerate.
2992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2995 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2997 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2999 * scripts/evaluate-test.sh: Take new argument indicating whether
3000 failure is expected.
3001 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3002 indicating whether failure is expected.
3003 * conform/Makefile (test-xfail-run-conformtest): New variable.
3004 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3006 * posix/Makefile (test-xfail-annexc): New variable.
3007 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3009 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3011 * argp/Makefile: Include Makeconfig immediately after defining
3013 * assert/Makefile: Likewise.
3014 * benchtests/Makefile: Likewise.
3015 * catgets/Makefile: Likewise.
3016 * conform/Makefile: Likewise.
3017 * crypt/Makefile: Likewise.
3018 * csu/Makefile: Likewise.
3019 (all): Remove target.
3020 * ctype/Makefile: Include Makeconfig immediately after defining
3022 * debug/Makefile: Likewise.
3023 * dirent/Makefile: Likewise.
3024 * dlfcn/Makefile: Likewise.
3025 * gmon/Makefile: Likewise.
3026 * gnulib/Makefile: Likewise.
3027 * grp/Makefile: Likewise.
3028 * gshadow/Makefile: Likewise.
3029 * hesiod/Makefile: Likewise.
3030 * hurd/Makefile: Likewise.
3031 (all): Remove target.
3032 * iconvdata/Makefile: Include Makeconfig immediately after
3034 * inet/Makefile: Likewise.
3035 * intl/Makefile: Likewise.
3036 * io/Makefile: Likewise.
3037 * libio/Makefile: Likewise.
3038 (all): Remove target.
3039 * locale/Makefile: Include Makeconfig immediately after defining
3041 * login/Makefile: Likewise.
3042 * mach/Makefile: Likewise.
3043 (all): Remove target.
3044 * malloc/Makefile: Include Makeconfig immediately after defining
3046 (all): Remove target.
3047 * manual/Makefile: Include Makeconfig immediately after defining
3049 * math/Makefile: Likewise.
3050 * misc/Makefile: Likewise.
3051 * nis/Makefile: Likewise.
3052 * nss/Makefile: Likewise.
3053 * po/Makefile: Likewise.
3054 (all): Remove target.
3055 * posix/Makefile: Include Makeconfig immediately after defining
3057 * pwd/Makefile: Likewise.
3058 * resolv/Makefile: Likewise.
3059 * resource/Makefile: Likewise.
3060 * rt/Makefile: Likewise.
3061 * setjmp/Makefile: Likewise.
3062 * shadow/Makefile: Likewise.
3063 * signal/Makefile: Likewise.
3064 * socket/Makefile: Likewise.
3065 * soft-fp/Makefile: Likewise.
3066 * stdio-common/Makefile: Likewise.
3067 * stdlib/Makefile: Likewise.
3068 * streams/Makefile: Likewise.
3069 * string/Makefile: Likewise.
3070 * sunrpc/Makefile: Likewise.
3071 (all): Remove target.
3072 * sysvipc/Makefile: Include Makeconfig immediately after defining
3074 * termios/Makefile: Likewise.
3075 * time/Makefile: Likewise.
3076 * timezone/Makefile: Likewise.
3077 (all): Remove target.
3078 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3080 * wctype/Makefile: Likewise.
3082 2014-02-26 Steve Ellcey <sellcey@mips.com>
3084 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3085 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3086 (libc_feholdexcept_setround_mips): Ditto.
3087 (libc_feholdsetround): New.
3088 (libc_feholdsetroundf): New.
3089 (libc_feholdsetroundl): New.
3090 (libc_feupdateenv_test_mips): New.
3091 (libc_feupdateenv_test): New.
3092 (libc_feupdateenv_testf): New.
3093 (libc_feupdateenv_testl): New.
3094 (libc_feresetround): New.
3095 (libc_feresetroundf): New.
3096 (libc_feresetroundl): New.
3097 (libc_fetestexcept_mips): New.
3098 (libc_fetestexcept): New.
3099 (libc_fetestexceptf): New.
3100 (libc_fetestexceptl): New.
3102 (libc_feholdexcept_setround_mips_ctx): New.
3103 (libc_feholdexcept_setround_ctx): New.
3104 (libc_feholdexcept_setroundf_ctx): New.
3105 (libc_feholdexcept_setroundl_ctx): New.
3106 (libc_fesetenv_mips_ctx): New.
3107 (libc_fesetenv_ctx): New.
3108 (libc_fesetenv_ctxf): New.
3109 (libc_fesetenv_ctxl): New.
3110 (libc_feupdateenv_mips_ctx): New.
3111 (libc_feupdateenv_ctx): New.
3112 (libc_feupdateenvf_ctx): New.
3113 (libc_feupdateenvl_ctx): New.
3114 (libc_feholdsetround_mips_ctx): New.
3115 (libc_feholdsetround_ctx): New.
3116 (libc_feholdsetroundf_ctx): New.
3117 (libc_feholdsetroundl_ctx): New.
3118 (libc_feresetround_mips_ctx): New.
3119 (libc_feresetround_ctx): New.
3120 (libc_feresetroundf_ctx): New.
3121 (libc_feresetroundl_ctx): New.
3123 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3125 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3127 * manual/ipc.texi: New file.
3128 * manual/Makefile (chapters): Add ipc.
3129 * manual/job.texi: Add "Inter-Process Communication" to next.
3130 * manual/process.texi: Add "Inter-Process Communication" to prev.
3132 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3136 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3138 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3140 * manual/arith.texi: Fix spaces after sentences.
3141 * manual/charset.texi: Likewise.
3142 * manual/errno.texi: Likewise.
3143 * manual/install.texi: Likewise.
3144 * manual/llio.texi: Likewise.
3145 * manual/locale.texi: Likewise.
3146 * manual/maint.texi: Likewise.
3147 * manual/math.texi: Likewise.
3148 * manual/memory.texi: Likewise.
3149 * manual/message.texi: Likewise.
3150 * manual/probes.texi: Likewise.
3151 * manual/resource.texi: Likewise.
3152 * manual/signal.texi: Likewise.
3153 * manual/socket.texi: Likewise.
3154 * manual/stdio.texi: Likewise.
3155 * manual/string.texi: Likewise.
3156 * manual/time.texi: Likewise.
3157 * manual/users.texi: Likewise.
3159 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3162 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3163 _DEFAULT_SOURCE is defined.
3165 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3166 Carlos O'Donell <carlos@redhat.com>
3169 * elf/dl-tls.c (_dl_count_modids): New function.
3170 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3171 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3172 audit library and increment generation counter.
3173 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3174 * elf/tst-audit9.c: New file.
3175 * elf/tst-auditmod9a.c: New file.
3176 * elf/tst-auditmod9b.c: New file.
3177 * elf/Makefile: Add rules to build and run tst-audit9.
3179 2014-02-25 Florian Weimer <fweimer@redhat.com>
3182 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3184 2014-02-25 Will Newton <will.newton@linaro.org>
3186 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3187 (__longjmp): Restore sp and lr before restoring callee
3188 saved registers. Add longjmp and longjmp_target
3189 SystemTap probe point.
3190 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3191 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3192 Define to zero to match jmpbuf layout.
3193 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3194 (__sigsetjmp): Save sp and lr before saving callee
3195 saved registers. Add setjmp SystemTap probe point.
3197 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3199 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3201 2014-02-24 Andreas Schwab <schwab@suse.de>
3204 * elf/pldd.c (wait_for_ptrace_stop): New function.
3205 (main): Call it after attaching.
3207 2014-02-22 Roland McGrath <roland@hack.frob.com>
3209 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3210 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3211 Versions files is now verboten.
3212 * hurd/Versions (libc: GLIBC_2.0):
3213 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3214 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3215 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3216 * mach/Versions: Likewise.
3218 * csu/Versions: Remove unused %include.
3219 * resolv/Versions: Likewise.
3221 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3223 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3224 ($(objpfx)check-local-headers.out): Likewise.
3225 ($(objpfx)begin-end-check.out): Likewise.
3226 * Makerules (check-abi-%.out): Likewise.
3227 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3228 ($(objpfx)test2.cat): Likewise.
3229 ($(objpfx)de/libc.cat): Likewise.
3230 ($(objpfx)test-gencat.out): Likewise.
3231 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3232 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3233 ($(objpfx)noload-mem): Likewise.
3234 ($(objpfx)tst-pathopt.out): Likewise.
3235 ($(objpfx)tst-rtld-load-self.out): Likewise.
3236 ($(objpfx)tst-array1-cmp.out): Likewise.
3237 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3238 ($(objpfx)tst-array2-cmp.out): Likewise.
3239 ($(objpfx)tst-array3-cmp.out): Likewise.
3240 ($(objpfx)tst-array4-cmp.out): Likewise.
3241 ($(objpfx)tst-array5-cmp.out): Likewise.
3242 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3243 ($(objpfx)check-textrel.out): Likewise.
3244 ($(objpfx)check-execstack.out): Likewise.
3245 ($(objpfx)check-localplt.out): Likewise.
3246 ($(objpfx)order2-cmp.out): Likewise.
3247 ($(objpfx)tst-leaks1-mem): Likewise.
3248 ($(objpfx)tst-leaks1-static-mem): Likewise.
3249 ($(objpfx)tst-initorder-cmp.out): Likewise.
3250 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3251 ($(objpfx)tst-unused-dep.out): Likewise.
3252 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3254 * iconv/Makefile (test-iconvconfig): Likewise.
3255 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3256 ($(objpfx)iconv-test.out): Likewise.
3257 ($(objpfx)tst-tables.out): Likewise.
3258 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3259 ($(objpfx)tst-gettext.out): Likewise.
3260 ($(objpfx)tst-translit.out): Likewise.
3261 ($(objpfx)tst-gettext2.out): Likewise.
3262 ($(objpfx)tst-gettext4.out): Likewise.
3263 ($(objpfx)tst-gettext6.out): Likewise.
3264 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3265 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3266 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3267 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3269 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3270 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3271 ($(objpfx)wordexp-tst.out): Likewise.
3272 ($(objpfx)annexc.out): Likewise.
3273 ($(objpfx)tst-fnmatch-mem): Likewise.
3274 ($(objpfx)bug-regex2-mem): Likewise.
3275 ($(objpfx)bug-regex14-mem): Likewise.
3276 ($(objpfx)bug-regex21-mem): Likewise.
3277 ($(objpfx)bug-regex31-mem): Likewise.
3278 ($(objpfx)tst-vfork3-mem): Likewise.
3279 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3280 ($(objpfx)tst-pcre-mem): Likewise.
3281 ($(objpfx)tst-boost-mem): Likewise.
3282 ($(objpfx)tst-getconf.out): Likewise.
3283 ($(objpfx)bug-ga2-mem): Likewise.
3284 ($(objpfx)bug-glob2-mem): Likewise.
3285 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3286 ($(objpfx)mtrace-tst-leaks2): Likewise.
3287 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3288 ($(objpfx)tst-printf.out): Likewise.
3289 ($(objpfx)tst-setvbuf1.out): Likewise.
3290 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3291 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3292 ($(objpfx)tst-fmtmsg.out): Likewise.
3293 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3294 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3296 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3297 * bits/sigaction.h [__USE_MISC]: Likewise.
3298 * bits/waitstatus.h: Update #endif comments.
3299 * ctype/ctype.h: Likewise.
3300 * dirent/dirent.h: Likewise.
3301 [__USE_MISC]: Remove redundant conditionals.
3302 * grp/grp.h: Update #endif comments.
3303 [__USE_GNU]: Remove redundant conditionals.
3304 [__USE_MISC]: Likewise.
3305 * inet/netinet/in.h [__USE_GNU]: Likewise.
3306 * io/sys/stat.h [__USE_MISC]: Likewise.
3307 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3308 * libio/bits/stdio.h: Update #endif comments.
3309 [__USE_MISC]: Remove redundant conditionals.
3310 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3311 * libio/stdio.h: Update #endif comments.
3312 [__USE_MISC]: Remove redundant conditionals.
3313 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3314 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3315 * math/math.h: Update #else and #endif comments.
3316 [__USE_MISC]: Remove redundant conditionals.
3317 * misc/sys/uio.h: Update #endif comments.
3318 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3319 * posix/glob.h [__USE_MISC]: Likewise.
3320 * posix/sys/types.h: Update #endif comments.
3321 [__USE_MISC]: Remove redundant conditionals.
3322 * posix/sys/wait.h: Update #endif comments.
3323 [__USE_MISC]: Remove redundant conditionals.
3324 * posix/unistd.h: Update #endif comments.
3325 [__USE_MISC]: Remove redundant conditionals.
3326 * pwd/pwd.h [__USE_GNU]: Likewise.
3327 [__USE_MISC]: Likewise.
3328 * resolv/netdb.h [__USE_GNU]: Likewise.
3329 * signal/signal.h: Update #endif comments.
3330 [__USE_MISC]: Remove redundant conditionals.
3331 * stdlib/stdlib.h: Update #else and #endif comments.
3332 [__USE_MISC]: Remove redundant conditionals.
3333 [__USE_GNU]: Likewise.
3334 * string/bits/string2.h [__USE_MISC]: Likewise.
3335 * string/string.h: Update #endif comments.
3336 [__USE_MISC]: Remove redundant conditionals.
3337 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3339 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3340 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3341 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3343 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3347 [__USE_MISC]: Remove redundant conditionals.
3348 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3349 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3350 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3351 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3352 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3354 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3355 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3357 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3358 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3360 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3362 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3363 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3365 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3367 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3368 * sysdeps/x86/bits/string.h: Update #endif comments.
3369 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3371 * time/sys/time.h: Update #endif comments.
3372 * time/time.h: Likewise.
3373 [__USE_MISC]: Remove redundant conditionals.
3375 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3378 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3380 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3382 * Versions.def (librt): Add GLIBC_2.17.
3384 2014-02-21 Adam Conrad <adconrad@0c3.net>
3386 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3387 synonym for _SYS_AUXV_H to allow direct inclusion.
3388 * sysdeps/sparc/bits/hwcap.h: Likewise.
3389 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3390 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3391 * sysdeps/sparc/sysdep.h: Likewise.
3393 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3395 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3397 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3399 * benchtests/bench-strrchr.c: Print length instead of position.
3401 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/unix/sysv/linux/kernel-features.h
3405 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3406 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3407 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3408 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3410 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3411 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3412 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3413 (__ASSUME_SENDMMSG): Define instead of using previous
3414 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3415 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3416 (__ASSUME_SENDMMSG_SYSCALL): Define.
3417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3418 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3421 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3424 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3427 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3428 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3429 [__ASSUME_SENDMMSG]: Change conditionals to
3430 [__ASSUME_SENDMMSG_SOCKETCALL].
3431 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3432 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3434 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3435 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3437 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3438 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3439 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3440 [!__ASSUME_SENDMMSG]: Change conditional to
3441 [!__ASSUME_SENDMMSG_SOCKETCALL].
3442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3443 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3447 * sysdeps/unix/sysv/linux/kernel-features.h
3448 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3449 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3450 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3451 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3452 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3453 [__i386__ || __sparc__]
3454 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3455 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3456 (__ASSUME_RECVMMSG): Define instead of using previous
3457 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3458 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3459 (__ASSUME_RECVMMSG_SYSCALL): Define.
3460 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3469 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3470 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3471 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3472 [__ASSUME_RECVMMSG]: Change condition to
3473 [__ASSUME_RECVMMSG_SOCKETCALL].
3474 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3477 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3478 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3479 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3481 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3482 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3483 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3484 [!__ASSUME_RECVMMSG]: Change condition to
3485 [!__ASSUME_RECVMMSG_SOCKETCALL].
3486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3487 (__ASSUME_RECVMMSG_SYSCALL): Define.
3490 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3491 __powerpc__ || __s390__ || __sh__ || __sparc__]
3492 (__ASSUME_SOCKETCALL): Define.
3493 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3494 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3495 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3496 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3497 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3498 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3499 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3500 (__ASSUME_ACCEPT4): Define instead of using previous
3501 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3502 __powerpc__ || __sparc__ || __s390__)] condition.
3503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3504 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3505 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3506 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3507 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3508 [!__ASSUME_ACCEPT4]: Change condition to
3509 [!__ASSUME_ACCEPT4_SOCKETCALL].
3510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3511 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3512 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3514 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3515 __ASSUME_ACCEPT4_SYSCALL.
3516 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3517 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3518 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3519 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3520 __ASSUME_ACCEPT4_SYSCALL.
3521 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3522 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3523 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3524 [__ASSUME_ACCEPT4]: Change condition to
3525 [__ASSUME_ACCEPT4_SOCKETCALL].
3526 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3527 (__ASSUME_SOCKETCALL): Define.
3528 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3530 (__ASSUME_SOCKETCALL): Define.
3531 (__ASSUME_ACCEPT4): Remove.
3532 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3535 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3538 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3540 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3542 (HWCAP_ARM_LPAE): Likewise.
3543 (HWCAP_ARM_EVTSTRM): Likewise.
3544 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3545 Add vpfd32, lpae and evtstrm.
3546 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3549 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3551 * math/auto-libm-test-in: Add tests of clog10.
3552 * math/auto-libm-test-out: Regenerated.
3553 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3554 * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3557 2014-02-18 Andreas Schwab <schwab@suse.de>
3560 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3561 Store non-zero if the second buffer was newly allocated.
3562 (send_dg): Likewise.
3563 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3564 to send_vc and send_dg.
3565 (res_nsend): Pass NULL for ansp2_malloced.
3566 * resolv/res_query.c (__libc_res_nquery): Add parameter
3567 answerp2_malloced and pass it down to __libc_res_nsend.
3568 (res_nquery): Pass additional NULL to __libc_res_nquery.
3569 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3570 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3571 second answer buffer if answerp2_malloced was set.
3572 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3573 (__libc_res_nquerydomain): Add parameter
3574 answerp2_malloced and pass it down to __libc_res_nquery.
3575 (res_nquerydomain): Pass additional NULL to
3576 __libc_res_nquerydomain.
3577 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3578 additional NULL to __libc_res_nsend and __libc_res_nquery.
3579 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3580 additional NULL to __libc_res_nsearch.
3581 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3582 parameter of __libc_res_nsearch to check for separately allocated
3584 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3586 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3587 additional NULL to __libc_res_nquery.
3588 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3590 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3591 * include/resolv.h: Update prototypes of __libc_res_nquery,
3592 __libc_res_nsearch, __libc_res_nsend.
3594 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3596 * math/auto-libm-test-in: Add tests of fma.
3597 * math/auto-libm-test-out: Regenerated.
3598 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3599 (fma_towardzero_test_data): Likewise.
3600 (fma_downward_test_data): Likewise.
3601 (fma_upward_test_data): Likewise.
3602 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3604 (rounding_modes): Add values for new field.
3605 (func_calc_method): Add value mpfr_fff_f.
3606 (func_calc_desc): Add mpfr_fff_f union field.
3607 (test_function): Add field exact_args.
3608 (FUNC): Add macro argument EXACT_ARGS.
3609 (FUNC_mpfr_f_f): Update call to FUNC.
3610 (FUNC_mpfr_f_f): Likewise.
3611 (FUNC_mpfr_ff_f): Likewise.
3612 (FUNC_mpfr_if_f): Likewise.
3613 (FUNC_mpc_c_f): Likewise.
3614 (FUNC_mpc_c_c): Likewise.
3615 (test_functions): Add fma. Update calls to FUNC.
3616 (handle_input_arg): Add argument exact_args.
3617 (add_test): Update call to handle_input_arg.
3618 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3619 (output_for_one_input_case): Update call to calc_generic_results.
3620 Recalculate exact zero results in each rounding mode.
3622 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3623 non-negative before setting low bit.
3624 * math/auto-libm-test-in: Mark one asin test possibly having
3626 * math/auto-libm-test-out: Regenerated.
3627 * sysdeps/i386/fpu/libm-test-ulps: Update.
3628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3630 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3632 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3633 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3634 ports/sysdeps/unix/sysv/linux/microblaze.
3635 * README: Add missing listing for microblaze*-*-linux-gnu.
3637 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3639 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3640 * sysdeps/unix/sysv/linux/ia64: Move directory from
3641 ports/sysdeps/unix/sysv/linux/ia64.
3642 * README: Update listing for ia64-*-linux-gnu.
3644 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3645 Joseph Myers <joseph@codesourcery.com>
3647 * Makeconfig (test-name): New variable.
3648 (evaluate-test): Likewise.
3649 * Makerules (do-test-clean): Remove .test-result files.
3650 (common-mostlyclean): Likewise.
3651 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3652 * scripts/evaluate-test.sh: New file.
3654 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3656 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3657 separate $(objpfx)tst-fopenloc-cmp.out and
3658 $(objpfx)tst-fopenloc-mem.out targets.
3659 (tests): Update dependencies.
3660 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3661 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3662 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3663 (tst-rxspencer-no-utf8-ARGS): New variable.
3664 (tst-rxspencer-no-utf8-ENV): Likewise.
3665 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3666 instead of $(objpfx)tst-rxspencer-mem.
3667 ($(objpfx)tst-rxspencer-mem): Change target to
3668 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3669 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3670 * posix/tst-rxspencer-no-utf8.c: New file.
3672 * elf/Makefile ($(objpfx)order.out): Remove rule.
3673 [$(run-built-tests) = yes] (tests): Depend on
3674 $(objpfx)order-cmp.out.
3675 ($(objpfx)order-cmp.out): New rule.
3676 [$(run-built-tests) = yes] (tests): Depend on
3677 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3678 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3679 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3680 $(objpfx)tst-array5-static-cmp.out.
3681 ($(objpfx)tst-array1.out): Remove rule.
3682 ($(objpfx)tst-array1-cmp.out): New rule.
3683 ($(objpfx)tst-array1-static.out): Remove rule.
3684 ($(objpfx)tst-array1-static-cmp.out): New rule.
3685 ($(objpfx)tst-array2.out): Remove rule.
3686 ($(objpfx)tst-array2-cmp.out): New rule.
3687 ($(objpfx)tst-array3.out): Remove rule.
3688 ($(objpfx)tst-array3-cmp.out): New rule.
3689 ($(objpfx)tst-array4.out): Remove rule.
3690 ($(objpfx)tst-array4-cmp.out): New rule.
3691 ($(objpfx)tst-array5.out): Remove rule.
3692 ($(objpfx)tst-array5-cmp.out): New rule.
3693 ($(objpfx)tst-array5-static.out): Remove rule.
3694 ($(objpfx)tst-array5-static-cmp.out): New rule.
3695 [$(run-built-tests) = yes] (tests): Depend on
3696 $(objpfx)order2-cmp.out.
3697 ($(objpfx)order2.out): Remove rule.
3698 ($(objpfx)order2-cmp.out): New rule.
3699 ($(objpfx)tst-initorder.out): Remove rule.
3700 [$(run-built-tests) = yes] (tests): Depend on
3701 $(objpfx)tst-initorder-cmp.out.
3702 ($(objpfx)tst-initorder-cmp.out): New rule.
3703 ($(objpfx)tst-initorder2.out): Remove rule.
3704 [$(run-built-tests) = yes] (tests): Depend on
3705 $(objpfx)tst-initorder2-cmp.out.
3706 ($(objpfx)tst-initorder2-cmp.out): New rule.
3707 [$(run-built-tests) = yes] (tests): Depend on
3708 $(objpfx)tst-unused-dep-cmp.out.
3709 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3710 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3711 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3712 on $(objpfx)tst-setvbuf1-cmp.out.
3713 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3714 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3715 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3716 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3717 ($(objpfx)tst-svc.out): Remove rule.
3718 ($(objpfx)tst-svc-cmp.out): New rule.
3720 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3722 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3723 * ctype/ctype.h [__USE_MISC]: Likewise.
3724 * dirent/dirent.h [__USE_MISC]: Likewise.
3725 * grp/grp.h [__USE_MISC]: Likewise.
3726 * io/fcntl.h [__USE_MISC]: Likewise.
3727 * io/sys/stat.h [__USE_MISC]: Likewise.
3728 * libio/stdio.h [__USE_MISC]: Likewise.
3729 * posix/unistd.h [__USE_MISC]: Likewise.
3730 * pwd/pwd.h [__USE_MISC]: Likewise.
3731 * stdlib.h [__USE_MISC]: Likewise.
3732 * string/bits/string2.h [__USE_MISC]: Likewise.
3733 * string/string.h [__USE_MISC]: Likewise.
3734 * time/time.h [__USE_MISC]: Likewise.
3736 2014-02-13 Andreas Schwab <schwab@suse.de>
3739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3740 second answer buffer if it was separately allocated.
3742 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/mips/math-tests.h: Include <features.h>.
3745 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3746 (ROUNDING_TESTS_long_double): Do not define.
3747 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3748 (EXCEPTION_TESTS_long_double): Likewise.
3749 * sysdeps/mips/mips64/libm-test-ulps: Update.
3751 * include/features.h (__USE_BSD): Remove macro definitions.
3752 (__USE_SVID): Likewise.
3753 (_BSD_SOURCE): Likewise.
3754 (_SVID_SOURCE): Likewise.
3755 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3756 from definition of _DEFAULT_SOURCE.
3757 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3759 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3760 * bits/mman.h [__USE_BSD]: Likewise.
3761 * bits/termios.h [__USE_BSD]: Likewise.
3762 * bits/waitstatus.h [__USE_BSD]: Likewise.
3763 * ctype/ctype.h [__USE_SVID]: Likewise.
3764 * dirent/dirent.h [__USE_BSD]: Likewise.
3765 * grp/grp.h [__USE_SVID]: Likewise.
3766 [__USE_BSD]: Likewise.
3767 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3768 * io/fcntl.h [__USE_BSD]: Likewise.
3769 * io/ftw.h [__USE_BSD]: Likewise.
3770 * io/sys/stat.h [__USE_BSD]: Likewise.
3771 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3772 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3773 * libio/stdio.h [__USE_SVID]: Likewise.
3774 [__USE_BSD]: Likewise.
3775 * math/math.h [__USE_SVID]: Likewise.
3776 [__USE_BSD]: Likewise.
3777 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3778 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3779 * misc/search.h [__USE_SVID]: Likewise.
3780 * misc/sys/mman.h [__USE_BSD]: Likewise.
3781 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3782 * misc/sys/uio.h [__USE_BSD]: Likewise.
3783 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3784 * posix/glob.h [__USE_BSD]: Likewise.
3785 * posix/regex.h [__USE_BSD]: Likewise.
3786 * posix/sys/types.h [__USE_BSD]: Likewise.
3787 [__USE_SVID]: Likewise.
3788 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3789 * posix/sys/wait.h [__USE_BSD]: Likewise.
3790 [__USE_SVID]: Likewise.
3791 * posix/unistd.h [__USE_BSD]: Likewise.
3792 [__USE_SVID]: Likewise.
3793 * pwd/pwd.h [__USE_SVID]: Likewise.
3794 * resolv/netdb.h [__USE_BSD]: Likewise.
3795 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3796 * signal/signal.h [__USE_BSD]: Likewise.
3797 [__USE_SVID]: Likewise.
3798 * socket/sys/socket.h [__USE_BSD]: Likewise.
3799 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3800 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3801 [__USE_SVID]: Likewise.
3802 * string/bits/string2.h [__USE_BSD]: Likewise.
3803 [__USE_SVID]: Likewise.
3804 * string/bits/string3.h [__USE_BSD]: Likewise.
3805 * string/endian.h [__USE_BSD]: Likewise.
3806 * string/string.h [__USE_SVID]: Likewise.
3807 [__USE_BSD]: Likewise.
3808 * string/strings.h [__USE_BSD]: Likewise.
3809 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3810 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3811 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3812 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3813 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3818 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3821 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3822 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3824 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3826 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3827 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3832 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3833 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3834 * termios/termios.h [__USE_BSD]: Likewise.
3835 * time/sys/time.h [__USE_BSD]: Likewise.
3836 * time/time.h [__USE_BSD]: Likewise.
3837 [__USE_SVID]: Likewise.
3839 * Makefile (subdir_targets): Remove subdir_lint.out.
3841 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3842 (do-tst-printf): Likewise.
3843 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3844 $(objpfx)tst-printf.out.
3846 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3848 * Makerules (check-abi-%): Change target to
3849 $(objpfx)check-abi-%.out.
3850 (check-abi target): Update dependencies.
3851 (check-abi-pattern variable): Redirect output of diff to $@.
3852 (check-abi variable): Likewise.
3853 * elf/Makefile (check-abi): Update dependencies.
3855 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3857 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3858 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3860 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3861 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3862 value has largest subnormal exponent.
3863 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3864 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3865 * sysdeps/aarch64/soft-fp/sfp-machine.h
3866 (_FP_TININESS_AFTER_ROUNDING): New macro.
3867 * sysdeps/alpha/soft-fp/sfp-machine.h
3868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3869 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3871 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3873 * sysdeps/mips/soft-fp/sfp-machine.h
3874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3875 * sysdeps/powerpc/soft-fp/sfp-machine.h
3876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3877 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3880 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3883 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3886 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3889 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3892 2014-02-12 Richard Henderson <rth@redhat.com>
3894 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3895 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3896 * sysdeps/unix/sysv/linux/alpha: Move directory from
3897 ports/sysdeps/unix/sysv/linux/alpha.
3898 * README: Update listing for alpha-*-linux-gnu.
3900 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3902 * include/features.h: Update comment documenting feature test
3904 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3906 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3907 (_SVID_SOURCE): Likewise.
3908 (_DEFAULT_SOURCE): Update description of default features.
3909 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3911 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3912 (S_ISVTX): Likewise.
3913 * manual/math.texi (Mathematical Constants): Likewise.
3914 * manual/signal.texi (Interrupted Primitives): Likewise.
3915 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3916 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3917 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3918 Don't refer to _SVID_SOURCE in warning text.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3922 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3924 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3925 * sysdeps/mips/dl-lookup.c: Remove.
3926 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3928 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3931 * math/auto-libm-test-in: Add testcase for expl.
3932 * math/auto-libm-test-out: Regenerate.
3933 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3934 calculation of unsafe.
3935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3937 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3939 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3940 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3941 ports/sysdeps/unix/sysv/linux/aarch64.
3942 * README: Update listing for aarch64*-*-linux-gnu.
3944 2014-02-11 Will Newton <will.newton@linaro.org>
3946 * manual/probes.texi (Mathematical Function Probes): Use
3947 "triggered" instead of "hit".
3949 2014-02-11 Will Newton <will.newton@linaro.org>
3951 * manual/probes.texi (Internal Probes): Add documentation
3952 of setjmp, longjmp and longjmp_target probes.
3954 2014-02-11 Will Newton <will.newton@linaro.org>
3956 * include/stap-probe.h: Add comment about probe argument
3959 2014-02-11 Will Newton <will.newton@linaro.org>
3961 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3962 definition. (tr_where, tr_freehook, tr_mallochook,
3963 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3965 2014-02-11 David S. Miller <davem@davemloft.net>
3967 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3968 processing int_tests.
3970 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3972 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3973 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3974 * sysdeps/unix/sysv/linux/mips: Move directory from
3975 ports/sysdeps/unix/sysv/linux/mips.
3976 * README: Update listing for mips-*-linux-gnu and
3979 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3981 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3982 * sysdeps/unix/sysv/linux/m68k: Move directory from
3983 ports/sysdeps/unix/sysv/linux/m68k.
3984 * README: Update listing for m68k-*-linux-gnu.
3986 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3988 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3989 * sysdeps/unix/sysv/linux/generic: Move directory from
3990 ports/sysdeps/unix/sysv/linux/generic.
3991 * sysdeps/unix/sysv/linux/tile: Move directory from
3992 ports/sysdeps/unix/sysv/linux/tile.
3993 * README: Update listing for tile*-*-linux-gnu.
3995 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3997 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3998 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3999 * catgets/open_catalog.c (__open_catalog): Likewise.
4000 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4001 * debug/confstr_chk.c: Likewise.
4002 * debug/fread_chk.c (__fread_chk): Likewise.
4003 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4004 * debug/getgroups_chk.c: Likewise.
4005 * debug/mbsnrtowcs_chk.c: Likewise.
4006 * debug/mbsrtowcs_chk.c: Likewise.
4007 * debug/mbstowcs_chk.c: Likewise.
4008 * debug/memcpy_chk.c: Likewise.
4009 * debug/memmove_chk.c: Likewise.
4010 * debug/mempcpy_chk.c: Likewise.
4011 * debug/memset_chk.c: Likewise.
4012 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4013 * debug/strcat_chk.c (__strcat_chk): Likewise.
4014 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4015 * debug/strncat_chk.c (__strncat_chk): Likewise.
4016 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4017 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4018 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4019 * debug/wcpncpy_chk.c: Likewise.
4020 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4021 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4022 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4023 * debug/wcsncpy_chk.c: Likewise.
4024 * debug/wcsnrtombs_chk.c: Likewise.
4025 * debug/wcsrtombs_chk.c: Likewise.
4026 * debug/wcstombs_chk.c: Likewise.
4027 * debug/wmemcpy_chk.c: Likewise.
4028 * debug/wmemmove_chk.c: Likewise.
4029 * debug/wmempcpy_chk.c: Likewise.
4030 * debug/wmemset_chk.c: Likewise.
4031 * dirent/scandirat.c (SCANDIRAT): Likewise.
4032 * dlfcn/dladdr1.c (dladdr1): Likewise.
4033 * dlfcn/dladdr.c (dladdr): Likewise.
4034 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4035 * dlfcn/dlerror.c (__dlerror): Likewise.
4036 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4037 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4038 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4039 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4040 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4041 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4042 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4043 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4045 * elf/dl-conflict.c: Likewise.
4046 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4047 * elf/dl-dst.h: Likewise.
4048 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4049 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4050 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4051 * elf/dl-init.c (call_init, _dl_init): Likewise.
4052 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4053 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4054 _dl_map_object_from_fd, open_verify, open_path,
4055 _dl_map_object): Likewise.
4056 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4058 * elf/dl-minimal.c (__libc_memalign): Likewise.
4059 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4060 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4061 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4062 * elf/dl-sym.c (do_sym): Likewise.
4063 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4064 _dl_tls_get_addr_soft): Likewise.
4065 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4066 * elf/dl-writev.h (_dl_writev): Likewise.
4067 * elf/ldconfig.c (search_dir): Likewise.
4068 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4070 * elf/setup-vdso.h (setup_vdso): Likewise.
4071 * grp/compat-initgroups.c (compat_call): Likewise.
4072 * grp/fgetgrent.c (fgetgrent): Likewise.
4073 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4074 * grp/putgrent.c (putgrent): Likewise.
4075 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4077 * hurd/hurdinit.c: Likewise.
4078 * iconvdata/8bit-gap.c (struct): Likewise.
4079 * iconvdata/ansi_x3.110.c : Likewise.
4080 * iconvdata/big5.c : Likewise.
4081 * iconvdata/big5hkscs.c : Likewise.
4082 * iconvdata/cp1255.c: Likewise.
4083 * iconvdata/cp1258.c : Likewise.
4084 * iconvdata/cp932.c : Likewise.
4085 * iconvdata/euc-cn.c: Likewise.
4086 * iconvdata/euc-jisx0213.c : Likewise.
4087 * iconvdata/euc-jp.c: Likewise.
4088 * iconvdata/euc-jp-ms.c : Likewise.
4089 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4090 * iconvdata/gb18030.c : Likewise.
4091 * iconvdata/gbbig5.c (const): Likewise.
4092 * iconvdata/gbgbk.c: Likewise.
4093 * iconvdata/gbk.c : Likewise.
4094 * iconvdata/ibm1364.c : Likewise.
4095 * iconvdata/ibm930.c : Likewise.
4096 * iconvdata/ibm932.c: Likewise.
4097 * iconvdata/ibm933.c : Likewise.
4098 * iconvdata/ibm935.c : Likewise.
4099 * iconvdata/ibm937.c : Likewise.
4100 * iconvdata/ibm939.c : Likewise.
4101 * iconvdata/ibm943.c: Likewise.
4102 * iconvdata/iso_11548-1.c: Likewise.
4103 * iconvdata/iso-2022-cn.c : Likewise.
4104 * iconvdata/iso-2022-cn-ext.c : Likewise.
4105 * iconvdata/iso-2022-jp-3.c: Likewise.
4106 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4107 * iconvdata/iso-2022-kr.c : Likewise.
4108 * iconvdata/iso646.c (gconv_end): Likewise.
4109 * iconvdata/iso_6937-2.c : Likewise.
4110 * iconvdata/iso_6937.c : Likewise.
4111 * iconvdata/iso8859-1.c: Likewise.
4112 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4113 * iconvdata/shift_jisx0213.c : Likewise.
4114 * iconvdata/sjis.c : Likewise.
4115 * iconvdata/t.61.c : Likewise.
4116 * iconvdata/tcvn5712-1.c : Likewise.
4117 * iconvdata/tscii.c: Likewise.
4118 * iconvdata/uhc.c : Likewise.
4119 * iconvdata/unicode.c (gconv_end): Likewise.
4120 * iconvdata/utf-16.c (gconv_end): Likewise.
4121 * iconvdata/utf-32.c (gconv_end): Likewise.
4122 * iconvdata/utf-7.c (base64): Likewise.
4123 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4124 * iconv/gconv_close.c (__gconv_close): Likewise.
4125 * iconv/gconv_open.c (__gconv_open): Likewise.
4126 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4127 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4128 internal_ucs4le_loop_single, ucs4le_internal_loop,
4129 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4130 * iconv/iconv.c (iconv): Likewise.
4131 * iconv/iconv_close.c: Likewise.
4132 * iconv/loop.c (SINGLE): Likewise.
4133 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4134 * include/atomic.h: Likewise.
4135 * inet/inet6_option.c (option_alloc): Likewise.
4136 * intl/bindtextdom.c (set_binding_values): Likewise.
4137 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4138 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4139 * intl/localealias.c (read_alias_file): Likewise.
4140 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4141 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4142 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4143 * libio/fmemopen.c (fmemopen): Likewise.
4144 * libio/iofgets.c (_IO_fgets): Likewise.
4145 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4146 * libio/iofgetws.c (fgetws): Likewise.
4147 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4148 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4149 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4150 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4151 * locale/findlocale.c (_nl_find_locale): Likewise.
4152 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4153 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4155 * locale/setlocale.c (setlocale): Likewise.
4156 * login/programs/pt_chown.c (main): Likewise.
4157 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4158 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4159 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4160 mmap, mmap64, mremap, munmap): Likewise.
4161 * math/e_exp2l.c: Likewise.
4162 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4163 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4164 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4165 * math/s_catan.c (__catan): Likewise.
4166 * math/s_catanf.c (__catanf): Likewise.
4167 * math/s_catanh.c (__catanh): Likewise.
4168 * math/s_catanhf.c (__catanhf): Likewise.
4169 * math/s_catanhl.c (__catanhl): Likewise.
4170 * math/s_catanl.c (__catanl): Likewise.
4171 * math/s_ccosh.c (__ccosh): Likewise.
4172 * math/s_ccoshf.c (__ccoshf): Likewise.
4173 * math/s_ccoshl.c (__ccoshl): Likewise.
4174 * math/s_cexp.c (__cexp): Likewise.
4175 * math/s_cexpf.c (__cexpf): Likewise.
4176 * math/s_cexpl.c (__cexpl): Likewise.
4177 * math/s_clog10.c (__clog10): Likewise.
4178 * math/s_clog10f.c (__clog10f): Likewise.
4179 * math/s_clog10l.c (__clog10l): Likewise.
4180 * math/s_clog.c (__clog): Likewise.
4181 * math/s_clogf.c (__clogf): Likewise.
4182 * math/s_clogl.c (__clogl): Likewise.
4183 * math/s_csin.c (__csin): Likewise.
4184 * math/s_csinf.c (__csinf): Likewise.
4185 * math/s_csinh.c (__csinh): Likewise.
4186 * math/s_csinhf.c (__csinhf): Likewise.
4187 * math/s_csinhl.c (__csinhl): Likewise.
4188 * math/s_csinl.c (__csinl): Likewise.
4189 * math/s_csqrt.c (__csqrt): Likewise.
4190 * math/s_csqrtf.c (__csqrtf): Likewise.
4191 * math/s_csqrtl.c (__csqrtl): Likewise.
4192 * math/s_ctan.c (__ctan): Likewise.
4193 * math/s_ctanf.c (__ctanf): Likewise.
4194 * math/s_ctanh.c (__ctanh): Likewise.
4195 * math/s_ctanhf.c (__ctanhf): Likewise.
4196 * math/s_ctanhl.c (__ctanhl): Likewise.
4197 * math/s_ctanl.c (__ctanl): Likewise.
4198 * math/w_pow.c: Likewise.
4199 * math/w_powf.c: Likewise.
4200 * math/w_powl.c: Likewise.
4201 * math/w_scalb.c (sysv_scalb): Likewise.
4202 * math/w_scalbf.c (sysv_scalbf): Likewise.
4203 * math/w_scalbl.c (sysv_scalbl): Likewise.
4204 * misc/error.c (error_tail): Likewise.
4205 * misc/pselect.c (__pselect): Likewise.
4206 * nis/nis_callback.c (__nis_create_callback): Likewise.
4207 * nis/nis_call.c (__nisfind_server): Likewise.
4208 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4209 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4210 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4211 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4212 * nis/nis_lookup.c (nis_lookup): Likewise.
4213 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4214 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4215 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4216 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4217 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4218 internal_getgrgid_r): Likewise.
4219 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4221 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4222 internal_getpwuid_r): Likewise.
4223 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4224 internal_getspnam_r): Likewise.
4225 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4226 _nss_nis_getaliasbyname_r): Likewise.
4227 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4228 _nss_nis_getntohost_r): Likewise.
4229 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4230 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4232 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4233 internal_nis_gethostent_r, internal_gethostbyname2_r,
4234 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4235 _nss_nis_gethostbyname4_r): Likewise.
4236 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4237 initgroups_netid): Likewise.
4238 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4239 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4240 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4241 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4242 _nss_nis_getprotobynumber_r): Likewise.
4243 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4244 _nss_nis_getsecretkey): Likewise.
4245 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4246 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4248 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4249 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4250 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4251 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4252 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4253 _nss_nis_getspnam_r): Likewise.
4254 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4256 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4257 _nss_nisplus_getntohost_r): Likewise.
4258 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4259 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4260 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4261 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4262 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4264 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4265 _nss_nisplus_getnetbyaddr_r): Likewise.
4266 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4267 _nss_nisplus_getprotobynumber_r): Likewise.
4268 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4269 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4270 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4272 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4273 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4274 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4275 _nss_nisplus_getspnam_r): Likewise.
4276 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4277 * nscd/aicache.c (addhstaiX): Likewise.
4278 * nscd/cache.c (cache_search, prune_cache): Likewise.
4279 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4280 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4281 * nscd/grpcache.c (addgrbyX): Likewise.
4282 * nscd/hstcache.c (addhstbyX): Likewise.
4283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4284 * nscd/mem.c (gc, mempool_alloc): Likewise.
4285 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4287 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4289 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4290 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4291 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4293 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4295 * nscd/nscd_helper.c (__readvall, open_socket,
4296 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4297 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4298 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4299 * nscd/pwdcache.c (addpwbyX): Likewise.
4300 * nscd/selinux.c (preserve_capabilities): Likewise.
4301 * nscd/servicescache.c (addservbyX): Likewise.
4302 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4303 * posix/fnmatch.c (fnmatch): Likewise.
4304 * posix/getopt.c (_getopt_internal_r): Likewise.
4305 * posix/glob.c (glob, glob_in_dir): Likewise.
4306 * posix/wordexp.c (exec_comm_child): Likewise.
4307 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4308 gaih_getanswer_slice): Likewise.
4309 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4310 * resolv/res_init.c: Likewise.
4311 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4312 * resolv/res_query.c (__libc_res_nquery): Likewise.
4313 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4315 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4316 * stdio-common/perror.c (perror): Likewise.
4317 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4318 * stdio-common/tmpnam.c (tmpnam): Likewise.
4319 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4320 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4321 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4322 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4323 * stdlib/putenv.c (putenv): Likewise.
4324 * stdlib/setenv.c (__add_to_environ): Likewise.
4325 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4326 * stdlib/strtol_l.c (INTERNAL): Likewise.
4327 * string/memmem.c (memmem): Likewise.
4328 * string/strerror.c (strerror): Likewise.
4329 * string/strnlen.c (__strnlen): Likewise.
4330 * string/test-memmem.c (simple_memmem): Likewise.
4331 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4332 * sunrpc/pm_getport.c (__get_socket): Likewise.
4333 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4334 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4335 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4336 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4338 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4340 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4341 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4342 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4343 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4344 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4345 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4346 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4347 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4348 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4349 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4351 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4352 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4353 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4354 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4355 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4356 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4362 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4366 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4367 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4378 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4380 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4382 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4384 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4386 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4388 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4389 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4390 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4391 * sysdeps/posix/sleep.c: Likewise.
4392 * sysdeps/posix/tempname.c: Likewise.
4393 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4394 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4396 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4397 elf_machine_rela): Likewise.
4398 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4400 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4401 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4403 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4405 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4406 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4407 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4408 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4409 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4410 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4411 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4412 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4414 elf_machine_lazy_rel): Likewise.
4415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4417 elf_machine_lazy_rel): Likewise.
4418 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4419 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4420 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4421 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4422 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4423 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4424 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4428 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4429 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4430 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4431 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4432 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4433 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4434 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4436 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4437 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4439 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4440 (__posix_fallocate64_l64): Likewise.
4441 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4442 (posix_fallocate): Likewise.
4443 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4445 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4446 getifaddrs_internal): Likewise.
4447 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4448 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4449 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4450 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4451 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4452 (__posix_fallocate64_l64): Likewise.
4453 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4458 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4459 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4460 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4463 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4464 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4467 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4468 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4469 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4471 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4472 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4473 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4475 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4476 (posix_fallocate): Likewise.
4477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4478 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4479 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4480 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4481 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4483 * time/asctime.c (asctime_internal): Likewise.
4484 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4485 * time/tzset.c (__tzset_parse_tz): Likewise.
4486 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4487 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4488 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4489 * wcsmbs/wcsmbsload.h: Likewise.
4491 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4494 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4496 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4498 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4499 arena_get2): Remove THREAD_STATS conditionals.
4500 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4501 __malloc_stats, int): Likewise.
4503 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4505 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4506 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4508 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4510 * manual/setjmp.texi: Fix typos/grammar errors.
4512 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4514 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4515 Only return early when n is <= 0. Delete unused return statement.
4517 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4519 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4520 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4521 * debug/tst-longjmp_chk3.c: New file.
4523 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4525 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4526 (test_main): Replace code with set_fortify_handler call.
4527 * debug/test-strcpy_chk.c: Likewise.
4528 * debug/tst-chk1.c: Likewise.
4529 * debug/tst-longjmp_chk.c: Likewise.
4530 * test-skeleton.c: Include fcntl.h & paths.h
4531 (set_fortify_handler): Define.
4533 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4535 * debug/tst-longjmp_chk.c: Add header comment and include
4537 (do_test): Mark static.
4538 (TEST_FUNCTION): Define.
4540 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4542 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4543 (IP_PMTUDISC_INTERFACE): Likewise.
4544 (IP_MULTICAST_IF): Likewise.
4545 (IP_MULTICAST_TTL): Likewise.
4546 (IP_MULTICAST_LOOP): Likewise.
4547 (IP_ADD_MEMBERSHIP): Likewise.
4548 (IP_DROP_MEMBERSHIP): Likewise.
4549 (IP_UNBLOCK_SOURCE): Likewise.
4550 (IP_BLOCK_SOURCE): Likewise.
4551 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4552 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4553 (IP_MSFILTER): Likewise.
4554 (MCAST_JOIN_GROUP): Likewise.
4555 (MCAST_BLOCK_SOURCE): Likewise.
4556 (MCAST_UNBLOCK_SOURCE): Likewise.
4557 (MCAST_LEAVE_GROUP): Likewise.
4558 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4559 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4560 (MCAST_MSFILTER): Likewise.
4561 (IP_MULTICAST_ALL): Likewise.
4562 (IP_UNICAST_IF): Likewise.
4564 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4566 * timezone/Makefile: Delete $(have-ksh) check.
4567 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4568 * timezone/tzselect.ksh: Add +x mode bits.
4570 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4572 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4573 (ANON_INODE_FS_MAGIC): Likewise.
4574 (BDEVFS_MAGIC): Likewise.
4575 (BINFMTFS_MAGIC): Likewise.
4576 (BTRFS_TEST_MAGIC): Likewise.
4577 (CRAMFS_MAGIC_WEND): Likewise.
4578 (DEBUGFS_MAGIC): Likewise.
4579 (ECRYPTFS_SUPER_MAGIC): Likewise.
4580 (EXT3_SUPER_MAGIC): Likewise.
4581 (EXT4_SUPER_MAGIC): Likewise.
4582 (FUTEXFS_SUPER_MAGIC): Likewise.
4583 (HOSTFS_SUPER_MAGIC): Likewise.
4584 (HUGETLBFS_MAGIC): Likewise.
4585 (MINIX3_SUPER_MAGIC): Likewise.
4586 (MTD_INODE_FS_MAGIC): Likewise.
4587 (NILFS_SUPER_MAGIC): Likewise.
4588 (OPENPROM_SUPER_MAGIC): Likewise.
4589 (PIPEFS_MAGIC): Likewise.
4590 (PSTOREFS_MAGIC): Likewise.
4591 (QNX6_SUPER_MAGIC): Likewise.
4592 (RAMFS_MAGIC): Likewise.
4593 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4594 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4595 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4596 (SECURITYFS_MAGIC): Likewise.
4597 (SELINUX_MAGIC): Likewise.
4598 (SMACK_MAGIC): Likewise.
4599 (SOCKFS_MAGIC): Likewise.
4600 (SQUASHFS_MAGIC): Likewise.
4601 (STACK_END_MAGIC): Likewise.
4602 (TMPFS_MAGIC): Likewise.
4603 (USBDEVICE_SUPER_MAGIC): Likewise.
4604 (V9FS_MAGIC): Likewise.
4605 (XENFS_SUPER_MAGIC): Likewise.
4606 (CRAMFS_MAGIC): Fix typo in comment.
4607 (EXT2_SUPER_MAGIC): Update comment.
4608 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4610 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4613 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4614 * sysdeps/unix/sysv/linux/arm: Move directory from
4615 ports/sysdeps/unix/sysv/linux/arm.
4616 * README: Update listing for arm-*-linux-gnueabi.
4618 * README: Remove mention of am33.
4620 2014-02-07 Roland McGrath <roland@hack.frob.com>
4622 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4623 than the comma operator, to avoid "rhs of comma has no effect"
4625 (__sigfillset, __sigandset, __sigorset): Likewise.
4626 * include/signal.h (__sigemptyset): Likewise.
4627 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4629 2014-02-07 Allan McRae <allan@archlinux.org>
4631 * version.h (RELEASE): Set to "development".
4632 (VERSION): Set to "2.19.90"
4633 * NEWS: Add 2.20 section.
4635 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4638 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4640 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4642 * manual/contrib.texi: Update entry for Carlos O'Donell,
4643 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4645 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4647 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4649 * sysdeps/unix/sysv/linux/kernel-features.h
4650 [__LINUX_KERNEL_VERSION >= 0x020621]
4651 (__ASSUME_PROC_PID_TASK_COMM): Define.
4653 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4656 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4657 conversion when destination buffer does not have enough space.
4658 * libio/tst-ftell-partial-wide.c: New test case.
4659 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4661 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4662 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4663 Leonard and Allan McRae.
4665 2014-02-04 David S. Miller <davem@davemloft.net>
4667 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4670 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4699 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4702 * shlib-versions: Likewise.
4704 2014-02-04 Roland McGrath <roland@hack.frob.com>
4705 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4707 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4708 (abilist-pattern): New variable, set to %-le.abilist.
4710 * Makerules (abilist-pattern): New variable.
4711 (vpath): Use $(abilist-pattern) in place of %.abilist.
4712 (check-abi-% pattern rule): Likewise.
4713 (check-abi, update-abi): Likewise.
4715 2014-02-04 Eric Wong <normalperson@yhbt.net>
4717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4719 2014-02-04 Eric Wong <normalperson@yhbt.net>
4721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4723 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4725 * manual/startup.texi: Add next, previous, and top entries for
4726 the `Program Arguments' and `Environment Variables' nodes.
4728 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4730 * manual/macros.texi: Add comments before MTASC-safety macros.
4732 * manual/users.texi: Document MTASC-safety properties.
4734 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4735 pthread_getspecific, pthread_setspecific): Format with
4736 @deftypefun, and add @safety note.
4737 * manual/signal.texi: Move comments that analyze the above
4738 functions to their home place.
4740 2014-02-03 Allan McRae <allan@archlinux.org>
4742 * po/sl.po: Update Slovenian translation from translation project.
4744 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4746 * manual/time.texi (timegm): Add missing blank after @c.
4747 Reported by Joseph Myers <joseph@codesourcery.com>.
4749 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4751 * manual/check-safety.sh: New.
4752 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4754 * manual/terminal.texi: Document MTASC-safety properties.
4756 * manual/filesys.texi: Document MTASC-safety properties.
4758 * manual/errno.texi: Document MTASC-safety properties.
4760 * manual/intro.texi: Document safety identifiers and
4763 * manual/string.texi (wcstok): Fix prototype.
4764 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4766 * manual/time.texi: Document MTASC-safety properties.
4768 * manual/string.texi: Document MTASC-safety properties.
4770 * manual/threads.texi: Document MTASC-safety properties.
4772 * manual/stdio.texi: Document MTASC-safety properties.
4774 * manual/syslog.texi: Document MTASC-safety properties.
4776 * manual/sysinfo.texi: Document MTASC-safety properties.
4778 * manual/startup.texi: Document MTASC-safety properties.
4780 * manual/socket.texi: Document MTASC-safety properties.
4782 * manual/signal.texi: Document MTASC-safety properties.
4784 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4786 * manual/setjmp.texi: Document MTASC-safety properties.
4788 * manual/search.texi: Document MTASC-safety properties.
4790 * manual/resource.texi: Document MTASC-safety properties.
4792 * manual/process.texi: Document MTASC-safety properties.
4794 * manual/platform.texi: Document MTASC-safety properties.
4796 * manual/pipe.texi: Document MTASC-safety properties.
4798 * manual/pattern.texi: Document MTASC-safety properties.
4800 * manual/message.texi: Document MTASC-safety properties.
4803 * manual/memory.texi: Document MTASC-safety properties.
4805 * manual/math.texi: Document MTASC-safety properties.
4807 * manual/locale.texi: Document MTASC-safety properties.
4809 * manual/llio.texi: Document MTASC-safety properties.
4811 * manual/libdl.texi: New.
4813 * manual/lang.texi: Document MTASC-safety properties.
4815 * manual/job.texi: Document MTASC-safety properties.
4817 * manual/getopt.texi: Document MTASC-safety properties.
4819 * manual/ctype.texi: Document MTASC-safety properties.
4821 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4824 * csu/libc-tls.c (static_map): Remove variable.
4825 (__libc_setup_tls): Use main executable's link map for TLS data.
4826 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4827 casing for LM_ID_BASE and GL(dl_nns).
4828 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4829 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4830 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4831 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4832 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4834 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4837 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4839 * manual/debug.texi: Document MTASC-safety properties.
4841 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4844 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4845 of __x86_64__ when disabling x87 inline functions.
4847 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4849 * manual/charset.texi: Document MTASC-safety properties.
4851 * manual/crypt.texi: Document MTASC-safety properties.
4853 * manual/conf.texi: Document MTASC-safety properties.
4855 * manual/arith.texi: Document MTASC-safety properties.
4857 * manual/argp.texi: Document MTASC-safety properties.
4859 * manual/macros.texi: Introduce macros to document multi
4860 thread, asynchronous signal and asynchronous cancellation
4862 * manual/intro.texi: Introduce the properties themselves.
4864 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4866 * sysdeps/sh/sh4/Makefile: New file.
4868 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4870 * math/gen-libm-test.pl ($srcdir): New variable.
4871 ($auto_input): Use it.
4873 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4876 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4877 access beyond array bounds when parsing netgroups file.
4879 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4880 the old buffer before realloc.
4882 2014-01-27 Allan McRae <allan@archlinux.org>
4884 * po/fr.po: Update French translation from translation project.
4886 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4888 * sysdeps/sh/libm-test-ulps: Regenerate.
4890 2014-01-24 David S. Miller <davem@davemloft.net>
4892 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4894 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4897 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4899 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4902 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4903 string pointers after reallocation.
4905 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4907 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4908 __SH4A__ instead of __SH_FPU_ANY__.
4910 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4912 * sysdeps/sh/fpu_control.h: New file.
4913 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4914 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4915 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4916 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4917 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4918 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4919 * sysdeps/sh/sys/ucontext.h: Remove.
4920 * sysdeps/sh/sys: Remove directory.
4922 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4924 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4925 s390/sys/ucontext.h.
4926 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4927 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4929 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4932 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4934 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4938 Adjust the vDSO correctly for internal calls.
4939 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4941 2014-01-20 Allan McRae <allan@archlinux.org>
4943 * po/ca.po: Update Catalan translation from translation project.
4945 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4947 * sysdeps/s390/sotruss-lib.c: New file.
4949 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4953 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4954 local calls issues by not having a PLT stub required for IFUNC calls.
4955 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4957 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4959 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4960 * math/test-fpucw-static.c: Likewise.
4962 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4965 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4967 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4969 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4970 implementation for powerpc.
4972 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4975 * sysdeps/posix/system.c (__libc_system): Do not enable
4976 asynchronous cancellation.
4978 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4981 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4982 handling only for numbers special also in the IEEE case.
4984 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4986 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4988 2014-01-11 Allan McRae <allan@archlinux.org>
4990 * po/bg.po: Update Bulgarian translation from translation project.
4992 * po/de.po: Update German translation from translation project.
4994 2014-01-10 Roland McGrath <roland@hack.frob.com>
4996 * sysdeps/generic/gcc-compat.h: New file.
4998 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5000 * benchtests/asin-inputs: Correct slow inputs.
5001 * benchtests/acos-inputs: Likewise.
5003 2014-01-10 Allan McRae <allan@archlinux.org>
5005 * po:sv.po: Update Swedish translation from translation project.
5007 * po/vi.po: Update Vietnamese translation from translation project.
5009 * po/eo.po: Update Esperanto translation from translation project.
5011 * po/cs.po: Update Czech translation from translation project.
5013 * po/nl.po: Update Dutch translation from translation project.
5015 * po/pl.po: Update Polish translation from translation project.
5017 * po/ru.po: Update Russian translation from translation project.
5019 * po/uk.po: Update Ukrainian translation from translation project.
5021 2014-01-08 Brooks Moses <bmoses@google.com>
5023 * elf/dl-load.c: Fix comment typo.
5025 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5027 * po/header.pot: Rename to...
5028 * po/pot.header: ... this.
5029 * po/Makefile: Use pot.header.
5031 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5032 Maxim Kuvyrkov <maxim@kugelworks.com>
5035 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5036 SRC and DEST against LEN.
5038 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5041 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5043 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5045 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5049 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5052 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5053 for large positive arguments.
5055 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5057 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5059 * math/auto-libm-test-in: Mark various tests with
5060 xfail-rounding:ldbl-128ibm.
5061 * math/auto-libm-test-out: Regenerated.
5064 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5065 Increase overflow threshold.
5067 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5070 * stdio-common/vfprintf.c: Check for integer overflow.
5072 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5074 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5075 the first argument and return value of __tls_get_addr_internal.
5077 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5079 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5080 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5082 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5084 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5085 * sysdeps/s390/rtld-global-offsets.sym: New file.
5086 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5088 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5089 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5090 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5092 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5093 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5099 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5100 halfs of GPRs for high_gprs contexts.
5101 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5102 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5104 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5106 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5108 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5109 for high GPRs (uc_high_gprs) and for future extensions
5111 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5112 for future extensions (__reserved).
5113 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5115 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5116 SC_HIGHGPRS offset definition.
5117 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5118 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5120 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5122 * Versions.def: Add GLIBC_2.19 for libpthread.
5123 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5124 siglongjmp for libpthread with GLIBC_2.19 symver.
5125 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5126 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5127 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5128 * sysdeps/s390/__longjmp.c: New file.
5129 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5130 * sysdeps/s390/longjmp.c: New file.
5131 * sysdeps/s390/setjmp.S: New file.
5132 * sysdeps/s390/sigjmp.S: New file.
5133 * sysdeps/s390/v1-longjmp.c: New file.
5134 * sysdeps/s390/v1-setjmp.h: New file.
5135 * sysdeps/s390/v1-sigjmp.c: New file.
5136 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5137 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5139 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5140 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5141 versioned symbols for ____longjmp_chk.
5142 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5152 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5153 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5154 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5155 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5156 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5157 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5158 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5159 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5160 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5161 * sysdeps/s390/rtld-__longjmp.c: New file.
5162 * sysdeps/s390/rtld-setjmp.S: New file.
5164 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5167 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5168 Return -__logl (x) for small positive arguments without evaluating
5171 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5173 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5175 (__ptrace_peeksiginfo_args): ... this.
5176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5177 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5180 2014-01-06 Allan McRae <allan@archlinux.org>
5182 * inet/netinet/in.h: Fix typo in comment.
5184 2014-01-05 Andreas Jaeger <aj@suse.de>
5186 * sysdeps/i386/fpu/libm-test-ulps: Update.
5188 2014-01-05 Allan McRae <allan@archlinux.org>
5190 * po/libc.pot: Regenerated.
5192 * malloc/memusagestat.c: Fix gettext call formatting.
5194 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5196 * nscd/nscd.c: Improve usage() output.
5198 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5200 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5201 * sysdeps/unix/sysv/linux/configure: Regenerated.
5202 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5203 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5205 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5208 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5209 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5211 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5214 extra tokens at end of #undef directive.
5215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5216 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5219 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5223 * math/auto-libm-test-in: Mark various tests with
5224 xfail-rounding:ldbl-128ibm.
5225 * math/auto-libm-test-out: Regenerated.
5227 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5230 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5231 numbers with subnormal high part when calculating exponent.
5234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5240 (__ieee754_acoshl): Use __log1pl not __log1p.
5242 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5244 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5245 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5246 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5247 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5248 Convert to GNU style.
5249 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5250 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5251 memalign_check, __malloc_set_state): Likewise.
5252 * malloc/mallocbug.c (main): Likewise.
5253 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5254 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5255 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5256 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5257 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5258 * malloc/malloc.h: Likewise.
5259 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5260 memalignhook, reallochook, mabort): Likewise.
5261 * malloc/mcheck.h: Likewise.
5262 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5263 mmap64, mremap, munmap, dest): Likewise.
5264 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5265 * malloc/morecore.c (__default_morecore): Likewise.
5266 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5267 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5268 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5269 print_and_abort): Likewise.
5270 * malloc/obstack.h: Likewise.
5271 * malloc/set-freeres.c (__libc_freeres): Likewise.
5272 * malloc/tst-mallocstate.c (main): Likewise.
5273 * malloc/tst-mtrace.c (main): Likewise.
5274 * malloc/tst-realloc.c (do_test): Likewise.
5276 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5279 * nscd/netgroupcache.c (do_notfound): New function.
5280 (addgetnetgrentX): Use it.
5283 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5284 NSS_STATUS_NOTFOUND.
5286 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291 2014-01-01 Allan McRae <allan@archlinux.org>
5293 * scripts/update-copyrights: Update configure input file suffix.
5295 * NEWS: Update copyright year.
5296 * catgets/gencat.c: Likewise.
5297 * csu/version.c: Likewise.
5298 * debug/catchsegv.sh: Likewise.
5299 * debug/pcprofiledump.c: Likewise.
5300 * debug/xtrace.sh: Likewise.
5301 * elf/ldconfig.c: Likewise.
5302 * elf/ldd.bash.in: Likewise.
5303 * elf/pldd.c: Likewise.
5304 * elf/sotruss.ksh: Likewise.
5305 * elf/sprof.c: Likewise.
5306 * iconv/iconv_prog.c: Likewise.
5307 * iconv/iconvconfig.c: Likewise.
5308 * locale/programs/locale.c: Likewise.
5309 * locale/programs/localedef.c: Likewise.
5310 * login/programs/pt_chown.c: Likewise.
5311 * malloc/memusage.sh: Likewise.
5312 * malloc/memusagestat.c: Likewise.
5313 * malloc/mtrace.pl: Likewise.
5314 * manual/libc.texinfo: Likewise.
5315 * nscd/nscd.c: Likewise.
5316 * nss/getent.c: Likewise.
5317 * nss/makedb.c: Likewise.
5318 * posix/getconf.c: Likewise.
5319 * scripts/test-installation.pl: Likewise.
5321 * All files with FSF copyright notices: Update copyright dates
5322 using scripts/update-copyrights.
5323 * intl/plural.c: Regenerated.
5324 * locale/programs/charmap-kw.h: Likewise.
5325 * locale/programs/locfile-kw.h: Likewise.
5327 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5329 * sysdeps/unix/sysv/linux/configure: Regenerated.
5330 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5331 the linux/fanotify.h header.
5332 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5333 HAVE_LINUX_FANOTIFY_H is defined.
5335 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5337 * benchtests/cos-inputs: New inputs.
5338 * benchtests/sin-inputs: Likewise.
5340 * benchtests/atan-inputs: New inputs. Fix name of multiple
5341 precision fallback inputs.
5343 * benchtests/atanh-inputs: New inputs.
5344 * benchtests/tanh-inputs: Likewise.
5346 * benchtests/acosh-inputs: New inputs.
5347 * benchtests/asinh-inputs: Likewise.
5349 * benchtests/cosh-inputs: New inputs.
5350 * benchtests/sinh-inputs: Likewise.
5352 * benchtests/acos-inputs: Add more inputs.
5353 * benchtests/asin-inputs: Likewise.
5355 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5358 * manual/arith.texi: Fix spelling.
5359 * manual/charset.texi: Likewise.
5360 * manual/errno.texi: Likewise.
5361 * manual/filesys.texi: Likewise.
5362 * manual/lang.texi: Likewise.
5363 * manual/llio.texi: Likewise.
5364 * manual/locale.texi: Likewise.
5365 * manual/message.texi: Likewise.
5366 * manual/resource.texi: Likewise.
5367 * manual/search.texi: Likewise.
5368 * manual/setjmp.texi: Likewise.
5369 * manual/stdio.texi: Likewise.
5370 * manual/string.texi: Likewise.
5371 * manual/sysinfo.texi: Likewise.
5372 * manual/time.texi: Likewise.
5374 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5376 * po/sl.po: New file.
5378 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5380 * .gitignore: Add core/.gdbinit/.gdb_history.
5382 2013-12-27 Allan McRae <allan@archlinux.org>
5385 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5386 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5388 2013-12-24 Brooks Moses <bmoses@google.com>
5390 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5391 all compilers that claim C++98 compliance, not just GCC.
5392 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5395 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5397 * NEWS: Restore accidentally deleted bug-fix entries.
5399 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5400 Ondřej Bílka <neleai@seznam.cz>
5403 * malloc/malloc.c (_int_free): Perform sanity check only if we
5406 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5409 * manual/stdio.texi (String Input Conversions): Clarify that character
5410 classes are not supported.
5412 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5416 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5420 Calculate results for small negative arguments directly rather
5421 than using reflection formula with special underflow handling.
5423 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5424 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5425 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5426 (fchflags): Likewise.
5428 (setlogin): Likewise.
5429 (sigaltstack): Likewise.
5432 (sigsetmask): Likewise.
5434 (waitpid): Likewise.
5435 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5436 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5438 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5439 * sysdeps/unix/bsd/Makefile: ... here.
5440 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5441 * sysdeps/unix/bsd/Versions: ... here.
5442 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5443 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5444 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5445 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5446 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5447 * sysdeps/unix/bsd/sigblock.c: ... here.
5448 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5449 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5450 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5451 * sysdeps/unix/bsd/sigvec.c: ... here.
5452 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5453 * sysdeps/unix/bsd/tcdrain.c: ... here.
5454 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5455 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5456 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5457 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5458 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5459 * sysdeps/unix/bsd/wait.c: ... here.
5460 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5461 * sysdeps/unix/bsd/wait3.c: ... here.
5462 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5463 * sysdeps/unix/bsd/waitpid.c: ... here.
5465 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5469 round-to-nearest for [!USE_AS_EXPM1L].
5470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5471 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5472 more tests of exp and exp10. Expect some exp10 tests to miss
5473 exceptions or fail in directed rounding modes.
5474 * math/auto-libm-test-out: Regenerated.
5475 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5476 (exp10_test_tonearest): New function.
5477 (exp10_towardzero_test_data): New array.
5478 (exp10_test_towardzero): New function.
5479 (exp10_downward_test_data): New array.
5480 (exp10_test_downward): New function.
5481 (exp10_upward_test_data): New array.
5482 (exp10_test_upward): New function.
5483 (main): Call the new functions.
5484 * sysdeps/i386/fpu/libm-test-ulps: Update.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5487 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5489 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5490 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5491 * math/auto-libm-test-out: Regenerated.
5492 * math/libm-test.inc (acosh_test_data): Add more tests.
5493 (atanh_test_data): Likewise.
5494 (ceil_test_data): Likewise.
5495 (copysign_test_data): Likewise.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499 * timezone/checktab.awk: Update from tzcode 2013i.
5500 * timezone/private.h: Likewise.
5501 * timezone/scheck.c: Likewise.
5502 * timezone/tzfile.h: Likewise.
5503 * timezone/tzselect.ksh: Likewise.
5504 * timezone/zdump.c: Likewise.
5505 * timezone/zic.c: Likewise.
5507 * math/auto-libm-test-in: Add tests of cpow.
5508 * math/auto-libm-test-out: Regenerated.
5509 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5510 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5512 (func_calc_desc): Add mpc_cc_c union field.
5513 (test_functions): Add cpow.
5514 (special_fill_2pi): New function.
5515 (special_real_inputs): Add 2pi.
5516 (calc_generic_results): Handle mpc_cc_c.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5520 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5521 csqrt, ctan and ctanh.
5522 * math/auto-libm-test-out: Regenerated.
5523 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5524 (TEST_COND_x86): Likewise.
5525 (ccos_test_data): Use AUTO_TESTS_c_c.
5526 (ccosh_test_data): Likewise.
5527 (cexp_test_data): Likewise.
5528 (clog_test_data): Likewise.
5529 (csqrt_test_data): Likewise.
5530 (ctan_test_data): Likewise.
5531 (ctan_tonearest_test_data): Likewise.
5532 (ctan_towardzero_test_data): Likewise.
5533 (ctan_downward_test_data): Likewise.
5534 (ctan_upward_test_data): Likewise.
5535 (ctanh_test_data): Likewise.
5536 (ctanh_tonearest_test_data): Likewise.
5537 (ctanh_towardzero_test_data): Likewise.
5538 (ctanh_downward_test_data): Likewise.
5539 (ctanh_upward_test_data): Likewise.
5540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5542 (func_calc_desc): Add mpc_c_c union field.
5543 (FUNC_mpc_c_c): New macro.
5544 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5545 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5547 (special_fill_min_subnorm_p120): New function.
5548 (special_real_inputs): Add min_subnorm_p120.
5549 (calc_generic_results): Handle mpc_c_c.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5555 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5556 do_sin_slow): New functions.
5557 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5558 cslow2, csloww1, csloww2): Use the new functions.
5560 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5561 Use M to change sign of result instead of X. Assume X is
5563 (csloww1): Likewise.
5567 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5574 (sloww1): Don't adjust sign of DX.
5575 (csloww1): Likewise.
5576 (sloww2): Use X directly and don't adjust sign of DX.
5577 (csloww2): Likewise.
5579 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5581 * math/auto-libm-test-in: Add tests of cabs and carg.
5582 * math/auto-libm-test-out: Regenerated.
5583 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5584 (carg_test_data): Likewise.
5585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5587 (func_calc_desc): Add mpc_c_f union field.
5588 (test_functions): Add cabs and carg.
5589 (calc_generic_results): Handle mpc_c_f.
5591 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5592 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5593 as a macro and a compat symbol.
5594 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5595 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5596 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5597 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5598 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5603 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5605 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5611 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5612 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5615 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5619 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5621 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5622 trailing whitespace removed.
5623 * scripts/config.guess: Update to version 2013-11-29.
5624 * scripts/config.sub: Update to version 2013-10-01.
5626 * math/auto-libm-test-in: Add tests of sincos.
5627 * math/auto-libm-test-out: Regenerated.
5628 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5631 (func_calc_desc): Add mpfr_f_11 union field.
5632 (test_functions): Add sincos.
5633 (calc_generic_results): Handle mpfr_f_11.
5634 * sysdeps/i386/fpu/libm-test-ulps: Update.
5635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5637 2013-12-19 Andreas Schwab <schwab@suse.de>
5639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5643 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5645 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5647 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5648 * sysdeps/i386/fpu/libm-test-ulps: Update.
5649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5653 round-to-nearest mode when using frndint.
5654 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5658 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5660 * math/auto-libm-test-out: Regenerated.
5661 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5662 (TEST_COND_x86): Likewise.
5663 (expm1_tonearest_test_data): New array.
5664 (expm1_test_tonearest): New function.
5665 (expm1_towardzero_test_data): New array.
5666 (expm1_test_towardzero): New function.
5667 (expm1_downward_test_data): New array.
5668 (expm1_test_downward): New function.
5669 (expm1_upward_test_data): New array.
5670 (expm1_test_upward): New function.
5671 (main): Run the new test functions.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 * include/features.h: Update comment documenting feature test
5676 macros. Mention _DEFAULT_SOURCE in comment.
5677 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5678 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5679 _BSD_SOURCE and _SVID_SOURCE.
5680 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5681 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5682 !_SVID_SOURCE]: Likewise.
5683 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5684 (__USE_POSIX_IMPLICITLY): Define.
5685 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5686 (_POSIX_SOURCE): Undefine and redefine.
5687 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5688 (_POSIX_C_SOURCE): Likewise.
5689 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5690 (Feature Test Macros): Update documentation of default features.
5692 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5694 * benchtests/Makefile: Add bench-strtok.
5695 * benchtests/bench-strtok.c: New file: strtok benchtest.
5697 2013-12-19 Allan McRae <allan@archlinux.org>
5699 * manual/install.texi: Suppress menu for plain text output.
5700 * INSTALL: Regenerated.
5702 2013-12-18 Brooks Moses <bmoses@google.com>
5705 * misc/getauxval.c: Include errno.h.
5706 (__getauxval): Set errno to ENOENT if the requested type is not
5708 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5709 don't declare with __attribute_const__.
5710 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5711 * manual/startup.texi: Document that getauxval sets errno.
5713 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5715 * math/auto-libm-test-in: Add tests of jn and yn.
5716 * math/auto-libm-test-out: Regenerated.
5717 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5718 (yn_test_data): Likewise.
5719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5721 (func_calc_desc): Add mpfr_if_f union field.
5722 (FUNC_mpfr_if_f): New macro.
5723 (test_functions): Add jn and yn.
5724 (calc_generic_results): Assert type of second input for
5725 mpfr_ff_f. Handle mpfr_if_f.
5726 (output_for_one_input_case): Disable all checking for arguments
5727 fitting floating-point types in case of an integer argument.
5728 * sysdeps/i386/fpu/libm-test-ulps: Update.
5729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5732 Don't expect fegetround reference in libm.so.
5734 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5736 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5737 $(config-cflags-nofma).
5739 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5741 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5742 * math/auto-libm-test-out: Regenerated.
5745 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5746 to determine exponent and adjust argument to have exponent of -1.
5747 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5749 * math/auto-libm-test-out: Regenerated.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5753 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5755 * manual/probes.texi: Remove cases when per-thread arenas are
5758 2013-12-18 Andreas Schwab <schwab@suse.de>
5760 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5761 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5762 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5763 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5764 * sysdeps/i386/i686/multiarch/Makefile: Update.
5765 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5767 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5769 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5770 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5772 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5775 Support TZ transition times < 00:00:00.
5776 This is needed for version-3 tz-format files; it supports time
5777 stamps past 2037 for America/Godthab (the only entry in the tz
5778 database for which this change is relevant).
5779 * manual/time.texi (TZ Variable): Document transition times
5780 from -167:59:59 through -00:00:01.
5781 * time/tzset.c (tz_rule): Time of day is now signed.
5782 (__tzset_parse_tz): Parse negative time of day.
5784 Document TZ transition times >= 25:00:00.
5785 * manual/time.texi (TZ Variable): Document transition times from
5786 25:00:00 through 167:59:59. These are already supported, and this
5787 support will help with version-3 tz-format files.
5789 * manual/time.texi (TZ Variable): Modernize North America example
5790 to reflect current (i.e., 2007-and-later) daylight saving rules.
5792 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5794 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5796 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5797 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5800 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5801 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5802 * sysdeps/unix/bsd/clock.c: Likewise.
5803 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5804 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5805 * sysdeps/unix/bsd/init-posix.c: Likewise.
5806 * sysdeps/unix/bsd/poll.c: Likewise.
5807 * sysdeps/unix/bsd/ptsname.c: Likewise.
5808 * sysdeps/unix/bsd/seekdir.c: Likewise.
5809 * sysdeps/unix/bsd/setegid.c: Likewise.
5810 * sysdeps/unix/bsd/seteuid.c: Likewise.
5811 * sysdeps/unix/bsd/setgid.c: Likewise.
5812 * sysdeps/unix/bsd/setrgid.c: Likewise.
5813 * sysdeps/unix/bsd/setruid.c: Likewise.
5814 * sysdeps/unix/bsd/setsid.c: Likewise.
5815 * sysdeps/unix/bsd/setuid.c: Likewise.
5816 * sysdeps/unix/bsd/sigaction.c: Likewise.
5817 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5818 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5819 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5820 * sysdeps/unix/bsd/telldir.c: Likewise.
5821 * sysdeps/unix/bsd/times.c: Likewise.
5822 * sysdeps/unix/bsd/usleep.c: Likewise.
5824 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5825 ($(objpfx)libbsd-compat.a): Remove rule.
5827 * include/features.h (__FAVOR_BSD): Do not define.
5828 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5829 features conflicting with POSIX.
5830 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5831 (_BSD_SOURCE): Remove description of not being a subset of other
5832 feature test macros.
5833 * manual/job.texi (getpgrp): Do not document BSD version.
5834 (getpgid): Do not document by reference to BSD getpgrp.
5835 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5836 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5837 * signal/signal.h [__FAVOR_BSD]: Likewise.
5838 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5839 instead of making contents conditional on [__FAVOR_BSD].
5840 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5842 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5846 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5849 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5850 values below 2**-450, not 2**-500.
5851 * math/auto-libm-test-in: Don't allow spurious underflow from
5853 * math/auto-libm-test-out: Regenerated.
5857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5858 values of ha and hb and sort them after adjusting subnormal
5860 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5862 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5863 values of ea and eb and sort them after adjusting subnormal
5865 * math/auto-libm-test-in: Do not expect some hypot tests of
5866 subnormals to fail. Add more hypot tests.
5867 * math/auto-libm-test-out: Regenerated.
5869 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5872 * sysdeps/sh/s_fma.c: New file.
5873 * sysdeps/sh/s_fmaf.c: New file.
5874 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5876 * sysdeps/sh/Implies: Add sh/soft-fp.
5878 2013-12-16 Roland McGrath <roland@hack.frob.com>
5880 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5881 level of indirection to members `objname', `errstring', `malloced'.
5882 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5883 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5884 it as the __longjmp argument (just pass 1 instead).
5885 (_dl_catch_error): Initialize C with argument pointers and address of
5886 volatile local ERRCODE rather than copying values out of C at return.
5888 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5890 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5891 * math/auto-libm-test-out: Regenerated.
5892 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5893 (hypot_test_data): Likewise.
5894 (pow_test_data): Likewise.
5895 (pow_tonearest_test_data): Likewise.
5896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5898 (func_calc_desc): Add mpfr_ff_f union field.
5899 (FUNC_mpfr_ff_f): New macro.
5900 (test_functions): Add atan2, hypot and pow.
5901 (special_fill_min): New function.
5902 (special_fill_minus_min): Likewise.
5903 (special_fill_min_subnorm): Likewise.
5904 (special_fill_minus_min_subnorm): Likewise.
5905 (special_real_inputs): Add min, -min, min_subnorm and
5907 (calc_generic_results): Handle mpfr_ff_f.
5908 * sysdeps/i386/fpu/libm-test-ulps: Update.
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911 2013-12-16 Will Newton <will.newton@linaro.org>
5913 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5914 (Aligned Memory Blocks): Add documentation for aligned_alloc
5915 and suggest it as an alternative to posix_memalign.
5916 (Hooks for Malloc): Document __memalign_hook is also called
5917 for aligned_alloc. (Summary of Malloc): Add summary for
5918 aligned alloc. Document __memalign_hook is also called
5921 2013-12-16 Will Newton <will.newton@linaro.org>
5923 * manual/memory.texi (Malloc Examples): Clarify default
5924 alignment documentation. Suggest posix_memalign rather
5925 than memalign or valloc.
5926 (Aligned Memory Blocks): Remove suggestion to use memalign
5927 or valloc. Remove obsolete comment about BSD.
5928 Document memalign errno values and mark the function obsolete.
5929 Document posix_memalign returned error codes. Mark valloc
5930 as obsolete. (Hooks for Malloc): __memalign_hook is also
5931 called for posix_memalign and valloc.
5932 (Summary of Malloc): Add posix_memalign to function summary.
5933 __memalign_hook is also called for posix_memalign and valloc.
5935 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5937 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5941 (sloww): Use mynumber union. Expand ternary operator into
5943 (cslow): use mynumber union.
5945 2013-12-16 Allan McRae <allan@archlinux.org>
5947 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5948 * configure: Regenerated.
5950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5953 * configure.ac: Added --enable-maintainer-mode. Check for
5954 autoconf when enabled.
5955 * configure: Regenerated.
5957 * nscd/nscd.service: New file.
5958 * nscd/nscd.tmpfiles: New file.
5960 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5963 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5964 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5965 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5966 (strstr): Add __strstr_sse2_unaligned ifunc.
5967 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5968 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5969 (strcasestr): Remove __strcasestr_sse42 ifunc.
5970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5974 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5976 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5977 * sysdeps/sh/bits/fenv.h: ... here.
5978 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5980 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5982 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5984 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5987 hypotf multiarch implementations.
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5991 multiarch hypot for PPC64.
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5994 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5995 multiarch hypotf for PPC64.
5997 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6000 modff multiarch implementations.
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6004 multiarch modf for PPC64.
6005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6008 multiarch modff for PPC64.
6010 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6013 and logl multiarch implementations.
6014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6017 multiarch logb for PPC64.
6018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6021 multiarch logb for PPC64.
6022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6025 multiarch logb for PPC64.
6027 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6030 isinff multiarch implementation.
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6035 multiarch isinf for PPC64.
6036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6039 multiarch isinff for PPC64.
6041 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6044 finitef multiarch implementation.
6045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6049 multiarch finite for PPC64.
6050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6053 multiarch finitef for PPC64.
6055 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6058 lrint multiarch implementation.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6063 multiarch llrint for PPC64.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6065 multiarch lrint for PPC64.
6067 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6070 copysignf multiarch implementation.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6076 multiarch copysign for PPC64.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6078 multiarch copysignf for PPC64.
6080 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6083 multiarch implementation.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6092 multiarch llround for PPC64.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6094 multiarch trunc for PPC64.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6096 multiarch truncf for PPC64.
6098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6101 multiarch implementation.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6110 multiarch llround for PPC64.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6112 multiarch round for PPC64.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6114 multiarch roundf for PPC64.
6116 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6119 multiarch implementation.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6128 multiarch llround for PPC64.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6130 multiarch floor for PPC64.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6132 multiarch floorf for PPC64.
6134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6137 multiarch implementation.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6146 multiarch llround for PPC64.
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6148 multiarch ceil for PPC64.
6149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6150 multiarch ceilf for PPC64.
6152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6155 multiarch implementation.
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6163 multiarch llround for PPC64.
6164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6165 multiarch lround for PPC64.
6167 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6170 multiarch implementation.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6178 multiarch isnan for PPC64.
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6180 multiarch isnanf for PPC64.
6182 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6185 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6186 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6187 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6188 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6191 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6194 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6198 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6201 multiarch implementations.
6202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6203 (__libc_ifunc_impl_list): Likewise.
6204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6206 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6207 multiarch stpcpy for PPC64.
6209 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6212 multiarch implementations.
6213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6214 (__libc_ifunc_impl_list): Likewise.
6215 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6217 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6218 multiarch strcpy for PPC64.
6220 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6222 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6223 redefine function name.
6224 (_wordcopy_fwd_dest_aligned): Likewise.
6225 (_wordcopy_bwd_aligned): Likewise.
6226 (_wordcopy_bwd_dest_aligned): Likewise.
6227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6228 multiarch implementations.
6229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6230 (__libc_ifunc_impl_list): Likewise.
6231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6235 multiarch wcscpy for PPC64.
6237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6240 multiarch implementations.
6241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6242 (__libc_ifunc_impl_list): Likewise.
6243 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6247 multiarch wcscpy for PPC64.
6249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6252 multiarch implementations.
6253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6254 (__libc_ifunc_impl_list): Likewise.
6255 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6256 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6259 multiarch wcsrchr for PPC64.
6261 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6264 multiarch implementations.
6265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6266 (__libc_ifunc_impl_list): Likewise.
6267 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6270 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6271 multiarch wcschr for PPC64.
6273 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6276 multiarch implementations.
6277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6278 (__libc_ifunc_impl_list): Likewise.
6279 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6280 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6281 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6282 multiarch strchrnul for PPC64.
6284 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6289 (__libc_ifunc_impl_list): Likewise.
6290 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6291 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6292 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6293 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6296 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6301 (__libc_ifunc_impl_list): Likewise.
6302 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6305 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6308 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6311 multiarch implementations.
6312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6313 (__libc_ifunc_impl_list): Likewise.
6314 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6315 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6316 strncasecmp for PPC64.
6317 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6318 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6319 multiarch strncasecmp_l for PPC64.
6321 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6324 multiarch implementations.
6325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6326 (__libc_ifunc_impl_list): Likewise.
6327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6329 multiarch strcasecmp for PPC64.
6330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6333 multiarch strcasecmp_l for PPC64.
6335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6340 (__libc_ifunc_impl_list): Likewise.
6341 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6343 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6346 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6351 (__libc_ifunc_impl_list): Likewise.
6352 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6353 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6354 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6357 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6362 (__libc_ifunc_impl_list): Likewise.
6363 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6364 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6365 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6366 rawmemrchr for PPC64.
6368 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6379 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6384 (__libc_ifunc_impl_list): Likewise.
6385 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6386 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6390 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6395 (__libc_ifunc_impl_list): Likewise.
6396 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6397 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6398 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6401 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6404 avoid cretion of __bzero symbol.
6405 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6407 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6409 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6412 multiarch implementations.
6413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6414 (__libc_ifunc_impl_list): Likewise.
6415 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6416 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6417 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6420 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6422 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6423 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6426 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6428 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6434 (__libc_ifunc_impl_list): Likewise.
6435 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6438 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6444 multiarch for POWER/PPC64.
6445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6446 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6447 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6448 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6449 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6450 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6451 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6452 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6453 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6456 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6459 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6460 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6461 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6462 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6463 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6464 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6465 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6466 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6467 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6468 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6469 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6470 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6471 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6472 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6481 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6485 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6487 * benchtests/Makefile (bench): Add exp2 and log2.
6488 (LDLIBS-bench-exp2): Add -lm.
6489 (LDLIBS-bench-log2): Likewise.
6490 * benchtests/exp2-inputs: New inputs file.
6491 * benchtests/log2-inputs: New inputs file.
6492 * benchtests/log-inputs: Add new inputs.
6493 * benchtests/tan-inputs: Likewise.
6495 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6497 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6499 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6500 csloww1, csloww2): ... from here.
6502 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6503 instead of structures.
6504 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6505 (POLYNOMIAL): Likewise.
6506 (TAYLOR_SLOW): Likewise.
6514 (bsloww1): Likewise.
6515 (bsloww2): Likewise.
6518 (csloww1): Likewise.
6519 (csloww2): Likewise.
6521 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6523 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6524 (__malloc_assert, __libc_realloc, __libc_calloc,
6525 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6527 * malloc/hooks.c (realloc_check): Likewise.
6529 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6531 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6532 * malloc/arena.c: Remove PER_THREAD conditional.
6533 [!PER_THREAD]: Remove code.
6534 (ptmalloc_unlock_all2): Likewise.
6535 (ptmalloc_init): Likewise.
6536 (_int_new_arena): Likewise.
6537 (arena_get2): Likewise.
6538 * malloc/hooks.c (__malloc_get_state): Likewise.
6539 (__malloc_set_state): Likewise.
6540 * malloc/malloc.c: Likewise.
6541 (struct malloc_state): Likewise.
6542 (struct malloc_par): Likewise.
6543 (__libc_realloc): Likewise.
6544 (__libc_mallopt): Likewise.
6546 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6550 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6552 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6553 macro to a function. Check for zero perturb_byte.
6554 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6556 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6558 * malloc/malloc.c: (force_reg): Remove.
6559 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6560 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6561 force_reg by atomic_forced_read.
6562 * malloc/arena.c (ptmalloc_init): Likewise.
6563 * malloc/hooks.c (top_check): Likewise.
6565 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6569 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6573 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6575 * math/auto-libm-test-in: Add tests of lgamma.
6576 * math/auto-libm-test-out: Regenerated.
6577 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6578 (M_LOG_2_SQRT_PIl): Likewise.
6579 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6580 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6582 (func_calc_desc): Add mpfr_f_f1 union field.
6591 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6592 (test_functions): Add lgamma.
6593 (calc_generic_results): Handle mpfr_f_f1.
6594 * sysdeps/i386/fpu/libm-test-ulps: Update.
6595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6597 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6600 __mpn_add_n for PowerPC64/POWER7.
6601 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6602 __mpn_sub_n for PowerPC64/POWER7.
6604 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6607 __mpn_addmul_1 for PowerPC64.
6608 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6609 __mpn_submul_1 for PowerPC64.
6610 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6612 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6615 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6618 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6626 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6627 add multiarch folders.
6628 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6629 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6630 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6631 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6632 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6633 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6634 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6635 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6636 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6637 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6638 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6649 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6655 multiarch __ieee754_hypot for PowerPC32.
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6661 multiarch __ieee754_hypotf for PowerPC32.
6663 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6666 long_double_symbol only if __logbl is defined.
6667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6668 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6670 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6672 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6673 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6674 path for implementation.
6675 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6678 logb, and logbl multiarch implementations for PowerPC32.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6684 multiarch logb for PowerPC32.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6690 multiarch logbf for PowerPC32.
6691 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6695 multiarch logbl implementation for PowerPC32.
6697 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6700 and modff multiarch implementations.
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6706 multiarch modf for PowerPC32.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6712 multiarch modff for PowerPC32.
6714 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6717 and lrintf multiarch implementations.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6723 multiarch lrint for PowerPC32.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6725 file: multiarch lrintf for PowerPC32.
6727 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6730 and lroundf multiarch implementations.
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6738 multiarch lround for PowerPC32.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6740 file: multiarch lroundf for PowerPC32.
6742 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6745 copysign and copysignf multiarch implementations.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6751 file: multiarch copysign for PowerPC32.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6753 file: multiarch copysignf for PowerPC32.
6755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6758 and truncf multiarch implementations.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6764 multiarch trunc for PowerPC32.
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6770 multiarch truncf for PowerPC32.
6772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6775 and roundf multiarch implementations.
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6781 multiarch round for PowerPC32.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6787 multiarch roundf for PowerPC32.
6789 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6792 and floorf multiarch implementations.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6798 multiarch floor for PowerPC32.
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6804 multiarch floorf for PowerPC32.
6806 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6809 and ceilf multiarch implementations.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6815 multiarch ceil for PowerPC32.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6821 multiarch ceilf for PowerPC32.
6823 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6825 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6827 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6830 and finitef multiarch implementations.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6836 multiarch finite for PowerPC32.
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6840 file: multiarch finitef for PowerPC32.
6842 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6845 and isinff multiarch implementations.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6851 multiarch isinf for PowerPC32.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6855 multiarch isinff for PowerPC32.
6857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6859 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6860 alias when __isnan is defined.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6862 and isnanf multiarch implementations.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6872 multiarch isnan for PowerPC32.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6878 multiarch isnanf for PowerPC32.
6880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6883 and sqrtf multiarch implementations.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6889 multiarch sqrt for PowerPC32.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6895 multiarch sqrtf for PowerPC32.
6897 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6900 and llroundf multiarch implementations.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6908 file: multiarch llround for PowerPC32.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6910 file: multiarch llroundf for PowerPC32.
6912 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6915 multiarch PowerPC32 fpu implementations.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6921 multiarch llrint for PowerPC32.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6929 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6933 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6942 multiarch wordcopy for PPC32.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6946 (__libc_ifunc_impl_list): Likewise.
6947 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6948 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6950 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6952 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6964 multiarch wcscpy for PPC32.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6968 (__libc_ifunc_impl_list): Likewise.
6969 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6970 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6971 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6972 sysdeps/powerpc/power6/wcscpy.c.
6974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6984 multiarch wcsrchr for PPC32.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6988 (__libc_ifunc_impl_list): Likewise.
6989 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6990 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6991 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6992 sysdeps/powerpc/power6/wcsrchr.c.
6994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7002 multiarch wcschr for PPc32.
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7006 (__libc_ifunc_impl_list): Likewise.
7007 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7008 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7009 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7010 sysdeps/powerpc/power6/wcschr.c.
7012 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7018 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7019 file: multiarch strchr for PPC32.
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7023 (__libc_ifunc_impl_list): Likewise.
7025 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7029 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7034 multiarch strchrnul for PPC32.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7038 (__libc_ifunc_impl_list): Likewise.
7040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7045 multiarch strncasecmp for PPC32.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7049 multiarch strncasecmp_l for PPC32.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7051 strncasecmp multiarch objects.
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7053 (__libc_ifunc_impl_list): Likewise.
7055 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7060 multiarch strncasecmp for PPC32.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7064 multiarch strcasecmp_l for PPC32.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7068 (__libc_ifunc_impl_list): Likewise.
7070 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7077 multiarch strncmp for PPC32.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7081 (__libc_ifunc_impl_list): Likewise.
7083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7086 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7093 (__libc_ifunc_impl_list): Likewise.
7095 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7105 (__libc_ifunc_impl_list): Likewise.
7107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7114 multiarch rawmemchr for PPC32.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7118 (__libc_ifunc_impl_list): Likewise.
7120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7127 file: memrchr multiarch for PPC32.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7131 (__libc_ifunc_impl_list): Likewise.
7133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7140 multiarch memchr for PPC32.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7144 (__libc_ifunc_impl_list): Likewise.
7146 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7154 file: multiarch mempcpy for PPC32.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7158 (__libc_ifunc_impl_list): Likewise.
7160 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7162 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7166 multiarch bzero for PPC32.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7172 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7173 file: multiarch memset for PPC32.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7176 memset multiarch objects.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7178 (__libc_ifunc_impl_list): Likewise.
7180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7191 (__libc_ifunc_impl_list): Likewise.
7193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7204 multiarch memcpy for PPC32.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7208 (__libc_ifunc_impl_list): Likewise.
7210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7213 support multiarch for POWER/PPC32.
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7218 Implies file to make multiarch folder appers before the fpu and
7219 default folder for power4 configuration.
7221 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7223 * scripts/bench.pl: Append volatile keyword to type.
7225 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7227 * sysdeps/sh/sotruss-lib.c: New file.
7228 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7230 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7234 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7237 * math/w_tgamma.c: Include <errno.h>.
7238 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7239 * math/w_tgammaf.c: Include <errno.h>.
7240 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7241 * math/w_tgammal.c: Include <errno.h>.
7242 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7243 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7244 underflow. Add more tgamma tests.
7245 * math/auto-libm-test-out: Regenerated.
7246 * sysdeps/i386/fpu/libm-test-ulps: Update.
7247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7250 sin, sinh, tan, tanh, tgamma, y0 and y1.
7251 * math/auto-libm-test-out: Regenerated.
7252 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7253 (TEST_COND_x86): Likewise.
7254 (M_E2l): Remove macro.
7256 (M_2_SQRT_PIl): Likewise.
7257 (M_SQRT_PIl): Likewise.
7258 (M_1_DIV_El): Likewise.
7259 (log_test_data): Use AUTO_TESTS_f_f.
7260 (log10_test_data): Likewise.
7261 (log1p_test_data): Likewise.
7262 (log2_test_data): Likewise.
7263 (sin_test_data): Likewise.
7264 (sin_tonearest_test_data): Likewise.
7265 (sin_towardzero_test_data): Likewise.
7266 (sin_downward_test_data): Likewise.
7267 (sin_upward_test_data): Likewise.
7268 (sinh_test_data): Likewise.
7269 (sinh_tonearest_test_data): Likewise.
7270 (sinh_towardzero_test_data): Likewise.
7271 (sinh_downward_test_data): Likewise.
7272 (sinh_upward_test_data): Likewise.
7273 (tan_test_data): Likewise.
7274 (tan_tonearest_test_data): Likewise.
7275 (tan_towardzero_test_data): Likewise.
7276 (tan_downward_test_data): Likewise.
7277 (tan_upward_test_data): Likewise.
7278 (tanh_test_data): Likewise.
7279 (tgamma_test_data): Likewise.
7280 (y0_test_data): Likewise.
7281 (y1_test_data): Likewise.
7282 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7283 (special_real_inputs): Add pi/4.
7284 * sysdeps/i386/fpu/libm-test-ulps: Update.
7285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7287 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7289 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7290 "longjmp_target" static probes.
7291 (__longjmp): Rename to __longjmp_symbol.
7292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7293 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7294 on which longjmp to generate.
7295 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7298 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7299 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7300 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7301 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7302 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7303 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7305 __longjmp_symbol based on which __longjmp to generate.
7306 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7308 (setjmp): Rename to setjmp_symbol.
7309 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7310 (_setjmp): Rename to _setjmp_symbol.
7311 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7312 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7313 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7314 which setjmp to generate.
7315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7316 "longjmp_target" static probes.
7318 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7320 * benchtests/README: Add note about output arguments.
7321 * benchtests/bench-sincos.c: Remove file.
7322 * benchtests/sincos-inputs: New file.
7323 * scripts/bench.pl: Identify output arguments and define
7324 static variables for them.
7326 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7329 * Makefile (INSTALL): Add install-plain.texi as the primary
7331 * manual/install-plain.texi: New file.
7332 * manual/install.texi: Include node directive only for
7333 non-plaintext output.
7335 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7337 * stdlib/longlong.h: Update from GCC.
7341 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7342 * math/w_j0f.c (y0f): Likewise.
7343 * math/w_j0l.c (__y0l): Likewise.
7344 * math/w_j1.c (y1): Likewise.
7345 * math/w_j1f.c (y1f): Likewise.
7346 * math/w_j1l.c (__y1l): Likewise
7347 * math/w_jn.c (yn): Likewise.
7348 * math/w_jnf.c (ynf): Likewise.
7349 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7350 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7351 value for Bessel function domain errors outside _SVID_ mode.
7352 Adjust sign of return value for yn (negative integer, 0).
7353 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7354 by zero in return for negative x and set sign appropriately for
7356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7357 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7358 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7359 expectations in error cases.
7360 (y1_test_data): Likewise.
7361 (yn_test_data): Likewise.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7367 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7368 "64" to "64-v1". Add "64-v2".
7369 (abi-64-options): Rename to ...
7370 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7371 (abi-64-condition): Rename to ...
7372 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7373 (abi-64-ld-soname): Rename to ...
7374 (abi-64-v1-ld-soname): ... this.
7375 (abi-64-v2-options): Define.
7376 (abi-64-v2-condition): Likewise.
7377 (abi-64-v2-ld-soname): Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7379 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7384 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7385 Alan Modra <amodra@gmail.com>
7387 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7388 New versions for use with the ELFv2 ABI.
7389 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7390 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7392 (struct La_ppc64v2_retval): Likewise.
7393 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7394 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7395 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7396 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7397 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7398 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7399 Do not save or restore CR.
7400 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7401 (_dl_profile_resolve): Do no save or restore CR. Support extended
7402 return values for ELFv2 ABI. Fix location of FPR return registers.
7403 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7404 updated values for _CALL_ELF == 2.
7405 (La_regs, La_retval, int_retval): Likewise.
7407 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7409 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7410 (FRAME_MIN_SIZE_PARM): Likewise.
7411 (FRAME_BACKCHAIN): Likewise.
7412 (FRAME_CR_SAVE): Likewise.
7413 (FRAME_LR_SAVE): Likewise.
7414 (FRAME_TOC_SAVE): Likewise.
7415 (FRAME_PARM_SAVE): Likewise.
7416 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7417 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7418 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7419 (call_mcount_parm_offset): New macro.
7420 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7421 (PROF): Use symbolic stack frame offsets.
7422 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7423 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7424 Redefine in terms of FRAME_MIN_SIZE.
7425 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7426 (_dl_profile_resolve): Likewise. Update comment.
7427 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7428 symbols stack frame offsets.
7429 (__sigsetjmp): Likewise.
7430 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7431 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7432 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7433 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7436 (FRAME_BACKCHAIN): Remove.
7437 (FRAME_CR_SAVE): Likewise.
7438 (FRAME_LR_SAVE): Likewise.
7439 (FRAME_COMPILER_DW): Likewise.
7440 (FRAME_LINKER_DW): Likewise.
7441 (FRAME_TOC_SAVE): Likewise.
7442 (FRAME_PARM_SAVE): Likewise.
7443 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7444 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7445 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7447 (CHECK_SP): Use symbolic stack frame offsets.
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7449 zone" instead of caller's parameter save area for temp storage.
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7451 Likewise. Also, use symbolic stack frame offsets.
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7453 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7454 our own stack frame instead of the caller's.
7455 (__socket): Use symbolic stack frame offsets.
7457 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7458 Alan Modra <amodra@gmail.com>
7460 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7462 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7463 PPC64_LOCAL_ENTRY_OFFSET): Define.
7464 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7466 (elf_machine_fixup_plt): Call it.
7467 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7469 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7471 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7472 r2 before calling target.
7474 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7475 Alan Modra <amodra@gmail.com>
7477 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7478 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7479 versions of macros to support ELFv2 ABI.
7480 (LOCALENTRY): New macro.
7481 (ENTRY, EALIGN): Use it.
7482 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7483 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7484 fall through into ENTRY entry point.
7485 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7486 Only define if _CALL_ELF != 2.
7488 (elf_machine_matches_host): Verify ABI version matches.
7489 (RTLD_START): Use LOCALENTRY.
7490 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7491 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7492 (PLT_ENTRY_WORDS): New macro.
7493 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7494 (elf_machine_runtime_setup): Support ELFv2 ABI.
7495 (elf_machine_fixup_plt): Likewise.
7496 (elf_machine_plt_conflict): Likewise.
7497 (resolve_ifunc): Likewise.
7498 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7502 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7504 (makecontext): Support ELFv2 ABI.
7505 * elf/elf.h (EF_PPC64_ABI): Define.
7507 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7509 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7510 New assembler macro.
7511 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7512 [ASSEMBLER] (ENTRY): ... but instead here ...
7513 [ASSEMBLER] (EALIGN): ... and here.
7514 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7515 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7516 [!ASSEMBLER] (ENTRY_2): Use it.
7517 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7518 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7520 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7521 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7523 Use PPC64_LOAD_FUNCPTR.
7525 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7527 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7529 2013-12-04 Alan Modra <amodra@gmail.com>
7531 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7532 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7533 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7534 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7537 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7538 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7539 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7540 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7541 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7543 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7546 (__makecontext): Fix incorrect CFI when backtracing out of
7547 context created via makecontext.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7549 (__setcontext): Fix incorrect CFI during switch to new context.
7550 (__novec_setcontext): Likewise.
7552 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7555 * time/strptime_l.c (__strptime_internal): Allow modifiers
7557 * time/tst-strptime.c (day_tests): Add testcase.
7560 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7562 * scripts/bench.pl: Skip over blank lines.
7564 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7567 * manual/time.texi (Calendar Time): Clarify what timezone functions
7570 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7574 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7576 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7578 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7579 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7580 * debug/memset_chk.c (__memset_chk): Likewise.
7581 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7582 * debug/strncpy_chk.c: Likewise.
7584 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7588 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7589 (__ieee754_exp): For possibly underflowing results, check size of
7590 result and force underflow exception if required.
7591 * math/auto-libm-test-in: Add more tests of exp.
7592 * math/auto-libm-test-out: Regenerated.
7593 * sysdeps/i386/fpu/libm-test-ulps: Update.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7597 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7598 * math/w_exp2f.c (__exp2f): Likewise.
7599 * math/w_exp2l.c (__exp2l): Likewise.
7600 * math/auto-libm-test-in: Do not allow missing errno on exp2
7602 * math/auto-libm-test-out: Regenerated.
7604 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7607 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7608 handle filename validation.
7609 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7612 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7615 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7616 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7617 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7619 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7621 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7623 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7624 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7625 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7626 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7627 Add more erfc tests.
7628 * math/auto-libm-test-out: Regenerated.
7629 * sysdeps/i386/fpu/libm-test-ulps: Update.
7630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7632 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7633 exp2, expm1, j0 and j1.
7634 * math/auto-libm-test-out: Regenerated.
7635 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7636 (erfc_test_data): Likewise.
7637 (exp_test_data): Likewise.
7638 (exp_tonearest_test_data): Likewise.
7639 (exp_towardzero_test_data): Likewise.
7640 (exp_downward_test_data): Likewise.
7641 (exp_upward_test_data): Likewise.
7642 (exp10_test_data): Likewise.
7643 (exp2_test_data): Likewise.
7644 (expm1_test_data): Likewise.
7645 (j0_test_data): Likewise.
7646 (j1_test_data): Likewise.
7647 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7648 (input_flag_type): Add flag_xfail_rounding.
7649 (input_flags): Add xfail-rounding.
7650 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7651 (output_for_one_input_case): Handle flag_xfail_rounding.
7652 * sysdeps/i386/fpu/libm-test-ulps: Update.
7653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7655 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7658 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7661 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7664 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7665 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7666 (STAP_PROBE0): New macro.
7667 (STAP_PROBE1): Likewise.
7668 (STAP_PROBE2): Likewise.
7669 (STAP_PROBE3): Likewise.
7670 (STAP_PROBE4): Likewise.
7672 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7674 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7676 2013-12-02 Steve Ellcey <sellcey@mips.com>
7678 * benchtests/Makefile (bench): Add sqrt.
7679 (LDLIBS-bench-sqrt): New.
7680 * benchtests/sqrt-input: New.
7682 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7684 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7685 (GAIH_EAI): Likewise.
7686 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7687 (gaih_inet): Likewise.
7688 (getaddrinfo): Don't use GAIH_EAI.
7690 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7691 (struct gaih): Remove definition.
7693 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7695 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7696 Use HERRNOP directly.
7698 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7702 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7704 * math/gen-auto-libm-tests.c (test_functions): Add more
7705 single-argument functions.
7706 (special_fill_pi_2): New function.
7707 (special_fill_minus_pi_2): Likewise.
7708 (special_fill_pi_6): Likewise.
7709 (special_fill_minus_pi_6): Likewise.
7710 (special_fill_pi_3): Likewise.
7711 (special_fill_2pi_3): Likewise.
7712 (special_fill_e): Likewise.
7713 (special_fill_1_e): Likewise.
7714 (special_fill_e_minus_1): Likewise.
7715 (special_real_inputs): Add more special inputs.
7716 (output_for_one_input_case): Do not require ERANGE on underflow to
7717 zero if round-to-nearest result does not underflow to zero, unless
7718 exact results required.
7719 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7720 atan, atanh, cbrt, cos and cosh.
7721 * math/auto-libm-test-out: Regenerated.
7722 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7723 (acos_tonearest_test_data): Likewise.
7724 (acos_towardzero_test_data): Likewise.
7725 (acos_downward_test_data): Likewise.
7726 (acos_upward_test_data): Likewise.
7727 (acosh_test_data): Likewise.
7728 (asin_test_data): Likewise.
7729 (asin_tonearest_test_data): Likewise.
7730 (asin_towardzero_test_data): Likewise.
7731 (asin_upward_test_data): Likewise.
7732 (asinh_test_data): Likewise.
7733 (atan_test_data): Likewise.
7734 (atanh_test_data): Likewise.
7735 (cbrt_test_data): Likewise.
7736 (cos_test_data): Likewise.
7737 (cos_tonearest_test_data): Likewise.
7738 (cos_towardzero_test_data): Likewise.
7739 (cos_downward_test_data): Likewise.
7740 (cos_upward_test_data): Likewise.
7741 (cosh_test_data): Likewise.
7742 (cosh_tonearest_test_data): Likewise.
7743 (cosh_towardzero_test_data): Likewise.
7744 (cosh_downward_test_data): Likewise.
7745 (cosh_upward_test_data): Likewise.
7746 * sysdeps/i386/fpu/libm-test-ulps: Update.
7747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7752 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7753 * math/w_exp10f.c (__exp10f): Likewise.
7754 * math/w_exp10l.c (__exp10l): Likewise.
7755 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7756 errno settings in existing tests.
7759 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7760 precision control set to double precision.
7761 * sysdeps/i386/fpu/w_sqrt.c: New file.
7762 * math/auto-libm-test-in: Add more tests.
7763 * math/auto-libm-test-out: Update.
7765 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7766 (sqrt_test_tonearest): New function.
7767 (sqrt_towardzero_test_data): New variable.
7768 (sqrt_test_towardzero): New function.
7769 (sqrt_downward_test_data): New variable.
7770 (sqrt_test_downward): New function.
7771 (sqrt_upward_test_data): New variable.
7772 (sqrt_test_upward): New function.
7773 (main): Call the new functions.
7775 * math/gen-auto-libm-tests.c: New file.
7776 * math/auto-libm-test-in: Likewise.
7777 * math/auto-libm-test-out: New generated file.
7778 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7780 (%beautify): Add generated representations of zero.
7781 (top level): Set $auto_input and call parse_auto_input.
7782 (beautify): Remove trailing "f" from hex float constants.
7783 (parse_args): Handle XFAIL_TEST.
7784 (convert_condition): New function.
7785 (or_value): Likewise.
7786 (or_cond_value): Likewise.
7787 (generate_testfile): Handle AUTO_TESTS_* lines.
7788 (parse_auto_input): New function.
7789 * math/libm-test.inc (XFAIL_TEST): New macro.
7790 (ERRNO_UNCHANGED): Update value.
7791 (ERRNO_EDOM): Likewise.
7792 (ERRNO_ERANGE): Likewise.
7793 (IGNORE_RESULT): Likewise.
7794 (TEST_COND_flt_32): New macro.
7795 (TEST_COND_dbl_64): Likewise.
7796 (TEST_COND_ldbl_96_intel): Likewise.
7797 (TEST_COND_ldbl_96_m68k): Likewise.
7798 (TEST_COND_ldbl_128): Likewise.
7799 (TEST_COND_ldbl_128ibm): Likewise.
7800 (TEST_COND_long32): Likewise.
7801 (TEST_COND_long64): Likewise.
7802 (TEST_COND_before_rounding): Likewise.
7803 (TEST_COND_after_rounding): Likewise.
7804 (enable_test): Handle XFAIL_TEST flag.
7805 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7806 with finite results.
7807 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7810 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7811 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7814 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7815 __tls_get_addr_internal instead of __tls_get_offset in order to
7816 avoid GOT pointer dependency. Make rtld export
7817 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7818 __tls_get_addr since we are a __tls_get_offset platform.
7819 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7820 GOT pointer being set up before.
7821 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7823 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7825 * manual/math.texi (Errors in Math Functions): Document accuracy
7829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7830 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7846 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7847 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7848 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7849 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7850 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7852 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7854 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7856 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7857 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7858 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7859 atomic-feupdateenv and flt-rounds.
7860 * sysdeps/powerpc/nofpu/Versions (libc): Add
7861 __atomic_feholdexcept, __atomic_feclearexcept,
7862 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7863 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7864 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7865 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7866 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7871 * manual/arith.texi (FP Exceptions): Document that exceptions may
7872 not be raised when matherr is used.
7873 (Math Error Reporting): Document overflow in directed rounding
7874 modes. Document that errno may not be set when finite values are
7875 returned on overflow. Document intent to set errno on underflow
7876 only for underflow to zero.
7879 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7880 round-to-nearest then adjust result for other rounding modes.
7881 * include/fenv.h (fegetround): Use libm_hidden_proto.
7882 * math/fegetround.c (fegetround): Use libm_hidden_def.
7883 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7884 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7885 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7886 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7888 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7889 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7890 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7891 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7893 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7896 * nss/Versions (libnss_files): Add
7897 _nss_files_gethostbyname3_r.
7898 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7900 (HOST_DB_LOOKUP): Remove macro.
7901 (_nss_files_gethostbyname_r): Implement function without the
7902 HOST_DB_LOOKUP macro.
7903 (_nss_files_gethostbyname2_r): Likewise.
7905 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7907 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7909 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7911 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7912 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7915 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7917 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7918 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7919 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7920 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7921 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7922 __fe_nomask_env_priv and attribute_hidden.
7923 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7924 (libc_feupdateenv_test_ppc): Likewise.
7925 (libc_feresetround_ppc): Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7927 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7928 compat_symbol macro.
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7930 (__fe_nomask_env): Likewise.
7931 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7933 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7935 * string/Makefile: Remove ifunc tests.
7936 * string/test-string.h: Define TEST_IFUNC.
7937 * string/test-bcopy-ifunc.c: Remove.
7938 * string/test-bzero-ifunc.c: Likewise.
7939 * string/test-memccpy-ifunc.c: Likewise.
7940 * string/test-memchr-ifunc.c: Likewise.
7941 * string/test-memcmp-ifunc.c: Likewise.
7942 * string/test-memcpy-ifunc.c: Likewise.
7943 * string/test-memmem-ifunc.c: Likewise.
7944 * string/test-memmove-ifunc.c: Likewise.
7945 * string/test-mempcpy-ifunc.c: Likewise.
7946 * string/test-memrchr-ifunc.c: Likewise.
7947 * string/test-memset-ifunc.c: Likewise.
7948 * string/test-rawmemchr-ifunc.c: Likewise.
7949 * string/test-stpcpy-ifunc.c: Likewise.
7950 * string/test-stpncpy-ifunc.c: Likewise.
7951 * string/test-strcasecmp-ifunc.c: Likewise.
7952 * string/test-strcasestr-ifunc.c: Likewise.
7953 * string/test-strcat-ifunc.c: Likewise.
7954 * string/test-strchr-ifunc.c: Likewise.
7955 * string/test-strchrnul-ifunc.c: Likewise.
7956 * string/test-strcmp-ifunc.c: Likewise.
7957 * string/test-strcpy-ifunc.c: Likewise.
7958 * string/test-strcspn-ifunc.c: Likewise.
7959 * string/test-strlen-ifunc.c: Likewise.
7960 * string/test-strncasecmp-ifunc.c: Likewise.
7961 * string/test-strncat-ifunc.c: Likewise.
7962 * string/test-strncmp-ifunc.c: Likewise.
7963 * string/test-strncpy-ifunc.c: Likewise.
7964 * string/test-strnlen-ifunc.c: Likewise.
7965 * string/test-strpbrk-ifunc.c: Likewise.
7966 * string/test-strrchr-ifunc.c: Likewise.
7967 * string/test-strspn-ifunc.c: Likewise.
7968 * string/test-strstr-ifunc.c: Likewise.
7970 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7972 * benchtests/Makefile: Remove ifunc tests.
7973 * benchtests/bench-string.h: Define TEST_IFUNC.
7974 * benchtests/bench-bcopy-ifunc.c: Remove.
7975 * benchtests/bench-bzero-ifunc.c: Likewise.
7976 * benchtests/bench-memccpy-ifunc.c: Likewise.
7977 * benchtests/bench-memchr-ifunc.c: Likewise.
7978 * benchtests/bench-memcmp-ifunc.c: Likewise.
7979 * benchtests/bench-memcpy-ifunc.c: Likewise.
7980 * benchtests/bench-memmem-ifunc.c: Likewise.
7981 * benchtests/bench-memmove-ifunc.c: Likewise.
7982 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7983 * benchtests/bench-memrchr-ifunc.c: Likewise.
7984 * benchtests/bench-memset-ifunc.c: Likewise.
7985 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7986 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7987 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7988 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7989 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7990 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7991 * benchtests/bench-strcat-ifunc.c: Likewise.
7992 * benchtests/bench-strchr-ifunc.c: Likewise.
7993 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7994 * benchtests/bench-strcmp-ifunc.c: Likewise.
7995 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7996 * benchtests/bench-strcpy-ifunc.c: Likewise.
7997 * benchtests/bench-strcspn-ifunc.c: Likewise.
7998 * benchtests/bench-strlen-ifunc.c: Likewise.
7999 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8000 * benchtests/bench-strncat-ifunc.c: Likewise.
8001 * benchtests/bench-strncmp-ifunc.c: Likewise.
8002 * benchtests/bench-strncpy-ifunc.c: Likewise.
8003 * benchtests/bench-strnlen-ifunc.c: Likewise.
8004 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8005 * benchtests/bench-strrchr-ifunc.c: Likewise.
8006 * benchtests/bench-strsep-ifunc.c: Likewise.
8007 * benchtests/bench-strspn-ifunc.c: Likewise.
8008 * benchtests/bench-strstr-ifunc.c: Likewise.
8010 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8012 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8014 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8016 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8017 * rt/aio.h: Likewise.
8018 * sysdeps/gnu/bits/utmp.h: Likewise.
8019 * sysdeps/gnu/bits/utmpx.h: Likewise.
8020 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8021 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8022 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8023 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8024 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8025 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8026 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8027 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8029 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8031 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8036 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8037 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8038 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8039 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8040 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8041 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8042 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8043 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8044 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8046 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8055 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8056 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8058 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8059 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8060 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8061 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8063 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8066 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8067 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8069 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8071 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8072 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8075 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8078 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8079 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8080 (__fesetround): Remove define.
8081 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8082 rounding and exceptions handling.
8083 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8084 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8085 (__fe_nomask_env): Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8087 __fegetround instead of fegetround.
8088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8089 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8091 2013-11-21 Roland McGrath <roland@hack.frob.com>
8093 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8096 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8098 2013-11-21 Meador Inge <meadori@codesourcery.com>
8101 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8102 (encrypt_r): Likewise.
8103 * malloc/obstack.h (obstack_free): Likewise.
8104 * posix/unistd.h (encrypt): Likewise.
8106 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8108 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8109 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8110 DL_CALL_DT_FINI() that call the functions directly.
8111 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8112 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8113 * elf/dl-fini.c: Likewise.
8115 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8117 * malloc/hooks.c (memalign_check): Add alignment rounding.
8118 * malloc/malloc.c (_mid_memalign): New function.
8119 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8120 Implement by calling _mid_memalign.
8121 * manual/probes.texi (Memory Allocation Probes): Remove
8122 memory_valloc_retry and memory_pvalloc_retry.
8124 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8126 * locale/programs/locarchive.c (open_archive): Add const
8127 qualifier to ARCHIVEFNAME and copy default fname to
8131 * libio/tst-widetext.input: Rename Oriya to Odia.
8132 * locale/iso-639.def: Likewise.
8134 * manual/probes.texi (Mathematical Function Probes): Add
8135 documentation for sin, cos, asin and acos probes.
8136 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8137 (__sin32): Add slowasin probe.
8138 (__cos32): Add slowacos probe.
8139 (__mpsin): Add slowsin probe.
8140 (__mpcos): Add slowcos probe.
8142 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8145 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8146 thread-local __sim_exceptions_thread and global
8147 __sim_exceptions_global.
8148 (__sim_disabled_exceptions): Change to thread-local
8149 __sim_disabled_exceptions_thread and global
8150 __sim_disabled_exceptions_global.
8151 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8152 and global __sim_round_mode_global.
8153 (__simulate_exceptions): Use thread-local floating-point state and
8154 set global state from it as needed.
8155 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8156 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8157 __sim_round_mode_thread.
8158 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8159 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8160 and global __sim_exceptions_global.
8161 (__sim_disabled_exceptions): Change to thread-local
8162 __sim_disabled_exceptions_thread and global
8163 __sim_disabled_exceptions_global.
8164 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8165 and global __sim_round_mode_global.
8166 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8167 (SIM_SET_GLOBAL): Likewise.
8168 * sysdeps/powerpc/soft-fp/sfp-machine.h
8169 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8170 __sim_round_mode_thread.
8171 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8172 __sim_disabled_exceptions_thread.
8173 (__sim_exceptions): Change to __sim_exceptions_thread.
8174 (__sim_disabled_exceptions): Change to
8175 __sim_disabled_exceptions_thread.
8176 (__sim_round_mode): Change to __sim_round_mode_thread.
8177 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8178 thread-local floating-point state and set global state from it as
8180 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8181 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8182 (__sim_disabled_exceptions): Remove extern declaration.
8183 (feenableexcept): Use thread-local floating-point state and set
8184 global state from it as needed.
8185 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8187 (__sim_disabled_exceptions): Likewise.
8188 (__sim_round_mode): Likewise.
8189 (__fegetenv): Use thread-local floating-point state.
8190 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8191 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8192 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8193 floating-point state and set global state from it as needed.
8194 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8195 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8196 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8198 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8199 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8201 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8202 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8203 Use __sim_round_mode_thread.
8204 * math/test-fenv-tls.c: New file.
8205 * math/Makefile (tests): Add test-fenv-tls.
8206 ($(objpfx)test-fenv-tls): Depend on
8207 $(common-objpfx)nptl/libpthread.so.
8209 2013-11-19 Andreas Schwab <schwab@suse.de>
8211 * locale/programs/locale.c (show_info): Decode wordarray elements.
8212 * locale/categories.def (LC_MONETARY): Add element for
8213 _NL_MONETARY_CRNCYSTR.
8214 * locale/C-monetary.c (conversion_rate): New variable.
8215 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8218 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8220 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8221 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8223 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8225 * elf/Makefile (tst-auxv): New test.
8226 * elf/tst-auxv.c: New
8227 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8229 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8231 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8232 (hidden_proto): Caller changed.
8233 (hidden_tls_proto): New macro.
8234 (libc_hidden_tls_proto): Likewise.
8235 (rtld_hidden_tls_proto): Likewise.
8236 (libm_hidden_tls_proto): Likewise.
8237 (libresolv_hidden_tls_proto): Likewise.
8238 (librt_hidden_tls_proto): Likewise.
8239 (libdl_hidden_tls_proto): Likewise.
8240 (libnss_files_hidden_tls_proto): Likewise.
8241 (libnsl_hidden_tls_proto): Likewise.
8242 (libnss_nisplus_hidden_tls_proto): Likewise.
8243 (libutil_hidden_tls_proto): Likewise.
8245 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8248 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8249 (decompose_rpath): Defer expansion to fillin_rpath.
8250 (_dl_init_paths): Pass linkmap to fillin_rpath.
8252 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8254 * benchtests/Makefile: Add strsep.
8255 * benchtests/bench-strsep.c: New file: strsep benchtest.
8256 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8258 2013-11-18 Andreas Schwab <schwab@suse.de>
8260 * locale/programs/locale.c (show_info) [case byte]: Check for
8261 '\377' instead of '\177'.
8262 * locale/C-monetary.c (not_available): Always use "\377".
8263 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8264 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8265 detect unavailable sign_posn locale elements.
8266 * locale/localeconv.c (__localeconv): For grouping and
8267 mon_grouping handle "\177" and "\377" like no grouping.
8268 (INT_ELEM): New macro. Use it to set all numeric members.
8269 * locale/programs/ld-monetary.c (monetary_read)
8270 <tok_mon_grouping>: Normalize single -1 to the empty string.
8271 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8274 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8277 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8278 when we match (nil).
8279 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8281 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8283 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8284 (NO_TEST_INLINE): Update value.
8285 (ERRNO_UNCHANGED): Likewise.
8286 (ERRNO_EDOM): Likewise.
8287 (ERRNO_ERANGE): Likewise.
8288 (IGNORE_RESULT): Likewise.
8289 (check_float_internal): Check signs of NaN results if
8291 (check_complex): Pass TEST_NAN_SIGN flag through to second
8292 check_float_internal call.
8293 (copysign_test_data): Add tests with quiet NaNs as second
8294 argument. Use TEST_NAN_SIGN.
8295 (fabs_test_data): Add test of negative quiet NaN argument. Use
8297 (signbit_test_data): Add tests of quiet NaN argument.
8298 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8300 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8302 (parse_args): Handle function results specified as IGNORE.
8303 * math/libm-test.inc (IGNORE_RESULT): New macro.
8304 (check_float_internal): Do not check numerical result if flag
8306 (check_complex): Pass through IGNORE_RESULT to second
8307 check_float_internal call.
8308 (check_int): Do not check numerical result if flag IGNORE_RESULT
8310 (check_long): Likewise.
8311 (check_bool): Likewise.
8312 (check_longlong): Likewise.
8313 (lrint_test_data): Add tests of infinite and NaN arguments.
8314 (lrint_tonearest_test_data): Likewise.
8315 (lrint_towardzero_test_data): Likewise.
8316 (lrint_downward_test_data): Likewise.
8317 (lrint_upward_test_data): Likewise.
8318 (llrint_test_data): Likewise.
8319 (llrint_tonearest_test_data): Likewise.
8320 (llrint_towardzero_test_data): Likewise.
8321 (llrint_downward_test_data): Likewise.
8322 (llrint_upward_test_data): Likewise.
8323 (lround_test_data): Likewise.
8324 (llround_test_data): Likewise.
8326 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8327 (ERRNO_UNCHANGED): Update value.
8328 (ERRNO_EDOM): Likewise.
8329 (ERRNO_ERANGE): Likewise.
8330 (NO_TEST_INLINE_FLOAT): New macro.
8331 (NO_TEST_INLINE_DOUBLE): Likewise.
8332 (enable_test): New function.
8333 (RUN_TEST_f_f): Check enable_test before running test.
8334 (RUN_TEST_2_f): Likewise.
8335 (RUN_TEST_fff_f): Likewise.
8336 (RUN_TEST_c_f): Likewise.
8337 (RUN_TEST_f_f1): Likewise.
8338 (RUN_TEST_fF_f1): Likewise.
8339 (RUN_TEST_fI_f1): Likewise.
8340 (RUN_TEST_ffI_f1): Likewise.
8341 (RUN_TEST_c_c): Likewise.
8342 (RUN_TEST_cc_c): Likewise.
8343 (RUN_TEST_f_i): Likewise.
8344 (RUN_TEST_f_i_tg): Likewise.
8345 (RUN_TEST_ff_i_tg): Likewise.
8346 (RUN_TEST_f_b): Likewise.
8347 (RUN_TEST_f_b_tg): Likewise.
8348 (RUN_TEST_f_l): Likewise.
8349 (RUN_TEST_f_L): Likewise.
8350 (RUN_TEST_fFF_11): Likewise.
8351 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8353 (cosh_test_data): Likewise.
8354 (exp_test_data): Likewise.
8355 (expm1_test_data): Likewise.
8356 (hypot_test_data): Likewise.
8357 (pow_test_data): Likewise.
8358 (sinh_test_data): Likewise.
8359 (tanh_test_data): Likewise.
8360 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8363 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8364 tests with quiet NaN input and output.
8365 (acosh_test_data): Likewise.
8366 (asin_test_data): Likewise.
8367 (asinh_test_data): Likewise.
8368 (atan_test_data): Likewise.
8369 (atanh_test_data): Likewise.
8370 (atan2_test_data): Likewise.
8371 (cbrt_test_data): Likewise.
8372 (cos_test_data): Likewise.
8373 (cosh_test_data): Likewise.
8374 (erf_test_data): Likewise.
8375 (erfc_test_data): Likewise.
8376 (exp_test_data): Likewise.
8377 (exp10_test_data): Likewise.
8378 (exp2_test_data): Likewise.
8379 (expm1_test_data): Likewise.
8380 (hypot_test_data): Likewise.
8381 (j0_test_data): Likewise.
8382 (j1_test_data): Likewise.
8383 (jn_test_data): Likewise.
8384 (lgamma_test_data): Likewise.
8385 (log_test_data): Likewise.
8386 (log10_test_data): Likewise.
8387 (log1p_test_data): Likewise.
8388 (log2_test_data): Likewise.
8389 (pow_test_data): Likewise.
8390 (scalb_test_data): Likewise.
8391 (sin_test_data): Likewise.
8392 (sincos_test_data): Likewise.
8393 (sinh_test_data): Likewise.
8394 (tan_test_data): Likewise.
8395 (tanh_test_data): Likewise.
8396 (tgamma_test_data): Likewise.
8397 (y0_test_data): Likewise.
8398 (y1_test_data): Likewise.
8399 (yn_test_data): Likewise.
8402 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8403 argument being NaN and avoid computations with second argument in
8405 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8406 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8407 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8409 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8411 * locale/iso-639.def: Add Chitwani Tharu (the).
8413 2013-11-14 Andreas Schwab <schwab@suse.de>
8415 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8416 word instead of empty string.
8418 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8421 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8423 (__fe_nomask_env): Likewise.
8425 2013-11-13 Steve Ellcey <sellcey@mips.com>
8427 * benchtests/bench-timing.h: Include time.h.
8429 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8432 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8434 * sysdeps/unix/sysv/linux/configure: Regenerated.
8436 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8439 * stdlib/strtod_l.c (round_and_return): Do not consider
8440 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8441 exponent one less than half the least subnormal exponent.
8442 * stdlib/test-strtod-round-data: Add more tests.
8443 * stdlib/tst-strtod-round.c (tests): Regenerated.
8445 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8449 (__fe_mask_env): Likewise.
8450 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8451 libm_hidden_proto and add function prototype.
8452 (__fe_mask_env): Add function prototype.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8454 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8456 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8458 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8460 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8462 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8463 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8465 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8467 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8468 of htab_find_slot().
8470 2013-11-11 David S. Miller <davem@davemloft.net>
8473 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8474 symbol in the non-vis3 case in static builds.
8475 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8476 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8477 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8478 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8480 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8483 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8486 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488 * benchtests/Makefile: Add bench-strtod.
8489 * benchtests/bench-strtod.c: New file: strtod benchtest
8491 2013-11-11 Andreas Schwab <schwab@suse.de>
8494 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8495 terminating NUL in key length.
8497 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8500 Add artificial ODP entry for vDSO symbol for PPC64.
8501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8502 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8504 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8507 * nss/getent.c (services_keys): Recognize services starting with digit.
8509 2013-11-06 David S. Miller <davem@davemloft.net>
8512 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8513 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8515 2013-11-06 Will Newton <will.newton@linaro.org>
8517 * manual/memory.texi (Malloc Examples): Remove register
8518 keyword from examples.
8520 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8522 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8524 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8527 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8528 depending on [__GCC_IEC_559 > 0].
8529 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8530 depending on [__GCC_IEC_559_COMPLEX > 0].
8532 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8534 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8537 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8539 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8541 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8544 * malloc/malloc (malloc_info): Do not handle first bin as
8547 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8549 * locale/iso-639.def: Add Central Nahuatl (nhn).
8551 2013-11-01 Bruno Haible <bruno@clisp.org>
8554 * manual/math.texi (BSD Random): Specify range upper bound as
8557 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8559 * locale/iso-639.def: Add Meadow Mari (mhr).
8561 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8563 [BZ #14752], [BZ #15763]
8564 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8566 * rt/tst_shm.c: Add test for escaping directory.
8568 2013-10-31 Andreas Schwab <schwab@suse.de>
8571 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8572 followed by 'x' as part of digit sequence.
8573 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8575 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8578 * configure.ac: allow GNU Make 4.0 and greater.
8579 * configure: Regenerated.
8581 2013-10-30 Will Newton <will.newton@linaro.org>
8584 * malloc/hooks.c (memalign_check): Limit alignment to the
8585 maximum representable power of two.
8586 * malloc/malloc.c (__libc_memalign): Likewise.
8587 * malloc/tst-memalign.c (do_test): Add test for very
8588 large alignment values.
8589 * malloc/tst-posix_memalign.c (do_test): Likewise.
8591 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8594 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8595 (munmap_chunk): Likewise.
8596 (mremap_chunk): Likewise.
8598 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8601 * stdlib/div.c (div): Remove obsolete code.
8602 * stdlib/ldiv.c (ldiv): Likewise.
8603 * stdlib/lldiv.c (lldiv): Likewise.
8605 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8608 * nss/nss_files/files-XXX.c (get_contents_ret): New
8610 (get_contents): New function.
8611 (internal_getent): Use it. Expand size of LINEBUFLEN.
8613 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8615 * configure.in: Moved to ...
8616 * configure.ac: ... here. Change reference to configure.in
8618 * sysdeps/arm/preconfigure.ac: ... here.
8619 configure.in to configure.ac.
8620 * sysdeps/gnu/configure.in: Moved to ...
8621 * sysdeps/gnu/configure.ac: ... here.
8622 * sysdeps/i386/configure.in: Moved to ...
8623 * sysdeps/i386/configure.ac: ... here.
8624 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8625 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8626 * sysdeps/mach/configure.in: Moved to ...
8627 * sysdeps/mach/configure.ac: ... here.
8628 * sysdeps/mach/hurd/configure.in: Moved to ...
8629 * sysdeps/mach/hurd/configure.ac: ... here.
8630 * sysdeps/powerpc/configure.in: Moved to ...
8631 * sysdeps/powerpc/configure.ac: ... here.
8632 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8633 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8634 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8635 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8636 * sysdeps/s390/s390-32/configure.in: Moved to ...
8637 * sysdeps/s390/s390-32/configure.ac: ... here.
8638 * sysdeps/s390/s390-64/configure.in: Moved to ...
8639 * sysdeps/s390/s390-64/configure.ac: ... here.
8640 * sysdeps/sh/configure.in: Moved to ...
8641 * sysdeps/sh/configure.ac: ... here.
8642 * sysdeps/sparc/configure.in: Moved to ...
8643 * sysdeps/sparc/configure.ac: ... here.
8644 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8645 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8646 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8647 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8648 * sysdeps/x86_64/configure.in: Moved to ...
8649 * sysdeps/x86_64/configure.ac: ... here.
8650 * sysdeps/x86_64/preconfigure.in: Moved to ...
8651 * sysdeps/x86_64/preconfigure.ac: ... here.
8652 * aclocal.m4: Change reference to configure.in to configure.ac.
8653 * config.h.in: Likewise.
8654 * manual/install.texi: Likewise.
8655 * manual/maint.texi: Likewise.
8656 * Makefile: Likewise.
8657 * malloc/Makefile: Likewise.
8658 * nscd/Makefile: Likewise.
8659 * Makeconfig: Change reference to configure.in and
8660 preconfigure.in to configure.ac and preconfigure.ac
8662 * INSTALL: Regenerated.
8663 * configure: Likewise.
8664 * sysdeps/gnu/configure: Likewise.
8665 * sysdeps/i386/configure: Likewise.
8666 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8667 * sysdeps/mach/configure: Likewise.
8668 * sysdeps/mach/hurd/configure: Likewise.
8669 * sysdeps/powerpc/configure: Likewise.
8670 * sysdeps/powerpc/powerpc32/configure: Likewise.
8671 * sysdeps/powerpc/powerpc64/configure: Likewise.
8672 * sysdeps/s390/s390-32/configure: Likewise.
8673 * sysdeps/s390/s390-64/configure: Likewise.
8674 * sysdeps/sh/configure: Likewise.
8675 * sysdeps/sparc/configure: Likewise.
8676 * sysdeps/unix/sysv/linux/configure: Likewise.
8677 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8678 * sysdeps/x86_64/configure: Likewise.
8679 * sysdeps/x86_64/preconfigure: Likewise.
8681 2013-10-29 Andreas Schwab <schwab@suse.de>
8683 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8685 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8687 * benchtests/pow-inputs: Add new inputs.
8689 * benchtests/exp-inputs: Add new inputs.
8691 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8692 conditional check for return value.
8693 (__cos32): Likewise.
8695 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8697 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8698 to provide a boost for large inputs with word alignment.
8699 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8700 implementation based on optimized PPC64 strcpy.
8701 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8702 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8703 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8704 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8706 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8709 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8711 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8714 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8715 * time/tst-strptime.c (day_tests): Add testcase.
8717 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8720 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8722 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8725 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8726 MAP_FAILED on error.
8728 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8731 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8732 heap for large requests.
8734 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8737 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8738 result if the result has no associated interface.
8739 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8740 interface for all 127.X.Y.Z addresses.
8742 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8744 * locale/iso-639.def: Add Ligurian (lij)
8746 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8749 * sunrpc/rpc_main.c: Document rpcgen -5.
8751 2013-10-19 Michael Stahl <mstahl@redhat.com>
8753 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8755 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8758 * posix/glob.c: Match only directories when trailing slash is present.
8759 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8760 (main): Add testcase.
8762 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8765 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8767 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8769 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8770 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8771 AUTH_DES and cindex for FIPS 140-2.
8772 (DES Encryption): Add cindex FIPS 46-3.
8774 * locale/locarchive.h (struct locarhandle): Add fname.
8775 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8776 if an optional argument was specified to --list-archive,
8778 * locale/programs/locarchive.c (show_archive_content): Take new
8779 argument fname and pass it via ah.fname to open_archive.
8780 * locale/programs/localedef.h: Update decl.
8781 (open_archive): If AH->fname is non-null, open that file
8782 rather than the default file name, and don't ignore ENOENT.
8783 (create_archive): Set AH.fname to NULL.
8784 (delete_locales_from_archive): Likewise.
8785 (add_locales_to_archive): Likewise.
8786 * locale/programs/locfile.c (write_all_categories): Likewise.
8788 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8789 Aldy Hernandez <aldyh@redhat.com>
8791 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8792 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8793 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8794 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8795 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8796 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8798 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8799 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8800 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8801 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8802 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8803 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8804 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8805 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8807 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8809 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8811 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8813 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8814 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8816 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8817 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8818 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8819 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8821 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8822 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8823 * sysdeps/powerpc/preconfigure: Likewise.
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8826 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8827 Replace contents of file by #include of <fenv_libc.h>.
8828 * sysdeps/powerpc/soft-fp/sfp-machine.h
8829 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8831 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8832 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8833 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8834 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8838 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8839 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8840 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8844 Allow copysignl PLT reference to be missing.
8846 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8847 Joseph Myers <joseph@codesourcery.com
8850 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8852 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8854 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8856 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8857 * elf/tst-tls1.c: Likewise.
8858 * elf/tst-tls10.h: Likewise.
8859 * elf/tst-tls14.c: Likewise.
8860 * elf/tst-tls2.c: Likewise.
8861 * elf/tst-tls3.c: Likewise.
8862 * elf/tst-tls4.c: Likewise.
8863 * elf/tst-tls5.c: Likewise.
8864 * elf/tst-tls6.c: Likewise.
8865 * elf/tst-tls7.c: Likewise.
8866 * elf/tst-tls8.c: Likewise.
8867 * elf/tst-tls9.c: Likewise.
8868 * elf/tst-tlsmod1.c: Likewise.
8869 * elf/tst-tlsmod13.c: Likewise.
8870 * elf/tst-tlsmod13a.c: Likewise.
8871 * elf/tst-tlsmod14a.c: Likewise.
8872 * elf/tst-tlsmod16a.c: Likewise.
8873 * elf/tst-tlsmod16b.c: Likewise.
8874 * elf/tst-tlsmod2.c: Likewise.
8875 * elf/tst-tlsmod3.c: Likewise.
8876 * elf/tst-tlsmod4.c: Likewise.
8877 * elf/tst-tlsmod5.c: Likewise.
8878 * elf/tst-tlsmod6.c: Likewise.
8880 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8883 * malloc/malloc.c: remove checks for statistics.
8885 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8888 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8889 * inet/tst-network.c: Add testcase.
8891 2013-10-17 Andreas Schwab <schwab@suse.de>
8894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8895 to determine canonical name.
8897 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8899 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8900 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8923 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8924 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8958 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8961 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8962 make result into a quiet NaN.
8964 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8966 * soft-fp/adddf3.c: Fix horizontal whitespace.
8967 * soft-fp/addsf3.c: Likewise.
8968 * soft-fp/addtf3.c: Likewise.
8969 * soft-fp/divdf3.c: Likewise.
8970 * soft-fp/divsf3.c: Likewise.
8971 * soft-fp/divtf3.c: Likewise.
8972 * soft-fp/double.h: Likewise.
8973 * soft-fp/eqdf2.c: Likewise.
8974 * soft-fp/eqsf2.c: Likewise.
8975 * soft-fp/eqtf2.c: Likewise.
8976 * soft-fp/extenddftf2.c: Likewise.
8977 * soft-fp/extended.h: Likewise.
8978 * soft-fp/extendsfdf2.c: Likewise.
8979 * soft-fp/extendsftf2.c: Likewise.
8980 * soft-fp/extendxftf2.c: Likewise.
8981 * soft-fp/fixdfdi.c: Likewise.
8982 * soft-fp/fixdfsi.c: Likewise.
8983 * soft-fp/fixdfti.c: Likewise.
8984 * soft-fp/fixsfdi.c: Likewise.
8985 * soft-fp/fixsfsi.c: Likewise.
8986 * soft-fp/fixsfti.c: Likewise.
8987 * soft-fp/fixtfdi.c: Likewise.
8988 * soft-fp/fixtfsi.c: Likewise.
8989 * soft-fp/fixtfti.c: Likewise.
8990 * soft-fp/fixunsdfdi.c: Likewise.
8991 * soft-fp/fixunsdfsi.c: Likewise.
8992 * soft-fp/fixunsdfti.c: Likewise.
8993 * soft-fp/fixunssfdi.c: Likewise.
8994 * soft-fp/fixunssfsi.c: Likewise.
8995 * soft-fp/fixunssfti.c: Likewise.
8996 * soft-fp/fixunstfdi.c: Likewise.
8997 * soft-fp/fixunstfsi.c: Likewise.
8998 * soft-fp/fixunstfti.c: Likewise.
8999 * soft-fp/floatdidf.c: Likewise.
9000 * soft-fp/floatdisf.c: Likewise.
9001 * soft-fp/floatditf.c: Likewise.
9002 * soft-fp/floatsidf.c: Likewise.
9003 * soft-fp/floatsisf.c: Likewise.
9004 * soft-fp/floatsitf.c: Likewise.
9005 * soft-fp/floattidf.c: Likewise.
9006 * soft-fp/floattisf.c: Likewise.
9007 * soft-fp/floattitf.c: Likewise.
9008 * soft-fp/floatundidf.c: Likewise.
9009 * soft-fp/floatundisf.c: Likewise.
9010 * soft-fp/floatunditf.c: Likewise.
9011 * soft-fp/floatunsidf.c: Likewise.
9012 * soft-fp/floatunsisf.c: Likewise.
9013 * soft-fp/floatunsitf.c: Likewise.
9014 * soft-fp/floatuntidf.c: Likewise.
9015 * soft-fp/floatuntisf.c: Likewise.
9016 * soft-fp/floatuntitf.c: Likewise.
9017 * soft-fp/fmadf4.c: Likewise.
9018 * soft-fp/fmasf4.c: Likewise.
9019 * soft-fp/fmatf4.c: Likewise.
9020 * soft-fp/gedf2.c: Likewise.
9021 * soft-fp/gesf2.c: Likewise.
9022 * soft-fp/getf2.c: Likewise.
9023 * soft-fp/ledf2.c: Likewise.
9024 * soft-fp/lesf2.c: Likewise.
9025 * soft-fp/letf2.c: Likewise.
9026 * soft-fp/muldf3.c: Likewise.
9027 * soft-fp/mulsf3.c: Likewise.
9028 * soft-fp/multf3.c: Likewise.
9029 * soft-fp/negdf2.c: Likewise.
9030 * soft-fp/negsf2.c: Likewise.
9031 * soft-fp/negtf2.c: Likewise.
9032 * soft-fp/op-1.h: Likewise.
9033 * soft-fp/op-2.h: Likewise.
9034 * soft-fp/op-4.h: Likewise.
9035 * soft-fp/op-8.h: Likewise.
9036 * soft-fp/op-common.h: Likewise.
9037 * soft-fp/quad.h: Likewise.
9038 * soft-fp/single.h: Likewise.
9039 * soft-fp/soft-fp.h: Likewise.
9040 * soft-fp/sqrtdf2.c: Likewise.
9041 * soft-fp/sqrtsf2.c: Likewise.
9042 * soft-fp/sqrttf2.c: Likewise.
9043 * soft-fp/subdf3.c: Likewise.
9044 * soft-fp/subsf3.c: Likewise.
9045 * soft-fp/subtf3.c: Likewise.
9046 * soft-fp/truncdfsf2.c: Likewise.
9047 * soft-fp/trunctfdf2.c: Likewise.
9048 * soft-fp/trunctfsf2.c: Likewise.
9049 * soft-fp/trunctfxf2.c: Likewise.
9050 * soft-fp/unorddf2.c: Likewise.
9051 * soft-fp/unordsf2.c: Likewise.
9052 * soft-fp/unordtf2.c: Likewise.
9054 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9056 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9057 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9059 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9061 * elf/dl-libc.c: Clear initfini list after freeing.
9063 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9065 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9066 * soft-fp/addsf3.c: Likewise.
9067 * soft-fp/addtf3.c: Likewise.
9068 * soft-fp/divdf3.c: Likewise.
9069 * soft-fp/divsf3.c: Likewise.
9070 * soft-fp/divtf3.c: Likewise.
9071 * soft-fp/double.h: Likewise.
9072 * soft-fp/eqdf2.c: Likewise.
9073 * soft-fp/eqsf2.c: Likewise.
9074 * soft-fp/eqtf2.c: Likewise.
9075 * soft-fp/extenddftf2.c: Likewise.
9076 * soft-fp/extended.h: Likewise.
9077 * soft-fp/extendsfdf2.c: Likewise.
9078 * soft-fp/extendsftf2.c: Likewise.
9079 * soft-fp/extendxftf2.c: Likewise.
9080 * soft-fp/fixdfdi.c: Likewise.
9081 * soft-fp/fixdfsi.c: Likewise.
9082 * soft-fp/fixdfti.c: Likewise.
9083 * soft-fp/fixsfdi.c: Likewise.
9084 * soft-fp/fixsfsi.c: Likewise.
9085 * soft-fp/fixsfti.c: Likewise.
9086 * soft-fp/fixtfdi.c: Likewise.
9087 * soft-fp/fixtfsi.c: Likewise.
9088 * soft-fp/fixtfti.c: Likewise.
9089 * soft-fp/fixunsdfdi.c: Likewise.
9090 * soft-fp/fixunsdfsi.c: Likewise.
9091 * soft-fp/fixunsdfti.c: Likewise.
9092 * soft-fp/fixunssfdi.c: Likewise.
9093 * soft-fp/fixunssfsi.c: Likewise.
9094 * soft-fp/fixunssfti.c: Likewise.
9095 * soft-fp/fixunstfdi.c: Likewise.
9096 * soft-fp/fixunstfsi.c: Likewise.
9097 * soft-fp/fixunstfti.c: Likewise.
9098 * soft-fp/floatdidf.c: Likewise.
9099 * soft-fp/floatdisf.c: Likewise.
9100 * soft-fp/floatditf.c: Likewise.
9101 * soft-fp/floatsidf.c: Likewise.
9102 * soft-fp/floatsisf.c: Likewise.
9103 * soft-fp/floatsitf.c: Likewise.
9104 * soft-fp/floattidf.c: Likewise.
9105 * soft-fp/floattisf.c: Likewise.
9106 * soft-fp/floattitf.c: Likewise.
9107 * soft-fp/floatundidf.c: Likewise.
9108 * soft-fp/floatundisf.c: Likewise.
9109 * soft-fp/floatunsidf.c: Likewise.
9110 * soft-fp/floatunsisf.c: Likewise.
9111 * soft-fp/floatuntidf.c: Likewise.
9112 * soft-fp/floatuntisf.c: Likewise.
9113 * soft-fp/floatuntitf.c: Likewise.
9114 * soft-fp/fmadf4.c: Likewise.
9115 * soft-fp/fmasf4.c: Likewise.
9116 * soft-fp/fmatf4.c: Likewise.
9117 * soft-fp/gedf2.c: Likewise.
9118 * soft-fp/gesf2.c: Likewise.
9119 * soft-fp/getf2.c: Likewise.
9120 * soft-fp/ledf2.c: Likewise.
9121 * soft-fp/lesf2.c: Likewise.
9122 * soft-fp/letf2.c: Likewise.
9123 * soft-fp/muldf3.c: Likewise.
9124 * soft-fp/mulsf3.c: Likewise.
9125 * soft-fp/multf3.c: Likewise.
9126 * soft-fp/negdf2.c: Likewise.
9127 * soft-fp/negsf2.c: Likewise.
9128 * soft-fp/negtf2.c: Likewise.
9129 * soft-fp/op-1.h: Likewise.
9130 * soft-fp/op-2.h: Likewise.
9131 * soft-fp/op-4.h: Likewise.
9132 * soft-fp/op-8.h: Likewise.
9133 * soft-fp/op-common.h: Likewise.
9134 * soft-fp/quad.h: Likewise.
9135 * soft-fp/single.h: Likewise.
9136 * soft-fp/soft-fp.h: Likewise.
9137 * soft-fp/sqrtdf2.c: Likewise.
9138 * soft-fp/sqrtsf2.c: Likewise.
9139 * soft-fp/sqrttf2.c: Likewise.
9140 * soft-fp/subdf3.c: Likewise.
9141 * soft-fp/subsf3.c: Likewise.
9142 * soft-fp/subtf3.c: Likewise.
9143 * soft-fp/truncdfsf2.c: Likewise.
9144 * soft-fp/trunctfdf2.c: Likewise.
9145 * soft-fp/trunctfsf2.c: Likewise.
9146 * soft-fp/trunctfxf2.c: Likewise.
9147 * soft-fp/unorddf2.c: Likewise.
9148 * soft-fp/unordsf2.c: Likewise.
9149 * soft-fp/unordtf2.c: Likewise.
9151 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9154 * misc/error.c (error_tail): Fix possible buffer overflow.
9156 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9159 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9162 2013-10-14 P. J. McDermott <pj@pehjota.net>
9165 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9166 testing pipefail option.
9168 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9170 * soft-fp/double.h: Indent preprocessor directives inside #if.
9171 * soft-fp/extended.h: Likewise.
9172 * soft-fp/op-2.h: Likewise.
9173 * soft-fp/op-4.h: Likewise.
9174 * soft-fp/op-common.h: Likewise.
9175 * soft-fp/quad.h: Likewise.
9176 * soft-fp/single.h: Likewise.
9177 * soft-fp/soft-fp.h: Likewise.
9179 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9181 * iconv/iconv_prog.c: Fix typos.
9182 * stdio-common/psiginfo-data.h: Likewise.
9184 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9187 * locale/setlocale.c: Fix typo.
9189 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9192 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9193 signaling NaN arguments.
9194 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9195 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9198 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9200 * soft-fp/gesf2.c (__gesf2): Likewise.
9201 * soft-fp/getf2.c (__getf2): Likewise.
9202 * soft-fp/ledf2.c (__ledf2): Likewise.
9203 * soft-fp/lesf2.c (__lesf2): Likewise.
9204 * soft-fp/letf2.c (__letf2): Likewise.
9206 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9207 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9208 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9209 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9210 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9211 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9212 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9213 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9214 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9215 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9216 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9217 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9218 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9219 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9220 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9221 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9222 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9223 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9224 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9225 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9226 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9227 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9228 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9229 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9230 * soft-fp/floattidf.c (__floattidf): Likewise.
9231 * soft-fp/floattisf.c (__floattisf): Likewise.
9232 * soft-fp/floattitf.c (__floattitf): Likewise.
9233 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9234 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9235 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9236 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9237 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9238 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9239 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9240 * soft-fp/gesf2.c (__gesf2): Likewise.
9241 * soft-fp/getf2.c (__getf2): Likewise.
9242 * soft-fp/ledf2.c (__ledf2): Likewise.
9243 * soft-fp/lesf2.c (__lesf2): Likewise.
9244 * soft-fp/letf2.c (__letf2): Likewise.
9246 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9247 Undefine and redefine.
9248 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9249 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9250 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9251 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9252 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9253 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9254 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9255 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9256 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9257 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9258 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9259 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9260 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9261 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9262 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9265 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9266 without decrementing exponent if mantissa >= that for the
9268 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9269 denominator, not >. Decrement exponent in < case instead of
9270 incrementing in >= case.
9271 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9272 without decrementing exponent if mantissa >= that for the
9275 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9276 computing saturated result for unsigned overflow.
9278 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9279 Jeff Law <law@redhat.com>
9281 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9282 (atan2Mp): Add systemtap probe marker.
9283 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9284 (__ieee754_log): Add systemtap probe marker.
9285 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9286 (atanMp): Add systemtap probe marker.
9287 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9288 (tanMp): Add systemtap probe marker.
9289 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9290 (__slowexp): Add systemtap probe marker.
9291 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9292 (__slowpow): Add systemtap probe marker.
9293 * manual/probes.texi: Document probes.
9295 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9298 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9300 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9302 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9303 written to buffer but not flushed.
9304 * libio/iofwrite_u.c: Likewise.
9305 * libio/iopadn.c: Return bytes returned even if EOF was
9307 * libio/iowpadn.c: Likewise.
9308 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9309 if _IO_padn does not write the whole buffer.
9310 [!COMPILE_WPRINTF] (PAD): Likewise.
9312 2013-10-10 David S. Miller <davem@davemloft.net>
9314 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9317 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9319 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9320 instead of FSF address.
9321 * soft-fp/fixdfti.c: Likewise.
9322 * soft-fp/fixsfti.c: Likewise.
9323 * soft-fp/fixtfti.c: Likewise.
9324 * soft-fp/fixunsdfti.c: Likewise.
9325 * soft-fp/fixunssfti.c: Likewise.
9326 * soft-fp/fixunstfti.c: Likewise.
9327 * soft-fp/floattidf.c: Likewise.
9328 * soft-fp/floattisf.c: Likewise.
9329 * soft-fp/floattitf.c: Likewise.
9330 * soft-fp/floatuntidf.c: Likewise.
9331 * soft-fp/floatuntisf.c: Likewise.
9332 * soft-fp/floatuntitf.c: Likewise.
9333 * soft-fp/trunctfxf2.c: Likewise.
9335 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9336 * soft-fp/fixdfti.c: Likewise.
9337 * soft-fp/fixsfti.c: Likewise.
9338 * soft-fp/fixtfti.c: Likewise.
9339 * soft-fp/fixunsdfti.c: Likewise.
9340 * soft-fp/fixunssfti.c: Likewise.
9341 * soft-fp/fixunstfti.c: Likewise.
9342 * soft-fp/floattidf.c: Likewise.
9343 * soft-fp/floattisf.c: Likewise.
9344 * soft-fp/floattitf.c: Likewise.
9345 * soft-fp/floatuntidf.c: Likewise.
9346 * soft-fp/floatuntisf.c: Likewise.
9347 * soft-fp/floatuntitf.c: Likewise.
9348 * soft-fp/trunctfxf2.c: Likewise.
9350 2013-10-10 David S. Miller <davem@davemloft.net>
9352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9354 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9356 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9357 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9358 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9359 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9360 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9361 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9362 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9365 for NaNs before doing comparisons on argument.
9366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9369 2013-10-10 Will Newton <will.newton@linaro.org>
9371 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9372 passed to _int_memalign does not overflow.
9374 2013-10-10 Torvald Riegel <triegel@redhat.com>
9376 * scripts/bench.pl: Add include-sources directive.
9377 * benchtests/README: Update documentation.
9379 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9381 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9382 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9383 instead of FP_INIT_ROUNDMODE.
9384 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9385 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9388 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9389 copy class of input value.
9390 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9391 not handle exceptions.
9392 * soft-fp/negsf2.c (__negsf2): Likewise.
9393 * soft-fp/negtf2.c (__negtf2): Likewise.
9394 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9396 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9398 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9399 semicolon. From Linux kernel.
9401 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9403 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9405 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9408 * manual/socket.texi: Added statement about buffer
9409 for gethostbyname2_r.
9411 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9413 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9414 Use .p2align directive instead, throughout.
9415 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9417 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9420 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9421 * sysdeps/x86_64/strchr.S: Likewise.
9422 * sysdeps/x86_64/strrchr.S: Likewise.
9424 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9426 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9428 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9430 * sysdeps/generic/math_private.h (__mpsin1): Remove
9432 (__mpcos1): Likewise.
9433 (__mpsin): New argument __range_reduce.
9434 (__mpcos): Likewise.
9435 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9436 (slow): Use __mpsin and __mpcos.
9443 (bsloww1): Likewise.
9444 (bsloww2): Likewise.
9447 (csloww1): Likewise.
9448 (csloww2): Likewise.
9449 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9450 range_reduce. Merge in __mpsin1.
9451 (__mpcos): Likewise.
9453 (__mpcos1): Likewise.
9455 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9457 * locale/loadlocale.c (_nl_intern_locale_data): Use
9459 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9460 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9461 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9462 obstack data is appropriately aligned.
9463 (obstack_int32_grow_fast): Likewise.
9464 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9465 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9466 (add_locale_uint32_array): Likewise.
9468 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9470 * benchtests/Makefile: Remove ARGLIST and RET variables.
9471 ($(objpfx)bench-%.c): Pass only function name to the script.
9472 * benchtests/README: Update documentation.
9473 * benchtests/acos-inputs: Add new directives.
9474 * benchtests/acosh-inputs: Likewise.
9475 * benchtests/asin-inputs: Likewise.
9476 * benchtests/asinh-inputs: Likewise.
9477 * benchtests/atan-inputs: Likewise.
9478 * benchtests/atanh-inputs: Likewise.
9479 * benchtests/cos-inputs: Likewise.
9480 * benchtests/cosh-inputs: Likewise.
9481 * benchtests/exp-inputs: Likewise.
9482 * benchtests/log-inputs: Likewise.
9483 * benchtests/pow-inputs: Likewise.
9484 * benchtests/rint-inputs: Likewise.
9485 * benchtests/sin-inputs: Likewise.
9486 * benchtests/sinh-inputs: Likewise.
9487 * benchtests/tan-inputs: Likewise.
9488 * benchtests/tanh-inputs: Likewise.
9489 * scripts/bench.pl: Add support for new directives.
9491 2013-10-07 Alan Modra <amodra@gmail.com>
9493 * README: Fix careless merge.
9495 2013-10-05 Alan Modra <amodra@gmail.com>
9497 * NEWS: Mention powerpc64le support and bugs fixed.
9498 * README: Both big-endian and little-endian powerpc64 supported.
9500 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9502 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9503 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9504 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9505 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9507 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9509 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9512 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9514 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9515 Move -mhard-float appending from
9516 ports/sysdeps/powerpc/powerpc32/Makefile.
9517 [$(with-fp) = yes] (ASFLAGS): Likewise.
9518 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9519 * sysdeps/powerpc/nofpu: Move directory from
9520 ports/sysdeps/powerpc/nofpu.
9521 * sysdeps/powerpc/soft-fp: Move directory from
9522 ports/sysdeps/powerpc/soft-fp.
9523 * sysdeps/powerpc/powerpc32/405: Move directory from
9524 ports/sysdeps/powerpc/powerpc32/405.
9525 * sysdeps/powerpc/powerpc32/440: Move directory from
9526 ports/sysdeps/powerpc/powerpc32/440.
9527 * sysdeps/powerpc/powerpc32/464: Move directory from
9528 ports/sysdeps/powerpc/powerpc32/464.
9529 * sysdeps/powerpc/powerpc32/476: Move directory from
9530 ports/sysdeps/powerpc/powerpc32/476.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9532 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9534 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9536 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9538 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9540 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9541 * README: Update for powerpc-*-linux-gnu software floating point
9544 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9545 case to powerpc/powerpc32*.
9546 * sysdeps/unix/sysv/linux/configure: Regenerated.
9548 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9549 (_FPU_MASK_OM): Define as 0x04.
9550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9558 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9561 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9564 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9565 and setcontext_e500.
9567 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9569 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9571 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9573 * manual/threads.texi (Default Thread Attributes): Fix typo.
9575 2013-10-04 Will Newton <will.newton@linaro.org>
9577 * malloc/Makefile: Add tst-memalign.
9578 * malloc/tst-memalign.c: New file.
9580 * malloc/tst-posix_memalign.c: Add comments.
9581 (do_test): Add comments and call free on all potentially
9582 allocated pointers. Add space after cast.
9584 * malloc/tst-pvalloc.c: Add comments.
9585 (do_test): Add comments and call free on all potentially
9586 allocated pointers. Remove duplicate check for NULL pointer.
9587 Add space after cast.
9589 * malloc/tst-valloc.c: Add comments.
9590 (do_test): Add comments and call free on all potentially
9591 allocated pointers. Remove duplicate check for NULL pointer.
9592 Add space after cast.
9594 2013-10-04 Alan Modra <amodra@gmail.com>
9596 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9597 Use stdint types in rather than __attribute__((mode())).
9598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9600 2013-10-04 Alan Modra <amodra@gmail.com>
9602 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9603 Correct handling of unaligned relocs for little-endian.
9604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9606 2013-10-04 Alan Modra <amodra@gmail.com>
9608 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9609 * configure: Regenerate.
9610 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9611 * shlib-versions: Likewise.
9613 2013-10-04 Alan Modra <amodra@gmail.com>
9615 * string/tester.c (test_memrchr): Increment reported test cycle.
9617 2013-10-04 Alan Modra <amodra@gmail.com>
9619 * string/test-memcpy.c (do_one_test): When reporting errors, print
9620 string address and don't overrun end of string.
9622 2013-10-04 Alan Modra <amodra@gmail.com>
9624 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9625 insrdi. Make better use of reg selection to speed exit slightly.
9626 Schedule entry path a little better. Remove useless "are we done"
9627 checks on entry to main loop. Handle wrapping around zero address.
9628 Correct main loop count. Handle single left-over word from main
9629 loop inline rather than by using loop_small. Remove extra word
9630 case in loop_small caused by wrong loop count. Add little-endian
9632 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9633 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9635 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9636 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9637 support. Avoid rlwimi.
9638 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9640 2013-10-04 Alan Modra <amodra@gmail.com>
9642 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9644 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9646 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9648 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9651 2013-10-04 Alan Modra <amodra@gmail.com>
9653 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9654 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9658 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9661 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9662 use of regs. Use power7 mtocrf. Tidy function tails.
9664 2013-10-04 Alan Modra <amodra@gmail.com>
9666 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9667 Formatting. Consistently use rXXX register defines or rN defines.
9668 Use early exit labels that avoid restoring unused non-volatile regs.
9669 Make cr field use more consistent with rWORDn compares. Rename
9670 regs used as shift registers for unaligned loop, using rN defines
9671 for short lifetime/multiple use regs.
9672 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9673 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9674 addi 1,1,64 to pop stack frame. Simplify return value code.
9675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9677 2013-10-04 Alan Modra <amodra@gmail.com>
9679 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9680 support. Correct typos, formatting. Optimize tail. Use insrdi
9682 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9684 little-endian support. Correct typos.
9685 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9687 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9688 in loop and entry code to keep "and." results.
9689 (strchr): Add little-endian support. Comment. Move cntlzd
9691 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9693 2013-10-04 Alan Modra <amodra@gmail.com>
9695 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9696 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9697 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9698 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9700 2013-10-04 Alan Modra <amodra@gmail.com>
9702 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9703 (rTMP): Define as r11.
9704 (strcmp): Add little-endian support. Optimise tail.
9705 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9706 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9708 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9713 2013-10-04 Alan Modra <amodra@gmail.com>
9715 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9716 little-endian support. Remove unnecessary "are we done" tests.
9717 Handle "s" wrapping around zero and extremely large "size".
9718 Correct main loop count. Handle single left-over word from main
9719 loop inline rather than by using small_loop. Correct comments.
9720 Delete "zero" tail, use "end_max" instead.
9721 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9723 2013-10-04 Alan Modra <amodra@gmail.com>
9725 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9726 support. Don't branch over align.
9727 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9728 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9729 support. Rearrange tmp reg use to suit. Comment.
9730 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9732 2013-10-04 Alan Modra <amodra@gmail.com>
9734 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9736 2013-10-04 Alan Modra <amodra@gmail.com>
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9739 conditional form of branch and link when obtaining pc.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9742 2013-10-04 Alan Modra <amodra@gmail.com>
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9749 2013-10-04 Alan Modra <amodra@gmail.com>
9751 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9752 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9753 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9754 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9755 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9758 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9759 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9760 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9762 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9763 Alistair Popple <alistair@ozlabs.au.ibm.com>
9764 Alan Modra <amodra@gmail.com>
9767 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9769 _dl_hwcap access for little-endian.
9770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9771 destroy vmx regs when saving unaligned.
9772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9773 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9774 destroy vmx regs when saving unaligned.
9776 2013-10-04 Alan Modra <amodra@gmail.com>
9778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9779 Don't use a union to pack hi/low value.
9781 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9783 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9785 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9791 2013-10-04 Alan Modra <amodra@gmail.com>
9793 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9794 constants to usual value for .cst8 section, and remove redundant
9796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9797 constant for 0x1p52. Load little-endian words of double from
9798 correct stack offsets.
9800 2013-10-04 Alan Modra <amodra@gmail.com>
9802 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9803 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9804 words of double from correct stack offsets.
9805 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9806 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9808 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9809 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9812 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9813 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9817 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9818 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9820 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9821 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9823 2013-10-04 Alan Modra <amodra@gmail.com>
9825 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9826 64-bit int/double union.
9827 (_FPU_SETCW): Likewise.
9828 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9829 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9831 2013-10-04 Alan Modra <amodra@gmail.com>
9833 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9834 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9836 2013-10-04 Alan Modra <amodra@gmail.com>
9838 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9839 use vector int constants.
9840 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9842 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9844 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9845 array with long long.
9846 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9847 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9848 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9849 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9850 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9851 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9852 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9853 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9854 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9855 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9856 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9857 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9858 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9860 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9862 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9863 (__signbit): Likewise. Correct for little-endian.
9864 (__signbitl): Call __signbit.
9865 (lrint): Correct for little-endian.
9866 (lrintf): Call lrint.
9868 2013-10-04 Alan Modra <amodra@gmail.com>
9870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9871 union 32-bit int array member with 64-bit int array.
9872 (t515, tm256): Double rather than long double.
9873 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9875 2013-10-04 Alan Modra <amodra@gmail.com>
9877 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9879 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9881 version of math_ldbl.h.
9883 2013-10-04 Alan Modra <amodra@gmail.com>
9885 [BZ #15734], [BZ #15735]
9886 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9887 all uses of ieee875 long double macros and unions. Simplify test
9888 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9889 ldbl_extract_mantissa value for ix,iy exponents. Properly
9890 normalize after ldbl_extract_mantissa, and don't add hidden bit
9891 already handled. Don't treat low word of ieee854 mantissa like
9892 low word of IBM long double and mask off bit when testing for
9894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9895 all uses of ieee875 long double macros and unions. Simplify tests
9896 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9897 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9898 two1022, instead use their values. Recognise that tests for large
9899 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9900 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9901 Rewrite all uses of ieee875 long double macros and unions. Simplify
9902 test for 0.0L and nan. Correct negation.
9903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9904 ieee875 long double macros and unions. Correct output for large
9905 magnitude x. Correct absolute value calculation.
9906 (__erfcl): Likewise.
9907 * math/libm-test.inc: Add tests for errors discovered in IBM long
9908 double versions of fmodl, remainderl, erfl and erfcl.
9910 2013-10-04 Alan Modra <amodra@gmail.com>
9912 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9913 all uses of ieee854 long double macros and unions. Simplify tests
9914 for long doubles that are fully specified by the high double.
9915 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9917 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9918 Remove dead code too.
9919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9920 (__ieee754_ynl): Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9924 Remove dead code too.
9925 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9935 Comment on variable precision.
9936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9943 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9945 2013-10-04 Alan Modra <amodra@gmail.com>
9947 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9949 all uses of ieee854 long double macros and unions.
9950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9963 Simplify sign and nan test too.
9964 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9969 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9979 2013-10-04 Alan Modra <amodra@gmail.com>
9981 * stdio-common/printf_size.c (__printf_size): Don't use
9982 union ieee854_long_double in fpnum union.
9983 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9984 signbit macro to retrieve sign from long double.
9985 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9986 retrieve sign from long double.
9987 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9988 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9990 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9991 * math/test-misc.c (main): Don't use union ieee854_long_double.
9993 2013-10-04 Alan Modra <amodra@gmail.com>
9996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9997 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9998 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9999 calculation. Remove unnecessary test for denormal exponent.
10000 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10001 Correct handling of denormals. Avoid undefined shift behaviour.
10002 Correct normalisation of low mantissa when low double is denormal.
10003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10004 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10005 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10006 Correct normalisation of low mantissa. Test for overflow of high
10007 mantissa and normalise.
10008 (ldbl_nearbyint): Use more readable constant for two52.
10009 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10010 (__mpn_construct_long_double): Fix test for overflow of high
10011 mantissa and correct normalisation. Avoid undefined shift.
10013 2013-10-04 Alan Modra <amodra@gmail.com>
10015 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10016 (union ibm_extended_long_double): Define as an array of ieee754_double.
10017 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10018 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10019 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10020 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10029 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10031 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10032 page size instead of calling getpagesize.
10034 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10035 (LOCFILE_ALIGN_MASK): Likewise.
10036 (LOCFILE_ALIGN_UP): Likewise.
10037 (LOCFILE_ALIGNED_P): Likewise.
10038 * locale/programs/ld-collate.c (collate_output): Use the new
10039 macros instead of __alignof__ (int32_t).
10040 * locale/weight.h (findidx): Likewise.
10042 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10045 * manual/string.texi: Fix strncat and wcsncat.
10047 2013-10-03 Brooks Moses <bmoses@google.com>
10050 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10051 * Makerules: ...here, and adjust associated comments.
10053 2013-10-02 Will Newton <will.newton@linaro.org>
10055 * malloc/Makefile: Add tst-pvalloc.
10056 * malloc/tst-pvalloc.c: New file.
10058 2013-10-02 Will Newton <will.newton@linaro.org>
10060 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10061 improve test coverage.
10063 2013-10-02 Will Newton <will.newton@linaro.org>
10065 * malloc/Makefile: Add tst-posix_memalign.
10066 * malloc/tst-posix_memalign.c: New file.
10068 2013-10-01 Eric Blake <eblake@redhat.com>
10070 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10071 Use __THROWNL rather than __THROW on static functions.
10073 2013-09-30 Petr Machata <pmachata@redhat.com>
10075 * elf/elf.h (R_AARCH64_ABS16): New macro.
10076 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10077 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10078 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10079 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10080 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10081 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10082 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10083 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10084 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10085 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10086 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10087 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10088 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10089 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10090 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10091 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10092 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10093 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10094 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10095 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10096 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10097 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10098 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10099 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10100 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10101 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10102 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10103 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10104 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10105 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10106 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10107 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10108 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10109 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10110 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10111 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10112 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10113 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10114 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10115 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10116 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10117 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10118 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10119 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10120 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10121 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10122 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10123 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10124 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10125 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10126 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10127 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10128 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10129 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10130 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10131 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10132 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10133 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10134 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10135 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10136 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10137 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10138 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10139 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10140 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10141 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10142 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10143 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10144 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10145 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10146 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10147 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10148 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10149 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10150 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10151 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10152 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10153 (R_AARCH64_TLSDESC_LDR): Likewise.
10154 (R_AARCH64_TLSDESC_ADD): Likewise.
10155 (R_AARCH64_TLSDESC_CALL): Likewise.
10157 2013-09-30 Andreas Schwab <schwab@suse.de>
10160 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10161 the nss database lookup.
10162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10165 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10167 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10169 2013-09-28 P. J. McDermott <pj@pehjota.net>
10171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10172 ${Bash-specific parameter/pattern/string} parameter expansion.
10173 * sysdeps/unix/make-syscalls.sh: Likewise.
10175 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10177 * sysdeps/sh/stackguard-macros.h: New file.
10179 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10183 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10184 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10185 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10186 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10188 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10190 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10191 Fix thread ID register.
10193 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10195 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10196 [POSIX || UNIX98]: Require rather than permitting all symbols from
10198 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10199 element of struct sched_param.
10200 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10201 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10202 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10203 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10206 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10208 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10209 argument calculation.
10211 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10213 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10215 [POSIX] (pthread_attr_t): Do not require type.
10216 [POSIX] (pthread_cond_t): Likewise.
10217 [POSIX] (pthread_condattr_t): Likewise.
10218 [POSIX] (pthread_key_t): Likewise.
10219 [POSIX] (pthread_mutex_t): Likewise.
10220 [POSIX] (pthread_mutexattr_t): Likewise.
10221 [POSIX] (pthread_once_t): Likewise.
10222 [POSIX] (pthread_t): Likewise.
10223 [POSIX-based standards] (pthread_atfork): Expect function.
10225 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10226 Richard Sandiford <richard@codesourcery.com>
10228 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10229 (swap_endianness_p): New extern variable.
10230 (set_big_endian): New inline function.
10231 (maybe_swap_uint32): Likewise.
10232 (maybe_swap_uint32_array): Likewise.
10233 (maybe_swap_uint32_obstack): Likewise.
10234 * locale/programs/locfile.c: Include <stdbool.h>.
10235 (swap_endianness_p): New variable.
10236 (add_locale_uint32): Call maybe_swap_uint32.
10237 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10238 (write_locale_data): Call maybe_swap_uint32_array.
10239 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10241 (obstack_int32_grow_fast): Likewise.
10242 (output_weightwc): Call maybe_swap_uint32_obstack.
10243 (collate_output): Likewise.
10244 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10245 (OPT_LITTLE_ENDIAN): Likewise.
10246 (options): Add --little-endian and --big-endian options.
10247 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10248 * locale/programs/locarchive.c: Include "locfile.h".
10252 (create_archive): Use the new macros to access fields of
10253 structures directly mapped from or written to locale archives.
10254 (oldlocrecentcmp): Likewise.
10255 (enlarge_archive): Likewise.
10256 (insert_name): Likewise.
10257 (add_alias): Likewise.
10258 (add_locale): Likewise.
10259 (delete_locales_from_archive): Likewise.
10260 (show_archive_content): Likewise.
10261 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10264 2013-09-24 Roland McGrath <roland@hack.frob.com>
10266 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10267 http://www.gnu.org/doc/freemanuals.texi.
10268 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10270 2013-09-24 Will Newton <will.newton@linaro.org>
10272 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10275 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10277 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10280 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10282 * manual/threads.texi (POSIX Threads): Fix a typo.
10284 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10287 * string/tst-strcoll-overflow.c: New test case.
10288 * string/Makefile (xtests): Add tst-strcoll-overflow.
10289 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10290 cache if string sizes may cause integer overflow.
10293 * string/strcoll_l.c (coll_seq): New members rule, idx,
10294 save_idx and back_us.
10295 (get_next_seq_nocache): New function.
10296 (do_compare_nocache): New function.
10297 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10300 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10303 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10304 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10305 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10308 * elf/Makefile (tests): Add tst-ptrguard1.
10309 (tests-static): Add tst-ptrguard1-static.
10310 (tst-ptrguard1-ARGS): Define.
10311 (tst-ptrguard1-static-ARGS): Define.
10312 * elf/tst-ptrguard1.c: New file.
10313 * elf/tst-ptrguard1-static.c: New file.
10314 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10315 * sysdeps/i386/stackguard-macros.h: Likewise.
10316 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10317 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10318 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10319 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10320 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10321 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10323 2013-09-23 Hector Marco <hecmargi@upv.es>
10324 Ismael Ripoll <iripoll@disca.upv.es>
10325 Carlos O'Donell <carlos@redhat.com>
10328 * sysdeps/generic/stackguard-macros.h: Define
10329 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10330 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10331 Define __pointer_chk_guard_local.
10332 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10333 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10335 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10338 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10340 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10342 * include/string.h (__ffs): Declare as hidden.
10343 * string/ffs.c (__ffs): Define as hidden.
10344 * sysdeps/i386/ffs.c (__ffs): Likewise.
10345 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10346 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10347 * sysdeps/s390/ffs.c (__ffs): Likewise.
10348 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10350 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10352 * NEWS: Mention malloc probes.
10354 * malloc/arena.c (new_heap): New memory_heap_new probe.
10355 (grow_heap): New memory_heap_more probe.
10356 (shrink_heap): New memory_heap_less probe.
10357 (heap_trim): New memory_heap_free probe.
10358 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10359 (systrim): New memory_sbrk_less probe.
10360 * manual/probes.texi: Document them.
10362 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10363 * manual/probes.texi: Document it.
10365 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10366 (__libc_realloc): Add memory_realloc_retry probe.
10367 (__libc_memalign): Add memory_memalign_retry probe.
10368 (__libc_valloc): Add memory_valloc_retry probe.
10369 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10370 (__libc_calloc): Add memory_calloc_retry probe.
10371 * manual/probes.texi: Document them.
10373 * malloc/arena.c (get_free_list): Add probe
10374 memory_arena_reuse_free_list.
10375 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10376 and memory_arena_reuse.
10377 (arena_get2) [!PER_THREAD]: Likewise.
10378 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10379 memory_arena_reuse_realloc.
10380 * manual/probes.texi: Document them.
10382 * malloc/malloc.c (__libc_free): Add
10383 memory_mallopt_free_dyn_thresholds probe.
10384 (__libc_mallopt): Add multiple memory_mallopt probes.
10385 * manual/probes.texi: Document them.
10387 * malloc/malloc.c: Include stap-probe.h.
10388 (__libc_mallopt): Add memory_mallopt probe.
10389 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10390 * manual/probes.texi: New.
10391 * manual/Makefile (chapters): Add probes.
10392 * manual/threads.texi: Set next node.
10394 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10396 [BZ #15963, #13985]
10397 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10398 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10399 Add `Chinese' to `nan' entry name.
10401 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10403 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10404 (POLYNOMIAL): Likewise.
10405 (TAYLOR_SINCOS): Likewise.
10406 (TAYLOR_SLOW): Likewise.
10407 (__sin): Use TAYLOR_SINCOS.
10409 (slow): Use TAYLOR_SLOW.
10411 (bsloww): Likewise.
10412 (csloww): Likewise.
10414 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10416 * stdlib/strtod_l.c: Fix buffer overrun.
10418 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * benchtests/Makefile (bench): Add sincos.
10421 * benchtests/bench-sincos.c: New file.
10423 * math/libm-test.inc (cos_test_data): New test inputs.
10424 (sin_test_data): Likewise.
10426 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10432 (sloww1): Likewise.
10433 (sloww2): Likewise.
10434 (bsloww1): Likewise.
10435 (bsloww2): Likewise.
10436 (cslow2): Likewise.
10437 (csloww1): Likewise.
10438 (csloww2): Likewise.
10440 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10445 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10449 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10451 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10452 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10453 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10454 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10455 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10456 * elf/cache.c (print_entry): Handle the new cache flags.
10458 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10459 Aldy Hernandez <aldyh@redhat.com>
10461 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10462 Change condition to [_SOFT_FLOAT].
10463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10475 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10478 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10481 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10483 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10484 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10485 (__longjmp): Use LOAD_GP to load saved GPRs.
10486 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10487 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10488 (__sigsetjmp): Use SAVE_GP to save GPRs.
10490 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10491 Do not append -msoft-float.
10492 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10494 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10496 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10498 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10501 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10502 (_FPU_GETCW): Use initial "__" on variable and field names but not
10503 on macro parameter name.
10504 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10505 parentheses around reference to macro parameter.
10507 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10509 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10511 (ctype_startup): Use uint32_t in cast and sizeof for
10514 2013-09-11 Jia Liu <proljc@gmail.com>
10516 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10518 [__FreeBSD__]: Likewise.
10520 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10523 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10524 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10525 (strchr): Remove __strchr_sse42 ifunc selection.
10526 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10527 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10529 2013-09-11 Will Newton <will.newton@linaro.org>
10531 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10532 parameter to RES. Remove hardcoded 1000 value.
10533 * benchtests/bench-skeleton.c (main): Pass RES parameter
10534 to TIMING_INIT and multiply result by 1000.
10536 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10540 2013-09-11 Andreas Schwab <schwab@suse.de>
10542 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10544 (O_TMPFILE) [__USE_GNU]: Define.
10545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10548 2013-09-11 Will Newton <will.newton@linaro.org>
10551 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10554 2013-09-11 Will Newton <will.newton@linaro.org>
10557 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10560 2013-09-11 Will Newton <will.newton@linaro.org>
10563 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10566 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10568 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10574 2013-09-10 Allan McRae <allan@archlinux.org>
10577 * manual/arith.texi (Parsing of Floats): Clarify
10581 * manual/install.texi (Running make install): Mention
10583 * INSTALL: Regenerated.
10585 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10587 * csu/init-first.c (_init): Remove the !SHARED condition around
10588 FPU control word initialization.
10589 * elf/dl-support.c (_dl_fpu_control): New variable.
10590 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10591 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10592 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10593 * math/test-fpucw-static.c: New file.
10594 * math/test-fpucw-ieee.c: New file.
10595 * math/test-fpucw-ieee-static.c: New file.
10596 * math/Makefile (tests): Add `test-fpucw-ieee' and
10598 (tests-static): New variable.
10599 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10601 [($(build-shared),yes)]
10602 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10604 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10607 2013-09-09 Allan McRae <allan@archlinux.org>
10610 * manual/string.texi (Collation Functions): Fix typo in
10612 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10615 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10618 * libio/memstream.c (open_memstream): Fix memory leak.
10619 * libio/wmemstream.c (open_wmemstream): Likewise.
10622 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10624 2013-09-09 Will Newton <will.newton@linaro.org>
10626 * malloc/Makefile: Add tst-realloc to tests.
10627 * malloc/tst-realloc.c: New file.
10629 2013-09-09 Allan McRae <allan@archlinux.org>
10632 * COPYING: Update from GNU website to fix FSF address.
10633 * COPYING.LIB: Likewise.
10635 2013-09-06 David S. Miller <davem@davemloft.net>
10637 * po/zh_TW.po: Update Chinese (traditional) translation from
10638 translation project.
10640 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10641 Joseph Myers <joseph@codesourcery.com>
10643 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10645 (obstack_chunk_alloc): New macro.
10646 (obstack_chunk_free): Likewise.
10647 (record_offset): New function.
10648 (init_locale_data): Likewise.
10649 (align_locale_data): Likewise.
10650 (add_locale_empty): Likewise.
10651 (add_locale_raw_data): Likewise.
10652 (add_locale_raw_obstack): Likewise.
10653 (add_locale_string): Likewise.
10654 (add_locale_wstring): Likewise.
10655 (add_locale_uint32): Likewise.
10656 (add_locale_uint32_array): Likewise.
10657 (add_locale_char): Likewise.
10658 (start_locale_structure): Likewise.
10659 (end_locale_structure): Likewise.
10660 (start_locale_prelude): Likewise.
10661 (end_locale_prelude): Likewise.
10662 (write_locale_data): Take locale_file structure rather than an
10664 * locale/programs/locfile.h: Include "obstack.h".
10665 (struct locale_file): Change to store locale file contents instead
10667 (init_locale_data): New prototype.
10668 (align_locale_data): Likewise.
10669 (add_locale_empty): Likewise.
10670 (add_locale_raw_data): Likewise.
10671 (add_locale_raw_obstack): Likewise.
10672 (add_locale_string): Likewise.
10673 (add_locale_wstring): Likewise.
10674 (add_locale_uint32): Likewise.
10675 (add_locale_uint32_array): Likewise.
10676 (add_locale_char): Likewise.
10677 (start_locale_structure): Likewise.
10678 (end_locale_structure): Likewise.
10679 (start_locale_prelude): Likewise.
10680 (end_locale_prelude): Likewise.
10681 (write_locale_data): Update prototype.
10682 * locale/programs/3level.h (struct TABLE): Remove result field.
10683 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10684 Use new locale_file interface.
10685 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10686 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10687 * locale/programs/ld-address.c (address_output): Use new
10688 locale_file interface.
10689 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10691 (collate_finish): Don't call collseq_table_finalize.
10692 (collate_output): Use new locale_file interface.
10693 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10695 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10696 (TABLE): Move defines earlier in file.
10697 (ELEMENT): Likewise.
10698 (DEFAULT): Likewise.
10699 (wctrans_table_add): Move macro and inline function earlier in
10701 (struct wctype_table): Move type earlier in file.
10702 (add_locale_wctype_table): New static prototype.
10703 (struct locale_ctype_t): Use logical types instead of struct iovec
10704 pointers for members.
10705 (ctype_output): Use new locale_file interface.
10706 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10707 new locale_file interface.
10708 (allocate_arrays): Update for use of new locale_file interface.
10709 * locale/programs/ld-identification.c (identification_output): Use
10710 new locale_file interface.
10711 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10712 * locale/programs/ld-messages.c (messages_output): Likewise.
10713 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10714 * locale/programs/ld-name.c (name_output): Likewise.
10715 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10716 * locale/programs/ld-paper.c (paper_output): Likewise.
10717 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10718 * locale/programs/ld-time.c (time_output): Likewise.
10720 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10722 * benchtests/Makefile: Add memrchr benchmark.
10723 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10724 benchmark as memrchr.
10725 * benchtests/bench-memrchr-ifunc.c: New file.
10726 * benchtests/bench-memrchr.c: New file.
10728 2013-09-06 Will Newton <will.newton@linaro.org>
10730 * benchtests/Makefile (string-bench): Add memcpy.
10732 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10733 Cong Wang <amwang@redhat.com>
10736 * sysdeps/unix/sysv/linux/bits/in.h
10737 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10738 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10739 before __USE_KERNEL_IPV6_DEFS uses.
10740 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10742 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10743 sockaddr_in6, or ipv6_mreq.
10745 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10747 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10748 memory access for final bytes in some large inputs.
10749 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10751 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753 * string/test-memrchr.c: New file.
10754 * string/test-memrchr-ifunc.c: New file.
10755 * string/Makefile: Add new memrchr testcase.
10757 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10759 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10760 fanotify_init returns EPERM.
10762 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10764 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10766 (top level): Treat second token from macro or constant entries for
10767 allowed headers as allowed.
10768 * include/complex.h: Condition internal declarations on
10770 * include/fenv.h: Condition include of <stdbool.h> and internal
10771 declarations on [!_ISOMAC].
10773 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10776 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10778 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10780 * configure.in (--enable-versioning): Remove configure option.
10781 (libc_cv_asm_symver_directive): Remove configure test.
10782 (libc_cv_ld_version_script_option): Likewise.
10783 (VERSIONING): Remove variable and AC_SUBST.
10784 (DO_VERSIONING): Remove AC_DEFINE.
10785 * configure: Regenerated.
10786 * config.h.in (DO_VERSIONING): Remove macro.
10787 * Makerules [$(versioning) = yes]: Change conditionals to
10788 [$(build-shared) = yes].
10789 * config.make.in (versioning): Remove variable.
10790 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10791 [$(build-shared) = yes].
10792 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10793 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10794 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10795 [$(build-shared) = yes].
10796 * extra-lib.mk [$(versioning) = yes]: Likewise.
10797 * hurd/Makefile [$(versioning) = yes]: Likewise.
10798 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10800 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10802 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10803 [SHARED && !NO_HIDDEN].
10804 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10806 [SHARED && DO_VERSIONING]: Likewise..
10807 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10808 [$(build-shared) = yes].
10809 * manual/install.texi (--disable-versioning): Remove
10811 * INSTALL: Regenerated.
10812 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10814 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10815 [$(build-shared) = yes].
10816 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10817 * sysdeps/i386/i686/multiarch/strstr-c.c
10818 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10819 [SHARED && !NO_HIDDEN].
10820 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10821 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10822 * sysdeps/powerpc/powerpc32/dl-machine.c
10823 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10824 * sysdeps/powerpc/powerpc32/sysdep.h
10825 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10826 to [SHARED && PIC && !NO_HIDDEN].
10827 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10828 conditional to [SHARED].
10830 2013-09-04 Will Newton <will.newton@linaro.org>
10832 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10833 * benchtests/bench-string.h: Include bench-timing.h instead
10834 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10835 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10836 call to HP_TIMING_DIFF_INIT.
10837 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10838 instead of hp-timing.h macros.
10839 * benchtests/bench-memchr.c: Likewise.
10840 * benchtests/bench-memcmp.c: Likewise.
10841 * benchtests/bench-memcpy.c: Likewise.
10842 * benchtests/bench-memmem.c: Likewise.
10843 * benchtests/bench-memmove.c: Likewise.
10844 * benchtests/bench-memset.c: Likewise.
10845 * benchtests/bench-rawmemchr.c: Likewise.
10846 * benchtests/bench-strcasecmp.c: Likewise.
10847 * benchtests/bench-strcasestr.c: Likewise.
10848 * benchtests/bench-strcat.c: Likewise.
10849 * benchtests/bench-strchr.c: Likewise.
10850 * benchtests/bench-strcmp.c: Likewise.
10851 * benchtests/bench-strcpy.c: Likewise.
10852 * benchtests/bench-strcpy_chk.c: Likewise.
10853 * benchtests/bench-strlen.c: Likewise.
10854 * benchtests/bench-strncasecmp.c: Likewise.
10855 * benchtests/bench-strncat.c: Likewise.
10856 * benchtests/bench-strncmp.c: Likewise.
10857 * benchtests/bench-strncpy.c: Likewise.
10858 * benchtests/bench-strnlen.c: Likewise.
10859 * benchtests/bench-strpbrk.c: Likewise.
10860 * benchtests/bench-strrchr.c: Likewise.
10861 * benchtests/bench-strspn.c: Likewise.
10862 * benchtests/bench-strstr.c: Likewise.
10864 2013-09-04 Will Newton <will.newton@linaro.org>
10866 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10868 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10871 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10872 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10873 * math/libm-test.inc (lgamma_test_data): Add more tests.
10874 * sysdeps/i386/fpu/libm-test-ulps: Update.
10875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10877 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10879 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10883 Add strcmp-sse2-unaligned
10884 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10886 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10888 * Versions.def (libc): Add GLIBC_2.19.
10890 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10892 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10893 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10895 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10898 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10899 intermediate calculations in recurrence.
10900 (__ieee754_ynf): Likewise.
10901 * math/libm-test.inc (jn_test_data): Do not allow spurious
10902 underflow exception. Add more tests.
10903 (yn_test_data): Add more tests.
10904 * sysdeps/i386/fpu/libm-test-ulps: Update.
10905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10907 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10911 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10913 * csu/init-first.c: Fix then/than typos.
10914 * locale/programs/ld-collate.c: Likewise.
10915 * locale/programs/linereader.h: Likewise.
10916 * manual/charset.texi: Likewise.
10917 * manual/filesys.texi: Likewise.
10918 * manual/stdio.texi: Likewise.
10919 * manual/string.texi: Likewise.
10920 * stdlib/fmtmsg.c: Likewise.
10921 * sysdeps/i386/stpncpy.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10924 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10925 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10927 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10929 * elf/dl-open.c: Fix typos.
10930 * iconvdata/gbbig5.c: Likewise.
10931 * iconvdata/iso-2022-jp.c: Likewise.
10932 * iconv/gconv_int.h: Likewise.
10933 * iconv/loop.c: Likewise.
10934 * nis/rpcsvc/nis.h: Likewise.
10935 * resolv/ns_name.c: Likewise.
10936 * stdio-common/vfscanf.c: Likewise.
10937 * streams/stropts.h: Likewise.
10938 * sunrpc/rpc_thread.c: Likewise.
10939 * sysdeps/i386/strpbrk.S: Likewise.
10940 * sysdeps/ieee754/k_standard.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10943 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10944 * sysdeps/mach/hurd/profil.c: Likewise.
10945 * sysdeps/s390/dl-procinfo.h: Likewise.
10946 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10947 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10948 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10949 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10952 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10954 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10957 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10959 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10960 aix specific files.
10961 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10963 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10965 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10966 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10967 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10968 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10970 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10971 Roland McGrath <roland@hack.frob.com>
10973 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10974 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10976 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10978 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10979 __executable_start symbol instead of _start.
10981 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10983 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10984 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10986 * sysdeps/gnu/ldsodefs.h: ... this new file.
10988 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10989 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10990 instead of ELFOSABI_LINUX.
10992 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10993 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10994 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10995 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10997 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10998 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11001 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11002 (ibm_extended_long_double): Add ieee_nan member.
11003 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11004 (do_test): New function.
11006 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11008 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11009 functions, renamed from truncdfsf_test, trunctfsf_test,
11011 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11013 (do_test): Run all these.
11015 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11017 * argp/argp-help.c: Fix typos.
11018 * argp/argp-parse.c: Likewise.
11019 * debug/backtracesyms.c: Likewise.
11020 * elf/elf.h: Likewise.
11021 * malloc/malloc.c: Likewise.
11022 * nis/nis_print.c: Likewise.
11023 * resolv/res_comp.c: Likewise.
11024 * stdlib/stdlib.h: Likewise.
11025 * sunrpc/clnt_tcp.c: Likewise.
11026 * sunrpc/clnt_udp.c: Likewise.
11027 * sunrpc/clnt_unix.c: Likewise.
11028 * sysdeps/unix/bsd/ptsname.c: Likewise.
11029 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11037 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11039 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11041 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11044 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11047 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11048 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11049 ($(objpfx)bug-dl-leaf): New rule.
11050 ($(objpfx)bug-dl-leaf.so): Likewise.
11051 ($(objpfx)bug-dl-leaf.out): Likewise.
11052 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11053 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11054 * dlfcn/bug-dl-leaf.c: New test.
11055 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11056 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11057 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11058 (dlclose): Likewise.
11059 (dlmopen): Likewise.
11061 2013-08-27 Roland McGrath <roland@hack.frob.com>
11063 * include/netdb.h [!_ISOMAC]:
11064 Don't include <tls.h>.
11065 (h_errno, __libc_h_errno): Move declaration and macros out of
11068 * include/resolv.h [_RESOLV_H_]:
11069 Don't include <tls.h>.
11070 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11071 * resolv/res_libc.c: Don't include <tls.h>.
11072 (_res): Use __attribute__ ((nocommon)) in place of
11073 __attribute__ ((section (".bss"))).
11075 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11076 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11078 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11080 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11081 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11083 * resolv/res_mkquery.c: Include <sys/time.h>.
11085 * inet/ifreq.c: Moved to ...
11086 * sysdeps/unix/ifreq.c: ... here.
11087 * inet/ifreq.c: New file, true stub version.
11089 * socket/sa_len.c: New file.
11090 * socket/Makefile (aux): Add it.
11091 * sysdeps/unix/sysv/linux/Makefile
11092 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11093 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11094 and #include <socket/sa_len.c>.
11095 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11096 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11099 * bits/socket.h: ... here.
11101 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11102 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11103 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11105 2013-08-27 Andreas Schwab <schwab@suse.de>
11108 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11109 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11110 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11111 * string/test-strcasecmp.c (test_main): Run tests in several
11113 * string/test-strncasecmp.c (test_main): Likewise.
11115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11116 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11117 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11119 (__strncasecmp_ssse3) [PIC]: Likewise.
11121 2013-08-26 Roland McGrath <roland@hack.frob.com>
11123 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11125 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11126 instead of explicitly declaring xdecrypt.
11127 * nis/nss_nis/nis-publickey.c: Likewise.
11129 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11132 * nscd/aicache.c: Include res_hconf.h.
11133 (addhstaiX): Initialize res_hconf.
11135 2013-08-26 Andreas Schwab <schwab@suse.de>
11137 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11138 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11140 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11142 * nscd/aicache.c (addhstaiX): Fix indentation.
11144 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11146 * configure.ac: Quote $build_pt_chown test.
11147 * configure: Regenerated.
11149 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11152 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11153 * math/s_cexpf.c (__cexpf): Likewise.
11154 * math/s_cexpl.c (__cexpl): Likewise.
11155 * math/libm-test.inc (cexp_test_data): Correct expected return
11156 value for NaN + i0. Add another test.
11158 2013-08-22 David S. Miller <davem@davemloft.net>
11160 * po/ca.po: Update Catalan translation from translation project.
11161 * po/uk.po: Add Ukrainian translations from translation project.
11163 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11166 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11167 is infinite, not alongside NaN test.
11168 * math/s_fdimf.c (__fdimf): Likewise.
11169 * math/s_fdiml.c (__fdiml): Likewise.
11170 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11171 errno is unchanged.
11173 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11175 * argp/argp-help.c: Fix typos.
11176 * crypt/speeds.c: Likewise.
11177 * csu/check_fds.c: Likewise.
11178 * elf/dl-load.c: Likewise.
11179 * elf/dl-open.c: Likewise.
11180 * elf/reldep3.c: Likewise.
11181 * elf/reldep.c: Likewise.
11182 * elf/sprof.c: Likewise.
11183 * iconv/iconv_charmap.c: Likewise.
11184 * iconv/skeleton.c: Likewise.
11185 * iconv/strtab.c: Likewise.
11186 * io/lockf64.c: Likewise.
11187 * libio/libioP.h: Likewise.
11188 * resolv/gai_notify.c: Likewise.
11189 * resolv/ns_name.c: Likewise.
11190 * resolv/ns_samedomain.c: Likewise.
11191 * resolv/res_send.c: Likewise.
11192 * stdlib/random.c: Likewise.
11193 * sunrpc/rpc/xdr.h: Likewise.
11194 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11195 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11196 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11197 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11198 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11202 * sysdeps/mach/hurd/check_fds.c: Likewise.
11203 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11204 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11205 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11207 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11208 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11209 * sysdeps/pthread/aio_notify.c: Likewise.
11210 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11211 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11212 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11213 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11214 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11216 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11218 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11219 version if bit_Slow_SSE4_2 is set.
11220 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11223 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11227 trampoline stack frame information.
11228 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11230 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11231 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11232 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11233 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11234 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11235 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11237 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11238 interrupting a syscall and set with option SA_SIGINFO.
11240 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11243 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11244 argument is infinite.
11245 * math/s_cprojf.c (__cprojf): Likewise.
11246 * math/s_cprojl.c (__cprojl): Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11248 * math/libm-test.inc (cproj_test_data): Add more tests.
11250 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11252 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11253 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11254 size. Use __ffs to determine corresponding shift.
11256 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11257 Roland McGrath <roland@hack.frob.com>
11259 * Makefile (INSTALL): Remove trailing blank lines from output of
11262 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11264 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11265 Align 32 bit compat elf_greg to 8 bytes.
11267 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11269 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11271 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11273 * string/strcoll_l.c (coll_seq): New structure.
11274 (get_next_seq_cached): New function.
11275 (get_next_seq): New function.
11276 (do_compare): New function.
11277 (STRCOLL): Use GNU style definition. Simplify implementation
11278 by using get_next_seq, get_next_seq_cached and do_compare.
11280 2013-08-16 Florian Weimer <fweimer@redhat.com>
11284 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11286 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11288 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11289 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11290 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11292 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11293 GETDENTS_64BIT_ALIGNED.
11294 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11295 * manual/filesys.texi (Reading/Closing Directory): Document
11296 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11298 * manual/conf.texi (Limits for Files): Add portability note to
11299 NAME_MAX, PATH_MAX.
11300 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11302 2013-08-13 Andreas Schwab <schwab@suse.de>
11305 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11307 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11308 LDBL_MAX_EXP >= 16384]: Add tests for it.
11310 2013-08-12 David S. Miller <davem@davemloft.net>
11312 * version.h (RELEASE): Set to "development".
11313 (VERSION): Set to "2.18.90".
11314 * NEWS: Add 2.19 section.
11316 2013-08-03 David S. Miller <davem@davemloft.net>
11318 * po/ko.po: Update Korean translation from translation project.
11320 2013-08-01 David S. Miller <davem@davemloft.net>
11322 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11323 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11326 2013-07-30 David S. Miller <davem@davemloft.net>
11328 * po/fr.po: Update French translation from translation project.
11330 2013-07-28 David S. Miller <davem@davemloft.net>
11332 * po/cs.po: Update Czech translation from translation project.
11334 * po/sv.po: Update Swedish translation from translation project.
11336 2013-07-27 David S. Miller <davem@davemloft.net>
11338 * po/eo.po: Update Esperanto translation from translation project.
11340 * po/vi.po: Update Vietnamese translation from translation project.
11342 * po/de.po: Update German translation from translation project.
11344 2013-07-26 David S. Miller <davem@davemloft.net>
11346 * po/bg.po: Update Bulgarian translation from translation project.
11348 * po/nl.po: Update Dutch translation from translation project.
11349 * po/pl.po: Update Polish translation from translation project.
11350 * po/ru.po: Update Russian translation from translation project.
11352 2013-07-24 David S. Miller <davem@davemloft.net>
11354 * po/libc.pot: Update.
11356 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11359 variable page size.
11360 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11362 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11364 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11366 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11368 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11369 Andreas Schwab <schwab@suse.de>
11370 Roland McGrath <roland@hack.frob.com>
11371 Joseph Myers <joseph@codesourcery.com>
11372 Carlos O'Donell <carlos@redhat.com>
11375 * config.h.in: Define HAVE_PT_CHOWN.
11376 * config.make.in (build-pt-chown): New variable.
11377 * configure.in (--enable-pt_chown): New configure option.
11378 * configure: Regenerate.
11379 * login/Makefile: Include Makeconfig. Build pt_chown only if
11380 build-pt-chown is enabled.
11381 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11382 pt_chown to fix pty ownership.
11383 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11385 * manual/install.texi (Configuring and compiling): Mention
11386 --enable-pt_chown. Add @findex for grantpt.
11387 * INSTALL: Regenerate.
11389 2013-07-20 David S. Miller <davem@davemloft.net>
11391 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11392 difference between 32-bit and 64-bit.
11394 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11397 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11398 Avoid system header dependency with -ffreestanding.
11399 ($(objpfx)bits/syscall%d): Likewise.
11401 2013-07-13 David S. Miller <davem@davemloft.net>
11403 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11404 underflows from atanl/atan2l due to bug 15319.
11405 (casinh_test_data): Likewise.
11407 2013-07-07 David S. Miller <davem@davemloft.net>
11409 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11411 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11413 * sysdeps/i386/fpu/libm-test-ulps: Update.
11414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11418 * configure.in (--enable-lock-elision): Fix message text.
11419 * INSTALL: Regenerate.
11420 * configure: Regenerate.
11422 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11426 2013-07-03 Andreas Jaeger <aj@suse.de>
11428 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11430 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11431 (ptrace_peeksiginfo_args): Add.
11432 (__ptrace_peeksiginfo_flags): Add.
11433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11437 2013-07-03 Allan McRae <allan@archlinux.org>
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11441 2013-07-02 David S. Miller <davem@davemloft.net>
11443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11445 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11449 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11451 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454 2013-07-02 Andi Kleen <ak@linux.intel.com>
11456 * config.h.in (ENABLE_LOCK_ELISION): Add.
11457 * configure.in (--enable-lock-elision): Add option.
11458 * manual/install.texi: Document --enable lock elision.
11459 * configure: Regenerate
11460 * INSTALL: Regenerate.
11462 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11464 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11465 SSE4.2 strcasecmp for libc.a.
11466 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11468 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11471 * soft-fp/op-common.h (_FP_FMA): New macro.
11472 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11473 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11474 (_FP_MUL_MEAT_1_imm): ... here.
11475 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11476 (_FP_MUL_MEAT_1_wide): ... here.
11477 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11478 (_FP_MUL_MEAT_1_hard): ... here.
11479 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11480 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11481 (_FP_MUL_MEAT_2_wide): ... here.
11482 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11483 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11484 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11485 (_FP_MUL_MEAT_2_gmp): ... here.
11486 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11487 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11488 (_FP_MUL_MEAT_4_wide): ... here.
11489 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11490 (_FP_MUL_MEAT_4_gmp): ... here.
11491 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11492 (_FP_WFRACBITS_DW_S): Likewise.
11493 (_FP_WFRACXBITS_DW_S): Likewise.
11494 (_FP_HIGHBIT_DW_S): Likewise.
11495 (FP_FMA_S): Likewise.
11496 (_FP_FRAC_HIGH_DW_S): Likewise.
11497 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11498 (_FP_WFRACBITS_DW_D): Likewise.
11499 (_FP_WFRACXBITS_DW_D): Likewise.
11500 (_FP_HIGHBIT_DW_D): Likewise.
11501 (FP_FMA_D): Likewise.
11502 (_FP_FRAC_HIGH_DW_D): Likewise.
11503 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11504 (_FP_WFRACBITS_DW_E): Likewise.
11505 (_FP_WFRACXBITS_DW_E): Likewise.
11506 (_FP_HIGHBIT_DW_E): Likewise.
11507 (FP_FMA_E): Likewise.
11508 (_FP_FRAC_HIGH_DW_E): Likewise.
11509 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11510 (_FP_WFRACBITS_DW_Q): Likewise.
11511 (_FP_WFRACXBITS_DW_Q): Likewise.
11512 (_FP_HIGHBIT_DW_Q): Likewise.
11513 (FP_FMA_Q): Likewise.
11514 (_FP_FRAC_HIGH_DW_Q): Likewise.
11515 * soft-fp/fmasf4.c: New file.
11516 * soft-fp/fmadf4.c: Likewise.
11517 * soft-fp/fmatf4.c: Likewise.
11519 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11522 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11526 (index_Slow_SSE4_2): Likewise.
11527 (index_Prefer_PMINUB_for_stringop): Likewise.
11528 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11529 bit_Slow_SSE4_2 is set.
11530 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11531 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11533 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11535 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11536 rtld_global._dl_hwcap2.
11537 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11539 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11540 POWER8 feature descriptions defined in _dl_hwcap2.
11541 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11542 string handling for POWER8 feature bits.
11543 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11544 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11545 _dl_powerpc_cap_flags.
11546 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11547 * sysdeps/powerpc/rtld-global-offsets.sym
11548 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11549 _dl_hwcap2 in the rtld_global_ro structure.
11551 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11553 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11554 hardware capabilities in support of AT_HWCAP2.
11555 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11556 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11558 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11559 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11560 explicitly the unknown a_type display mechanism is used.
11561 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11562 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11564 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11565 to macro prototype for AT_HWCAP2 support.
11566 * sysdeps/i386/dl-procinfo.h: Likewise.
11567 * sysdeps/s390/dl-procinfo.h: Likewise.
11568 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11569 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11570 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11571 return -1 for unknown a_type display fallback.
11572 * sysdeps/sparc/dl-procinfo.h: Likewise.
11573 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11574 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11576 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11578 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11579 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11581 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11584 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11585 mprotect making __stack_prot writable.
11587 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11588 Joseph Myers <joseph@codesourcery.com>
11590 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11591 as being properly aligned.
11593 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11595 * dlfcn/modstatic5.c: New file.
11596 * dlfcn/tststatic5.c: New file.
11597 * dlfcn/Makefile (tests): Add tststatic5.
11598 (tests-static): Likewise.
11599 (modules-names): Add modstatic5.
11600 (tststatic5-ENV): New variable.
11601 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11604 * elf/dl-support.c (_dl_main_map): New variable.
11605 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11606 (_dl_nns, _dl_load_adds): Set to 1.
11607 (_dl_initial_searchlist): Refer to _dl_main_map.
11608 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11609 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11610 call to _dl_get_origin.
11611 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11613 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11614 * dlfcn/modstatic3.c: New file.
11615 * dlfcn/tststatic3.c: New file.
11616 * dlfcn/tststatic4.c: New file.
11617 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11618 (tests-static): Likewise.
11619 (modules-names): Add modstatic3.
11620 (tststatic3-ENV, tststatic4-ENV): New variables.
11621 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11622 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11624 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11626 * configure.in (CC): Require GCC version 4.4 or later.
11627 * configure: Regenerated.
11628 * manual/install.texi (Tools for Compilation): Update GCC version
11630 * INSTALL: Regenerated.
11632 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11635 * string/test-memcmp.c (check2): New.
11636 (main): Call check2.
11638 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11640 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11643 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11645 (dl_open_worker) [!SHARED]: ... here.
11647 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11649 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11651 2013-06-25 Richard Henderson <rth@redhat.com>
11653 * locale/programs/locarchive.c: Include <libc-internal.h>
11655 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11657 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11658 trailing whitespace removed.
11660 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11663 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11664 * locale/programs/locarchive.c: Include libc-mmap.h.
11665 (prepare_address_space): Take two new outputs (the mmap base and len).
11666 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11668 (create_archive): Declare new mmap base and len values for
11669 prepare_address_space, and store the result in ah.
11670 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11671 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11672 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11673 Declare new mmap base and len values for
11674 prepare_address_space, and store the result in new_ah.
11675 (open_archive): Declare new mmap base and len values for
11676 prepare_address_space, and store the result in ah.
11677 (close_archive): If ah->mmap_base is not NULL, use that and
11678 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11679 * sysdeps/generic/libc-mmap.h: New file.
11681 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11683 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11684 (ALIGN_UP): Likewise.
11685 (PTR_ALIGN_DOWN): Likewise.
11686 (PTR_ALIGN_UP): Likewise.
11688 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11690 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11691 entry mapped to PPC_PLATFORM_POWER8.
11692 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11694 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11695 (_dl_string_platform): Add case for exporting platform position for
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11698 search path to sysdeps/powerpc/powerpc32/power8 directory.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11700 search path to sysdeps/powerpc/powerpc64/power8 directory.
11701 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11702 power7 directories.
11703 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11704 power7 directories.
11706 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11708 * INSTALL: Regenerate.
11710 * nscd/connections.c (nscd_init): Fix comment.
11712 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11714 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11717 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11718 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11720 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11722 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11724 (DL_DST_REQ_STATIC): Remove macro.
11726 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11729 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11730 with a shift of 0 bits.
11732 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11734 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11737 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11740 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11742 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11744 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11745 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11746 accepts -fno-tree-loop-distribute-patterns.
11747 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11748 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11750 * string/memset.c (memset): Likewise.
11751 * string/test-memmove.c (simple_memmove): Disable loop transformation
11753 * string/test-memset.c (simple_memset): Likewise.
11754 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11755 * benchtests/bench-memset.c (simple_memset): Likewise.
11756 * configure: Regenerated.
11758 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11760 * math/test-misc.c (main): Ignore fesetround failure when failures
11761 of subsequent rounding tests would be ignored.
11764 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11765 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11766 * math/fegetenv.c (__fegetenv): Return 0.
11767 * math/fegetexcept.c (fegetexcept): Return 0.
11768 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11770 * math/feholdexcpt.c (feholdexcept): Return 0.
11771 * math/fesetenv.c (__fesetenv): Return 0.
11772 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11773 argument FE_TONEAREST.
11774 * math/feupdateenv.c (__feupdateenv): Return 0.
11775 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11777 2013-06-18 Roland McGrath <roland@hack.frob.com>
11779 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11780 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11781 ($(objpfx)rtld-%.os rules): Use them.
11783 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11788 2013-06-17 Roland McGrath <roland@hack.frob.com>
11790 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11791 length of target pattern, then descending length of dependency pattern.
11792 * configure.in (AWK): Require gawk 3.1.2 or newer.
11793 * manual/install.texi (Tools for Compilation): Say that we do.
11794 * configure: Regenerated.
11796 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11797 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11798 * scripts/sysd-rules.awk: ... this new script.
11799 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11800 than a glob-style pattern.
11802 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11804 * math/test-misc.c (main): Do not treat incorrectly rounded
11805 conversions as failure unless ROUNDING_TESTS passes.
11807 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11811 restore exception state around main square root computation, then
11812 check for inexactness explicitly.
11814 * math/libm-test.inc (fma_test_data): Add another test.
11816 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * manual/threads.texi (Non-POSIX Extensions): New document
11819 node. Document pthread_getattr_default_np and
11820 pthread_setattr_default_np.
11822 * Versions.def (libpthread): Add GLIBC_2.18.
11823 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11832 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11843 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11846 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11848 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11849 H.J. Lu <hjl.tools@gmail.com>
11852 * sysdeps/x86_64/rtld-memset.c: Remove file.
11853 * sysdeps/x86_64/rtld-memset.S: New file.
11855 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11857 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11858 (test_in_one_mode): Take arguments for whether the rounding mode
11859 is supported for each floating-point type.
11860 (do_test): Pass new arguments to test_in_one_mode using
11863 2013-06-13 Roland McGrath <roland@hack.frob.com>
11865 * posix/tst-waitid.c (do_test): Distinguish different instances of
11866 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11867 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11868 before entering the kernel for waitpid.
11870 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11872 * NEWS: Fix note on clock function precision. Text by Roland
11875 2013-06-13 Roland McGrath <roland@hack.frob.com>
11877 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11878 it into place only when and if the sanity check passes.
11880 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11882 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11883 output for whether conversion result is exact. Take argument
11884 indicating whether type is IBM long double.
11885 (round_for_all): Change need_exact field to ibm_ld.
11886 * stdlib/tst-strtod-round.c (struct exactness): New type.
11887 (struct test): Change bool ld_ok field to struct exactness exact.
11888 (TEST): Update all definitions for change to field.
11889 (tests): Regenerate array contents.
11890 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11891 field value. Check for IBM long double here.
11892 (do_test): Update calls to test_in_one_mode.
11894 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11897 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11898 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11900 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11903 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11904 generated by the compiler on loop optimizations.
11905 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11906 general definitions.
11908 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11910 * math/bug-nextafter.c: Include <math-tests.h>.
11911 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11913 * math/bug-nexttoward.c: Include <math-tests.h>.
11914 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11916 * math/test-misc.c: Include <math-tests.h>.
11917 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11920 2013-06-12 Andreas Jaeger <aj@suse.de>
11922 * po/ia.po: Update Interlingua translation from translation
11925 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11927 * include/fenv.h: Include stdbool.h.
11928 (struct rm_ctx): New structure.
11929 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11931 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11932 (SET_RESTORE_ROUNDF): Likewise.
11933 (SET_RESTORE_ROUNDL): Likewise.
11934 (SET_RESTORE_ROUND_NOEX): Likewise.
11935 (SET_RESTORE_ROUND_NOEXF): Likewise.
11936 (SET_RESTORE_ROUND_NOEXL): Likewise.
11937 (SET_RESTORE_ROUND_53BIT): Likewise.
11938 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11939 (libc_feresetround_noexf_ctx): Likewise.
11940 (libc_feresetround_noexl_ctx): Likewise.
11941 (libc_feholdsetround_53bit_ctx): Likewise.
11942 (libc_feresetround_53bit_ctx): Likewise.
11943 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11944 (libc_feholdexcept_setround_sse_ctx): New function.
11945 (libc_fesetenv_sse_ctx): Likewise.
11946 (libc_feupdateenv_sse_ctx): Likewise.
11947 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11948 (libc_feholdexcept_setround_387_ctx): Likewise.
11949 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11950 (libc_feholdsetround_387_prec_ctx): Likewise.
11951 (libc_feholdsetround_387_ctx): Likewise.
11952 (libc_feholdsetround_387_53bit_ctx): Likewise.
11953 (libc_feholdsetround_sse_ctx): Likewise.
11954 (libc_feresetround_sse_ctx): Likewise.
11955 (libc_feresetround_387_ctx): Likewise.
11956 (libc_feupdateenv_387_ctx): Likewise.
11957 (libc_feholdexcept_setroundf_ctx): Define macro.
11958 (libc_fesetenvf_ctx): Likewise.
11959 (libc_feupdateenvf_ctx): Likewise.
11960 (libc_feholdsetroundf_ctx): Likewise.
11961 (libc_feresetroundf_ctx): Likewise.
11962 (libc_feholdexcept_setround_ctx): Likewise.
11963 (libc_fesetenv_ctx): Likewise.
11964 (libc_feupdateenv_ctx): Likewise.
11965 (libc_feholdsetround_ctx): Likewise.
11966 (libc_feresetround_ctx): Likewise.
11967 (libc_feholdexcept_setroundl_ctx): Likewise.
11968 (libc_feupdateenvl_ctx): Likewise.
11969 (libc_feholdsetroundl_ctx): Likewise.
11970 (libc_feresetroundl_ctx): Likewise.
11971 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11972 (libc_feresetround_53bit_ctx): Likewise.
11974 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11976 * locale/iso-639.def: Convert to UTF-8.
11978 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11980 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11981 (EXCEPTION_TESTS_double): Likewise.
11982 (EXCEPTION_TESTS_long_double): Likewise.
11983 (EXCEPTION_TESTS): Likewise.
11984 * math/libm-test.inc (test_exceptions): Only test exceptions if
11985 EXCEPTION_TESTS (FLOAT).
11987 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11989 * benchtests/Makefile (string-bench): Add strcpy_chk and
11991 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11992 * benchtests/bench-stpcpy_chk.c: New file.
11993 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11994 * benchtests/bench-strcpy_chk.c: New file.
11995 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11997 (do_test): Likewise.
11999 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12001 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12002 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12003 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12004 with tabs where appropriate.
12005 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12007 [PPC_PLATFORM_PPC440]: Likewise.
12008 [PPC_PLATFORM_PPC464]: Likewise.
12009 [PPC_PLATFORM_PPC476]: Likewise.
12010 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12011 ppc464, and ppc476 platform strings merging from ports/
12014 2013-06-11 Andreas Schwab <schwab@suse.de>
12017 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12018 (from_ucs4_idx): Regenerate.
12019 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12020 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12021 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12022 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12023 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12024 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12025 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12026 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12027 from FROM_LOOP and TO_LOOP specific macros.
12028 (BODY): Handle combining characters.
12029 * iconvdata/BIG5HKSCS.irreversible: Update.
12030 * iconvdata/BIG5HKSCS.precomposed: New file.
12031 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12033 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12035 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * include/sys/time.h: Fix indentation and add copyright header.
12039 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12040 (do_test): Likewise.
12041 * string/test-memchr.c (do_one_test): Likewise.
12042 (do_test): Likewise.
12043 * string/test-memcmp.c (do_one_test): Likewise.
12044 (do_test): Likewise.
12045 * string/test-memcpy.c (do_one_test): Likewise.
12046 (do_test): Likewise.
12047 * string/test-memmem.c (do_one_test): Likewise.
12048 (do_test): Likewise.
12049 (do_random_tests): Likewise.
12050 * string/test-memmove.c (do_one_test): Likewise.
12051 (do_test): Likewise.
12052 * string/test-memset.c (do_one_test): Likewise.
12053 (do_test): Likewise.
12054 * string/test-rawmemchr.c (do_one_test): Likewise.
12055 (do_test): Likewise.
12056 * string/test-strcasecmp.c (do_one_test): Likewise.
12057 (do_test): Likewise.
12058 * string/test-strcasestr.c (do_one_test): Likewise.
12059 (do_test): Likewise.
12060 * string/test-strcat.c (do_one_test): Likewise.
12061 (do_test): Likewise.
12062 * string/test-strchr.c (do_one_test): Likewise.
12063 (do_test): Likewise.
12064 * string/test-strcmp.c (do_one_test): Likewise.
12065 (do_test): Likewise.
12066 * string/test-strcpy.c (do_one_test): Likewise.
12067 (do_test): Likewise.
12068 * string/test-string.h: Likewise.
12069 (test_init): Likewise.
12070 * string/test-strlen.c (do_one_test): Likewise.
12071 (do_test): Likewise.
12072 * string/test-strncasecmp.c (do_one_test): Likewise.
12073 (do_test): Likewise.
12074 * string/test-strncat.c (do_one_test): Likewise.
12075 (do_test): Likewise.
12076 * string/test-strncmp.c (do_one_test): Likewise.
12077 (do_test_limit): Likewise.
12078 (do_test): Likewise.
12079 * string/test-strncpy.c (do_one_test): Likewise.
12080 (do_test): Likewise.
12081 * string/test-strnlen.c (do_one_test): Likewise.
12082 (do_test): Likewise.
12083 * string/test-strpbrk.c (do_one_test): Likewise.
12084 (do_test): Likewise.
12085 * string/test-strrchr.c (do_one_test): Likewise.
12086 (do_test): Likewise.
12087 * string/test-strspn.c (do_one_test): Likewise.
12088 (do_test): Likewise.
12089 * string/test-strstr.c (do_one_test): Likewise.
12090 (do_test): Likewise.
12092 * benchtests/Makefile (string-bench): Add string benchmarks.
12093 * benchtests/bench-bcopy-ifunc.c: New file.
12094 * benchtests/bench-bcopy.c: New file.
12095 * benchtests/bench-bzero-ifunc.c: New file.
12096 * benchtests/bench-bzero.c: New file.
12097 * benchtests/bench-memccpy-ifunc.c: New file.
12098 * benchtests/bench-memccpy.c: New file.
12099 * benchtests/bench-memchr-ifunc.c: New file.
12100 * benchtests/bench-memchr.c: New file.
12101 * benchtests/bench-memcmp-ifunc.c: New file.
12102 * benchtests/bench-memcmp.c: New file.
12103 * benchtests/bench-memmem-ifunc.c: New file.
12104 * benchtests/bench-memmem.c: New file.
12105 * benchtests/bench-memmove-ifunc.c: New file.
12106 * benchtests/bench-memmove.c: New file.
12107 * benchtests/bench-mempcpy-ifunc.c: New file.
12108 * benchtests/bench-mempcpy.c: New file.
12109 * benchtests/bench-memset-ifunc.c: New file.
12110 * benchtests/bench-memset.c: New file.
12111 * benchtests/bench-rawmemchr-ifunc.c: New file.
12112 * benchtests/bench-rawmemchr.c: New file.
12113 * benchtests/bench-stpcpy-ifunc.c: New file.
12114 * benchtests/bench-stpcpy.c: New file.
12115 * benchtests/bench-stpncpy-ifunc.c: New file.
12116 * benchtests/bench-stpncpy.c: New file.
12117 * benchtests/bench-strcasecmp-ifunc.c: New file.
12118 * benchtests/bench-strcasecmp.c: New file.
12119 * benchtests/bench-strcasestr-ifunc.c: New file.
12120 * benchtests/bench-strcasestr.c: New file.
12121 * benchtests/bench-strcat-ifunc.c: New file.
12122 * benchtests/bench-strcat.c: New file.
12123 * benchtests/bench-strchr-ifunc.c: New file.
12124 * benchtests/bench-strchr.c: New file.
12125 * benchtests/bench-strchrnul-ifunc.c: New file.
12126 * benchtests/bench-strchrnul.c: New file.
12127 * benchtests/bench-strcmp-ifunc.c: New file.
12128 * benchtests/bench-strcmp.c: New file.
12129 * benchtests/bench-strcpy-ifunc.c: New file.
12130 * benchtests/bench-strcpy.c: New file.
12131 * benchtests/bench-strcspn-ifunc.c: New file.
12132 * benchtests/bench-strcspn.c: New file.
12133 * benchtests/bench-strlen-ifunc.c: New file.
12134 * benchtests/bench-strlen.c: New file.
12135 * benchtests/bench-strncasecmp-ifunc.c: New file.
12136 * benchtests/bench-strncasecmp.c: New file.
12137 * benchtests/bench-strncat-ifunc.c: New file.
12138 * benchtests/bench-strncat.c: New file.
12139 * benchtests/bench-strncmp-ifunc.c: New file.
12140 * benchtests/bench-strncmp.c: New file.
12141 * benchtests/bench-strncpy-ifunc.c: New file.
12142 * benchtests/bench-strncpy.c: New file.
12143 * benchtests/bench-strnlen-ifunc.c: New file.
12144 * benchtests/bench-strnlen.c: New file.
12145 * benchtests/bench-strpbrk-ifunc.c: New file.
12146 * benchtests/bench-strpbrk.c: New file.
12147 * benchtests/bench-strrchr-ifunc.c: New file.
12148 * benchtests/bench-strrchr.c: New file.
12149 * benchtests/bench-strspn-ifunc.c: New file.
12150 * benchtests/bench-strspn.c: New file.
12151 * benchtests/bench-strstr-ifunc.c: New file.
12152 * benchtests/bench-strstr.c: New file.
12154 * benchtests/Makefile: Disable parallel execution of targets.
12155 (string-bench): Add memcpy.
12156 (benchset): New variable to store a list of benchmark sets.
12157 (bench-func): Renamed from bench.
12158 (bench-set): New target.
12159 (bench): Depend on bench-func and bench-set.
12160 * benchtests/README: Add section on benchmark sets.
12161 * benchtests/bench-memcpy-ifunc.c: New file.
12162 * benchtests/bench-memcpy.c: New file.
12163 * benchtests/bench-string.h: New file.
12165 2013-06-11 Andreas Schwab <schwab@suse.de>
12168 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12169 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12170 values in the triple.
12171 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12172 terminator in the group key.
12174 2013-06-11 Andreas Jaeger <aj@suse.de>
12176 * po/zh_TW.po: Update Chinese (traditional) translation from
12177 translation project.
12179 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12181 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12182 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12183 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12184 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12185 (clock_getcpuclockid): Likewise.
12186 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12187 Add weak_alias and libc_hidden_def.
12188 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12189 * rt/clock_gettime.c (clock_gettime): Rename to
12190 __clock_gettime. Add weak_alias and libc_hidden_def.
12191 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12192 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12193 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12194 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12195 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12197 * rt/clock_settime.c (clock_settime): Rename to
12198 __clock_settime. Add weak_alias and libc_hidden_def.
12199 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12201 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12203 * mach/err_boot.sub: Remove trailing whitespace.
12204 * mach/err_ipc.sub: Likewise.
12205 * mach/err_mach.sub: Likewise.
12207 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12208 (ROUNDING_TESTS_double): Likewise.
12209 (ROUNDING_TESTS_long_double): Likewise.
12210 (ROUNDING_TESTS): Likewise.
12211 * math/libm-test.inc: Include <math-tests.h>.
12212 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12213 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12214 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12215 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12217 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12219 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12222 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12224 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12225 otherwise empty TRANS lines.
12226 * sysdeps/gnu/errlist.c: Regenerated.
12228 * catgets/gencat.c (error_print): Use (void) in function
12230 * crypt/crypt_util.c (__init_des): Likewise.
12231 * crypt/speeds.c (Stop): Likewise.
12233 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12234 * inet/ruserpass.c (token): Likewise.
12235 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12236 * intl/localealias.c (extend_alias_table): Likewise.
12237 * intl/plural-exp.c (init_germanic_plural): Likewise.
12238 * libio/fcloseall.c (__fcloseall): Likewise.
12239 * libio/genops.c (_IO_flush_all): Likewise.
12240 (_IO_flush_all_linebuffered): Likewise.
12241 (_IO_cleanup): Likewise.
12242 (_IO_iter_begin): Likewise.
12243 (_IO_iter_end): Likewise.
12244 (_IO_list_lock): Likewise.
12245 (_IO_list_unlock): Likewise.
12246 (_IO_list_resetlock): Likewise.
12247 * libio/getchar.c (getchar): Likewise.
12248 * libio/getchar_u.c (getchar_unlocked): Likewise.
12249 * libio/getwchar.c (getwchar): Likewise.
12250 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12251 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12252 * login/getpt.c (__getpt): Likewise.
12253 * login/tst-utmp.c (main): Likewise.
12254 * malloc/hooks.c (__malloc_check_init): Likewise.
12255 * malloc/malloc.c (__malloc_stats): Likewise.
12256 * malloc/mtrace.c (tr_break): Likewise.
12257 (mtrace): Likewise.
12258 (muntrace): Likewise.
12259 * misc/fstab.c (endfsent): Likewise.
12260 * misc/getclktck.c (__getclktck): Likewise.
12261 * misc/getdtsz.c (__getdtablesize): Likewise.
12262 * misc/gethostid.c (gethostid): Likewise.
12263 * misc/getpagesize.c (__getpagesize): Likewise.
12264 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12265 (__get_nprocs): Likewise.
12266 (__get_phys_pages): Likewise.
12267 (__get_avphys_pages): Likewise.
12268 * misc/getttyent.c (getttyent): Likewise.
12269 (setttyent): Likewise.
12270 (endttyent): Likewise.
12271 * misc/getusershell.c (getusershell): Likewise.
12272 (endusershell): Likewise.
12273 (setusershell): Likewise.
12274 (initshells): Likewise.
12275 * misc/hsearch.c (__hdestroy): Likewise.
12276 * misc/sync.c (sync): Likewise.
12277 * misc/syslog.c (closelog_internal): Likewise.
12278 (closelog): Likewise.
12279 * misc/ttyslot.c (ttyslot): Likewise.
12280 * misc/vhangup.c (vhangup): Likewise.
12281 * posix/fork.c (__fork): Likewise.
12282 * posix/getegid.c (__getegid): Likewise.
12283 * posix/geteuid.c (__geteuid): Likewise.
12284 * posix/getgid.c (__getgid): Likewise.
12285 * posix/getpid.c (__getpid): Likewise.
12286 * posix/getppid.c (__getppid): Likewise.
12287 * posix/getuid.c (__getuid): Likewise.
12288 * posix/pause.c (pause): Likewise.
12289 * posix/setpgrp.c (setpgrp): Likewise.
12290 * posix/setsid.c (__setsid): Likewise.
12291 * posix/test-vfork.c (noop): Likewise.
12292 * resolv/gethnamaddr.c (_endhtent): Likewise.
12293 (_gethtent): Likewise.
12294 (ht_endhostent): Likewise.
12295 (gethostent): Likewise.
12296 (dns_service): Likewise.
12297 * stdlib/drand48.c (drand48): Likewise.
12298 * stdlib/lrand48.c (lrand48): Likewise.
12299 * stdlib/mrand48.c (mrand48): Likewise.
12300 * stdlib/rand.c (rand): Likewise.
12301 * stdlib/random.c (__random): Likewise.
12302 * stdlib/setenv.c (clearenv): Likewise.
12303 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12304 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12305 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12306 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12307 (__get_nprocs): Likewise.
12308 (__get_phys_pages): Likewise.
12309 (__get_avphys_pages): Likewise.
12310 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12311 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12312 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12313 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12314 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12315 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12316 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12317 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12318 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12319 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12320 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12321 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12322 * sysdeps/posix/clock.c (clock): Likewise.
12323 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12324 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12325 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12326 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12327 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12329 (__get_nprocs_conf): Likewise.
12330 (__get_phys_pages): Likewise.
12331 (__get_avphys_pages): Likewise.
12332 * time/clock.c (clock): Likewise.
12333 * time/tzset.c (__tzname_max): Likewise.
12335 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12337 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12338 (__bswap_32): Do not use "register".
12339 * crypt/crypt.c (_ufc_doit_r): Likewise.
12340 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12341 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12342 * gmon/gmon.c (__monstartup): Likewise.
12343 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12344 * hurd/hurdmalloc.c (more_memory): Likewise.
12345 (malloc): Likewise.
12347 (realloc): Likewise.
12348 (malloc_fork_prepare): Likewise.
12349 (malloc_fork_parent): Likewise.
12350 (malloc_fork_child): Likewise.
12351 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12352 (_svcauth_des): Likewise.
12353 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12354 * inet/inet_net.c (inet_network): Likewise.
12355 * inet/inet_netof.c (inet_netof): Likewise.
12356 * inet/rcmd.c (__validuser2_sa): Likewise.
12357 * io/fts.c (fts_open): Likewise.
12358 (fts_load): Likewise.
12359 (fts_close): Likewise.
12360 (fts_read): Likewise.
12361 (fts_children): Likewise.
12362 (fts_build): Likewise.
12363 (fts_stat): Likewise.
12364 (fts_sort): Likewise.
12365 (fts_alloc): Likewise.
12366 (fts_lfree): Likewise.
12367 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12368 (_IO_file_xsgetn): Likewise.
12369 (_IO_file_xsgetn_mmap): Likewise.
12370 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12371 (_IO_cookie_write): Likewise.
12372 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12373 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12374 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12375 * malloc/obstack.c (_obstack_begin): Likewise.
12376 (_obstack_begin_1): Likewise.
12377 (_obstack_newchunk): Likewise.
12378 (_obstack_allocated_p): Likewise.
12379 (obstack_free): Likewise.
12380 (_obstack_memory_used): Likewise.
12381 * misc/getttyent.c (getttynam): Likewise.
12382 (getttyent): Likewise.
12385 * misc/getusershell.c (initshells): Likewise.
12386 * misc/syslog.c (__vsyslog_chk): Likewise.
12387 * misc/ttyslot.c (ttyslot): Likewise.
12388 * nis/nis_hash.c (__nis_hash): Likewise.
12389 * posix/fnmatch_loop.c (FCT): Likewise.
12390 * posix/getconf.c (print_all): Likewise.
12392 * posix/getopt.c (exchange): Likewise.
12393 * posix/glob.c (globfree): Likewise.
12394 (prefix_array): Likewise.
12395 (__glob_pattern_type): Likewise.
12396 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12397 (NS_GET32): Likewise.
12398 (NS_PUT16): Likewise.
12399 (NS_PUT32): Likewise.
12400 * resolv/gethnamaddr.c (getanswer): Likewise.
12401 (gethostbyname2): Likewise.
12402 (gethostbyaddr): Likewise.
12403 (_gethtent): Likewise.
12404 (_gethtbyname2): Likewise.
12405 (_gethtbyaddr): Likewise.
12406 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12407 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12408 * resolv/res_init.c (__res_vinit): Likewise.
12409 (net_mask): Likewise.
12410 * resolv/res_mkquery.c (outchar): Likewise.
12412 * stdio-common/printf_fp.c (outchar): Likewise.
12414 * stdio-common/printf_fphex.c (outchar): Likewise.
12416 * stdio-common/printf_size.c (outchar): Likewise.
12418 * stdio-common/test_rdwr.c (main): Likewise.
12419 * stdio-common/tfformat.c (matches): Likewise.
12420 * stdio-common/vfprintf.c (outchar): Likewise.
12421 (printf_unknown): Likewise.
12422 (buffered_vfprintf): Likewise.
12423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12424 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12425 (ReadFile): Likewise.
12426 * stdlib/qsort.c (SWAP): Likewise.
12427 (_quicksort): Likewise.
12428 * stdlib/setenv.c (__add_to_environ): Likewise.
12429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12430 * stdlib/strtol_l.c (__strtol_l): Likewise.
12431 * stdlib/tst-strtod.c (main): Likewise.
12432 * stdlib/tst-strtol.c (main): Likewise.
12433 * stdlib/tst-strtoll.c (main): Likewise.
12434 * string/bits/string2.h (__strcmp_cc): Likewise.
12435 (__strcmp_cg): Likewise.
12436 (__strcspn_c1): Likewise.
12437 (__strcspn_c2): Likewise.
12438 (__strcspn_c3): Likewise.
12439 (__strspn_c1): Likewise.
12440 (__strspn_c2): Likewise.
12441 (__strspn_c3): Likewise.
12442 (__strsep_1c): Likewise.
12443 (__strsep_2c): Likewise.
12444 (__strsep_3c): Likewise.
12445 * string/memccpy.c (__memccpy): Likewise.
12446 * string/stpcpy.c (__stpcpy): Likewise.
12447 * string/strcmp.c (strcmp): Likewise.
12448 * string/strrchr.c (strrchr): Likewise.
12449 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12451 * sysdeps/mach/hurd/getcwd.c
12452 (_hurd_canonicalize_directory_name_internal): Likewise.
12453 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12454 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12455 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12456 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12457 Likewise, in both definitions.
12458 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12460 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12461 64] (__bswap_64): Likewise.
12462 * time/test_time.c (main): Likewise.
12463 * time/tzfile.c (__tzfile_read): Likewise.
12464 (__tzfile_compute): Likewise.
12465 * time/tzset.c (__tzset_parse_tz): Likewise.
12466 (tzset_internal): Likewise.
12467 (compute_change): Likewise.
12468 * wcsmbs/wcscat.c (__wcscat): Likewise.
12469 * wcsmbs/wcschr.c (wcschr): Likewise.
12470 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12471 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12472 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12473 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12474 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12475 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12476 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12477 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12478 * wcsmbs/wmemset.c (wmemset): Likewise.
12480 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12482 * scripts/config.guess: Update to version 2013-05-16.
12483 * scripts/config.sub: Update to version 2013-04-24.
12484 * scripts/install-sh: Update to version 2011-11-20.07.
12485 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12486 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12488 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12490 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12491 * elf/sln.c: Likewise.
12492 * hurd/hurd/ioctl.h: Likewise.
12493 * hurd/hurdmalloc.c: Likewise.
12494 * hurd/xattr.c: Likewise.
12495 * include/shlib-compat.h: Likewise.
12496 * inet/ruserpass.c: Likewise.
12497 * libio/iofgets_u.c: Likewise.
12498 * libio/iofgetws_u.c: Likewise.
12499 * locale/programs/ld-identification.c: Likewise.
12500 * locale/programs/ld-time.c: Likewise.
12501 * mach/msg-destroy.c: Likewise.
12502 * nss/nss_files/files-netgrp.c: Likewise.
12503 * resolv/res_data.c: Likewise.
12504 * soft-fp/op-1.h: Likewise.
12505 * soft-fp/op-2.h: Likewise.
12506 * soft-fp/op-4.h: Likewise.
12507 * soft-fp/op-common.h: Likewise.
12508 * stdio-common/printf_fphex.c: Likewise.
12509 * stdlib/strtod_l.c: Likewise.
12510 * sunrpc/rpc/clnt.h: Likewise.
12511 * sysdeps/generic/framestate.c: Likewise.
12512 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12513 * sysdeps/i386/bsd-setjmp.S: Likewise.
12514 * sysdeps/i386/__longjmp.S: Likewise.
12515 * sysdeps/i386/setjmp.S: Likewise.
12516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12517 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12518 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12526 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12534 * sysdeps/ieee754/support.c: Likewise.
12535 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12536 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12537 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12538 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12539 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12540 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12541 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12542 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12543 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12544 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12545 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12546 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12547 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12548 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12549 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12550 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12551 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12554 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12556 * posix/transbug.c: Remove executable mode.
12558 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12560 * crypt/speeds.c: Remove trailing whitespace.
12561 * dlfcn/default.c: Likewise.
12562 * elf/ifuncdep2.c: Likewise.
12563 * elf/ifuncmain1.c: Likewise.
12564 * elf/ifuncmain1vis.c: Likewise.
12565 * elf/testobj.h: Likewise.
12566 * elf/tst-stackguard1.c: Likewise.
12567 * gmon/sys/gmon.h: Likewise.
12568 * hurd/hurdmsg.c: Likewise.
12569 * hurd/new-fd.c: Likewise.
12570 * hurd/ports-get.c: Likewise.
12571 * iconvdata/ibm1008_420.c: Likewise.
12572 * inet/tst-getni1.c: Likewise.
12573 * inet/tst-getni2.c: Likewise.
12574 * libio/ioungetc.c: Likewise.
12575 * libio/wfiledoalloc.c: Likewise.
12576 * manual/libm-err-tab.pl: Likewise.
12577 * math/w_dremf.c: Likewise.
12578 * misc/ftruncate.c: Likewise.
12579 * posix/bug-glob2.c: Likewise.
12580 * posix/tst-pcre.c: Likewise.
12581 * posix/wait4.c: Likewise.
12582 * resolv/README: Likewise.
12583 * resolv/res_debug.h: Likewise.
12584 * resolv/tst-inet_ntop.c: Likewise.
12585 * setjmp/bug269-setjmp.c: Likewise.
12586 * soft-fp/extended.h: Likewise.
12587 * soft-fp/op-1.h: Likewise.
12588 * soft-fp/op-2.h: Likewise.
12589 * soft-fp/op-4.h: Likewise.
12590 * soft-fp/op-8.h: Likewise.
12591 * soft-fp/testit.c: Likewise.
12592 * stdio-common/bug16.c: Likewise.
12593 * stdlib/random.c: Likewise.
12594 * sunrpc/rpcsvc/rquota.x: Likewise.
12595 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12600 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12604 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12605 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12624 * sysdeps/ieee754/s_lib_version.c: Likewise.
12625 * sysdeps/mach/hurd/check_fds.c: Likewise.
12626 * sysdeps/mach/hurd/getsockname.c: Likewise.
12627 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12628 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12629 * sysdeps/powerpc/bits/link.h: Likewise.
12630 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12631 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12632 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12633 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12634 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12635 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12636 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12637 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12638 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12649 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12650 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12651 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12652 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12653 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12654 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12657 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12658 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12663 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12664 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12666 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12667 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12668 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12669 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12670 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12671 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12672 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12673 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12674 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12675 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12677 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12682 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12683 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12684 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12686 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12689 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12690 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12691 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12692 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12694 * sysdeps/powerpc/sysdep.h: Likewise.
12695 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12696 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12697 * sysdeps/sh/dl-trampoline.S: Likewise.
12698 * sysdeps/sh/memset.S: Likewise.
12699 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12700 * sysdeps/sh/strlen.S: Likewise.
12701 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12702 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12703 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12704 * sysdeps/sparc/sparc32/rem.S: Likewise.
12705 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12706 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12707 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12708 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12709 * sysdeps/sparc/sparc32/urem.S: Likewise.
12710 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12711 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12712 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12713 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12715 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12716 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12717 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12718 * sysdeps/unix/bsd/times.c: Likewise.
12719 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12720 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12728 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12729 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12730 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12731 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12732 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12733 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12734 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12735 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12736 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12737 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12738 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12739 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12740 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12741 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12742 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12743 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12744 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12747 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12748 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12749 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12750 * sysdeps/x86_64/strcspn.S: Likewise.
12752 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12754 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12755 generated file. Regenerate properly from gen-translit.pl.
12756 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12757 locale/C-translit.h.
12759 2013-06-05 Andreas Schwab <schwab@suse.de>
12762 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12763 week as 6 instead of -1.
12764 * time/tst-strptime.c (day_tests): Add test case.
12766 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12768 * sysdeps/generic/math_private.h
12769 (libc_feholdexcept_setround_53bit): Replace with
12770 libc_feholdsetround_53bit.
12771 (libc_feupdateenv_53bit): Replace with
12772 libc_feresetround_53bit.
12773 (SET_RESTORE_ROUND_53BIT): Adjust.
12775 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12777 * string/test-strchrnul.c: Add copyright header.
12779 * posix/tst-getaddrinfo4.c: Increase test timeout.
12781 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12784 * math/libm-test.inc (MAX_EXP): Remove
12786 (ulp): Use MIN_EXP - MANT_DIG.
12787 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12789 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12791 * po/be.po: Revert last change.
12792 * po/zh_CN.po: Likewise.
12793 * po/header.pot: Likewise.
12795 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12797 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12798 link-libc-deps to empty as target-specific variable.
12799 * Makerules (link-libc-args): New variable.
12800 (libc-for-link): Likewise.
12801 (link-libc-deps): Likewise.
12802 (lib%.so): Depend on $(link-libc-deps). Link with
12804 (build-module): Link with $(link-libc-args).
12805 (build-module-asneeded): Likewise.
12806 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12808 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12809 target-specific variable.
12810 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12811 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12812 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12814 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12816 ($(objpfx)libpcprofile.so): Likewise.
12817 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12819 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12820 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12821 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12823 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12824 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12825 * login/Makefile ($(objpfx)libutil.so): Likewise.
12826 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12827 * math/Makefile ($(objpfx)libm.so): Likewise.
12828 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12829 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12830 variable instead of depending directly on libc.
12831 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12832 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12834 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12836 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12837 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12838 ($(objpfx)libanl.so): Likewise.
12839 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12841 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12843 * sysdeps/i386/fpu/Makefile: Remove file.
12844 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12845 ($(objpfx)libm.so): Remove dependency on ld.so.
12847 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12850 * nis/yp_xdr.c (XDRMAXNAME): Define.
12851 (XDRMAXRECORD): Define.
12852 (xdr_domainname): Use XDRMAXNAME.
12853 (xdr_mapname): Likewise.
12854 (xdr_peername): Likewise.
12855 (xdr_keydat): Use XDRMAXRECORD.
12856 (xdr_valdat): Likewise.
12858 2013-05-30 Jeff Law <law@redhat.com>
12861 * manual/errno.texi (ESTALE): Update to account for more than
12862 just NFS file systems.
12863 * sysdeps/gnu/errlist.c: Regenerated.
12865 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12868 * elf/Makefile (tests): Add tst-null-argv.
12869 (modules-names): Add tst-null-argv-lib.
12870 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12871 (tst-null-argv-ENV): Set environment for tst-null-argv.
12872 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12873 (RTLD_PROGNAME): New macro.
12874 * elf/tst-null-argv.c: New test case.
12875 * elf/tst-null-argv-lib.c: Library for test case.
12876 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12877 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12878 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12879 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12880 * elf/dl-init.c (call_init): Likewise.
12881 (_dl_init): Likewise.
12882 * elf/dl-load.c (print_search_path): Likewise.
12883 (_dl_map_object): Likewise.
12884 * elf/dl-lookup.c (do_lookup_x): Likewise.
12885 (add_dependency): Likewise.
12886 (_dl_lookup_symbol_x): Likewise.
12887 (_dl_debug_bindings): Likewise.
12888 * elf/dl-open.c (_dl_show_scope): Likewise.
12889 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12890 * elf/dl-version.c (match_symbol): Likewise.
12891 (_dl_check_map_versions): Likewise.
12892 * elf/rtld.c (dl_main): Likewise.
12893 (print_unresolved): Use RTLD_PROGNAME.
12894 (print_missing_version): Likewise.
12895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12896 (elf_machine_rela): Likewise.
12897 * sysdeps/powerpc/powerpc32/dl-machine.c
12898 (__process_machine_rela): Likewise.
12899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12903 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12905 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12906 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12912 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12914 * po/be.po: Add descriptive title.
12915 * po/zh_CN.po: Likewise.
12916 * po/header.pot: Likewise.
12918 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12920 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12922 (enlarge_archive): Likewise.
12924 2013-05-28 Ben North <ben@redfrontdoor.org>
12926 * manual/arith.texi (frexp): It is the magnitude of the return
12927 value which lies in [0.5, 1), not the return value itself.
12929 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12933 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12935 * stdio-common/bug26.c (main): Correct fscanf template.
12937 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12938 declare _dl_skip_args.
12940 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12943 * manual/platform.texi: Add missing @end deftypefun.
12945 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12948 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12949 bit of mantissa of 2^16382.
12950 * math/libm-test.inc (hypot_test_data): Add more tests.
12952 * math/libm-test.inc: Add drem and pow10 to list of tested
12954 (pow10_test): New function.
12955 (drem_test): Likewise.
12956 (drem_test_tonearest): Likewise.
12957 (drem_test_towardzero): Likewise.
12958 (drem_test_downward): Likewise.
12959 (drem_test_upward): Likewise.
12960 (main): Call the new functions.
12962 * math/libm-test.inc (finite_test_data): Remove.
12963 (finite_test): Run tests from isfinite_test_data.
12964 (gamma_test_data): Remove.
12965 (gamma_test): Run tests from lgamma_test_data.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12969 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12971 * manual/platform.texi: Add PowerPC PPR function set documentation.
12972 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12975 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12977 * math/libm-test.inc (MAX_EXP): Define.
12979 (ulp): New function.
12980 (check_float_internal): Use ULPDIFF.
12981 (cpow_test): Disable failing test.
12982 (check_ulp): Test ulp() implemetnation.
12983 (main): Call check_ulp before starting tests.
12985 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12987 * math/gen-libm-test.pl (generate_testfile): Do not handle
12988 START_DATA and END_DATA.
12989 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12991 (acos_tonearest_test_data): Likewise.
12992 (acos_towardzero_test_data): Likewise.
12993 (acos_downward_test_data): Likewise.
12994 (acos_upward_test_data): Likewise.
12995 (acosh_test_data): Likewise.
12996 (asin_test_data): Likewise.
12997 (asin_tonearest_test_data): Likewise.
12998 (asin_towardzero_test_data): Likewise.
12999 (asin_downward_test_data): Likewise.
13000 (asin_upward_test_data): Likewise.
13001 (asinh_test_data): Likewise.
13002 (atan_test_data): Likewise.
13003 (atanh_test_data): Likewise.
13004 (atan2_test_data): Likewise.
13005 (cabs_test_data): Likewise.
13006 (cacos_test_data): Likewise.
13007 (cacosh_test_data): Likewise.
13008 (carg_test_data): Likewise.
13009 (casin_test_data): Likewise.
13010 (casinh_test_data): Likewise.
13011 (catan_test_data): Likewise.
13012 (catanh_test_data): Likewise.
13013 (cbrt_test_data): Likewise.
13014 (ccos_test_data): Likewise.
13015 (ccosh_test_data): Likewise.
13016 (ceil_test_data): Likewise.
13017 (cexp_test_data): Likewise.
13018 (cimag_test_data): Likewise.
13019 (clog_test_data): Likewise.
13020 (clog10_test_data): Likewise.
13021 (conj_test_data): Likewise.
13022 (copysign_test_data): Likewise.
13023 (cos_test_data): Likewise.
13024 (cos_tonearest_test_data): Likewise.
13025 (cos_towardzero_test_data): Likewise.
13026 (cos_downward_test_data): Likewise.
13027 (cos_upward_test_data): Likewise.
13028 (cosh_test_data): Likewise.
13029 (cosh_tonearest_test_data): Likewise.
13030 (cosh_towardzero_test_data): Likewise.
13031 (cosh_downward_test_data): Likewise.
13032 (cosh_upward_test_data): Likewise.
13033 (cpow_test_data): Likewise.
13034 (cproj_test_data): Likewise.
13035 (creal_test_data): Likewise.
13036 (csin_test_data): Likewise.
13037 (csinh_test_data): Likewise.
13038 (csqrt_test_data): Likewise.
13039 (ctan_test_data): Likewise.
13040 (ctan_tonearest_test_data): Likewise.
13041 (ctan_towardzero_test_data): Likewise.
13042 (ctan_downward_test_data): Likewise.
13043 (ctan_upward_test_data): Likewise.
13044 (ctanh_test_data): Likewise.
13045 (ctanh_tonearest_test_data): Likewise.
13046 (ctanh_towardzero_test_data): Likewise.
13047 (ctanh_downward_test_data): Likewise.
13048 (ctanh_upward_test_data): Likewise.
13049 (erf_test_data): Likewise.
13050 (erfc_test_data): Likewise.
13051 (exp_test_data): Likewise.
13052 (exp_tonearest_test_data): Likewise.
13053 (exp_towardzero_test_data): Likewise.
13054 (exp_downward_test_data): Likewise.
13055 (exp_upward_test_data): Likewise.
13056 (exp10_test_data): Likewise.
13057 (exp2_test_data): Likewise.
13058 (expm1_test_data): Likewise.
13059 (fabs_test_data): Likewise.
13060 (fdim_test_data): Likewise.
13061 (finite_test_data): Likewise.
13062 (floor_test_data): Likewise.
13063 (fma_test_data): Likewise.
13064 (fma_towardzero_test_data): Likewise.
13065 (fma_downward_test_data): Likewise.
13066 (fma_upward_test_data): Likewise.
13067 (fmax_test_data): Likewise.
13068 (fmin_test_data): Likewise.
13069 (fmod_test_data): Likewise.
13070 (fpclassify_test_data): Likewise.
13071 (frexp_test_data): Likewise.
13072 (gamma_test_data): Likewise.
13073 (hypot_test_data): Likewise.
13074 (ilogb_test_data): Likewise.
13075 (isfinite_test_data): Likewise.
13076 (isgreater_test_data): Likewise.
13077 (isgreaterequal_test_data): Likewise.
13078 (isinf_test_data): Likewise.
13079 (isless_test_data): Likewise.
13080 (islessequal_test_data): Likewise.
13081 (islessgreater_test_data): Likewise.
13082 (isnan_test_data): Likewise.
13083 (isnormal_test_data): Likewise.
13084 (issignaling_test_data): Likewise.
13085 (isunordered_test_data): Likewise.
13086 (j0_test_data): Likewise.
13087 (j1_test_data): Likewise.
13088 (jn_test_data): Likewise.
13089 (ldexp_test_data): Likewise.
13090 (lgamma_test_data): Likewise.
13091 (lrint_test_data): Likewise.
13092 (lrint_tonearest_test_data): Likewise.
13093 (lrint_towardzero_test_data): Likewise.
13094 (lrint_downward_test_data): Likewise.
13095 (lrint_upward_test_data): Likewise.
13096 (llrint_test_data): Likewise.
13097 (llrint_tonearest_test_data): Likewise.
13098 (llrint_towardzero_test_data): Likewise.
13099 (llrint_downward_test_data): Likewise.
13100 (llrint_upward_test_data): Likewise.
13101 (log_test_data): Likewise.
13102 (log10_test_data): Likewise.
13103 (log1p_test_data): Likewise.
13104 (log2_test_data): Likewise.
13105 (logb_test_data): Likewise.
13106 (logb_downward_test_data): Likewise.
13107 (lround_test_data): Likewise.
13108 (llround_test_data): Likewise.
13109 (modf_test_data): Likewise.
13110 (nearbyint_test_data): Likewise.
13111 (nextafter_test_data): Likewise.
13112 (nexttoward_test_data): Likewise.
13113 (pow_test_data): Likewise.
13114 (pow_tonearest_test_data): Likewise.
13115 (pow_towardzero_test_data): Likewise.
13116 (pow_downward_test_data): Likewise.
13117 (pow_upward_test_data): Likewise.
13118 (remainder_test_data): Likewise.
13119 (remainder_tonearest_test_data): Likewise.
13120 (remainder_towardzero_test_data): Likewise.
13121 (remainder_downward_test_data): Likewise.
13122 (remainder_upward_test_data): Likewise.
13123 (remquo_test_data): Likewise.
13124 (rint_test_data): Likewise.
13125 (rint_tonearest_test_data): Likewise.
13126 (rint_towardzero_test_data): Likewise.
13127 (rint_downward_test_data): Likewise.
13128 (rint_upward_test_data): Likewise.
13129 (round_test_data): Likewise.
13130 (scalb_test_data): Likewise.
13131 (scalbn_test_data): Likewise.
13132 (scalbln_test_data): Likewise.
13133 (signbit_test_data): Likewise.
13134 (sin_test_data): Likewise.
13135 (sin_tonearest_test_data): Likewise.
13136 (sin_towardzero_test_data): Likewise.
13137 (sin_downward_test_data): Likewise.
13138 (sin_upward_test_data): Likewise.
13139 (sincos_test_data): Likewise.
13140 (sinh_test_data): Likewise.
13141 (sinh_tonearest_test_data): Likewise.
13142 (sinh_towardzero_test_data): Likewise.
13143 (sinh_downward_test_data): Likewise.
13144 (sinh_upward_test_data): Likewise.
13145 (sqrt_test_data): Likewise.
13146 (tan_test_data): Likewise.
13147 (tan_tonearest_test_data): Likewise.
13148 (tan_towardzero_test_data): Likewise.
13149 (tan_downward_test_data): Likewise.
13150 (tan_upward_test_data): Likewise.
13151 (tanh_test_data): Likewise.
13152 (tgamma_test_data): Likewise.
13153 (trunc_test_data): Likewise.
13154 (y0_test_data): Likewise.
13155 (y1_test_data): Likewise.
13156 (yn_test_data): Likewise.
13157 (significand_test_data): Likewise.
13159 * math/gen-libm-test.pl (@functions): Remove variable.
13160 (generate_testfile): Don't handle START and END lines.
13161 * math/libm-test.inc (START): New macro.
13163 (END_COMPLEX): Likewise.
13164 (acos_test): Use END macro without arguments.
13165 (acos_test_tonearest): Likewise.
13166 (acos_test_towardzero): Likewise.
13167 (acos_test_downward): Likewise.
13168 (acos_test_upward): Likewise.
13169 (acosh_test): Likewise.
13170 (asin_test): Likewise.
13171 (asin_test_tonearest): Likewise.
13172 (asin_test_towardzero): Likewise.
13173 (asin_test_downward): Likewise.
13174 (asin_test_upward): Likewise.
13175 (asinh_test): Likewise.
13176 (atan_test): Likewise.
13177 (atanh_test): Likewise.
13178 (atan2_test): Likewise.
13179 (cabs_test): Likewise.
13180 (cacos_test): Use END_COMPLEX macro without arguments.
13181 (cacosh_test): Likewise.
13182 (carg_test): Use END macro without arguments.
13183 (casin_test): Use END_COMPLEX macro without arguments.
13184 (casinh_test): Likewise.
13185 (catan_test): Likewise.
13186 (catanh_test): Likewise.
13187 (cbrt_test): Use END macro without arguments.
13188 (ccos_test): Use END_COMPLEX macro without arguments.
13189 (ccosh_test): Likewise.
13190 (ceil_test): Use END macro without arguments.
13191 (cexp_test): Use END_COMPLEX macro without arguments.
13192 (cimag_test): Use END macro without arguments.
13193 (clog_test): Use END_COMPLEX macro without arguments.
13194 (clog10_test): Likewise.
13195 (conj_test): Likewise.
13196 (copysign_test): Use END macro without arguments.
13197 (cos_test): Likewise.
13198 (cos_test_tonearest): Likewise.
13199 (cos_test_towardzero): Likewise.
13200 (cos_test_downward): Likewise.
13201 (cos_test_upward): Likewise.
13202 (cosh_test): Likewise.
13203 (cosh_test_tonearest): Likewise.
13204 (cosh_test_towardzero): Likewise.
13205 (cosh_test_downward): Likewise.
13206 (cosh_test_upward): Likewise.
13207 (cpow_test): Use END_COMPLEX macro without arguments.
13208 (cproj_test): Likewise.
13209 (creal_test): Use END macro without arguments.
13210 (csin_test): Use END_COMPLEX macro without arguments.
13211 (csinh_test): Likewise.
13212 (csqrt_test): Likewise.
13213 (ctan_test): Likewise.
13214 (ctan_test_tonearest): Likewise.
13215 (ctan_test_towardzero): Likewise.
13216 (ctan_test_downward): Likewise.
13217 (ctan_test_upward): Likewise.
13218 (ctanh_test): Likewise.
13219 (ctanh_test_tonearest): Likewise.
13220 (ctanh_test_towardzero): Likewise.
13221 (ctanh_test_downward): Likewise.
13222 (ctanh_test_upward): Likewise.
13223 (erf_test): Use END macro without arguments.
13224 (erfc_test): Likewise.
13225 (exp_test): Likewise.
13226 (exp_test_tonearest): Likewise.
13227 (exp_test_towardzero): Likewise.
13228 (exp_test_downward): Likewise.
13229 (exp_test_upward): Likewise.
13230 (exp10_test): Likewise.
13231 (exp2_test): Likewise.
13232 (expm1_test): Likewise.
13233 (fabs_test): Likewise.
13234 (fdim_test): Likewise.
13235 (finite_test): Likewise.
13236 (floor_test): Likewise.
13237 (fma_test): Likewise.
13238 (fma_test_towardzero): Likewise.
13239 (fma_test_downward): Likewise.
13240 (fma_test_upward): Likewise.
13241 (fmax_test): Likewise.
13242 (fmin_test): Likewise.
13243 (fmod_test): Likewise.
13244 (fpclassify_test): Likewise.
13245 (frexp_test): Likewise.
13246 (gamma_test): Likewise.
13247 (hypot_test): Likewise.
13248 (ilogb_test): Likewise.
13249 (isfinite_test): Likewise.
13250 (isgreater_test): Likewise.
13251 (isgreaterequal_test): Likewise.
13252 (isinf_test): Likewise.
13253 (isless_test): Likewise.
13254 (islessequal_test): Likewise.
13255 (islessgreater_test): Likewise.
13256 (isnan_test): Likewise.
13257 (isnormal_test): Likewise.
13258 (issignaling_test): Likewise.
13259 (isunordered_test): Likewise.
13260 (j0_test): Likewise.
13261 (j1_test): Likewise.
13262 (jn_test): Likewise.
13263 (ldexp_test): Likewise.
13264 (lgamma_test): Likewise.
13265 (lrint_test): Likewise.
13266 (lrint_test_tonearest): Likewise.
13267 (lrint_test_towardzero): Likewise.
13268 (lrint_test_downward): Likewise.
13269 (lrint_test_upward): Likewise.
13270 (llrint_test): Likewise.
13271 (llrint_test_tonearest): Likewise.
13272 (llrint_test_towardzero): Likewise.
13273 (llrint_test_downward): Likewise.
13274 (llrint_test_upward): Likewise.
13275 (log_test): Likewise.
13276 (log10_test): Likewise.
13277 (log1p_test): Likewise.
13278 (log2_test): Likewise.
13279 (logb_test): Likewise.
13280 (logb_test_downward): Likewise.
13281 (lround_test): Likewise.
13282 (llround_test): Likewise.
13283 (modf_test): Likewise.
13284 (nearbyint_test): Likewise.
13285 (nextafter_test): Likewise.
13286 (nexttoward_test): Likewise.
13287 (pow_test): Likewise.
13288 (pow_test_tonearest): Likewise.
13289 (pow_test_towardzero): Likewise.
13290 (pow_test_downward): Likewise.
13291 (pow_test_upward): Likewise.
13292 (remainder_test): Likewise.
13293 (remainder_test_tonearest): Likewise.
13294 (remainder_test_towardzero): Likewise.
13295 (remainder_test_downward): Likewise.
13296 (remainder_test_upward): Likewise.
13297 (remquo_test): Likewise.
13298 (rint_test): Likewise.
13299 (rint_test_tonearest): Likewise.
13300 (rint_test_towardzero): Likewise.
13301 (rint_test_downward): Likewise.
13302 (rint_test_upward): Likewise.
13303 (round_test): Likewise.
13304 (scalb_test): Likewise.
13305 (scalbn_test): Likewise.
13306 (scalbln_test): Likewise.
13307 (signbit_test): Likewise.
13308 (sin_test): Likewise.
13309 (sin_test_tonearest): Likewise.
13310 (sin_test_towardzero): Likewise.
13311 (sin_test_downward): Likewise.
13312 (sin_test_upward): Likewise.
13313 (sincos_test): Likewise.
13314 (sinh_test): Likewise.
13315 (sinh_test_tonearest): Likewise.
13316 (sinh_test_towardzero): Likewise.
13317 (sinh_test_downward): Likewise.
13318 (sinh_test_upward): Likewise.
13319 (sqrt_test): Likewise.
13320 (tan_test): Likewise.
13321 (tan_test_tonearest): Likewise.
13322 (tan_test_towardzero): Likewise.
13323 (tan_test_downward): Likewise.
13324 (tan_test_upward): Likewise.
13325 (tanh_test): Likewise.
13326 (tgamma_test): Likewise.
13327 (trunc_test): Likewise.
13328 (y0_test): Likewise.
13329 (y1_test): Likewise.
13330 (yn_test): Likewise.
13331 (significand_test): Likewise.
13333 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13336 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13338 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13341 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13342 __ppc_mdoio and __ppc_mdoom.
13343 * manual/platform.texi: Document new functions __ppc_yield,
13344 __ppc_mdoio and __ppc_mdoom.
13346 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13348 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13349 (main): Mention "tls" pseudo-hwcap is legacy.
13350 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13352 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13354 * math/gen-libm-test.pl (parse_args): Output only string of
13355 arguments as text for test name, not full call or descriptions of
13356 tests for extra outputs.
13357 (generate_testfile): Do not pass function name to parse_args.
13358 Generate this_func variable from START.
13359 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13361 (struct test_ff_f_data): Likewise.
13362 (test_ff_f_data_nexttoward): Likewise.
13363 (struct test_fi_f_data): Likewise.
13364 (struct test_fl_f_data): Likewise.
13365 (struct test_if_f_data): Likewise.
13366 (struct test_fff_f_data): Likewise.
13367 (struct test_c_f_data): Likewise.
13368 (struct test_f_f1_data): Likewise. Remove field extra_name.
13369 (struct test_fF_f1_data): Likewise.
13370 (struct test_ffI_f1_data): Likewise.
13371 (struct test_c_c_data): Rename test_name field to arg_str.
13372 (struct test_cc_c_data): Likewise.
13373 (struct test_f_i_data): Likewise.
13374 (struct test_ff_i_data): Likewise.
13375 (struct test_f_l_data): Likewise.
13376 (struct test_f_L_data): Likewise.
13377 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13379 (COMMON_TEST_SETUP): New macro.
13380 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13381 (COMMON_TEST_CLEANUP): Likewise.
13382 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13383 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13385 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13386 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13388 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13389 (RUN_TEST_fff_f): Take argument string. Call new setup and
13391 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13392 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13394 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13395 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13397 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13398 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13400 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13401 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13403 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13404 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13406 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13407 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13409 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13410 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13412 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13413 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13415 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13416 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13418 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13419 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13421 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13422 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13424 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13425 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13427 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13428 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13430 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13431 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13433 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13434 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13436 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13438 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13440 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13441 to _sifields.sigfault.
13442 (si_addr_lsb): Define new macro.
13443 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13447 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13450 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13452 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13454 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13455 loading the domain.
13457 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13459 * math/gen-libm-test.pl (parse_args): Do not include expected
13460 result in test name.
13461 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13463 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13465 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13470 * benchtests/Makefile: Sort function entries.
13472 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13473 tanh, asinh, acosh, atanh.
13474 * benchtests/acos-inputs: New file.
13475 * benchtests/acosh-inputs: New file.
13476 * benchtests/asin-inputs: New file.
13477 * benchtests/asinh-inputs: New file.
13478 * benchtests/atanh-inputs: New file.
13479 * benchtests/cosh-inputs: New file.
13480 * benchtests/log-inputs: New file.
13481 * benchtests/sinh-inputs: New file.
13482 * benchtests/tanh-inputs: New file.
13484 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13487 * posix/tst-getaddrinfo4.c: New test.
13488 * posix/Makefile (tests): Add it.
13490 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13493 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13494 when no services were used.
13495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13496 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13498 2013-05-21 Andreas Schwab <schwab@suse.de>
13501 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13502 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13504 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13505 redundant variable declarations and reallocation of buffer when
13506 parsing as IPv6 address. Always set NSS status when called from
13507 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13508 buffer too small. Correct computation of needed size.
13509 * nss/Makefile (tests): Add test-digits-dots.
13510 * nss/test-digits-dots.c: New test.
13512 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13514 * benchtests/Makefile: Remove instructions for adding
13516 * benchtests/README: New file to explain how to execute and
13517 enhance the benchmark tests.
13519 2013-05-21 Andreas Schwab <schwab@suse.de>
13522 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13523 * setjmp/tst-sigsetjmp.c: New test.
13525 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13527 * sysdeps/x86_64/memset.S (memset): New implementation.
13528 (__bzero): Likewise.
13529 (__memset_tail): New function.
13531 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13533 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13534 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13535 __memcpy_sse2_unaligned ifunc selection.
13536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13537 Add memcpy-sse2-unaligned.S.
13538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13539 Add: __memcpy_sse2_unaligned.
13541 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13544 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13545 math_force_eval before restoring floating-point envrionment.
13546 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13551 (__nearbyintl): Use math_force_eval before restoring
13552 floating-point environment.
13553 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13555 * math/gen-libm-test.pl (special_functions): Remove.
13556 (parse_args): Don't handle TEST_extra. Handle functions with no
13558 * math/libm-test.inc (struct test_sincos_data): Replace with
13559 struct test_fFF_11_data.
13560 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13561 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13562 (sincos_test_data): Change element type to struct
13563 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13564 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13565 RUN_TEST_LOOP_sincos.
13566 * math/README.libm-test: Don't mention special handling of
13567 individual functions.
13568 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575 * math/gen-libm-test.pl (get_variable): Remove function.
13576 (parse_args): Don't show pointer parameters to call in test
13577 names. Use "extra output N" in test names for extra outputs
13578 rather than naming variables.
13580 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13583 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13584 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13585 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13587 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13589 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13592 * math/gen-libm-test.pl (@tests): Remove variable.
13593 ($count): Likewise.
13594 (new_test): Remove function.
13595 (show_exceptions): New function.
13596 (special_functions): Use show_exceptions instead of new_test.
13597 (parse_args): Likewise.
13598 (generate_testfile): Pass only function name in generated call to
13599 print_max_error or print_complex_max_error.
13600 (get_ulps): Do not handle complex tests specially.
13601 (output_test): Rename to ...
13602 (get_all_ulps_for_test): ... this. Return a string rather than
13603 printing to a file. Require ulps to be present.
13604 (output_ulps): Generate arrays rather than #defines.
13605 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13606 (struct ulp_data): New type.
13607 (BUILD_COMPLEX_ULP): Remove macro.
13608 (compare_ulp_data): New function.
13609 (find_ulps): Likewise.
13610 (find_test_ulps): Likewise.
13611 (find_function_ulps): Likewise.
13612 (find_complex_function_ulps): Likewise.
13613 (print_max_error): Determine allowed ulps using
13614 find_function_ulps.
13615 (print_complex_max_error): Determine allowed ulps using
13616 find_complex_function_ulps.
13617 (check_float_internal): Determine max ulps using find_test_ulps.
13618 (check_float): Do not take max_ulp parameter. Update call to
13619 check_float_internal.
13620 (check_complex): Likewise.
13621 (check_int): Do not take max_ulp parameter.
13622 (check_long): Likewise.
13623 (check_bool): Likewise.
13624 (check_longlong): Likewise.
13625 (struct test_f_f_data): Remove max_ulp field.
13626 (struct test_ff_f_data): Likewise.
13627 (struct test_ff_f_data_nexttoward): Likewise.
13628 (struct test_fi_f_data): Likewise.
13629 (struct test_fl_f_data): Likewise.
13630 (struct test_if_f_data): Likewise.
13631 (struct test_fff_f_data): Likewise.
13632 (struct test_c_f_data): Likewise.
13633 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13634 (struct test_fF_f1_data): Likewise.
13635 (struct test_ffI_f1_data): Likewise.
13636 (struct test_c_c_data): Remove max_ulp field.
13637 (struct test_cc_c_data): Likewise.
13638 (struct test_f_i_data): Likewise.
13639 (struct test_ff_i_data): Likewise.
13640 (struct test_f_l_data): Likewise.
13641 (struct test_f_L_data): Likewise.
13642 (struct test_sincos_data): Likewise.
13643 (RUN_TEST_f_f): Do not handle ulps.
13644 (RUN_TEST_LOOP_f_f): Likewise.
13645 (RUN_TEST_2_f): Likewise.
13646 (RUN_TEST_LOOP_2_f): Likewise.
13647 (RUN_TEST_fff_f): Likewise.
13648 (RUN_TEST_LOOP_fff_f): Likewise.
13649 (RUN_TEST_c_f): Likewise.
13650 (RUN_TEST_LOOP_c_f): Likewise.
13651 (RUN_TEST_f_f1): Likewise.
13652 (RUN_TEST_LOOP_f_f1): Likewise.
13653 (RUN_TEST_fF_f1): Likewise.
13654 (RUN_TEST_LOOP_fF_f1): Likewise.
13655 (RUN_TEST_fI_f1): Likewise.
13656 (RUN_TEST_LOOP_fI_f1): Likewise.
13657 (RUN_TEST_ffI_f1): Likewise.
13658 (RUN_TEST_LOOP_ffI_f1): Likewise.
13659 (RUN_TEST_c_c): Likewise.
13660 (RUN_TEST_LOOP_c_c): Likewise.
13661 (RUN_TEST_cc_c): Likewise.
13662 (RUN_TEST_LOOP_cc_c): Likewise.
13663 (RUN_TEST_f_i): Likewise.
13664 (RUN_TEST_LOOP_f_i): Likewise.
13665 (RUN_TEST_f_i_tg): Likewise.
13666 (RUN_TEST_LOOP_f_i_tg): Likewise.
13667 (RUN_TEST_ff_i_tg): Likewise.
13668 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13669 (RUN_TEST_f_b): Likewise.
13670 (RUN_TEST_LOOP_f_b): Likewise.
13671 (RUN_TEST_f_b_tg): Likewise.
13672 (RUN_TEST_LOOP_f_b_tg): Likewise.
13673 (RUN_TEST_f_l): Likewise.
13674 (RUN_TEST_LOOP_f_l): Likewise.
13675 (RUN_TEST_f_L): Likewise.
13676 (RUN_TEST_LOOP_f_L): Likewise.
13677 (RUN_TEST_sincos): Likewise.
13678 (RUN_TEST_LOOP_sincos): Likewise.
13680 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13684 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13685 main case of finite arguments, set rounding mode to FE_TONEAREST
13686 and discard exceptions.
13687 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13689 (remainder_tonearest_test_data): New variable.
13690 (remainder_test_tonearest): New function.
13691 (remainder_towardzero_test_data): New variable.
13692 (remainder_test_towardzero): New function.
13693 (remainder_downward_test_data): New variable.
13694 (remainder_test_downward): New function.
13695 (remainder_upward_test_data): New variable.
13696 (remainder_test_upward): New function.
13697 (main): Call the new test functions.
13699 * math/libm-test.inc (struct test_f_f1_data): Remove field
13701 (struct test_fF_f1_data): Likewise.
13702 (struct test_ffI_f1_data): Likewise.
13703 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13704 based on value of EXTRA_EXPECTED.
13705 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13706 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13707 EXTRA_VAR based on value of EXTRA_EXPECTED.
13708 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13709 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13710 EXTRA_VAR based on value of EXTRA_EXPECTED.
13711 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13712 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13713 EXTRA_VAR based on value of EXTRA_EXPECTED.
13714 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13715 * math/gen-libm-test.pl (parse_args): Don't output initializers
13716 for extra output values.
13718 * math/libm-test.inc (check_int): Expect result to be exactly
13719 equal to expected value and do not handle ulps.
13720 (check_long): Likewise.
13721 (check_longlong): Likewise.
13723 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13725 (cimag_test_data): Likewise.
13726 (conj_test_data): Likewise.
13727 (copysign_test_data): Likewise.
13728 (cproj_test_data): Likewise.
13729 (creal_test_data): Likewise.
13730 (fabs_test_data): Likewise.
13731 (fdim_test_data): Likewise.
13732 (finite_test_data): Likewise.
13733 (floor_test_data): Likewise.
13734 (fmax_test_data): Likewise.
13735 (fmin_test_data): Likewise.
13736 (fmod_test_data): Likewise.
13737 (fpclassify_test_data): Likewise.
13738 (frexp_test_data): Likewise.
13739 (ilogb_test_data): Likewise.
13740 (isfinite_test_data): Likewise.
13741 (isgreater_test_data): Likewise.
13742 (isgreaterequal_test_data): Likewise.
13743 (isinf_test_data): Likewise.
13744 (isless_test_data): Likewise.
13745 (islessequal_test_data): Likewise.
13746 (islessgreater_test_data): Likewise.
13747 (isnan_test_data): Likewise.
13748 (isnormal_test_data): Likewise.
13749 (issignaling_test_data): Likewise.
13750 (isunordered_test_data): Likewise.
13751 (ldexp_test_data): Likewise.
13752 (lrint_test_data): Likewise.
13753 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13754 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13755 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13756 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13757 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13758 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13760 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13761 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13762 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13763 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13765 (lrint_downward_test_data): Test for "inexact" exceptions.
13766 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13767 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13768 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13770 (lrint_upward_test_data): Test for "inexact" exceptions.
13771 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13773 (llrint_test_data): Test for "inexact" exceptions.
13774 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13775 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13776 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13777 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13778 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13779 (llrint_downward_test_data): Test for "inexact" exceptions.
13780 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13781 (llrint_upward_test_data): Test for "inexact" exceptions.
13782 (logb_test_data): Likewise.
13783 (logb_downward_test_data): Likewise.
13784 (nextafter_test_data): Likewise.
13785 (nexttoward_test_data): Likewise.
13786 (remainder_test_data): Likewise.
13787 (remquo_test_data): Likewise.
13788 (scalbn_test_data): Likewise.
13789 (scalbln_test_data): Likewise.
13790 (signbit_test_data): Likewise.
13791 (sqrt_test_data): Likewise.
13792 (significand_test_data): Likewise.
13794 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13797 * benchtests/bench-modf.c (struct args): Mark arg0 as
13799 * scripts/bench.pl: Mark members of struct args as volatile.
13801 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13804 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13805 negative infinity on POWER6 or lower.
13806 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13808 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13811 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13812 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13813 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13814 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13815 (_FP_SETQNAN): New macro.
13816 (_FP_SETQNAN_SEMIRAW): Likewise.
13817 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13818 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13819 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13820 (FP_EXTEND): Use _FP_FRAC_SNANP.
13821 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13822 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13829 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13831 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13832 with DIVIDE_BY_ZERO_EXCEPTION.
13833 (gamma_test_data): Likewise.
13834 (lgamma_test_data): Likewise.
13835 (log_test_data): Likewise.
13836 (log10_test_data): Likewise.
13837 (log2_test_data): Likewise.
13838 (tgamma_test_data): Likewise.
13840 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13841 (acos_test_tonearest): Likewise.
13842 (acos_test_towardzero): Likewise.
13843 (acos_test_downward): Likewise.
13844 (acos_test_upward): Likewise.
13845 (acosh_test): Likewise.
13846 (asin_test): Likewise.
13847 (asin_test_tonearest): Likewise.
13848 (asin_test_towardzero): Likewise.
13849 (asin_test_downward): Likewise.
13850 (asin_test_upward): Likewise.
13851 (asinh_test): Likewise.
13852 (atan_test): Likewise.
13853 (atanh_test): Likewise.
13854 (atan2_test): Likewise.
13855 (cabs_test): Likewise.
13856 (cacos_test): Likewise.
13857 (cacosh_test): Likewise.
13858 (casin_test): Likewise.
13859 (casinh_test): Likewise.
13860 (catan_test): Likewise.
13861 (catanh_test): Likewise.
13862 (cbrt_test): Likewise.
13863 (ccos_test): Likewise.
13864 (ccosh_test): Likewise.
13865 (cexp_test): Likewise.
13866 (clog_test): Likewise.
13867 (clog10_test): Likewise.
13868 (cos_test): Likewise.
13869 (cos_test_tonearest): Likewise.
13870 (cos_test_towardzero): Likewise.
13871 (cos_test_downward): Likewise.
13872 (cos_test_upward): Likewise.
13873 (cosh_test): Likewise.
13874 (cosh_test_tonearest): Likewise.
13875 (cosh_test_towardzero): Likewise.
13876 (cosh_test_downward): Likewise.
13877 (cosh_test_upward): Likewise.
13878 (cpow_test): Likewise.
13879 (csin_test): Likewise.
13880 (csinh_test): Likewise.
13881 (csqrt_test): Likewise.
13882 (ctan_test): Likewise.
13883 (ctan_test_tonearest): Likewise.
13884 (ctan_test_towardzero): Likewise.
13885 (ctan_test_downward): Likewise.
13886 (ctan_test_upward): Likewise.
13887 (ctanh_test): Likewise.
13888 (ctanh_test_tonearest): Likewise.
13889 (ctanh_test_towardzero): Likewise.
13890 (ctanh_test_downward): Likewise.
13891 (ctanh_test_upward): Likewise.
13892 (erf_test): Likewise.
13893 (erfc_test): Likewise.
13894 (exp_test): Likewise.
13895 (exp_test_tonearest): Likewise.
13896 (exp_test_towardzero): Likewise.
13897 (exp_test_downward): Likewise.
13898 (exp_test_upward): Likewise.
13899 (exp10_test): Likewise.
13900 (exp2_test): Likewise.
13901 (expm1_test): Likewise.
13902 (fmod_test): Likewise.
13903 (gamma_test): Likewise.
13904 (hypot_test): Likewise.
13905 (j0_test): Likewise.
13906 (j1_test): Likewise.
13907 (jn_test): Likewise.
13908 (lgamma_test): Likewise.
13909 (log_test): Likewise.
13910 (log10_test): Likewise.
13911 (log1p_test): Likewise.
13912 (log2_test): Likewise.
13913 (logb_test_downward): Likewise.
13914 (pow_test): Likewise.
13915 (pow_test_tonearest): Likewise.
13916 (pow_test_towardzero): Likewise.
13917 (pow_test_downward): Likewise.
13918 (pow_test_upward): Likewise.
13919 (remainder_test): Likewise.
13920 (remquo_test): Likewise.
13921 (sin_test): Likewise.
13922 (sin_test_tonearest): Likewise.
13923 (sin_test_towardzero): Likewise.
13924 (sin_test_downward): Likewise.
13925 (sin_test_upward): Likewise.
13926 (sincos_test): Likewise.
13927 (sinh_test): Likewise.
13928 (sinh_test_tonearest): Likewise.
13929 (sinh_test_towardzero): Likewise.
13930 (sinh_test_downward): Likewise.
13931 (sinh_test_upward): Likewise.
13932 (sqrt_test): Likewise.
13933 (tan_test): Likewise.
13934 (tan_test_tonearest): Likewise.
13935 (tan_test_towardzero): Likewise.
13936 (tan_test_downward): Likewise.
13937 (tan_test_upward): Likewise.
13938 (tanh_test): Likewise.
13939 (tgamma_test): Likewise.
13940 (y0_test): Likewise.
13941 (y1_test): Likewise.
13942 (yn_test): Likewise.
13944 * math/gen-libm-test.pl (adjust_arg): Remove function.
13945 (special_function): Remove argument $in_func. Only handle
13946 generating output for tables of tests, not inside functions.
13947 (parse_args): Likewise.
13948 (generate_testfile): Remove variable $in_func. Update call to
13950 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13951 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13952 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13953 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13954 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13955 (MAX_VALUE_INIT): Rename macro to max_value.
13956 (MIN_VALUE_INIT): Rename macro to min_value.
13957 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13958 (plus_zero): Remove variable.
13959 (minus_zero): Likewise.
13960 (plus_infty): Likewise.
13961 (minus_infty): Likewise.
13962 (qnan_value): Likewise.
13963 (max_value): Likewise.
13964 (min_value): Likewise.
13965 (min_subnorm_value): Likewise.
13967 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13969 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13970 uint64_t or uint32_t usage.
13971 * crypt/sha256-block.c: Likewise.
13972 * crypt/sha256-crypt.c: Likewise.
13973 * crypt/sha256.c: Likewise.
13974 * crypt/sha512-block.c: Likewise.
13975 * crypt/sha512-crypt.c: Likewise.
13976 * crypt/sha512.c: Likewise.
13977 * debug/backtrace-tst.c: Likewise.
13978 * debug/pcprofiledump.c: Likewise.
13979 * elf/cache.c: Likewise.
13980 * elf/dl-cache.c: Likewise.
13981 * elf/dl-misc.c: Likewise.
13982 * elf/dl-profile.c: Likewise.
13983 * elf/dl-support.c: Likewise.
13984 * elf/ldconfig.c: Likewise.
13985 * elf/sprof.c: Likewise.
13986 * iconv/dummy-repertoire.c: Likewise.
13987 * iconv/iconv_charmap.c: Likewise.
13988 * iconv/skeleton.c: Likewise.
13989 * iconvdata/8bit-generic.c: Likewise.
13990 * iconvdata/cp737.h: Likewise.
13991 * iconvdata/cp775.h: Likewise.
13992 * iconvdata/ibm1008.h: Likewise.
13993 * iconvdata/ibm1025.h: Likewise.
13994 * iconvdata/ibm1046.h: Likewise.
13995 * iconvdata/ibm1097.h: Likewise.
13996 * iconvdata/ibm1112.h: Likewise.
13997 * iconvdata/ibm1122.h: Likewise.
13998 * iconvdata/ibm1123.h: Likewise.
13999 * iconvdata/ibm1124.h: Likewise.
14000 * iconvdata/ibm1129.h: Likewise.
14001 * iconvdata/ibm1130.h: Likewise.
14002 * iconvdata/ibm1132.h: Likewise.
14003 * iconvdata/ibm1133.h: Likewise.
14004 * iconvdata/ibm1137.h: Likewise.
14005 * iconvdata/ibm1140.h: Likewise.
14006 * iconvdata/ibm1141.h: Likewise.
14007 * iconvdata/ibm1142.h: Likewise.
14008 * iconvdata/ibm1143.h: Likewise.
14009 * iconvdata/ibm1144.h: Likewise.
14010 * iconvdata/ibm1145.h: Likewise.
14011 * iconvdata/ibm1146.h: Likewise.
14012 * iconvdata/ibm1147.h: Likewise.
14013 * iconvdata/ibm1148.h: Likewise.
14014 * iconvdata/ibm1149.h: Likewise.
14015 * iconvdata/ibm1153.h: Likewise.
14016 * iconvdata/ibm1154.h: Likewise.
14017 * iconvdata/ibm1155.h: Likewise.
14018 * iconvdata/ibm1156.h: Likewise.
14019 * iconvdata/ibm1157.h: Likewise.
14020 * iconvdata/ibm1158.h: Likewise.
14021 * iconvdata/ibm1160.h: Likewise.
14022 * iconvdata/ibm1161.h: Likewise.
14023 * iconvdata/ibm1162.h: Likewise.
14024 * iconvdata/ibm1163.h: Likewise.
14025 * iconvdata/ibm1164.h: Likewise.
14026 * iconvdata/ibm1166.h: Likewise.
14027 * iconvdata/ibm1167.h: Likewise.
14028 * iconvdata/ibm12712.h: Likewise.
14029 * iconvdata/ibm1390.h: Likewise.
14030 * iconvdata/ibm1399.h: Likewise.
14031 * iconvdata/ibm16804.h: Likewise.
14032 * iconvdata/ibm4517.h: Likewise.
14033 * iconvdata/ibm4899.h: Likewise.
14034 * iconvdata/ibm4909.h: Likewise.
14035 * iconvdata/ibm4971.h: Likewise.
14036 * iconvdata/ibm5347.h: Likewise.
14037 * iconvdata/ibm803.h: Likewise.
14038 * iconvdata/ibm856.h: Likewise.
14039 * iconvdata/ibm901.h: Likewise.
14040 * iconvdata/ibm902.h: Likewise.
14041 * iconvdata/ibm9030.h: Likewise.
14042 * iconvdata/ibm9066.h: Likewise.
14043 * iconvdata/ibm921.h: Likewise.
14044 * iconvdata/ibm922.h: Likewise.
14045 * iconvdata/ibm9448.h: Likewise.
14046 * iconvdata/isiri-3342.h: Likewise.
14047 * iconvdata/jis0201.h: Likewise.
14048 * include/link.h: Likewise.
14049 * include/netdb.h: Likewise.
14050 * inet/check_native.c: Likewise.
14051 * inet/check_pf.c: Likewise.
14052 * inet/getipv4sourcefilter.c: Likewise.
14053 * inet/getnameinfo.c: Likewise.
14054 * inet/getsourcefilter.c: Likewise.
14055 * inet/htonl.c: Likewise.
14056 * inet/setipv4sourcefilter.c: Likewise.
14057 * inet/setsourcefilter.c: Likewise.
14058 * inet/test-inet6_opt.c: Likewise.
14059 * inet/tst-network.c: Likewise.
14060 * locale/C-collate.c: Likewise.
14061 * locale/C-ctype.c: Likewise.
14062 * locale/C-time.c: Likewise.
14063 * locale/C-translit.h: Likewise.
14064 * locale/loadarchive.c: Likewise.
14065 * locale/programs/3level.h: Likewise.
14066 * locale/programs/charmap.c: Likewise.
14067 * locale/programs/charmap.h: Likewise.
14068 * locale/programs/ld-address.c: Likewise.
14069 * locale/programs/ld-collate.c: Likewise.
14070 * locale/programs/ld-ctype.c: Likewise.
14071 * locale/programs/ld-identification.c: Likewise.
14072 * locale/programs/ld-measurement.c: Likewise.
14073 * locale/programs/ld-messages.c: Likewise.
14074 * locale/programs/ld-monetary.c: Likewise.
14075 * locale/programs/ld-name.c: Likewise.
14076 * locale/programs/ld-numeric.c: Likewise.
14077 * locale/programs/ld-paper.c: Likewise.
14078 * locale/programs/ld-telephone.c: Likewise.
14079 * locale/programs/ld-time.c: Likewise.
14080 * locale/programs/linereader.c: Likewise.
14081 * locale/programs/locale.c: Likewise.
14082 * locale/programs/locarchive.c: Likewise.
14083 * locale/programs/locfile.h: Likewise.
14084 * locale/programs/repertoire.c: Likewise.
14085 * locale/programs/simple-hash.c: Likewise.
14086 * locale/programs/simple-hash.h: Likewise.
14087 * malloc/memusage.c: Likewise.
14088 * malloc/memusagestat.c: Likewise.
14089 * nis/nis_defaults.c: Likewise.
14090 * nis/nis_hash.c: Likewise.
14091 * nis/nis_print.c: Likewise.
14092 * nis/nis_xdr.c: Likewise.
14093 * nscd/connections.c: Likewise.
14094 * nscd/hstcache.c: Likewise.
14095 * nscd/nscd_gethst_r.c: Likewise.
14096 * nscd/nscd_getserv_r.c: Likewise.
14097 * nscd/nscd_helper.c: Likewise.
14098 * nscd/servicescache.c: Likewise.
14099 * nss/makedb.c: Likewise.
14100 * nss/nss_db/db-XXX.c: Likewise.
14101 * nss/nss_db/db-initgroups.c: Likewise.
14102 * nss/nss_db/db-netgrp.c: Likewise.
14103 * nss/nss_files/files-network.c: Likewise.
14104 * nss/nss_files/files-parse.c: Likewise.
14105 * posix/bug-regex5.c: Likewise.
14106 * posix/fnmatch_loop.c: Likewise.
14107 * posix/regcomp.c: Likewise.
14108 * posix/regexec.c: Likewise.
14109 * posix/tst-rfc3484-2.c: Likewise.
14110 * posix/tst-rfc3484-3.c: Likewise.
14111 * posix/tst-rfc3484.c: Likewise.
14112 * resolv/nss_dns/dns-canon.c: Likewise.
14113 * resolv/nss_dns/dns-network.c: Likewise.
14114 * resolv/res_init.c: Likewise.
14115 * resolv/res_mkquery.c: Likewise.
14116 * resolv/tst-aton.c: Likewise.
14117 * stdlib/cxa_atexit.c: Likewise.
14118 * stdlib/cxa_finalize.c: Likewise.
14119 * stdlib/gen-fpioconst.c: Likewise.
14120 * stdlib/strtol_l.c: Likewise.
14121 * string/tst-endian.c: Likewise.
14122 * sunrpc/auth_des.c: Likewise.
14123 * sunrpc/clnt_udp.c: Likewise.
14124 * sunrpc/rtime.c: Likewise.
14125 * sunrpc/svcauth_des.c: Likewise.
14126 * sunrpc/xdr.c: Likewise.
14127 * sunrpc/xdr_intXX_t.c: Likewise.
14128 * sunrpc/xdr_rec.c: Likewise.
14129 * sysdeps/generic/ldconfig.h: Likewise.
14130 * sysdeps/generic/ldsodefs.h: Likewise.
14131 * sysdeps/generic/memusage.h: Likewise.
14132 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14135 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14142 * sysdeps/posix/getaddrinfo.c: Likewise.
14143 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14144 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14145 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14146 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14147 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14148 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14149 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14150 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14151 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14153 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14154 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14155 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14156 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14158 * sysdeps/x86_64/dl-tls.h: Likewise.
14159 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14160 * time/alt_digit.c: Likewise.
14161 * time/era.c: Likewise.
14162 * wcsmbs/tst-c16c32-1.c: Likewise.
14164 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14166 * math/libm-test.inc (struct test_sincos_data): New type.
14167 (RUN_TEST_LOOP_sincos): New macro.
14168 (sincos_test_data): New variable.
14169 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14171 2013-05-16 Richard Henderson <rth@redhat.com>
14173 * math/atest-exp2.c (LIMB64): New macro.
14174 (CONSTSZ): New macro.
14175 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14177 (print_mpn_fp): ... to function scope.
14178 (read_mpn_hex): Remove.
14179 (get_log2): Remove.
14180 (exp2_mpn): Use mp_log2.
14181 (main): Use mp_exp1.
14183 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14185 * math/libm-test.inc: Remove comment about not testing "inexact"
14187 (INEXACT_EXCEPTION): New macro.
14188 (NO_INEXACT_EXCEPTION): Likewise.
14189 (INVALID_EXCEPTION_OK): Update value.
14190 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14191 (OVERFLOW_EXCEPTION_OK): Likewise.
14192 (UNDERFLOW_EXCEPTION_OK): Likewise.
14193 (IGNORE_ZERO_INF_SIGN): Likewise.
14194 (ERRNO_UNCHANGED): Likewise.
14195 (ERRNO_EDOM): Likewise.
14196 (ERRNO_ERANGE): Likewise.
14197 (test_exceptions): Handle testing "inexact" exceptions.
14198 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14199 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14200 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14201 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14203 (rint_towardzero_test_data): Likewise.
14204 (rint_downward_test_data): Likewise.
14205 (rint_upward_test_data): Likewise.
14207 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14208 with OVERFLOW_EXCEPTION.
14209 (exp10_test_data): Likewise.
14210 (exp2_test_data): Likewise.
14211 (expm1_test_data): Likewise.
14212 (lgamma_test_data): Likewise.
14213 (pow_test_data): Likewise.
14214 (tgamma_test_data): Likewise.
14215 (yn_test_data): Remove duplicate test of overflow.
14217 * math/libm-test.inc (struct test_cc_c_data): New type.
14218 (RUN_TEST_LOOP_cc_c): New macro.
14219 (cpow_test_data): New variable.
14220 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14222 * math/libm-test.inc (struct test_f_L_data): New type.
14223 (RUN_TEST_LOOP_f_L): New macro.
14224 (llrint_test_data): New variable.
14225 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14226 (llrint_tonearest_test_data): New variable.
14227 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14228 (llrint_towardzero_test_data): New variable.
14229 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14230 (llrint_downward_test_data): New variable.
14231 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14232 (llrint_upward_test_data): New variable.
14233 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14234 (llround_test_data): New variable.
14235 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14237 2013-05-13 Peter Collingbourne <pcc@google.com>
14239 * math/atest-exp2.c (get_log2): Remove const attribute.
14241 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14243 * math/libm-test.inc (struct test_f_l_data): New type.
14244 (RUN_TEST_LOOP_f_l): New macro.
14245 (lrint_test_data): New variable.
14246 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14247 (lrint_tonearest_test_data): New variable.
14248 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14249 (lrint_towardzero_test_data): New variable.
14250 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14251 (lrint_downward_test_data): New variable.
14252 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14253 (lrint_upward_test_data): New variable.
14254 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14255 (lround_test_data): New variable.
14256 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14258 2013-05-15 Peter Collingbourne <pcc@google.com>
14260 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14261 (EXTRACT_WORDS64) Use where appropriate.
14262 (INSERT_WORDS64) Likewise.
14264 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14265 constraints with x constraints.
14266 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14268 * malloc/obstack.c (_obstack_compat): Add initializer.
14270 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14273 si_trapno and add si_addr_lsb to _sifields.sigfault.
14274 (si_trapno): Remove macro.
14275 (si_addr_lsb): Define new macro.
14276 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14278 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14280 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14281 instead of TEST_f_l.
14282 (llrint_test_tonearest): Likewise.
14283 (llrint_test_towardzero): Likewise.
14284 (llrint_test_downward): Likewise.
14285 (llrint_test_upward): Likewise.
14286 (llround_test): Likewise.
14288 * math/libm-test.inc (struct test_f_i_data): Add comment.
14289 (RUN_TEST_LOOP_f_b): New macro.
14290 (RUN_TEST_LOOP_f_b_tg): Likewise.
14291 (finite_test_data): New variable.
14292 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14293 (isfinite_test_data): New variable.
14294 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14295 (isinf_test_data): New variable.
14296 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14297 (isnan_test_data): New variable.
14298 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14299 (isnormal_test_data): New variable.
14300 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14301 (issignaling_test_data): New variable.
14302 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14303 (signbit_test_data): New variable.
14304 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14306 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14307 with INVALID_EXCEPTION.
14308 (acosh_test_data): Likewise.
14309 (asin_test_data): Likewise.
14310 (atanh_test_data): Likewise.
14311 (fmod_test_data): Likewise.
14312 (log_test_data): Likewise.
14313 (log10_test_data): Likewise.
14314 (log2_test_data): Likewise.
14315 (pow_test_data): Likewise.
14316 (sqrt_test_data): Likewise.
14317 (y0_test_data): Likewise.
14318 (y1_test_data): Likewise.
14319 (yn_test_data): Likewise.
14321 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14324 * math/libm-test.inc (struct test_ff_i_data): New type.
14325 (RUN_TEST_LOOP_ff_i_tg): New macro.
14326 (isgreater_test_data): New variable.
14327 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14328 (isgreaterequal_test_data): New variable.
14329 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14330 (isless_test_data): New variable.
14331 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14332 (islessequal_test_data): New variable.
14333 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14334 (islessgreater_test_data): New variable.
14335 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14336 (isunordered_test_data): New variable.
14337 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14339 2013-05-14 David S. Miller <davem@davemloft.net>
14341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14343 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14345 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14347 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14349 (struct test_f_i_data): Change type of max_ulp to int.
14351 * math/libm-test.inc (test_ffI_f1_data): New type.
14352 (RUN_TEST_LOOP_ffI_f1): New macro.
14353 (remquo_test_data): New variable.
14354 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14356 * setjmp/tst-setjmp-fp.c: New file.
14357 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14358 (link-libm): New variable.
14359 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14361 * math/libm-test.inc (struct test_f_i_data): New type.
14362 (RUN_TEST_LOOP_f_i): New macro.
14363 (RUN_TEST_LOOP_f_i_tg): Likewise.
14364 (fpclassify_test_data): New variable.
14365 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14366 (ilogb_test_data): New variable.
14367 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14369 * math/libm-test.inc (scalbln_test): Correct function name in END
14372 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14373 (RUN_TEST_LOOP_fI_f1): New macro.
14374 (frexp_test_data): New variable.
14375 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14377 * math/libm-test.inc (struct test_fF_f1_data): New type.
14378 (RUN_TEST_LOOP_fF_f1): New macro.
14379 (modf_test_data): New variable.
14380 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14382 * math/libm-test.inc (struct test_f_f1_data): New type.
14383 (RUN_TEST_LOOP_f_f1): New macro.
14384 (gamma_test_data): New variable.
14385 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14386 (lgamma_test_data): New variable.
14387 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14389 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14391 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14392 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14393 (main): Comment "tls" pseudo-hwcap.
14395 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14397 * math/libm-test.inc (struct test_fl_f_data): New type.
14398 (RUN_TEST_LOOP_fl_f): New variable.
14399 (scalbln_test_data): New variable.
14400 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14402 * math/libm-test.inc (struct test_fi_f_data): New type.
14403 (RUN_TEST_LOOP_fi_f): New macro.
14404 (ldexp_test_data): New variable.
14405 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14406 (scalbn_test_data): New variable.
14407 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14409 * math/libm-test.inc (struct test_c_f_data): New type.
14410 (RUN_TEST_LOOP_c_f): New macro.
14411 (cabs_test_data): New variable.
14412 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14413 (carg_test_data): New variable.
14414 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14415 (cimag_test_data): New variable.
14416 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14417 (creal_test_data): New variable.
14418 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14420 * math/libm-test.inc (struct test_if_f_data): New type.
14421 (RUN_TEST_LOOP_if_f): New macro.
14422 (jn_test_data): New variable.
14423 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14424 (yn_test_data): New variable.
14425 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14427 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14429 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14432 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14434 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14436 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14437 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14438 (bench-deps): Add bench-timing.h.
14439 * benchtests-bench-skeleton.c: Include bench-timing.h.
14440 (main): Use TIMING_* macros instead of clock_gettime.
14441 * benchtests/bench-timing.h: New file.
14444 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14445 Renamed from _LIB_VERSION.
14446 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14448 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14450 * math/libm-test.inc (struct test_fff_f_data): New type.
14451 (RUN_TEST_LOOP_fff_f): New macro.
14452 (fma_test_data): New variable.
14453 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14454 (fma_towardzero_test_data): New variable.
14455 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14456 (fma_downward_test_data): New variable.
14457 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14458 (fma_upward_test_data): New variable.
14459 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14461 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14462 (struct test_c_c_data): New type.
14463 (RUN_TEST_LOOP_c_c): New macro.
14464 (cacos_test_data): New variable.
14465 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14466 (cacosh_test_data): New variable.
14467 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14468 (casin_test_data): New variable.
14469 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14470 (casinh_test_data): New variable.
14471 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14472 (catan_test_data): New variable.
14473 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14474 (catanh_test_data): New variable.
14475 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14476 (ccos_test_data): New variable.
14477 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14478 (ccosh_test_data): New variable.
14479 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14480 (cexp_test_data): New variable.
14481 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14482 (clog_test_data): New variable.
14483 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14484 (clog10_test_data): New variable.
14485 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14486 (conj_test_data): New variable.
14487 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14488 (cproj_test_data): New variable.
14489 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14490 (csin_test_data): New variable.
14491 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14492 (csinh_test_data): New variable.
14493 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14494 (csqrt_test_data): New variable.
14495 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14496 (ctan_test_data): New variable.
14497 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14498 (ctan_tonearest_test_data): New variable.
14499 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14500 (ctan_towardzero_test_data): New variable.
14501 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14502 (ctan_downward_test_data): New variable.
14503 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14504 (ctan_upward_test_data): New variable.
14505 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14506 (ctanh_test_data): New variable.
14507 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14508 (ctanh_tonearest_test_data): New variable.
14509 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14510 (ctanh_towardzero_test_data): New variable.
14511 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14512 (ctanh_downward_test_data): New variable.
14513 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14514 (ctanh_upward_test_data): New variable.
14515 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14516 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14519 * math/libm-test.inc (struct test_ff_f_data): New type.
14520 (struct test_ff_f_data_nexttoward): Likewise.
14521 (RUN_TEST_LOOP_2_f): New macro.
14522 (RUN_TEST_LOOP_ff_f): Likewise.
14523 (atan2_test_data): New variable.
14524 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14525 (copysign_test_data): New variable.
14526 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14527 (fdim_test_data): New variable.
14528 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14529 (fmax_test_data): New variable.
14530 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14531 (fmin_test_data): New variable.
14532 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14533 (fmod_test_data): New variable.
14534 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14535 (hypot_test_data): New variable.
14536 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14537 (nextafter_test_data): New variable.
14538 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14539 (nexttoward_test_data): New variable.
14540 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14541 (pow_test_data): New variable.
14542 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14543 (pow_tonearest_test_data): New variable.
14544 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14545 (pow_towardzero_test_data): New variable.
14546 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14547 (pow_downward_test_data): New variable.
14548 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14549 (pow_upward_test_data): New variable.
14550 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14551 (remainder_test_data): New variable.
14552 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14553 (scalb_test_data): New variable.
14554 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14555 * sysdeps/i386/fpu/libm-test-ulps: Update.
14557 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14559 * math/libm-test.inc (fma_test): Use max_value instead of local
14561 (nextafter_test): Likewise.
14563 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14564 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14565 (acos_downward_test_data): New variable.
14566 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14567 (acos_upward_test_data): New variable.
14568 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14569 (acosh_test_data): New variable.
14570 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14571 (asin_test_data): New variable.
14572 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14573 (asin_tonearest_test_data): New variable.
14574 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14575 (asin_towardzero_test_data): New variable.
14576 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14577 (asin_downward_test_data): New variable.
14578 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14579 (asin_upward_test_data): New variable.
14580 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14581 (asinh_test_data): New variable.
14582 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14583 (atan_test_data): New variable.
14584 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14585 (atanh_test_data): New variable.
14586 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (cbrt_test_data): New variable.
14588 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14589 (ceil_test_data): New variable.
14590 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14591 (cos_test_data): New variable.
14592 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14593 (cos_tonearest_test_data): New variable.
14594 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14595 (cos_towardzero_test_data): New variable.
14596 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14597 (cos_downward_test_data): New variable.
14598 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14599 (cos_upward_test_data): New variable.
14600 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14601 (cosh_test_data): New variable.
14602 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14603 (cosh_tonearest_test_data): New variable.
14604 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14605 (cosh_towardzero_test_data): New variable.
14606 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14607 (cosh_downward_test_data): New variable.
14608 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14609 (cosh_upward_test_data): New variable.
14610 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14611 (erf_test_data): New variable.
14612 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14613 (erfc_test_data): New variable.
14614 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14615 (exp_test_data): New variable.
14616 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14617 (exp_tonearest_test_data): New variable.
14618 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14619 (exp_towardzero_test_data): New variable.
14620 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14621 (exp_downward_test_data): New variable.
14622 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14623 (exp_upward_test_data): New variable.
14624 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14625 (exp10_test_data): New variable.
14626 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14627 (exp2_test_data): New variable.
14628 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14629 (expm1_test_data): New variable.
14630 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14631 (fabs_test_data): New variable.
14632 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14633 (floor_test_data): New variable.
14634 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14635 (j0_test_data): New variable.
14636 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14637 (j1_test_data): New variable.
14638 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (log_test_data): New variable.
14640 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (log10_test_data): New variable.
14642 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (log1p_test_data): New variable.
14644 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14645 (log2_test_data): New variable.
14646 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14647 (logb_test_data): New variable.
14648 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14649 (logb_downward_test_data): New variable.
14650 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14651 (nearbyint_test_data): New variable.
14652 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (rint_test_data): New variable.
14654 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14655 (rint_tonearest_test_data): New variable.
14656 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14657 (rint_towardzero_test_data): New variable.
14658 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14659 (rint_downward_test_data): New variable.
14660 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14661 (rint_upward_test_data): New variable.
14662 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14663 (round_test_data): New variable.
14664 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14665 (sin_test_data): New variable.
14666 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14667 (sin_tonearest_test_data): New variable.
14668 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14669 (sin_towardzero_test_data): New variable.
14670 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14671 (sin_downward_test_data): New variable.
14672 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14673 (sin_upward_test_data): New variable.
14674 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14675 (sinh_test_data): New variable.
14676 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14677 (sinh_tonearest_test_data): New variable.
14678 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14679 (sinh_towardzero_test_data): New variable.
14680 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14681 (sinh_downward_test_data): New variable.
14682 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14683 (sinh_upward_test_data): New variable.
14684 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14685 (sqrt_test_data): New variable.
14686 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14687 (tan_test_data): New variable.
14688 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14689 (tan_tonearest_test_data): New variable.
14690 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14691 (tan_towardzero_test_data): New variable.
14692 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14693 (tan_downward_test_data): New variable.
14694 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14695 (tan_upward_test_data): New variable.
14696 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14697 (tanh_test_data): New variable.
14698 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14699 (tgamma_test_data): New variable.
14700 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14701 (trunc_test_data): New variable.
14702 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14703 (y0_test_data): New variable.
14704 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (y1_test_data): New variable.
14706 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (significand_test_data): New variable.
14708 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14710 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14713 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14715 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14717 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14719 2013-05-10 Andreas Jaeger <aj@suse.de>
14722 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14723 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14725 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14727 * math/gen-libm-test.pl (adjust_arg): New function.
14728 (special_functions): Handle generating output in both functions
14730 (parse_args): Likewise.
14731 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14732 $in_func argument to parse_args.
14733 * math/libm-test.inc (struct test_f_f_data): New type.
14734 (IF_ROUND_INIT_): New macro.
14735 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14736 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14737 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14738 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14739 (ROUND_RESTORE_): Likewise.
14740 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14741 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14742 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14743 (ROUND_RESTORE_FE_UPWARD): Likewise.
14744 (RUN_TEST_LOOP_f_f): New macro.
14745 (acos_test_data): New variable.
14746 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14747 (acos_tonearest_test_data): New variable.
14748 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14750 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14752 * benchtests/bench-skeleton.c (startup): Fix coding style.
14754 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14757 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14758 negative infinity argument.
14759 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14760 negative infinity argument.
14761 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14762 negative infinity argument.
14763 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14766 2013-05-10 Florian Weimer <fweimer@redhat.com>
14768 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14769 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14770 * iconv/iconv_prog.c (main): Likewise.
14771 * locale/programs/charmap-dir.c (charmap_readdir)
14772 (fopen_uncompressed): Likewise.
14773 * locale/programs/locfile.c (siblings_uncached)
14774 (write_locale_data): Use lstat64 instead of lstat.
14775 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14778 2013-05-10 Andreas Jaeger <aj@suse.de>
14781 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14783 Include <locale.h>.
14785 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14787 * elf/dl-close.c (_dl_close_worker): Add comments.
14789 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14792 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14794 (__ieee754_rem_pio2l): Update comments.
14797 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14799 (__ieee754_rem_pio2l): Update comments.
14801 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14802 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14804 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14807 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14808 (M_PI_34_LOG10El): Likewise.
14809 (M_PI2_LOG10El): Likewise.
14810 (M_PI4_LOG10El): Likewise.
14811 (M_PI_LOG10El): Likewise.
14813 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14817 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14819 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14820 (MINUS_ZERO_INIT): Likewise.
14821 (PLUS_INFTY_INIT): Likewise.
14822 (MINUS_INFTY_INIT): Likewise.
14823 (QNAN_VALUE_INIT): Likewise.
14824 (MAX_VALUE_INIT): Likewise.
14825 (MIN_VALUE_INIT): Likewise.
14826 (MIN_SUBNORM_VALUE_INIT): Likewise.
14827 (plus_zero): Initialize with PLUS_ZERO_INIT.
14828 (minus_zero): Initialize with MINUS_ZERO_INIT.
14829 (plus_infty): Initialize with PLUS_INFTY_INIT.
14830 (minus_infty): Initialize with MINUS_INFTY_INIT.
14831 (qnan_value): Initialize with QNAN_VALUE_INIT.
14832 (max_value): Initialize with MAX_VALUE_INIT.
14833 (min_value): Initialize with MIN_VALUE_INIT.
14834 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14836 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14837 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14838 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14839 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14841 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14842 (RUN_TEST_2_f): Likewise.
14843 (RUN_TEST_ff_f): Likewise.
14844 (RUN_TEST_fi_f): Likewise.
14845 (RUN_TEST_fl_f): Likewise.
14846 (RUN_TEST_fff_f): Likewise.
14847 (RUN_TEST_c_f): Likewise.
14848 (RUN_TEST_f_f1): Likewise.
14849 (RUN_TEST_fF_f1): Likewise.
14850 (RUN_TEST_fI_f1): Likewise.
14851 (RUN_TEST_ffI_f1): Likewise.
14852 (RUN_TEST_c_c): Likewise.
14853 (RUN_TEST_cc_c): Likewise.
14854 (RUN_TEST_f_i): Likewise.
14855 (RUN_TEST_f_i_tg): Likewise.
14856 (RUN_TEST_ff_i_tg): Likewise.
14857 (RUN_TEST_f_b): Likewise.
14858 (RUN_TEST_f_b_tg): Likewise.
14859 (RUN_TEST_f_l): Likewise.
14860 (RUN_TEST_f_L): Likewise.
14861 (RUN_TEST_sincos): Likewise.
14862 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14863 whether to show exceptions. Do not include ");\n" in return
14865 (special_functions): Output call to RUN_TEST_sincos instead of
14866 check_float calls. Update calls to new_test.
14867 (parse_args): Output call to single RUN_TEST_* macro instead of
14868 check_* calls and other assignments. Update calls to new_test.
14874 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14875 input to result for tgamma overflow.
14876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14877 (gamma_coeff): New variable.
14878 (NCOEFF): New macro.
14879 (gamma_positive): New function.
14880 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14881 underflow here. Use gamma_positive instead of exp (lgamma) for
14883 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14884 (gamma_coeff): New variable.
14885 (NCOEFF): New macro.
14886 (gammaf_positive): New function.
14887 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14888 underflow here. Use gamma_positive instead of exp (lgamma) for
14890 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14891 (gamma_coeff): New variable.
14892 (NCOEFF): New macro.
14893 (gammal_positive): New function.
14894 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14895 underflow here. Use gamma_positive instead of exp (lgamma) for
14897 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14898 (gamma_coeff): New variable.
14899 (NCOEFF): New macro.
14900 (gammal_positive): New function.
14901 (__ieee754_gammal_r): Handle positive infinity, overflow and
14902 underflow here. Handle NaN the same as positive infinity. Remove
14903 check x < 0xffffffff for negative integers. Use gamma_positive
14904 instead of exp (lgamma) for other arguments.
14905 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14906 (gamma_coeff): New variable.
14907 (NCOEFF): New macro.
14908 (gammal_positive): New function.
14909 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14910 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14914 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14915 * sysdeps/generic/math_private.h (__gamma_productf): New
14917 (__gamma_product): Likewise.
14918 (__gamma_productl): Likewise.
14919 * math/Makefile (libm-calls): Add gamma_product.
14920 * math/libm-test.inc (tgamma_test): Add more tests.
14921 * sysdeps/i386/fpu/libm-test-ulps: Update.
14922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14924 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14926 * benchtests/bench-skeleton.c (main): Preheat CPU.
14928 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14930 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14932 2013-05-07 Roland McGrath <roland@hack.frob.com>
14934 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14935 and _dl_skip_args_internal.
14937 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14939 * manual/message.texi (Message Translation): Talk about users.
14940 Message to key mapping impacts design.
14942 2013-05-06 Roland McGrath <roland@hack.frob.com>
14944 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14946 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14948 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14949 * sysdeps/wordsize-64/glob64.c: ... here.
14951 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14952 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14955 * debug/getlogin_r_chk.c: Moved to ...
14956 * login/getlogin_r_chk.c: ... here.
14957 * debug/Makefile (routines): Move getlogin_r_chk to ...
14958 * login/Makefile (routines): ... here.
14959 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14960 * login/Versions (libc: GLIBC_2.4): ... here.
14962 * io/poll.c (__poll): Renamed from poll.
14963 Add libc_hidden_def.
14964 (poll): Define as weak alias.
14966 * debug/ptsname_r_chk.c: Moved to ...
14967 * login/ptsname_r_chk.c: ... here.
14968 * debug/Makefile (routines): Move ptsname_r_chk to ...
14969 * login/Makefile (routines): ... here.
14970 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14971 * login/Versions (libc: GLIBC_2.4): ... here.
14973 * posix/getlogin.c: Moved to ...
14974 * login/getlogin.c: ... here.
14975 * posix/getlogin_r.c: Moved to ...
14976 * login/getlogin_r.c: ... here.
14977 * posix/getlogin_r.c: Moved to ...
14978 * login/getlogin_r.c: ... here.
14979 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14980 * login/Makefile (routines): ... here.
14981 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14982 * login/Versions (libc: GLIBC_2.0): ... here.
14984 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14985 (setrlimit): Define as weak alias.
14987 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14988 Call __ names for open, ftruncate, and close.
14989 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14990 (truncate): Define as weak alias.
14992 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14994 * math/gen-libm-test.pl (parse_args): Initialize x before each
14995 test of frexp, modf and remquo.
14997 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14998 test signgam value.
15000 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15004 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15008 2013-05-06 Roland McGrath <roland@hack.frob.com>
15010 * elf/dl-writev.h: New file.
15011 * elf/dl-misc.c: Include it.
15012 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15013 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15015 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15017 * math/libm-test.inc (noXFails): Remove variable.
15018 (noXPasses): Likewise.
15019 (BUILD_COMPLEX_INT): Remove macro.
15020 (print_screen): Remove xfail argument.
15021 (print_screen_max_error): Likewise.
15022 (update_stats): Likewise.
15023 (print_max_error): Likewise. Update calls to other affected
15025 (print_complex_max_error): Likewise.
15026 (test_single_exception): Update calls to print_screen.
15027 (test_single_errno): Likewise.
15028 (check_float_internal): Remove xfail argument. Update calls to
15029 other affected functions.
15030 (check_float): Likewise.
15031 (check_complex): Likewise.
15032 (check_int): Likewise.
15033 (check_long): Likewise.
15034 (check_bool): Likewise.
15035 (check_longlong): Likewise.
15036 (main): Don't print noXFails and noXPasses.
15037 * math/gen-libm-test.pl (top level): Don't mention expected
15038 failure handling in comment.
15039 (new_test): Don't handle expected failures.
15040 (parse_args): Don't mention expected failure handling in comment.
15041 (generate_testfile): Don't handle expected failures.
15042 (parse_ulps): Likewise.
15043 (print_ulps_file): Likewise.
15044 (get_failure): Remove function.
15045 (output_test): Don't handle expected failures.
15046 * make/README.libm-test: Don't mention expected failure handling.
15048 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15049 (minus_zero): Likewise.
15050 (plus_infty): Likewise.
15051 (minus_infty): Likewise.
15052 (qnan_value): Likewise.
15053 (max_value): Likewise.
15054 (min_value): Likewise.
15055 (min_subnorm_value): Likewise.
15056 (initialize): Do not initialize those variables dynamically.
15058 2013-05-03 Roland McGrath <roland@hack.frob.com>
15060 * io/open.c (__open_2): Moved to ...
15061 * io/open_2.c: ... this new file.
15062 * io/open64.c (__open64_2): Moved to ...
15063 * io/open64_2.c: ... this new file.
15064 * io/openat.c (__openat_2): Moved to ...
15065 * io/openat_2.c: ... this new file.
15066 * io/openat64.c (__openat64_2): Moved to ...
15067 * io/openat64_2.c: ... this new file.
15068 * io/Makefile (routines): Add them.
15069 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15070 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15071 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15072 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15073 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15074 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15075 (__openat64): Add hidden_ver.
15076 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15077 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15079 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15080 Separately conditionalize setting of GLRO(dl_sysinfo) so
15081 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15082 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15084 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15086 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15087 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15089 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15090 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15091 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15092 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15093 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15095 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15097 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15098 test signgam value.
15100 * math/libm-test.inc (hypot_test): Do not use
15101 IGNORE_ZERO_INF_SIGN.
15103 2013-05-03 Andreas Jaeger <aj@suse.de>
15105 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15107 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15108 (PF_MAX): Adjust for VSOCK change.
15110 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15114 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15117 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15118 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15119 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15121 2013-05-02 David S. Miller <davem@davemloft.net>
15123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15125 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15127 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15129 2013-05-01 Roland McGrath <roland@hack.frob.com>
15131 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15133 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15136 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15137 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15138 Use __attribute__ ((__gnu_inline__)).
15139 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15140 Don't use __attribute__ ((__gnu_inline__)).
15142 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15145 * math/s_catan.c (__catan): Handle small real or imaginary part of
15146 input specially to avoid spurious underflow.
15147 * math/s_catanf.c (__catanf): Likewise.
15148 * math/s_catanh.c (__catanh): Likewise.
15149 * math/s_catanhf.c (__catanhf): Likewise.
15150 * math/s_catanhl.c (__catanhl): Likewise.
15151 * math/s_catanl.c (__catanl): Likewise.
15152 * math/libm-test.inc (catan_test): Add more tests.
15153 (catanh_test): Likewise.
15154 * sysdeps/i386/fpu/libm-test-ulps: Update.
15155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15157 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15161 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15164 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15165 accurately for denominator in atan2.
15166 * math/s_catanf.c (__catanf): Likewise.
15167 * math/s_catanh.c (__catanh): Likewise.
15168 * math/s_catanhf.c (__catanhf): Likewise.
15169 * math/s_catanhl.c (__catanhl): Likewise.
15170 * math/s_catanl.c (__catanl): Likewise.
15171 * math/libm-test.inc (catan_test): Add more tests.
15172 (catanh_test): Likewise.
15173 * sysdeps/i386/fpu/libm-test-ulps: Update.
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15176 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15178 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15180 * benchtests/Makefile (bench): Remove slow benchmarks.
15181 * benchtests/atan-inputs: Add slow benchmark inputs.
15182 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15183 (BENCH_FUNC): Accept variant offset.
15185 * benchtests/bench-skeleton.c (main): Run benchmark for each
15187 * benchtests/cos-inputs: Add slow benchmark inputs.
15188 * benchtests/exp-inputs: Likewise.
15189 * benchtests/pow-inputs: Likewise.
15190 * benchtests/sin-inputs: Likewise.
15191 * benchtests/slowatan-inputs: Remove.
15192 * benchtests/slowatan.c: Remove.
15193 * benchtests/slowcos-inputs: Remove.
15194 * benchtests/slowcos.c: Remove.
15195 * benchtests/slowexp-inputs: Remove.
15196 * benchtests/slowexp.c: Remove.
15197 * benchtests/slowpow-inputs: Remove.
15198 * benchtests/slowpow.c: Remove.
15199 * benchtests/slowsin-inputs: Remove.
15200 * benchtests/slowsin.c: Remove.
15201 * benchtests/slowtan-inputs: Remove.
15202 * benchtests/slowtan.c: Remove.
15203 * benchtests/tan-inputs: Add slow benchmark inputs.
15204 * scripts/bench.pl: Parse comments and directives.
15206 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15208 ($(objpfx)bench-%.c): Remove *-ITER.
15209 * benchtests/bench-modf.c: Remove definition of ITER.
15210 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15211 (main): Loop for DURATION seconds instead of fixed number of
15213 * scripts/bench.pl: Don't expect iterations in parameters.
15215 2013-04-29 Roland McGrath <roland@hack.frob.com>
15217 * io/fchdir.c (__fchdir): Renamed from fchdir.
15218 (fchdir): Define as weak alias.
15220 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15222 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15223 (ERRNO_EDOM): Likewise.
15224 (ERRNO_ERANGE): Likewise.
15225 (noErrnoTests): New variable.
15226 (init_max_error): Set errno to 0.
15227 (test_single_errno): New function.
15228 (test_errno): Likewise.
15229 (check_float_internal): Call test_errno. Set errno to 0.
15230 (check_complex): Refer to errno tests in comment.
15231 (check_int): Call test_errno. Set errno to 0.
15232 (check_long): Likewise.
15233 (check_bool): Likewise.
15234 (check_longlong): Likewise.
15235 (cos_test): Use ERRNO_* flags for errno tests instead of
15237 (expm1_test): Likewise.
15238 (fmod_test): Likewise.
15239 (ilogb_test): Likewise.
15240 (lgamma_test): Likewise.
15241 (pow_test): Likewise.
15242 (remainder_test): Likewise.
15243 (sin_test): Likewise.
15244 (tan_test): Likewise.
15245 (yn_test): Likewise.
15246 (initialize): Set errno to 0.
15247 (main): Print number of errno tests.
15248 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15250 2013-04-29 Andreas Jaeger <aj@suse.de>
15253 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15257 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15258 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15262 * stdlib/random.c (__initstate): Return NULL if
15266 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15267 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15270 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15274 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15276 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15277 of individual tests.
15278 (casin_test): Likewise.
15279 (casinh_test): Likewise.
15281 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15284 * math/s_catan.c (__catan): Handle arguments with large real or
15285 imaginary part separately without squaring.
15286 * math/s_catanf.c (__catanf): Likewise.
15287 * math/s_catanh.c (__catanh): Likewise.
15288 * math/s_catanhf.c (__catanhf): Likewise.
15289 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15291 (__catanhl): Handle arguments with large real or imaginary part
15292 separately without squaring.
15293 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15295 (__catanl): Handle arguments with large real or imaginary part
15296 separately without squaring.
15297 * math/libm-test.inc (catan_test): Add more tests.
15298 (catanh_test): Likewise.
15299 * sysdeps/i386/fpu/libm-test-ulps: Update.
15300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15302 2013-04-27 Andreas Jaeger <aj@suse.de>
15305 * stdlib/stdlib.h: Update guards for qecvt.
15306 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15309 2013-04-27 Allan McRae <allan@archlinux.org>
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15313 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15316 * math/s_catan.c: Include <float.h>.
15317 (__catan): Ensure underflow exception occurs for underflowed
15319 * math/s_catanf.c: Include <float.h>.
15320 (__catanf): Ensure underflow exception occurs for underflowed
15322 * math/s_catanh.c: Include <float.h>.
15323 (__catanh): Ensure underflow exception occurs for underflowed
15325 * math/s_catanhf.c: Include <float.h>.
15326 (__catanhf): Ensure underflow exception occurs for underflowed
15328 * math/s_catanhl.c: Include <float.h>.
15329 (__catanhl): Ensure underflow exception occurs for underflowed
15331 * math/s_catanl.c: Include <float.h>.
15332 (__catanl): Ensure underflow exception occurs for underflowed
15334 * math/libm-test.inc (catan_test): Add more tests.
15335 (catanh_test): Likewise.
15338 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15339 underflowed result.
15340 * math/s_ccoshf.c (__ccoshf): Likewise.
15341 * math/s_ccoshl.c (__ccoshl): Likewise.
15342 * math/s_csin.c (__csin): Likewise.
15343 * math/s_csinf.c (__csinf): Likewise.
15344 * math/s_csinh.c (__csinh): Likewise.
15345 * math/s_csinhf.c (__csinhf): Likewise.
15346 * math/s_csinhl.c (__csinhl): Likewise.
15347 * math/s_csinl.c (__csinl): Likewise.
15348 * math/libm-test.inc (ccos_test): Add more tests.
15349 (ccosh_test): Likewise.
15350 (csin_test): Likewise.
15351 (csinh_test): Likewise.
15353 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15355 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15356 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15357 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15358 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15359 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15360 powerpc/power5+/fpu folders.
15361 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15364 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15368 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15370 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15371 additions to variable.
15372 [$(config-machine) = x86_64] (modules-names): Likewise.
15373 ($(objpfx)tst-audit3): Remove dependency.
15374 ($(objpfx)tst-audit3.out): Likewise.
15375 ($(objpfx)tst-audit4): Likewise.
15376 ($(objpfx)tst-audit4.out): Likewise.
15377 ($(objpfx)tst-audit5): Likewise.
15378 ($(objpfx)tst-audit5.out): Likewise.
15379 ($(objpfx)tst-audit6): Likewise.
15380 ($(objpfx)tst-audit6.out): Likewise.
15381 ($(objpfx)tst-audit7): Likewise.
15382 ($(objpfx)tst-audit7.out): Likewise.
15383 (tst-audit3-ENV): Remove variable.
15384 (tst-audit4-ENV): Likewise.
15385 (tst-audit5-ENV): Likewise.
15386 (tst-audit6-ENV): Likewise.
15387 (tst-audit7-ENV): Likewise.
15388 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15389 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15390 addition to variable.
15391 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15392 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15393 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15394 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15395 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15396 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15397 tst-audit3, tst-audit4 and tst-audit5.
15398 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15399 tst-audit6 and tst-audit7.
15400 [$(subdir) = elf] (modules-names): Add audit modules for those
15402 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15403 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15404 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15405 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15406 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15407 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15408 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15409 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15410 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15411 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15412 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15413 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15414 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15415 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15416 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15417 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15419 [$(subdir) = elf && $(config-cflags-avx) = yes]
15420 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15421 [$(subdir) = elf && $(config-cflags-avx) = yes]
15422 (CFLAGS-tst-auditmod4a.c): Likewise.
15423 [$(subdir) = elf && $(config-cflags-avx) = yes]
15424 (CFLAGS-tst-auditmod4b.c): Likewise.
15425 [$(subdir) = elf && $(config-cflags-avx) = yes]
15426 (CFLAGS-tst-auditmod6b.c): Likewise.
15427 [$(subdir) = elf && $(config-cflags-avx) = yes]
15428 (CFLAGS-tst-auditmod6c.c): Likewise.
15429 [$(subdir) = elf && $(config-cflags-avx) = yes]
15430 (CFLAGS-tst-auditmod7b.c): Likewise.
15431 * elf/tst-audit3.c: Move to ...
15432 * sysdeps/x86_64/tst-audit3.c: ... here.
15433 * elf/tst-audit4.c: Move to ...
15434 * sysdeps/x86_64/tst-audit4.c: ... here.
15435 * elf/tst-audit5.c: Move to ...
15436 * sysdeps/x86_64/tst-audit5.c: ... here.
15437 * elf/tst-audit6.c: Move to ...
15438 * sysdeps/x86_64/tst-audit6.c: ... here.
15439 * elf/tst-audit7.c: Move to ...
15440 * sysdeps/x86_64/tst-audit7.c: ... here.
15441 * elf/tst-auditmod3a.c: Move to ...
15442 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15443 * elf/tst-auditmod3b.c: Move to ...
15444 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15445 * elf/tst-auditmod4a.c: Move to ...
15446 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15447 * elf/tst-auditmod4b.c: Move to ...
15448 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15449 * elf/tst-auditmod5a.c: Move to ...
15450 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15451 * elf/tst-auditmod5b.c: Move to ...
15452 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15453 * elf/tst-auditmod6a.c: Move to ...
15454 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15455 * elf/tst-auditmod6b.c: Move to ...
15456 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15457 * elf/tst-auditmod6c.c: Move to ...
15458 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15459 * elf/tst-auditmod7a.c: Move to ...
15460 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15461 * elf/tst-auditmod7b.c: Move to ...
15462 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15464 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15467 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15468 define unconditionally.
15469 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15470 define unconditionally.
15471 (INT8_C, INT16_C, etc.): Likewise.
15473 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15475 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15476 __ehdr_start with hidden visibility.
15478 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15480 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15482 * math/libm-test.inc (cos_test): Use accurate hex constants.
15483 (sincost_test): Likewise.
15485 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15487 * math/libm-test.inc (catan_test): Add more tests.
15488 (catanh_test): Likewise.
15490 * math/s_catanf.c (__catanf): Use suffixed floating-point
15492 * math/s_catanhf.c (__catanhf): Likewise.
15493 * math/s_catanhl.c (__catanhl): Likewise.
15494 * math/s_catanl.c (__catanl): Likewise.
15497 * math/s_catan.c (__catan): Calculate imaginary part of result
15498 with log1p not log unless computing log of number close to 0.
15499 * math/s_catanf.c (__catanf): Likewise.
15500 * math/s_catanl.c (__catanl): Likewise.
15501 * math/s_catanh.c (__catanh): Calculate real part of result with
15502 log1p not log unless computing log of number close to 0.
15503 * math/s_catanhf.c (__catanhf): Likewise.
15504 * math/s_catanhl.c (__catanhl): Likewise.
15505 * math/libm-test.inc (catan_test): Add more tests.
15506 (catanh_test): Likewise.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15510 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15512 * benchtests/Makefile: Mention files in which fast and slow
15513 paths of math functions are implemented.
15515 2013-04-23 Roland McGrath <roland@hack.frob.com>
15517 * sysdeps/posix/timespec_get.c: New file.
15519 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15521 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15523 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15525 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15526 powerpc/power5/fpu folders.
15527 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15528 * benchtests/Makefile: Add modf testcase.
15529 * benchtests/bench-modf.c: New file: Benchmark test for mo
15531 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15534 * time/Makefile (tests): Add tst-strptime-whitespace.
15535 * time/strptime_l.c (get_number): Use ISSPACE.
15536 (__strptime_internal): Likewise.
15537 * time/tst-strptime-whitespace.c: New test case.
15539 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15541 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15543 (_nss_files_init): Set it here.
15545 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15547 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15548 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15551 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15553 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15555 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15560 2013-04-21 David S. Miller <davem@davemloft.net>
15562 * po/ru.po: Update Russion translation from translation project.
15564 2013-04-17 Adam Conrad <adconrad@0c3.net>
15566 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15569 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15571 * configure.in: Remove i386 configure warning. Remove i386 case.
15572 * configure: Regenerate.
15573 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15574 Add example to error message.
15575 * sysdeps/i386/configure: Regenerate.
15577 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15579 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15581 * benchtests/cos-inputs: New file.
15582 * benchtests/slowcos-inputs: New file.
15583 * benchtests/slowcos.c: New file.
15584 * benchtests/slowtan-inputs: New file.
15585 * benchtests/slowtan.c: New file.
15586 * benchtests/tan-inputs: New file.
15588 2013-04-16 Roland McGrath <roland@hack.frob.com>
15590 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15593 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15595 * benchtests/Makefile: Include cppflags-iterator.mk to add
15596 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15598 * Makefile.in (bench-clean): New target.
15599 * benchtests/Makefile (bench-clean): Likewise.
15601 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15603 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15605 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15607 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15609 2013-04-15 Andreas Schwab <schwab@suse.de>
15611 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15613 * nscd/pwdcache.c (cache_addpw): Likewise.
15614 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15617 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 * benchtests/Makefile (bench): Write all output to
15620 bench-out.tmp together.
15622 2013-04-15 Andreas Schwab <schwab@suse.de>
15624 * nscd/nscd.c (main): Don't fork again after closing files.
15626 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15628 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15630 * benchtests/Rules (bench-deps): Collect dependencies into a
15631 single variable. Add Makefile to dependencies.
15632 ($(objpfx)bench-%.c): Depend on bench-deps.
15634 2013-04-12 Roland McGrath <roland@hack.frob.com>
15635 Xavier Roche <roche+kml2@exalead.com>
15638 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15639 just that it's a file descriptor.
15640 * manual/llio.texi (Synchronizing AIO Operations): Update description
15641 for EBADF error from aio_fsync.
15643 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15645 * Rules (bench): Move target definition...
15646 * benchtests/Makefile: ... here.
15648 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15650 * math/libm-test.inc (cos_test): Fix PI/2 test.
15651 (sincos_test): Likewise.
15652 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15653 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15655 2013-04-11 Andreas Schwab <schwab@suse.de>
15658 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15659 accept exponent character only when digits were seen.
15660 * stdio-common/Makefile (tests): Add bug26.
15661 * stdio-common/bug26.c: New file.
15664 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15667 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15669 * Makeconfig (rtld-prefix): Define built linker prefix.
15670 * Rules (run-bench): Use it.
15671 * math/Makefile (run-regen-ulps): Likewise.
15673 * Rules (bench): Remove eval.
15675 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15676 Roland McGrath <roland@hack.frob.com>
15677 Ondrej Bilka <neleai@seznam.cz>
15680 * time/getdate.c: Include ctype.h and alloca.h.
15681 (__getdate_r): Trim leading and trailing spaces of input.
15682 * time/tst-getdate.c (tests): Add tests with leading and
15685 2013-04-08 Roland McGrath <roland@hack.frob.com>
15688 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15689 when computing value.
15691 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15693 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15694 Use testrun.sh to run libm tests.
15697 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15699 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15702 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15704 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15706 * Makefile.in (regen-ulps): New target.
15707 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15708 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15709 [ifneq (no,$(PERL)] (regen-ulps): New target.
15710 [ifeq (no,$(PERL)] (regen-ulps): New target.
15711 * math/libm-test.inc (ulps_file_name): Define.
15712 (output_dir): New variable.
15713 (options): Add "output-dir" option.
15714 (parse_opt): Handle 'o' case.
15715 (main): If output_dir is non-NULL use it as a prefix
15717 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15719 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15721 [BZ #10060, #10062]
15722 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15723 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15724 fail configure if __sync_val_compare_and_swap is not inlined.
15725 * sysdeps/i386/configure: Regenerate.
15726 * configure.in: Build for i686 when configured for i386.
15727 * configure: Regenerate.
15728 * README: Remove i386 reference.
15730 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15732 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15735 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15737 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15738 (lmsnanval): New variables.
15739 (F): Add conversion tests.
15740 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15741 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15743 * stdio-common/tstdiomisc.c (F): Properly collect individual
15746 [BZ #14686, #15336]
15747 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15748 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15749 Instead, use input NaN values or generate a qNaN by arithmetic
15750 operation. Also fix bugs to comply with the standard.
15751 * math/libm-test.inc (remainder_test): Add more tests.
15753 [BZ #15335, #15342]
15754 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15756 input NaN values or generate a qNaN by arithmetic operation.
15758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15761 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15764 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15767 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15768 underflowed result.
15769 * math/s_cexpf.c (__cexpf): Likewise.
15770 * math/s_cexpl.c (__cexpl): Likewise.
15771 * math/libm-test.inc (cexp_test): Add more tests.
15773 2013-04-03 Andreas Schwab <schwab@suse.de>
15776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15777 order arrays from heap if bigger than alloca cutoff.
15779 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15781 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15782 (SNAN_TESTS_double): Refer to GCC PR56831.
15783 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15786 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15788 * Rules (bench): Move bench.out after the run is complete.
15790 * Rules (bench): Echo currently running benchmark.
15792 * benchtests/Makefile (bench): Add atan and slowatan.
15793 * benchtests/atan-inputs: New file.
15794 * benchtests/slowatan-inputs: New file.
15795 * benchtests/slowatan.c: New file.
15797 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15798 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15802 * sysdeps/unix/sysv/linux/kernel-features.h
15803 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15804 __ASSUME_XFS_RESTRICTED_CHOWN.
15805 * sysdeps/unix/sysv/linux/pathconf.c
15806 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15807 Save and restore errno.
15809 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15812 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15813 arguments using __kernel_casinh.
15814 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15815 arguments using __kernel_casinhf.
15816 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15817 arguments using __kernel_casinhl.
15818 * math/libm-test.inc (cacosh_test): Add more tests.
15819 * sysdeps/i386/fpu/libm-test-ulps: Update.
15820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15822 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15827 * bench/Makefile (bench): Add sin and slowsin.
15828 * benchtests/sin-inputs: New file.
15829 * benchtests/slowsin-inputs: New file.
15830 * benchtests/slowsin.c: New file.
15832 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15833 (bench): Add slowexp and slowpow.
15834 (exp-ITER): Increase iterations.
15835 (pow-ITER): Likewise.
15836 * benchtests/exp-inputs: Change input.
15837 * benchtests/pow-inputs: Likewise.
15838 * benchtests/slowexp-inputs: New file.
15839 * benchtests/slowexp.c: New file.
15840 * benchtests/slowpow-inputs: New file.
15841 * benchtests/slowpow.c: New file.
15843 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15847 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15848 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15849 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15850 * benchtests/Makefile: Add rint benchtest.
15851 * benchtests/rint-inputs: Input for rint benchtest.
15853 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15855 * Versions.def (libm): Add GLIBC_2.18.
15856 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15857 hidden libm prototypes.
15858 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15859 * math/Makefile (libm-calls): Add s_issignaling.
15860 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15861 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15862 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15864 * math/math.h [__USE_GNU] (issignaling): New macro.
15865 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15866 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15868 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15871 * manual/arith.texi (issignaling): New section.
15872 * manual/libm-err-tab.pl (@all_functions): Update comment.
15873 * math/gen-libm-test.pl (parse_args): Apply special handling for
15875 * math/libm-test.inc (print_float, issignaling_test): New
15877 (check_float_internal): Add issignaling checks.
15878 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15879 default definition.
15880 * sysdeps/powerpc/math-tests.h: New file.
15881 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15883 * math/test-snan.c (TEST_FUNC): Likewise.
15885 2013-03-30 David S. Miller <davem@davemloft.net>
15887 * po/de.po: Update from translation team.
15889 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15892 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15893 imaginary part less than 1.0 and real part less than 0.5
15895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15897 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15898 (cacos_test): Add more tests.
15899 (casin_test): Likewise.
15900 (casinh_test): Likewise.
15901 * sysdeps/i386/fpu/libm-test-ulps: Update.
15902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15904 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15906 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15907 ONE with its value.
15909 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15910 (__pow_mp): Replace ONE and MONE with their values.
15911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15912 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15914 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15916 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15918 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15920 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15921 (__pow_mp): Replace ZERO and MZERO with their values.
15922 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15926 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15927 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15930 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15932 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15934 2013-03-28 Roland McGrath <roland@hack.frob.com>
15936 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15937 Declare with __attribute__ ((weak)).
15938 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15939 Call __call_tls_dtors only if it's not NULL.
15941 2013-03-28 Roland McGrath <roland@hack.frob.com>
15943 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15944 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15945 magic __ehdr_start linker symbol if it's defined.
15946 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15947 them up here if it was already done.
15949 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15950 (_dl_aux_init): Use const in cast when setting it.
15951 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15952 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15953 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15955 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15957 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15958 * csu/libc-tls.c: Nor here.
15959 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15961 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15962 (__libc_message): Never call vsyslog.
15964 2013-03-28 Alan Modra <amodra@gmail.com>
15966 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15968 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15971 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15978 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15981 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15982 Don't add gid passed as argument.
15984 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15986 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15989 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15990 imaginary part between 1.0 and 1.5 and real part less than 0.5
15992 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15993 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15994 * math/libm-test.inc (cacos_test): Add more tests.
15995 (casin_test): Likewise.
15996 (casinh_test): Likewise.
15997 * sysdeps/i386/fpu/libm-test-ulps: Update.
15998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16000 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16002 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16005 (denorm): Likewise.
16006 (__dbl_mp): Likewise.
16007 (add_magnitudes): Likewise.
16008 (sub_magnitudes): Likewise.
16016 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16018 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16019 (__dubcos): Likewise.
16020 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16021 (__ieee754_acos): Likewise.
16022 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16023 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16024 (__exp1): Likewise.
16025 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16028 (my_log2): Likewise.
16029 (checkint): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_remainder.c
16031 (__ieee754_remainder): Likewise.
16032 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16034 (bsloww): Likewise.
16035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16037 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16038 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16039 MANTISSA_STORE_T to store computations on mantissa. Use
16040 macros for rounding and division.
16041 (denorm): Likewise.
16042 (__dbl_mp): Likewise.
16043 (add_magnitudes): Likewise.
16044 (sub_magnitudes): Likewise.
16047 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16048 powers of two in terms of TWOPOW macro.
16049 (mp_no): Make type of mantissa as MANTISSA_T.
16050 [!RADIXI]: Define RADIXI.
16051 [!TWO52]: Define TWO52.
16052 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16054 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16056 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16057 llroundl symbol when building for PPC32.
16059 2013-03-24 Mark H Weaver <mhw@netris.org>
16061 * manual/arith.texi (Normalization Functions): Fix prototypes for
16062 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16064 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16068 high value to check if expl overflow.
16069 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16070 to check for underflow and overflow.
16071 * math/libm-test.inc: Add exp test.
16073 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16076 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16079 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16081 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16084 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16086 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16087 wrap blocks consisting of several statements.
16089 * sysdeps/generic/math-tests.h: New file.
16090 * sysdeps/i386/fpu/math-tests.h: Likewise.
16091 * math/test-snan.c: Include it.
16092 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16094 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16097 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16098 (__ieee754_j0l): Do not improve calculations using cos of twice
16099 input for inputs above LDBL_MAX / 2.0L.
16100 (__ieee754_y0l): Likewise.
16101 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16102 (__ieee754_j1l): Do not improve calculations using cos of twice
16103 input for inputs above LDBL_MAX / 2.0L.
16104 (__ieee754_y1l): Likewise.
16105 * math/libm-test.inc (j0_test): Add another test.
16106 (j1_test): Likewise.
16107 (y0_test): Likewise.
16108 (y1_test): Likewise.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16111 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16113 * Rules ($(objpfx)bench-%.c): Include code from a C source
16116 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16119 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16120 imaginary part 1.0 and real part less than 0.5 specially.
16121 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16122 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16123 * math/libm-test.inc (cacos_test): Add more tests.
16124 (casin_test): Likewise.
16125 (casinh_test): Likewise.
16126 * sysdeps/i386/fpu/libm-test-ulps: Update.
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16129 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16132 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16134 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16136 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16137 * config.make.in (config-cflags-sse4): Remove variable.
16138 (config-cflags-avx): Likewise.
16139 (config-cflags-sse2avx): Likewise.
16140 (config-cflags-novzeroupper): Likewise.
16141 (config-asflags-i686): Likewise.
16142 (have-mfma4): Likewise.
16143 (have-as-vis3): Likewise.
16145 * configure.in (MIG): Do not AC_SUBST.
16146 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16147 (libc_cv_cc_sse4): Do not AC_SUBST.
16148 (libc_cv_cc_avx): Likewise.
16149 (libc_cv_cc_sse2avx): Likewise.
16150 (libc_cv_cc_novzeroupper): Likewise.
16151 (libc_cv_cc_fma4): Likewise.
16152 (libc_cv_as_i686): Likewise.
16153 (libc_cv_sparc_as_vis3): Likewise.
16154 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16156 (config-asflags-i686): Likewise.
16157 (config-cflags-avx): Likewise.
16158 (config-cflags-sse2avx): Likewise.
16159 (have-mfma4): Likewise.
16160 (config-cflags-novzeroupper): Likewise.
16161 * sysdeps/mach/configure.in (MIG): Likewise.
16162 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16163 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16165 (config-cflags-avx): Likewise.
16166 (config-cflags-sse2avx): Likewise.
16167 (have-mfma4): Likewise.
16168 (config-cflags-novzeroupper): Likewise.
16169 * configure: Regenerated.
16170 * sysdeps/i386/configure: Likewise.
16171 * sysdeps/mach/configure: Likewise.
16172 * sysdeps/sparc/configure: Likewise.
16173 * sysdeps/x86_64/configure: Likewise.
16175 2013-03-20 Roland McGrath <roland@hack.frob.com>
16178 * locale/programs/localedef.c (options): Put N_ translation marker
16179 on argument names, not just descriptions.
16181 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16183 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16185 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16188 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16190 2013-03-19 Roland McGrath <roland@hack.frob.com>
16192 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16193 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16194 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16195 [!BEFORE_ABORT] (before_abort): New function.
16196 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16197 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16198 (writev_for_fatal): New function.
16199 (WRITEV_FOR_FATAL): New macro; call that.
16200 (backtrace_and_maps): New function.
16201 (BEFORE_ABORT): New macro; call that.
16202 (struct str_list): Type removed.
16203 (__libc_message, __libc_fatal): Functions removed.
16204 Include <sysdeps/posix/libc_fatal.c> instead.
16206 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16208 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16210 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16213 2013-03-19 Andreas Schwab <schwab@suse.de>
16215 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16216 * sysdeps/gnu/configure: Regenerate.
16218 * configure.in: Substitute libc_cv_rtlddir.
16219 * configure: Regenerate.
16220 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16221 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16222 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16223 * elf/Makefile (install-others, CFLAGS-interp.c)
16224 (ldso_install, common-ldd-rewrite): Likewise.
16225 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16226 $(inst_slibdir)/$(rtld-installed-name).
16227 * scripts/rellns-sh: Add -p option.
16228 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16231 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16233 * manual/nptl.texi: Renamed to ...
16234 * manual/threads.texi: ... this.
16235 * manual/Makefile (chapters): Update.
16237 2013-03-18 Roland McGrath <roland@hack.frob.com>
16240 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16241 on argument names, not just descriptions.
16242 * malloc/memusagestat.c (options): Likewise.
16243 * nss/getent.c (options): Likewise.
16245 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16248 * iconv/iconv_prog.c (options): Put N_ translation marker
16249 on argument names, not just descriptions.
16250 * iconv/iconvconfig.c (options): Likewise.
16252 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16254 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16255 implementation which is faster on all x86_64 architectures.
16256 Tested on AMD, Intel Nehalem, SNB, IVB.
16257 * sysdeps/x86_64/strnlen.S: Likewise.
16259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16260 Remove all multiarch strlen and strnlen versions.
16261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16262 Remove strlen and strnlen related parts.
16264 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16265 Inline strlen part.
16266 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16268 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16269 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16270 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16271 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16272 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16273 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16275 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16277 * manual/memory.texi (Malloc Tunable Parameters):
16278 Sort parameters alphabetically. Add comments for missing entries.
16280 2013-03-17 David S. Miller <davem@davemloft.net>
16282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16284 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16287 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16288 for arguments at most half maximum finite value.
16289 * math/libm-test.inc (j0_test): Add more tests.
16290 (j1_test): Likewise.
16291 (y0_test): Likewise.
16292 (y1_test): Likewise.
16293 * sysdeps/i386/fpu/libm-test-ulps: Update.
16294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16297 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16298 1 / x and functions P and Q for arguments above 0x1p256L.
16299 (__ieee754_y0l): Likewise.
16300 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16301 (__ieee754_y1l): Likewise.
16302 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16303 (j1_test): Likewise.
16304 (y0_test): Likewise.
16305 (y1_test): Likewise.
16307 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16309 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16312 2013-03-15 Roland McGrath <roland@hack.frob.com>
16314 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16315 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16316 zero since it's initialized to EXEC_PAGESIZE.
16318 * sysdeps/unix/sysv/linux/ldsodefs.h
16319 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16320 * sysdeps/generic/ldsodefs.h: ... here.
16322 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16324 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16326 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16328 * math/test-snan.c: Renamed from
16329 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16330 * math/Makefile (tests): Add test-snan.
16331 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16334 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16335 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16337 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16338 __builtin_nan family of functions.
16339 * math/libm-test.inc (initialize): Initialize qnan_value with
16340 __builtin_nan family of functions.
16341 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16343 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16345 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16346 storage class. Initialize qNaN_var and sNaN_var with
16347 __builtin_nan and __builtin_nans families of functions,
16350 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16351 (sqrt_test): Remove duplicate test with qNaN input.
16352 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16353 (round_test, signbit_test, significand_test): Note missing +/-Inf
16354 as well as qNaN tests.
16356 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16357 qNaN_var. Fix a few strings, too.
16358 * math/libm-test.inc (nan_value): Rename to qnan_value.
16359 * math/gen-libm-test.pl (%beautify): Adjust to that.
16360 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16361 * math/test-misc.c (main): Likewise.
16362 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16363 to __qnan_bytes, and __qnan_union, respectively.
16364 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16366 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16367 and lqnanval, respectively.
16368 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16369 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16370 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16371 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16373 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16374 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16377 * math/test-misc.c (main): Fix copy'n'pastos.
16378 * misc/tst-efgcvt.c (special): Likewise.
16380 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16381 Remove declarations.
16383 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16385 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16386 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16387 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16388 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16390 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16393 macro to return vdso values correctly in IFUNC implementations.
16394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16395 Optimization by using IFUNC.
16397 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16398 Richard Henderson <rth@redhat.com>
16399 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16401 * Makefile.in (bench): New target.
16402 * NEWS: Mention the benchmark framework.
16403 * Rules (bench): Likewise.
16404 (binaries-bench): Generate binaries for functions to
16406 * benchtests/Makefile: New makefile for benchmark tests.
16407 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16409 * benchtests/exp-inputs: New input file for EXP function.
16410 * benchtests/pow-inputs: New input file for POW function.
16411 * scripts/bench.pl: New script to generate source files for
16412 benchmark programs.
16414 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16416 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16417 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16418 computations on mantissa. Use macros for rounding and
16420 (denorm): Likewise.
16421 (__dbl_mp): Likewise.
16422 (add_magnitudes): Likewise.
16423 (sub_magnitudes): Likewise.
16426 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16427 powers of two in terms of TWOPOW macro.
16428 (mp_no): Make type of mantissa as MANTISSA_T.
16429 [!RADIXI]: Define RADIXI.
16430 [!TWO52]: Define TWO52.
16431 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16433 * manual/nptl.texi (cindex): Modify threads to pthreads.
16435 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16437 * sysdeps/x86_64/preconfigure: Regenerated.
16439 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16442 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16444 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16445 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16447 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16448 * math/libm-test.inc (j0_test): Do not allow one spurious
16449 underflow exception.
16450 (y1_test): Likewise.
16452 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16454 * manual/Makefile (chapters): Add nptl.
16455 * manual/debug.texi (Debugging Support): Add link to Threads
16457 * manual/nptl.texi: New file.
16459 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16461 2013-03-14 Petr Baudis <pasky@ucw.cz>
16463 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16464 for non-NULL pointer before the memory validity test. Pointed
16465 out by Holger Brunck <holger.brunck@keymile.com>.
16467 2013-03-13 Andreas Schwab <schwab@suse.de>
16469 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16472 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16474 * timezone/zic.c: Update from tzcode 2013b.
16476 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16478 * manual/install.texi (Configuring and compiling):
16479 Mention i686 and i586.
16480 * INSTALL: Regenerate.
16482 2013-03-12 Roland McGrath <roland@hack.frob.com>
16484 * sysdeps/init_array/elf-init.c: New file.
16486 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16487 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16489 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16490 __gmon_start__ as global, but as static with a .preinit_array pointer.
16491 * sysdeps/init_array/gmon-start.c: New file. Use that.
16492 * sysdeps/init_array/crti.S: New file, empty except for comments.
16493 * sysdeps/init_array/crtn.S: Likewise.
16495 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16497 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16500 Remove Prefer_SSE_for_memop.
16501 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16502 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16503 HAS_PREFER_SSE_FOR_MEMOP.
16504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16507 Remove bzero, memset ifunc support.
16508 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16509 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16510 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16511 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16513 2013-03-11 Andreas Schwab <schwab@suse.de>
16516 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16519 (GLIBC_2.16): Remove pthread_atfork.
16521 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16523 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16524 (ptestcases.h): Likewise.
16526 2013-03-08 Roland McGrath <roland@hack.frob.com>
16528 * Makeconfig ($(common-objpfx)config.status): Depend on
16529 sysdeps/*/preconfigure{,.in} too.
16531 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16533 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16534 (__free_hook): Use void * instead of __malloc_ptr_t.
16535 (__malloc_hook): Likewise.
16536 (__realloc_hook): Likewise.
16537 (__memalign_hook): Likewise.
16538 (__after_morecore_hook): Likewise.
16539 * malloc/arena.c (save_malloc_hook): Likewise.
16540 (save_free_hook): Likewise.
16541 * malloc/hooks.c (malloc_hook_ini): Likewise.
16542 (realloc_hook_ini): Likewise.
16543 (memalign_hook_ini): Likewise.
16544 * malloc/malloc.c (malloc_hook_ini): Likewise.
16545 (realloc_hook_ini): Likewise.
16546 (memalign_hook_ini): Likewise.
16547 (__free_hook): Likewise.
16548 (__malloc_hook): Likewise.
16549 (__realloc_hook): Likewise.
16550 (__memalign_hook): Likewise.
16551 (__libc_malloc): Likewise.
16552 (__libc_free): Likewise.
16553 (__libc_realloc): Likewise.
16554 (__libc_memalign): Likewise.
16555 (__libc_valloc): Likewise.
16556 (__libc_pvalloc): Likewise.
16557 (__libc_calloc): Likewise.
16558 (__posix_memalign): Likewise.
16559 * malloc/morecore.c (__sbrk): Likewise.
16560 (__default_morecore): Likewise.
16562 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16564 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16565 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16566 __malloc_ptrdiff_t.
16568 * malloc/malloc.h (__malloc_size_t): Remove macro.
16569 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16571 (old_memalign_hook): Likewise.
16572 (old_realloc_hook): Likewise.
16573 (struct hdr): Likewise.
16575 (mallochook): Likewise.
16576 (memalignhook): Likewise.
16577 (reallochook): Likewise.
16578 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16579 (tr_old_realloc_hook): Likewise.
16580 (tr_old_memalign_hook): Likewise.
16581 (tr_mallochook): Likewise.
16582 (tr_reallochook): Likewise.
16583 (tr_memalignhook): Likewise.
16585 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16588 default_ldbl_pack and using as default implementation.
16589 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16591 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16592 redundant definition.
16593 (ldbl_insert_mantissa): Likewise.
16594 (ldbl_canonicalize): Likewise.
16595 (ldbl_nearbyint): Likewise.
16596 (ldbl_pack): Rename to ldbl_pack_ppc.
16597 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16598 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16599 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16601 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16604 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16605 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16606 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16608 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16609 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16610 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16612 2013-03-07 Andreas Jaeger <aj@suse.de>
16614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16617 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16620 Include mpa.h and declare __MPEXP.
16621 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16622 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16623 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16625 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16626 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16627 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16629 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16630 (__slowpow): Use long double EXPL and LOGL functions to
16632 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16633 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16635 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16636 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16637 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16640 intermediate variable to calculate exponent.
16642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16646 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16647 [!NO__SQR]: Define __sqr.
16648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16649 and NO__SQR. Remove all code except __mul and __sqr. Include
16650 sysdeps/ieee754/dbl-64/mpa.c.
16651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16654 * posix/Makefile (tests): Add tst-pathconf.
16655 * posix/tst-pathconf.c: New test case.
16656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16658 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16660 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16662 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16664 2013-03-06 Andreas Jaeger <aj@suse.de>
16666 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16667 definition via __MAP_ANONYMOUS.
16669 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16670 it's not part of Linux headers.
16672 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16673 (MAP_HUGE_MASK): Define.
16675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16677 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16680 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16681 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16683 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16686 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16688 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16689 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16690 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16691 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16692 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16693 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16698 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16699 Handle f2fs and efivarfs.
16701 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16704 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16705 (EFIVARFS_MAGIC): Add.
16706 (F2FS_LINK_MAX): Add.
16708 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16710 * stdio-common/vfprintf.c: Replace __builtin_expect with
16713 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16716 * sysdeps/generic/bp-sym.h: Remove file.
16717 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16718 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (__longjmp): Don't use BP_SYM.
16721 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16723 (memcpy): Don't use BP_SYM.
16724 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (memcpy): Don't use BP_SYM.
16727 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16729 (memcpy): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16732 (memset): Don't use BP_SYM.
16733 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16734 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16735 (__bzero): Don't use BP_SYM.
16736 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16737 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16738 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16739 <bp-sym.h> and <bp-asm.h>.
16740 (memcmp): Don't use BP_SYM. Remove comment about bounded
16742 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16743 <bp-sym.h> and <bp-asm.h>.
16744 (memcpy): Don't use BP_SYM.
16745 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (memset): Don't use BP_SYM.
16748 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16749 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16750 (__bzero): Don't use BP_SYM.
16751 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16752 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16753 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16754 <bp-sym.h> and <bp-asm.h>.
16755 (strncmp): Don't use BP_SYM. Remove comment about bounded
16757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16758 <bp-sym.h> and <bp-asm.h>.
16759 (memcpy): Don't use BP_SYM.
16760 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16761 <bp-sym.h> and <bp-asm.h>.
16762 (memset): Don't use BP_SYM.
16763 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16764 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16765 (__bzero): Don't use BP_SYM.
16766 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16767 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16768 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (__memchr): Don't use BP_SYM.
16771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16772 <bp-sym.h> and <bp-asm.h>.
16773 (memcmp): Don't use BP_SYM. Remove comment about bounded
16775 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16776 <bp-sym.h> and <bp-asm.h>.
16777 (memcpy): Don't use BP_SYM.
16778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16779 <bp-sym.h> and <bp-asm.h>.
16780 (__mempcpy): Don't use BP_SYM.
16781 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16782 <bp-sym.h> and <bp-asm.h>.
16783 (__memrchr): Don't use BP_SYM.
16784 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16785 <bp-sym.h> and <bp-asm.h>.
16786 (memset): Don't use BP_SYM.
16787 (__bzero): Likewise.
16788 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (__rawmemchr): Don't use BP_SYM.
16791 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__STRCMP): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (strchr): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16798 <bp-sym.h> and <bp-asm.h>.
16799 (__strchrnul): Don't use BP_SYM.
16800 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16801 <bp-sym.h> and <bp-asm.h>.
16802 (strlen): Don't use BP_SYM.
16803 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16804 <bp-sym.h> and <bp-asm.h>.
16805 (strncmp): Don't use BP_SYM. Remove comment about bounded
16807 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16808 <bp-sym.h> and <bp-asm.h>.
16809 (__strnlen): Don't use BP_SYM.
16810 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16811 <bp-sym.h> and <bp-asm.h>.
16812 (__GI__setjmp): Don't use BP_SYM.
16813 (_setjmp): Likewise.
16814 (__sigsetjmp): Likewise.
16815 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16816 (L(start_addresses)): Don't use BP_SYM.
16817 (_start): Likewise.
16818 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16820 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16821 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16822 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16823 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16824 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16826 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16827 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16828 about bounded pointers.
16829 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16830 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16831 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16833 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16834 about bounded pointers. Remove GKM FIXME comments.
16835 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16836 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16838 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16839 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16840 Remove GKM FIXME comments.
16841 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16842 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16843 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16845 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16846 about bounded pointers. Remove GKM FIXME comment.
16847 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16849 (strncmp): Don't use BP_SYM. Remove comment about bounded
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16859 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16861 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16864 2013-03-05 David S. Miller <davem@davemloft.net>
16866 * po/es.po: Update from translation team.
16868 2013-03-05 Andreas Jaeger <aj@suse.de>
16870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16871 <bits/mman-linux.h>.
16872 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16874 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16875 <bits/mman-linux.h> to end of file.
16876 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16878 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16879 <bits/mman-linux.h> to end of file.
16880 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16882 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16883 <bits/mman-linux.h> to end of file.
16885 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16886 (MCL_CURRENT, MCL_FUTURE): Define here.
16888 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16893 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16895 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16897 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16898 fourth parameter needed for rt_sigprocmask syscall.
16899 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16900 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16901 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16902 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16903 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16904 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16906 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16909 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16910 comment about bounded pointers.
16911 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16912 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16914 2013-03-04 Andreas Jaeger <aj@suse.de>
16916 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16917 common definitions.
16919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16920 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16921 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16922 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16924 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16926 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16930 __ieee754_sqrl instead of __sqrl.
16932 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16934 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16935 * sysdeps/powerpc/fpu_control.h: ... here.
16936 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16937 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16938 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16939 * sysdeps/powerpc/bits/mathinline.h: ... here.
16941 2013-03-01 Roland McGrath <roland@hack.frob.com>
16943 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16944 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16945 to just [NEED_DL_SYSINFO_DSO].
16946 * elf/dl-support.c: Likewise.
16947 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16948 * elf/rtld.c (dl_main): Likewise.
16949 * elf/setup-vdso.h (setup_vdso): Likewise.
16950 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16951 * sysdeps/unix/sysv/linux/dl-sysdep.c
16952 (_dl_discover_osversion): Likewise.
16954 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16956 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16957 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16959 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * NEWS: Mention libm performance improvements and non-x86 PI
16964 * csu/libc-start.c (__pthread_initialize_minimal): Change
16965 function arguments.
16966 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16968 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16971 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16972 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16975 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16977 (memcpy): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16980 (__mpn_add_n): Don't use BP_SYM.
16981 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16982 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16984 (__mpn_addmul_1): Don't use BP_SYM.
16985 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16988 (_setjmp): Don't use BP_SYM.
16989 (__novmx_setjmp): Likewise.
16990 (__GI__setjmp): Likewise.
16991 (__vmx_setjmp): Likewise.
16992 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16994 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16995 (__bzero): Don't use BP_SYM.
16996 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16998 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16999 <bp-sym.h> and <bp-asm.h>.
17000 (memcpy): Don't use BP_SYM.
17001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17002 <bp-sym.h> and <bp-asm.h>.
17003 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17004 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17007 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17009 (__mpn_lshift): Don't use BP_SYM.
17010 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17011 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17013 (memset): Don't use BP_SYM.
17014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17016 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17018 (__mpn_mul_1): Don't use BP_SYM.
17019 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (memcmp): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (memcpy): Don't use BP_SYM.
17026 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17027 <bp-sym.h> and <bp-asm.h>.
17028 (memset): Don't use BP_SYM.
17029 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17030 <bp-sym.h> and <bp-asm.h>.
17031 (strncmp): Don't use BP_SYM.
17032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17033 <bp-sym.h> and <bp-asm.h>.
17034 (memcpy): Don't use BP_SYM.
17035 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17036 <bp-sym.h> and <bp-asm.h>.
17037 (memset): Don't use BP_SYM.
17038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17039 <bp-sym.h> and <bp-asm.h>.
17040 (__memchr): Don't use BP_SYM.
17041 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17042 <bp-sym.h> and <bp-asm.h>.
17043 (memcmp): Don't use BP_SYM.
17044 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17045 <bp-sym.h> and <bp-asm.h>.
17046 (memcpy): Don't use BP_SYM.
17047 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17048 <bp-sym.h> and <bp-asm.h>.
17049 (__mempcpy): Don't use BP_SYM.
17050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17051 <bp-sym.h> and <bp-asm.h>.
17052 (__memrchr): Don't use BP_SYM.
17053 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17054 <bp-sym.h> and <bp-asm.h>.
17055 (memset): Don't use BP_SYM.
17056 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17057 <bp-sym.h> and <bp-asm.h>.
17058 (__rawmemchr): Don't use BP_SYM.
17059 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17060 <bp-sym.h> and <bp-asm.h>.
17061 (__STRCMP): Don't use BP_SYM.
17062 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17063 <bp-sym.h> and <bp-asm.h>.
17064 (strchr): Don't use BP_SYM.
17065 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17066 <bp-sym.h> and <bp-asm.h>.
17067 (__strchrnul): Don't use BP_SYM.
17068 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17069 <bp-sym.h> and <bp-asm.h>.
17070 (strlen): Don't use BP_SYM.
17071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (strncmp): Don't use BP_SYM.
17074 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17075 <bp-sym.h> and <bp-asm.h>.
17076 (__strnlen): Don't use BP_SYM.
17077 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17079 (__mpn_rshift): Don't use BP_SYM.
17080 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17081 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17082 <bp-sym.h> and <bp-asm.h>.
17083 (__sigsetjmp): Don't use BP_SYM.
17084 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17085 (L(start_addresses)): Don't use BP_SYM.
17086 (_start): Likewise.
17087 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17089 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17090 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17091 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17092 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17094 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17095 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17096 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17097 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17099 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17101 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17102 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17104 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17106 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17107 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17108 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17110 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17112 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17114 (strncmp): Don't use BP_SYM,
17115 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17117 (__mpn_sub_n): Don't use BP_SYM.
17118 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17119 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17121 (__mpn_submul_1): Don't use BP_SYM.
17122 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17127 <bp-sym.h> and <bp-asm.h>.
17128 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17131 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17134 Use ZK to minimize writes to Z.
17135 (sub_magnitudes): Simplify code a bit.
17136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17137 Use ZK to minimize writes to Z.
17138 (sub_magnitudes): Simplify code a bit.
17140 2013-02-27 Roland McGrath <roland@hack.frob.com>
17142 * csu/gmon-start.c: Add special exception to license text.
17144 2013-02-27 Richard Henderson <rth@redhat.com>
17146 * scripts/config.guess: Update from config.git.
17147 * scripts/config.sub: Likewise.
17149 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17153 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17155 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17157 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17159 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17161 2013-02-26 Roland McGrath <roland@hack.frob.com>
17163 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17164 [$(build-shared = yes].
17166 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17168 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17169 (__mul): Reduce iterations for calculating mantissa.
17171 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17173 (__mpranred): Likewise.
17176 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17177 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17179 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17181 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17182 Define __attribute__.
17184 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17186 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17188 * posix/regex_internal.h (__attribute): Remove.
17189 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17190 (re_string_context_at): Likewise.
17191 (bitset_not): Use __attribute__ and mark function as possibly
17193 (bitset_merge): Likewise.
17194 (bitset_mask): Likewise.
17195 (re_string_char_size_at): Likewise.
17196 (re_string_wchar_at): Likewise.
17197 (re_string_elem_size_at): Likewise.
17199 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17201 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17205 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17209 (denorm): Likewise.
17210 (__dbl_mp): Likewise.
17211 (add_magnitudes): Likewise.
17212 (sub_magnitudes): Likewise.
17216 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17219 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17222 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17226 up changes with default code.
17227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17230 2013-02-24 Allan McRae <allan@archlinux.org>
17232 * manual/socket.texi (The Internet Namespace): Order menu items
17233 to match that in the file.
17235 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17236 node listing of the info page menu.
17238 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17241 * sysdeps/i386/bp-asm.h: Remove file.
17242 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17243 (PARMS): Do not use macros from bp-asm.h.
17247 (__mpn_add_n): Do not use BP_SYM
17248 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17250 (PARMS): Do not use macros from bp-asm.h.
17253 (__mpn_addmul_1): Do not use BP_SYM
17254 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17256 (PARMS): Do not use macros from bp-asm.h.
17257 (SIGMSK): Likewise.
17258 (_setjmp): Likewise. Do not use BP_SYM.
17259 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17261 (PARMS): Do not use macros from bp-asm.h.
17262 (SIGMSK): Likewise.
17263 (setjmp): Likewise. Do not use BP_SYM.
17264 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17266 (PARMS): Do not use macros from bp-asm.h.
17267 (__frexp): Do not use BP_SYM.
17269 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17271 (PARMS): Do not use macros from bp-asm.h.
17272 (__frexpf): Do not use BP_SYM.
17273 (frexpf): Likewise.
17274 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (__frexpl): Do not use BP_SYM.
17278 (frexpl): Likewise.
17279 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17281 (PARMS): Do not use macros from bp-asm.h.
17282 (__remquo): Do not use BP_SYM.
17283 (remquo): Likewise.
17284 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17286 (PARMS): Do not use macros from bp-asm.h.
17287 (__remquof): Do not use BP_SYM.
17288 (remquof): Likewise.
17289 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17291 (PARMS): Do not use macros from bp-asm.h.
17292 (__remquol): Do not use BP_SYM.
17293 (remquol): Likewise.
17294 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17296 (PARMS): Do not use macros from bp-asm.h.
17299 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17300 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17302 (PARMS): Do not use macros from bp-asm.h.
17303 (strlen): Do not use BP_SYM.
17304 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17306 (PARMS): Do not use macros from bp-asm.h.
17310 (__mpn_add_n): Do not use BP_SYM.
17311 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17313 (PARMS): Do not use macros from bp-asm.h.
17316 (__mpn_addmul_1): Do not use BP_SYM.
17317 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17320 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17322 (PARMS): Do not use macros from bp-asm.h.
17325 (__mpn_lshift): Do not use BP_SYM.
17326 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17328 (PARMS): Do not use macros from bp-asm.h.
17332 (memcpy): Likewise. Do not use BP_SYM.
17333 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17334 libc_hidden_def and weak_alias.
17335 (mempcpy): Do not use BP_SYM in weak_alias.
17336 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17338 (PARMS): Do not use macros from bp-asm.h.
17341 [!BZERO_P] (CHR): Likewise.
17342 (memset): Likewise. Do not use BP_SYM.
17343 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17345 (PARMS): Do not use macros from bp-asm.h.
17348 (__mpn_mul_1): Do not use BP_SYM.
17349 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17351 (PARMS): Do not use macros from bp-asm.h.
17354 (__mpn_rshift): Do not use BP_SYM.
17355 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17357 (PARMS): Do not use macros from bp-asm.h.
17360 (strchr): Likewise. Do not use BP_SYM.
17361 (index): Do not use BP_SYM in weak_alias.
17362 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17364 (PARMS): Do not use macros from bp-asm.h.
17367 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17368 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17370 (PARMS): Do not use macros from bp-asm.h.
17371 (strlen): Do not use BP_SYM.
17372 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17374 (PARMS): Do not use macros from bp-asm.h.
17378 (__mpn_sub_n): Do not use BP_SYM.
17379 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17381 (PARMS): Do not use macros from bp-asm.h.
17384 (__mpn_submul_1): Do not use BP_SYM.
17385 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17387 (PARMS): Do not use macros from bp-asm.h.
17391 (__mpn_add_n): Do not use BP_SYM.
17392 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17395 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17397 (PARMS): Do not use macros from bp-asm.h.
17400 (memcmp): Do not use BP_SYM.
17401 (bcmp): Do not use BP_SYM in weak_alias.
17402 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17404 (PARMS): Do not use macros from bp-asm.h.
17408 (memcpy): Likewise. Do not use BP_SYM.
17409 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17411 (PARMS): Do not use macros from bp-asm.h.
17415 (memmove): Likewise. Do not use BP_SYM.
17416 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17418 (PARMS): Do not use macros from bp-asm.h.
17422 (__mempcpy): Likewise. Do not use BP_SYM.
17423 (mempcpy): Do not use BP_SYM in weak_alias.
17424 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17426 (PARMS): Do not use macros from bp-asm.h.
17429 [!BZERO_P] (CHR): Likewise.
17430 (memset): Likewise. Do not use BP_SYM.
17431 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17433 (PARMS): Do not use macros from bp-asm.h.
17435 (strcmp): Do not use BP_SYM.
17436 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17438 (PARMS): Do not use macros from bp-asm.h.
17441 [USE_AS_STRTOK_R] (SAVE): Likewise.
17442 (FUNCTION): Likewise. Do not use BP_SYM.
17443 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17445 (strtok_r): Likewise.
17446 (__GI___strtok_r): Likewise.
17447 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17448 (PARMS): Do not use macros from bp-asm.h.
17451 (__mpn_lshift): Do not use BP_SYM.
17452 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17453 (PARMS): Do not use macros from bp-asm.h.
17456 (__memchr): Do not use BP_SYM.
17457 (memchr): Do not use BP_SYM in weak_alias.
17458 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17459 (PARMS): Do not use macros from bp-asm.h.
17462 (memcmp): Do not use BP_SYM.
17463 (bcmp): Do not use BP_SYM in weak_alias.
17464 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17465 (PARMS): Do not use macros from bp-asm.h.
17468 (__mpn_mul_1): Do not use BP_SYM.
17469 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17471 (PARMS): Do not use macros from bp-asm.h.
17474 (__rawmemchr): Do not use BP_SYM.
17475 (rawmemchr): Do not use BP_SYM in weak_alias.
17476 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17477 (PARMS): Do not use macros from bp-asm.h.
17480 (__mpn_rshift): Do not use BP_SYM.
17481 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17482 (PARMS): Do not use macros from bp-asm.h.
17483 (SIGMSK): Likewise.
17484 (__sigsetjmp): Likewise. Do not use BP_SYM.
17485 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17486 (_start): Do not use BP_SYM.
17487 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17488 (PARMS): Do not use macros from bp-asm.h.
17491 (__stpcpy): Likewise. Do not use BP_SYM.
17492 (stpcpy): Do not use BP_SYM in weak_alias.
17493 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17495 (PARMS): Do not use macros from bp-asm.h.
17499 (__stpncpy): Likewise. Do not use BP_SYM.
17500 (stpncpy): Do not use BP_SYM in weak_alias.
17501 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17502 (PARMS): Do not use macros from bp-asm.h.
17505 (strchr): Likewise. Do not use BP_SYM.
17506 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17508 (PARMS): Do not use macros from bp-asm.h.
17511 (__strchrnul): Likewise. Do not use BP_SYM.
17512 (strchrnul): Do not use BP_SYM in weak_alias.
17513 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17515 (PARMS): Do not use macros from bp-asm.h.
17517 (strcspn): Do not use BP_SYM.
17518 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17520 (PARMS): Do not use macros from bp-asm.h.
17523 (strpbrk): Likewise. Do not use BP_SYM.
17524 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17526 (PARMS): Do not use macros from bp-asm.h.
17529 (strrchr): Likewise. Do not use BP_SYM.
17530 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17533 (strspn): Do not use BP_SYM.
17534 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17539 (FUNCTION): Likewise. Do not use BP_SYM.
17540 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17542 (strtok_r): Likewise.
17543 (__GI___strtok_r): Likewise.
17544 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17545 (PARMS): Do not use macros from bp-asm.h.
17549 (__mpn_sub_n): Do not use BP_SYM.
17550 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17552 (PARMS): Do not use macros from bp-asm.h.
17555 (__mpn_submul_1): Do not use BP_SYM.
17556 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17558 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17560 (PARMS): Do not use macros from bp-asm.h.
17565 (__clone): Do not use BP_SYM.
17566 (clone): Do not use BP_SYM in weak_alias.
17567 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17569 (PARMS): Do not use macros from bp-asm.h.
17571 (__mmap64): Do not use BP_SYM.
17572 (mmap64): Do not use BP_SYM in weak_alias.
17573 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17574 <bp-sym.h> and <bp-asm.h>.
17575 (PARMS): Do not use macros from bp-asm.h.
17576 (__posix_fadvise64_l64): Do not use BP_SYM.
17577 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17578 (PARMS): Do not use macros from bp-asm.h.
17580 (semtimedop): Do not use BP_SYM.
17581 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17584 2013-02-21 Allan McRae <allan@archlinux.org>
17586 * manual/message.texi (Charset conversion in gettext):
17587 Move @end statement to beginning of line.
17589 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17596 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17597 (denorm): Likewise.
17598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17601 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17603 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17604 tail-call to the resolved function if pltexit isn't needed.
17606 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17609 or Y being zero as being unlikely.
17610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17613 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17615 * manual/nss.texi (System Databases and Name Service Switch):
17616 Remove frobnicate @pxref.
17618 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17620 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17621 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17623 2013-02-20 Petr Machata <pmachata@redhat.com>
17625 * elf/elf.h (R_ARM_TARGET1): New macro.
17626 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17627 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17628 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17629 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17630 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17631 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17632 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17633 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17634 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17635 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17636 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17637 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17638 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17639 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17640 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17641 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17642 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17643 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17644 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17645 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17646 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17647 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17648 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17649 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17650 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17651 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17652 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17653 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17654 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17655 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17656 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17657 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17658 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17659 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17660 (R_ARM_THM_GOT_BREL12): Likewise.
17661 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17662 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17663 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17664 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17665 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17666 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17667 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17668 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17669 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17671 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17673 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17674 __attribute_used__ to __attribute__ ((unused)).
17676 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17678 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17681 comment formatting.
17682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17684 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17687 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17689 (ENTER): Remove both macro definitions.
17691 (CHECK_BOUNDS_LOW): Likewise.
17692 (CHECK_BOUNDS_HIGH): Likewise.
17693 (CHECK_BOUNDS_BOTH): Likewise.
17694 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17695 (RETURN_BOUNDED_POINTER): Likewise.
17696 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17697 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17698 (POP_ERRNO_LOCATION_RETURN): Likewise.
17699 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17700 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17701 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17703 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17704 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17705 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17706 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17707 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17708 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17709 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17710 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17711 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17712 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17713 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17714 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17715 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17716 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17718 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17719 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17721 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17722 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17723 * sysdeps/i386/i586/memset.S (memset): Likewise.
17724 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17725 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17726 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17728 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17729 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17730 Change uses of L(2) to L(out).
17731 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17732 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17733 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17734 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17735 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17737 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17738 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17740 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17741 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17742 (RETURN): Do not use macro LEAVE.
17743 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17744 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17745 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17746 * sysdeps/i386/i686/memset.S (memset): Likewise.
17747 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17748 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17749 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17750 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17752 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17753 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17754 L(1_2) and L(1_3) into L(1).
17755 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17756 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17757 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17758 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17759 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17760 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17761 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17762 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17763 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17765 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17766 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17767 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17768 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17769 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17770 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17771 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17772 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17773 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17774 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17775 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17776 * sysdeps/i386/strspn.S (strspn): Likewise.
17777 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17779 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17780 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17781 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17782 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17783 L(1_3) into L(1_1).
17784 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17786 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17788 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17790 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17792 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17795 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17797 * math/atest-exp.c (exp_mpn): Remove ROUND.
17798 * math/atest-exp2.c (exp_mpn): Likewise.
17799 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17801 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17802 * stdlib/tst-tls-atexit-lib.c: Likewise.
17803 * stdlib/tst-tls-atexit.c: Likewise.
17805 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17807 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17808 and __attribute_alloc_size__.
17810 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17812 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17813 __attribute_alloc_size__.
17814 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17815 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17817 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17819 * include/programs/xmalloc.h: New file.
17820 * catgets/gencat.c: Include it.
17821 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17822 * elf/pldd.c: Likewise.
17823 * iconv/iconv_charmap.c: Likewise.
17824 * iconv/iconvconfig.c: Likewise.
17825 * iconv/strtab.c: Likewise.
17826 * locale/programs/locale.c: Likewise.
17827 * locale/programs/localedef.h: Likewise.
17828 * locale/programs/simple-hash.c: Likewise.
17829 * nscd/nscd.h: Likewise.
17830 * nss/makedb.c: Likewise.
17831 * sysdeps/generic/ldconfig.h: Likewise.
17833 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17835 * Versions.def: Add GLIBC_2.18.
17836 * include/link.h (struct link_map): New member l_tls_dtor_count.
17837 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17838 (__call_tls_dtors): Likewise.
17839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17840 __cxa_thread_atexit_impl.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17857 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17858 (tests): Add test case tst-tls-atexit.
17859 (modules-names): Add shared library for tst-tls-atexit.
17860 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17861 (GLIBC_PRIVATE): Add __call_tls_dtors.
17862 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17864 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17865 * stdlib/tst-tls-atexit.c: New test case.
17866 * stdlib/tst-tls-atexit-lib.c: New test case.
17868 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17870 * elf/Versions (ld): Add _dl_find_dso_for_object.
17871 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17872 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17873 (dl_open_worker): Use _dl_find_dso_for_object.
17874 * elf/dl-sym.c (do_sym): Likewise.
17875 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17877 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17879 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17880 Syntactic changes only.
17881 (_dl_runtime_profile): Do a tail-call to the resolved function.
17883 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17886 * sysdeps/x86_64/bp-asm.h: Remove file.
17887 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17888 <bp-sym.h> and <bp-asm.h>.
17889 (__clone): Do not use BP_SYM.
17890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17891 <bp-sym.h> and <bp-asm.h>.
17892 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17893 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17895 (_setjmp): Do not use BP_SYM.
17896 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17898 (setjmp): Do not use BP_SYM.
17899 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17901 (mempcpy): Do not use BP_SYM in weak_alias.
17902 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17904 (strchr): Do not use BP_SYM.
17905 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17907 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17908 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17909 (_start): Do not use BP_SYM.
17910 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17912 (strcat): Do not use BP_SYM.
17913 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17915 (STRCMP): Do not use BP_SYM.
17916 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17918 (STRCPY): Do not use BP_SYM.
17919 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17921 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17923 (FUNCTION): Do not use BP_SYM.
17924 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17926 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17928 2013-02-17 Andreas Jaeger <aj@suse.de>
17930 * time/Versions: Sort entries.
17931 * string/Versions: Likewise.
17932 * resolv/Versions: Likewise.
17933 * posix/Versions: Likewise.
17934 * iconv/Versions: Likewise.
17935 * elf/Versions: Likewise.
17936 * wcsmbs/Versions: Likewise.
17938 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17940 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17941 loop termination condition.
17943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17944 variable to calculate EZ.
17947 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17948 the lower precision input.
17950 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17953 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17954 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17955 (run-via-rtld-prefix): Do not handle %-bp tests.
17956 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17957 (all-object-suffixes): Remove .ob.
17958 (bppfx): Remove variable.
17959 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17960 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17961 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17962 [$(build-bounded) = yes] (libtype.ob): Likewise.
17963 * Makerules (elide-routines.ob): Remove variable.
17964 (do-tests-clean): Do not handle *-bp.out.
17965 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17966 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17967 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17968 (tests): Do not include $(tests-bp.out).
17969 (xtests): Do not include $(xtests-bp.out).
17970 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17971 [$(build-bounded) = yes] ($(addprefix
17972 $(objpfx),$(binaries-bounded))): Remove rule.
17973 ($(objpfx)%-bp.out): Remove rule.
17974 * config.make.in (build-bounded): Remove variable.
17975 * crypt/Makefile [$(build-bounded) = yes]
17976 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17977 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17978 append to variable.
17979 [$(build-bounded) = yes] (install-lib): Likewise.
17980 [$(build-bounded) = yes] (generated): Likewise.
17981 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17983 * intl/Makefile [$(build-bounded) = yes]
17984 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17985 * math/Makefile [$(build-bounded) = yes]
17986 ($(tests:%=$(objpfx)%-bp): Likewise.
17987 * misc/Makefile [$(build-bounded) = yes]
17988 ($(objpfx)tst-tsearch-bp): Likewise.
17989 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17990 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17992 * string/Makefile (o-objects.ob): Remove variable.
17993 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17994 (CFLAGS-.ob): Remove variable.
17995 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17996 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17997 both definitions of variable.
17998 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17999 (ASFLAGS-.ob): Remove variable.
18001 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18004 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18005 Remove __BOUNDED_POINTERS__ from condition.
18006 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18007 * string/bits/string2.h [!__NO_STRING_INLINES &&
18008 !__BOUNDED_POINTERS__]: Likewise.
18009 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18011 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18012 Remove conditional code.
18013 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18014 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18015 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18019 * csu/libc-start.c: Do not include <bp-sym.h>.
18020 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18021 * elf/dl-open.c: Do not include <bp-sym.h>.
18022 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18023 * math/fegetenv.c: Do not include <bp-sym.h>.
18024 (fegetenv): Do not use BP_SYM in versioned symbols.
18025 * nptl/sysdeps/pthread/bits/libc-lockP.h
18026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18029 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18031 (__pthread_mutex_destroy): Likewise.
18032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18033 (__pthread_mutex_lock): Likewise.
18034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18035 (__pthread_mutex_trylock): Likewise.
18036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18037 (__pthread_mutex_unlock): Likewise.
18038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18039 (__pthread_mutexattr_init): Likewise.
18040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18041 (__pthread_mutexattr_destroy): Likewise.
18042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18043 (__pthread_mutexattr_settype): Likewise.
18044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18045 (__pthread_rwlock_init): Likewise.
18046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18047 (__pthread_rwlock_destroy): Likewise.
18048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18049 (__pthread_rwlock_rdlock): Likewise.
18050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18051 (__pthread_rwlock_tryrdlock): Likewise.
18052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18053 (__pthread_rwlock_wrlock): Likewise.
18054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18055 (__pthread_rwlock_trywrlock): Likewise.
18056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18057 (__pthread_rwlock_unlock): Likewise.
18058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18059 (__pthread_key_create): Likewise.
18060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18061 (__pthread_setspecific): Likewise.
18062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18063 (__pthread_getspecific): Likewise.
18064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18067 (_pthread_cleanup_push_defer): Likewise.
18068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18069 (_pthread_cleanup_pop_restore): Likewise.
18070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18071 (pthread_setcancelstate): Likewise.
18072 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18074 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18075 (memchr): Do not use BP_SYM in weak_alias.
18076 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18077 (fegetenv): Do not use BP_SYM in versioned symbols.
18078 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18079 (fesetenv): Do not use BP_SYM in versioned symbols.
18080 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18081 (feupdateenv): Do not use BP_SYM in versioned symbols.
18082 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18083 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18084 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18085 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18086 (open64): Do not use BP_SYM in weak_alias.
18087 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18088 (fegetenv): Do not use BP_SYM in versioned symbols.
18089 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18090 (fesetenv): Do not use BP_SYM in versioned symbols.
18091 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18092 (feupdateenv): Do not use BP_SYM in versioned symbols.
18093 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18094 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18095 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18096 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18097 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18098 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18099 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18101 (__libc_start_main): Do not use BP_SYM.
18103 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18106 redundant return line.
18108 (denorm): Likewise.
18109 (dbl_mp): Likewise.
18110 (sub_magnitudes): Likewise.
18116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18118 (denorm): Likewise.
18119 (dbl_mp): Likewise.
18120 (sub_magnitudes): Likewise.
18127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18130 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18133 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18134 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18136 of __mul for squares.
18137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18141 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18144 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18147 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18149 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18150 prototype or function definition. Rename ubp_* variables and
18151 parameters. Remove argv definitions conditional on
18152 [__BOUNDED_POINTERS__].
18153 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18154 * elf/dl-runtime.c (_dl_fixup): Likewise.
18155 * include/set-hooks.h (RUN_HOOK): Likewise.
18156 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18158 * string/strcpy.c (strcpy): Do not use __unbounded.
18159 * sysdeps/generic/frame.h (struct layout): Likewise.
18160 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18161 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18162 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18163 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18164 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18165 (__backtrace): Likewise.
18166 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18168 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18169 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18170 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18172 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18173 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18174 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18175 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18176 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18177 Do not use __unbounded.
18178 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18179 Rename __unboundedrlimits parameter to rlimits in prototype.
18180 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18181 Do not use __unbounded.
18182 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18183 not use __ptrvalue.
18184 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18185 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18186 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18187 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18188 __ptrvalue or __unbounded.
18189 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18190 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18192 (__new_msgctl): Do not use __ptrvalue.
18193 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18195 (__libc_msgrcv): Do not use __ptrvalue.
18196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18197 startup_info): Do not use __unbounded.
18198 (__libc_start_main): Likewise. Rename ubp_* variables and
18199 parameters. Remove argv definitions conditional on
18200 [__BOUNDED_POINTERS__].
18201 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18203 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18205 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18207 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18209 (__new_shmctl): Do not use __ptrvalue.
18210 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18211 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18213 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18214 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18215 (__libc_sigaction): Likewise.
18216 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18219 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18221 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18223 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18225 * string/mempcpy.c: Implement by calling memcpy.
18227 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18234 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18235 values in the mantissa.
18237 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18238 minimize writes to Z.
18239 (sub_magnitudes): Simplify code a bit.
18241 2013-02-12 Roland McGrath <roland@hack.frob.com>
18243 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18244 from the message. The linker prefixes all warnings with that already.
18246 2013-02-12 Andreas Schwab <schwab@suse.de>
18249 * posix/regexec.c (extend_buffers): Add parameter min_len.
18250 (check_matching): Pass minimum needed length.
18251 (clean_state_log_if_needed): Likewise.
18252 (get_subexp): Likewise.
18253 * posix/Makefile (tests): Add bug-regex34.
18254 (bug-regex34-ENV): Define.
18255 * posix/bug-regex34.c: New file.
18258 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18259 elements compare against the byte sequence of it, not its name.
18260 * posix/Makefile (tests): Add bug-regex35.
18261 (bug-regex35-ENV): Define.
18262 * posix/bug-regex35.c: New file.
18264 2013-02-11 Tom de Vries <tom@codesourcery.com>
18266 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18268 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18269 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18270 (CHECK_EOL): Add undef.
18272 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18274 * bits/stdlib-bsearch.h: New file.
18275 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18276 * stdlib/stdlib.h: Likewise.
18278 2013-02-11 Roland McGrath <roland@hack.frob.com>
18280 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18281 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18283 * manual/search.texi (Array Search Function): Add missing const in
18285 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18286 declaration to use rlim_t.
18287 (Basic Scheduling Functions): Remove erroneous const from
18288 sched_getparam prototype. Remove erroneous * from
18289 sched_get_priority_max and sched_get_priority_min prototypes.
18290 (Resource Usage): Fix summary @comment on vtimes to refer to
18291 sys/vtimes.h rather than vtimes.h.
18292 Add missing *s in vtimes prototype.
18293 (Limits on Resources): Fix ulimit prototype to return long int.
18294 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18295 prototypes to use long int rather than double.
18296 (BSD Random): Fix initstate and setstate to use char *, not void *.
18297 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18298 prototype to make second argument 'struct aiocb64 *const[]'.
18299 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18300 (Status of AIO Operations): Remove erroneous const in aio_return and
18301 aio_return64 prototypes.
18302 (Synchronizing I/O): Fix sync prototype to return void.
18303 * manual/startup.texi (Suboptions): Remove an erroneous const in
18304 getsubopt prototype.
18305 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18306 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18307 use size_t rather than int.
18308 (Scanning All Users): Likewise for getpwent_r.
18309 (Setting Groups): Add missing const to setgroups prototype.
18310 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18311 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18312 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18313 'const void *' rather than 'const char *'.
18314 (Host Address Functions): Likewise for inet_ntop.
18315 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18316 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18317 ssize_t for return value.
18318 (Sending Data): Likewise for send, sendto, sendmsg.
18319 (Socket Option Functions): Add a missing const in setsockopt prototype.
18320 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18321 use wchar_t for the argument.
18322 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18323 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18325 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18326 double/float/long double for second argument.
18327 Fix return types of significand, significandf, significandl.
18328 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18329 argument in fchmod prototype.
18330 (File Owner): Use uid_t and gid_t in fchown prototype.
18331 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18332 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18333 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18334 use 'const struct dirent **' as argument types to CMP function pointer
18336 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18337 (File Times): Fix summary magic @comment for struct utimbuf and utime
18338 to refer to utime.h, not time.h.
18339 * manual/string.texi (Argz Functions): Add missing const in
18340 argz_extract and argz_next prototypes.
18341 (Finding Tokens in a String): Likewise for basename.
18342 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18343 (Copying and Concatenation): Fix typo in wmemmove prototype.
18344 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18345 (Signal Stack): Remove erroneous const in sigstack prototype.
18346 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18348 (Simple Calendar Time): Likewise for stime.
18349 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18351 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18352 say sys/sysctl.h instead.
18353 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18354 and vsyslog prototypes.
18356 2013-02-11 Tom de Vries <tom@codesourcery.com>
18358 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18361 2013-02-11 Roland McGrath <roland@hack.frob.com>
18363 * misc/sys/mman.h: Fix typo in mremap comment.
18365 2013-02-08 Roland McGrath <roland@hack.frob.com>
18367 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18368 the '\0' terminator.
18370 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18373 * debug/segfault.c: Don't include <bp-checks.h>.
18374 * sysdeps/generic/bp-checks.h: Remove file.
18375 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18376 (__GETDENTS): Don't use CHECK_N.
18377 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18378 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18379 (__getgroups): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18381 (setgroups): Don't use CHECK_N.
18382 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18383 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18384 (__libc_msgrcv): Don't use CHECK_N.
18385 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18386 (__libc_msgsnd): Don't use CHECK_N.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18389 (__libc_pread): Don't use CHECK_N.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18391 include <bp-checks.h>.
18392 (__libc_pread64): Don't use CHECK_N.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18394 include <bp-checks.h>.
18395 (__libc_pwrite): Don't use CHECK_N.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18397 include <bp-checks.h>.
18398 (__libc_pwrite64): Don't use CHECK_N.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18401 (__libc_pread): Don't use CHECK_N.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18403 include <bp-checks.h>.
18404 (__libc_pread64): Don't use CHECK_N.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18406 include <bp-checks.h>.
18407 (__libc_pwrite): Don't use CHECK_N.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18409 include <bp-checks.h>.
18410 (__libc_pwrite64): Don't use CHECK_N.
18411 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18412 (do_pread): Don't use CHECK_N.
18413 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18414 (do_pread64): Don't use CHECK_N.
18415 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18416 (do_pwrite): Don't use CHECK_N.
18417 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18418 (do_pwrite64): Don't use CHECK_N.
18419 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18420 (__libc_readv): Don't use CHECK_N.
18421 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18422 (semop): Don't use CHECK_N.
18423 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18425 (semtimedop): Don't use CHECK_N.
18426 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18427 (__libc_pread): Don't use CHECK_N.
18428 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18430 (__libc_pread64): Don't use CHECK_N.
18431 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18433 (__libc_pwrite): Don't use CHECK_N.
18434 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18436 (__libc_pwrite64): Don't use CHECK_N.
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18439 (__libc_msgrcv): Don't use CHECK_N.
18440 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18441 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18442 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18443 (__libc_writev): Don't use CHECK_N.
18445 2013-02-08 Roland McGrath <roland@hack.frob.com>
18447 * string/strcpy.c: Removed unused variable.
18449 * Makeconfig (+sysdep-includes): Define with := rather than =.
18450 Use an existing include/ subdir of each sysdeps dir before it.
18452 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18454 * nscd/connection.c (register_traced_file): Comment function.
18455 [HAVE_INOTIFY] (union __inev): Define.
18456 [HAVE_INOTIFY] (inotify_check_files): New function.
18457 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18458 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18460 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18462 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18464 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18465 loaded if not already and that a failure is permanent.
18467 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18470 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18471 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18473 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18476 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18477 (CHECK_1_NULL_OK): Likewise.
18478 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18479 (__fxstat): Do not use CHECK_1.
18480 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18482 (___fxstat64): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18485 (__fxstatat): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18488 (__fxstatat64): Do not use CHECK_1.
18489 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18491 (__fxstat): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18494 (__fxstatat): Do not use CHECK_1.
18495 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18497 (__getresgid): Do not use CHECK_1.
18498 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18500 (__getresuid): Do not use CHECK_1.
18501 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18503 (__lxstat): Do not use CHECK_1.
18504 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18506 (__old_msgctl): Do not use CHECK_1.
18507 (__new_msgctl): Likewise.
18508 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18510 (__new_setrlimit): Do not use CHECK_1.
18511 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18513 (__old_shmctl): Do not use CHECK_1.
18514 (__new_shmctl): Likewise.
18515 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18517 (__xstat): Do not use CHECK_1.
18518 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18519 (__lxstat): Do not use CHECK_1.
18520 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18522 (___lxstat64): Do not use CHECK_1.
18523 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18524 (__old_msgctl): Do not use CHECK_1.
18525 (__new_msgctl): Likewise.
18526 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18528 (__gettimeofday): Do not use CHECK_1.
18529 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18530 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18531 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18533 (__gettimeofday): Do not use CHECK_1.
18534 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18535 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18536 (__new_shmctl): Do not use CHECK_1.
18537 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18539 (do_sigtimedwait): Do not use CHECK_1.
18540 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18542 (do_sigwaitinfo): Do not use CHECK_1.
18543 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18545 (msgctl): Do not use CHECK_1.
18546 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18548 (shmctl): Do not use CHECK_1.
18549 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18550 (ustat): Do not use CHECK_1.
18551 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18553 (__fxstat): Do not use CHECK_1.
18554 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18556 (__fxstatat): Do not use CHECK_1.
18557 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18559 (__lxstat): Do not use CHECK_1.
18560 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18562 (__xstat): Do not use CHECK_1.
18563 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18564 (__xstat): Do not use CHECK_1.
18565 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18566 (___xstat64): Do not use CHECK_1.
18569 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18571 (CHECK_BOUNDS_HIGH): Likewise.
18572 * string/strcpy.c: Do not include <bp-checks.h>.
18573 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18575 2013-02-07 Roland McGrath <roland@hack.frob.com>
18577 * nscd/nscd-client.h (__nscd_drop_map_ref):
18578 Add __attribute__ ((unused)).
18579 * nis/nss-nisplus.h (niserr2nss): Likewise.
18581 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18582 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18584 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18585 Remove inline keyword.
18586 * include/rounding-mode.h (round_away): Likewise.
18587 * libio/wfileops.c (adjust_wide_data): Likewise.
18588 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18589 (__m128i_strloadu_tolower): Likewise.
18590 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18591 (__m128i_strloadu_tolower): Likewise.
18592 * time/mktime.c (ydhms_diff): Likewise.
18593 * locale/elem-hash.h (elem_hash): Likewise.
18594 * locale/setlocale.c (setdata): Likewise.
18595 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18596 (re_string_wchar_at): Likewise.
18597 (bitset_not, bitset_merge, bitset_mask): Likewise.
18598 [!(__GNUC__ > 3)] (inline): Remove macro.
18599 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18600 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18601 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18602 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18603 * string/memcmp.c (memcmp_bytes): Likewise.
18604 * locale/programs/locarchive.c (compute_hashval): Likewise.
18605 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18606 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18607 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18608 * nss/getent.c (print_rpc, print_protocols): Likewise.
18609 (print_passwd, print_group, print_aliases): Likewise.
18610 * nis/nss-nisplus.h (niserr2nss): Likewise.
18611 * nscd/connections.c (restart_p): Likewise.
18612 Change return type to bool.
18614 2013-02-05 Roland McGrath <roland@hack.frob.com>
18616 * Makeconfig (all-Depend-files): Add existing
18617 $(sorted-subdirs:=/Depend) files.
18618 (all-subdirs): Remove nss.
18619 * sysdeps/unix/inet/Subdirs: Add it here instead.
18620 * hesiod/Depend: New file.
18622 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18623 instead of calling alloca.
18625 * io/lseek.c (__lseek): Rename to __libc_lseek.
18626 Define __lseek as an alias.
18628 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18630 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18632 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18633 else clause and remove check for non-standard endianness.
18635 2013-02-04 David S. Miller <davem@davemloft.net>
18637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18639 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18642 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18643 (__ubp_memchr): Remove prototype.
18644 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18645 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18646 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18647 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18648 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18650 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18651 (__ubp_memchr): Likewise.
18652 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18653 (__ubp_memchr): Likewise.
18654 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18655 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18656 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18657 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18659 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18660 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18661 (__getcwd): Do not use CHECK_STRING.
18662 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18664 (__real_chown): Do not use CHECK_STRING.
18665 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18667 (fchownat): Do not use CHECK_STRING.
18668 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18670 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18672 (__lchown): Do not use CHECK_STRING.
18673 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18674 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18675 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18676 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18678 include <bp-checks.h>.
18679 (truncate64): Do not use CHECK_STRING.
18680 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18682 (__real_chown): Do not use CHECK_STRING.
18683 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18685 (__lchown): Do not use CHECK_STRING.
18686 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18688 (__chown): Do not use CHECK_STRING.
18689 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18691 (truncate64): Do not use CHECK_STRING.
18692 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18694 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18695 (__xmknod): Do not use CHECK_STRING.
18696 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18698 (__xmknodat): Do not use CHECK_STRING.
18699 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18700 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18702 2013-02-04 Andreas Schwab <schwab@suse.de>
18705 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18706 * include/netdb.h: Likewise for h_errno.
18707 * elf/tst-stackguard1.c: Include <tls.h>.
18709 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18711 * elf/link.h (struct link_map): Extend the l_addr comment.
18712 * include/link.h (struct link_map): Likewise.
18714 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18717 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18718 (BOUNDED_1): Remove macro.
18719 * debug/backtrace.c: Don't include <bp-checks.h>.
18720 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18721 (__backtrace): Likewise.
18722 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18724 (__backtrace): Don't use BOUNDED_1.
18725 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18727 (__backtrace): Don't use BOUNDED_1.
18728 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18729 (__backtrace): Don't use BOUNDED_1.
18730 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18731 (shmat): Don't use BOUNDED_N.
18733 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18736 * sysdeps/generic/bp-start.h: Remove file.
18737 * csu/libc-start.c: Don't include <bp-start.h>.
18738 (LIBC_START_MAIN): Set up __environ directly instead of using
18739 INIT_ARGV_and_ENVIRON.
18740 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18744 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18746 (CHECK_FCNTL): Likewise.
18747 (CHECK_N_PAGES): Likewise.
18750 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18752 (CHECK_SIGSET_NULL_OK): Likewise.
18753 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18755 (sigpending): Don't use CHECK_SIGSET.
18756 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18758 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18759 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18761 (do_sigsuspend): Don't use CHECK_SIGSET.
18762 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18764 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18765 (do_sigwait): Don't use CHECK_SIGSET.
18766 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18769 include <bp-checks.h>.
18770 (sigpending): Don't use CHECK_SIGSET.
18771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18772 include <bp-checks.h>.
18773 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18774 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18776 (sigpending): Don't use CHECK_SIGSET.
18777 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18779 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18782 * sysdeps/generic/bp-semctl.h: Remove file.
18783 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18784 <bp-checks.h> and <bp-semctl.h>.
18785 (__old_semctl): Don't use CHECK_SEMCTL.
18786 (__new_semctl): Likewise.
18787 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18789 (__old_semctl): Don't use CHECK_SEMCTL.
18790 (__new_semctl): Likewise.
18791 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
18796 <bp-checks.h> and <bp-semctl.h>.
18797 (semctl): Don't use CHECK_SEMCTL.
18800 * Makerules (elide-bp-thunks): Remove variable.
18801 (elide-routines.oS): Don't use $(elide-bp-thunks).
18802 (elide-routines.os): Likewise.
18803 (elide-routines.o): Likewise.
18804 (elide-routines.op): Likewise.
18805 (elide-routines.og): Likewise.
18806 (objects): Don't use $(bp-thunks).
18807 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18809 (common-generated): Do not add s-proto-bp.d.
18810 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18813 Do not generate makefile rules for bounded-pointer thunks.
18814 * sysdeps/generic/bp-thunks.h: Remove file.
18815 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18816 * sysdeps/unix/s-proto-bp.S: Likewise.
18819 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18820 parts of result separately when argument is not close to line from
18821 -i to i and one part of argument is small.
18822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18824 * math/libm-test.inc (cacos_test): Add more tests.
18825 (casin_test): Likewise.
18826 (casinh_test): Likewise.
18827 * sysdeps/i386/fpu/libm-test-ulps: Update.
18828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18830 2013-01-31 David S. Miller <davem@davemloft.net>
18832 * po/de.po: Update from translation team.
18834 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18836 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18838 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18840 * configure.in (_AC_PROG_CC_C89): New definition.
18841 * configure: Regenerate.
18843 * configure.in (AC_PROG_CPP): New definition.
18844 * configure: Regenerate.
18846 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18848 * debug/tst-backtrace.h: New file.
18849 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18850 (ret): Remove variable.
18852 (FAIL): Remove macro.
18853 (NO_INLINE): Likewise.
18854 (fn1): Use match function instead of strstr.
18855 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18856 (ret): Remove variable.
18858 (FAIL): Remove macro.
18859 (NO_INLINE): Likewise.
18860 (fn): Use match function instead of strstr.
18861 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18862 (ret): Remove variable.
18864 (FAIL): Remove macro.
18865 (NO_INLINE): Likewise.
18866 (handle_signal): Use match function instead of strstr.
18867 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18868 (ret): Remove variable.
18870 (FAIL): Remove macro.
18871 (NO_INLINE): Likewise.
18872 (handle_signal): Use match function instead of strstr.
18874 2013-01-23 Roland McGrath <roland@hack.frob.com>
18876 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18878 2013-01-23 David S. Miller <davem@davemloft.net>
18880 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18881 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18882 argument of CAS if possible.
18883 * sysdeps/sparc/sparc64/bits/atomic.h
18884 (__arch_compare_and_exchange_val_32_acq): Likewise.
18885 (__arch_compare_and_exchange_val_64_acq): Likewise.
18887 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18889 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18890 * sysdeps/posix/ulimit.c: ... this.
18891 Include <limits.h>.
18892 * sysdeps/unix/bsd/ulimit.c: Remove file.
18894 2013-01-23 Adam Conrad <adconrad@0c3.net>
18896 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18897 (LDFLAGS-tst-array5): Likewise.
18899 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18902 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18903 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18904 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18905 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18907 2013-01-21 David S. Miller <davem@davemloft.net>
18909 * sysdeps/sparc/backtrace.c: New file.
18910 * sysdeps/sparc/sparc32/backtrace.h: New file.
18911 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18912 * sysdeps/sparc/sparc64/backtrace.h: New file.
18913 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18914 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18917 2013-01-21 Andreas Schwab <schwab@suse.de>
18920 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18923 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18929 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18930 Mark Mitchell <mark@codesourcery.com>
18931 Tom de Vries <tom@codesourcery.com>
18932 Paul Pluzhnikov <ppluzhnikov@google.com>
18934 * debug/tst-backtrace2.c: New file.
18935 * debug/tst-backtrace3.c: Likewise.
18936 * debug/tst-backtrace4.c: Likewise.
18937 * debug/tst-backtrace5.c: Likewise.
18938 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18939 (CFLAGS-tst-backtrace3.c): Likewise.
18940 (CFLAGS-tst-backtrace4.c): Likewise.
18941 (CFLAGS-tst-backtrace5.c): Likewise.
18942 (LDFLAGS-tst-backtrace2): Likewise.
18943 (LDFLAGS-tst-backtrace3): Likewise.
18944 (LDFLAGS-tst-backtrace4): Likewise.
18945 (LDFLAGS-tst-backtrace5): Likewise.
18946 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18947 tst-backtrace4 and tst-backtrace5.
18949 2013-01-18 Anton Blanchard <anton@samba.org>
18950 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18952 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18953 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18954 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18955 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18957 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18958 "+r" and remove output regs list as redundant. Add explicit inline
18959 asm to specify register of return val to work around compiler codegen
18960 bug. Remove (int) cast on return value. Add return type parameter to
18961 use in macro so that this macro does not truncate return value for
18963 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18964 pass to INTERNAL_VSYSCALL_NCS.
18965 (INLINE_VSYSCALL): Add 'long int' as return type to
18966 INTERNAL_VSYSCALL_NCS macro invocation.
18967 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18968 INTERNAL_VSYSCALL_NCS macro invocation.
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18971 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18974 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18975 Fix application of SIMD FP exception mask.
18977 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18978 mp_no from a power of two.
18979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18980 __mpexp_twomm1. Use __pow_mp.
18982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18985 2013-01-17 David S. Miller <davem@davemloft.net>
18987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18989 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18992 * include/complex.h: Condition contents on [!_COMPLEX_H].
18993 (__kernel_casinhf): New prototype.
18994 (__kernel_casinh): Likewise.
18995 (__kernel_casinhl): Likewise.
18996 * math/Makefile (libm_calls): Add k_casinh.
18997 * math/k_casinh.c: New file.
18998 * math/k_casinhf.c: Likewise.
18999 * math/k_casinhl.c: Likewise.
19000 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19001 finite nonzero arguments.
19002 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19003 finite nonzero arguments.
19004 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19005 finite nonzero arguments.
19006 * math/s_casinh.c: Do not include <float.h>.
19007 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19008 * math/s_casinhf.c: Do not include <float.h>.
19009 (__casinhf): Move code for finite nonzero arguments to
19011 * math/s_casinhl.c: Do not include <float.h>.
19012 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19014 (__casinhl): Move code for finite nonzero arguments to
19016 * math/libm-test.inc (cacos_test): Add more tests.
19017 * sysdeps/i386/fpu/libm-test-ulps: Update.
19018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19020 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19022 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19023 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19024 [!HAVE_MREMAP]: Remove [defined linux] case.
19025 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19027 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19029 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19031 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19033 * elf/elf.h (R_386_SIZE32): New relocation.
19034 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19036 (elf_machine_rela): Likewise.
19037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19038 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19040 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19042 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19043 (FP_FAST_FMA): Do not define.
19044 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19045 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19046 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19047 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19048 !_SOFT_FLOAT]: Likewise.
19049 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19050 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19052 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19053 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19054 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19055 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19056 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19057 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19060 2013-01-16 Andreas Schwab <schwab@suse.de>
19063 * include/stdlib.h (__mktemp): Add declaration.
19064 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19065 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19067 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19069 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19071 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19072 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19073 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19075 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19076 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19078 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19080 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19081 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19082 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19084 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19085 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19087 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19089 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19091 2013-01-15 David S. Miller <davem@davemloft.net>
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19094 trunc{,f} to libm-sysdep_routes.
19095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19105 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19113 nearbyint{,f} to libm-sysdep_routes.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19134 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19135 libc_feholdexcept and libc_fesetenv.
19137 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19139 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19141 2013-01-14 David S. Miller <davem@davemloft.net>
19143 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19144 (SPARC_ASM_VIS2_IFUNC): Likewise.
19145 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19147 use of 'siam' instruction.
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19181 routines to libm-sysdep_routines.
19182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19185 fdim/fdimf to libm-sysdep_routines.
19186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19194 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19195 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19196 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19197 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19199 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19202 to optimize copies.
19204 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19209 local variable MPTWO.
19210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19213 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19215 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19218 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19220 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19222 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19224 * manual/pattern.texi (glob_t): Document gl_flags.
19225 (glob64_t): Likewise.
19227 2013-01-11 David S. Miller <davem@davemloft.net>
19229 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19230 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19231 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19232 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19233 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19234 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19235 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19236 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19237 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19238 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19239 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19240 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19241 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19244 sparc V9 rather than using V8 code.
19245 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19246 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19250 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19253 2013-01-11 Roland McGrath <roland@hack.frob.com>
19255 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19256 not in the main loop.
19257 * configure: Regenerated.
19259 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19261 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19262 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19264 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19265 [!__GLIBC_HAVE_LONG_LONG] case.
19266 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19267 condition to just #else.
19268 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19269 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19270 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19271 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19273 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19274 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19275 #elif condition to just #else.
19276 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19277 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19278 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19279 #elif condition to just #else.
19281 2013-01-11 Steve Ellcey <sellcey@mips.com>
19283 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19284 (EF_MIPS_ARCH_64): Fix value.
19285 (EF_MIPS_ARCH_32R2): New.
19286 (EF_MIPS_ARCH_64R2): New.
19288 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19290 * Makeconfig (+link-pie-before-libc): New.
19291 (+link-pie-after-libc): Likewise.
19292 (+link-pie-tests): Likewise.
19293 (+link-pie): Rewritten.
19294 (link-before-libc): Remove $(config-LDFLAGS).
19295 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19296 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19297 (config-LDFLAGS): Renamed to ...
19298 (rtld-LDFLAGS): This.
19299 (rtld-tests-LDFLAGS): New macro.
19300 (link-libc-rpath-link): Likewise.
19301 (link-libc-tests-rpath-link): Likewise.
19302 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19303 (link-libc): Prepand $(link-libc-rpath-link).
19304 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19305 (test-program-prefix): New macro.
19306 (test-via-rtld-prefix): Likewise.
19307 (test-program-cmd): Likewise.
19308 (host-test-program-cmd): Likewise.
19309 * Makefile ($(common-objpfx)testrun.sh): Replace
19310 $(run-program-prefix) with $(test-program-prefix).
19311 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19313 ($(common-objpfx)shlib.lds): Likewise.
19314 (build-module-helper): Likewise.
19315 ($(common-objpfx)format.lds): Likewise.
19316 * Rules (binaries-pie-tests): New.
19317 (binaries-pie-notests): Likewise.
19318 (binaries-pie): Rewritten.
19319 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19320 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19321 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19322 (make-test-out): Replace $(host-built-program-cmd) with
19323 $(host-test-program-cmd).
19324 * config.make.in (build-hardcoded-path-in-tests): New variable.
19325 * configure.in (--enable-hardcoded-path-in-tests): New configure
19327 (hardcoded_path_in_tests): New AC_SUBST.
19328 * configure: Regenerated.
19329 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19330 $(built-program-cmd) with $(test-program-cmd).
19331 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19332 (test_program_cmd): This.
19333 * elf/Makefile ($(objpfx)order.out): Run test with
19334 $(test-program-prefix).
19335 ($(objpfx)order2.out): Likewise.
19336 ($(objpfx)tst-initorder.out): Likewise.
19337 ($(objpfx)tst-initorder2.out): Likewise.
19338 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19339 $(test-program-cmd).
19340 ($(objpfx)tst-array1-static.out): Likewise.
19341 ($(objpfx)tst-array2.out): Likewise.
19342 ($(objpfx)tst-array3.out): Likewise.
19343 ($(objpfx)tst-array4.out): Likewise.
19344 ($(objpfx)tst-array5.out): Likewise.
19345 ($(objpfx)tst-array5-static.out): Likewise.
19346 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19347 $(test-program-cmd).
19348 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19349 $(run-program-prefix) with $(test-program-prefix).
19350 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19351 (test_program_prefix): This.
19352 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19353 $(run-program-prefix) with $(test-program-prefix).
19354 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19355 (test_program_prefix): This.
19356 * iconvdata/tst-tables.sh: Likewise.
19357 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19358 $(run-program-prefix) with $(test-program-prefix).
19359 ($(objpfx)tst-translit.out): Likewise.
19360 ($(objpfx)tst-gettext2.out): Likewise.
19361 ($(objpfx)tst-gettext4.out): Likewise.
19362 ($(objpfx)tst-gettext6.out): Likewise.
19363 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19364 (test_program_prefix): This.
19365 * intl/tst-gettext2.sh: Likewise.
19366 * intl/tst-gettext4.sh Likewise.
19367 * intl/tst-gettext6.sh: Likewise.
19368 * intl/tst-translit.sh: Likewise.
19369 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19370 with $(test-program-cmd).
19371 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19372 $(run-program-prefix) with $(test-program-prefix).
19373 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19374 (test_program_prefix): This.
19375 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19376 $(run-program-prefix) with $(test-program-prefix).
19377 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19378 (test_program_prefix): This.
19379 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19380 * posix/Makefile ($(objpfx)globtest.out): Replace
19381 $(run-via-rtld-prefix) and $(test-wrapper) with
19382 $(test-program-prefix) and $(test-via-rtld-prefix).
19383 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19384 $(test-program-prefix).
19385 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19386 $(host-test-program-cmd).
19387 (tst-spawn-ARGS): Likewise.
19388 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19389 $(test-program-prefix).
19390 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19391 (test_via_rtld_prefix): This.
19392 (test_wrapper): Renamed to ...
19393 (test_program_prefix): This.
19394 (run_program_prefix): Replaced by test_program_prefix.
19395 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19396 (test_program_prefix): This.
19397 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19398 with $(host-test-program-cmd).
19399 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19400 $(run-program-prefix) with $(test-program-prefix).
19401 ($(objpfx)tst-printf.out): Likewise.
19402 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19403 $(test-program-cmd).
19404 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19405 (test_program_prefix): This.
19406 * stdio-common/tst-unbputc.sh: Likewise.
19407 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19408 $(run-program-prefix) with $(test-program-prefix).
19409 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19410 (test_program_prefix): This.
19411 * string/Makefile ($(objpfx)tst-svc.out): Replace
19412 $(built-program-cmd) with $(test-program-cmd).
19414 2013-01-11 Andreas Jaeger <aj@suse.de>
19417 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19418 value. Sync with Linux 3.7.
19420 2013-01-10 David S. Miller <davem@davemloft.net>
19422 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19423 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19424 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19426 2013-01-10 Roland McGrath <roland@hack.frob.com>
19428 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19430 * configure: Regenerated.
19432 2013-01-10 David S. Miller <davem@davemloft.net>
19434 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19435 sparc V9 rather than using V8 code.
19436 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19437 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19439 2013-01-10 Roland McGrath <roland@hack.frob.com>
19441 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19442 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19443 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19444 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19445 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19446 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19447 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19448 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19449 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19450 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19451 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19452 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19453 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19454 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19455 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19456 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19457 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19458 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19459 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19460 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19461 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19462 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19463 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19464 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19465 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19466 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19467 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19469 2013-01-10 David S. Miller <davem@davemloft.net>
19471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19473 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19475 * posix/Makefile (tests-static): New variable.
19476 (tests): Add $(tests-static).
19477 (tst-exec-static-ARGS): New variable.
19478 (tst-spawn-static-ARGS): Likewise.
19479 * posix/tst-exec-static.c: New file.
19480 * posix/tst-spawn-static.c: Likewise.
19481 * posix/tst-exec.c: Support run directly.
19482 * posix/tst-spawn.c: Likewise.
19484 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19486 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19488 * math/bits/mathcalls.h (llrint): Likewise.
19489 (llround): Likewise.
19490 * stdlib/stdlib.h (struct drand48_data): Likewise.
19491 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19492 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19493 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19495 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19497 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19498 (elf_greg_t): Likewise.
19499 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19500 (__jmp_buf): Likewise.
19501 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19503 (llrint): Likewise, for all definitions.
19504 (llrintl): Likewise.
19506 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19507 Remove [__GNUC__] condition.
19508 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19509 condition to just [__USE_ISOC99].
19510 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19512 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19515 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19516 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19518 (_POSIX_V6_ILP32_OFF32): Likewise.
19519 (_XBS5_ILP32_OFF32): Likewise.
19520 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19521 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19523 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19525 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19528 doubles __mpexp_twomm1. Adjust usage.
19529 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19532 2013-01-10 Andreas Schwab <schwab@suse.de>
19535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19536 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19538 2013-01-09 David S. Miller <davem@davemloft.net>
19541 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19542 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19543 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19544 TCP_FASTOPEN): Define.
19545 (tcp_repair_opt): New structure.
19546 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19548 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19549 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19550 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19551 (tcp_cookie_transactions): New structure.
19553 2013-01-09 Anton Blanchard <anton@samba.org>
19555 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19556 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19560 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19562 * include/features.h (__USE_ANSI): Remove.
19564 2013-01-09 Roland McGrath <roland@hack.frob.com>
19566 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19568 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19570 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19572 * sysdeps/s390/fpu/libm-test-ulps: Update.
19574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19576 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19580 (denorm): Likewise.
19581 (__mp_dbl): Likewise.
19582 (__dbl_mp): Likewise.
19583 (add_magnitudes): Likewise.
19584 (sub_magnitudes): Likewise.
19590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19594 (denorm): Likewise.
19595 (__mp_dbl): Likewise.
19596 (__dbl_mp): Likewise.
19597 (add_magnitudes): Likewise.
19598 (sub_magnitudes): Likewise.
19604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19608 (denorm): Likewise.
19609 (__mp_dbl): Likewise.
19610 (__dbl_mp): Likewise.
19611 (add_magnitudes): Likewise.
19612 (sub_magnitudes): Likewise.
19619 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19621 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19622 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19623 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19624 2 && __USE_EXTERN_INLINES]: Likewise.
19626 2013-01-08 Andreas Jaeger <aj@suse.de>
19629 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19631 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19632 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19634 2013-01-07 Anton Blanchard <anton@samba.org>
19636 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19637 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19638 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19639 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19640 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19641 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19642 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19643 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19647 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19648 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19650 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19651 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19653 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19654 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19655 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19656 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19657 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19658 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19659 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19660 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19661 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19663 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19664 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19665 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19666 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19670 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19675 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19676 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19677 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19678 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19680 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19682 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19683 (__MALLOC_PMT): Likewise.
19684 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19685 [__GNUC__], only on [_LIBC].
19686 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19687 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19688 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19689 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19690 forward declaration.
19691 (realloc_hook_ini): Likewise.
19692 (memalign_hook_ini): Likewise.
19693 (__libc_memalign): Do not use __MALLOC_PMT in variable
19695 (__libc_valloc): Likewise.
19696 (__libc_pvalloc): Likewise.
19697 (__libc_calloc): Likewise.
19698 (__posix_memalign): Likewise.
19701 * math/s_casinh.c: Include <float.h>.
19702 (__casinh): Do not do computation with squaring and square root
19703 for large arguments.
19704 * math/s_casinhf.c: Include <float.h>.
19705 (__casinhf): Do not do computation with squaring and square root
19706 for large arguments.
19707 * math/s_casinhl.c: Include <float.h>.
19708 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19709 (__casinhl): Do not do computation with squaring and square root
19710 for large arguments.
19711 * math/libm-test.inc (casin_test): Add more tests.
19712 (casinh_test): Likewise.
19713 * sysdeps/i386/fpu/libm-test-ulps: Update.
19714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19718 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19719 (__x86_64_raw_data_cache_size): Likewise.
19720 (__x86_64_data_cache_size_half): Likewise.
19721 (__x86_64_raw_data_cache_size_half): Likewise.
19722 (__x86_64_shared_cache_size): Likewise.
19723 (__x86_64_raw_shared_cache_size): Likewise.
19724 (__x86_64_shared_cache_size_half): Likewise.
19725 (__x86_64_raw_shared_cache_size_half): Likewise.
19726 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19728 (__x86_data_cache_size): This.
19729 (__x86_64_raw_data_cache_size): Renamed to ...
19730 (__x86_raw_data_cache_size): This.
19731 (__x86_64_data_cache_size_half): Renamed to ...
19732 (__x86_data_cache_size_half): This.
19733 (__x86_64_raw_data_cache_size_half): Renamed to ...
19734 (__x86_raw_data_cache_size_half): This.
19735 (__x86_64_shared_cache_size): Renamed to ...
19736 (__x86_shared_cache_size): This.
19737 (__x86_64_raw_shared_cache_size): Renamed to ...
19738 (__x86_raw_shared_cache_size): This.
19739 (__x86_64_shared_cache_size_half): Renamed to ...
19740 (__x86_shared_cache_size_half): This.
19741 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19742 (__x86_raw_shared_cache_size_half): This.
19743 * sysdeps/x86_64/memcpy.S: Updated.
19744 * sysdeps/x86_64/memset.S: Likewise.
19745 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19747 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19749 2013-01-04 David S. Miller <davem@davemloft.net>
19751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19753 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19755 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19756 1 to avoid redefinition warning.
19757 (__USE_GNU): Don't define.
19758 (init_signaling_nan): Protoize.
19760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19762 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19764 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19766 (__cpymn): Likewise.
19767 (norm): Remove commented code.
19768 (denorm): Likewise.
19769 (__mp_dbl): Likewise.
19771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19772 (__cpymn): Likewise.
19773 (norm): Remove commented code.
19774 (denorm): Likewise.
19775 (__mp_dbl): Likewise.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19779 mp_no value for 1.0 and 2.0.
19780 (norm): Use RADIXI instead of radixi.d.
19781 (denorm): Likewise.
19782 (__mul): Use 0.0 instead of zero.d.
19783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19784 mp_no value for 1.0 and 2.0.
19785 (norm): Use RADIXI instead of radixi.d.
19786 (denorm): Likewise.
19787 (__mul): Use 0.0 instead of zero.d.
19789 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19792 * math/s_casinh.c (__casinh): Reduce finite argument to first
19793 quadrant then set signs of results at the end.
19794 * math/s_casinhf.c (__casinhf): Likewise.
19795 * math/s_casinhl.c (__casinhl): Likewise.
19796 * math/libm-test.inc (casin_test): Add more tests.
19797 (casinh_test): Likewise.
19798 * sysdeps/i386/fpu/libm-test-ulps: Update.
19799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19801 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19803 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19805 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19807 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19809 (denorm): Likewise.
19810 (__mp_dbl): Likewise.
19813 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19814 and adjust the header comment.
19816 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19817 variable name from declaration.
19819 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19822 Initialize COMMON_CPUID_INDEX_7 element.
19823 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19824 (CPUID_RTM): Likewise.
19825 (HAS_RTM): Likewise.
19826 (COMMON_CPUID_INDEX_7): New enum.
19828 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19831 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19832 size is zero, record memory as freed.
19834 2013-01-03 Andreas Jaeger <aj@suse.de>
19836 * po/ia.po: Add new Interlingua translation.
19838 2012-01-03 Allan McRae <allan@archlinux.org>
19840 * locale/programs/localedef.c: Fix description of '--posix' flag.
19842 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19844 * NEWS: Update dates in second copyright notice.
19845 * README: Update copyright dates in example.
19846 * manual/libc.texinfo: Update copyright dates.
19847 * scripts/test-installation.pl: Update copyright date in --version
19850 * hurd/ctty-input.c: Fix copyright notice formatting.
19851 * hurd/ctty-output.c: Likewise.
19852 * hurd/dtable.c: Likewise.
19853 * hurd/hurd-raise.c: Likewise.
19854 * hurd/hurdprio.c: Likewise.
19855 * hurd/msgportdemux.c: Likewise.
19856 * misc/sys/file.h: Likewise.
19857 * misc/sys/ioctl.h: Likewise.
19858 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19859 * sysdeps/mach/hurd/chdir.c: Likewise.
19860 * sysdeps/mach/hurd/fchdir.c: Likewise.
19861 * sysdeps/mach/hurd/rename.c: Likewise.
19862 * sysdeps/mach/hurd/rmdir.c: Likewise.
19863 * sysdeps/mach/hurd/seekdir.c: Likewise.
19864 * sysdeps/mach/hurd/setsid.c: Likewise.
19865 * sysdeps/posix/wait3.c: Likewise.
19867 * All files with FSF copyright notices: Update copyright dates
19868 using scripts/update-copyrights.
19869 * intl/plural.c: Regenerated.
19870 * locale/programs/charmap-kw.h: Likewise.
19871 * locale/programs/locfile-kw.h: Likewise.
19873 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19875 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19878 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19879 calculation loop and add branch prediction.
19881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19882 check access beyond bounds of m1np.
19884 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19886 (__inv): Remove local variable MPTWO to use the global
19888 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19891 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19892 MP3HALFS static const.
19894 2013-01-01 David S. Miller <davem@davemloft.net>
19896 * po/ca.po: Update from translation team.
19898 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19900 * scripts/update-copyrights: New file.
19901 * Makeconfig: Reformat copyright notice.
19902 * ctype/ctype.h: Likewise.
19903 * debug/swprintf_chk.c: Likewise.
19904 * elf/dl-cache.c: Likewise.
19905 * elf/dl-debug.c: Likewise.
19906 * elf/dl-object.c: Likewise.
19907 * grp/initgroups.c: Likewise.
19908 * hurd/Makefile: Likewise.
19909 * hurd/hurd/signal.h: Likewise.
19910 * hurd/hurdfault.c: Likewise.
19911 * hurd/hurdioctl.c: Likewise.
19912 * hurd/hurdlookup.c: Likewise.
19913 * hurd/intr-msg.c: Likewise.
19914 * iconv/gconv_open.c: Likewise.
19915 * libio/swprintf.c: Likewise.
19916 * locale/lc-ctype.c: Likewise.
19917 * locale/nl_langinfo.c: Likewise.
19918 * mach/Machrules: Likewise.
19919 * mach/Makefile: Likewise.
19920 * malloc/obstack.h: Likewise.
19921 * manual/Makefile: Likewise.
19922 * manual/tsort.awk: Likewise.
19923 * misc/bits/stab.def: Likewise.
19924 * nis/nis_print_group_entry.c: Likewise.
19925 * nis/nis_table.c: Likewise.
19926 * nis/nss_compat/compat-pwd.c: Likewise.
19927 * nis/nss_compat/compat-spwd.c: Likewise.
19928 * po/Makefile: Likewise.
19929 * posix/fnmatch.c: Likewise.
19930 * posix/regex.h: Likewise.
19931 * resolv/Makefile: Likewise.
19932 * resolv/nss_dns/dns-network.c: Likewise.
19933 * resolv/res_hconf.c: Likewise.
19934 * scripts/gen-sorted.awk: Likewise.
19935 * soft-fp/soft-fp.h: Likewise.
19936 * stdio-common/printf.h: Likewise.
19937 * stdlib/monetary.h: Likewise.
19938 * stdlib/random.c: Likewise.
19939 * stdlib/random_r.c: Likewise.
19940 * sysdeps/generic/Makefile: Likewise.
19941 * sysdeps/gnu/Makefile: Likewise.
19942 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19965 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19966 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19967 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19968 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19970 * sysdeps/mach/hurd/errnos.awk: Likewise.
19971 * sysdeps/mach/hurd/fork.c: Likewise.
19972 * sysdeps/mach/hurd/getcwd.c: Likewise.
19973 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19974 * sysdeps/mach/hurd/mmap.c: Likewise.
19975 * sysdeps/mach/hurd/utimes.c: Likewise.
19976 * sysdeps/mach/hurd/xmknod.c: Likewise.
19977 * sysdeps/posix/profil.c: Likewise.
19978 * sysdeps/posix/readdir_r.c: Likewise.
19979 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19980 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19981 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19984 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19985 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19986 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19988 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19990 * sysdeps/pthread/lio_listio.c: Likewise.
19991 * sysdeps/sparc/dl-procinfo.h: Likewise.
19992 * sysdeps/unix/i386/sysdep.S: Likewise.
19993 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19994 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19995 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19996 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19998 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19999 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20000 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20001 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20002 * sysdeps/wordsize-32/divdi3.c: Likewise.
20003 * time/sys/time.h: Likewise.
20004 * wcsmbs/Makefile: Likewise.
20006 2013-01-01 David S. Miller <davem@davemloft.net>
20008 * po/fr.po: Update from translation team.
20010 * catgets/gencat.c: Update copyright year.
20011 * csu/version.c: Likewise.
20012 * debug/catchsegv.sh: Likewise.
20013 * debug/pcprofiledump.c: Likewise.
20014 * debug/xtrace.sh: Likewise.
20015 * elf/ldconfig.c: Likewise.
20016 * elf/ldd.bash.in: Likewise.
20017 * elf/pldd.c: Likewise.
20018 * elf/sotruss.ksh: Likewise.
20019 * elf/sprof.c: Likewise.
20020 * iconv/iconv_prog.c: Likewise.
20021 * iconv/iconvconfig.c: Likewise.
20022 * locale/programs/locale.c: Likewise.
20023 * locale/programs/localedef.c: Likewise.
20024 * login/programs/pt_chown.c: Likewise.
20025 * malloc/memusage.sh: Likewise.
20026 * malloc/memusagestat.c: Likewise.
20027 * malloc/mtrace.pl: Likewise.
20028 * nscd/nscd.c: Likewise.
20029 * nss/getent.c: Likewise.
20030 * nss/makedb.c: Likewise.
20031 * posix/getconf.c: Likewise.
20033 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20035 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20038 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20040 * math/bits/mathcalls.h (modf): Use __nonnull.
20042 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20044 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20045 (split): Use macro CN instead of the bare value.
20046 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20049 instead of the bare value.
20050 (power1): Likewise.
20052 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20058 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20060 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20061 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20062 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20063 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20065 2012-12-28 Andreas Jaeger <aj@suse.de>
20067 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20068 values are from Linux 3.7.
20070 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20071 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20073 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20075 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20080 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20081 variables with preprocessor constants.
20082 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20083 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20084 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20086 2012-12-27 Bruno Haible <bruno@clisp.org>
20089 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20092 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20095 and use variable directly.
20096 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20098 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20100 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20103 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20105 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20106 include directive. Remove local variable MPONE.
20107 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20111 2012-12-25 David S. Miller <davem@davemloft.net>
20113 * version.h (RELEASE): Set to "development".
20114 (VERSION): Set to "2.17.90".
20115 * NEWS: Add 2.18 section.
20117 2012-12-21 David S. Miller <davem@davemloft.net>
20119 * po/hr.po: Update from translation team.
20121 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20123 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20125 2012-12-19 Steve Ellcey <sellcey@mips.com>
20127 * NEWS: Mention new memcpy for MIPS.
20129 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20131 * manual/contrib.texi (Contributors): Spelling correction.
20133 2012-12-15 David S. Miller <davem@davemloft.net>
20135 * po/ru.po: Update from translation team.
20137 2012-12-13 David S. Miller <davem@davemloft.net>
20139 * NEWS: Mention IFUNC testsuite enhancements.
20141 * po/pl.po: Update from translation team.
20142 * po/bg.po: Likewise.
20144 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20145 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20147 2012-12-11 David S. Miller <davem@davemloft.net>
20149 * po/sv.po: Update from translation team.
20151 * po/vi.po: Update from translation team.
20153 * po/cs.po: Update from translation team.
20155 * po/de.po: Update from translation team.
20156 * po/eo.po: Likewise.
20157 * po/nl.po: Likewise.
20159 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20162 * manual/argp.texi (Argp Helper Functions): Move node to follow
20163 Argp Parsing State.
20166 * manual/conf.texi (Limits on File System Capacity): Mention if
20167 terminating null is included in the max size.
20169 2012-12-10 Andreas Jaeger <aj@suse.de>
20171 * po/cs.po: Update from translation team.
20173 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20175 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20176 void pointer and cast to uintptr_t.
20177 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20179 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20180 * sysdeps/s390/s390-64/memset.S: Likewise.
20182 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20185 * menual/message.texi (Message Translation): Fix typos.
20186 (Helper programs for gettext): Likewise.
20188 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20191 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20194 2012-12-07 David S. Miller <davem@davemloft.net>
20196 * po/libc.pot: Update.
20198 2012-12-07 Richard Henderson <rth@redhat.com>
20201 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20202 normal/normal case to before the switch.
20203 (_FP_DIV): Likewise.
20205 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20206 Mike Frysinger <vapier@gentoo.org>
20208 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20209 check for __NR_fadvise64_64.
20211 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20213 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20214 0, not just to plain "0" as a statement.
20215 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20218 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20220 * NEWS: Use sourceware.org in Bugzilla URL.
20222 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20225 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20227 * stdio-common/tst-put-error.c (do_test): Add newline to the
20228 padded test to ensure flush.
20230 2012-12-05 Jeff Law <law@redhat.com>
20232 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20234 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20236 * README: Don't refer to ports add-on as distributed separately.
20237 Mention AArch64 in list of systems supported in the ports add-on.
20239 * LICENSES: Add more non-FSF copyright and license notices.
20241 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20244 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20246 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20247 10000 as width of padded output.
20249 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20251 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20254 variable LX with __attribute__ ((unused)).
20255 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20257 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20260 with __attribute__ ((unused)).
20262 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20264 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20266 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20268 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20269 (CFLAGS-nldbl-acos.c): New variable.
20270 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20369 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20372 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20373 whole low double instead of just low 47 bits when splitting values
20376 2012-12-03 Allan McRae <allan@archlinux.org>
20378 * manual/stdio.texi (Predefined Printf Handlers): Remove
20379 @hsep and @vsep usage.
20381 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20383 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20384 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20386 2012-12-03 Jeff Law <law@redhat.com>
20388 * time/sys/time.h (settimeofday): Do not mark TV argument
20391 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20393 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20394 when currently writing and seek to current position when not.
20395 * libio/Makefile (tests): Remove bug-fclose1.
20396 * libio/bug-fclose1.c: Delete.
20398 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20400 * manual/arith.texi (feenableexcept): Fix typo.
20401 (fedisableexcept): Likewise.
20403 2012-11-30 Roland McGrath <roland@hack.frob.com>
20405 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20406 second, differently-typed declaration, rather than a cast.
20408 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20410 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20411 * include/rpc/svc.h: ... here.
20413 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20416 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20417 depending n and resplen2 to catch cases where answer
20420 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20422 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20423 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20425 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20427 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20429 2012-11-29 Roland McGrath <roland@hack.frob.com>
20431 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20433 2012-11-28 Jeff Law <law@redhat.com>
20436 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20437 dataset_temporary. Track alloca usage into alloca_used.
20438 If dataset is large allocate and release it via malloc/free.
20440 2012-06-04 Florian Weimer <fweimer@redhat.com>
20443 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20445 2012-11-28 David S. Miller <davem@davemloft.net>
20447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20449 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20452 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20453 of pi/2 rounded to nearest to 64 bits.
20454 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20455 nearest to 64 bits.
20456 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20459 2012-11-28 Jeff Law <law@redhat.com>
20460 Martin Osvald <mosvald@redhat.com>
20463 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20464 * sunrpc/svc.c: Include time.h.
20465 (__svc_accept_failed): New function.
20466 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20467 any reason other than EINTR, call __svc_accept_failed.
20468 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20469 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20471 2012-11-28 Andreas Schwab <schwab@suse.de>
20473 * scripts/abilist.awk: Also handle indirect functions in .opd
20476 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20479 * sysdeps/x86/fpu/powl_helper.c: New file.
20480 * sysdeps/x86/fpu/Makefile: Likewise.
20481 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20483 (__ieee754_powl): Use __powl_helper for finite arguments except
20484 integer exponents below 8.
20485 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20487 (__ieee754_powl): Use __powl_helper for finite arguments except
20488 integer exponents below 8.
20489 * math/libm-test.inc (pow_test): Add more tests and enable some
20490 previously disabled tests.
20491 * sysdeps/i386/fpu/libm-test-ulps: Update.
20492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20494 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20495 Carlos O'Donell <carlos_odonell@mentor.com>
20497 * nss/makedb.c (is_prime): Assert that input is odd and greater
20498 than 4. Note that fact in a comment too.
20499 (next_prime): Add 4 to input.
20501 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * libio/Makefile (tests): Add test case tst-fwrite-error.
20505 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20506 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20507 * libio/tst-fwrite-error.c: New test case.
20509 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20511 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20512 before casting to void *.
20513 * include/libc-internal.h (__pointer_type): New macro.
20514 (__integer_if_pointer_type_sub): Likewise.
20515 (__integer_if_pointer_type): Likewise.
20516 (cast_to_integer): Likewise.
20517 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20518 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20519 before casting to atomic64_t.
20520 (atomic_exchange_acq): Likewise.
20521 (__arch_exchange_and_add_body): Likewise.
20522 (__arch_add_body): Likewise.
20523 (atomic_add_negative): Likewise.
20524 (atomic_add_zero): Likewise.
20526 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20528 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20529 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20530 (add_fdes): Likewise.
20531 (linear_search_fdes): Likewise.
20532 (binary_search_unencoded_fdes): Likewise.
20534 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20536 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20538 2012-11-24 Adam Conrad <adconrad@0c3.net>
20540 * configure.in: Autodetect C++ header directories.
20541 * configure: Regenerated.
20543 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20545 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20547 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20551 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20553 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20554 LDBL_MANT_DIG == 106]: Disable some tests.
20555 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20557 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20562 input for small inputs. Return +/- pi/2 for large inputs.
20563 * math/libm-test.inc (atan_test): Add more tests.
20565 * sysdeps/generic/unwind-dw2-fde-glibc.c
20566 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20567 __attribute__ ((unused)).
20570 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20571 x * y if x and y are nonzero and z is zero.
20574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20575 nonzero exponents with absolute value below 0x1p-117 to +/-
20579 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20580 up arguments below 2**-450, not just those below 2**-500.
20581 * math/libm-test.inc (hypot_test): Add another test.
20584 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20585 Return a+b for ratio over 2**120, not 2**60.
20586 * math/libm-test.inc (hypot_test): Add another test.
20588 * math/libm-test.inc (clog_test): Use
20589 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20590 (clog10_test): Likewise.
20593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20595 2012-11-22 Andreas Schwab <schwab@suse.de>
20597 * sysdeps/i386/fpu/libm-test-ulps: Update.
20599 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20601 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20602 printf output with newline.
20604 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20607 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20608 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20609 -z nodlopen, -z initfirst and -z execstack support.
20610 * configure: Regenerated.
20612 * elf/elf.h (DF_1_NODIRECT): New macro.
20613 (DF_1_IGNMULDEF): Likewise.
20614 (DF_1_NOKSYMS): Likewise.
20615 (DF_1_NOHDR): Likewise.
20616 (DF_1_EDITED): Likewise.
20617 (DF_1_NORELOC): Likewise.
20618 (DF_1_SYMINTPOSE): Likewise.
20619 (DF_1_GLOBAUDIT): Likewise.
20620 (DF_1_SINGLETON): Likewise.
20621 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20622 DT_1_SUPPORTED_MASK bits.
20623 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20625 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20627 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20629 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20631 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20634 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20635 (sendmmsg): Move declarations...
20636 * socket/sys/socket.h: ... here.
20637 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20638 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20640 * socket/recvmmsg.c: ... this new file.
20641 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20642 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20643 definition of __sendmmsg hidden.
20644 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20645 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20646 Move ENOSYS stub into and include it from...
20647 * socket/sendmmsg.c: ... this new file.
20648 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20649 (sysdep_routines): Move recvmmsg and sendmmsg...
20650 * socket/Makefile (routines): ... here.
20651 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20652 (GLIBC_PRIVATE): Add __sendmmsg.
20653 * include/sys/socket.h (__sendmmsg): Add declarations.
20654 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20657 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20660 variable I1 with __attribute__ ((unused)).
20661 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20663 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20665 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20666 DUMMY variables with __attribute__ ((unused)).
20668 * bits/byteswap.h: Include <bits/types.h>.
20669 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20671 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20673 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20674 string_t. Do not manually set errno.
20675 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20676 length with __strnlen. Make sure to both set errno and return it on
20679 2012-11-19 David S. Miller <davem@davemloft.net>
20681 With help from Joseph Myers.
20682 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20683 very large arguments properly.
20684 * math/libm-test.inc (atan_test): New tests.
20685 (atan2_test): New tests.
20686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20689 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20692 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20695 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20696 [POSIX] (EADDRNOTAVAIL): Likewise.
20697 [POSIX] (EAFNOSUPPORT): Likewise.
20698 [POSIX] (EALREADY): Likewise.
20699 [POSIX] (ECONNABORTED): Likewise.
20700 [POSIX] (ECONNREFUSED): Likewise.
20701 [POSIX] (ECONNRESET): Likewise.
20702 [POSIX] (EDESTADDRREQ): Likewise.
20703 [POSIX] (EDQUOT): Likewise.
20704 [POSIX] (EHOSTUNREACH): Likewise.
20705 [POSIX] (EIDRM): Likewise.
20706 [POSIX] (EISCONN): Likewise.
20707 [POSIX] (ELOOP): Likewise.
20708 [POSIX] (EMULTIHOP): Likewise.
20709 [POSIX] (ENETDOWN): Likewise.
20710 [POSIX] (ENETUNREACH): Likewise.
20711 [POSIX] (ENOBUFS): Likewise.
20712 [POSIX] (ENODATA): Likewise.
20713 [POSIX] (ENOLINK): Likewise.
20714 [POSIX] (ENOMSG): Likewise.
20715 [POSIX] (ENOPROTOOPT): Likewise.
20716 [POSIX] (ENOSR): Likewise.
20717 [POSIX] (ENOSTR): Likewise.
20718 [POSIX] (ENOTCONN): Likewise.
20719 [POSIX] (ENOTSOCK): Likewise.
20720 [POSIX] (EOPNOTSUPP): Likewise.
20721 [POSIX] (EOVERFLOW): Likewise.
20722 [POSIX] (EPROTO): Likewise.
20723 [POSIX] (EPROTONOSUPPORT): Likewise.
20724 [POSIX] (EPROTOTYPE): Likewise.
20725 [POSIX] (ESTALE): Likewise.
20726 [POSIX] (ETIME): Likewise.
20727 [POSIX] (ETXTBSY): Likewise.
20728 [POSIX] (EWOULDBLOCK): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20730 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20731 [POSIX] (SEEK_CUR): Likewise.
20732 [POSIX] (SEEK_END): Likewise.
20733 [POSIX || UNIX98] (mode_t): Do not require.
20734 [POSIX] (off_t): Likewise.
20735 [POSIX] (pid_t): Likewise.
20736 [POSIX] (sys/stat.h): Do not allow header.
20737 [POSIX] (unistd.h): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20739 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20741 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20743 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20744 sigevent): Specify elements.
20745 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20747 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20748 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20750 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20751 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20752 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20753 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20754 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20755 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20756 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20757 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20759 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20760 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20761 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20762 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20763 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20765 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20767 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20769 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20771 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20772 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20773 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20774 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20776 Specify lower bound on value.
20777 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20783 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20784 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20786 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20788 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20805 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20807 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20814 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20819 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20820 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20822 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20826 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20827 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20828 specify as optional.
20829 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20832 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20833 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20834 [XPG3] (NL_LANGMAX): Likewise.
20835 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20836 [POSIX || XPG3] (NL_NMAX): Likewise.
20837 [POSIX || XPG3] (NL_SETMAX): Likewise.
20838 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20839 [XPG3] (NZERO): Likewise.
20840 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20841 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20842 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20843 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20844 (REG_ERANGE): Expect.
20845 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20847 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20848 Use (void) in prototype.
20849 [POSIX] (*_t): Allow.
20850 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20851 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20852 (WRDE_BADVAL): Expect.
20854 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20856 [XPG3 || XPG4] (O_RSYNC): Likewise.
20857 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20859 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20860 [XPG3 || XPG4] (sigqueue): Likewise.
20861 [XPG3 || XPG4] (sigtimedwait): Likewise.
20862 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20863 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20864 [XPG3 || XPG4] (vsnprintf): Likewise.
20865 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20867 [XPG3 || XPG4] (blksize_t): Likewise.
20868 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20870 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20871 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20872 [XPG3 || XPG4] (struct itimerspec): Likewise.
20873 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20874 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20875 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20876 [XPG3 || XPG4] (clockid_t): Likewise.
20877 [XPG3 || XPG4] (timer_t): Likewise.
20878 [XPG3 || XPG4] (clock_getres): Likewise.
20879 [XPG3 || XPG4] (clock_gettime): Likewise.
20880 [XPG3 || XPG4] (clock_settime): Likewise.
20881 [XPG3 || XPG4] (nanosleep): Likewise.
20882 [XPG3 || XPG4] (timer_create): Likewise.
20883 [XPG3 || XPG4] (timer_delete): Likewise.
20884 [XPG3 || XPG4] (timer_gettime): Likewise.
20885 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20886 [XPG3 || XPG4] (timer_settime): Likewise.
20887 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20888 [XPG3 || XPG4] (getlogin_r): Likewise.
20889 [XPG3 || XPG4] (pread): Likewise.
20890 [XPG3 || XPG4] (pthread_atfork): Likewise.
20891 [XPG3 || XPG4] (pwrite): Likewise.
20894 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20897 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20899 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20900 finalizing MALLSTREAM.
20902 * sysdeps/mach/hurd/syncfs.c: New file.
20904 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20907 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20908 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20909 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20910 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20911 (_nss_dns_gethostbyname4_r): Likewise.
20912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20913 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20915 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20918 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20920 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20922 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20923 * elf/cache.c (print_entry): Print ",AArch64" for
20926 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20927 * elf/cache.c (print_entry): Print ",hard-float" for
20930 2012-11-18 David S. Miller <davem@davemloft.net>
20932 With help from Joseph Myers.
20933 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20935 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20937 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20938 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20940 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20941 * math/libm-test.inc (y0_test): New tests.
20942 (y1_test): New tests.
20943 * sysdeps/i386/fpu/libm-test-ulps: Update.
20944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20947 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20949 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20951 * configure: Regenerated.
20953 2012-11-17 David S. Miller <davem@davemloft.net>
20956 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20957 nonzero exponents with absolute value below 0x1p-128 to +/-
20960 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20962 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20964 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20966 * posix/getconf-speclist.c: New file.
20967 * posix/posix-envs.def: Likewise.
20968 * posix/confstr.c (START_ENV_GROUP): New macro.
20969 (END_ENV_GROUP): Likewise.
20970 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20971 (KNOWN_PRESENT_ENV_STRING): Likewise.
20972 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20973 (UNKNOWN_ENVIRONMENT): Likewise.
20974 (confstr): Include posix-envs.def instead of handling
20975 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20976 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20977 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20978 (END_ENV_GROUP): Likewise.
20979 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20980 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20981 (UNKNOWN_ENVIRONMENT): Likewise.
20982 (__sysconf): Include posix-envs.def instead of handling associated
20983 cases directly here.
20984 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20985 preprocessing getconf-speclist.c rather than running getconf or
20986 generating empty file.
20988 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20990 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20992 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20995 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20997 2012-11-16 David S. Miller <davem@davemloft.net>
20999 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21000 smaller than LDBL_EPSILON/2.0L, just return xm1.
21002 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21004 * elf/tst-array1.c (init): Set constructor priority to 1000.
21005 (fini): Set destructor priority to 1000.
21006 * elf/tst-array2dep.c: Likewise.
21008 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21011 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21012 (_IO_new_file_xsputn): Also return EOF if none of the input
21013 data was written when overflow failed.
21014 * libio/iopadn.c (_IO_padn): Likewise.
21015 * libio/iowpadn.c (_IO_wpadn): Likewise.
21016 * stdio-common/tst-put-error.c: Add copyright notice.
21017 (do_test): Add case for printing padded string.
21018 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21019 _IO_padn returned error.
21020 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21021 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21024 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21026 * libio/libioP.h: Add comment note that the references to C++
21027 bits are now obsolete.
21029 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21031 * math/libm-test.inc (check_complex): Use asprintf.
21033 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21035 * debug/pcprofiledump.c (print_version): Update copyright year.
21036 * malloc/memusagestat.c (print_version): Likewise.
21038 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21041 * elf/Makefile (tests): Add tst-audit8.
21042 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21043 ($(objpfx)tst-audit8.out): New target.
21044 (tst-audit8-ENV): New variable.
21045 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21046 audit if l_reloc_result is NULL.
21047 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21048 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21049 * elf/tst-audit8.c: New file.
21051 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21053 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21054 * misc/Makefile (CFLAGS-select.c): Define.
21055 * posix/Makefile (CFLAGS-pause.c): Define.
21057 2012-11-13 David S. Miller <davem@davemloft.net>
21059 * crypt/Makefile: Move test targets after toplevel Rules
21060 inclusion. Grab any necessary sysdep routines when linking.
21061 * crypt/md5.c (md5_process_block): Remove define, we will always
21062 name it __md5_process_block.
21063 (md5_finish_ctx): Update md5_process_block call.
21064 (md5_stream): Likewise.
21065 (md5_process_bytes): Likewise.
21066 (md5_process_block): Rename to __md5_process_block and move to ...
21067 * crypt/md5-block.c: ... here.
21068 * crypt/sha256.c (sha256_process_block): Move to ...
21069 * crypt/sha256-block.c: ... here.
21070 * crypt/sha512.c (sha512_process_block): Move to ...
21071 * crypt/sha512-block.c: ... here.
21072 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21074 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21075 * sysdeps/sparc/sparc64/multiarch/Makefile
21076 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21078 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21079 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21081 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21082 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21083 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21084 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21085 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21086 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21087 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21088 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21089 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21091 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21094 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21096 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21098 * timezone/tzselect.ksh: Update from tzcode git revision
21099 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21100 * timezone/zdump.c: Likewise.
21101 * timezone/zic.c: Likewise.
21102 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21103 in TZVERSION setting, not $(PKGVERSION).
21104 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21105 REPORT_BUGS_TO settings.
21108 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21111 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21113 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21114 detection to immediately after _FP_ROUND().
21115 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21118 2012-11-11 David S. Miller <davem@davemloft.net>
21120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21122 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21123 __close rather than their public counterparts.
21125 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21127 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21129 [UNIX98] (sem_timedwait): Do not expect.
21130 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21131 [XPG4 || UNIX98] (sockatmark): Do not expect.
21132 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21133 (clock_getcpuclockid): Do not expect.
21134 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21135 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21137 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21138 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21139 [UNIX98] (vwscanf): Likewise.
21140 [UNIX98] (vswscanf): Likewise.
21142 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21144 * timezone/version.h: Remove file.
21145 * timezone/README: Do not refer to version.h.
21146 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21147 $(objpfx)version.h.
21148 ($(objpfx)zdump.o): Likewise.
21149 ($(objpfx)version.h): New target.
21151 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21153 * timezone/README: Don't mention modification to tzselect.ksh.
21154 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21155 work on unmodified tzselect.ksh. Substitute version numbers in
21158 * Makefile (format-me): Remove.
21159 (INSTALL): Adjust indentation. Use commands directly instead of
21160 using $(format-me).
21162 * aclocal.m4 (ACX_PKGVERSION): New macro.
21163 (ACX_BUGURL): Likewise.
21164 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21165 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21166 (REPORT_BUGS_TO): Likewise.
21167 * configure: Regenerated.
21168 * config.h.in (PKGVERSION): New macro.
21169 (REPORT_BUGS_TO): Likewise.
21170 * config.make.in (PKGVERSION): New variable.
21171 (PKGVERSION_TEXI): Likewise.
21172 (REPORT_BUGS_TO): Likewise.
21173 (REPORT_BUGS_TEXI): Likewise.
21174 * Makefile (format-me): Use -I$(common-objpfx)manual.
21175 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21176 ($(common-objpfx)manual/%): New target.
21177 (manual/%): Remove target.
21178 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21179 (print_version): Use PKGVERSION.
21180 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21181 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21182 and REPORT_BUGS_TO.
21183 ($(objpfx)xtrace): Likewise.
21184 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21185 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21186 (print_version): Use PKGVERSION.
21187 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21188 (do_version): Use PKGVERSION.
21189 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21191 (common-ldd-rewrite): Likewise.
21192 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21193 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21194 (print_version): Use PKGVERSION.
21195 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21196 * elf/pldd.c (argp_program_bug_address): Remove variable.
21197 (more_help): New function.
21198 (argp): Use more_help.
21199 (print_version): Use PKGVERSION.
21200 * elf/sln.c (main): Use PKGVERSION.
21201 (usage): Use REPORT_BUGS_TO.
21202 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21203 (top level): Use PKGVERSION.
21204 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21205 (print_version): Use PKGVERSION.
21206 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21207 (print_version): Use PKGVERSION.
21208 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21209 (print_version): Use PKGVERSION.
21210 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21211 (print_version): Use PKGVERSION.
21212 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21213 (print_version): Use PKGVERSION.
21214 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21215 (print_version): Use PKGVERSION.
21216 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21218 ($(objpfx)memusage): Likewise.
21219 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21220 (do_version): Use PKGVERSION.
21221 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21222 (print_version): Use PKGVERSION.
21223 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21224 ($PKGVERSION): New variable.
21225 ($REPORT_BUGS_TO): Likewise.
21226 (usage): Use $REPORT_BUGS_TO.
21227 (top level): Use $PKGVERSION.
21228 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21229 ($(objpfx)pkgvers.texi): New rule.
21230 ($(objpfx)stamp-pkgvers): Likewise.
21231 * manual/install.texi: Include pkgvers.texi.
21232 (--with-pkgversion): Document new configure option.
21233 (--with-bugurl): Likewise.
21234 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21235 than necessarily for this particular distribution. Use
21236 REPORT_BUGS_TO for where to report bugs.
21237 * INSTALL: Regenerated.
21238 * manual/libc.texinfo: Include pkgvers.texi.
21239 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21240 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21241 (print_version): Use PKGVERSION.
21242 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21243 (print_version): Use PKGVERSION.
21244 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21245 (print_version): Use PKGVERSION.
21246 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21247 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21249 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21250 (print_version): Use PKGVERSION.
21251 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21252 (print_version): Use PKGVERSION.
21253 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21256 * timezone/checktab.awk: Update from tzcode 2012i.
21257 * timezone/ialloc.c: Likewise.
21258 * timezone/private.h: Likewise.
21259 * timezone/scheck.c: Likewise.
21260 * timezone/tzfile.h: Likewise.
21261 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21262 (TZVERSION): Hardcode tzcode version number.
21263 * timezone/zdump.c: Update from tzcode 2012i.
21264 * timezone/zic.c: Likewise.
21265 * timezone/version.h: New file.
21266 * timezone/README: Describe version.h. Update upstream location.
21269 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21270 (mktemp): Enable declaration.
21271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21278 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21288 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21289 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21290 for copies of such integer values.
21291 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21292 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21294 2012-11-09 Andreas Jaeger <aj@suse.de>
21296 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21297 definitions and declarations that are provided by
21298 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21300 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21302 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21303 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21304 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21307 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21309 * elf/elf.h: Update comment before AArch64 relocations.
21311 2012-11-07 David S. Miller <davem@davemloft.net>
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21314 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21315 (__start_context): Declare.
21316 (__makecontext_ret): Delete.
21317 (__makecontext): Hook up __start_context instead of
21319 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21320 (sysdep_routines): Add __start_context when in stdlib.
21322 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21324 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21325 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21326 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21328 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21329 (READELF): New variable. Use it instead of hardcoded "readelf".
21331 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21333 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21334 * sysdeps/x86/Makefile: Here.
21335 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21336 * sysdeps/x86/tst-xmmymm.sh: This.
21338 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21340 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21342 [UNIX98] (pthread_barrier_t): Do not expect.
21343 [UNIX98] (pthread_barrierattr_t): Likewise.
21344 [UNIX98] (pthread_spinlock_t): Likewise.
21345 [UNIX98] (pthread_barrier_destroy): Likewise.
21346 [UNIX98] (pthread_barrier_init): Likewise.
21347 [UNIX98] (pthread_barrier_wait): Likewise.
21348 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21349 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21350 [UNIX98] (pthread_barrierattr_init): Likewise.
21351 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21352 [UNIX98] (pthread_getcpuclockid): Likewise.
21353 [UNIX98] (pthread_mutex_timedlock): Likewise.
21354 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21355 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21356 [UNIX98] (pthread_sigmask): Likewise.
21357 [UNIX98] (pthread_spin_destroy): Likewise.
21358 [UNIX98] (pthread_spin_init): Likewise.
21359 [UNIX98] (pthread_spin_lock): Likewise.
21360 [UNIX98] (pthread_spin_trylock): Likewise.
21361 [UNIX98] (pthread_spin_unlock): Likewise.
21362 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21364 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21366 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21367 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21368 [XPG3 || XPG4] (pthread_key_t): Likewise.
21369 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21370 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21371 [XPG3 || XPG4] (pthread_once_t): Likewise.
21372 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21373 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21375 [XPG3 || XPG4] (pthread_t): Likewise.
21377 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21379 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21381 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21382 Change function return type to int.
21384 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21385 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21386 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21387 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21388 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21389 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21390 [!POSIX] (posix_madvise): Likewise.
21391 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21393 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21394 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21395 (mode_t): Likewise.
21396 (posix_mem_offset): Likewise.
21397 (posix_typed_mem_get_info): Likewise.
21398 (posix_typed_mem_open): Likewise.
21400 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21401 Change condition to [XOPEN2K8].
21403 * conform/conformtest.pl: Preprocess allow-header data with -x c
21404 instead of from stdin.
21405 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21406 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21407 [C99-based standards] (cerfc): Likewise.
21408 [C99-based standards] (cexp2): Likewise.
21409 [C99-based standards] (cexpm1): Likewise.
21410 [C99-based standards] (clog10): Likewise.
21411 [C99-based standards] (clog1p): Likewise.
21412 [C99-based standards] (clog2): Likewise.
21413 [C99-based standards] (clgamma): Likewise.
21414 [C99-based standards] (ctgamma): Likewise.
21415 [C99-based standards] (cerff): Likewise.
21416 [C99-based standards] (cerfcf): Likewise.
21417 [C99-based standards] (cexp2f): Likewise.
21418 [C99-based standards] (cexpm1f): Likewise.
21419 [C99-based standards] (clog10f): Likewise.
21420 [C99-based standards] (clog1pf): Likewise.
21421 [C99-based standards] (clog2f): Likewise.
21422 [C99-based standards] (clgammaf): Likewise.
21423 [C99-based standards] (ctgammaf): Likewise.
21424 [C99-based standards] (cerfl): Likewise.
21425 [C99-based standards] (cerfcl): Likewise.
21426 [C99-based standards] (cexp2l): Likewise.
21427 [C99-based standards] (cexpm1l): Likewise.
21428 [C99-based standards] (clog10l): Likewise.
21429 [C99-based standards] (clog1pl): Likewise.
21430 [C99-based standards] (clog2l): Likewise.
21431 [C99-based standards] (clgammal): Likewise.
21432 [C99-based standards] (ctgammal): Likewise.
21433 * conform/data/inttypes.h-data [C99-based standards]: Include
21434 stdint.h-data. Remove all expectations for stdint.h contents.
21435 [C99-based standards] (PRI*): Do not allow.
21436 [C99-based standards] (SCN*): Likewise.
21437 [C99-based standards] (*_t): Likewise.
21438 [C99-based-standards] (PRId8): Expect macro.
21439 [C99-based-standards] (PRIi8): Likewise.
21440 [C99-based-standards] (PRIo8): Likewise.
21441 [C99-based-standards] (PRIu8): Likewise.
21442 [C99-based-standards] (PRIx8): Likewise.
21443 [C99-based-standards] (PRIX8): Likewise.
21444 [C99-based-standards] (SCNd8): Likewise.
21445 [C99-based-standards] (SCNi8): Likewise.
21446 [C99-based-standards] (SCNo8): Likewise.
21447 [C99-based-standards] (SCNu8): Likewise.
21448 [C99-based-standards] (SCNx8): Likewise.
21449 [C99-based-standards] (PRIdLEAST8): Likewise.
21450 [C99-based-standards] (PRIiLEAST8): Likewise.
21451 [C99-based-standards] (PRIoLEAST8): Likewise.
21452 [C99-based-standards] (PRIuLEAST8): Likewise.
21453 [C99-based-standards] (PRIxLEAST8): Likewise.
21454 [C99-based-standards] (PRIXLEAST8): Likewise.
21455 [C99-based-standards] (SCNdLEAST8): Likewise.
21456 [C99-based-standards] (SCNiLEAST8): Likewise.
21457 [C99-based-standards] (SCNoLEAST8): Likewise.
21458 [C99-based-standards] (SCNuLEAST8): Likewise.
21459 [C99-based-standards] (SCNxLEAST8): Likewise.
21460 [C99-based-standards] (PRIdFAST8): Likewise.
21461 [C99-based-standards] (PRIiFAST8): Likewise.
21462 [C99-based-standards] (PRIoFAST8): Likewise.
21463 [C99-based-standards] (PRIuFAST8): Likewise.
21464 [C99-based-standards] (PRIxFAST8): Likewise.
21465 [C99-based-standards] (PRIXFAST8): Likewise.
21466 [C99-based-standards] (SCNdFAST8): Likewise.
21467 [C99-based-standards] (SCNiFAST8): Likewise.
21468 [C99-based-standards] (SCNoFAST8): Likewise.
21469 [C99-based-standards] (SCNuFAST8): Likewise.
21470 [C99-based-standards] (SCNxFAST8): Likewise.
21471 [C99-based-standards] (PRId16): Likewise.
21472 [C99-based-standards] (PRIi16): Likewise.
21473 [C99-based-standards] (PRIo16): Likewise.
21474 [C99-based-standards] (PRIu16): Likewise.
21475 [C99-based-standards] (PRIx16): Likewise.
21476 [C99-based-standards] (PRIX16): Likewise.
21477 [C99-based-standards] (SCNd16): Likewise.
21478 [C99-based-standards] (SCNi16): Likewise.
21479 [C99-based-standards] (SCNo16): Likewise.
21480 [C99-based-standards] (SCNu16): Likewise.
21481 [C99-based-standards] (SCNx16): Likewise.
21482 [C99-based-standards] (PRIdLEAST16): Likewise.
21483 [C99-based-standards] (PRIiLEAST16): Likewise.
21484 [C99-based-standards] (PRIoLEAST16): Likewise.
21485 [C99-based-standards] (PRIuLEAST16): Likewise.
21486 [C99-based-standards] (PRIxLEAST16): Likewise.
21487 [C99-based-standards] (PRIXLEAST16): Likewise.
21488 [C99-based-standards] (SCNdLEAST16): Likewise.
21489 [C99-based-standards] (SCNiLEAST16): Likewise.
21490 [C99-based-standards] (SCNoLEAST16): Likewise.
21491 [C99-based-standards] (SCNuLEAST16): Likewise.
21492 [C99-based-standards] (SCNxLEAST16): Likewise.
21493 [C99-based-standards] (PRIdFAST16): Likewise.
21494 [C99-based-standards] (PRIiFAST16): Likewise.
21495 [C99-based-standards] (PRIoFAST16): Likewise.
21496 [C99-based-standards] (PRIuFAST16): Likewise.
21497 [C99-based-standards] (PRIxFAST16): Likewise.
21498 [C99-based-standards] (PRIXFAST16): Likewise.
21499 [C99-based-standards] (SCNdFAST16): Likewise.
21500 [C99-based-standards] (SCNiFAST16): Likewise.
21501 [C99-based-standards] (SCNoFAST16): Likewise.
21502 [C99-based-standards] (SCNuFAST16): Likewise.
21503 [C99-based-standards] (SCNxFAST16): Likewise.
21504 [C99-based-standards] (PRId32): Likewise.
21505 [C99-based-standards] (PRIi32): Likewise.
21506 [C99-based-standards] (PRIo32): Likewise.
21507 [C99-based-standards] (PRIu32): Likewise.
21508 [C99-based-standards] (PRIx32): Likewise.
21509 [C99-based-standards] (PRIX32): Likewise.
21510 [C99-based-standards] (SCNd32): Likewise.
21511 [C99-based-standards] (SCNi32): Likewise.
21512 [C99-based-standards] (SCNo32): Likewise.
21513 [C99-based-standards] (SCNu32): Likewise.
21514 [C99-based-standards] (SCNx32): Likewise.
21515 [C99-based-standards] (PRIdLEAST32): Likewise.
21516 [C99-based-standards] (PRIiLEAST32): Likewise.
21517 [C99-based-standards] (PRIoLEAST32): Likewise.
21518 [C99-based-standards] (PRIuLEAST32): Likewise.
21519 [C99-based-standards] (PRIxLEAST32): Likewise.
21520 [C99-based-standards] (PRIXLEAST32): Likewise.
21521 [C99-based-standards] (SCNdLEAST32): Likewise.
21522 [C99-based-standards] (SCNiLEAST32): Likewise.
21523 [C99-based-standards] (SCNoLEAST32): Likewise.
21524 [C99-based-standards] (SCNuLEAST32): Likewise.
21525 [C99-based-standards] (SCNxLEAST32): Likewise.
21526 [C99-based-standards] (PRIdFAST32): Likewise.
21527 [C99-based-standards] (PRIiFAST32): Likewise.
21528 [C99-based-standards] (PRIoFAST32): Likewise.
21529 [C99-based-standards] (PRIuFAST32): Likewise.
21530 [C99-based-standards] (PRIxFAST32): Likewise.
21531 [C99-based-standards] (PRIXFAST32): Likewise.
21532 [C99-based-standards] (SCNdFAST32): Likewise.
21533 [C99-based-standards] (SCNiFAST32): Likewise.
21534 [C99-based-standards] (SCNoFAST32): Likewise.
21535 [C99-based-standards] (SCNuFAST32): Likewise.
21536 [C99-based-standards] (SCNxFAST32): Likewise.
21537 [C99-based-standards] (PRId64): Likewise.
21538 [C99-based-standards] (PRIi64): Likewise.
21539 [C99-based-standards] (PRIo64): Likewise.
21540 [C99-based-standards] (PRIu64): Likewise.
21541 [C99-based-standards] (PRIx64): Likewise.
21542 [C99-based-standards] (PRIX64): Likewise.
21543 [C99-based-standards] (SCNd64): Likewise.
21544 [C99-based-standards] (SCNi64): Likewise.
21545 [C99-based-standards] (SCNo64): Likewise.
21546 [C99-based-standards] (SCNu64): Likewise.
21547 [C99-based-standards] (SCNx64): Likewise.
21548 [C99-based-standards] (PRIdLEAST64): Likewise.
21549 [C99-based-standards] (PRIiLEAST64): Likewise.
21550 [C99-based-standards] (PRIoLEAST64): Likewise.
21551 [C99-based-standards] (PRIuLEAST64): Likewise.
21552 [C99-based-standards] (PRIxLEAST64): Likewise.
21553 [C99-based-standards] (PRIXLEAST64): Likewise.
21554 [C99-based-standards] (SCNdLEAST64): Likewise.
21555 [C99-based-standards] (SCNiLEAST64): Likewise.
21556 [C99-based-standards] (SCNoLEAST64): Likewise.
21557 [C99-based-standards] (SCNuLEAST64): Likewise.
21558 [C99-based-standards] (SCNxLEAST64): Likewise.
21559 [C99-based-standards] (PRIdFAST64): Likewise.
21560 [C99-based-standards] (PRIiFAST64): Likewise.
21561 [C99-based-standards] (PRIoFAST64): Likewise.
21562 [C99-based-standards] (PRIuFAST64): Likewise.
21563 [C99-based-standards] (PRIxFAST64): Likewise.
21564 [C99-based-standards] (PRIXFAST64): Likewise.
21565 [C99-based-standards] (SCNdFAST64): Likewise.
21566 [C99-based-standards] (SCNiFAST64): Likewise.
21567 [C99-based-standards] (SCNoFAST64): Likewise.
21568 [C99-based-standards] (SCNuFAST64): Likewise.
21569 [C99-based-standards] (SCNxFAST64): Likewise.
21570 [C99-based-standards] (PRIdMAX): Likewise.
21571 [C99-based-standards] (PRIiMAX): Likewise.
21572 [C99-based-standards] (PRIoMAX): Likewise.
21573 [C99-based-standards] (PRIuMAX): Likewise.
21574 [C99-based-standards] (PRIxMAX): Likewise.
21575 [C99-based-standards] (PRIXMAX): Likewise.
21576 [C99-based-standards] (SCNdMAX): Likewise.
21577 [C99-based-standards] (SCNiMAX): Likewise.
21578 [C99-based-standards] (SCNoMAX): Likewise.
21579 [C99-based-standards] (SCNuMAX): Likewise.
21580 [C99-based-standards] (SCNxMAX): Likewise.
21581 [C99-based-standards] (PRIdPTR): Likewise.
21582 [C99-based-standards] (PRIiPTR): Likewise.
21583 [C99-based-standards] (PRIoPTR): Likewise.
21584 [C99-based-standards] (PRIuPTR): Likewise.
21585 [C99-based-standards] (PRIxPTR): Likewise.
21586 [C99-based-standards] (PRIXPTR): Likewise.
21587 [C99-based-standards] (SCNdPTR): Likewise.
21588 [C99-based-standards] (SCNiPTR): Likewise.
21589 [C99-based-standards] (SCNoPTR): Likewise.
21590 [C99-based-standards] (SCNuPTR): Likewise.
21591 [C99-based-standards] (SCNxPTR): Likewise.
21592 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21594 * conform/data/stdint.h-data: Update comments to clarify
21596 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21598 [C99-based standards] (INT8_MAX): Likewise.
21599 [C99-based standards] (INT16_MIN): Likewise.
21600 [C99-based standards] (INT16_MAX): Likewise.
21601 [C99-based standards] (INT32_MIN): Likewise.
21602 [C99-based standards] (INT32_MAX): Likewise.
21603 [C99-based standards] (INT64_MIN): Likewise.
21604 [C99-based standards] (INT64_MAX): Likewise.
21605 [C99-based standards] (UINT8_MAX): Likewise.
21606 [C99-based standards] (UINT16_MAX): Likewise.
21607 [C99-based standards] (UINT32_MAX): Likewise.
21608 [C99-based standards] (UINT64_MAX): Likewise.
21609 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21610 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21611 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21612 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21613 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21614 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21615 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21616 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21617 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21618 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21619 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21620 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21621 [C99-based standards] (INT_FAST8_MIN): Likewise.
21622 [C99-based standards] (INT_FAST8_MAX): Likewise.
21623 [C99-based standards] (INT_FAST16_MIN): Likewise.
21624 [C99-based standards] (INT_FAST16_MAX): Likewise.
21625 [C99-based standards] (INT_FAST32_MIN): Likewise.
21626 [C99-based standards] (INT_FAST32_MAX): Likewise.
21627 [C99-based standards] (INT_FAST64_MIN): Likewise.
21628 [C99-based standards] (INT_FAST64_MAX): Likewise.
21629 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21630 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21631 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21632 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21633 [C99-based standards] (INTPTR_MIN): Likewise.
21634 [C99-based standards] (INTPTR_MAX): Likewise.
21635 [C99-based standards] (UINTPTR_MAX): Likewise.
21636 [C99-based standards] (INTMAX_MIN): Likewise.
21637 [C99-based standards] (INTMAX_MAX): Likewise.
21638 [C99-based standards] (UINTMAX_MAX): Likewise.
21639 [C99-based standards] (PTRDIFF_MIN): Likewise.
21640 [C99-based standards] (PTRDIFF_MAX): Likewise.
21641 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21642 [C99-based standards] (SIZE_MAX): Likewise.
21643 [C99-based standards] (WCHAR_MAX): Likewise.
21644 [C99-based standards] (WINT_MAX): Likewise.
21645 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21646 constraint on value.
21647 [C99-based standards] (WCHAR_MIN): Likewise.
21648 [C99-based standards] (WINT_MIN): Likewise.
21649 [C99-based standards] (*_t): Allow.
21650 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21651 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21652 Include math.h-data and complex.h-data. Remove all expectations
21653 of math.h and complex.h contents.
21654 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21656 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21657 (struct tm): Expect tag.
21658 [C99-based-standards] (wcstof): Expect function.
21659 [C99-based-standards] (wcstold): Likewise.
21660 [C99-based-standards] (wcstoll): Likewise.
21661 [C99-based-standards] (wcstoull): Likewise.
21662 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21663 macro-int-constant. Specify type.
21664 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21665 constraint on value.
21666 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21668 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21670 [ISO C standards]: Do not allow headers.
21671 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21672 wcs[abcdefghijklmnopqrstuvwxyz]*.
21673 [ISO C standards] (*_t): Do not allow.
21674 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21676 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21677 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21679 [ISO C standards]: Do not allow headers.
21680 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21681 is[abcdefghijklmnopqrstuvwxyz]*.
21682 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21683 to[abcdefghijklmnopqrstuvwxyz]*.
21684 [ISO C standards] (*_t): Do not allow.
21685 * conform/data/stdalign.h-data: New file.
21686 * conform/data/stdbool.h-data: Likewise.
21687 * conform/data/stdnoreturn.h-data: Likewise.
21689 2012-11-07 Roland McGrath <roland@hack.frob.com>
21692 * manual/filesys.texi (Directory Entries): Typo fix.
21693 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21695 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21697 * elf/elf.h (EM_AARCH64): New macro.
21698 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21699 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21700 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21701 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21702 (R_AARCH64_TLSDESC): Likewise.
21703 (NT_ARM_TLS): Likewise.
21704 (NT_ARM_HW_BREAK): Likewise.
21705 (NT_ARM_HW_WATCH): Likewise.
21707 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21710 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21711 (__ieee754_powl): Saturate nonzero exponents with absolute value
21712 below 0x1p-79 to +/- 0x1p-79.
21713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21714 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21715 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21716 nonzero exponents with absolute value below 0x1p-32 to +/-
21718 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21719 (__ieee754_powl): Saturate nonzero exponents with absolute value
21720 below 0x1p-79 to +/- 0x1p-79.
21721 * math/libm-test.inc (pow_test): Add more tests.
21723 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21725 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21726 _dl_s390_cap_flags with kernel. Increase string length.
21727 (_dl_s390_platforms): Add z196 and zEC12.
21729 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21731 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21732 Change XOPEN21K to XOPEN2K.
21734 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21736 * string/memmove.c: Use memcpy when possible.
21738 2012-11-06 Andreas Jaeger <aj@suse.de>
21740 * po/eo.po: Update from translation team.
21742 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21746 exponent and small x and y exponents, scale x or y up. Increase
21747 by 2 the exponent used in scaling up.
21748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21750 * math/libm-test.inc (fma_test): Add more tests.
21751 (fma_test_towardzero): Likewise.
21752 (fma_test_downward): Likewise.
21753 (fma_test_upward): Likewise.
21755 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21758 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21762 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21763 namespace for names of struct fields.
21764 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21766 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21767 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21769 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21772 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21774 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21776 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21780 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21783 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21787 definitely overflow as x * y not x * y + z.
21788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21790 * math/libm-test.inc (fma_test): Add more tests.
21791 (fma_test_towardzero): Likewise.
21792 (fma_test_downward): Likewise.
21793 (fma_test_upward): Likewise.
21795 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21799 * include/stub-tag.h: Remove file.
21800 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21802 * manual/maint.texi (Porting): Don't reference it.
21803 * Makerules ($(objpfx)stubs): Likewise.
21804 * dirent/closedir.c: Don't include <stub-tag.h>.
21805 * dirent/dirfd.c: Likewise.
21806 * dirent/fdopendir.c: Likewise.
21807 * dirent/getdents.c: Likewise.
21808 * dirent/getdents64.c: Likewise.
21809 * dirent/opendir.c: Likewise.
21810 * dirent/readdir.c: Likewise.
21811 * dirent/readdir64.c: Likewise.
21812 * dirent/readdir64_r.c: Likewise.
21813 * dirent/readdir_r.c: Likewise.
21814 * dirent/rewinddir.c: Likewise.
21815 * dirent/seekdir.c: Likewise.
21816 * dirent/telldir.c: Likewise.
21817 * gmon/profil.c: Likewise.
21818 * grp/setgroups.c: Likewise.
21819 * inet/if_index.c: Likewise.
21820 * io/access.c: Likewise.
21821 * io/chdir.c: Likewise.
21822 * io/chmod.c: Likewise.
21823 * io/chown.c: Likewise.
21824 * io/close.c: Likewise.
21825 * io/dup.c: Likewise.
21826 * io/dup2.c: Likewise.
21827 * io/dup3.c: Likewise.
21828 * io/euidaccess.c: Likewise.
21829 * io/faccessat.c: Likewise.
21830 * io/fchdir.c: Likewise.
21831 * io/fchmod.c: Likewise.
21832 * io/fchmodat.c: Likewise.
21833 * io/fchown.c: Likewise.
21834 * io/fchownat.c: Likewise.
21835 * io/fcntl.c: Likewise.
21836 * io/flock.c: Likewise.
21837 * io/fstatfs.c: Likewise.
21838 * io/fstatfs64.c: Likewise.
21839 * io/fstatvfs.c: Likewise.
21840 * io/fstatvfs64.c: Likewise.
21841 * io/futimens.c: Likewise.
21842 * io/fxstat.c: Likewise.
21843 * io/fxstat64.c: Likewise.
21844 * io/fxstatat.c: Likewise.
21845 * io/fxstatat64.c: Likewise.
21846 * io/getcwd.c: Likewise.
21847 * io/isatty.c: Likewise.
21848 * io/lchmod.c: Likewise.
21849 * io/lchown.c: Likewise.
21850 * io/link.c: Likewise.
21851 * io/linkat.c: Likewise.
21852 * io/lseek.c: Likewise.
21853 * io/lseek64.c: Likewise.
21854 * io/lxstat64.c: Likewise.
21855 * io/mkdir.c: Likewise.
21856 * io/mkdirat.c: Likewise.
21857 * io/mkfifo.c: Likewise.
21858 * io/mkfifoat.c: Likewise.
21859 * io/open.c: Likewise.
21860 * io/open64.c: Likewise.
21861 * io/openat.c: Likewise.
21862 * io/openat64.c: Likewise.
21863 * io/pipe.c: Likewise.
21864 * io/pipe2.c: Likewise.
21865 * io/poll.c: Likewise.
21866 * io/posix_fadvise.c: Likewise.
21867 * io/posix_fadvise64.c: Likewise.
21868 * io/posix_fallocate.c: Likewise.
21869 * io/posix_fallocate64.c: Likewise.
21870 * io/read.c: Likewise.
21871 * io/readlink.c: Likewise.
21872 * io/readlinkat.c: Likewise.
21873 * io/rmdir.c: Likewise.
21874 * io/sendfile.c: Likewise.
21875 * io/sendfile64.c: Likewise.
21876 * io/statfs.c: Likewise.
21877 * io/statfs64.c: Likewise.
21878 * io/statvfs.c: Likewise.
21879 * io/statvfs64.c: Likewise.
21880 * io/symlink.c: Likewise.
21881 * io/symlinkat.c: Likewise.
21882 * io/ttyname.c: Likewise.
21883 * io/ttyname_r.c: Likewise.
21884 * io/umask.c: Likewise.
21885 * io/unlink.c: Likewise.
21886 * io/unlinkat.c: Likewise.
21887 * io/utime.c: Likewise.
21888 * io/utimensat.c: Likewise.
21889 * io/write.c: Likewise.
21890 * io/xmknod.c: Likewise.
21891 * io/xmknodat.c: Likewise.
21892 * io/xstat.c: Likewise.
21893 * io/xstat64.c: Likewise.
21894 * login/getpt.c: Likewise.
21895 * login/grantpt.c: Likewise.
21896 * login/unlockpt.c: Likewise.
21897 * math/e_acoshl.c: Likewise.
21898 * math/e_acosl.c: Likewise.
21899 * math/e_asinl.c: Likewise.
21900 * math/e_atan2l.c: Likewise.
21901 * math/e_atanhl.c: Likewise.
21902 * math/e_coshl.c: Likewise.
21903 * math/e_expl.c: Likewise.
21904 * math/e_fmodl.c: Likewise.
21905 * math/e_gammal_r.c: Likewise.
21906 * math/e_hypotl.c: Likewise.
21907 * math/e_j0l.c: Likewise.
21908 * math/e_j1l.c: Likewise.
21909 * math/e_jnl.c: Likewise.
21910 * math/e_lgammal_r.c: Likewise.
21911 * math/e_log10l.c: Likewise.
21912 * math/e_log2l.c: Likewise.
21913 * math/e_logl.c: Likewise.
21914 * math/e_powl.c: Likewise.
21915 * math/e_rem_pio2l.c: Likewise.
21916 * math/e_sinhl.c: Likewise.
21917 * math/e_sqrtl.c: Likewise.
21918 * math/fclrexcpt.c: Likewise.
21919 * math/fedisblxcpt.c: Likewise.
21920 * math/feenablxcpt.c: Likewise.
21921 * math/fegetenv.c: Likewise.
21922 * math/fegetexcept.c: Likewise.
21923 * math/fegetround.c: Likewise.
21924 * math/feholdexcpt.c: Likewise.
21925 * math/fesetenv.c: Likewise.
21926 * math/fesetround.c: Likewise.
21927 * math/feupdateenv.c: Likewise.
21928 * math/fgetexcptflg.c: Likewise.
21929 * math/fraiseexcpt.c: Likewise.
21930 * math/fsetexcptflg.c: Likewise.
21931 * math/ftestexcept.c: Likewise.
21932 * math/k_cosl.c: Likewise.
21933 * math/k_rem_pio2l.c: Likewise.
21934 * math/k_sinl.c: Likewise.
21935 * math/k_tanl.c: Likewise.
21936 * math/s_asinhl.c: Likewise.
21937 * math/s_atanl.c: Likewise.
21938 * math/s_cbrtl.c: Likewise.
21939 * math/s_erfl.c: Likewise.
21940 * math/s_expm1l.c: Likewise.
21941 * math/s_log1pl.c: Likewise.
21942 * math/s_tanhl.c: Likewise.
21943 * misc/acct.c: Likewise.
21944 * misc/brk.c: Likewise.
21945 * misc/chflags.c: Likewise.
21946 * misc/chroot.c: Likewise.
21947 * misc/fchflags.c: Likewise.
21948 * misc/fgetxattr.c: Likewise.
21949 * misc/flistxattr.c: Likewise.
21950 * misc/fremovexattr.c: Likewise.
21951 * misc/fsetxattr.c: Likewise.
21952 * misc/fsync.c: Likewise.
21953 * misc/ftruncate.c: Likewise.
21954 * misc/futimes.c: Likewise.
21955 * misc/futimesat.c: Likewise.
21956 * misc/getdomain.c: Likewise.
21957 * misc/getdtsz.c: Likewise.
21958 * misc/gethostid.c: Likewise.
21959 * misc/gethostname.c: Likewise.
21960 * misc/getloadavg.c: Likewise.
21961 * misc/getpagesize.c: Likewise.
21962 * misc/getsysstats.c: Likewise.
21963 * misc/getxattr.c: Likewise.
21964 * misc/gtty.c: Likewise.
21965 * misc/ioctl.c: Likewise.
21966 * misc/lgetxattr.c: Likewise.
21967 * misc/listxattr.c: Likewise.
21968 * misc/llistxattr.c: Likewise.
21969 * misc/lremovexattr.c: Likewise.
21970 * misc/lsetxattr.c: Likewise.
21971 * misc/lutimes.c: Likewise.
21972 * misc/madvise.c: Likewise.
21973 * misc/mincore.c: Likewise.
21974 * misc/mlock.c: Likewise.
21975 * misc/mlockall.c: Likewise.
21976 * misc/mmap.c: Likewise.
21977 * misc/mprotect.c: Likewise.
21978 * misc/msync.c: Likewise.
21979 * misc/munlock.c: Likewise.
21980 * misc/munlockall.c: Likewise.
21981 * misc/munmap.c: Likewise.
21982 * misc/preadv.c: Likewise.
21983 * misc/preadv64.c: Likewise.
21984 * misc/ptrace.c: Likewise.
21985 * misc/pwritev.c: Likewise.
21986 * misc/pwritev64.c: Likewise.
21987 * misc/readv.c: Likewise.
21988 * misc/reboot.c: Likewise.
21989 * misc/remap_file_pages.c: Likewise.
21990 * misc/removexattr.c: Likewise.
21991 * misc/revoke.c: Likewise.
21992 * misc/select.c: Likewise.
21993 * misc/setdomain.c: Likewise.
21994 * misc/setegid.c: Likewise.
21995 * misc/seteuid.c: Likewise.
21996 * misc/sethostid.c: Likewise.
21997 * misc/sethostname.c: Likewise.
21998 * misc/setregid.c: Likewise.
21999 * misc/setreuid.c: Likewise.
22000 * misc/setxattr.c: Likewise.
22001 * misc/sstk.c: Likewise.
22002 * misc/stty.c: Likewise.
22003 * misc/swapoff.c: Likewise.
22004 * misc/swapon.c: Likewise.
22005 * misc/sync.c: Likewise.
22006 * misc/syncfs.c: Likewise.
22007 * misc/syscall.c: Likewise.
22008 * misc/truncate.c: Likewise.
22009 * misc/ualarm.c: Likewise.
22010 * misc/usleep.c: Likewise.
22011 * misc/ustat.c: Likewise.
22012 * misc/utimes.c: Likewise.
22013 * misc/vhangup.c: Likewise.
22014 * misc/writev.c: Likewise.
22015 * posix/_exit.c: Likewise.
22016 * posix/alarm.c: Likewise.
22017 * posix/execve.c: Likewise.
22018 * posix/fexecve.c: Likewise.
22019 * posix/fork.c: Likewise.
22020 * posix/fpathconf.c: Likewise.
22021 * posix/getaddrinfo.c: Likewise.
22022 * posix/getegid.c: Likewise.
22023 * posix/geteuid.c: Likewise.
22024 * posix/getgid.c: Likewise.
22025 * posix/getgroups.c: Likewise.
22026 * posix/getlogin.c: Likewise.
22027 * posix/getlogin_r.c: Likewise.
22028 * posix/getpgid.c: Likewise.
22029 * posix/getpid.c: Likewise.
22030 * posix/getppid.c: Likewise.
22031 * posix/getresgid.c: Likewise.
22032 * posix/getresuid.c: Likewise.
22033 * posix/getsid.c: Likewise.
22034 * posix/getuid.c: Likewise.
22035 * posix/glob64.c: Likewise.
22036 * posix/nanosleep.c: Likewise.
22037 * posix/pathconf.c: Likewise.
22038 * posix/pause.c: Likewise.
22039 * posix/posix_madvise.c: Likewise.
22040 * posix/pread.c: Likewise.
22041 * posix/pread64.c: Likewise.
22042 * posix/pwrite.c: Likewise.
22043 * posix/pwrite64.c: Likewise.
22044 * posix/sched_getaffinity.c: Likewise.
22045 * posix/sched_getp.c: Likewise.
22046 * posix/sched_gets.c: Likewise.
22047 * posix/sched_primax.c: Likewise.
22048 * posix/sched_primin.c: Likewise.
22049 * posix/sched_rr_gi.c: Likewise.
22050 * posix/sched_setaffinity.c: Likewise.
22051 * posix/sched_setp.c: Likewise.
22052 * posix/sched_sets.c: Likewise.
22053 * posix/sched_yield.c: Likewise.
22054 * posix/setgid.c: Likewise.
22055 * posix/setlogin.c: Likewise.
22056 * posix/setpgid.c: Likewise.
22057 * posix/setresgid.c: Likewise.
22058 * posix/setresuid.c: Likewise.
22059 * posix/setsid.c: Likewise.
22060 * posix/setuid.c: Likewise.
22061 * posix/sleep.c: Likewise.
22062 * posix/spawni.c: Likewise.
22063 * posix/sysconf.c: Likewise.
22064 * posix/times.c: Likewise.
22065 * posix/wait.c: Likewise.
22066 * posix/wait3.c: Likewise.
22067 * posix/wait4.c: Likewise.
22068 * posix/waitpid.c: Likewise.
22069 * resolv/gai_sigqueue.c: Likewise.
22070 * resource/getpriority.c: Likewise.
22071 * resource/getrlimit.c: Likewise.
22072 * resource/getrusage.c: Likewise.
22073 * resource/nice.c: Likewise.
22074 * resource/setpriority.c: Likewise.
22075 * resource/setrlimit.c: Likewise.
22076 * resource/ulimit.c: Likewise.
22077 * rt/aio_cancel.c: Likewise.
22078 * rt/aio_fsync.c: Likewise.
22079 * rt/aio_read.c: Likewise.
22080 * rt/aio_sigqueue.c: Likewise.
22081 * rt/aio_suspend.c: Likewise.
22082 * rt/aio_write.c: Likewise.
22083 * rt/clock_getres.c: Likewise.
22084 * rt/clock_gettime.c: Likewise.
22085 * rt/clock_nanosleep.c: Likewise.
22086 * rt/clock_settime.c: Likewise.
22087 * rt/lio_listio.c: Likewise.
22088 * rt/mq_close.c: Likewise.
22089 * rt/mq_getattr.c: Likewise.
22090 * rt/mq_notify.c: Likewise.
22091 * rt/mq_open.c: Likewise.
22092 * rt/mq_receive.c: Likewise.
22093 * rt/mq_send.c: Likewise.
22094 * rt/mq_setattr.c: Likewise.
22095 * rt/mq_timedreceive.c: Likewise.
22096 * rt/mq_timedsend.c: Likewise.
22097 * rt/mq_unlink.c: Likewise.
22098 * rt/shm_open.c: Likewise.
22099 * rt/shm_unlink.c: Likewise.
22100 * rt/timer_create.c: Likewise.
22101 * rt/timer_delete.c: Likewise.
22102 * rt/timer_getoverr.c: Likewise.
22103 * rt/timer_gettime.c: Likewise.
22104 * rt/timer_settime.c: Likewise.
22105 * setjmp/__longjmp.c: Likewise.
22106 * setjmp/setjmp.c: Likewise.
22107 * signal/kill.c: Likewise.
22108 * signal/killpg.c: Likewise.
22109 * signal/raise.c: Likewise.
22110 * signal/sigaction.c: Likewise.
22111 * signal/sigaltstack.c: Likewise.
22112 * signal/sigblock.c: Likewise.
22113 * signal/sigignore.c: Likewise.
22114 * signal/sigintr.c: Likewise.
22115 * signal/signal.c: Likewise.
22116 * signal/sigpause.c: Likewise.
22117 * signal/sigpending.c: Likewise.
22118 * signal/sigqueue.c: Likewise.
22119 * signal/sigreturn.c: Likewise.
22120 * signal/sigset.c: Likewise.
22121 * signal/sigsetmask.c: Likewise.
22122 * signal/sigstack.c: Likewise.
22123 * signal/sigsuspend.c: Likewise.
22124 * signal/sigtimedwait.c: Likewise.
22125 * signal/sigvec.c: Likewise.
22126 * signal/sigwait.c: Likewise.
22127 * signal/sigwaitinfo.c: Likewise.
22128 * signal/sysv_signal.c: Likewise.
22129 * socket/accept.c: Likewise.
22130 * socket/accept4.c: Likewise.
22131 * socket/bind.c: Likewise.
22132 * socket/connect.c: Likewise.
22133 * socket/getpeername.c: Likewise.
22134 * socket/getsockname.c: Likewise.
22135 * socket/getsockopt.c: Likewise.
22136 * socket/isfdtype.c: Likewise.
22137 * socket/listen.c: Likewise.
22138 * socket/recv.c: Likewise.
22139 * socket/recvfrom.c: Likewise.
22140 * socket/recvmsg.c: Likewise.
22141 * socket/send.c: Likewise.
22142 * socket/sendmsg.c: Likewise.
22143 * socket/sendto.c: Likewise.
22144 * socket/setsockopt.c: Likewise.
22145 * socket/shutdown.c: Likewise.
22146 * socket/sockatmark.c: Likewise.
22147 * socket/socket.c: Likewise.
22148 * socket/socketpair.c: Likewise.
22149 * stdio-common/ctermid.c: Likewise.
22150 * stdio-common/cuserid.c: Likewise.
22151 * stdio-common/remove.c: Likewise.
22152 * stdio-common/rename.c: Likewise.
22153 * stdio-common/renameat.c: Likewise.
22154 * stdio-common/tempname.c: Likewise.
22155 * stdlib/getcontext.c: Likewise.
22156 * stdlib/makecontext.c: Likewise.
22157 * stdlib/setcontext.c: Likewise.
22158 * stdlib/swapcontext.c: Likewise.
22159 * stdlib/system.c: Likewise.
22160 * streams/fattach.c: Likewise.
22161 * streams/fdetach.c: Likewise.
22162 * streams/getmsg.c: Likewise.
22163 * streams/getpmsg.c: Likewise.
22164 * streams/putmsg.c: Likewise.
22165 * streams/putpmsg.c: Likewise.
22166 * sysdeps/unix/bsd/getpt.c: Likewise.
22167 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22168 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22169 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22172 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22173 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22174 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22175 * sysvipc/msgctl.c: Likewise.
22176 * sysvipc/msgget.c: Likewise.
22177 * sysvipc/msgrcv.c: Likewise.
22178 * sysvipc/msgsnd.c: Likewise.
22179 * sysvipc/semctl.c: Likewise.
22180 * sysvipc/semget.c: Likewise.
22181 * sysvipc/semop.c: Likewise.
22182 * sysvipc/semtimedop.c: Likewise.
22183 * sysvipc/shmat.c: Likewise.
22184 * sysvipc/shmctl.c: Likewise.
22185 * sysvipc/shmdt.c: Likewise.
22186 * sysvipc/shmget.c: Likewise.
22187 * termios/tcdrain.c: Likewise.
22188 * termios/tcflow.c: Likewise.
22189 * termios/tcflush.c: Likewise.
22190 * termios/tcgetattr.c: Likewise.
22191 * termios/tcgetpgrp.c: Likewise.
22192 * termios/tcsendbrk.c: Likewise.
22193 * termios/tcsetattr.c: Likewise.
22194 * termios/tcsetpgrp.c: Likewise.
22195 * time/adjtime.c: Likewise.
22196 * time/clock.c: Likewise.
22197 * time/getitimer.c: Likewise.
22198 * time/gettimeofday.c: Likewise.
22199 * time/setitimer.c: Likewise.
22200 * time/settimeofday.c: Likewise.
22201 * time/stime.c: Likewise.
22202 * time/time.c: Likewise.
22204 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22206 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22209 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22211 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22213 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22217 FE_TONEAREST before applying Dekker multiplication and Knuth
22218 addition. Clear inexact exceptions and check for exact zero
22219 results afterwards.
22220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22221 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22222 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22223 * math/libm-test.inc (fma_test): Add more tests.
22224 (fma_test_towardzero): Likewise.
22225 (fma_test_downward): Likewise.
22226 (fma_test_upward): Likewise.
22227 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22229 (libc_fesetround): New macro.
22230 (libc_fesetroundf): Likewise.
22231 (libc_fesetroundl): Likewise.
22232 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22234 (libc_fesetround_387): Likewise.
22235 (libc_fesetroundf): New macro.
22236 (libc_fesetround): Likewise.
22237 (libc_fesetroundl): Likewise.
22238 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22240 (libc_fesetroundf): New macro.
22241 (libc_fesetround): Likewise.
22242 (libc_fesetroundl): Likewise.
22243 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22244 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22245 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22247 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22248 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22250 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22251 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22253 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22257 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22258 integer constant usable in #if and use that to give value to enum
22260 (FE_DIVBYZERO): Likewise.
22261 (FE_UNDERFLOW): Likewise.
22262 (FE_OVERFLOW): Likewise.
22263 (FE_INVALID): Likewise.
22264 (FE_INVALID_SNAN): Likewise.
22265 (FE_INVALID_ISI): Likewise.
22266 (FE_INVALID_IDI): Likewise.
22267 (FE_INVALID_ZDZ): Likewise.
22268 (FE_INVALID_IMZ): Likewise.
22269 (FE_INVALID_COMPARE): Likewise.
22270 (FE_INVALID_SOFTWARE): Likewise.
22271 (FE_INVALID_SQRT): Likewise.
22272 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22273 (FE_TONEAREST): Likewise.
22274 (FE_TOWARDZERO): Likewise.
22275 (FE_UPWARD): Likewise.
22276 (FE_DOWNWARD): Likewise.
22277 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22278 (FE_DIVBYZERO): Likewise.
22279 (FE_OVERFLOW): Likewise.
22280 (FE_UNDERFLOW): Likewise.
22281 (FE_INEXACT): Likewise.
22282 (FE_TONEAREST): Likewise.
22283 (FE_DOWNWARD): Likewise.
22284 (FE_UPWARD): Likewise.
22285 (FE_TOWARDZERO): Likewise.
22286 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22287 (FE_UNDERFLOW): Likewise.
22288 (FE_OVERFLOW): Likewise.
22289 (FE_DIVBYZERO): Likewise.
22290 (FE_INVALID): Likewise.
22291 (FE_TONEAREST): Likewise.
22292 (FE_TOWARDZERO): Likewise.
22293 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22294 (FE_OVERFLOW): Likewise.
22295 (FE_UNDERFLOW): Likewise.
22296 (FE_DIVBYZERO): Likewise.
22297 (FE_INEXACT): Likewise.
22298 (FE_TONEAREST): Likewise.
22299 (FE_TOWARDZERO): Likewise.
22300 (FE_UPWARD): Likewise.
22301 (FE_DOWNWARD): Likewise.
22302 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22303 (FE_DIVBYZERO): Likewise.
22304 (FE_OVERFLOW): Likewise.
22305 (FE_UNDERFLOW): Likewise.
22306 (FE_INEXACT): Likewise.
22307 (FE_TONEAREST): Likewise.
22308 (FE_DOWNWARD): Likewise.
22309 (FE_UPWARD): Likewise.
22310 (FE_TOWARDZERO): Likewise.
22312 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22314 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22316 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22318 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22319 commands. Quote $PWD.
22320 (blacklist_exports): Don't use remove_newlines. Replace "declare
22322 (remove_newlines): Remove.
22324 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22326 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22327 * stdlib/stdlib.h (atof): Moved to ...
22328 * include/bits/stdlib-float.h: Here. New file.
22329 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22330 * stdlib/bits/stdlib-float.h: New file.
22331 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22333 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22336 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22338 * conform/conformtest.pl (@headers): Add fenv.h.
22339 * conform/data/fenv.h-data: New file.
22340 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22341 include of <math/fenv.h>.
22343 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22344 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22345 && !UNIX98]. Enables tests for XOPEN2K8.
22346 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22347 POSIX2008]: Likewise.
22349 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22350 (struct rusage): Do not expect type or its members.
22353 * math/math.h (FP_NAN): Define macro to integer constant usable in
22354 #if and use that to give value to enum constant.
22355 (FP_INFINITE): Likewise.
22356 (FP_ZERO): Likewise.
22357 (FP_SUBNORMAL): Likewise.
22358 (FP_NORMAL): Likewise.
22360 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22362 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22363 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22366 2012-11-02 Roland McGrath <roland@hack.frob.com>
22368 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22369 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22370 autoconf-time if not.
22371 * configure.in: Remove AC_PREREQ.
22373 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22375 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22376 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22377 of the internal implementation.
22379 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22381 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22382 except include of <misc/sys/syslog.h>.
22384 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22387 function returns with a NULL context exit with zero.
22389 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22391 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22393 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22395 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22396 (run_program_cmd): This.
22397 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22398 (tst_langinfo): New variable. Use it.
22400 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22402 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22403 floating point opcodes.
22405 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22407 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22410 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22412 * sysdeps/mach/hurd/powerpc: Remove directory.
22413 * sysdeps/mach/powerpc: Likewise.
22415 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22417 * scripts/check-local-headers.sh: Ignore c++ headers.
22419 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22421 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22422 __libc_cleanup_region_start argument.
22424 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22429 x * y using scaling, not as x * y + z.
22430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22432 * math/libm-test.inc (fma_test): Add more tests.
22433 (fma_test_towardzero): Likewise.
22434 (fma_test_downward): Likewise.
22435 (fma_test_upward): Likewise.
22437 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22439 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22441 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22443 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22446 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22448 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22450 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22457 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22460 Fix the order of the list for glibc 2.17.
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22464 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22468 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22472 for low part of x being zero before using __atanl (y).
22473 * math/libm-test.inc (atan2_test): Add another test.
22475 * manual/install.texi (Configuring and compiling): Document
22476 general use of test-wrapper and test-wrapper-env.
22477 * INSTALL: Regenerated.
22479 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22480 (__fma): Do not extract and scale down low bits on after-rounding
22481 systems when result rounded to normal precision would have normal
22483 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22484 (__fmal): Do not extract and scale down low bits on after-rounding
22485 systems when result rounded to normal precision would have normal
22487 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22488 (__fmal): Do not extract and scale down low bits on after-rounding
22489 systems when result rounded to normal precision would have normal
22491 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22493 (fma_test): Add more tests.
22494 (fma_test_towardzero): Likewise.
22495 (fma_test_downward): Likewise.
22496 (fma_test_upward): Likewise.
22498 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22500 * sysdeps/i386/tininess.h: Renamed to ...
22501 * sysdeps/x86/tininess.h: This.
22502 * sysdeps/x86_64/tininess.h: Removed.
22504 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22506 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22507 input. Use $(build-program-cmd).
22508 ($(objpfx)tst-array1-static.out): Likewise.
22509 ($(objpfx)tst-array2.out): Likewise.
22510 ($(objpfx)tst-array3.out): Likewise.
22511 ($(objpfx)tst-array4.out): Likewise.
22512 ($(objpfx)tst-array5.out): Likewise.
22513 ($(objpfx)tst-array5-static.out): Likewise.
22515 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22517 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22520 * nss/nsswitch.h (nss_interface_function): Provide new
22521 macro for use with NSS functions.
22522 * grp/initgroups.c: Use new macro.
22523 * nss/getXXbyYY.c: Likewise.
22524 * nss/getXXbyYY_r.c: Likewise.
22525 * nss/getXXent.c: Likewise.
22526 * nss/getXXent_r.c: Likewise.
22527 * sysdeps/posix/getaddrinfo.c: Likewise.
22529 2012-10-30 Andreas Jaeger <aj@suse.de>
22531 * po/ru.po: Update Russion translation from translation project.
22533 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22538 result and shift together with sticky bit instead of replicating
22539 round-to-nearest rounding.
22540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22542 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22543 missing underflow exceptions.
22544 (fma_test_towardzero): Add more tests.
22545 (fma_test_downward): Likewise.
22546 (fma_test_upward): Likewise.
22549 * sysdeps/generic/tininess.h: New file.
22550 * sysdeps/i386/tininess.h: Likewise.
22551 * sysdeps/sh/tininess.h: Likewise.
22552 * sysdeps/x86_64/tininess.h: Likewise.
22553 * stdlib/tst-strtod-underflow.c: Likewise.
22554 * stdlib/tst-tininess.c: Likewise.
22555 * stdlib/strtod_l.c: Include <tininess.h>.
22556 (round_and_return): Do not set errno for exact underflow cases.
22557 Force an underflow exception when setting errno for underflow.
22558 Determine underflow based on rounding to normal precision if
22559 TININESS_AFTER_ROUNDING.
22560 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22561 ERANGE for exact underflow cases.
22562 * stdlib/Makefile (tests): Add tst-tininess and
22563 tst-strtod-underflow.
22564 ($(objpfx)tst-tininess): Use $(link-libm).
22565 ($(objpfx)tst-strtod-underflow): Likewise.
22567 2012-10-30 Andreas Jaeger <aj@suse.de>
22570 * elf/Makefile (tests): Remove conditional for have-initfini-array
22571 since this is now always required and the variable does not exist
22573 (tests-static): Likewise.
22574 (modules-names): Likewise.
22576 * po/eo.po: Add Esperanto translation from translation project.
22578 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22579 merged with constructor/destructor.
22580 (init_array): Likewise.
22581 * elf/tst-array2dep.c (fini_array): Likewise.
22582 (init_array): Likewise.
22584 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22586 * manual/message.texi: Delete @cartouche tags.
22588 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22590 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22592 * sysdeps/mach/hurd/fsync.c: Likewise.
22594 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22595 [_POSIX_REALTIME_SIGNALS]: Change condition to
22596 [_POSIX_REALTIME_SIGNALS > 0].
22598 2012-10-27 Andreas Jaeger <aj@suse.de>
22600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22601 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22603 [__WORDSIZE != 64]: Likewise.
22605 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22607 * iconvdata/tst-table.sh: Remove ${SHELL}.
22608 * iconvdata/tst-tables.sh: Likewise.
22610 2012-10-25 David S. Miller <davem@davemloft.net>
22612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22613 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22618 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22619 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22620 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22623 2012-10-25 Roland McGrath <roland@hack.frob.com>
22625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22626 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22629 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22630 Jim Blandy <jimb@codesourcery.com>
22632 * scripts/cross-test-ssh.sh: New file.
22633 * manual/install.texi (Configuring and compiling): Document use of
22635 * INSTALL: Regenerated.
22637 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22639 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22642 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22644 * Makeconfig (run-program-prefix): Fix comment.
22646 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22647 Jim Blandy <jimb@codesourcery.com>
22649 * Makeconfig (test-wrapper): New variable,
22650 (test-wrapper-env): Likewise.
22651 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22652 (run-built-tests): Define to yes.
22653 (run-program-prefix): Use $(test-wrapper).
22654 (built-program-cmd): Likewise.
22655 * Rules (make-test-out): Use $(test-wrapper-env) and
22656 $(host-built-program-cmd).
22657 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22658 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22660 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22661 $(test-wrapper-env) to tst-rtld-load-self.sh.
22662 ($(objpfx)order2.out): Use $(test-wrapper).
22663 ($(objpfx)tst-initorder.out): Likewise.
22664 ($(objpfx)tst-initorder2.out): Likewise.
22665 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22666 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22667 (test_wrapper_env): New variable. Use it to run ld.so.
22668 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22669 Use it to run ld.so.
22670 (test_wrapper_env): Likewise.
22671 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22672 $(test-wrapper) to run-iconv-test.sh.
22673 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22674 (ICONV): Use $test_wrapper.
22675 * posix/Makefile ($(objpfx)globtest.out): Pass
22676 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22677 globtest.sh, not $(run-program-prefix).
22678 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22679 (test_wrapper): Likewise.
22680 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22681 set together with run_via_rtld_prefix.
22682 (run_program_prefix): Define in terms of test_wrapper and
22683 run_via_rtld_prefix.
22685 2012-10-24 Roland McGrath <roland@hack.frob.com>
22687 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22688 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22692 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22693 Declare __clock_getres, __clock_gettime, __clock_settime,
22694 __clock_nanosleep, and __clock_getcpuclockid.
22695 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22696 Remove librt_hidden_def (clock_gettime).
22697 * sysdeps/unix/clock_gettime.c: Likewise.
22698 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22699 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22700 * rt/clock_getres.c: Define __clock_getres as an alias.
22701 * sysdeps/posix/clock_getres.c: Likewise.
22702 * rt/clock_settime.c: Define __clock_settime as an alias.
22703 * sysdeps/unix/clock_settime.c: Likewise.
22704 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22705 * sysdeps/unix/clock_nanosleep.c: Likewise.
22706 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22707 * rt/clock-compat.c: New file.
22708 * rt/Makefile (librt-routines): Add clock-compat and move
22709 $(clock-routines) to ...
22710 (routines): ... here, new variable.
22711 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22712 Don't add get_clockfreq here.
22713 * rt/Versions (libc: GLIBC_2.17): New version set.
22714 Add clock_* symbols here.
22715 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22717 (GLIBC_2.17): Add clock_* symbols.
22718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22720 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22729 * NEWS: Mention the move.
22731 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22732 Use __open, __read, __close rather than their public counterparts.
22733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22734 (__get_clockfreq_via_cpuinfo): Likewise.
22735 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22736 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22738 * config.h.in (HAVE_IFUNC): New #undef.
22739 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22741 * configure: Regenerated.
22743 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22745 * configure.in: Move READELF check to start of file.
22746 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22747 libc_cv_asm_gnu_indirect_function in the process.
22748 * configure: Regenerated.
22750 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22752 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22753 send the output to /dev/null.
22754 (libc_cv_cc_with_libunwind): Likewise.
22755 (libc_cv_as_noexecstack): Likewise.
22756 * configure: Regenerate.
22758 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22760 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22762 * posix/globtest.sh (TMPDIR): Do not set.
22763 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22764 (testout): Likewise.
22766 2012-10-24 Andreas Jaeger <aj@suse.de>
22768 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22769 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22770 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22771 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22772 posix_fadvise64, posix_fallocate64.
22774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22775 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22776 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22778 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22780 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22783 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22784 <bits/fcntl-linux.h>.
22785 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22788 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22789 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22790 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22791 [__WORDSIZE != 64]: Likewise.
22793 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22795 * Makeconfig (run-built-tests): New variable.
22796 * Rules [$(cross-compiling) = yes]: Change condition to
22797 [$(run-built-tests) = no].
22798 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22799 to [$(run-built-tests) = yes].
22800 * elf/Makefile [$(cross-compiling) = no]: Likewise
22801 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22802 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22803 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22804 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22805 * io/Makefile [$(cross-compiling) = no]: Likewise.
22806 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22807 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22808 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22809 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22810 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22811 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22812 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22813 * string/Makefile [$(cross-compiling) = no]: Likewise.
22815 * posix/Makefile ($(objpfx)globtest.out): Pass
22816 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22817 $(rtld-installed-name).
22818 * posix/globtest.sh (elf_objpfx): Remove variable.
22819 (rtld_installed_name): Likewise.
22820 (library_path): Likewise.
22821 (run_program_prefix): New variable. Use for running globtest
22824 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22825 Joseph Myers <joseph@codesourcery.com>
22827 * Makeconfig (host-built-program-cmd): New variable.
22828 * elf/Makefile (tst-stackguard1-ARGS): Use
22829 $(host-built-program-cmd).
22830 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22831 (tst-spawn-ARGS): Likewise.
22832 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22834 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22835 Jim Blandy <jimb@codesourcery.com>
22837 * Makeconfig (run-via-rtld-prefix): New variable.
22838 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22839 (built-program-cmd): Likewise.
22841 2012-10-22 Andreas Jaeger <aj@suse.de>
22843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22844 __O_RSYNC if it exists, otherwise to O_SYNC.
22846 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22847 Joseph Myers <joseph@codesourcery.com>
22849 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22851 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22853 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22856 2012-10-22 Andreas Jaeger <aj@suse.de>
22858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22863 bits/fcntl-linux.h.
22865 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22866 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22873 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22874 Joseph Myers <joseph@codesourcery.com>
22876 * config.make.in (NM): New variable.
22878 2012-10-21 Andreas Jaeger <aj@suse.de>
22880 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22881 definitions and declarations that are provided by
22882 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22884 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22887 * elf/Makefile (tests-static): Add tst-leaks1-static.
22888 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22889 ($(objpfx)tst-leaks1-static): New rule.
22890 ($(objpfx)tst-leaks1-static-mem): Likewise.
22891 (tst-leaks1-static-ENV): New macro.
22892 * elf/dl-open.c (dl_open_worker): Check the main application
22893 only if SHARED is defined.
22894 * elf/tst-leaks1-static.c: New file.
22896 2012-10-20 Andreas Jaeger <aj@suse.de>
22898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22899 generic values for Linux.
22900 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22901 and declarations that are provided by <bits/fcntl-linux.h> and
22902 include <bits/fcntl-linux.h>.
22903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22906 2012-10-20 Roland McGrath <roland@hack.frob.com>
22908 * io/fcntl.h: Move include of <bits/types.h> to the top and
22909 include it unconditionally.
22911 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22913 * wcsmbs/Makefile (tests-ifunc): New variable.
22914 (tests): Add $(tests-ifunc).
22915 * wcsmbs/test-wcschr-ifunc.c: New file.
22916 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22917 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22918 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22919 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22920 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22922 * string/Makefile (tests-ifunc): New variable.
22923 (tests): Add $(tests-ifunc).
22924 * string/test-memccpy.c (TEST_NAME): New macro.
22925 * string/test-memchr.c (TEST_NAME): Likewise.
22926 * string/test-memcmp.c (TEST_NAME): Likewise.
22927 * string/test-memcpy.c (TEST_NAME): Likewise.
22928 * string/test-memmem.c (TEST_NAME): Likewise.
22929 * string/test-memmove.c (TEST_NAME): Likewise.
22930 * string/test-memset.c (TEST_NAME): Likewise.
22931 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22932 * string/test-stpcpy.c (TEST_NAME): Likewise.
22933 * string/test-stpncpy.c (TEST_NAME): Likewise.
22934 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22935 * string/test-strcasestr.c (TEST_NAME): Likewise.
22936 * string/test-strcat.c (TEST_NAME): Likewise.
22937 * string/test-strchr.c (TEST_NAME): Likewise.
22938 * string/test-strcmp.c(TEST_NAME): Likewise.
22939 * string/test-strcpy.c (TEST_NAME): Likewise.
22940 * string/test-strcspn.c (TEST_NAME): Likewise.
22941 * string/test-strlen.c (TEST_NAME): Likewise.
22942 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22943 * string/test-strncmp.c (TEST_NAME): Likewise.
22944 * string/test-strncpy.c (TEST_NAME): Likewise.
22945 * string/test-strnlen.c (TEST_NAME): Likewise.
22946 * string/test-strpbrk.c (TEST_NAME): Likewise.
22947 * string/test-strrchr.c (TEST_NAME): Likewise.
22948 * string/test-strspn.c (TEST_NAME): Likewise.
22949 * string/test-strstr.c (TEST_NAME): Likewise.
22950 * string/test-bcopy-ifunc.c: New file.
22951 * string/test-bzero-ifunc.c: Likewise.
22952 * string/test-memccpy-ifunc.c: Likewise.
22953 * string/test-memchr-ifunc.c: Likewise.
22954 * string/test-memcmp-ifunc.c: Likewise.
22955 * string/test-memcpy-ifunc.c: Likewise.
22956 * string/test-memmem-ifunc.c: Likewise.
22957 * string/test-memmove-ifunc.c: Likewise.
22958 * string/test-mempcpy-ifunc.c: Likewise.
22959 * string/test-memset-ifunc.c: Likewise.
22960 * string/test-rawmemchr-ifunc.c: Likewise.
22961 * string/test-stpcpy-ifunc.c: Likewise.
22962 * string/test-stpncpy-ifunc.c: Likewise.
22963 * string/test-strcasecmp-ifunc.c: Likewise.
22964 * string/test-strcasestr-ifunc.c: Likewise.
22965 * string/test-strcat-ifunc.c: Likewise.
22966 * string/test-strchr-ifunc.c: Likewise.
22967 * string/test-strchrnul-ifunc.c: Likewise.
22968 * string/test-strcmp-ifunc.c: Likewise.
22969 * string/test-strcpy-ifunc.c: Likewise.
22970 * string/test-strcspn-ifunc.c: Likewise.
22971 * string/test-strlen-ifunc.c: Likewise.
22972 * string/test-strncasecmp-ifunc.c: Likewise.
22973 * string/test-strncat-ifunc.c: Likewise.
22974 * string/test-strncmp-ifunc.c: Likewise.
22975 * string/test-strncpy-ifunc.c: Likewise.
22976 * string/test-strnlen-ifunc.c: Likewise.
22977 * string/test-strpbrk-ifunc.c: Likewise.
22978 * string/test-strrchr-ifunc.c: Likewise.
22979 * string/test-strspn-ifunc.c: Likewise.
22980 * string/test-strstr-ifunc.c: Likewise.
22982 * debug/Makefile (tests-ifunc): New variable.
22983 (tests): Add $(tests-ifunc).
22984 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22985 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22986 * debug/test-stpcpy_chk-ifunc.c: New file.
22987 * debug/test-strcpy_chk-ifunc.c: Likewise.
22989 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22992 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22993 header is not read in.
22995 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22997 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22998 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22999 directly. Pass built executable to script as
23000 $(built-program-cmd).
23001 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23002 $testprogram without using LD_LIBRARY_PATH and $ldso.
23004 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23005 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23006 $(rtld-installed-name).
23007 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23008 (rtld_installed_name): Likewise.
23009 (library_path): Likewise.
23010 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23011 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23012 $(run-program-prefix) to tst-tables.sh.
23013 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23014 it to run tst-table-from and tst-table-to.
23015 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23016 Pass it to tst-table.sh.
23017 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23018 $(run-program-prefix) to tst-gettext.sh.
23019 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23021 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23023 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23024 to run tst-gettext.
23025 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23026 to run tst-gettext2.
23027 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23028 to run tst-translit.
23029 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23030 $(run-program-prefix) to tst-mtrace.sh.
23031 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23033 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23034 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23035 $(rtld-installed-name).
23036 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23037 (rtld_installed_name): Likewise.
23038 (run_program_prefix): New variable. Use it to run wordexp-test.
23040 * Makeconfig (ARCH): Remove all definitions.
23041 (machine): Likewise.
23042 [ARCH]: Remove conditional code.
23043 [!objdir]: Give error.
23044 [!objdir] (objpfx): Remove.
23045 [!objdir] (common-objpfx): Likewise.
23046 [!objdir] (common-objdir): Likewise.
23047 * configure.in (config_makefile): Remove. Hardcode Makefile in
23048 AC_CONFIG_FILES call.
23049 * configure: Regenerated.
23052 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23054 (testout): Likewise.
23056 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23057 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23058 $(rtld-installed-name).
23059 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23060 (rtld_installed_name): Likwise.
23061 (runit): Remove function.
23062 (run_getconf): New variable, Use it for running getconf binary.
23064 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23067 * string/test-memmem.c (check_result): New function.
23068 (do_one_test): Use it.
23069 (check1): New function.
23070 (test_main): Use it.
23072 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23074 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23076 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23078 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23079 (_G_LSEEK64): Likewise.
23080 (_G_MMAP64): Likewise.
23081 (_G_FSTAT64): Likewise.
23082 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23083 (_G_LSEEK64): Likewise.
23084 (_G_MMAP64): Likewise.
23085 (_G_FSTAT64): Likewise.
23086 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23087 unconditional. Call __mmap64 directly.
23088 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23089 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23090 __lseek64 directly.
23091 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23092 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23094 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23095 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23096 __lseek64 directly.
23097 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23098 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23099 __lseek64 directly.
23100 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23101 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23102 __lseek64 directly.
23103 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23104 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23105 __fxstat64 directly.
23106 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23107 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23109 (freopen64) [!_G_OPEN64]: Remove conditional code.
23110 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23112 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23113 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23115 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23116 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23118 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23119 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23121 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23122 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23124 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23125 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23127 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23128 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23130 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23132 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23135 * manual/memory.texi (Malloc Tunable Parameters): Add note
23136 about free list pointers overwriting some perturb bytes.
23137 Wording suggested by Roland McGrath.
23139 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23141 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23142 (lgamma_test): Likewise.
23143 (tgamma_test): Likewise.
23145 2012-10-16 Florian Weimer <fweimer@redhat.com>
23148 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23149 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23151 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23153 * NEWS: Mention BZ #14716.
23154 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23155 when removing AVAILABLE1_USES_J macro.
23157 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23159 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23160 (__bswap_64): __uint64_t for unsigned 64-bit int.
23162 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23164 * include/string.h (memmem): Declare libc hidden alias.
23165 * string/memmem.c (memmem): Define libc hidden alias.
23166 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23167 __read, __close instead of open, read, close.
23169 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23172 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23174 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23175 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23176 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23178 (__rawmemchr_sse2): Likewise.
23179 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23180 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23181 (__strchr_sse2): Likewise.
23182 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23183 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23184 (__strcasecmp_sse2): Likewise.
23185 (__strncasecmp_sse2): Likewise.
23186 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23187 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23188 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23189 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23190 (__strrchr_sse2): Likewise.
23191 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23193 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23194 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23195 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23196 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23197 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23198 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23199 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23200 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23201 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23202 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23203 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23204 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23205 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23206 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23207 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23208 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23209 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23210 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23211 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23212 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23213 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23214 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23215 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23216 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23217 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23218 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23219 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23220 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23221 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23222 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23226 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23227 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23228 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23229 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23231 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23233 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23234 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23235 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23236 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23238 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23241 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23242 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23243 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23244 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23245 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23246 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23247 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23248 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23249 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23250 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23251 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23252 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23254 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23255 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23256 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23257 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23258 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23259 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23260 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23263 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23264 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23265 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23266 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23267 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23268 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23269 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23270 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23271 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23272 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23273 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23274 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23275 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23276 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23277 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23278 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23280 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23281 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23282 * include/ifunc-impl-list.h: New file.
23283 * misc/ifunc-impl-list.c: Likewise.
23284 * misc/Makefile (routines): Add ifunc-impl-list.
23285 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23286 * string/test-string.h: Include <ifunc-impl-list.h>.
23287 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23288 impl_array): New variables.
23289 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23291 (test_init): Call __libc_ifunc_impl_list to initialize
23292 func_list if TEST_IFUNC and TEST_NAME are defined.
23294 * string/Makefile (strop-tests): Add bcopy and bzero.
23295 * string/test-bcopy.c: New file.
23296 * string/test-bzero.c: Likewise.
23297 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23299 * string/test-memset.c: Support bzero test if TEST_BZERO is
23301 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23303 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23305 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23308 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23310 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23311 * configure: Regenerated.
23313 * Makeconfig (+link-static-before-libc): Don't include
23314 $(link-static-libc).
23316 * libio/libio.h (_IO_pos_t): Remove.
23318 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23320 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23323 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23325 * crypt/crypt-entry.c: Include fips-private.h.
23326 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23327 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23328 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23329 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23331 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23333 * crypt/crypt-private.h: Include stdbool.h.
23334 (_ufc_setup_salt_r): Return bool.
23335 * crypt/crypt-entry.c: Include errno.h.
23336 (__crypt_r): Return NULL with EINVAL for bad salt.
23337 * crypt/crypt_util.c (bad_for_salt): New.
23338 (_ufc_setup_salt_r): Check that salt is long enough and within
23339 the specified alphabet.
23340 * crypt/badsalttest.c: New file.
23341 * crypt/Makefile (tests): Add it.
23342 ($(objpfx)badsalttest): New.
23344 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23346 * NEWS: Add entry for BZ #14602.
23348 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23350 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23352 * math/libm-test.inc: Update comment listing what functions and
23354 (isgreater_test): New function.
23355 (isgreaterequal_test): Likewise.
23356 (isless_test): Likewise.
23357 (islessequal_test): Likewise.
23358 (islessgreater_test): Likewise.
23359 (isunordered_test): Likewise.
23360 (main): Call the new functions.
23362 2012-10-09 Roland McGrath <roland@hack.frob.com>
23364 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23365 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23366 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23367 * sysdeps/i386/configure: Regenerated.
23368 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23369 * sysdeps/mach/configure: Regenerated.
23370 * sysdeps/mach/hurd/configure: Regenerated.
23371 * sysdeps/powerpc/configure: Regenerated.
23372 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23373 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23374 * sysdeps/s390/s390-32/configure: Regenerated.
23375 * sysdeps/s390/s390-64/configure: Regenerated.
23376 * sysdeps/sh/configure: Regenerated.
23377 * sysdeps/sparc/configure: Regenerated.
23378 * sysdeps/unix/sysv/linux/configure: Regenerated.
23379 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23380 * sysdeps/x86_64/configure: Regenerated.
23382 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23383 defined. Don't check if MAP is NULL.
23385 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23387 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23388 (_G_stat64): Likewise.
23389 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23390 (_G_stat64): Likewise.
23391 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23392 instead of struct _G_stat64.
23393 * libio/fileops.c (mmap_remap_check): Likewise.
23394 (decide_maybe_mmap): Likewise.
23395 (_IO_new_file_seekoff): Likewise.
23396 (_IO_file_stat): Likewise.
23397 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23399 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23400 instead of struct _G_stat64.
23401 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23403 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23406 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23408 (CHECK_EOL): New macro.
23409 (two_way_short_needle): Check beginning of haystack for EOL. Use
23411 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23412 Replace with CHECK_EOL.
23413 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23414 Replace with CHECK_EOL.
23416 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23418 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23420 * math/libm-test.inc: Update comment listing what functions and
23422 (finite_test): New function.
23423 (isinf_test): Likewise.
23424 (isnan_test): Likewise.
23425 (fpclassify_test): Test subnormal input.
23426 (isfinite_test): Likewise.
23427 (isnormal_test): Likewise.
23428 (main): Call the new functions.
23430 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23433 * Makerules (%.dynsym): Force C locale when running
23434 $(OBJDUMP) --dynamic-syms.
23436 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23438 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23441 2012-10-06 David S. Miller <davem@davemloft.net>
23443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23444 upper 32-bits of the length value in %o2 since we use branch-on-register
23445 tests which consider the entire 64-bit register.
23447 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23449 * string/test-strstr.c (check2): Add a test for page boundary.
23451 2012-10-05 David S. Miller <davem@davemloft.net>
23453 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23454 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23456 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23458 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23459 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23460 and bzero when HWCAP_SPARC_CRYPTO is present.
23462 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23465 * string/test-strstr.c (check2): New function.
23466 (test_main): Call check2.
23468 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23470 * string/bug-strcasestr1.c (do_test): Moved to ...
23471 * string/test-strcasestr.c (check1): Here. New function.
23472 (do_one_test): Break out result checking code into ...
23473 (check_result): This. New function.
23474 (do_one_test): Call check_result.
23475 (test_main): Call check1.
23476 * string/bug-strchr1.c (do_test): Moved to ...
23477 * string/test-strchr.c (check1): Here. New function.
23478 (do_one_test): Break out result checking code into ...
23479 (check_result): This. New function.
23480 (do_one_test): Call check_result.
23481 (test_main): Call check1.
23482 * string/bug-strstr1.c (main): Moved to ...
23483 * string/test-strstr.c (check1): Here. New function.
23484 (do_one_test): Break out result checking code into ...
23485 (check_result): This. New function.
23486 (do_one_test): Call check_result.
23487 (test_main): Call check1.
23488 * string/bug-strcasestr1.c: Removed.
23489 * string/bug-strchr1.c: Likewise.
23490 * string/bug-strstr1.c: Likewise.
23492 * elf/Makefile (dl-routines): Add hwcaps.
23493 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23494 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23495 (_dl_important_hwcaps): Moved to ...
23496 * elf/dl-hwcaps.c: Here. New file.
23497 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23500 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23501 if IS_IN_rtld isn't defined.
23503 * elf/dl-support.c (_dl_sysinfo_map): New.
23504 Include "get-dynamic-info.h" and "setup-vdso.h".
23505 (_dl_non_dynamic_init): Call setup_vdso.
23506 * elf/dynamic-link.h: Don't include <assert.h>.
23507 (elf_get_dynamic_info): Moved to ...
23508 * elf/get-dynamic-info.h: Here. New file.
23509 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23510 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23511 * elf/setup-vdso.h: Here. New file.
23512 * elf/rtld.c: Include "setup-vdso.h".
23513 (dl_main): Call setup_vdso.
23515 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23517 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23518 creal in comment listing functions tested. List finite, isinf,
23519 isnan, isless, islessequal, isgreater, isgreaterequal,
23520 islessgreater, isunordered, lgamma_r and pow10 as functions and
23521 macros not tested. Mention which functions not tested are aliases
23522 for other functions. Fix typo. Note that signs of NaNs are not
23525 * scripts/config.guess: Update from config.git.
23526 * scripts/config.sub: Likewise.
23528 2012-10-04 Roland McGrath <roland@hack.frob.com>
23530 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23531 * misc/madvise.c (madvise): Renamed to __madvise.
23532 Make madvise a weak alias.
23533 * include/sys/mman.h: Declare __madvise.
23534 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23535 * sysdeps/unix/syscalls.list
23536 (madvise): Make __madvise the strong name, and madvise a weak alias.
23537 * sysdeps/unix/sysv/linux/syscalls.list
23538 (madvise, mmap): Remove redundant entries.
23539 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23540 * malloc/malloc.c (mtrim): Likewise.
23541 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23543 2012-10-03 Roland McGrath <roland@hack.frob.com>
23545 * sysdeps/mach/hurd/dl-cache.c: File removed.
23546 * config.h.in (USE_LDCONFIG): New #undef.
23547 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23548 * configure: Regenerated.
23549 * elf/Makefile (dl-routines): Add dl-cache only under
23550 [$(use-ldconfig) = yes].
23551 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23552 cache on [USE_LDCONFIG].
23553 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23555 * elf/rtld.c (dl_main): Likewise.
23557 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23559 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23560 _SC_LEVEL4_CACHE_LINESIZE.
23562 2012-10-03 Roland McGrath <roland@hack.frob.com>
23564 * sysdeps/unix/bsd/confstr.h: File removed.
23566 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23568 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23571 2012-10-02 Roland McGrath <roland@hack.frob.com>
23573 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23574 Make 'mapoff' field ElfW(Off) rather than off_t.
23576 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23578 * nscd/Makefile: Remove nscd-cflags and all its users.
23579 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23580 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23583 * malloc.c (malloc_printerr): Clarify error message.
23585 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23589 Set bit_FMA_Usable if FMA is supported.
23590 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23592 (bit_FMA4_Usable): Updated.
23593 (index_FMA_Usable): New macro.
23594 (CPUID_FMA): Likewise
23595 (HAS_FMA): Defined with bit_FMA_Usable.
23597 2012-10-01 Roland McGrath <roland@hack.frob.com>
23599 * bits/types.h (__swblk_t): Type removed.
23600 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23601 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23603 (__SWBLK_T_TYPE): Likewise.
23604 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23605 (__SWBLK_T_TYPE): Likewise.
23606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23607 (__SWBLK_T_TYPE): Likewise.
23608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23609 (__SWBLK_T_TYPE): Likewise.
23611 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23612 Honza Horak <hhorak@redhat.com>
23614 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23615 (xdr_mapname): Use YPMAXMAP as maxsize.
23616 (xdr_peername): Use YPMAXPEER as maxsize.
23617 (xdr_keydat): Use YPAXRECORD as maxsize.
23618 (xdr_valdat): Use YPMAXRECORD as maxsize.
23620 2012-10-01 Roland McGrath <roland@hack.frob.com>
23622 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23624 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23625 * csu/init-first.c: ... here.
23626 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23627 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23628 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23629 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23630 * sysdeps/i386/init-first.c: File removed.
23631 * sysdeps/sh/init-first.c: File removed.
23633 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23637 if x * y might underflow to zero and z is zero.
23638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23640 * math/libm-test.inc (min_subnorm_value): New variable.
23641 (fma_test): Add more tests.
23642 (fma_test_towardzero): Likewise.
23643 (fma_test_downward): Likewise
23644 (fma_test_upward): Likewise.
23645 (initialize): Set min_subnorm_value.
23647 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23652 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23653 mode for addition resulting in exact zero.
23654 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23657 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23659 * math/libm-test.inc (fma_test): Add more tests.
23660 (fma_test_towardzero): New function.
23661 (fma_test_downward): Likewise.
23662 (fma_test_upward): Likewise.
23663 (main): Call the new functions.
23665 2012-09-28 David S. Miller <davem@davemloft.net>
23667 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23669 2012-09-28 Roland McGrath <roland@hack.frob.com>
23671 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23672 instead of SIGALRM.
23674 * sysdeps/gnu/_G_config.h: Moved to ...
23675 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23676 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23677 * sysdeps/generic/_G_config.h: ... here.
23679 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23681 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23683 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23684 Conditionalize target on [libnss_test1.so-version].
23686 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23688 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23689 (elfobjdir): Move out of conditionals.
23691 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23692 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23693 (__nss_lookup_function): Conditionalize label remove_from_tree on
23694 [!DO_STATIC_NSS || SHARED], matching its only use.
23696 2012-09-28 David S. Miller <davem@davemloft.net>
23698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23699 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23701 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23703 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23705 when HWCAP_SPARC_CRYPTO is present.
23707 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23709 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23711 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23714 * stdio-common/vfprintf.c (process_string_arg): Revert
23717 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23719 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23721 * stdio-common/tst-sprintf.c: Include <locale.h>
23722 (main): Test sprintf's handling of incomplete multibyte
23725 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23727 * elf/dl-runtime.c (VERSYMIDX): Removed.
23728 * elf/dl-version.c (VERSYMIDX): Likewise.
23729 * elf/do-rel.h (VERSYMIDX): Likewise.
23730 (VALIDX): Likewise.
23731 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23732 * elf/rtld.c (VALIDX): Likewise.
23733 (ADDRIDX): Likewise.
23734 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23735 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23736 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23737 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23738 (VALIDX): Likewise.
23739 (ADDRIDX): Likewise.
23741 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23743 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23745 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23748 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23750 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23751 addresses are in the same scope as 192.0.2/24.
23752 * posix/gai.conf: Document new scope table defaults.
23754 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23757 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23758 for ftell. Compute offsets from write pointers instead.
23759 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23761 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23764 * libio/Makefile (tests): New test case tst-fseek.
23765 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23766 combination works in wide mode.
23767 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23768 state when the external buffer state changes.
23770 2012-09-27 David S. Miller <davem@davemloft.net>
23773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23774 pass reloc->r_addend in as the 'high' argument to
23775 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23779 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23781 * rt/tst-aio2.c: Include <pthread.h>.
23782 * rt/tst-aio3.c: Likewise.
23784 2012-09-27 Steve Ellcey <sellcey@mips.com>
23786 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23788 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23790 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23791 contents on [SHARED].
23793 2012-09-26 Marek Polacek <polacek@redhat.com>
23797 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23798 for C++ and GCC <4.3 as well as for non GCC compilers.
23800 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23804 2012-09-25 Roland McGrath <roland@hack.frob.com>
23806 * Makefile.in (all, install): Declare with .PHONY.
23807 Reported by Michael Hope <michael.hope@linaro.org>.
23809 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23811 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23812 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23814 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23816 (sydep_routines): Add the new and the internal functions.
23817 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23818 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23820 (GLIBC_2.17): Add the new function.
23821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23822 (GLIBC_2.17): Likewise.
23823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23824 (GLIBC_2.17): Likewise.
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23826 (GLIBC_2.17): Likewise.
23827 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23829 2012-09-25 Alan Modra <amodra@gmail.com>
23831 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23832 Add release barrier before setting once_control to say
23833 initialisation is done. Add hints on lwarx. Use macro in
23835 (clear_once_control): Add release barrier.
23837 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23840 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23842 * math/s_clog10.c (__clog10): Likewise.
23843 * math/s_clog10f.c (__clog10f): Likewise.
23844 * math/s_clog10l.c (__clog10l): Likewise.
23845 * math/s_clogf.c (__clogf): Likewise.
23846 * math/s_clogl.c (__clogl): Likewise.
23847 * math/Makefile (libm-calls): Add x2y2m1.
23848 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23849 (__x2y2m1): Likewise.
23850 (__x2y2m1l): Likewise.
23851 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23852 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23855 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23856 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23857 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23858 * sysdeps/i386/fpu/libm-test-ulps: Update.
23859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23863 int as type of variable DEPTH.
23864 (glob): Use size_t instead of int as type of variables NEWCOUNT
23867 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23869 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23870 Add s_sincosf-sse2.
23871 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23872 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23873 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23874 macros for using routine as __sincosf_ia32.
23875 Use macro for function declaration and weak_alias.
23876 * sysdeps/i386/fpu/libm-test-ulps: Update.
23878 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23881 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23882 subnormal argument.
23883 * math/s_cexpf.c (__cexpf): Likewise.
23884 * math/s_csinf.c (__csinf): Likewise.
23885 * math/s_csinhf.c (__csinhf): Likewise.
23886 * math/s_ctanf.c (__ctanf): Likewise.
23887 * math/s_ctanhf.c (__ctanhf): Likewise.
23888 * math/s_ccosh.c (__ccoshf): Likewise.
23889 * math/s_cexp.c (__cexpl): Likewise.
23890 * math/s_csin.c (__csin): Likewise.
23891 * math/s_csinh.c (__csinh): Likewise.
23892 * math/s_ctan.c (__ctan): Likewise.
23893 * math/s_ctanh.c (ctanh): Likewise.
23894 * math/s_ccoshl.c (__ccoshl): Likewise.
23895 * math/s_cexpl.c (__cexpl): Likewise.
23896 * math/s_csinl.c (__csinl): Likewise.
23897 * math/s_csinhl.c (__csinhl): Likewise.
23898 * math/s_ctanl.c (__ctanl): Likewise.
23899 * math/s_ctanhl.c (__ctanhl): Likewise.
23901 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23903 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23904 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23905 (_IO_off_t): Define to __off_t, not _G_off_t.
23906 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23907 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23908 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23909 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23910 type of __dummy and __dummy2 fields.
23911 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23912 (_G_ssize_t): Likewise.
23913 (_G_off_t): Likewise.
23914 (_G_pid_t): Likewise.
23915 (_G_uid_t): Likewise.
23916 (_G_wchar_t): Likewise.
23917 (_G_wint_t): Likewise.
23918 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23919 (_G_ssize_t): Likewise.
23920 (_G_off_t): Likewise.
23921 (_G_pid_t): Likewise.
23922 (_G_uid_t): Likewise.
23923 (_G_wchar_t): Likewise.
23924 (_G_wint_t): Likewise.
23925 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23926 (_G_ssize_t): Likewise.
23927 (_G_off_t): Likewise.
23928 (_G_pid_t): Likewise.
23929 (_G_uid_t): Likewise.
23930 (_G_wchar_t): Likewise.
23931 (_G_wint_t): Likewise.
23933 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23935 * malloc/arena.c: Include malloc-sysdep.h.
23936 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23937 is sufficient to shrink the heap or an unmap is needed.
23938 * sysdeps/generic/malloc-sysdep.h: New file. Define
23939 new function check_may_shrink_heap.
23940 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23941 new function check_may_shrink_heap.
23943 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23945 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23948 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23950 * catgets/test-gencat.sh: Add "set -e".
23951 * elf/tst-pathopt.sh: Likewise.
23952 * grp/tst_fgetgrent.sh: Likewise.
23953 * iconvdata/run-iconv-test.sh: Likewise.
23954 * intl/tst-gettext.sh: Likewise.
23955 * intl/tst-gettext2.sh: Likewise.
23956 * intl/tst-gettext4.sh: Likewise.
23957 * intl/tst-gettext6.sh: Likewise.
23958 * intl/tst-translit.sh: Likewise.
23959 * io/ftwtest-sh: Likewise.
23960 * libio/test-freopen.sh: Likewise.
23961 * malloc/tst-mtrace.sh: Likewise.
23962 * posix/globtest.sh: Likewise.
23963 * posix/tst-getconf.sh: Likewise.
23964 * posix/wordexp-tst.sh: Likewise.
23965 * stdio-common/tst-printf.sh: Likewise.
23966 * stdio-common/tst-unbputc.sh: Likewise.
23967 * stdlib/tst-fmtmsg.sh: Likewise.
23968 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23969 * catgets/Makefile: Do not specify -e option when running
23970 testsuite shell scripts.
23971 * elf/Makefile: Likewise.
23972 * grp/Makefile: Likewise.
23973 * iconvdata/Makefile: Likewise.
23974 * intl/Makefile: Likewise.
23975 * io/Makefile: Likewise.
23976 * libio/Makefile: Likewise.
23977 * malloc/Makefile: Likewise.
23978 * posix/Makefile: Likewise.
23979 * stdio-common/Makefile: Likewise.
23980 * stdlib/Makefile: Likewise.
23981 * sysdeps/x86_64/Makefile: Likewise.
23983 * io/ftwtest-sh: Add copyright header.
23984 * posix/globtest.sh: Likewise.
23985 * posix/tst-getconf.sh: Likewise.
23986 * posix/wordexp-tst.sh: Likewise.
23987 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23989 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23992 * Makeconfig (+link): Defined as $(+link-static) if
23993 $(build-shared) isn't yes.
23994 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23996 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23998 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24001 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24002 new chunk size with MALLOC_ALIGN_MASK.
24004 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24007 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24009 (__printf_fphex): Determine rounding using get_rounding_mode and
24011 * stdio-common/tst-printf-round.c (struct hex_test): New
24013 (hex_tests): New variable.
24014 (test_hex_in_one_mode): New function.
24015 (do_test): Also run tests for hex float output.
24017 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24019 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24020 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24021 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24022 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24023 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24024 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24025 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24026 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24028 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24030 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24031 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24032 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24033 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24035 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24038 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24040 * elf/tst-rtld-load-self.sh: New test.
24041 * elf/Makefile: Run it.
24043 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24045 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24046 (tst-writev-ENV): Remove.
24047 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24049 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24051 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24053 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24055 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24057 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24059 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24060 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24061 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24064 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24067 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24068 * config.make.in (have-cpp-asm-debuginfo): Removed.
24069 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24070 * configure: Regenerated.
24072 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24075 * stdio-common/printf_fp.c: Include <stdbool.h> and
24077 (___printf_fp): Determine rounding using get_rounding_mode and
24079 * stdio-common/tst-printf-round.c: New file.
24080 * stdio-common/Makefile (tests): Add tst-printf-round.
24081 (link-libm): New variable.
24082 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24084 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24087 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24088 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24090 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24093 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24095 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24096 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24097 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24098 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24100 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24103 * include/rounding-mode.h: New file.
24104 * sysdeps/generic/get-rounding-mode.h: Likewise.
24105 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24106 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24107 (MAX_VALUE): New macro.
24108 (MIN_VALUE): Likewise.
24109 (overflow_value): New function.
24110 (underflow_value): Likewise.
24111 (round_and_return): Use overflow_value and underflow_value to
24112 determine return values in overflow and underflow cases. Use
24113 round_away to determine rounding depending on rounding mode.
24114 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24115 determine return values in overflow and underflow cases.
24116 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24117 (struct test_results): New structure.
24118 (struct test): Use struct test_results to store expected results
24119 for all rounding modes.
24120 (TEST): Include expected results for all rounding modes.
24121 (test_in_one_mode): New function.
24122 (do_test): Use test_in_one_mode to compute and check results.
24123 Check results for all rounding modes.
24124 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24127 2012-12-09 Allan McRae <allan@archlinux.org>
24129 * sysdeps/i386/fpu/libm-test-ulps: Update
24131 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24133 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24134 (_G_int32_t): Likewise.
24135 (_G_uint16_t): Likewise.
24136 (_G_uint32_t): Likewise.
24137 (_G_HAVE_BOOL): Likewise.
24138 (_G_HAVE_ATEXIT): Likewise.
24139 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24140 (_G_HAVE_IO_FILE_OPEN): Likewise.
24141 * sysdeps/gnu/_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/mach/hurd/_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.
24158 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24160 * csu/libc-tls.c: Update copyright years.
24162 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24164 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24165 [!_G_USING_THUNKS]: Remove conditional code.
24166 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24167 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24169 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24170 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24171 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24172 (_G_VTABLE_LABEL_PREFIX): Likewise.
24173 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24174 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24175 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24176 (_G_VTABLE_LABEL_PREFIX): Likewise.
24177 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24178 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24179 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24180 (_G_VTABLE_LABEL_PREFIX): Likewise.
24181 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24183 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24185 * libio/Makefile: Include ../Makeconfig before tests.
24186 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24187 only if $(build-shared) is yes.
24189 * iconv/gconv_db.c: Update copyright years.
24191 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24193 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24194 unwind info if defined PIC. Fix special cases description.
24195 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24197 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24199 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24201 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24203 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24205 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24208 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24209 (LDLIBS-tst-chk4): This.
24210 (LDFLAGS-tst-chk5): Renamed to ...
24211 (LDLIBS-tst-chk5): This.
24212 (LDFLAGS-tst-chk6): Renamed to ...
24213 (LDLIBS-tst-chk6): This.
24214 (LDFLAGS-tst-lfschk4): Renamed to ...
24215 (LDLIBS-tst-lfschk4): This.
24216 (LDFLAGS-tst-lfschk5): Renamed to ...
24217 (LDLIBS-tst-lfschk5): This.
24218 (LDFLAGS-tst-lfschk6): Renamed to ...
24219 (LDLIBS-tst-lfschk6): This.
24221 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24222 on $(common-objpfx)soversions.mk.
24224 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24227 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24230 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24232 * malloc/arena.c (arena_get_retry): New function that gets
24233 another arena for the caller to try its request on.
24234 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24235 current arena cannot fulfill the request.
24236 (__libc_memalign): Likewise.
24237 (__libc_memalign): Likewise.
24238 (__libc_pvalloc): Likewise.
24239 (__libc_calloc): Likewise.
24241 2012-09-05 John Tobey <john.tobey@gmail.com>
24244 * manual/arith.texi (Operations on Complex): Fix description
24245 of carg branch cut.
24247 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24250 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24254 * manual/memory.texi (Memory): Make order of menu items match
24257 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24259 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24260 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24261 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24263 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24265 * csu/libc-tls.c (static_dtv): Renamed to ...
24266 (_dl_static_dtv): This. Make it global.
24267 (_dl_initial_dtv): Removed.
24268 (__libc_setup_tls): Updated.
24269 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24270 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24273 2012-09-06 Petr Machata <pmachata@redhat.com>
24275 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24276 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24277 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24278 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24280 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24283 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24284 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24287 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24290 * Makeconfig (link-static-before-libc): Replace $(+prector)
24292 (link-static-after-libc): Replace $(+postctor) with
24294 (link-bounded): Replace $(+prector)/$(+postctor) with
24295 $(+prectorT)/$(+postctorT).
24296 (+prectorT): New macro.
24297 (+postctorT): Likewise.
24299 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24301 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24302 (round_str): Handle values above the maximum for IBM long double
24304 * stdlib/tst-strtod-round.c (tests): Regenerated.
24306 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24308 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24310 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24311 zarch_nohighgprs around the zarch optimized routines.
24312 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24313 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24314 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24317 2012-09-05 David S. Miller <davem@davemloft.net>
24319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24321 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24322 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24323 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24324 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24327 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24329 * malloc/arena.c: Fold copyright years.
24330 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24332 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24334 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24336 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24338 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24342 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24343 change internal state upon failure.
24345 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24347 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24348 * malloc/memusage.c (mmap): Likewise.
24349 (mmap64, mremap): Likewise. Adjust name in comment.
24351 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24353 * libio/fileops.c: Fix typos in comments.
24354 * libio/oldfileops.c: Likewise.
24355 * libio/wfileops.c: Likewise.
24357 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24360 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24361 (tst-malloc-usable-ENV): Set environment for test case.
24362 * malloc/hooks.c (malloc_check_get_size): New function to get
24364 * malloc/malloc.c (musable): Use malloc_check_get_size.
24365 * malloc/tst-malloc-usable.c: New test case.
24367 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24369 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24371 2012-09-05 Allan McRae <allan@archlinux.org>
24374 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24375 determine header location.
24376 * configure: Regenerated.
24378 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24380 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24382 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24383 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24385 (test): Regenerate.
24387 2012-09-04 David S. Miller <davem@davemloft.net>
24389 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24390 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24391 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24393 2012-09-04 Florian Weimer <fweimer@redhat.com>
24395 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24398 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24400 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24403 * libio/iogetdelim.c: Include <limits.h>.
24404 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24405 + len + 1 would overflow.
24407 2012-09-03 Andreas Jaeger <aj@suse.de>
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24410 * sysdeps/i386/fpu/libm-test-ulps: Update.
24412 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24414 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24415 Add s_sinf-sse2, s_conf-sse2.
24417 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24418 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24419 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24420 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24422 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24423 for using routine as __sinf_ia32.
24424 Use macro for function declaration and weak_alias.
24425 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24426 for using routine as __cosf_ia32.
24427 Use macro for function declaration and weak_alias.
24429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24430 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24432 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24433 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24436 * math/libm-test.inc (cos_test): Add more test cases.
24437 (sin_test): Likewise.
24438 (sincos_test): Likewise.
24440 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24442 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24443 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24445 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24447 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24450 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24451 first element of the GOT.
24452 (elf_machine_load_address): Return the difference between
24453 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24455 2012-09-01 Allan McRae <allan@archlinux.org>
24458 * configure.in (AWK): Require gawk version 3.0 or later.
24459 * configure: Regenerated.
24461 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24463 * sysdeps/unix/sysv/linux/kernel-features.h
24464 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24466 [__NR_clock_getres]: Make code unconditional.
24467 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24468 (clock_getcpuclockid): Remove code left unreachable by removal of
24470 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24471 code unconditional.
24472 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24473 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24474 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24475 Make code unconditional.
24476 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24477 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24478 * sysdeps/unix/sysv/linux/clock_settime.c
24479 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24481 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24482 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24484 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24487 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24488 scripts/test-installation.pl.
24490 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24491 and $ld_so_version if it is set.
24493 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24497 failure if reading from procfs failed.
24498 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24500 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24502 * sysdeps/unix/sysv/linux/kernel-features.h
24503 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24504 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24505 Remove conditional code.
24506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24507 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24508 Remove conditional code.
24509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/i386/fxstat.c
24511 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24513 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24514 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24516 * sysdeps/unix/sysv/linux/i386/lxstat.c
24517 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24519 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24520 Remove conditional code.
24521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24522 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24523 Remove conditional code.
24524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24525 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24526 <kernel-features.h>.
24527 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24529 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24530 Remove conditional code.
24531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24532 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24533 Remove conditional.
24535 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24538 * NEWS: Add fixed bug number.
24540 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24543 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24544 underflowing exponent in case of negative sign.
24545 * stdlib/tst-strtod-round-data: Add more tests.
24546 * stdlib/tst-strtod-round.c (tests): Regenerated.
24549 * stdlib/strtod_l.c (NDIG): Remove.
24550 (HEXNDIG): Likewise.
24551 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24552 smallest representable value.
24553 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24554 lie within an exact representation of 1/2 ulp of the result.
24555 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24557 (TENS_P9_IDX): Define unconditionally.
24558 (TENS_P9_SIZE): Likewise.
24559 (TENS_P10_IDX): Likewise.
24560 (TENS_P10_SIZE): Likewise.
24561 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24562 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24563 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24564 entries for 10^2^13 and 10^2^14.
24565 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24566 (TENS_P13_IDX): Define.
24567 (TENS_P13_SIZE): Likewise.
24568 (TENS_P14_IDX): Likewise.
24569 (TENS_P14_SIZE): Likewise.
24570 (_fpioconst_pow10): Change array size to
24571 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24573 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24574 1024]: Add entries for 10^2^13 and 10^2^14.
24575 [LAST_POW10 > _LAST_POW10]: Remove #error.
24576 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24577 (_fpioconst_pow10): Change array size to
24578 FPIOCONST_POW10_ARRAY_SIZE.
24579 * stdlib/gen-fpioconst.c: New file.
24580 * stdlib/gen-tst-strtod-round.c: Likewise.
24581 * stdlib/tst-strtod-round-data: Likewise.
24582 * stdlib/tst-strtod-round.c: Likewise.
24583 * stdlib/Makefile (tests): Add tst-strtod-round.
24586 * stdlib/strtod_l.c: Include <stdint.h>.
24587 (NDEBUG): Do not define.
24588 (round_and_return): Change EXPONENT parameter to type intmax_t.
24589 Rearrange calculations to avoid internal overflow possibilities.
24590 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24591 Rearrange calculations to avoid internal overflow possibilities.
24592 Assert that number fits inside MPNSIZE limbs.
24593 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24594 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24595 calculations and add assertions to avoid internal overflow
24596 possibilities. Add casts to avoid signed/unsigned operations.
24597 * stdlib/tst-strtod-overflow.c: New file.
24598 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24600 2012-08-25 Marek Polacek <polacek@redhat.com>
24602 * time/time.h: Fix some typos in comments.
24604 2012-08-23 Roland McGrath <roland@hack.frob.com>
24606 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24607 * posix/tst-rfc3484-2.c: Likewise.
24608 * posix/tst-rfc3484-3.c: Likewise.
24610 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24612 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24613 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24615 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24617 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24618 #include of fxstatat64.c.
24620 2012-08-22 Roland McGrath <roland@hack.frob.com>
24622 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24623 * shadow/getspent_r.c: Likewise.
24624 * shadow/getspnam.c: Likewise.
24625 * shadow/getspnam_r.c: Likewise.
24626 * gshadow/getsgent.c: Likewise.
24627 * gshadow/getsgent_r.c: Likewise.
24628 * gshadow/getsgnam.c: Likewise.
24629 * gshadow/getsgnam_r.c: Likewise.
24630 * inet/getnetbyad.c: Likewise.
24631 * inet/getnetbyad_r.c: Likewise.
24632 * inet/getnetbynm.c: Likewise.
24633 * inet/getnetbynm_r.c: Likewise.
24634 * inet/getnetent.c: Likewise.
24635 * inet/getnetent_r.c: Likewise.
24636 * inet/getproto.c: Likewise.
24637 * inet/getproto_r.c: Likewise.
24638 * inet/getprtent.c: Likewise.
24639 * inet/getprtent_r.c: Likewise.
24640 * inet/getprtname.c: Likewise.
24641 * inet/getprtname_r.c: Likewise.
24642 * inet/getrpcbyname.c: Likewise.
24643 * inet/getrpcbyname_r.c: Likewise.
24644 * inet/getrpcbynumber.c: Likewise.
24645 * inet/getrpcbynumber_r.c: Likewise.
24646 * inet/getrpcent.c: Likewise.
24647 * inet/getrpcent_r.c: Likewise.
24648 * inet/getaliasent.c: Likewise.
24649 * inet/getaliasent_r.c: Likewise.
24650 * inet/getaliasname.c: Likewise.
24651 * inet/getaliasname_r.c: Likewise.
24652 * nscd/getgrgid_r.c: Likewise.
24653 * nscd/getgrnam_r.c: Likewise.
24654 * nscd/gethstbyad_r.c: Likewise.
24655 * nscd/gethstbynm3_r.c: Likewise.
24656 * nscd/getpwnam_r.c: Likewise.
24657 * nscd/getpwuid_r.c: Likewise.
24658 * nscd/getsrvbynm_r.c: Likewise.
24659 * nscd/getsrvbypt_r.c: Likewise.
24660 * nscd/gai.c: Likewise.
24662 * configure.in (build_nscd): New substituted variable, set
24663 by --disable-build-nscd and defaults to $use_nscd.
24664 * configure: Regenerated.
24665 * config.make.in (build-nscd): New substituted variable.
24666 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24667 Change conditional to require [$(build-nscd) = yes] as well.
24668 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24671 * configure.in (use_nscd): New substituted variable, set by
24672 --disable-nscd. If enabled, define USE_NSCD.
24673 * configure: Regenerated.
24674 * config.h.in: Add USE_NSCD.
24675 * config.make.in (use-nscd): New substituted variable.
24676 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24677 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24678 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24679 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24680 (CFLAGS-getgrnam_r.c): Likewise.
24681 (CFLAGS-initgroups.c): Likewise.
24682 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24683 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24685 * inet/getnetgrent_r.c
24686 (nscd_setnetgrent): New function, broken out of ...
24687 (setnetgrent): ... here. Call it.
24688 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24689 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24690 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24691 * nscd/Makefile (routines, aux): Move definitions after include of
24692 Makeconfig. Conditionalize on [$(use-nscd) != no].
24693 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24694 Conditionalize on [USE_NSCD].
24695 (is_nscd, nscd_init_cb): Likewise.
24696 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24697 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24698 * nss/nss_db/db-init.c: Likewise.
24699 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24701 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24702 (make_request): Use it.
24703 (cache_valid_p): New function.
24704 (__check_pf): Use it.
24705 * NEWS: Add item for --disable-nscd.
24707 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24709 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24710 to support sed >= 4.2.1-20-ga9bf076.
24711 * configure: Regenerated.
24713 2012-08-22 Roland McGrath <roland@hack.frob.com>
24715 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24716 Conditionalize whole body on [IREL].
24718 2012-08-22 Jeff Law <law@redhat.com>
24721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24722 if the family is PF_UNSPEC.
24724 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24726 * Makerules (lib-version): Rename from V.
24727 (install-lib-nosubdir): Change V to lib-version.
24729 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24732 * powerpc32/power6/wcschr.c: New file.
24733 * powerpc32/power6/wcscpy.c: New file.
24734 * powerpc32/power6/wcsrchr.c: New file.
24735 * powerpc64/power6/wcschr.c: New file.
24736 * powerpc64/power6/wcscpy.c: New file.
24737 * powerpc64/power6/wcsrchr.c: New file.
24739 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24741 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24742 (two_way_short_needle): Use it.
24743 * string/strstr.c (AVAILABLE1_USES_J): Define.
24744 * string/strcasestr.c: Likewise.
24746 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24748 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24751 * NEWS: Add an entry.
24752 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24753 define their defaults.
24754 (two_way_short_needle): Detect end-of-string on-the-fly.
24755 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24756 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24757 * string/bug-strcasestr1.c: New test.
24758 * string/Makefile: Run it.
24760 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24763 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24764 the first character.
24766 2012-08-21 Roland McGrath <roland@hack.frob.com>
24768 * csu/elf-init.c (__libc_csu_irel): Function removed.
24769 * csu/libc-start.c (apply_irel): New function.
24770 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24772 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24774 * sysdeps/unix/sysv/linux/kernel-features.h
24775 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24776 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24777 <kernel-features.h>.
24778 [__NR_fadvise64_64]: Make code unconditional.
24779 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24780 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24781 !__NR_fadvise64_64)]: Likewise.
24782 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24783 !__NR_fadvise64_64))]: Likewise.
24784 [__NR_fadvise64]: Make code unconditional.
24785 [!__NR_fadvise64]: Remove conditional code.
24786 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24787 <kernel-features.h>.
24788 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24790 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24793 not include <kernel-features.h>.
24794 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24796 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24798 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24799 include <kernel-features.h>.
24800 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24802 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24805 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24808 slight instruction rearrangements per scrollpipe analysis.
24809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24811 2012-08-20 Roland McGrath <roland@hack.frob.com>
24813 * manual/syslog.texi (syslog; vsyslog, closelog):
24814 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24815 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24817 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24818 DSOCAPS to match condition on defining it.
24820 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24822 * sysdeps/unix/sysv/linux/kernel-features.h
24823 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24825 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24826 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24828 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24829 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24831 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24832 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24834 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24835 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24837 * sysdeps/unix/sysv/linux/kernel-features.h
24838 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24839 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24841 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24842 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24843 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24844 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24845 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24846 Make code unconditional.
24847 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24848 (__mmap64) [!__NR_mmap2]: Likewise.
24849 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24850 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24851 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24852 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24853 [__NR_mmap2]: Make code unconditional.
24854 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24855 (__mmap64) [!__NR_mmap2]: Likewise.
24857 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24859 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24861 2012-08-18 Andreas Jaeger <aj@suse.de>
24863 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24865 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24867 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24868 * include/unistd.h (__have_sock_cloexec): Likewise.
24869 (__have_pipe2): Likewise.
24870 (__have_dup3): Likewise.
24872 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24875 * include/unistd.h (__have_pipe2): Change define into an extern int.
24876 (__have_dup3): Likewise.
24877 * socket/have_sock_cloexec.c: Include fcntl.h.
24878 (__have_pipe2): New variable.
24879 (__have_dup3): Likewise.
24881 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24883 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24885 2012-08-17 Marek Polacek <polacek@redhat.com>
24887 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24888 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24890 2012-08-17 Roland McGrath <roland@hack.frob.com>
24892 * configure.in: Add AC_SUBST for sysheaders.
24893 * configure: Regenerated.
24894 * config.make.in (sysheaders): New substituted variable.
24896 * sysdeps/unix/mkfifo.c: Moved ...
24897 * sysdeps/posix/mkfifo.c: ... here.
24898 * sysdeps/unix/mkfifoat.c: Moved ...
24899 * sysdeps/posix/mkfifoat.c: ... here.
24901 * sysdeps/unix/utime.c: Moved ...
24902 * sysdeps/posix/utime.c: ... here.
24904 * sysdeps/unix/time.c: Moved ...
24905 * sysdeps/posix/time.c: ... here.
24906 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24907 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24909 * sysdeps/unix/nice.c: Moved ...
24910 * sysdeps/posix/nice.c: ... here.
24912 * sysdeps/unix/alarm.c: Moved ...
24913 * sysdeps/posix/alarm.c: ... here.
24915 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24917 2012-08-17 Jeff Law <law@redhat.com>
24919 * intl/Makefile (codeset_mo): New variable.
24920 ($(codeset_mo)): New target.
24921 (tst-codeset.out): Depend on that. Remove explicit rule.
24922 (tst-gettext3.out, tst-gettext5.out): Likewise.
24923 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24924 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24925 * intl/tst-codeset.sh: Remove.
24926 * intl/tst-gettext3.sh: Likewise.
24927 * intl/tst-gettext5.sh: Likewise.
24929 2012-08-17 Roland McGrath <roland@hack.frob.com>
24931 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24932 * sysdeps/unix/syscalls.list: ... here.
24934 * sysdeps/posix/getaddrinfo.c
24935 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24936 (gaiconf_init, gaiconf_reload): Use them.
24937 [!_STATBUF_ST_NSEC]
24938 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24939 Define using time_t rather than struct timespec.
24941 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24942 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24944 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24946 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24947 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24950 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24951 __libc_cleanup_push argument.
24953 * bits/param.h: New file.
24954 * misc/sys/param.h: New file.
24955 * include/sys/param.h: New file.
24956 * misc/Makefile (headers): Add bits/param.h.
24957 * sysdeps/generic/sys/param.h: File removed.
24958 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24959 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24960 * sysdeps/mach/hurd/bits/param.h: New file.
24961 * sysdeps/mach/hurd/sys/param.h: File removed.
24963 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24966 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24968 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24969 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24972 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24973 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24974 rather than -D_IO_MTSAFE_IO conditionally.
24975 * stdio-common/Makefile (CPPFLAGS): Likewise.
24976 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24977 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24978 Use $(libio-mtsafe).
24979 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24980 of -D_IO_MTSAFE_IO.
24981 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24982 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24983 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24984 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24985 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24986 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24987 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24988 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24989 (CFLAGS-fread_u_chk.c): Likewise.
24990 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24991 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24992 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24993 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24994 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24995 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24996 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24997 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24998 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25000 * libio/Makefile: Test [$(libc-reentrant) = yes]
25001 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25004 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25005 * sysdeps/pthread/configure: File removed.
25006 * sysdeps/pthread/Makeconfig: New file.
25007 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25008 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25010 2012-08-16 Gary Benson <gbenson@redhat.com>
25012 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25013 unmapping the first object in a namespace.
25015 2012-08-16 Roland McGrath <roland@hack.frob.com>
25017 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25018 (__internal_setnetgrent): ... this. Add internal_function to
25019 definition. Add libc_hidden_def.
25020 (setnetgrent): Update caller.
25021 (internal_endnetgrent): Renamed to ...
25022 (__internal_endnetgrent): ... this. Add internal_function to
25023 definition. Add libc_hidden_def.
25024 (endnetgrent): Update caller.
25025 (internal_getnetgrent_r): Renamed to ...
25026 (__internal_getnetgrent_r): ... this. Add internal_function to
25027 definition. Add libc_hidden_def.
25028 (__getnetgrent_r): Update caller.
25029 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25031 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25033 * stdlib/longlong.h: Update from GCC.
25035 2012-08-16 Roland McGrath <roland@hack.frob.com>
25037 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25038 on _QL, which is set by umul_ppmm but never used.
25039 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25040 variables, which are set by GMP macros but never used.
25041 * stdio-common/_itowa.c (_itowa): Likewise.
25042 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25043 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25045 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25047 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25048 struct La_sh_regs is not constant.
25049 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25050 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25051 and struct La_sparc64_regs are not constant.
25053 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25055 * sysdeps/unix/sysv/linux/kernel-features.h
25056 (__ASSUME_POSIX_TIMERS): Remove.
25057 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25060 Make code unconditional.
25061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25062 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25063 Make code unconditional.
25064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25065 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25066 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25068 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25069 Make code unconditional.
25070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25071 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25072 (__libc_missing_posix_timers): Remove.
25074 2012-08-15 Roland McGrath <roland@hack.frob.com>
25076 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25077 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25079 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25081 * elf/dl-sym.c: Include <stdlib.h>.
25083 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25084 constants, which avoids warnings in 32-bit builds.
25086 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25087 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25089 * misc/lseek.c: File moved to ...
25090 * io/lseek.c: ... here.
25092 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25094 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25095 shifting LEN more than 31 bits at once.
25097 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25100 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25101 segmentation fault for a case of two empty input strings.
25102 * string/test-strncasecmp.c (check1): Renamed to...
25103 (bz12205): ...this.
25104 (bz14195): Add new testcase for two empty input strings and N > 0.
25105 (test_main): Call new testcase, adapt for renamed function.
25107 2012-08-15 Andreas Jaeger <aj@suse.de>
25110 * crypt/md5test2.c: New test, based on test supplied by Serge
25111 Belyshev <belyshev@depni.sinp.msu.ru>.
25112 * crypt/Makefile (xtests): Add md5test-giant..
25113 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25115 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25118 * crypt/md5.c (md5_process_block): Don't assume the buffer
25119 length is less than 2**32.
25120 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25121 length is less than 2**64.
25123 2012-08-15 Roland McGrath <roland@hack.frob.com>
25125 * string/str-two-way.h: Include <sys/param.h>.
25126 (MAX): Macro removed.
25128 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25129 Move #define and #undef of memmove to just before and after
25130 including <string.h>.
25132 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25133 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25134 and after including <string.h>. Move declarations of
25135 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25136 to before #include "string/memmove.c".
25138 * include/dirent.h: Declare __getdirentries.
25140 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25141 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25143 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25145 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25146 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25147 * sysdeps/i386/configure: Regenerated.
25148 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25149 STABS_CURRENT_FILE, and STABS_FUN.
25150 (END): Remove call to STABS_FUN_END.
25151 (STABS_CURRENT_FILE1): Delete.
25152 (STABS_CURRENT_FILE): Likewise.
25153 (STABS_FUN): Likewise.
25154 (STABS_FUN_END): Likewise.
25155 (STABS_FUN2): Likewise.
25156 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25157 * sysdeps/x86_64/configure: Regenerated.
25159 2012-08-14 Roland McGrath <roland@hack.frob.com>
25161 * elf/dl-open.c: Include <atomic.h>.
25162 * elf/dl-lookup.c: Likewise.
25164 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25166 * sysdeps/unix/sysv/linux/kernel-features.h
25167 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25168 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25170 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25172 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25173 condition on __ASSUME_CLONE_THREAD_FLAGS.
25175 2012-08-14 Andreas Jaeger <aj@suse.de>
25177 * sysdeps/i386/fpu/libm-test-ulps: Update.
25179 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25181 * include/atomic.h (atomic_exchange_and_add): Split into ...
25182 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25185 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25189 2012-08-13 Jeff Law <law@redhat.com>
25191 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25192 null byte in the output string.
25194 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25196 * sysdeps/unix/sysv/linux/kernel-features.h
25197 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25198 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25199 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25200 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25201 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25202 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25203 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25205 2012-08-09 Jeff Law <law@redhat.com>
25208 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25209 When avoid_arena is set, don't retry in the that arena. Pick the
25210 next one, whatever it might be.
25211 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25212 (arena_lock): Pass in new parameter to arena_get2.
25213 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25215 (__libc_malloc): Unify retrying after main arena failure with
25216 __libc_memalign version.
25217 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25219 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25223 to __redirect_strstr.
25224 (__strstr_sse42): Use typeof __redirect_strstr.
25225 (__strstr_ia32): Likewise.
25226 (__libc_strstr): New prototype.
25227 (strstr): Renamed to ...
25228 (__libc_strstr): This.
25229 (strstr): New strong alias of __libc_strstr.
25230 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25231 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25234 (__libc_time): New prototype.
25235 (time_ifunc): Replace time with __libc_time.
25236 (time): New strong alias and hidden definition of __libc_time.
25237 (__GI_time): Remove strong alias.
25238 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25239 Include <stddef.h>.
25240 (memmove): Redefined to __redirect_memmove.
25241 (__memmove_sse2): Use typeof __redirect_memmove.
25242 (__memmove_ssse3): Likewise.
25243 (__memmove_ssse3_back): Likewise.
25244 (__libc_memmove): New prototype.
25245 (memmove): Renamed to ...
25246 (__libc_memmove): This.
25247 (memmove): New strong alias of __libc_memmove.
25249 2012-08-08 Mark Salter <msalter@redhat.com>
25252 (R_MN10300_TLS_GD): Define.
25253 (R_MN10300_TLS_LD): Likewise.
25254 (R_MN10300_TLS_LDO): Likewise.
25255 (R_MN10300_TLS_GOTIE): Likewise.
25256 (R_MN10300_TLS_IE): Likewise.
25257 (R_MN10300_TLS_LE): Likewise.
25258 (R_MN10300_TLS_DTPMOD): Likewise.
25259 (R_MN10300_TLS_DTPOFF): Likewise.
25260 (R_MN10300_TLS_TPOFF): Likewise.
25261 (R_MN10300_SYM_DIFF): Likewise.
25262 (R_MN10300_ALIGN): Likewise.
25263 (R_MN10300_NUM): Update.
25265 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25267 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25270 2012-08-08 Roland McGrath <roland@hack.frob.com>
25272 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25274 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25275 sysdeps/unix -> sysdeps/posix move.
25276 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25278 2012-08-07 Allan McRae <allan@archlinux.org>
25281 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25282 (SUNOS_CPP): Likewise.
25283 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25285 (open_input): Call CPP using execvp.
25287 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/unix/sysv/linux/kernel-features.h
25290 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25291 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25292 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25293 (__ASSUME_WAITID_SYSCALL): Likewise.
25294 * sysdeps/unix/sysv/linux/dl-execstack.c
25295 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25296 code unconditional.
25297 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25299 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25300 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25301 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25303 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25305 [__ASSUME_WAITID_SYSCALL]: Likewise.
25306 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25308 2012-08-07 Roland McGrath <roland@hack.frob.com>
25310 * sysdeps/unix/closedir.c: Renamed to ...
25311 * sysdeps/posix/closedir.c: ... here.
25312 * sysdeps/unix/dirfd.c: Renamed to ...
25313 * sysdeps/posix/dirfd.c: ... here.
25314 * sysdeps/unix/dirstream.h: Renamed to ...
25315 * sysdeps/posix/dirstream.h: ... here.
25316 * sysdeps/unix/fdopendir.c: Renamed to ...
25317 * sysdeps/posix/fdopendir.c: ... here.
25318 * sysdeps/unix/opendir.c: Renamed to ...
25319 * sysdeps/posix/opendir.c: ... here.
25320 * sysdeps/unix/readdir.c: Renamed to ...
25321 * sysdeps/posix/readdir.c: ... here.
25322 * sysdeps/unix/readdir_r.c: Renamed to ...
25323 * sysdeps/posix/readdir_r.c: ... here.
25324 * sysdeps/unix/rewinddir.c: Renamed to ...
25325 * sysdeps/posix/rewinddir.c: ... here.
25326 * sysdeps/unix/seekdir.c: Renamed to ...
25327 * sysdeps/posix/seekdir.c: ... here.
25328 * sysdeps/unix/telldir.c: Renamed to ...
25329 * sysdeps/posix/telldir.c: ... here.
25330 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25331 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25332 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25333 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25335 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25336 * bits/fcntl.h: ... here.
25338 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25340 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25341 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25342 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25343 (struct flock): Move l_start, l_len to the beginning.
25344 Use __pid_t for l_pid.
25345 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25346 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25347 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25348 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25349 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25350 [__USE_LARGEFILE64] (struct flock64): New type.
25351 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25353 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25354 * bits/dirent.h: ... here.
25356 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25357 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25359 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25362 Change from 2.6.0 to 2.6.16.
25363 * sysdeps/unix/sysv/linux/configure: Regenerated.
25364 * sysdeps/unix/sysv/linux/kernel-features.h
25365 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25366 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25368 (__ASSUME_UTIMES): Likewise.
25369 (__ASSUME_CLONE_STOPPED): Remove.
25370 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25371 architectures, not kernel version.
25372 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25373 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25374 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25375 (__ASSUME_WAITID_SYSCALL): Likewise.
25376 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25377 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25378 * README: State 2.6.16 as minimum Linux kernel version. Do not
25379 refer to older versions.
25381 2012-08-06 Roland McGrath <roland@hack.frob.com>
25383 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25384 Define alphasort64 as an alias.
25385 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25386 Define versionsort64 as an alias.
25387 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25388 Define scandir64 as an alias.
25389 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25390 Define scandirat64 as an alias.
25391 * dirent/alphasort64.c (alphasort64):
25392 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25393 * dirent/versionsort64.c: Likewise.
25394 * dirent/scandir64.c: Likewise.
25395 * dirent/scandirat64.c: Likewise.
25396 * sysdeps/wordsize-64/alphasort.c: File removed.
25397 * sysdeps/wordsize-64/alphasort64.c: File removed.
25398 * sysdeps/wordsize-64/scandir.c: File removed.
25399 * sysdeps/wordsize-64/scandir64.c: File removed.
25400 * sysdeps/wordsize-64/scandirat.c: File removed.
25401 * sysdeps/wordsize-64/scandirat64.c: File removed.
25402 * sysdeps/wordsize-64/versionsort.c: File removed.
25403 * sysdeps/wordsize-64/versionsort64.c: File removed.
25404 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25405 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25406 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25407 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25408 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25409 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25411 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25413 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25415 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25417 [defined __arch64__ || defined __sparcv9]
25418 (__INO_T_MATCHES_INO64_T): New macro.
25419 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25420 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25421 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25422 * sysdeps/unix/sysv/linux/bits/dirent.h
25423 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25424 (_DIRENT_MATCHES_DIRENT64): New macro.
25426 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25427 Define lockf64 as an alias.
25428 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25429 Define fseeko64 as an alias.
25430 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25431 Define ftello64 as an alias.
25432 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25433 Define _IO_fgetpos64 and fgetpos64 as aliases.
25434 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25435 Define _IO_fsetpos64 and fsetpos64 as aliases.
25436 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25437 Conditionalize body on this.
25438 * libio/fseeko64.c: Likewise.
25439 * libio/ftello64.c: Likewise.
25440 * libio/iofgetpos64.c: Likewise.
25441 * libio/iofsetpos64.c: Likewise.
25442 * sysdeps/wordsize-64/lockf.c: File removed.
25443 * sysdeps/wordsize-64/lockf64.c: File removed.
25444 * sysdeps/wordsize-64/fseeko.c: File removed.
25445 * sysdeps/wordsize-64/fseeko64.c: File removed.
25446 * sysdeps/wordsize-64/ftello.c: File removed.
25447 * sysdeps/wordsize-64/ftello64.c: File removed.
25448 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25449 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25450 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25451 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25452 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25453 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25457 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25458 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25459 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25460 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25463 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25465 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25467 [defined __arch64__ || defined __sparcv9]
25468 (__OFF_T_MATCHES_OFF64_T): New macro.
25469 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25470 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25472 (__OFF_T_MATCHES_OFF64_T): New macro.
25474 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25476 * stdlib/secure-getenv.c (__secure_getenv): Replace
25477 GLIBC_2_16 with GLIBC_2_17.
25479 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25481 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25482 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25484 2012-08-03 David S. Miller <davem@davemloft.net>
25486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25488 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25490 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25492 (__ASSUME_CORRECT_SI_PID): Likewise.
25493 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25494 (__ASSUME_TMPFS_NAME): Likewise.
25495 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25496 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25497 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25498 (HAVE_AUX_SECURE): Make definition unconditional.
25499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25500 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25502 2012-08-03 Roland McGrath <roland@hack.frob.com>
25504 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25505 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25506 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25507 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25508 __eloop_threshold instead of SYMLOOP_MAX.
25510 * sysdeps/generic/eloop-threshold.h: New file.
25511 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25513 * elf/chroot_canon.c (chroot_canon): Likewise.
25515 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25518 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25519 Change to 2.6.0 everywhere.
25520 * sysdeps/unix/sysv/linux/configure: Regenerated.
25521 * sysdeps/unix/sysv/linux/kernel-features.h
25522 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25523 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25525 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25526 (__ASSUME_FUTEX_REQUEUE): Remove.
25527 (__ASSUME_STATFS64): Define unconditionally.
25528 (__ASSUME_AT_SECURE): Likewise.
25529 (__ASSUME_CORRECT_SI_PID): Likewise.
25530 (__ASSUME_TGKILL): Define without depending on kernel version for
25532 (__ASSUME_UTIMES): Likewise.
25533 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25535 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25536 (__ASSUME_TMPFS_NAME): Likewise.
25537 * README: Update reference to Linux kernel versions.
25539 2012-08-02 Marek Polacek <polacek@redhat.com>
25542 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25543 libc_cv_asm_type_prefix with %.
25544 * configure: Regenerated.
25545 * include/libc-symbols.h: Remove comment about
25546 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25547 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25548 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25549 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25550 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25551 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25552 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25553 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25554 * elf/tst-unique2mod1.c: Likewise.
25555 * elf/tst-unique1mod2.c: Likewise.
25556 * elf/tst-unique1mod1.c: Likewise.
25557 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25558 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25559 Replace ASM_TYPE_DIRECTIVE with .type.
25560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25561 * sysdeps/i386/sysdep.h: Likewise.
25562 * sysdeps/x86_64/sysdep.h: Likewise.
25563 * sysdeps/sh/sysdep.h: Likewise.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25565 Do not define ASM_TYPE_DIRECTIVE.
25566 * sysdeps/powerpc/sysdep.h: Likewise.
25567 * sysdeps/powerpc/powerpc32/sysdep.h:
25568 Replace ASM_TYPE_DIRECTIVE with .type.
25569 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25571 * sysdeps/i386/fpu/e_powf.S: Likewise.
25572 * sysdeps/i386/fpu/e_expl.S: Likewise.
25573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25575 * sysdeps/i386/fpu/e_pow.S: Likewise.
25576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25580 * sysdeps/i386/fpu/e_log2.S: Likewise.
25581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25583 * sysdeps/i386/fpu/e_powl.S: Likewise.
25584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25585 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25586 * sysdeps/i386/fpu/e_logl.S: Likewise.
25587 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25588 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25589 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25590 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25591 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25592 * sysdeps/i386/fpu/e_log.S: Likewise.
25593 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25594 * sysdeps/i386/fpu/e_logf.S: Likewise.
25595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25597 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25598 * sysdeps/i386/fpu/e_log10.S: Likewise.
25599 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25600 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25601 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25602 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25604 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25605 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25606 * sysdeps/i386/i686/strtok.S: Likewise.
25607 * sysdeps/i386/i386-mcount.S: Likewise.
25608 * sysdeps/i386/strtok.S: Likewise.
25609 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25610 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25611 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25612 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25613 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25614 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25615 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25616 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25617 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25618 * sysdeps/x86_64/_mcount.S: Likewise.
25619 * sysdeps/x86_64/strtok.S: Likewise.
25620 * sysdeps/sh/_mcount.S: Likewise.
25622 2012-08-01 Roland McGrath <roland@hack.frob.com>
25624 * libio/iofopen.c: Include <fcntl.h>.
25625 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25626 (_IO_fopen64, fopen64): Define as aliases.
25627 * libio/iofopen64.c: Include <fcntl.h>.
25628 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25629 Conditionalize body on this.
25630 * sysdeps/wordsize-64/iofopen.c: File removed.
25631 * sysdeps/wordsize-64/iofopen64.c: File removed.
25633 2012-08-01 Marek Polacek <polacek@redhat.com>
25635 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25636 Use dlfcn directly instead of a variable.
25637 (binfmt-subdir): Do not define.
25640 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25643 Remove all definitions.
25644 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25645 <kernel-features.h>.
25646 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25647 (miss_F_GETOWN_EX): Remove all definitions.
25648 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25650 [!__ASSUME_FCNTL64]: Remove conditional code.
25651 [__ASSUME_FCNTL64]: Make code unconditional.
25652 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25653 <kernel-features.h>.
25654 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25655 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25656 (lockf64) [__NR_fcntl64]: Make code unconditional.
25657 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25659 * sysdeps/unix/sysv/linux/kernel-features.h
25660 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25661 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25662 Make code unconditional.
25663 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25664 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25666 [__NR_vfork]: Make code unconditional.
25667 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25668 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25670 [__NR_vfork]: Make code unconditional.
25671 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25672 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25674 2012-08-01 Roland McGrath <roland@hack.frob.com>
25676 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25677 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25679 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25680 Define mkstemp64 as an alias.
25681 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25682 Define mkstemps64 as an alias.
25683 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25684 Define mkostemp64 as an alias.
25685 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25686 Define mkostemps64 as an alias.
25687 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25688 Conditionalize body on this.
25689 * misc/mkostemp64.c: Likewise.
25690 * misc/mkostemps64.c: Likewise.
25691 * misc/mkstemps64.c: Likewise.
25692 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25693 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25694 * sysdeps/wordsize-64/mkostemp.c: File removed.
25695 * sysdeps/wordsize-64/mkstemp.c: File removed.
25696 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25697 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25702 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25703 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25704 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25705 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25707 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25708 compat_symbol macros from <shlib-compat.h> rather than the underlying
25709 default_symbol_version and symbol_version macros, so that DEFAULT
25710 lines in shlib-versions are respected.
25711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25713 2012-08-01 Florian Weimer <fweimer@redhat.com>
25715 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25716 Declare with warn_unused_result.
25717 (setgid, setregid, setegid, setresgid): Likewise.
25718 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25720 * WUR-REPORT: Remove set*id functions.
25722 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25724 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25726 2012-07-31 Roland McGrath <roland@hack.frob.com>
25729 * include/sys/socket.h (__libc_accept, __libc_accept4):
25730 Add attribute_hidden.
25731 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25733 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25735 * inet/getnetgrent_r.c (setup): Likewise.
25737 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25739 2012-07-31 David S. Miller <davem@davemloft.net>
25741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25743 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25746 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25747 value between 1.0 and 2.0 and smaller part has absolute value less
25749 * math/s_clog10.c (__clog10): Likewise.
25750 * math/s_clog10f.c (__clog10f): Likewise.
25751 * math/s_clog10l.c (__clog10l): Likewise.
25752 * math/s_clogf.c (__clogf): Likewise.
25753 * math/s_clogl.c (__clogl): Likewise.
25754 * math/libm-test.inc (clog_test): Add more tests.
25755 (clog10_test): Likewise.
25756 * sysdeps/i386/fpu/libm-test-ulps: Update.
25757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25759 2012-07-31 Florian Weimer <fweimer@redhat.com>
25761 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25762 Exit with zero in case no suitable GID is found, and write a
25763 message to standard error.
25765 2012-07-30 Roland McGrath <roland@hack.frob.com>
25767 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25769 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25770 (MAXPATHLEN): Removed.
25771 (NOGROUP, NODEV): New macros.
25772 (setbit, clrbit, isset, isclr): New macros.
25773 (howmany, roundup, powerof2): New macros.
25774 (DEV_BSIZE): New macro.
25776 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25777 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25779 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25780 definition on [!__NO_LONG_DOUBLE_MATH].
25782 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25783 PTR_MANGLE and PTR_DEMANGLE.
25785 * socket/accept4.c (accept4): Rename to __libc_accept4.
25786 Define accept4 as a weak alias.
25788 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25789 on [_DIRENT_HAVE_D_TYPE].
25790 * io/ftw.c (ftw_dir): Likewise.
25792 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25794 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25796 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25797 Use the BSD numbers rather than the arbitrary ones we had.
25798 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25799 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25800 (SIGXCPU, SIGXFSZ): New macros.
25803 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25804 initializer on [_LIBC_REENTRANT].
25806 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25807 definitions inside [_POSIX_MAPPED_FILES].
25809 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25811 * dirent/opendir.c: Include <fcntl.h>.
25813 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25814 (__libc_getspecific): Likewise.
25815 (__libc_key_create): Likewise.
25817 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25818 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25819 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25820 (tmpfile64): Define as alias.
25821 * sysdeps/wordsize-64/tmpfile.c: File removed.
25822 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25826 * stdio-common/vfscanf.c: Include <stdbool.h>.
25827 * nss/makedb.c: Likewise.
25828 * stdio-common/_i18n_number.h: Likewise.
25829 * argp/argp-help.c: Likewise.
25830 * posix/wordexp.c: Likewise.
25831 * sysdeps/posix/spawni.c: Likewise.
25832 * nss/nss_files/files-initgroups.c: Likewise.
25833 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25834 * nss/nss_files/files-initgroups.c: Likewise.
25835 * nss/nss_db/db-netgrp.c: Likewise.
25836 * nss/nss_db/db-initgroups.c: Likewise.
25837 * io/fchmodat.c: Include <sys/stat.h>.
25839 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25840 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25842 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25845 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25846 Add multiple inclusion protection.
25848 2012-07-27 David S. Miller <davem@davemloft.net>
25850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25852 2012-07-27 Gary Benson <gbenson@redhat.com>
25855 * elf/rtld.c: Include <stap-probe.h>.
25856 (dl_main): Added static probes "init_start" and "init_complete".
25857 * elf/dl-load.c: Include <stap-probe.h>.
25858 (lose): Take new parameter "nsid".
25859 Added static probe "map_failed".
25860 (_dl_map_object_from_fd): Pass namespace id to lose.
25861 Added static probe "map_start".
25862 (open_verify): Pass namespace id to lose.
25863 * elf/dl-open.c: Include <stap-probe.h>.
25864 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25865 and "reloc_complete".
25866 * elf/dl-close.c: Include <stap-probe.h>.
25867 (_dl_close_worker): Added static probes "unmap_start" and
25869 * elf/rtld-debugger-interface.txt: New file documenting the above.
25871 2012-07-26 Roland McGrath <roland@hack.frob.com>
25873 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25874 rather than a string variable.
25875 * sunrpc/rpc_main.c (h_output): Likewise.
25876 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25878 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25880 * inet/check_native.c: New file.
25882 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25885 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25886 if larger part has absolute value 1.0.
25887 * math/s_clog10.c (__clog10): Likewise.
25888 * math/s_clog10f.c (__clog10f): Likewise.
25889 * math/s_clog10l.c (__clog10l): Likewise.
25890 * math/s_clogf.c (__clogf): Likewise.
25891 * math/s_clogl.c (__clogl): Likewise.
25892 * math/libm-test.inc (clog_test): Add more tests.
25893 (clog10_test): Likewise.
25894 * sysdeps/i386/fpu/libm-test-ulps: Update.
25895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25897 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25898 (pltexit): Likewise.
25899 (La_regs): Likewise.
25900 (La_retval): Likewise.
25901 (int_retval): Likewise.
25902 Update #error for removed macros to refer only to definitions in
25904 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25906 (pltexit): Likewise.
25907 (La_regs): Likewise.
25908 (La_retval): Likewise.
25909 (int_retval): Likewise.
25910 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25912 (pltexit): Likewise.
25913 (La_regs): Likewise.
25914 (La_retval): Likewise.
25915 (int_retval): Likewise.
25916 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25918 (pltexit): Likewise.
25919 (La_regs): Likewise.
25920 (La_retval): Likewise.
25921 (int_retval): Likewise.
25922 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25924 (pltexit): Likewise.
25925 (La_regs): Likewise.
25926 (La_retval): Likewise.
25927 (int_retval): Likewise.
25928 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25930 (pltexit): Likewise.
25931 (La_regs): Likewise.
25932 (La_retval): Likewise.
25933 (int_retval): Likewise.
25934 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25936 (pltexit): Likewise.
25937 (La_regs): Likewise.
25938 (La_retval): Likewise.
25939 (int_retval): Likewise.
25940 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25941 macro definitions in tst-audit.h.
25942 * sysdeps/i386/tst-audit.h: New file.
25943 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25944 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25945 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25946 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25947 * sysdeps/sh/tst-audit.h: Likewise.
25948 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25949 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25950 * sysdeps/x86_64/tst-audit.h: Likewise.
25952 2012-07-26 Andreas Jaeger <aj@suse.de>
25954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25957 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25958 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25959 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25961 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25962 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25963 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25965 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25968 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25970 (si_call_addr, si_syscall, si_arch): Define new macro.
25971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25973 (si_call_addr, si_syscall, si_arch): Define new marcro.
25974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25976 (si_call_addr, si_syscall, si_arch): Define new macro.
25977 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25979 (si_call_addr, si_syscall, si_arch): Define new macro.
25981 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25985 Change to 2.4.21 where previously 2.4.1.
25986 * sysdeps/unix/sysv/linux/configure: Regenerated.
25987 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25988 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25989 Linux kernel version.
25990 (__ASSUME_STD_AUXV): Remove.
25991 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25993 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25994 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25995 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25996 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25997 (__ASSUME_NETLINK_SUPPORT): Likewise.
25998 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25999 (__no_netlink_support): Remove conditional definition.
26000 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26002 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26003 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26004 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26005 (if_nameindex_ioctl): Remove.
26006 (if_nameindex_netlink): Do not handle __no_netlink_support.
26007 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26009 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26010 Remove conditional code.
26011 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26013 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26015 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26016 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26017 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26019 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26020 [!__ASSUME_STD_AUXV]: Remove conditional code.
26021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26022 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26023 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26025 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26026 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26028 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26030 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26031 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26033 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26035 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26038 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26041 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26042 code unconditional.
26043 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26045 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26047 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26050 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26052 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26055 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26056 code unconditional.
26057 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26059 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26061 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26064 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26065 code unconditional.
26066 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26068 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26070 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26073 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26075 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26076 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26077 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26078 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26079 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26080 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26081 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26082 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26083 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26084 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26085 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26086 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26087 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26088 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26091 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26093 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26095 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26099 2012-07-25 Florian Weimer <fweimer@redhat.com>
26101 * Versions.def: Add GLIBC_2.17.
26102 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26103 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26104 Introduce __libc_secure_getenv.
26105 * stdlib/Versions (2.17): Add secure_getenv
26106 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26107 * stdlib/secure-getenv.c: Rename __secure_getenv to
26108 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26109 symbol __secure_getenv for GLIBC_2.0.
26110 * stdlib/tst-secure-getenv.c: New.
26111 * stdlib/Makefile (tests): Add testcase.
26112 * manual/startup.texi (Environment Access): Document
26114 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26115 __libc_secure_getenv.
26116 * inet/ruserpass.c (ruserpass): Likewise.
26117 * malloc/mtrace.c (mtrace): Likewise.
26118 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26119 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26120 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26121 * sysdeps/posix/tempname.c: Likewise. Evaluate
26122 HAVE_SECURE_GETENV.
26123 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26124 __secure_getenv to __libc_secure_getenv.
26125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26138 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26140 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26141 (struct La_i86_retval): Likewise.
26142 (struct La_x86_64_regs): Likewise.
26143 (struct La_x86_64_retval): Likewise.
26144 (struct La_x32_regs): Likewise.
26145 (struct La_x32_retval): Likewise.
26146 (struct La_ppc32_regs): Likewise.
26147 (struct La_ppc32_retval): Likewise.
26148 (struct La_ppc64_regs): Likewise.
26149 (struct La_ppc64_retval): Likewise.
26150 (struct La_sh_regs): Likewise.
26151 (struct La_sh_retval): Likewise.
26152 (struct La_s390_32_regs): Likewise.
26153 (struct La_s390_32_retval): Likewise.
26154 (struct La_s390_64_regs): Likewise.
26155 (struct La_s390_64_retval): Likewise.
26156 (struct La_sparc32_regs): Likewise.
26157 (struct La_sparc32_retval): Likewise.
26158 (struct La_sparc64_regs): Likewise.
26159 (struct La_sparc64_retval): Likewise.
26160 (struct audit_ifaces): Remove architecture-specific pltenter and
26162 * sysdeps/i386/ldsodefs.h: New file.
26163 * sysdeps/powerpc/ldsodefs.h: Likewise.
26164 * sysdeps/s390/ldsodefs.h: Likewise.
26165 * sysdeps/sh/ldsodefs.h: Likewise.
26166 * sysdeps/sparc/ldsodefs.h: Likewise.
26167 * sysdeps/x86_64/ldsodefs.h: Likewise.
26169 2012-07-25 Marek Polacek <polacek@redhat.com>
26172 * math/libm-test.inc (yn_test): Add another test.
26173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26174 to ERANGE when the result is +-Inf.
26175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26176 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26177 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26178 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26180 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26182 * conform/data/time.h-data (NULL): Use macro-constant. Require
26184 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26186 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26188 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26190 * configure.in <sysdeps resolving>: Correct printing
26192 * configure: Regenerate.
26194 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26196 * math/w_ilogb.c: Include <limits.h>.
26197 * math/w_ilogbl.c: Likewise.
26199 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26201 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26202 va_copy. Document allowing for unavailable va_copy only as
26203 pre-C99 compatibility.
26204 * manual/string.texi (Copying and Concatenation): Use va_copy
26205 instead of __va_copy in concat example.
26207 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26209 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26210 (__sendto): Use create_address_port. Initialize APORT and deallocate
26213 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26214 with O_NOLINK passed to __file_name_lookup.
26216 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26217 with O_NOLINK passed to __file_name_lookup.
26219 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26220 negative N or less than NGIDS.
26222 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26223 type to string_t. Set ERANGE as errno and return it if NAME is not big
26224 enough. Use memcpy instead of strncpy.
26226 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26228 * elf/Makefile (check-data): Remove.
26229 (localplt.data): New vpath directive.
26230 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26231 instead of $(check-data).
26232 * scripts/data/localplt-generic.data: Move to ...
26233 * sysdeps/generic/localplt.data: ... here.
26234 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26235 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26236 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26239 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26242 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26245 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26248 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26251 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26255 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26257 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26258 PPC32 and PPC64 files.
26259 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26260 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26262 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26264 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26265 __makecontext_ret to ...
26266 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26267 ... here and call exit if uc_link is NULL. New file.
26268 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26269 __makecontext_ret.S.
26270 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26271 __makecontext_ret to ...
26272 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26273 ... here and call exit if uc_link is NULL. New file.
26274 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26275 __makecontext_ret.S.
26277 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26279 * elf/elf.h (R_390_IRELATIVE): New definition.
26280 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26281 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26282 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26283 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26284 (elf_machine_lazy_rel): Likewise.
26285 * sysdeps/s390/dl-irel.h: New file.
26286 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26287 * sysdeps/s390/s390-64/memset.S: New asm code.
26288 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26289 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26290 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26291 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26292 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26293 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26295 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26296 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26297 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26298 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26299 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26300 * sysdeps/s390/s390-32/memset.S: New asm code.
26301 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26303 2012-07-17 Marek Polacek <polacek@redhat.com>
26306 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26307 * sysdeps/s390/s390-64/configure.in: Likewise.
26308 * sysdeps/sparc/configure.in: Likewise.
26309 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26310 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26311 * sysdeps/i386/configure.in: Likewise.
26312 * sysdeps/x86_64/configure.in: Likewise.
26313 * sysdeps/sh/configure.in: Likewise.
26314 * sysdeps/s390/s390-32/configure: Regenerated.
26315 * sysdeps/s390/s390-64/configure: Likewise.
26316 * sysdeps/x86_64/configure: Likewise.
26317 * sysdeps/sh/configure: Likewise.
26318 * sysdeps/powerpc/powerpc64/configure: Likewise.
26319 * sysdeps/powerpc/powerpc32/configure: Likewise.
26320 * sysdeps/sparc/configure: Likwise.
26321 * sysdeps/i386/configure: Likewise.
26323 * elf/dl-open.c: Comment fixes.
26325 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26327 * Makefile [CXX] (check-data): Remove.
26328 [CXX] (c++-types.data): New vpath directive.
26329 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26330 vpath. Do not allow for C++ type data being missing.
26331 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26332 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26333 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26334 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26335 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26336 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26337 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26340 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26343 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26346 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26349 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26352 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26355 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26358 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26361 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26362 definitions to architecture-specific files.
26363 (TLS_IE): Likewise.
26364 (TLS_LD): Likewise.
26365 (TLS_GD): Likewise.
26366 * sysdeps/i386/tls-macros.h: New file.
26367 * sysdeps/powerpc/tls-macros.h: Likewise.
26368 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26369 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26370 * sysdeps/sh/tls-macros.h: Likewise.
26371 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26372 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26373 * sysdeps/x86_64/tls-macros.h: Likewise.
26375 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26378 zero value for regular exit case.
26380 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26381 (__start_context): Preserve zero value for regular exit case.
26383 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26384 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26386 * manual/setjmp.texi (setcontext): Clarify normal process
26387 termination when uc_link is the null pointer.
26388 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26391 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26393 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26394 preprocessor. Test for each exception mask separately.
26396 2012-07-16 Andreas Jaeger <aj@suse.de>
26398 * po/ru.po: Update from translation team.
26400 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26402 * conform/data/string.h-data (NULL): Use macro-constant. Require
26404 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26405 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26406 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26407 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26410 2012-07-13 Andreas Jaeger <aj@suse.de>
26412 * po/fr.po: Update from translation team.
26414 2012-07-12 Marek Polacek <polacek@redhat.com>
26417 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26421 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26425 Change to 2.4.1 where previously 2.4.0.
26426 * sysdeps/unix/sysv/linux/configure: Regenerated.
26427 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26428 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26430 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26431 (__ASSUME_AT_CLKTCK): Remove.
26432 (__ASSUME_AT_PAGESIZE): Likewise.
26433 (__ASSUME_AT_XID): Likewise.
26434 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26435 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26436 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26438 (HAVE_AUX_PAGESIZE): Likewise.
26439 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26440 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26441 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26443 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26447 the temporary buffer used to invoke __gethostbyname2_r,
26448 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26449 host_data / struct gaih_addrtuple.
26450 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26451 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26452 header file nss/nsswitch.h.
26453 * nss/nsswitch.h (global scope): Add definition of implementation
26454 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26455 resolv/nss_dns/dns-host.c).
26457 2012-07-11 Andreas Jaeger <aj@suse.de>
26459 * po/fr.po: Update from translation team.
26461 * po/sv.po: Update from translation team
26462 * po/fr.po: Another update from translation team.
26464 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26466 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26467 for subnormals or multiply small sinh result by itself.
26468 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26471 2012-07-11 David S. Miller <davem@davemloft.net>
26473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26475 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26478 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26479 (INTERNAL_MARK): Shift it here.
26481 2012-07-10 Marek Polacek <polacek@redhat.com>
26484 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26485 libc_cv_asm_global_directive with .globl.
26486 * configure: Regenerated.
26487 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26489 * sysdeps/i386/configure: Regenerated.
26490 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26492 * sysdeps/x86_64/configure: Regenerated.
26493 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26494 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26495 * elf/tst-unique2mod2.c: Likewise.
26496 * elf/tst-unique2mod1.c: Likewise.
26497 * elf/tst-unique1mod2.c: Likewise.
26498 * elf/tst-unique1mod1.c: Likewise.
26499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26500 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26502 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26503 * sysdeps/mach/sysdep.h: Likewise.
26504 * sysdeps/i386/sysdep.h: Likewise.
26505 * sysdeps/i386/i386-mcount.S: Likewise.
26506 * sysdeps/x86_64/_mcount.S: Likewise.
26507 * sysdeps/x86_64/sysdep.h: Likewise.
26508 * sysdeps/sh/_mcount.S: Likewise.
26509 * sysdeps/sh/sysdep.h: Likewise.
26510 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26511 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26512 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26514 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26515 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26516 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26517 * locale/localeinfo.h: Likewise.
26518 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26519 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26521 2012-07-09 Roland McGrath <roland@hack.frob.com>
26524 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26526 * manual/message.texi (The Uniforum approach): Likewise.
26527 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26528 (glibc iconv Implementation): Likewise.
26530 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26533 * math/s_clog.c (__clog): Avoid scaling a value down where that
26534 could result in underflow.
26535 * math/s_clog10.c (__clog10): Likewise.
26536 * math/s_clog10f.c (__clog10f): Likewise.
26537 * math/s_clog10l.c (__clog10l): Likewise.
26538 * math/s_clogf.c (__clogf): Likewise.
26539 * math/s_clogl.c (__clogl): Likewise.
26540 * math/libm-test.inc (clog_test): Add more tests.
26541 (clog10_test): Likewise.
26542 * sysdeps/i386/fpu/libm-test-ulps: Update.
26543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26545 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26548 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26549 by 7 not 8 to examine high bit of fractional part.
26552 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26553 for call to __mcount_internal.
26554 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26555 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26556 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26558 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26561 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26562 approximation for values within 0x1p-13f of an odd multiple of
26564 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26565 exception. Add more tests.
26566 * sysdeps/i386/fpu/libm-test-ulps: Update.
26569 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26570 inputs and return -1 for them. Do not check for +Inf in case not
26571 reachable for +Inf.
26572 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26573 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26575 and return -1 for them. Do not check for +Inf in case not
26576 reachable for +Inf.
26577 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26580 and return -1 for them. Do not check for +Inf in case not
26581 reachable for +Inf.
26582 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26583 spurious underflow.
26584 * sysdeps/i386/fpu/libm-test-ulps: Update.
26585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26587 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26589 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26591 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26595 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26596 could result in spurious underflow. Scale down values above
26597 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26598 * math/s_csqrtf.c (__csqrtf): Likewise.
26599 * math/s_csqrtl.c (__csqrtl): Likewise.
26600 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26601 spurious underflow.
26602 * sysdeps/i386/fpu/libm-test-ulps: Update.
26603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26607 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26609 * catgets/xopen-msg.awk: New file.
26610 * catgets/xopen-msg.sed: Removed.
26612 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26614 * intl/po2test.awk: New file.
26615 * intl/po2test.sed: Removed.
26617 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26620 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26621 or multiply small sinh result by itself.
26622 * math/s_ctanf.c (__ctanf): Likewise.
26623 * math/s_ctanh.c (__ctanh): Likewise.
26624 * math/s_ctanhf.c (__ctanhf): Likewise.
26625 * math/s_ctanhl.c (__ctanhl): Likewise.
26626 * math/s_ctanl.c (__ctanl): Likewise.
26627 * math/libm-test.inc (ctan_test_tonearest): New function.
26628 (ctan_test_towardzero): Likewise.
26629 (ctan_test_downward): Likewise.
26630 (ctan_test_upward): Likewise.
26631 (ctanh_test_tonearest): Likewise.
26632 (ctanh_test_towardzero): Likewise.
26633 (ctanh_test_downward): Likewise.
26634 (ctanh_test_upward): Likewise.
26635 (main): Call these new functions.
26636 * sysdeps/i386/fpu/libm-test-ulps: Update.
26637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26639 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26641 * .gitignore: Delete /ports entry.
26643 2012-07-03 Andreas Jaeger <aj@suse.de>
26645 * po/bg.po: Update from translation team.
26646 * po/cs.po: Likewise.
26647 * po/de.po: Likewise.
26648 * po/hr.po: Likewise.
26649 * po/nl.pl: Likewise.
26650 * po/pl.po: Likewise.
26651 * po/vi.po: Likewise.
26653 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26655 * Makeconfig [!+link] (+link-before-libc): New variable.
26656 [!+link] (+link-after-libc): Likewise.
26657 [!+link] (+link-tests): Likewise.
26658 [!+link] (+link): Define in terms of $(+link-before-libc) and
26659 $(+link-after-libc).
26660 [!+link-static] (+link-static-before-libc): New variable.
26661 [!+link-static] (+link-static-after-libc): Likewise.
26662 [!+link-static] (+link-static-tests): Likewise.
26663 [!+link-static] (+link-static): Define in terms of
26664 $(+link-static-before-libc) and $(+link-static-after-libc).
26665 [build-shared] (link-libc-before-gnulib): New variable.
26666 [build-shared] (link-libc-tests): Likewise.
26667 [build-shared] (link-libc): Define in terms of
26668 $(link-libc-before-gnulib).
26669 [!build-shared] (link-libc-tests): New variable.
26670 (link-libc-static-tests): New variable.
26671 [!gnulib] (gnulib-arch): New variable.
26672 [!gnulib] (gnulib-tests): Likewise.
26673 [!gnulib] (static-gnulib-arch): Likewise.
26674 [!gnulib] (static-gnulib-tests): Likewise.
26675 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26676 Define with "=" instead of ":=".
26677 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26678 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26679 * Rules (binaries-all-notests): New variable.
26680 (binaries-all-tests): Likewise.
26681 (binaries-static-notests): Likewise.
26682 (binaries-static-tests): Likewise.
26683 (binaries-all): Define using $(binaries-all-notests) and
26684 $(binaries-all-tests).
26685 (binaries-static): Define using $(binaries-static-notests) and
26686 $(binaries-static-tests).
26687 (binaries-shared-tests): New variable.
26688 (binaries-shared-notests): Likewise.
26689 (binaries-shared): Remove variable.
26690 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26691 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26692 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26693 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26694 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26695 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26696 * elf/Makefile (sln-modules): New variable.
26697 (extra-objs): Add $(sln-modules:=.o).
26698 (ldconfig-modules): Add static-stubs.
26699 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26700 * elf/static-stubs.c: New file.
26703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26704 by 7 not 8 to examine high bit of fractional part. Use volatile
26705 variables when splitting into final array of floats if
26706 __FLT_EVAL_METHOD__ != 0.
26707 * math/libm-test.inc (cos_test): Add another test.
26708 (sin_test): Likewise.
26709 * sysdeps/i386/fpu/libm-test-ulps: Update.
26712 * math/libm-test.inc (cosh_test): Add more tests.
26714 * version.h (RELEASE): Set to "development".
26715 (VERSION): Set to "2.16.90".
26717 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26719 * NEWS: Update copyright. Remove last-updated date.
26720 Mention math library bug fixes and timezone data changes.
26721 * README: Mention GNU/Hurd, x32, and HPPA support status.
26723 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26725 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26727 2012-06-27 Andreas Jaeger <aj@suse.de>
26729 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26731 2012-06-25 Andreas Jaeger <aj@suse.de>
26733 * sysdeps/s390/fpu/libm-test-ulps: Update.
26735 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26736 Thomas Schwinge <thomas@codesourcery.com>
26738 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26739 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26743 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26745 * sysdeps/mach/start.c: Remove file.
26746 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26747 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26748 * sysdeps/sh/init-first.c: Likewise.
26750 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26751 registers for frame unwinding purposes, add CFI directives.
26752 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26754 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26757 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26758 __fortify_fail returning.
26759 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26762 sysdeps/sh/____longjmp_chk.S.
26763 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26764 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26765 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26766 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26768 * sysdeps/sh/abort-instr.h: New file.
26769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26770 process in case exit returns.
26772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26773 initialize the GOT register before use.
26775 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26776 calculation of ARGC > 4.
26778 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26779 meaningful names to some local labels.
26781 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26782 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26784 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26785 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26786 (__arch_compare_and_exchange_val_16_acq): Likewise.
26787 (__arch_compare_and_exchange_val_32_acq): Likewise.
26788 (atomic_exchange_and_add): Fix gUSA sequence.
26789 (atomic_add): Likewise.
26790 (atomic_add_negative): Likewise.
26791 (atomic_add_zero): Likewise.
26792 (atomic_bit_test_set): Likewise.
26794 2012-06-22 Andreas Schwab <schwab@redhat.com>
26797 * include/link.h (struct link_map): Add l_free_initfini.
26798 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26800 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26801 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26802 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26805 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26807 * configure.in: Use AC_LANG_SOURCE.
26808 * configure: Regenerate.
26810 2012-06-22 Roland McGrath <roland@hack.frob.com>
26812 * configure.in (libc_cv_localstatedir): New substituted variable.
26813 * configure: Regenerated.
26814 * config.make.in (localstatedir): New variable, substituted from
26815 libc_cv_localstatedir.
26816 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26817 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26818 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26819 * sysdeps/gnu/configure: Regenerated.
26821 2012-06-21 Jeff Law <law@redhat.com>
26824 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26825 free. Simplify list management for _LIBC case.
26827 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26830 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26831 Clear sign bit of 64-bit integer value before comparing against
26834 * sysdeps/mach/configure: Regenerated.
26836 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26839 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26841 2012-06-21 Jeff Law <law@redhat.com>
26844 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26845 uint16_t for elements in the "seen" array to avoid char overflows.
26846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26847 * elf/dl-open.c (dl_open_worker): Likewise.
26849 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26851 * scripts/list-sources.sh: Scan PORTS for translations.
26852 * po/libc.pot: Regenerated.
26854 2012-06-21 Andreas Jaeger <aj@suse.de>
26857 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26859 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26860 * bits/byteswap-16.h (__bswap_16): Likewise.
26861 * bits/byteswap.h (__bswap_constant_16): Likewise.
26863 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26866 * sysdeps/i386/fpu_control.h: Removed.
26867 * sysdeps/x86_64/fpu_control.h: Moved to ...
26868 * sysdeps/x86/fpu_control.h: Here.
26870 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26871 (_FPU_SETCW): Likewise.
26873 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26876 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26877 * sysdeps/x86/fpu/bits/mathinline.h: This.
26878 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26882 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26883 functions if __x86_64__ is defined.
26885 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26887 * string/endian.h: Add !__ASSEMBLER__ condition for including
26888 conversion interfaces.
26890 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26894 of ABS(x) in calculating zero to negative powers other than odd
26896 * math/libm-test.inc (pow_test): Add more tests.
26898 2012-06-15 Andreas Jaeger <aj@suse.de>
26900 * manual/contrib.texi (Contributors): Update entry of Liubov
26901 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26904 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26906 * string/string.h: Add __wur to GNU version of strerror_r.
26908 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26911 * string/Makefile (tests): Add tst-strtok_r.
26912 * string/tst-strtok_r.c: New file.
26913 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26914 RAX_LP/RDX_LP on SAVE_PTR.
26916 2012-06-14 Roland McGrath <roland@hack.frob.com>
26918 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26920 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26922 * libm_test.inc (csqrt_test): Allow more spurious underflow
26924 (j0_test): Likewise.
26925 (j1_test): Likewise.
26926 (y0_test): Likewise.
26927 (y1_test): Likewise.
26929 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26931 * po/Makefile (libc.pot): Use UTF-8 charset.
26933 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26936 Suppress sign-conversion warning from FD_SET.
26937 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26938 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26939 not unsigned long int.
26940 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26942 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26946 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26947 __extern_always_inline instead of __extern_inline.
26948 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26949 (__signbit): Likewise.
26950 (__signbitl): Support C++ namespace.
26951 (lrintf): New inline function.
26953 (llrintf): Likewise.
26954 (llrint): Likewise.
26964 (floorf): Likewise.
26965 (nearbyint): Likewise.
26966 (nearbyintf): Likewise.
26968 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26970 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26971 non-default versions.
26973 2012-06-11 Roland McGrath <roland@hack.frob.com>
26976 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26978 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26980 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26981 (FE_UPWARD, FE_DOWNWARD): Don't define.
26982 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26985 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26987 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26990 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26995 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26997 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27000 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27001 * sysdeps/i386/fpu/Implies: New file.
27002 * sysdeps/x86_64/fpu/Implies: Likewise.
27003 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27004 * sysdeps/x86/fpu/bits/fenv.h: This.
27006 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27009 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27012 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27013 character 0xffff that matches the last element of the
27016 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27021 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27024 values higher than 25.6283.
27026 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27029 subnormal exponent extraction and add some __builtin_expect.
27030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27031 Fix for subnormal mantissa calculation.
27033 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27035 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27036 cpu2 is -1 and errno is not ENOSYS.
27038 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27041 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27042 * sysdeps/x86/bits/string.h: This.
27043 * sysdeps/x86_64/bits/string.h: Removed.
27045 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27046 if not compiling for x86-64, but compiling for >= i486.
27048 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27049 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27052 New macro from Linux kernel 3.4.0.
27053 (FP_XSTATE_MAGIC2): Likewise.
27054 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27055 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27056 (struct _fpx_sw_bytes): New struct.
27057 (struct _xsave_hdr): Likewise.
27058 (struct _ymmh_state): Likewise.
27059 (struct _xstate): Likewise.
27061 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27062 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27063 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27064 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27066 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27068 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27069 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27070 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27071 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27072 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27073 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27075 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27078 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27079 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27080 (sysdep_headers): Include sys/platform/ppc.h.
27081 * sysdeps/powerpc/test-gettimebase.c: Test for
27082 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27083 * manual/Makefile (appendices): Include platform.texi.
27084 * manual/contrib.texi (Contributors): Update @node pointers.
27085 * manual/maint.texi (Maintenance): Likewise.
27086 (Platform): New node.
27087 * manual/platform.texi: New file. Document the new features.
27089 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27090 Jakub Jelinek <jakub@redhat.com>
27093 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27094 where __builtin_expect is unavailable.
27096 2012-06-03 David S. Miller <davem@davemloft.net>
27098 * stdlib/longlong.h: Updated from GCC.
27100 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27103 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27104 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27107 (GLIBC_2.16): Likewise.
27109 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27113 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27116 (default-abi): New variable.
27117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27118 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27120 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27122 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27124 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27127 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27128 definition. Document in comment.
27130 2012-06-01 David S. Miller <davem@davemloft.net>
27132 * stdlib/longlong.h: Updated from GCC.
27134 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27137 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27138 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27139 sys/debugreg.h sys/io.h here.
27140 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27141 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27143 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27144 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27145 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27146 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27147 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27148 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27150 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27151 Define only if __x86_64__ is defined.
27153 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27156 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27157 Use int64_t for variable i.
27158 * math/libm-test.inc (fmod_test): Add more tests.
27160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27161 z computation is not scheduled after fetestexcept.
27162 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27163 Use math_force_eval instead of asm to ensure calculation scheduled
27164 before exception test.
27165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27166 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27168 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27171 computation is not scheduled after fetestexcept.
27173 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27176 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27177 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27179 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27181 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27182 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27184 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27187 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27189 (__WCHAR_MIN): Support __WORDSIZE == 64.
27190 (__WCHAR_MAX): Likewise.
27192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27196 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27197 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27200 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27201 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27204 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27206 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27207 Defined to 1 if __x86_64__ isn't defined.
27208 (_STAT_VER_LINUX_OLD): New.
27209 (st_atime): Remove duplicate.
27210 (st_mtime): Likewise.
27211 (st_ctime): Likewise.
27213 2012-05-31 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27218 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27220 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27224 * elf/dl-reloc.c: Include <_itoa.h>.
27225 (_dl_reloc_bad_type): Remove use of INTUSE.
27226 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27227 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27228 * stdio-common/psiginfo.c (psiginfo): Likewise.
27229 * stdio-common/psignal.c (psignal): Likewise.
27230 * string/strsignal.c (strsignal): Likewise.
27231 * include/signal.h (_sys_siglist): Declare hidden proto.
27232 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27233 INTVARDEF with libc_hidden_data_def.
27234 * stdio-common/itoa-udigits.c: Likewise.
27235 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27236 (_itoa_lower_digits_internal): Remove declaration.
27237 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27238 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27239 (_sys_sigabbrev_internal): Remove aliases.
27240 (_sys_siglist): Define hidden alias.
27242 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27247 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27250 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27251 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27253 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27254 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27255 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27256 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27258 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27260 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27261 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27262 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27272 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27276 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27277 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27279 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27280 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27281 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27283 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27284 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27286 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27287 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27293 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27294 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27296 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27298 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27299 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27300 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27302 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27304 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27306 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27308 * math/math.h (M_El): Use two more decimal places.
27309 (M_LOG2El): Likewise.
27310 (M_LOG10El): Likewise.
27311 (M_LN2l): Likewise.
27312 (M_LN10l): Likewise.
27314 (M_PI_2l): Likewise.
27315 (M_PI_4l): Likewise.
27316 (M_1_PIl): Likewise.
27317 (M_2_PIl): Likewise.
27318 (M_2_SQRTPIl): Likewise.
27319 (M_SQRT2l): Likewise.
27320 (M_SQRT1_2l): Likewise.
27322 2012-05-31 David S. Miller <davem@davemloft.net>
27324 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27325 values between float registers.
27326 * sysdeps/sparc/sparc64/memset.S: Likewise.
27327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27329 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27331 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27332 -D_FORTIFY_SOURCE=1.
27333 (CPPFLAGS-tst-longjmp_chk.c): Define.
27334 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27335 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27336 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27337 CFLAGS-tst-wchar-h.c.
27339 2012-05-31 Marek Polacek <polacek@redhat.com>
27342 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27343 __endmntent_internal): Remove declaration.
27344 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27345 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27346 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27348 2012-05-30 David S. Miller <davem@davemloft.net>
27350 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27351 (___Q_simulate_exceptions): Use real FP ops rather than writing
27353 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27356 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27359 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27360 * sysdeps/x86/bits/xtitypes.h: This.
27362 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27363 * sysdeps/x86/bits/wordsize.h: This.
27365 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27366 * sysdeps/x86/bits/huge_vall.h: This.
27368 * sysdeps/i386/bits/select.h: Removed.
27369 * sysdeps/x86_64/bits/select.h: Renamed to ...
27370 * sysdeps/x86/bits/select.h: This.
27372 * sysdeps/i386/bits/setjmp.h: Removed.
27373 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27374 * sysdeps/x86/bits/setjmp.h: This.
27376 * sysdeps/i386/bits/mathdef.h: Removed.
27377 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27378 * sysdeps/x86/bits/mathdef.h: This.
27380 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27383 * include/sys/socket.h (__connect_internal)
27384 (__libc_sa_len_internal): Remove declaration.
27385 (__connect, __libc_sa_len): Declare hidden_proto.
27386 (SA_LEN): Remove use of INTUSE.
27387 * socket/connect.c: Add libc_hidden_def.
27388 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27389 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27390 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27392 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27394 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27395 of adding _internal alias.
27397 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27400 * sysdeps/i386/bits/link.h: Removed.
27401 * sysdeps/i386/bits/linkmap.h: Likewise.
27402 * sysdeps/x86_64/bits/link.h: Renamed to ...
27403 * sysdeps/x86/bits/link.h: This.
27404 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27405 * sysdeps/x86/bits/linkmap.h: This.
27407 * sysdeps/i386/bits/endian.h: Removed.
27408 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27409 * sysdeps/x86/bits/endian.h: This.
27411 * sysdeps/i386/bits/byteswap.h: Removed.
27412 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27413 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27414 * sysdeps/x86/bits/byteswap.h: This.
27415 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27416 * sysdeps/x86/bits/byteswap-16.h: This.
27417 * sysdeps/i386/Implies: Add x86.
27418 * sysdeps/x86_64/Implies: Likewise.
27420 2012-05-30 David S. Miller <davem@davemloft.net>
27422 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27423 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27424 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27425 (FP_TRAPPING_EXCEPTIONS): Define.
27426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27427 (FP_TRAPPING_EXCEPTIONS): Define.
27428 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27429 subnormals only when inexact has been signalled or underflow
27430 exceptions are enabled.
27431 (_FP_PACK_CANONICAL): Likewise.
27433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27437 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27439 2012-05-30 Richard Henderson <rth@twiddle.net>
27441 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27442 with #ifndef NOT_IN_libc.
27444 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27445 marked to avoid plt entry.
27447 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27450 * Makeconfig (default-abi): New macro.
27451 (abi-includes): Likewise.
27452 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27453 $(abi-$(default-abi)-lib-soname) for soname if defined.
27454 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27456 * Makefile (installed-stubs): Likewise.
27457 * include/stubs-biarch.h: Removed.
27458 * scripts/lib-names.awk: Only handle one library at a time.
27459 * scripts/soversions.awk: Remove WORDSIZE support.
27460 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27462 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27464 (syscall-list-default-condition): Likewise.
27465 (syscall-list-default-condition): Likewise.
27466 (syscall-list-includes): Likewise.
27467 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27468 syscall-list-* with abi-*. Handle undefined abi-variants.
27469 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27470 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27471 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27472 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27473 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27474 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27476 (syscall-list-32-options): Likewise.
27477 (syscall-list-32-condition): Likewise.
27478 (syscall-list-64-options): Likewise.
27479 (syscall-list-64-condition): Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27482 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27485 (abi-64-ld-soname): New macro.
27486 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27487 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27490 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27491 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27493 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27495 * sysdeps/unix/sysv/linux/kernel-features.h
27496 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27497 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27498 include <kernel-features.h>.
27499 [!__NR_ftruncate64]: Remove conditional code.
27500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27501 [__NR_ftruncate64]: Make code unconditional.
27502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27503 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27504 include <kernel-features.h>.
27505 [!__NR_ftruncate64]: Remove conditional code.
27506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27507 [__NR_ftruncate64]: Make code unconditional.
27508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27510 include <kernel-features.h>.
27511 [!__NR_ftruncate64]: Remove conditional code.
27512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27513 [__NR_ftruncate64]: Make code unconditional.
27514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27516 include <kernel-features.h>.
27517 [!__NR_ftruncate64]: Remove conditional code.
27518 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27519 [__NR_ftruncate64]: Make code unconditional.
27520 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27522 * configure.in (libc_cv_fpie): Weaken to a compile test using
27523 LIBC_TRY_CC_OPTION.
27524 * configure: Regenerated.
27526 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27541 2012-05-27 David S. Miller <davem@davemloft.net>
27543 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27545 (__Q_simulate_exceptions): Return void. Change to simulate
27546 exceptions by writing into the %fsr.
27547 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27548 (__Qp_handle_exceptions): Likewise.
27550 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27551 __Qp_handle_exceptions.
27552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27553 __Qp_handle_exceptions.
27554 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27555 as unused and give dummy FP_RND_NEAREST initializer.
27556 (FP_INHIBIT_RESULTS): Define.
27557 (___Q_simulate_exceptions): Update declaration.
27558 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27561 as unused and give dummy FP_RND_NEAREST initializer.
27562 (__Qp_handle_exceptions): Update declaration.
27563 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27566 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27568 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27569 the temporary FPU control word.
27570 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27571 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27572 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27573 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27574 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27576 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27578 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27579 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27580 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27582 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27587 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27589 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27590 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27591 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27592 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27594 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27595 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27598 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27600 * po/h.po: Update from translation team.
27602 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27604 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27606 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27607 handling of denormals.
27608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27609 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27610 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27611 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27617 2012-05-26 Marek Polacek <polacek@redhat.com>
27620 * math/libm-test.inc (fma_test): Don't always expect underflow
27623 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27626 * elf/tst-execstack.c: Include stackinfo.h.
27627 (do_test): Adjust test case to ensure that pthread_getattr_np
27628 behaviour remains the same after marking stack executable.
27630 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27632 * sysdeps/unix/sysv/linux/kernel-features.h
27633 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27634 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27636 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27637 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27638 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27640 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27641 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27643 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27645 * configure.in: Define the default includes to being none.
27646 * configure: Regenerated.
27648 2012-05-25 Roland McGrath <roland@hack.frob.com>
27650 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27651 * sysdeps/x86_64/setjmp.S: Likewise.
27652 * sysdeps/i386/bsd-setjmp.S: Likewise.
27653 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27654 * sysdeps/i386/setjmp.S: Likewise.
27655 * sysdeps/i386/__longjmp.S: Likewise.
27656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27657 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27659 * include/stap-probe.h: New file.
27660 * configure.in: Handle --enable-systemtap.
27661 * configure: Regenerated.
27662 * config.h.in (USE_STAP_PROBE): New #undef.
27663 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27664 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27665 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27667 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27671 to 2.4.0 where earlier.
27672 * sysdeps/unix/sysv/linux/configure: Regenerated.
27673 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27674 <kernel-features.h>.
27675 [__ASSUME_32BITUIDS]: Make code unconditional.
27676 [!__ASSUME_32BITUIDS]: Remove conditional code.
27677 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27678 <kernel-features.h>.
27679 [__ASSUME_32BITUIDS]: Make code unconditional.
27680 [!__ASSUME_32BITUIDS]: Remove conditional code.
27681 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27682 [__ASSUME_32BITUIDS]: Make code unconditional.
27683 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27684 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27685 <kernel-features.h>.
27686 [__ASSUME_32BITUIDS]: Make code unconditional.
27687 [!__ASSUME_32BITUIDS]: Remove conditional code.
27688 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27689 <kernel-features.h>.
27690 [__ASSUME_32BITUIDS]: Make code unconditional.
27691 [!__ASSUME_32BITUIDS]: Remove conditional code.
27692 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
27725 <kernel-features.h>.
27726 [__NR_setresgid] (__setresgid): Do not declare.
27727 [__ASSUME_32BITUIDS]: Make code unconditional.
27728 [!__ASSUME_32BITUIDS]: Remove conditional code.
27729 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27730 <kernel-features.h>.
27731 [__NR_setresuid] (__setresuid): Do not declare.
27732 [__ASSUME_32BITUIDS]: Make code unconditional.
27733 [!__ASSUME_32BITUIDS]: Remove conditional code.
27734 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27735 <kernel-features.h>.
27736 [__ASSUME_32BITUIDS]: Make code unconditional.
27737 [!__ASSUME_32BITUIDS]: Remove conditional code.
27738 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27739 <kernel-features.h>.
27740 [__ASSUME_32BITUIDS]: Make code unconditional.
27741 [!__ASSUME_32BITUIDS]: Remove conditional code.
27742 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
27775 (__ASSUME_SETRESUID_SYSCALL): Remove.
27776 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27777 (__ASSUME_32BITUIDS): Likewise.
27778 (__ASSUME_LDT_WORKS): Likewise.
27779 (__ASSUME_O_DIRECTORY): Likewise.
27780 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27781 architecture but not kernel version.
27782 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27783 (__ASSUME_MMAP2_SYSCALL): Likewise.
27784 (__ASSUME_STAT64_SYSCALL): Likewise.
27785 (__ASSUME_IPC64): Likewise.
27786 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27787 <kernel-features.h>.
27788 [__ASSUME_32BITUIDS]: Make code unconditional.
27789 [!__ASSUME_32BITUIDS]: Remove conditional code.
27790 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27791 <kernel-features.h>.
27792 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27793 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27794 132096]: Remove conditional code.
27795 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27796 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27797 <kernel-features.h>.
27798 [__ASSUME_32BITUIDS]: Make code unconditional.
27799 [!__ASSUME_32BITUIDS]: Remove conditional code.
27800 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27801 <kernel-features.h>.
27802 [__ASSUME_32BITUIDS]: Make code unconditional.
27803 [!__ASSUME_32BITUIDS]: Remove conditional code.
27804 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27805 <kernel-features.h>.
27806 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27808 (__setresgid): Do not declare.
27809 [__ASSUME_32BITUIDS]: Make code unconditional.
27810 [!__ASSUME_32BITUIDS]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27812 <kernel-features.h>.
27813 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27815 (__setresuid): Do not declare.
27816 [__ASSUME_32BITUIDS]: Make code unconditional.
27817 [!__ASSUME_32BITUIDS]: Remove conditional code.
27818 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27819 <kernel-features.h>.
27820 [__ASSUME_32BITUIDS]: Make code unconditional.
27821 [!__ASSUME_32BITUIDS]: Remove conditional code.
27822 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27823 <kernel-features.h>.
27824 [__ASSUME_32BITUIDS]: Make code unconditional.
27825 [!__ASSUME_32BITUIDS]: Remove conditional code.
27827 2012-05-25 Richard Henderson <rth@twiddle.net>
27829 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27830 dl_hwcap to ifunc resolver.
27831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27833 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27834 dl_hwcap to ifunc resolver.
27835 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27837 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27840 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27841 for |x| <= 2**-26, not 2**-57.
27842 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27845 2012-05-24 Jeff Law <law@redhat.com>
27847 * stdio-common/Makefile (tests): Add bug25.
27848 * stdio-common/bug25.c: New test.
27850 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27853 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27854 multiple of MALLOC_ALIGNMENT in size.
27855 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27857 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27859 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27861 (FILENAME_MAX): Use macro-int-constant.
27862 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27863 (_IOFBF): Use macro-int-constant.
27864 (_IOLBF): Likewise.
27865 (_IONBF): Likewise.
27866 (SEEK_CUR): Likewise.
27867 (SEEK_END): Likewise.
27868 (SEEK_SET): Likewise.
27869 (TMP_MAX): Likewise.
27870 (EOF): Use macro-int-constant. Require < 0.
27871 (NULL): Use macro-constant. Require == 0.
27872 (stdin): Require type to be FILE *.
27873 (stdout): Likewise.
27874 (stderr): Likewise.
27875 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27876 macro-int-constant.
27877 (EXIT_SUCCESS): Likewise.
27878 (NULL): Use macro-constant. Require == 0.
27879 (RAND_MAX): Use macro-int-constant.
27880 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27881 [C99-based standards] (strtof): Require function.
27882 [C99-based standards] (strtold): Likewise.
27883 [C99-based standards] (strtoll): Likewise.
27884 [C99-based standards] (strtoull): Likewise.
27885 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27886 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27887 [ISO || ISO99 || ISO11] (math.h): Likewise.
27888 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27889 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27892 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27895 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27896 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27897 * intl/dgettext.c (DCGETTEXT): Likewise.
27898 * intl/gettext.c (DCGETTEXT): Likewise.
27899 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27900 * posix/regex_internal.h (gettext): Likewise.
27901 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27902 Remove declaration.
27903 * include/argz.h (__argz_count_internal)
27904 (__argz_stringify_internal): Remove declaration.
27905 (__argz_count, __argz_stringify): Declare hidden proto.
27906 * intl/dcgettext.c: Remove use of INTDEF.
27907 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27908 * string/argz-stringify.c: Likewise.
27909 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27910 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27911 Declare hidden proto.
27912 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27913 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27914 Declare hidden proto.
27915 * include/stdio.h (__asprintf_internal): Don't declare.
27916 (__asprintf): Don't define as macro. Declare hidden proto.
27917 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27918 (__fsetlocking): Declare hidden proto.
27919 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27920 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27922 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27923 (_IO_setlinebuf): Remove use of INTUSE.
27924 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27925 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27926 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27927 Remove declaration.
27928 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27929 (_IO_do_flush): Remove use of INTUSE.
27930 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27931 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27932 (_IO_adjust_column, _IO_least_wmarker)
27933 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27934 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27935 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27936 (_IO_default_doallocate, _IO_wdefault_doallocate)
27937 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27938 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27939 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27940 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27941 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27942 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27943 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27944 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27945 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27946 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27947 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27948 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27949 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27951 (_IO_flush_all_internal, _IO_adjust_column_internal)
27952 (_IO_default_uflow_internal, _IO_default_finish_internal)
27953 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27954 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27955 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27956 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27957 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27958 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27959 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27960 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27961 (_IO_file_close_internal, _IO_file_close_it_internal)
27962 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27963 (_IO_file_init_internal, _IO_file_attach_internal)
27964 (_IO_file_fopen_internal, _IO_file_read_internal)
27965 (_IO_file_sync_internal, _IO_file_seek_internal)
27966 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27967 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27968 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27969 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27970 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27971 (_IO_list_all_internal, _IO_link_in_internal)
27972 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27973 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27974 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27975 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27976 (_IO_do_write_internal, _IO_padn_internal)
27977 (_IO_getline_info_internal, _IO_getline_internal)
27978 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27979 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27980 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27981 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27982 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27983 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27984 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27985 with libc_hidden_ver, remove use of INTUSE.
27986 * libio/genops.c: Likewise.
27987 * libio/freopen.c: Likewise.
27988 * libio/freopen64.c: Likewise.
27989 * libio/iofclose.c: Likewise.
27990 * libio/iofdopen.c: Likewise.
27991 * libio/iofflush.c: Likewise.
27992 * libio/iofflush_u.c: Likewise.
27993 * libio/iofgets.c: Likewise.
27994 * libio/iofgets_u.c: Likewise.
27995 * libio/iofopen.c: Likewise.
27996 * libio/iofopncook.c: Likewise.
27997 * libio/iofread.c: Likewise.
27998 * libio/iofread_u.c: Likewise.
27999 * libio/ioftell.c: Likewise.
28000 * libio/iofwrite.c: Likewise.
28001 * libio/iogetline.c: Likewise.
28002 * libio/iogets.c: Likewise.
28003 * libio/iogetwline.c: Likewise.
28004 * libio/iopadn.c: Likewise.
28005 * libio/iopopen.c: Likewise.
28006 * libio/ioseekoff.c: Likewise.
28007 * libio/ioseekpos.c: Likewise.
28008 * libio/iosetbuffer.c: Likewise.
28009 * libio/iosetvbuf.c: Likewise.
28010 * libio/ioungetc.c: Likewise.
28011 * libio/ioungetwc.c: Likewise.
28012 * libio/iovdprintf.c: Likewise.
28013 * libio/iovsprintf.c: Likewise.
28014 * libio/iovsscanf.c: Likewise.
28015 * libio/memstream.c: Likewise.
28016 * libio/obprintf.c: Likewise.
28017 * libio/oldfileops.c: Likewise.
28018 * libio/oldiofclose.c: Likewise.
28019 * libio/oldiofdopen.c: Likewise.
28020 * libio/oldiofopen.c: Likewise.
28021 * libio/oldiopopen.c: Likewise.
28022 * libio/oldstdfiles.c: Likewise.
28023 * libio/putc.c: Likewise.
28024 * libio/setbuf.c: Likewise.
28025 * libio/setlinebuf.c: Likewise.
28026 * libio/stdfiles.c: Likewise.
28027 * libio/strops.c: Likewise.
28028 * libio/vasprintf.c: Likewise.
28029 * libio/vscanf.c: Likewise.
28030 * libio/vsnprintf.c: Likewise.
28031 * libio/vswprintf.c: Likewise.
28032 * libio/wfiledoalloc.c: Likewise.
28033 * libio/wfileops.c: Likewise.
28034 * libio/wgenops.c: Likewise.
28035 * libio/wmemstream.c: Likewise.
28036 * libio/wstrops.c: Likewise.
28037 * libio/__fpurge.c: Likewise.
28038 * libio/__fsetlocking.c: Likewise.
28039 * assert/assert.c: Likewise.
28040 * debug/fgets_chk.c: Likewise.
28041 * debug/fgets_u_chk.c: Likewise.
28042 * debug/fread_chk.c: Likewise.
28043 * debug/fread_u_chk.c: Likewise.
28044 * debug/gets_chk.c: Likewise.
28045 * debug/obprintf_chk.c: Likewise.
28046 * debug/vasprintf_chk.c: Likewise.
28047 * debug/vdprintf_chk.c: Likewise.
28048 * debug/vsnprintf_chk.c: Likewise.
28049 * debug/vsprintf_chk.c: Likewise.
28050 * malloc/mtrace.c: Likewise.
28051 * misc/error.c: Likewise.
28052 * misc/syslog.c: Likewise.
28053 * stdio-common/asprintf.c: Likewise.
28054 * stdio-common/fxprintf.c: Likewise.
28055 * stdio-common/getw.c: Likewise.
28056 * stdio-common/isoc99_fscanf.c: Likewise.
28057 * stdio-common/isoc99_scanf.c: Likewise.
28058 * stdio-common/isoc99_vfscanf.c: Likewise.
28059 * stdio-common/isoc99_vscanf.c: Likewise.
28060 * stdio-common/isoc99_vsscanf.c: Likewise.
28061 * stdio-common/printf-prs.c: Likewise.
28062 * stdio-common/printf_fp.c: Likewise.
28063 * stdio-common/printf_fphex.c: Likewise.
28064 * stdio-common/printf_size.c: Likewise.
28065 * stdio-common/putw.c: Likewise.
28066 * stdio-common/scanf.c: Likewise.
28067 * stdio-common/sprintf.c: Likewise.
28068 * stdio-common/tmpfile.c: Likewise.
28069 * stdio-common/vfprintf.c: Likewise.
28070 * stdio-common/vfscanf.c: Likewise.
28071 * stdlib/strfmon_l.c: Likewise.
28072 * sunrpc/openchild.c: Likewise.
28073 * sunrpc/xdr_stdio.c: Likewise.
28074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28075 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28077 2012-05-24 Roland McGrath <roland@hack.frob.com>
28079 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28081 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28082 in the third column, to generate for the shared library an IFUNC
28083 that uses _dl_vdso_vsym.
28084 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28085 * Makeconfig (object-suffixes-noshared): New variable.
28087 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28088 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28089 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28090 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28093 * include/sys/time.h (__gettimeofday): Remove macro.
28094 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28095 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28097 (__gettimeofday): Add libc_hidden_def.
28098 (gettimeofday): Add libc_hidden_weak.
28099 * sysdeps/mach/gettimeofday.c: Likewise.
28100 * sysdeps/posix/gettimeofday.c: Likewise.
28101 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28102 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28104 (__gettimeofday_internal): Remove strong_alias.
28105 (__gettimeofday): Add libc_hidden_def.
28106 (gettimeofday): Add libc_hidden_weak.
28107 * sysdeps/unix/syscalls.list (gettimeofday):
28108 Remove __gettimeofday_internal alias.
28110 2012-05-24 Daniel Jacobowitz <drow@false.org>
28111 H.J. Lu <hongjiu.lu@intel.com>
28114 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28115 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28116 (largebin_index_32_big): New.
28117 (largebin_index): Use it for 16-byte alignment.
28118 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28119 correction with front_misalign.
28121 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28149 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28150 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28152 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28156 * math/libm-test.inc (exp_test): Add test from bug 14036.
28157 (pow_test): Add test from bug 10846.
28159 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28161 (special_function): Do not include flags in test name.
28162 (parse_args): Likewise.
28163 * sysdeps/i386/fpu/libm-test-ulps: Update.
28164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28165 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28169 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28171 * math/libm-test.inc ("Philosophy"): Update comment about
28173 (UNDERFLOW_EXCEPTION): New macro.
28174 (UNDERFLOW_EXCEPTION_OK): Likewise.
28175 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28176 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28177 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28178 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28179 (INVALID_EXCEPTION_OK): Update value.
28180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28181 (OVERFLOW_EXCEPTION_OK): Likewise.
28182 (IGNORE_ZERO_INF_SIGN): Likewise.
28183 (test_exceptions): Handle underflow exceptions.
28184 (acos_test): Update for underflow exception expectations.
28185 (cexp_test): Likewise.
28186 (clog_test): Likewise.
28187 (clog10_test): Likewise.
28188 (csqrt_test): Likewise.
28189 (ctan_test): Likewise.
28190 (ctanh_test): Likewise.
28191 (exp_test): Likewise.
28192 (exp10_test): Likewise.
28193 (exp2_test): Likewise.
28194 (expm1_test): Likewise.
28195 (fma_test): Likewise.
28196 (j0_test): Likewise.
28197 (jn_test): Likewise.
28198 (nexttoward_test): Likewise.
28199 (pow_test): Likewise.
28200 (scalbn_test): Likewise.
28201 (scalbln_test): Likewise.
28202 (tan_test): Likewise.
28203 (y1_test): Likewise.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28207 2012-05-23 David S. Miller <davem@davemloft.net>
28209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28210 (__libc_sigaction): Remove unused local variables.
28212 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28214 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28216 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28218 mktime: avoid signed integer overflow
28219 * time/mktime.c (__mktime_internal): Do not mishandle the case
28220 where diff == INT_MIN.
28222 mktime: simplify computation of average
28223 * time/mktime.c (ranged_convert): Use new time_t_avg function
28224 instead of rolling our own (probably-slower) code.
28226 mktime: do not assume signed right shift propagates sign bit
28227 * time/mktime.c (isdst_differ): New static function.
28228 (__mktime_internal): No need to normalize tm_isdst now.
28229 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28232 mktime: merge another wrapv change from gnulib
28233 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28234 from some compilers.
28236 mktime: remove incorrect attempt at unusual arithmetics
28237 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28238 The code didn't really work on such machines anyway.
28239 (TYPE_MINIMUM): Assume two's complement.
28240 (twos_complement_arithmetic): Verify that long_int and time_t
28241 are two's complement (or unsigned, in the latter case).
28243 mktime: check signed shifts on long_int and time_t, too
28244 * time/mktime.c (SHR): Check that shifts work as desired
28245 on the types long_int and time_t too, as SHR is used on
28248 mktime: do not assume 'long' is wide enough
28249 * time/mktime.c (verify): Move decl up.
28250 (long_int): New type.
28251 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28252 to remove assumption in the code that 'long' is wide enough to
28253 store year values. This assumption is not true on x32 and on
28254 some non-glibc platforms.
28256 mktime: merge wrapv change from gnulib
28257 * time/mktime.c (WRAPV): New macro.
28258 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28259 (guess_time_tm, __mktime_internal): Do not assume that signed
28260 integer overflow wraps around; modern compilers generate code
28261 where this assumption is no longer valid.
28263 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28265 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28266 Replace "jmp L(pseudo_end)" with "ret".
28267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28270 2012-05-23 Andreas Jaeger <aj@suse.de>
28272 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28273 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28275 2012-05-23 Andreas Jaeger <aj@suse.de>
28276 Maximilian Attems <max@stro.at>
28278 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28281 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28283 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28284 code so that pseudo_end is just ret and the stack pointer is
28285 correct also for static library in error case.
28287 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28289 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28290 move to syscalls.list.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28296 * manual/install.texi (Running make install): Do not mention Linux
28297 kernel version for which pt_chown is not needed.
28298 (Linux): Do not mention problems with nscd with 2.0 kernels.
28299 * INSTALL: Regenerated.
28301 2012-05-23 Andreas Jaeger <aj@suse.de>
28303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28304 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28306 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28308 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28310 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28316 * sysdeps/unix/sysv/linux/bits/in.h
28317 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28319 2012-05-22 Roland McGrath <roland@hack.frob.com>
28321 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28322 (PREPARE_VERSION): Just use assert instead, it will be elided
28323 under [NDEBUG] anyway.
28325 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28327 * sysdeps/unix/sysv/linux/Makefile: Include
28328 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28329 (sysdep_routines): Remove sysctl.
28330 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28331 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28334 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28336 2012-05-22 Andreas Jaeger <aj@suse.de>
28338 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28339 that pseudo_end is just ret and the stack pointer is correct also
28340 for static library in error case.
28342 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28345 * nss/nsswitch.c (defconfig_entries): New variable.
28346 (__nss_database_lookup): Don't leak defconfig entries.
28347 (nss_parse_service_list): Don't leak on error paths.
28348 (free_database_entries): New function.
28349 (free_defconfig): New function.
28350 (free_mem): Move common code to free_database_entries.
28352 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28354 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28356 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28358 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28359 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28362 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28363 (INTERNAL_SYSCALL_TYPES): Likewise.
28364 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28365 (LOAD_REGS_TYPES_[1-6]): Likewise.
28366 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28367 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28369 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28372 copysignl for GLIBC_2_0.
28373 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28374 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28376 logbl for GLIBC_2_0.
28377 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28378 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28380 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28383 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28385 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28388 * time/mktime.c: Update copyright years.
28390 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28392 mktime: merge comment-quoting-style change from gnulib
28393 * time/mktime.c: Quote 'like this' in comments.
28394 The GNU coding standards suggest that we no longer quote `like this',
28395 as "`" and "'" are typically rendered asymmetrically nowadays.
28396 The typical gnulib style is to quote 'like this' when quoting
28397 code, and "like this" when quoting English.
28399 * time/mktime.c (compile-command): Add "-I.".
28401 mktime: merge mktime-internal.h change from gnulib
28402 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28404 mktime: merge time_r change from gnulib
28405 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28407 mktime: merge DEBUG change from gnulib
28408 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28409 case system <time.h> has a #define.
28411 mktime: merge <sys/types.h> change from gnulib
28412 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28413 since <time.t> is now guaranteed to define time_t.
28415 mktime: merge HAVE_CONFIG_H change from gnulib
28416 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28418 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28423 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28425 (struct rusage): Use anonymous union to pad each field to
28428 2012-05-21 David S. Miller <davem@davemloft.net>
28430 * Makefules (o-iterator): Remove .s cases.
28431 (compile-command.s): Delete.
28432 (COMPILE.s): Delete.
28433 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28435 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28437 * configure.in (libc_cv_predef_stack_protector): Only consider
28438 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28439 * configure: Regenerated.
28441 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28444 New macro. Use R*LP on int and pointer.
28445 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28446 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28447 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28450 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28451 [__WORDSIZE_TIME64_COMPAT32] instead of
28452 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28453 (struct utmp): Likewise.
28454 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28455 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28457 (__WORDSIZE_TIME64_COMPAT32): This.
28458 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28459 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28460 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28461 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28462 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28463 (__WORDSIZE_TIME64_COMPAT32): New macro.
28465 2012-05-21 Andreas Jaeger <aj@suse.de>
28467 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28468 only if [SHARED]. Add prototype for __wcschr_ia32.
28470 2012-05-21 Roland McGrath <roland@hack.frob.com>
28472 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28473 of %rbp unmolested in the jmp_buf while mangling the low bits.
28474 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28475 unmolested high bits of %rbp while demangling the low bits.
28476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28478 2012-05-21 Andreas Jaeger <aj@suse.de>
28480 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28481 * sunrpc/svc_simple.c: Use it for registerrpc.
28482 * sunrpc/xcrypt.c: Use it for passwd2des.
28484 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28488 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28489 Don't define if [__SYSCALL_WORDSIZE != 32].
28490 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28493 2012-05-21 Bruno Haible <bruno@clisp.org>
28494 Andreas Jaeger <aj@suse.de>
28496 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28497 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28498 inptr and inend for must_buffer_ch.
28499 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28500 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28501 * stdio-common/Makefile (tests): Remove bug15.
28502 (bug15-ENV): Remove macro.
28503 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28506 2012-05-19 Andreas Jaeger <aj@suse.de>
28507 Roland McGrath <roland@hack.frob.com>
28509 * manual/contrib.texi: Completely rewritten. It contains now an
28510 alphabetical list of contributors and their contributions.
28512 2012-05-21 Richard Henderson <rth@twiddle.net>
28514 * misc/getauxval.c (__getauxval): Use unsigned long int.
28515 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28516 (getauxval): Use unsigned long int.
28518 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28520 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28522 2012-05-21 Roland McGrath <roland@hack.frob.com>
28524 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28525 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28526 __alignof__ (long double).
28528 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28532 2012-05-20 Richard Henderson <rth@twiddle.net>
28534 * misc/getauxval.c: New file.
28535 * misc/sys/auxv.h: New file.
28536 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28537 (routines): Add getauxval.
28538 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28539 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28540 * elf/dl-sysdep.c (_dl_auxv): Remove.
28541 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28542 * elf/dl-support.c (_dl_auxv): New variable.
28543 (_dl_aux_init): Initialize it.
28544 * manual/startup.texi (Auxiliary Vector): New node.
28545 * sysdeps/generic/bits/hwcap.h: New file.
28546 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28547 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28548 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28549 * sysdeps/sparc/sysdep.h: ... here. Include it.
28550 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28563 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28567 2012-05-19 David S. Miller <davem@davemloft.net>
28569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28571 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28574 * math/s_ccosh.c: Include <float.h>
28575 (__ccosh): Avoid internal overflow calculating sinh and cosh
28576 values before multiplying by sin and cos values.
28577 * math/s_ccoshf.c: Likewise.
28578 * math/s_ccoshl.c: Likewise.
28579 * math/s_csin.c: Likewise.
28580 * math/s_csinf.c: Likewise.
28581 * math/s_csinl.c: Likewise.
28582 * math/s_csinh.c: Likewise.
28583 * math/s_csinhf.c: Likewise.
28584 * math/s_csinhl.c: Likewise.
28585 * math/libm-test.inc (ccos_test): Add more tests.
28586 (ccosh_test): Likewise.
28587 (csin_test): Likewise.
28588 (csinh_test): Likewise.
28589 * sysdeps/i386/fpu/libm-test-ulps: Update.
28590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28592 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28594 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28595 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28597 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28599 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28601 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28602 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28603 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28604 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28605 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28606 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28607 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28608 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28609 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28610 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28611 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28612 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28613 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28614 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28615 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28616 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28617 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28618 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28619 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28620 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28621 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28622 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28623 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28624 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28625 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28626 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28627 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28628 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28629 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28630 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28631 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28633 2012-05-18 Andreas Jaeger <aj@suse.de>
28635 * csu/.gitignore: Delete.
28637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28639 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28640 (timex): Use __syscall_slong_t.
28642 2012-05-18 Andreas Jaeger <aj@suse.de>
28643 Carlos O'Donell <carlos_odonell@mentor.com>
28645 * manual/install.texi (Configuring and compiling): Update
28646 description about files modified in the source directory.
28647 * INSTALL: Regenerated.
28649 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28651 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28652 value. Use "or" to set return value to -1.
28653 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28654 negate return value.
28656 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28658 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28659 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28660 failure if the compiler has Graphite support disabled.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28663 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28664 CFLAGS-memmove.c): Likewise.
28665 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28668 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28670 * sysdeps/x86_64/x32/_itoa.h: New file.
28672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28673 getdents system call only if kernel and user dirents have the
28674 same d_ino and d_off.
28676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28677 LLONG_MAX != LONG_MAX.
28678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28679 (_fitoa_word): Likewise.
28681 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28684 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28685 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28688 include <bits/wordsize.h>. Check __x86_64__ instead of
28690 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28691 if __x86_64__ is defined. Use anonymous union on fpstate.
28693 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28696 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28698 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28699 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28700 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28701 Refer to _rtld_local_ro instead of _rtld_global_ro.
28702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28704 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28706 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28708 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28709 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28710 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28712 * sysdeps/powerpc/powerpc32/dl-machine.c
28713 (__elf_machine_runtime_setup) [PROF]: Don't reference
28716 2012-05-18 Andreas Jaeger <aj@suse.de>
28718 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28719 function only available for GCCs before 3.4 since GCC 3.4
28720 introduced a builtin.
28722 (llrintf): Likewise.
28723 (llrint): Likewise.
28730 (nearbyint): Likewise.
28731 (nearbyintf): Likewise.
28735 (floorf): Likewise.
28737 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28739 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28740 on both fields and cast pointer to __syscall_ulong_t.
28742 * bits/types.h (__fsword_t): New type.
28743 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28744 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28746 (__FSWORD_T_TYPE): Likewise.
28747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28748 (__FSWORD_T_TYPE): Likewise.
28749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28750 (__FSWORD_T_TYPE): Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28752 (__FSWORD_T_TYPE): Likewise.
28753 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28754 __SWORD_TYPE with __fsword_t.
28755 (statfs64): Likewise.
28757 2012-05-17 David S. Miller <davem@davemloft.net>
28759 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28761 2012-05-17 Andreas Jaeger <aj@suse.de>
28763 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28766 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28768 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28770 2012-05-17 Andreas Jaeger <aj@suse.de>
28772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28775 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28777 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28779 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28781 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28782 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28784 2012-05-17 Andreas Jaeger <aj@suse.de>
28785 Carlos O'Donell <carlos_odonell@mentor.com>
28788 * sysdeps/x86_64/multiarch/init-arch.h
28789 (bit_YMM_Usable): Rename to...
28790 (bit_AVX_Usable): ... this.
28791 (bit_FMA4_Usable): New macro.
28792 (bit_XMM_state): New macro.
28793 (bit_YMM_state): New macro.
28794 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28795 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28796 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28797 (CPUID_OSXSAVE): New macro.
28798 (CPUID_AVX): New macro.
28799 (CPUID_FMA4): New macro.
28800 (index_YMM_Usable): Rename to...
28801 (index_AVX_Usable): ... this.
28802 (HAS_AVX): Use HAS_ARCH_FEATURE.
28803 (HAS_FMA4): Likewise.
28804 (HAS_YMM_USABLE): Remove.
28805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28806 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28808 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28809 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28810 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28811 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28812 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28814 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28816 * math/libm-test.c: Support platforms without multiple rounding modes.
28817 * math/bug-nextafter.c: Support platforms without FP exceptions.
28818 * math/bug-nexttoward.c: Likewise.
28819 * math/test-fenv.c: Likewise.
28820 * math/test-misc.c: Likewise.
28821 * stdlib/bug-getcontext.c: Likewise.
28823 2012-05-17 Andreas Jaeger <aj@suse.de>
28825 * manual/examples/search.c (critter_cmp): Change signature to
28827 * manual/string.texi (Collation Functions): Likewise.
28829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28831 * bits/types.h: Fold copyright years.
28832 * bits/typesizes.h: Likewise.
28833 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28837 * time/time.h: Likewise.
28839 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28842 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28843 in instead of returning them. Return void.
28844 (__libc_mallinfo): Accumulate over all arenas.
28845 (__malloc_stats): Adjust for change in int_mallinfo interface.
28847 2012-05-16 Roland McGrath <roland@hack.frob.com>
28850 * configure.in (NM): Add AC_CHECK_TOOL for it.
28851 (libc_extra_cflags): New substituted variable.
28852 Check for -fstack-protector being used implicitly.
28853 * configure: Regenerated.
28854 * config.make.in (config-extra-cflags): New variable,
28855 gets @libc_extra_cflags@.
28856 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28859 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28860 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28861 * configure: Regenerated.
28862 * config.make.in (CPPUNDEFS): New substituted variable.
28863 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28864 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28865 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28869 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28870 (mq_attr): Use __syscall_slong_t.
28872 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28874 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28875 Check __x86_64__ instead of __WORDSIZE.
28876 (_STAT_VER_LINUX): Likewise.
28877 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28878 __syscall_ulong_t and __syscall_slong_t.
28879 (stat64): Likewise.
28881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28885 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28887 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28891 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28894 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28895 include <bits/wordsize.h>. Check __x86_64__ instead of
28897 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28899 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28902 include <bits/wordsize.h>. Check __x86_64__ instead of
28904 (user_regs_struct): Use "__extension__ unsigned long long"
28905 instead of "unsigned long" if __x86_64__ is defined.
28906 (user): Likewise. Pad after pointer field if __ILP32__ is
28909 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28911 * configure.in (makeinfo): Require version 4.5 or later. Allow
28913 * configure: Regenerated.
28914 * manual/install.texi (texinfo): Increase version requirement to
28916 * INSTALL: Regenerated.
28918 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28920 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28922 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28924 * sysdeps/x86_64/x32/ffs.c: New file.
28926 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28928 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28929 defined. Use __syscall_ulong_t.
28930 (shminfo): Use __syscall_ulong_t.
28931 (shm_info): Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28936 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28938 (msgqnum_t): Use __syscall_ulong_t.
28939 (msglen_t): Likewise.
28940 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28943 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28944 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28946 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28948 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28949 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28951 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28955 include <bits/wordsize.h>. Check __x86_64__ instead of
28958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28959 "unsigned long long int" if __x86_64__ is defined.
28960 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28962 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28964 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28968 (GET_PC): Cast to uintptr_t first.
28969 (GET_FRAME): Likewise.
28970 (GET_STACK): Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28973 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28974 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28975 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28976 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28977 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28978 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28979 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28980 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28981 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28982 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28984 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28993 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28994 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28996 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28998 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29002 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29004 * Makerules (+depfiles): Also collect depfiles from .oS in
29006 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29007 .oS, $(libnldbl-routines)).
29009 * Makerules (native-compile-mkdep-flags): Define.
29010 * sunrpc/Makefile (extra-objs): Add $(addprefix
29011 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29012 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29013 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29014 calling $(make-target-directory).
29016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29018 * bits/types.h (__snseconds_t): Removed.
29019 * time/time.h (struct timespec): Replace __snseconds_t with
29021 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29022 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29025 (__SNSECONDS_T_TYPE): Likewise.
29026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29027 (__SNSECONDS_T_TYPE): Likewise.
29028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29029 (__SNSECONDS_T_TYPE): Likewise.
29031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29033 * sysdeps/mach/hurd/bits/typesizes.h
29034 (__SYSCALL_SLONG_TYPE): New macro.
29035 (__SYSCALL_ULONG_TYPE): Likewise.
29037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29039 * bits/types.h (__syscall_slong_t): New type.
29040 (__syscall_ulong_t): Likewise.
29042 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29043 (__SYSCALL_ULONG_TYPE): Likewise.
29044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29045 (__SYSCALL_SLONG_TYPE): Likewise.
29046 (__SYSCALL_ULONG_TYPE): Likewise.
29047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29048 (__SYSCALL_SLONG_TYPE): Likewise.
29049 (__SYSCALL_ULONG_TYPE): Likewise.
29050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29051 (__SYSCALL_SLONG_TYPE): Likewise.
29052 (__SYSCALL_ULONG_TYPE): Likewise.
29054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29057 Add sigaltstack-offsets.sym.
29058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29059 <sigaltstack-offsets.h>.
29060 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29061 longjmp_msg pointer.
29062 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29063 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29065 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29067 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29069 * elf/stackguard-macros.h: Remove file.
29070 * sysdeps/generic/stackguard-macros.h: New file.
29071 * sysdeps/i386/stackguard-macros.h: Likewise.
29072 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29073 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29074 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29075 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29076 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29077 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29078 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29079 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29080 <elf/stackguard-macros.h>.
29083 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29084 __aligned__ in attribute.
29085 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29086 (gregset_t): Likewise.
29088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29091 * sysdeps/x86_64/64/Implies-after: Here. New file.
29092 * sysdeps/x86_64/x32/Implies-after: New file.
29094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29096 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29097 and access return value for _dl_profile_fixup. Use R10_LP to
29100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29102 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29106 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29107 * sysdeps/x86_64/x32/sysdep.h: New file.
29109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29112 * sysdeps/x86_64/setjmp.S: Likewise.
29114 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29117 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29118 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29119 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29120 remove unused global constant.
29122 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29124 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29125 include of <not-cancel.h>.
29127 2012-05-15 Roland McGrath <roland@hack.frob.com>
29129 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29131 2012-05-15 Jeff Law <law@redhat.com>
29132 Andreas Jaeger <aj@suse.de>
29135 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29137 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29138 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29139 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29140 code changing __hst_map_handle.map.
29142 2012-05-15 Roland McGrath <roland@hack.frob.com>
29144 * configure.in (sysnames): Look for Implies-before and Implies-after
29146 * configure: Regenerated.
29148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29150 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29151 8-byte data alignment with LP_SIZE alignment.
29153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29155 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29160 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29164 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29165 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29168 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29173 (stackinfo_sub_sp): Likewise.
29175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29192 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29196 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29197 into R11_LP and load __x86_64_shared_cache_size_half into
29200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29205 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29213 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29214 powerpc32/power7/fpu/s_logb.c via #include.
29215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29216 powerpc32/power7/fpu/s_logbf.c via #include.
29217 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29218 powerpc32/power7/fpu/s_logbl.c via #include.
29220 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29222 * README.libm: Remove file.
29224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29226 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29227 count for x32. Use R*_LP and omit operand-size suffix.
29229 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29231 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29232 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29233 * sysdeps/x86_64/x32/shlib-versions: New file.
29235 2012-05-14 Roland McGrath <roland@hack.frob.com>
29237 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29238 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29239 Use _dl_fatal_printf instead.
29241 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29243 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29244 set if not set by the user. Do not allow for being unset.
29245 * sysdeps/unix/sysv/linux/configure: Regenerated.
29247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29249 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29250 the `q' suffix from lea and replace .quad with ASM_ADDR.
29252 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29255 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29257 (PTR_DEMANGLE): Likewise.
29259 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29261 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29263 (ASM_ADDR): Likewise.
29264 (RAX_LP): Likewise.
29265 (RBP_LP): Likewise.
29266 (RBX_LP): Likewise.
29267 (RCX_LP): Likewise.
29268 (RDI_LP): Likewise.
29269 (RSI_LP): Likewise.
29270 (RSP_LP): Likewise.
29273 (R10_LP): Likewise.
29274 (R10_LP): Likewise.
29275 (R11_LP): Likewise.
29276 (R12_LP): Likewise.
29277 (R13_LP): Likewise.
29278 (R14_LP): Likewise.
29279 (R15_LP): Likewise.
29281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29283 * sysdeps/x86_64/x32/dl-machine.h: New file.
29285 2012-05-14 Andreas Jaeger <aj@suse.de>
29287 * manual/Makefile (subdir): Remove export of subdir.
29288 (all): Remove target.
29289 (.PHONY): Remove all from list.
29290 (mkinstalldirs): Remove.
29291 (.PHONY): Remove installdirs from list.
29292 ($(inst_infodir)/libc.info): Use make-target-directory.
29293 (installdirs): Remove.
29294 (subdir_%): Remove.
29295 (glibc-targets): Remove.
29298 ($(objpfx)stubs ../po/manual.pot): Remove.
29299 ($(objpfx)stamp%): Remove.
29300 (make-target-directory): Remove.
29301 (subdir_install): Remove.
29302 (routines): Remove.
29309 * manual/.gitignore: Remove, it's not needed anymore.
29310 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29312 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29314 (texis): Renamed to $(objpfx)texis.
29315 (texis-path): New, contains path to generated files.
29316 (chapters.%): Use texis-path for complete path, add extra argument
29318 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29319 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29320 (summary,texi, stamp-summary): Use complete path of
29321 files. Generate files in build dir.
29322 (dir-add.texi): Build in build dir.
29323 (libm-err.texi,stamp-libm-err): Likewise.
29324 (version.texi, stamp-version): Likewise.
29325 (.%c.texi): Likewise.
29326 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29327 (mostlyclean): Remove target.
29328 (realclean): Remove target.
29329 (generated): Add new variable with contents from mostlyclean and
29330 realclean, remove entries duplicated in common-mostlyclean, add
29331 stamp-libm-err and stamp-version.
29332 (generated-dirs): Add libc directory.
29333 ($(inst_infodir)/libc.info): Install files from build dir.
29335 * manual/install.texi (Configuring and compiling): Adjust since
29336 the info files are not part of the tar ball anymore.
29338 2012-05-14 Andreas Jaeger <aj@suse.de>
29340 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29343 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29347 to 2.2.0 where earlier.
29348 * sysdeps/unix/sysv/linux/configure: Regenerated.
29349 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29350 Remove conditional code.
29351 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29352 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29353 Remove conditional code.
29354 [!__NR_lchown]: Likewise.
29355 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29356 [__NR_lchown]: Likewise.
29357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29358 comment referencing __ASSUME_LCHOWN_SYSCALL.
29359 * sysdeps/unix/sysv/linux/i386/sigaction.c
29360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29363 Remove conditional code.
29364 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29365 (__protocol_available): Remove #if 0 code.
29366 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29368 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/kernel-features.h
29370 (__ASSUME_GETCWD_SYSCALL): Don't define.
29371 (__ASSUME_REALTIME_SIGNALS): Likewise.
29372 (__ASSUME_PREAD_SYSCALL): Likewise.
29373 (__ASSUME_PWRITE_SYSCALL): Likewise.
29374 (__ASSUME_POLL_SYSCALL): Likewise.
29375 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29376 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29378 (__ASSUME_SIOCGIFNAME): Don't define.
29379 (__ASSUME_MSG_NOSIGNAL): Likewise.
29380 (__ASSUME_SENDFILE): Define unconditionally.
29381 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29382 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29384 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29386 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29387 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29388 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29389 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29390 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29407 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29416 Remove conditional code.
29417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29418 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29419 Remove conditional code.
29420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29421 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29422 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29423 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29424 Remove conditional code.
29425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29426 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29427 Remove conditional code.
29428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29429 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29430 Remove conditional code.
29431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29432 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29433 Remove conditional code.
29434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29436 Remove conditional code.
29437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29438 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29439 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29441 * sysdeps/unix/sysv/linux/sigaction.c
29442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29444 * sysdeps/unix/sysv/linux/sigpending.c
29445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29447 * sysdeps/unix/sysv/linux/sigprocmask.c
29448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29450 * sysdeps/unix/sysv/linux/sigsuspend.c
29451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29454 (__libc_missing_rt_sigs): Remove.
29455 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29456 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29457 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29458 Remove conditional code.
29459 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29460 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29463 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29465 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29467 2012-05-14 Andreas Jaeger <aj@suse.de>
29469 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29470 it's not used in glibc.
29471 (__coshm1): Likewise.
29472 (__acosh1p): Likewise.
29475 * manual/string.texi (Copying and Concatenation): Add missing
29476 variable in concat example.
29477 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29483 __builtin_clzl with __builtin_clzll.
29485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29488 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29491 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29493 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29494 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29495 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29496 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29498 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29500 * NEWS: Update ia64 info.
29502 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29504 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29507 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29509 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29510 * sysdeps/unix/syscalls.list (dup3): Likewise.
29511 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29512 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29514 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29516 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29517 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29519 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29521 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29523 (TLS_IE): Use mov/add instead of movq/addq to load thread
29525 (TLS_GD_PREFIX): New.
29528 2012-05-11 David S. Miller <davem@davemloft.net>
29530 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29531 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29532 (_FPU_SETCW): Likewise.
29534 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29536 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29537 is 32-byte aligned.
29539 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29542 * iconvdata/gb18030.c: Update tables.
29543 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29544 characters specially.
29545 (BODY for TO_LOOP): Add encoding of missing ranges.
29547 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29550 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29551 * sysdeps/mach/hurd/dup3.c: Likewise.
29552 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29553 * sysdeps/powerpc/memmove.c:: Likewise.
29555 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29557 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29558 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29560 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29562 * elf/elf.h (R_X86_64_RELATIVE64): New.
29563 (R_X86_64_NUM): Updated.
29564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29565 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29566 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29567 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29568 tst-quad1pie tst-quad2pie
29569 (modules-names): Add tst-quadmod1 tst-quadmod2.
29570 ($(objpfx)tst-quad1): New dependency.
29571 ($(objpfx)tst-quad2): Likewise.
29572 ($(objpfx)tst-quad1pie): Likewise.
29573 ($(objpfx)tst-quad2pie): Likewise.
29574 * sysdeps/x86_64/tst-quad1.c: New file.
29575 * sysdeps/x86_64/tst-quad1pie.c: New file.
29576 * sysdeps/x86_64/tst-quad2.c: Likewise.
29577 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29578 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29579 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29580 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29581 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29585 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29586 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29587 * streams/stropts.h (t_scalar_t): Define type.
29589 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29590 (_PATH_PRESERVE): Set to "/var/lib".
29591 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29593 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29596 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29597 if __dir_mkfile succeeded.
29599 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29600 checking for _hurd_dtablesize. Unlock it right after having
29601 finished _hurd_dtable allocation.
29603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29605 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29606 * sysdeps/mach/hurd/configure: Regenerated.
29607 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29608 special-casing to...
29609 * sysdeps/gnu/configure.in: ... this new file.
29610 * sysdeps/unix/sysv/linux/configure: Regenerated.
29611 * sysdeps/gnu/configure: New generated file.
29613 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29614 for Linux: use nsec instead of usec, as well as:
29615 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29616 members of type struct timespec.
29617 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29619 (struct stat64): Likewise.
29620 (_STATBUF_ST_NSEC): New macro.
29621 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29623 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29624 __strtoul_internal rather than strtoul.
29626 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29628 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29633 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29634 which preserves existing values.
29635 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29637 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29639 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29640 TIMEOUT values. Return EINVAL for NFDS values either negative or
29641 greater than FD_SETSIZE.
29643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29645 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29646 allocated, call __vm_protect to finish enabling the existing space, and
29647 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29648 allocate the remainder.
29650 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29652 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29653 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29657 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29658 sysdeps/mach/hurd/readlink.c.
29660 * posix/tst-sysconf.c (posix_options): Only use
29661 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29662 _POSIX_SYNCHRONIZED_IO when they are defined
29663 * sysdeps/mach/hurd/bits/posix_opt.h:
29664 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29665 (_XOPEN_REALTIME): Undefine macro.
29666 (_XOPEN_REALTIME_THREADS): Undefine macro.
29667 (_XOPEN_SHM): Undefine macro.
29668 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29670 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29672 (_POSIX_ASYNC_IO): Undefine macro.
29673 (_POSIX_PRIORITIZED_IO): Undefine macro.
29674 (_POSIX_SPIN_LOCKS): Define macro to -1.
29676 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29677 SA_NODEFER, SA_RESETHAND.
29678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29679 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29684 * elf/Makefile (pldd-modules): Define unconditionally.
29686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29688 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29692 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29693 Return ENOENT when name is empty.
29694 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29698 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29700 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29704 Fix mlock in all cases except non-readable pages.
29705 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29706 instead of VM_PROT_ALL as parameter to __vm_wire function.
29708 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29709 (__mkdir): When path is `/', just fail with EEXIST.
29710 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29714 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29715 <sys/uio.h> (for writev).
29716 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29717 and <sys/param.h> (for MIN).
29719 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29721 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29722 REQUESTED_TIME. Properly set the remaining time and return EINTR
29725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29727 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29728 Depend on against $(link-rpcuserlibs).
29730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29732 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29733 (__libc_stack_end): Do not use attribute_relro.
29734 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29735 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29736 to libthread-provided value.
29737 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29743 * bits/libc-lock.h (__libc_once_get): New macro.
29744 * sysdeps/mach/bits/libc-lock.h: Likewise.
29745 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29747 instead of using implementation details.
29749 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29750 * libio/freopen.c: Likewise.
29751 * libio/freopen64.c: Likewise.
29752 * misc/syslog.c: Likewise.
29753 * nscd/connections.c: Likewise.
29754 * nscd/netgroupcache.c: Likewise.
29755 * sysdeps/posix/getcwd.c: Likewise.
29757 2012-05-10 Roland McGrath <roland@hack.frob.com>
29759 * math/w_ilogbf.c: Add #include <limits.h>.
29761 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29763 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29764 path instead of returning without unlocking.
29766 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29767 immediate-write ioctls.
29768 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29772 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29773 __builtin_frame_address instead of making assumptions about the
29774 location of the return address relative to DATA. Force early load of
29775 the return address.
29776 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29777 __builtin_frame_address.
29780 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29781 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29782 implement dup3 and do some further code clean-ups.
29783 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29784 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29788 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29790 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29791 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29792 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29793 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29794 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29797 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29798 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29799 when handler == SIG_ERR, not when handler != SIG_ERR.
29801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29803 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29804 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29807 accept4 for GNU Hurd.
29808 * include/sys/socket.h (__libc_accept4): New prototype.
29809 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29810 to implement __libc_accept4.
29811 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29813 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29815 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29816 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29817 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29818 signal-defines.sym.
29820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29822 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29826 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29827 assertion on O_CLOEXEC flag.
29828 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29829 * hurd/intern-fd.c: Likewise.
29830 * hurd/port2fd.c: Likewise.
29832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29835 * bits/in.h (IPV6_PKTINFO): Define new macro.
29836 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29838 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29843 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29845 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29846 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29848 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29849 * math/libm-test.inc (logb_test) : Additional logb tests.
29851 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29852 Andreas Jaeger <aj@suse.de>
29854 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29855 * configure: Regenerated.
29856 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29857 * config.make.in (link-obsolete-rpc): New substituted variable.
29858 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29859 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29860 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29861 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29862 so that libc.a contains the symbols.
29863 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29864 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29865 * sunrpc/auth_none.c: Likewise.
29866 * sunrpc/auth_unix.c: Likewise.
29867 * sunrpc/authdes_prot.c: Likewise.
29868 * sunrpc/authuxprot.c: Likewise.
29869 * sunrpc/clnt_gen.c: Likewise.
29870 * sunrpc/clnt_perr.c: Likewise.
29871 * sunrpc/clnt_raw.c: Likewise.
29872 * sunrpc/clnt_simp.c: Likewise.
29873 * sunrpc/clnt_tcp.c: Likewise.
29874 * sunrpc/clnt_udp.c: Likewise.
29875 * sunrpc/clnt_unix.c: Likewise.
29876 * sunrpc/des_crypt.c: Likewise.
29877 * sunrpc/des_soft.c: Likewise.
29878 * sunrpc/get_myaddr.c: Likewise.
29879 * sunrpc/key_call.c: Likewise.
29880 * sunrpc/key_prot.c: Likewise.
29881 * sunrpc/netname.c: Likewise.
29882 * sunrpc/pm_getmaps.c: Likewise.
29883 * sunrpc/pm_getport.c: Likewise.
29884 * sunrpc/pmap_clnt.c: Likewise.
29885 * sunrpc/pmap_prot.c: Likewise.
29886 * sunrpc/pmap_prot2.c: Likewise.
29887 * sunrpc/pmap_rmt.c: Likewise.
29888 * sunrpc/publickey.c: Likewise.
29889 * sunrpc/rpc_cmsg.c: Likewise.
29890 * sunrpc/rpc_common.c: Likewise.
29891 * sunrpc/rpc_dtable.c: Likewise.
29892 * sunrpc/rpc_prot.c: Likewise.
29893 * sunrpc/rpc_thread.c: Likewise.
29894 * sunrpc/rtime.c: Likewise.
29895 * sunrpc/svc.c: Likewise.
29896 * sunrpc/svc_auth.c: Likewise.
29897 * sunrpc/svc_raw.c: Likewise.
29898 * sunrpc/svc_run.c: Likewise.
29899 * sunrpc/svc_tcp.c: Likewise.
29900 * sunrpc/svc_udp.c: Likewise.
29901 * sunrpc/svc_unix.c: Likewise.
29902 * sunrpc/svcauth_des.c: Likewise.
29903 * sunrpc/xcrypt.c: Likewise.
29904 * sunrpc/xdr.c: Likewise.
29905 * sunrpc/xdr_array.c: Likewise.
29906 * sunrpc/xdr_float.c: Likewise.
29907 * sunrpc/xdr_intXX_t.c: Likewise.
29908 * sunrpc/xdr_mem.c: Likewise.
29909 * sunrpc/xdr_rec.c: Likewise.
29910 * sunrpc/xdr_ref.c: Likewise.
29911 * sunrpc/xdr_sizeof.c: Likewise.
29912 * sunrpc/xdr_stdio.c: Likewise.
29914 2012-05-10 Roland McGrath <roland@hack.frob.com>
29916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29917 change. Update copyright years.
29919 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29921 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29923 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29924 Joseph Myers <joseph@codesourcery.com>
29925 Paul Pluzhnikov <ppluzhnikov@google.com>
29928 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29930 [cross-compiling] (extra-libs): Likewise.
29931 [cross-compiling] (extra-libs-others): Likewise.
29932 [cross-compiling] (librpcsvc-routines): Likewise.
29933 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29934 [cross-compiling] (omit-deps): Likewise.
29935 (sunrpc-CPPFLAGS): New variable.
29936 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29937 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29938 (cross-rpcgen-objs): New variable.
29939 (extra-objs): Append $(cross-rpcgen-objs).
29940 ($(cross-rpcgen-objs)): New rule.
29941 ($(objpfx)cross-rpcgen): Likewise.
29942 (rpcgen-cmd): Define to use $(built-program-file). Expand
29944 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29945 ($(objpfx)x%.stmp): Likewise.
29946 * sunrpc/proto.h [IS_IN_build] (_): Define.
29947 [IS_IN_build] (_libc_intl_domainname): Likewise.
29949 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29952 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29953 and R_X86_64_TPOFF64.
29955 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29957 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29958 sysdeps/unix/sysv/syscalls.list.
29961 * sysdeps/unix/sysv/syscalls.list: Remove file.
29963 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29966 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29967 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29968 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29969 (__LC_IDENTIFICATION): Make these macros useful in #if
29970 expressions, as required by C99.
29972 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29974 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29975 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29978 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29980 * stdlib/longlong.h: Updated from GCC.
29982 2012-05-09 Andreas Jaeger <aj@suse.de>
29984 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29985 default is first entry.
29986 (run_mode): Set type.
29987 (main): Remove informal message about syslog.
29988 (options): Fix typo.
29991 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29994 (llrintf): Likewise.
29995 (llrint): Likewise.
29998 (nearbyint): Likewise.
29999 (nearbyintf): Likewise.
30001 2012-05-09 Andreas Jaeger <aj@suse.de>
30002 Pedro Alves <palves@redhat.com>
30004 * nscd/nscd.c (run_mode): Use enum.
30005 (main): Cleanup coding style issue.
30007 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30008 Andreas Jaeger <aj@suse.de>
30010 * nscd/nscd.c (go_background): Replaced with...
30011 (run_mode): ... this.
30012 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30013 (options): Add -F --foreground.
30014 (main): Implement it.
30015 (parse_opt): Parse it.
30017 2012-05-09 Andreas Jaeger <aj@suse.de>
30020 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30021 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30022 -Wconversion warning.
30023 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30026 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30028 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30030 (LC_ALL): Use macro-int-constant.
30031 (LC_COLLATE): Likewise.
30032 (LC_CTYPE): Likewise.
30033 (LC_MESSAGES): Likewise.
30034 (LC_MONETARY): Likewise.
30035 (LC_NUMERIC): Likewise.
30036 (LC_TIME): Likewise.
30037 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30038 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30040 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30042 [C99-based standards] (float_t): Expect type.
30043 [C99-based standards] (double_t): Expect type.
30044 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30046 [C99-based standards] (HUGE_VALL): Likewise.
30047 [C99-based standards] (INFINITY): Likewise.
30048 [C99-based standards] (NAN): Likewise.
30049 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30050 [C99-based standards] (FP_NAN): Likewise.
30051 [C99-based standards] (FP_NORMAL): Likewise.
30052 [C99-based standards] (FP_SUBNORMAL): Likewise.
30053 [C99-based standards] (FP_ZERO): Likewise.
30054 [C99-based standards] (FP_FAST_FMA): Use
30055 optional-macro-int-constant. Specify type. Require == 1.
30056 [C99-based standards] (FP_FAST_FMAF): Likewise.
30057 [C99-based standards] (FP_FAST_FMAL): Likewise.
30058 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30059 [C99-based standards] (FP_ILOGBNAN): Likewise.
30060 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30062 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30063 [C99-based standards] (math_errhandling): Specify type.
30064 [ISO99 || ISO11] (signgam): Do not allow.
30065 [non-C99-based standards] (copysignf): Do not allow.
30066 [non-C99-based standards] (exp2f): Likewise.
30067 [non-C99-based standards] (log2f): Likewise.
30068 [non-C99-based standards] (modff): Allow.
30069 [non-C99-based standards] (erff): Do not allow.
30070 [non-C99-based standards] (erfcf): Likewise.
30071 [non-C99-based standards] (gammaf): Likewise.
30072 [non-C99-based standards] (hypotf): Likewise.
30073 [non-C99-based standards] (j0f): Likewise.
30074 [non-C99-based standards] (j1f): Likewise.
30075 [non-C99-based standards] (jnf): Likewise.
30076 [non-C99-based standards] (lgammaf): Likewise.
30077 [non-C99-based standards] (tgammaf): Likewise.
30078 [non-C99-based standards] (y0f): Likewise.
30079 [non-C99-based standards] (y1f): Likewise.
30080 [non-C99-based standards] (ynf): Likewise.
30081 [non-C99-based standards] (isnanf): Likewise.
30082 [non-C99-based standards] (acoshf): Likewise.
30083 [non-C99-based standards] (asinhf): Likewise.
30084 [non-C99-based standards] (atanhf): Likewise.
30085 [non-C99-based standards] (cbrtf): Likewise.
30086 [non-C99-based standards] (expm1f): Likewise.
30087 [non-C99-based standards] (ilogbf): Likewise.
30088 [non-C99-based standards] (log1pf): Likewise.
30089 [non-C99-based standards] (logbf): Likewise.
30090 [non-C99-based standards] (nextafterf): Likewise.
30091 [non-C99-based standards] (remainderf): Likewise.
30092 [non-C99-based standards] (rintf): Likewise.
30093 [non-C99-based standards] (scalbf): Likewise.
30094 [non-C99-based standards] (copysignl): Likewise.
30095 [non-C99-based standards] (exp2l): Likewise.
30096 [non-C99-based standards] (log2l): Likewise.
30097 [non-C99-based standards] (modfl): Allow.
30098 [non-C99-based standards] (erfl): Do not allow.
30099 [non-C99-based standards] (erfcl): Likewise.
30100 [non-C99-based standards] (gammal): Likewise.
30101 [non-C99-based standards] (hypotl): Likewise.
30102 [non-C99-based standards] (j0l): Likewise.
30103 [non-C99-based standards] (j1l): Likewise.
30104 [non-C99-based standards] (jnl): Likewise.
30105 [non-C99-based standards] (lgammal): Likewise.
30106 [non-C99-based standards] (tgammal): Likewise.
30107 [non-C99-based standards] (y0l): Likewise.
30108 [non-C99-based standards] (y1l): Likewise.
30109 [non-C99-based standards] (ynl): Likewise.
30110 [non-C99-based standards] (isnanl): Likewise.
30111 [non-C99-based standards] (acoshl): Likewise.
30112 [non-C99-based standards] (asinhl): Likewise.
30113 [non-C99-based standards] (atanhl): Likewise.
30114 [non-C99-based standards] (cbrtl): Likewise.
30115 [non-C99-based standards] (expm1l): Likewise.
30116 [non-C99-based standards] (ilogbl): Likewise.
30117 [non-C99-based standards] (log1pl): Likewise.
30118 [non-C99-based standards] (logbl): Likewise.
30119 [non-C99-based standards] (nextafterl): Likewise.
30120 [non-C99-based standards] (remainderl): Likewise.
30121 [non-C99-based standards] (rintl): Likewise.
30122 [non-C99-based standards] (scalbl): Likewise.
30123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30124 [non-C99-based standards] (FP_*): Do not allow.
30125 [C99-based standards] (FP_*): Change to
30126 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30127 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30129 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30130 (SIG_ERR): Likewise.
30131 [X/Open-based standards] (SIG_HOLD): Likewise.
30132 (SIG_IGN): Likewise.
30133 (SIGABRT): Use macro-int-constant. Specify type. Require
30135 (SIGFPE): Likewise.
30136 (SIGILL): Likewise.
30137 (SIGINT): Likewise.
30138 (SIGSEGV): Likewise.
30139 (SIGTER): Likewise.
30140 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30141 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30145 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30146 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30147 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30148 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30151 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30152 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30153 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30154 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30155 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30156 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30157 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30158 [X/Open-based standards] (SIGTRAP): Likewise.
30159 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30160 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30161 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30162 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30163 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30166 2012-05-08 Ian Wienand <ianw@vmware.com>
30169 * time/tzset.c (__tzset_parse_tz): Update default rules for
30170 daylight time changes in the Energy Policy Act of 2005.
30172 2012-05-09 Andreas Jaeger <aj@suse.de>
30175 * elf/ldconfig.c (parse_conf): Change string to make clear that
30176 ldconfig only issued a warning if ld.so.conf does not exist.
30178 2012-05-08 David S. Miller <davem@davemloft.net>
30180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30181 movxtod instead of popping the value on the stack.
30183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30185 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30187 * config.h.in: Add HAVE_ARM_PCS_VFP.
30189 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30192 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30193 checking but the checks are disabled for any reason.
30195 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30197 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30198 and ELF64_R_TYPE with ELFW(R_TYPE).
30200 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30202 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30203 (ulimit): Likewise.
30205 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30206 (settimeofday): Likewise.
30208 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30210 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30211 a struct th_u2 inside the union, and move tu_block/tu_code into
30212 a new th_u3 union of tu_block/tu_code inside of that. Move
30213 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30214 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30215 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30216 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30217 (th_stuff): Change to th_u1.tu_stuff.
30219 (th_msg): Change to th_u1.th_u2.tu_data.
30221 2012-05-07 David S. Miller <davem@davemloft.net>
30223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30226 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30227 (SETUP_PIC_REG): Use it.
30228 (SETUP_PIC_REG_LEAF): Use it.
30230 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30236 (EXPL_FINITE): Likewise.
30237 (FLDLOG): Likewise.
30238 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30239 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30243 (EXPL_FINITE): Likewise.
30244 (FLDLOG): Likewise.
30245 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30246 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30248 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30249 test of -max_value argument for long double.
30250 * sysdeps/i386/fpu/libm-test-ulps: Update.
30251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30253 2012-05-06 David S. Miller <davem@davemloft.net>
30255 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30256 quad soft-float symbols whose references which are compiler
30258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30260 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30266 (EXPL_FINITE): Likewise.
30267 (FLDLOG): Likewise.
30270 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30271 Adjust comments for base varying.
30272 (__expl_finite): Change alias to EXPL_FINITE.
30273 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30275 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30276 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30277 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30278 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30279 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30281 (EXPL_FINITE): Likewise.
30282 (FLDLOG): Likewise.
30285 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30286 Adjust comments for base varying.
30287 (__expl_finite): Change alias to EXPL_FINITE.
30288 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30293 * math/libm-test.inc (check_float_internal): Correct ulp
30294 calculation for subnormal expected results.
30296 2012-05-06 Andreas Jaeger <aj@suse.de>
30298 * Makeconfig (+math-flags): New, set to -frounding-math.
30299 (+cflags): Add +math-flags so that all of glibc gets compiled with
30302 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30304 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30306 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30312 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30313 (__ieee754_expl): Allow for and saturate large arguments.
30314 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30315 (u_threshold): Likewise.
30316 (__exp): Call __ieee754_exp before checking for overflow and
30318 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30319 (u_threshold): Likewise.
30320 (__expf): Call __ieee754_expf before checking for overflow and
30322 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30323 (u_threshold): Likewise.
30324 (__expl): Call __ieee754_expl before checking for overflow and
30326 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30327 (__ieee754_expl): Allow for and saturate large arguments.
30328 * math/libm-test.inc (exp_test): Add another test. Do not allow
30329 missing overflow exception on overflow.
30330 (expm1_test): Do not allow missing overflow exception on overflow.
30332 * sysdeps/i386/fpu/e_expl.c: Move to ...
30333 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30334 rather than using inline asm.
30335 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30336 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30337 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30339 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30342 (signal): Likewise.
30346 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30348 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30349 sysdeps/unix/common/syscalls.list.
30350 (fchmod): Likewise.
30351 (fchown): Likewise.
30352 (ftruncate): Likewise.
30353 (getrusage): Likewise.
30354 (gettimeofday): Likewise.
30355 (setpgid): Likewise.
30356 (setregid): Likewise.
30357 (setreuid): Likewise.
30358 (sigaction): Likewise.
30359 (truncate): Likewise.
30360 (vhangup): Likewise.
30361 * sysdeps/unix/common/syscalls.list: Remove file.
30362 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30363 * sysdeps/unix/sysv/linux/Implies: Likewise.
30365 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30367 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30369 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30373 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30376 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30379 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30382 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30385 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30388 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30391 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30395 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30399 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30402 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30406 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30410 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30412 * sysdeps/unix/common/bits/dirent.h: Remove file.
30413 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30415 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30416 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30417 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30418 * sysdeps/unix/bsd/isatty.c: Likewise.
30419 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30420 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30421 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30423 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30427 long double comparison inaccuracies.
30428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30431 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30433 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30436 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30440 nonzero digits before rounding a hex value.
30441 * stdlib/tst-strtod.c (tests): Add another test.
30443 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30445 * sysdeps/s390/fpu/libm-test-ulps: Update.
30447 2012-05-03 Andreas Jaeger <aj@suse.de>
30449 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30450 does not get optimized out.
30451 (malloc_opt_barrier): New.
30453 2012-05-03 Andreas Jaeger <aj@suse.de>
30454 Roland McGrath <roland@hack.frob.com>
30456 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30457 intermediate file deletion.
30458 (generated): Add .symlist files.
30460 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30463 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30464 Redirect under this condition.
30465 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30466 [__USE_GNU] (__dprintf_chk): Not under this condition.
30467 [__USE_GNU] (__vdprintf_chk): Likewise.
30468 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30469 under this condition.
30470 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30471 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30472 [__USE_XOPEN2K8] (vdprintf): Likewise.
30473 [__USE_GNU] (__dprintf_chk): Not under this condition.
30474 [__USE_GNU] (__vdprintf_chk): Likewise.
30475 [__USE_GNU] (dprintf): Likewise.
30476 [__USE_GNU] (vdprintf): Likewise.
30478 2012-05-03 Roland McGrath <roland@hack.frob.com>
30480 * elf/Makefile (common-generated): Set this instead of generated for
30481 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30482 $(all-built-dso)-derived lists.
30484 2012-05-03 Andreas Jaeger <aj@suse.de>
30486 * sysdeps/i386/fpu/libm-test-ulps: Update.
30489 * FAQ.in: Likewise.
30490 * scripts/gen-FAQ.pl: Likewise.
30491 * manual/install.texi (Installation): Point to online location of
30493 * Makefile (files-for-dist): Remove FAQ.
30496 2012-05-02 Allan McRae <allan@archlinux.org>
30498 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30499 (LDFLAGS-reldepmod5.so): Likewise.
30500 (LDFLAGS-reldep6mod1.so): Likewise.
30501 (LDFLAGS-reldep6mod4.so): Likewise.
30502 (LDFLAGS-reldep8mod3.so): Likewise.
30503 (LDFLAGS-unload4mod1.so): Likewise.
30504 (LDFLAGS-unload4mod2.so): Likewise.
30505 (LDFLAGS-tst-initorder): Likewise.
30506 (LDFLAGS-tst-initordera2.so): Likewise.
30507 (LDFLAGS-tst-initordera3.so): Likewise.
30508 (LDFLAGS-tst-initordera4.so): Likewise.
30509 (LDFLAGS-tst-initorderb2.so): Likewise.
30510 (LDFLAGS-noload): Likewise.
30511 (LDFLAGS-next): Likewise.
30512 (LDFLAGS-order2mod1.so): Likewise.
30513 (LDFLAGS-order2mod2.so): Likewise.
30514 (LDFLAGS-tst-initorder2): Likewise.
30515 (LDFLAGS-tst-initorder2a.so): Likewise.
30516 (LDFLAGS-tst-initorder2b.so): Likewise.
30517 (LDFLAGS-tst-initorder2c.so): Likewise.
30518 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30520 2012-05-02 David S. Miller <davem@davemloft.net>
30522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30524 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30527 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30529 2012-05-02 Andreas Jaeger <aj@suse.de>
30531 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30532 since we manipulate rounding mode.
30533 (CPPFLAGS-test-idouble.c): Likewise.
30534 (CPPFLAGS-test-ifloat.c): Likewise.
30535 (CFLAGS-test-ldouble.c): Likewise.
30536 (CFLAGS-test-double.c): Likewise.
30537 (CFLAGS-test-float.c): Likewise.
30538 (CFLAGS-test-misc.c): Likewise.
30539 (CFLAGS-test-test-fenv.c): Likewise.
30541 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30546 comparisons to determine direction to adjust input.
30548 2012-05-01 Roland McGrath <roland@hack.frob.com>
30550 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30551 output to the target.
30553 * scripts/localplt.awk: New file.
30554 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30555 (check-localplt-CFLAGS): Variable removed.
30556 ($(all-built-dso:=.jmprel)): New static pattern rule.
30557 (generated): Add those targets.
30558 (localplt-built-dso): New variable.
30559 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30561 * elf/check-localplt.c: File removed.
30563 * scripts/check-execstack.awk: New file.
30564 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30565 (check-execstack-CFLAGS): Variable removed.
30566 ($(objpfx)check-execstack.h): Target removed.
30567 ($(objpfx)execstack-default): New target.
30568 (generated): Add that instead of check-execstack.h.
30569 ($(all-built-dso:=.phdr)): New static pattern rule.
30570 (generated): Add those targets.
30571 * elf/check-execstack.c: File removed.
30573 * scripts/check-textrel.awk: New file.
30574 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30575 (check-textrel-CFLAGS): Variable removed.
30576 (all-built-dso): Use := to define.o
30577 ($(all-built-dso:=.dyn)): New static pattern rule.
30578 (generated): Add those targets.
30579 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30580 * config.make.in (READELF): New substituted variable.
30581 * elf/check-textrel.c: File removed.
30583 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30585 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30587 * conform/data/ctype.h-data [C99-based standards] (isblank):
30589 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30590 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30592 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30593 Specify type. Require positive value.
30594 (EILSEQ): Likewise.
30595 (ERANGE): Likewise.
30596 [ISO || POSIX] (EILSEQ): Do not expect.
30597 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30598 Specify type. Require positive value.
30599 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30637 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30638 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30639 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30640 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30641 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30642 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30643 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30644 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30645 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30646 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30647 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30648 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30649 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30650 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30651 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30652 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30654 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30673 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30674 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30675 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30677 (FLT_ROUNDS): Expect as macro, not constant.
30678 (FLT_MANT_DIG): Use macro-int-constant.
30679 (DBL_MANT_DIG): Likewise.
30680 (LDBL_MANT_DIG): Likewise.
30681 (FLT_DIG): Likewise.
30682 (DBL_DIG): Likewise.
30683 (LDBL_DIG): Likewise.
30684 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30685 (DBL_MIN_EXP): Likewise.
30686 (LDBL_MIN_EXP): Likewise.
30687 (FLT_MAX_EXP): Use macro-int-constant.
30688 (DBL_MAX_EXP): Likewise.
30689 (LDBL_MAX_EXP): Likewise.
30690 (FLT_MAX_10_EXP): Likewise.
30691 (DBL_MAX_10_EXP): Likewise.
30692 (LDBL_MAX_10_EXP): Likewise.
30693 (FLT_MAX): Use macro-constant.
30694 (DBL_MAX): Likewise.
30695 (LDBL_MAX): Likewise.
30696 (FLT_EPSILON): Use macro-constant. Give upper bound.
30697 (DBL_EPSILON): Likewise.
30698 (LDBL_EPSILON): Likewise.
30699 (FLT_MIN): Likewise.
30700 (DBL_MIN): Likewise.
30701 (LDBL_MIN): Likewise.
30702 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30703 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30704 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30705 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30706 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30707 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30708 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30709 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30710 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30711 [ISO11] (FLT_TRUE_MIN): Likewise.
30712 [ISO11] (LDBL_TRUE_MIN): Likewise.
30713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30714 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30715 (SCHAR_MIN): Use macro-int-constant. Specify type.
30716 (SCHAR_MAX): Likewise.
30717 (UCHAR_MAX): Likewise.
30718 (CHAR_MIN): Likewise.
30719 (CHAR_MAX): Likewise.
30720 (MB_LEN_MAX): Use macro-int-constant.
30721 (SHRT_MIN): Use macro-int-constant. Specify type.
30722 (SHRT_MAX): Likewise.
30723 (USHRT_MAX): Likewise.
30724 (INT_MAX): Likewise.
30725 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30727 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30729 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30731 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30732 bound negative. Suffix upper bound with "L".
30733 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30735 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30737 [C99-based standards] (LLONG_MAX): Likewise.
30738 [C99-based standards] (ULLONG_MAX): Likewise.
30739 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30741 [ISO11] (max_align_t): Require type.
30742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30744 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30745 from $CFLAGS, without defining away __attribute__ calls.
30746 (checknamespace): Use $CFLAGS_namespace.
30748 * conform/conformtest.pl (@keywords): Only include C99 keywords
30749 for standards based on C99 or C11.
30751 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30753 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30756 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30757 usability of symbols in #if.
30759 * conform/conformtest.pl: If macro or constant types start
30760 "promoted:", expect the symbol to be of the following type
30761 promoted by the integer promotions.
30763 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30764 in one place. Also handle "macro-constant".
30766 * conform/conformtest.pl: Only accept expected macro values with
30767 "==". Parse all "macro" lines in one place.
30768 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30770 * conform/conformtest.pl: Handle braced types on "constant" lines
30771 instead of handling "typed-constant".
30772 * conform/data/signal.h-data: Use "constant" instead of
30775 * conform/conformtest.pl: Handle "optional-" at start of lines in
30776 one place rather than duplicating several cases. Handle each
30777 format of "macro" line with initial "optional-".
30779 * conform/conformtest.pl: Only accept expected constant or
30780 optional-constant values with "==". Parse all "constant" lines in
30781 one place. Parse all "optional-constant" lines in one place.
30782 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30783 * conform/data/fmtmsg.h-data: Likewise.
30784 * conform/data/netinet/in.h-data: Likewise.
30785 * conform/data/tar.h-data: Likewise.
30786 * conform/data/limits.h-data: Use "==" form on "constant" and
30787 "optional-constant" lines.
30789 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30790 Use -std=c99 for XOPEN2K.
30791 (@knownproblems): Remove.
30792 (newtoken): Don't check %isknown.
30794 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30795 Do not expect macro.
30796 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30808 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30809 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30826 [XPG3] (acosh): Likewise.
30827 [XPG3] (asinh): Likewise.
30828 [XPG3] (atanh): Likewise.
30829 [XPG3] (cbrt): Likewise.
30830 [XPG3] (expm1): Likewise.
30831 [XPG3] (ilogb): Likewise.
30832 [XPG3] (log1p): Likewise.
30833 [XPG3] (logb): Likewise.
30834 [XPG3] (nextafter): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30837 [XPG3] (remainder): Likewise.
30838 [XPG3] (rint): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30846 [UNIX98 || XOPEN2K] (scalb): Expect.
30847 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30848 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30985 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30986 _XOPEN_SOURCE_EXTENDED for XPG4.
30988 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30990 * Makeconfig (localtime): Remove variable.
30991 (inst_localtime-file): Likewise.
30993 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31014 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31018 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31019 comparisons to determine direction to adjust input.
31020 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31021 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31028 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31029 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31031 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31033 * math/libm-test.inc (nexttoward_test): Add more tests.
31035 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31039 in version GLIBC_2.1, not GLIBC_2.0.
31040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31043 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31046 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31048 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31049 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31050 * math/libm-test.inc (acos_test): Add more tests.
31051 (asin_test): Likewise.
31052 * sysdeps/i386/fpu/libm-test-ulps: Update.
31053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31058 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31059 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31060 * math/libm-test.inc (acos_test_tonearest): New function.
31061 (acos_test_towardzero): Likewise.
31062 (acos_test_downward): Likewise.
31063 (acos_test_upward): Likewise.
31064 (asin_test_tonearest): Likewise.
31065 (asin_test_towardzero): Likewise.
31066 (asin_test_downward): Likewise.
31067 (asin_test_upward): Likewise.
31068 (main): Call the new functions.
31069 * sysdeps/i386/fpu/libm-test-ulps: Update.
31070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31074 * math/e_exp10.c: Include <float.h>.
31075 (__ieee754_exp10): Handle underflow here rather than multiplying
31076 large negative argument by M_LN10.
31077 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31079 * math/e_exp10l.c: Include <float.h>.
31080 (__ieee754_exp10l): Handle underflow here rather than multiplying
31081 large negative argument by M_LN10l.
31082 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31083 spurious overflow exception on underflow.
31085 2012-04-29 Marek Polacek <polacek@redhat.com>
31087 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31088 (__fortify_function): New macro.
31089 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31090 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31091 __extern_always_inline.
31092 * libio/bits/stdio2.h: Likewise.
31093 * libio/bits/stdio.h: Likewise.
31094 * string/string.h: Likewise.
31095 * string/bits/string3.h: Likewise.
31096 * include/stdio.h: Likewise.
31097 * stdlib/bits/stdlib.h: Likewise.
31098 * stdlib/stdlib.h: Likewise.
31099 * rt/bits/mqueue2.h: Likewise.
31100 * rt/mqueue.h: Likewise.
31101 * posix/bits/unistd.h: Likewise.
31102 * posix/unistd.h: Likewise.
31103 * io/bits/poll2.h: Likewise.
31104 * io/bits/fcntl2.h: Likewise.
31105 * io/fcntl.h: Likewise.
31106 * io/sys/poll.h: Likewise.
31107 * misc/bits/syslog.h: Likewise.
31108 * misc/bits/syslog-ldbl.h: Likewise.
31109 * misc/sys/syslog.h: Likewise.
31110 * socket/bits/socket2.h: Likewise.
31111 * socket/sys/socket.h: Likewise.
31112 * debug/tst-chk1.c: Likewise.
31113 * wcsmbs/bits/wchar2.h: Likewise.
31114 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31115 * wcsmbs/wchar.h: Likewise.
31117 2012-04-29 Andreas Jaeger <aj@suse.de>
31119 * Makerules (tests): Remove enable-check-abi protection.
31120 (check-abi-warn): Remove.
31121 (check-abi-%): Remove check-abi-warn usage.
31123 * configure.in: Remove check-abi configure option.
31124 * configure: Regenerated.
31125 * config.make.in (enable-check-abi): Remove.
31127 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31130 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31131 double functions to double *_finite functions.
31134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31135 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31137 * stdio-common/Makefile (tests): Add tst-sprintf3.
31138 * stdio-common/tst-sprintf3.c: New file.
31140 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31141 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31143 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31145 * conform/conformtest.pl: Remove duplicate typed-constant
31148 2012-04-28 David S. Miller <davem@davemloft.net>
31150 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31151 (check-abi-%): Remove AWK script prerequisite and explicit
31153 (check-abi): Rewrite to just diff the symlist with the abilist.
31154 (config-tls, config-abi-config): Delete, no longer used.
31155 (update-abi-%): Remove AWK script and explicit abilist directory.
31156 (update-abi): Rewrite to simply compare and conditionally copy the
31157 symlist and the sysdep abilist file. Remove update-abi-config
31159 * abilist/ld.abilist: Remove.
31160 * abilist/libBrokenLocale.abilist: Remove.
31161 * abilist/libanl.abilist: Remove.
31162 * abilist/libcrypt.abilist: Remove.
31163 * abilist/libdl.abilist: Remove.
31164 * abilist/librt.abilist: Remove.
31165 * abilist/libthread_db.abilist: Remove.
31166 * abilist/libutil.abilist: Remove.
31167 * scripts/extract-abilist.awk: Remove.
31168 * scripts/merge-abilist.awk: Remove.
31169 * sysdeps/generic/libcidn.abilist: New file.
31170 * sysdeps/generic/libnss_compat.abilist: New file.
31171 * sysdeps/generic/libnss_db.abilist: New file.
31172 * sysdeps/generic/libnss_dns.abilist: New file.
31173 * sysdeps/generic/libnss_files.abilist: New file.
31174 * sysdeps/generic/libnss_hesiod.abilist: New file.
31175 * sysdeps/generic/libnss_nis.abilist: New file.
31176 * sysdeps/generic/libnss_nisplus.abilist: New file.
31177 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31178 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31179 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31181 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31182 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31183 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31184 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31185 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31186 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31187 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31188 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31189 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31191 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31193 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31196 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31197 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31199 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31200 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31201 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31203 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31204 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31205 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31207 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31310 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31311 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31312 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31315 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31316 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31317 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31318 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31319 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31320 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31321 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31322 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31323 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31375 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31377 * conform/conformtest.pl: Fix typo in handling typed-constant from
31380 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31382 * README: Cut down references to pre-2.6 Linux kernels and
31383 Linuxthreads. Update lists of configurations in libc and ports
31384 and sort alphabetically. Say "or newer" with Linux kernel version
31387 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31389 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31392 * math/libm-test.inc (logb_test_downward): New test to expose
31393 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31396 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31399 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31401 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31402 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31404 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31406 * sysdeps/unix/i386/brk.S: Remove file.
31407 * sysdeps/unix/i386/dl-brk.S: Likewise.
31408 * sysdeps/unix/i386/pipe.S: Likewise.
31409 * sysdeps/unix/i386/sigreturn.S: Likewise.
31410 * sysdeps/unix/i386/syscall.S: Likewise.
31411 * sysdeps/unix/i386/vfork.S: Likewise.
31412 * sysdeps/unix/i386/wait.S: Likewise.
31414 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31415 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31417 * configure.in (arm*-none*): Do not allow without
31418 --enable-hacker-mode.
31419 (netbsd*): Remove case setting base_os.
31420 (386bsd*): Likewise.
31421 (freebsd*): Likewise.
31424 (sunos*): Likewise.
31425 (ultrix*): Likewise.
31426 (newsos*): Likewise.
31427 (dynix*): Likewise.
31433 (minix*): Likewise.
31434 (irix4*): Likewise.
31435 (irix6*): Likewise.
31436 (solaris[2-9]*): Likewise.
31438 * configure: Regenerated.
31440 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31443 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31444 overflow or cancellation in calculating denominator.
31445 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31447 down expression to avoid unexpected rounding in newer GCCs.
31448 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31450 2012-04-26 David S. Miller <davem@davemloft.net>
31452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31453 long-double compat symbols.
31454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31468 2012-04-25 David S. Miller <davem@davemloft.net>
31470 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31471 HWCAP_* values only after the memory barriers have been defined.
31472 (atomic_full_barrier): Define.
31473 (atomic_read_barrier): Define.
31474 (atomic_write_barrier): Define.
31476 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31478 * shlib-versions: Add libgcc_s version information.
31479 * sysdeps/generic/libgcc_s.h: Remove.
31480 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31482 * sysdeps/gnu/unwind-resume.c: Likewise.
31483 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31485 2012-04-25 David S. Miller <davem@davemloft.net>
31487 * sysdeps/unix/sparc/brk.S: Delete.
31488 * sysdeps/unix/sparc/dl-brk.S: Delete.
31489 * sysdeps/unix/sparc/pipe.S: Delete.
31490 * sysdeps/unix/sparc/sysdep.S: Delete.
31491 * sysdeps/unix/sparc/sysdep.h: Delete.
31492 * sysdeps/unix/sparc/vfork.S: Delete.
31493 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31494 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31496 ret_ERRVAL, r0, r1, MOVE): Define.
31497 (JUMPTARGET): Remove.
31498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31499 sysdeps/unix/sparc/sysdep.h
31500 (ENTRY, END): Remove.
31501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31503 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31505 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31506 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31509 * timezone/README: Update upstream location and email address for
31511 * timezone/zdump.c: Update from tzcode 2012b.
31512 * timezone/zic.c: Likewise.
31514 * configure.in (libc_cv_as_needed): Remove test.
31515 * configure: Regenerated.
31516 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31517 conditional definition.
31518 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31519 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31520 * config.make.in (have-as-needed): Remove variable.
31522 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31523 Paul Pluzhnikov <ppluzhnikov@google.com>
31525 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31528 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31530 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31531 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31532 * sysdeps/sh/strlen.S: Likewise.
31534 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31536 * sysdeps/unix/fork.S: Remove file.
31537 * sysdeps/unix/i386/fork.S: Likewise.
31538 * sysdeps/unix/sparc/fork.S: Likewise.
31540 * sysdeps/unix/system.c: Remove file.
31541 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31543 * sysdeps/unix/getegid.S: Remove file.
31544 * sysdeps/unix/geteuid.S: Likewise.
31546 2012-04-24 Roland McGrath <roland@hack.frob.com>
31548 * scripts/check-localplt.awk: New file.
31549 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31551 * scripts/data/localplt-generic.data: Add a comment.
31553 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31554 NODE when __dir_mkfile failed.
31555 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31556 Reported by Ludovic Courtès <ludo@gnu.org>.
31558 2012-04-24 Andreas Jaeger <aj@suse.de>
31560 * Makerules (common-clean): Also remove gen-as-const-headers
31563 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31565 * Makerules (native-compile): Do not change working directory for
31566 build. Use $(OUTPUT_OPTION) in command.
31567 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31569 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31572 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31573 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31574 * math/libm-test.inc (floor_test): Add more tests.
31575 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31577 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31579 * sysdeps/unix/getdents.c: Remove file.
31580 * sysdeps/unix/sysv/getdents.c: Likewise.
31581 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31583 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31584 sysdeps/unix/mman/syscalls.list.
31586 (mprotect): Likewise.
31588 (munmap): Likewise.
31589 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31590 * sysdeps/unix/mman/syscalls.list: Remove.
31591 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31593 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31594 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31595 * configure: Regenerated.
31596 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31597 $(libgcc_s_suffix).
31598 * config.make.in (libgcc_s_suffix): Remove variable.
31600 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31602 * sysdeps/unix/sysv/gethostname.c: Move to ...
31603 * sysdeps/posix/gethostname.c: ... here.
31605 * sysdeps/unix/execve.S: Remove file.
31607 * sysdeps/unix/_exit.S: Remove file.
31609 2012-04-23 Andreas Jaeger <aj@suse.de>
31612 * manual/Makefile: Remove make dist support, there's no
31613 need for a stand-alone documentation tar ball.
31614 (TEXI2DVI): Define always, it's not in Makeconfig.
31617 (edition): Removed.
31618 (glibc-doc-$(edition).tar): Removed
31622 (ETAGS): Remove, it's in Makeconfig.
31623 (move-if-change): Remove, it's in Makeconfig.
31625 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31628 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31629 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31630 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31631 (strtod_l, strtof_l, strtold_l): Remove __wur.
31632 It is not necessarily an error to ignore strtol's return value.
31633 One can reliably look at the stored endptr to decide whether
31634 the number had valid syntax.
31636 2012-04-21 Andreas Jaeger <aj@suse.de>
31639 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31641 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31643 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31644 * sysdeps/unix/sysv/Versions: Remove file.
31646 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31651 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31655 version from __vm86.
31657 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31659 * sysdeps/unix/common/lxstat.c: Remove file.
31660 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31662 * sysdeps/unix/sysv/Makefile: Remove file.
31664 * sysdeps/unix/sysv/direct.h: Remove file.
31666 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31667 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31668 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31669 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31670 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31671 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31672 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31674 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31676 * sysdeps/unix/xmknod.c: Remove file.
31677 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31679 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31681 * sysdeps/unix/sysv/i386/time.S: Remove file.
31683 * sysdeps/unix/fxstat.c: Remove file.
31684 * sysdeps/unix/xstat.c: Likewise.
31685 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31687 * sysdeps/unix/sysv/sigaction.c: Remove file.
31689 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31690 (sysdep_headers): Remove variable.
31691 [termio.h not in sysdep_headers] (generated): Likewise.
31692 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31693 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31694 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31695 * sysdeps/unix/sysv/tcflow.c: Likewise.
31696 * sysdeps/unix/sysv/tcflush.c: Likewise.
31697 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31698 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31699 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31700 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31701 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31703 * sysdeps/unix/siglist.c: Remove file.
31705 * sysdeps/unix/getppid.S: Remove file.
31707 * sysdeps/unix/mkdir.c: Remove file.
31708 * sysdeps/unix/rmdir.c: Likewise.
31710 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31712 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31714 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31715 errlist-compat value.
31717 2012-04-18 David S. Miller <davem@davemloft.net>
31719 * sysdeps/generic/memcopy.h (reg_char): Delete.
31720 * debug/strcat_chk.c: Use char, not reg_char.
31721 * debug/strcpy_chk.c: Likewise.
31722 * debug/strncat_chk.c: Likewise.
31723 * debug/strncpy_chk.c: Likewise.
31724 * string/memchr.c: Likewise.
31725 * string/memrchr.c: Likewise.
31726 * string/rawmemchr.c: Likewise.
31727 * string/strcat.c: Likewise.
31728 * string/strchr.c: Likewise.
31729 * string/strchrnul.c: Likewise.
31730 * string/strcmp.c: Likewise.
31731 * string/strcpy.c: Likewise.
31732 * string/strncat.c: Likewise.
31733 * string/strncmp.c: Likewise.
31734 * string/strncpy.c: Likewise.
31736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31738 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31739 __builtin_memcopy is called when src and dest ranges are known to not
31742 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31744 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31745 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31746 fwd_align_merge macro call.
31747 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31748 bwd_align_merge macro call.
31749 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31751 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31754 bwd_align_merge macros.
31755 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31756 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31757 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31759 2012-04-18 David S. Miller <davem@davemloft.net>
31761 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31763 2012-04-18 Andreas Jaeger <aj@suse.de>
31766 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31767 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31768 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31770 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31771 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31772 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31774 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31775 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31776 Adjust for changed ldbl-128 files.
31778 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31779 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31780 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31782 2012-04-17 David S. Miller <davem@davemloft.net>
31784 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31786 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31788 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31789 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31790 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31791 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31792 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31793 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31795 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31798 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31799 * math/libm-test.inc: Add ilogb errno and exception tests.
31800 * math/w_ilogb.c: New file: ilogb wrapper.
31801 * math/w_ilogbf.c: New file: ilogbf wrapper.
31802 * math/w_ilogbl.c: New file: ilogbl wrapper.
31803 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31804 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31805 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31806 exception being thrown with 0.0 as argument.
31807 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31808 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31809 exception being thrown with 0.0 as argument.
31810 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31811 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31812 exception being thrown with 0.0 as argument.
31813 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31814 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31815 exception being thrown with 0.0 as argument.
31816 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31817 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31819 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31821 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31822 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31823 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31824 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31826 2012-04-17 Petr Baudis <pasky@ucw.cz>
31828 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31831 2012-04-16 Marek Polacek <polacek@redhat.com>
31833 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31835 2012-04-16 Marek Polacek <polacek@redhat.com>
31837 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31838 operands of fdivp instruction.
31840 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31842 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31843 * elf/tst-auditmod3b.c: Likewise.
31844 * elf/tst-auditmod4b.c: Likewise.
31845 * elf/tst-auditmod5b.c: Likewise.
31846 * elf/tst-auditmod6b.c: Likewise.
31847 * elf/tst-auditmod6c.c: Likewise.
31848 * elf/tst-auditmod7b.c: Likewise.
31849 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31850 * sysdeps/x86_64/preconfigure.in: Likewise.
31851 * sysdeps/x86_64/preconfigure: Regenerated.
31853 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31855 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31858 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31861 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31863 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31866 * locale/iso-639.def: Fix gl language name. Spotted by
31869 2012-04-12 Roland McGrath <roland@hack.frob.com>
31872 * libio/libio.h (__io_write_fn): Update comment.
31874 2012-04-12 Petr Baudis <pasky@ucw.cz>
31877 * stdio.texi (Hook Functions): The user provided writer function
31878 is not allowed to return -1.
31880 2012-04-11 David S. Miller <davem@davemloft.net>
31882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31884 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31886 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31887 Add a leading slash to rtkaio.
31889 2012-04-11 Jim Meyering <meyering@redhat.com>
31892 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31893 It is not necessarily an error to ignore fwrite's return
31894 value. One can reliably use ferror to test for errors after
31897 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31899 * bits/types.h (__snseconds_t): New type.
31900 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31902 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31904 (__SNSECONDS_T_TYPE): Likewise.
31905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31906 (__SNSECONDS_T_TYPE): Likewise.
31907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31908 (__SNSECONDS_T_TYPE): Likewise.
31910 2012-04-10 Andreas Jaeger <aj@suse.de>
31913 * manual/time.texi (Processor Time): Return type of times is
31914 elapsed real time since an arbitrary point in the past.
31915 (CPU Time): Move CLK_TCK from here...
31916 (Processor Time): ...to here. Correct description.
31917 * manual/conf.texi (Constants for Sysconf): Correct description of
31920 2012-04-10 David S. Miller <davem@davemloft.net>
31923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31924 where the is a gap between DT_REL(A) and DT_JMPREL.
31926 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31928 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31929 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31930 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31932 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31934 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31935 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31936 (dl_main): Handle --inhibit-cache.
31937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31939 * elf/dl-load.c (_dl_map_object): Use it.
31940 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31942 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31945 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31946 (__ieee754_powl): Saturate large exponents rather than testing for
31947 overflow of y*log2(x).
31948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31949 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31953 * math/s_ctan.c: Include <float.h>.
31954 (__ctan): Avoid internal overflow or cancellation in calculating
31956 * math/s_ctanf.c: Likewise.
31957 * math/s_ctanl.c: Likewise.
31958 * math/s_ctanh.c: Likewise.
31959 * math/s_ctanhf.c: Likewise.
31960 * math/s_ctanhl.c: Likewise.
31961 * math/libm-test.inc (ctan_test): Add more tests.
31962 (ctanh_test): Likewise.
31963 * sysdeps/i386/fpu/libm-test-ulps: Update.
31964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31966 2012-04-09 Andreas Jaeger <aj@suse.de>
31969 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31970 is an optional BSD extension.
31973 * manual/stdio.texi (Opening Streams): Document additional fopen
31976 2012-04-09 Roland McGrath <roland@hack.frob.com>
31978 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31979 %eax without telling the compiler.
31981 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31984 * manual/install.texi: Use sourceware.org.
31986 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31989 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31990 (__ieee754_pow): Generate overflow and underflow using huge*huge
31991 and tiny*tiny rather than just returning constant infinity or zero
31992 for large exponents.
31993 * math/libm-test.inc (pow_test): Require overflow exceptions for
31994 applicable cases of large exponents.
31997 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31998 (__ieee754_pow): Use iterative multiplication algorithm only for
31999 integer exponents with absolute value below 1024. Check for odd
32000 integer exponents when using algorithm for real exponents.
32001 * math/libm-test.inc (pow_test): Add more tests.
32002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32004 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32007 * math/libm-test.inc (exp_test): Do not allow overflow exception
32010 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32013 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32014 instead of __kernel_standard_f.
32016 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32018 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32019 * sysdeps/x86_64/memset_chk.S: Likewise.
32021 2012-04-08 Andreas Jaeger <aj@suse.de>
32024 * manual/startup.texi (Environment Access): Describe return value
32025 for putenv and setenv.
32028 * manual/filesys.texi (Directory Entries): Add description for
32032 * manual/filesys.texi (Directory Entries): Clarify that it's file
32033 system not operating system in the description of DT_UNKNOWN.
32036 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32038 2012-04-08 Stephen Compall <s11@member.fsf.org>
32041 * manual/llio.texi (Opening and Closing Files): Add cross
32042 reference to explain mode argument.
32044 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32046 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32047 * sysdeps/x86_64/memset_chk.S: Likewise.
32049 2012-04-07 David S. Miller <davem@davemloft.net>
32051 * elf/elf.h (R_SPARC_WDISP10): Define.
32052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32055 R_SPARC_SIZE64 and R_SPARC_H34.
32057 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32059 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32060 conditions and remove no longer applicable assertion.
32062 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32064 * bits/byteswap.h: Include <features.h>.
32065 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32066 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32068 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32070 * bits/byteswap.h (__bswap_16): Removed.
32071 Include <bits/byteswap-16.h> to get __bswap_16.
32072 * sysdeps/i386/bits/byteswap.h: Likewise.
32073 * sysdeps/s390/bits/byteswap.h: Likewise.
32074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32075 * bits/byteswap-16.h: New file.
32076 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32077 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32078 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32079 * string/Makefile (headers): Add bits/byteswap-16.h.
32081 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32084 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32086 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32087 * nss/tst-nss-static.c: New.
32089 2012-04-06 Robert Millan <rmh@gnu.org>
32092 * manual/llio.texi (File Position Primitive): lseek
32093 refers to WHENCE when it really means OFFSET.
32095 2012-04-06 Andreas Jaeger <aj@suse.de>
32097 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32098 strncmp declarations.
32100 * abilist/libc.abilist: Add __poll and __ppoll.
32102 2012-04-05 David S. Miller <davem@davemloft.net>
32104 * scripts/check-local-headers.sh: Accept a host triplet in the
32105 path matched by the exclude regexp.
32107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32109 * sysdeps/powerpc/powerpc32/dl-machine.h
32110 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32111 * sysdeps/s390/s390-32/dl-machine.h
32112 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32113 * sysdeps/sparc/sparc32/dl-machine.h
32114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32115 * sysdeps/sparc/sparc64/dl-machine.h
32116 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32118 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32120 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32121 undefined symbol errors.
32123 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32126 2012-04-05 Michael Matz <matz@suse.de>
32129 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32131 2012-04-05 Andreas Jaeger <aj@suse.de>
32134 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32140 which ROUND is no valid rounding mode.
32142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32144 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32146 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32148 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32150 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32151 an exception using FPU order intentionally.
32153 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32155 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32156 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32157 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32158 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32160 2012-04-05 Simon Josefsson <simon@josefsson.org>
32163 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32164 EINVAL when BUFLEN is too smal.
32166 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32169 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32170 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32172 2012-04-03 Andreas Jaeger <aj@suse.de>
32175 * manual/setjmp.texi (System V contexts): Fix sentence.
32178 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32179 New macro for this case.
32180 [!__GNUC__] (__bswap_64): New inline function for this case.
32181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32182 * bits/byteswap.h: Likewise.
32183 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32184 ull, guard with __GLIBC_HAVE_LONG_LONG.
32186 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32187 __GLIBC_HAVE_LONG_LONG.
32189 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32190 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32192 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32195 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32196 inptr and inend, rather than using last_ch.
32198 2012-04-02 David S. Miller <davem@davemloft.net>
32200 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32201 * stdio-common/printf-parse.h (read_int): Change return type to
32202 'int', return -1 on INT_MAX overflow.
32203 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32204 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32205 overflows INT_MAX. Check for overflow of in-format-string precision
32206 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32207 SIZE_MAX not INT_MAX for integer overflow test.
32208 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32209 skip the construct in the format string but do not record anything.
32210 * stdio-common/bug22.c: Adjust to test both width/prevision
32211 INT_MAX overflow as well as total length INT_MAX overflow. Check
32212 explicitly for proper errno values.
32214 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32216 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32218 * string/test-strcmp.c [! WIDE]: Likewise.
32219 * time/tst-mktime2.c: Likewise for INT_MAX.
32220 * string/test-string.h: #include <sys/param.h> for MIN.
32222 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32223 * sysdeps/i386/init-first.c (init): Likewise.
32224 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32225 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32226 * sysdeps/sh/init-first.c (init): Likewise.
32228 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32230 * po/ru.po: Update from translation team.
32231 * po/vi.po: Likewise.
32233 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32235 * resolv/nss_dns/dns-host.c: Merge copyright years.
32237 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32240 Optimize memcpy with prefetch if
32241 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32242 src, dst pointers have unequal 16 byte alignments.
32244 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32247 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32248 from a CNAME entry and return the minimum ttl for the query.
32249 (gaih_getanswer_slice): Likewise.
32251 2012-03-30 Jeff Law <law@redhat.com>
32253 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32255 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32256 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32258 * resolv/nss_dns/dns-host.c: Update copyright year.
32260 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32262 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32263 requests to save a system call. Fix check that all bytes are sent.
32265 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32266 comments for sendmmsg.
32268 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32271 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32272 with only 1 character between 0x0041 and 0x01b0.
32273 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32274 * wcsmbs/tst-mbsnrtowcs.c: New file.
32276 2012-03-29 David S. Miller <davem@davemloft.net>
32278 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32279 small copies by hand.
32281 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32284 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32285 _nss_compat_initgroups_dyn): Fall back to malloc/free
32286 for large group memberships.
32288 2012-03-28 David S. Miller <davem@davemloft.net>
32290 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32291 that branches into memcpy.
32292 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32294 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32295 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32298 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32299 implementation too.
32300 * sysdeps/sparc/mempcpy.S: New file.
32302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32303 the IFUNC routine in the libc case.
32304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32306 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32307 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32308 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32309 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32310 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32311 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32312 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32313 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32315 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32316 loop to 256 bytes instead of 64 bytes and fix test signedness.
32318 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32319 * sysdeps/sparc/sparc32/Makefile: rather than here...
32320 * sysdeps/sparc/sparc64/Makefile: and here.
32322 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32324 * malloc/mallocbug.c: Avoid warnings about unused variables.
32326 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32329 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32330 in the right place. Discard and retry query if response is
32331 larger than input buffer size.
32333 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32338 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32339 x for large integer exponent.
32340 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32341 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32342 sign of result as needed afterwards.
32343 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32344 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32345 result for underflowing pow the same as for overflow.
32346 (__kernel_standard_l): Handle powl overflow and underflow here
32347 rather than calling __kernel_standard.
32348 * math/libm-test.inc (pow_test): Add more tests.
32363 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32364 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32365 (__kernel_standard_l): New function.
32366 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32368 * math/w_acosl.c (__acosl): Likewise.
32369 * math/w_asinl.c (__asinl): Likewise.
32370 * math/w_atan2l.c (__atan2l): Likewise.
32371 * math/w_atanhl.c (__atanhl): Likewise.
32372 * math/w_coshl.c (__coshl): Likewise.
32373 * math/w_exp10l.c (__exp10l): Likewise.
32374 * math/w_exp2l.c (__exp2l): Likewise.
32375 * math/w_fmodl.c (__fmodl): Likewise.
32376 * math/w_hypotl.c (__hypotl): Likewise.
32377 * math/w_j0l.c (__j0l, __y0l): Likewise.
32378 * math/w_j1l.c (__j1l, __y1l): Likewise.
32379 * math/w_jnl.c (__jnl, __ynl): Likewise.
32380 * math/w_lgammal.c (__lgammal): Likewise.
32381 * math/w_log10l.c (__log10l): Likewise.
32382 * math/w_log2l.c (__log2l): Likewise.
32383 * math/w_logl.c (__logl): Likewise.
32384 * math/w_powl.c (__powl): Likewise.
32385 * math/w_remainderl.c (__remainderl): Likewise.
32386 * math/w_scalbl.c (sysv_scalbl): Likewise.
32387 * math/w_sinhl.c (__sinhl): Likewise.
32388 * math/w_sqrtl.c (__sqrtl): Likewise.
32389 * math/w_tgammal.c (__tgammal): Likewise.
32390 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32391 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32392 * math/libm-test.inc (acos_test): Add more tests.
32393 (acosh_test): Likewise.
32394 (asin_test): Likewise.
32395 (atanh_test): Likewise.
32396 (exp_test): Likewise.
32397 (exp10_test): Likewise.
32398 (exp2_test): Likewise.
32399 (expm1_test): Likewise.
32400 (lgamma_test): Likewise.
32401 (log_test): Likewise.
32402 (log10_test): Likewise.
32403 (log1p_test): Likewise.
32404 (log2_test): Likewise.
32405 (pow_test): Do not allow some spurious overflow exceptions.
32406 (sqrt_test): Add more tests.
32407 (tgamma_test): Likewise.
32408 (y0_test): Likewise.
32409 (y1_test): Likewise.
32410 (yn_test): Likewise.
32412 2012-03-27 Anton Blanchard <anton@samba.org>
32414 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32416 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32417 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32420 2012-03-27 David S. Miller <davem@davemloft.net>
32422 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32424 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32425 have-as-vis3 check.
32427 2012-03-27 Andreas Jaeger <aj@suse.de>
32429 * sysdeps/x86_64/elf/configure.in: Moved to ...
32430 * sysdeps/x86_64/configure.in: ... here.
32431 * sysdeps/x86_64/elf/start.S: Moved to ...
32432 * sysdeps/x86_64/start.S: ... here.
32433 * sysdeps/x86_64/elf/configure: Delete.
32435 * sysdeps/x86_64/configure.in: Merge contents from
32436 sysdeps/i386/configure.in (without i686 check).
32438 * sysdeps/i386/elf/Versions: Merge into ...
32439 * sysdeps/i386/Versions: ... this.
32440 * sysdeps/i386/elf/Versions: Delete file.
32441 * sysdeps/i386/elf/start.S: Moved to ...
32442 * sysdeps/i386/start.S: ...here.
32443 * sysdeps/i386/elf/configure.in: Merge into...
32444 * sysdeps/i386/configure.in: ...here.
32445 * sysdeps/i386/elf/configure.in: Delete file.
32446 * sysdeps/i386/elf/configure: Delete file.
32448 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32449 * debug/backtracesyms.c: ... here.
32450 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32451 * debug/backtracesymsfd.c: ... here.
32452 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32453 * sysdeps/generic/ifunc-sel.h: ... here.
32455 * sysdeps/unix/i386/start.c: Delete file.
32456 * sysdeps/unix/sparc/start.c: Delete file.
32457 * sysdeps/unix/start.c: Delete file.
32459 * sysdeps/sh/elf/configure.in: Moved to ...
32460 * sysdeps/sh/configure.in: ... here.
32461 * sysdeps/sh/elf/start.S: Moved to ...
32462 * sysdeps/sh/start.S: ... here.
32463 * sysdeps/sh/elf/configure: Delete file.
32465 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32466 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32467 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32468 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32469 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32470 * sysdeps/powerpc/powerpc64/start.S: here.
32471 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32472 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32473 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32474 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32475 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32477 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32478 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32479 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32480 * sysdeps/powerpc/powerpc32/start.S: ... here.
32481 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32482 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32483 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32485 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32486 * sysdeps/powerpc/ifunc-sel.h: ... here.
32487 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32488 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32490 * sysdeps/sparc/elf/configure.in: Moved to ...
32491 * sysdeps/sparc/configure.in: ... here.
32492 * sysdeps/sparc/elf/configure: Delete file.
32493 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32494 * sysdeps/sparc/sparc32/start.S: ... here.
32495 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32496 * sysdeps/sparc/sparc64/start.S: ... here.
32497 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32498 * sysdeps/sparc/sparc32/Makefile: ... this.
32499 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32500 * sysdeps/sparc/sparc64/Makefile: ... this.
32502 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32503 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32504 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32505 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32506 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32507 * sysdeps/s390/s390-32/setjmp.S: ... here.
32508 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32509 * sysdeps/s390/s390-32/configure.in: ... here.
32510 * sysdeps/s390/s390-32/elf/configure: Delete file.
32511 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32512 * sysdeps/s390/s390-32/start.S: ... here.
32514 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32515 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32516 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32517 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32518 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32519 * sysdeps/s390/s390-64/setjmp.S: ... here.
32520 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32521 * sysdeps/s390/s390-64/configure.in: ... here
32522 * sysdeps/s390/s390-64/elf/configure: Delete file.
32523 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32524 * sysdeps/s390/s390-64/start.S: ... here.
32525 * sysdeps/s390/s390-64/elf/configure: Delete.
32527 * configure.in: Remove support for elf directories in sysdeps.
32529 * configure: Regenerated.
32530 * sysdeps/i386/configure: Regenerated.
32531 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32532 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32533 * sysdeps/s390/s390-32/configure: Regenerated.
32534 * sysdeps/s390/s390-64/configure: Regenerated.
32535 * sysdeps/sh/configure: Regenerated.
32536 * sysdeps/sparc/configure: Regenerated.
32537 * sysdeps/x86_64/configure: Regenerated.
32539 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32544 denormal result into account.
32546 2012-03-25 Roland McGrath <roland@hack.frob.com>
32548 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32549 Reported by Allan McRae <allan@archlinux.org>.
32551 2012-03-23 Jeff Law <law@redhat.com>
32553 * nss/getnssent.c (__nss_getent): Fix typo.
32555 2012-03-23 David S. Miller <davem@davemloft.net>
32557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32559 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32561 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32562 to pad to uint64_t for each field.
32563 (dl_tls_index): Replace unsigned long with uint64_t.
32565 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32566 Paul Pluzhnikov <ppluzhnikov@google.com>
32569 * grp/Makefile (otherlibs): Don't set it.
32570 * inet/Makefile (otherlibs): Likewise.
32571 * login/Makefile (otherlibs): Likewise.
32572 * nscd/Makefile (otherlibs): Likewise.
32573 * posix/Makefile (otherlibs): Likewise.
32574 * pwd/Makefile (otherlibs): Likewise.
32575 * rt/Makefile (otherlibs): Likewise.
32576 * sunrpc/Makefile (otherlibs): Likewise.
32577 * nss/Makefile (otherlibs): Likewise.
32578 Add libnss_files to routines and static-only-routines.
32579 ($(objpfx)getent): Remove rule.
32580 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32581 static-only-routines.
32583 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32586 * math/s_cexp.c: Include <float.h>.
32587 (__cexp): Handle exp result overflowing not necessarily
32588 overflowing both real and imaginary parts of result.
32589 * math/s_cexpf.c: Likewise.
32590 * math/s_cexpl.c: Likewise.
32591 * math/libm-test.inc (cexp_test): Add more tests.
32592 * sysdeps/i386/fpu/libm-test-ulps: Update.
32593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32597 * include/link.h (ELFW): New macro.
32598 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32599 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32601 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32603 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32608 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32610 (struct La_x32_retval): Likewise.
32612 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32614 * sysdeps/x86_64/preconfigure.in: New file.
32615 * sysdeps/x86_64/preconfigure: New generated file.
32617 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32620 * math/e_exp2l.c: Include <float.h>.
32621 (__ieee754_exp2l): Handle overflow and underflow cases
32622 separately. Only pass fractional part of argument to
32624 * math/libm-test.inc (exp2_test): Add more tests.
32626 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32627 negating x to take absolute value.
32628 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32630 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32631 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32633 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32634 computing low part if x was negated.
32635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32637 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32639 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32640 la_x32_gnu_pltexit.
32641 (pltexit): Cast int_retval to ptrdiff_t.
32642 * elf/tst-auditmod3b.c: Likewise.
32643 * elf/tst-auditmod4b.c: Likewise.
32644 * elf/tst-auditmod5b.c: Likewise.
32645 * elf/tst-auditmod6b.c: Likewise.
32646 * elf/tst-auditmod6c.c: Likewise.
32647 * elf/tst-auditmod7b.c: Likewise.
32649 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32650 and x32_gnu_pltexit.
32652 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32653 __ELF_NATIVE_CLASS.
32654 (La_x32_regs): New macro.
32655 (La_x32_retval): Likewise.
32656 (la_x32_gnu_pltenter): New function prototype.
32657 (la_x32_gnu_pltexit): Likewise.
32659 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32666 * configure.in (libc_cv_cc_nofma): Check for option to disable
32667 generation of FMA instructions.
32668 * configure: Regenerate.
32669 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32670 * sysdeps/ieee754/dbl-64/Makefile: New file.
32671 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32672 Remove brandred-fma4.
32673 (CFLAGS-brandred-fma4.c): Remove.
32674 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32675 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32677 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32680 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32682 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32683 LLONG_MAX != LONG_MAX.
32684 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32685 (_fitoa_word): Likewise.
32686 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32687 LLONG_MAX != LONG_MAX.
32688 * stdio-common/_itowa.h: Include <_itoa.h>.
32689 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32690 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32691 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32692 only if not defined.
32693 (_ITOA_WORD_TYPE): Likewise.
32694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32695 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32697 2012-03-21 David S. Miller <davem@davemloft.net>
32699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32701 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32703 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32704 of x86_64 when setting libc_cv_slibdir, libdir and
32706 * sysdeps/unix/sysv/linux/configure: Regenerated.
32708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32710 * manual/lang.texi (Old Varargs): Remove section.
32711 (How Variadic): Update menu.
32712 (va_start): Do not mention varargs.h.
32714 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32715 Joseph Myers <joseph@codesourcery.com>
32717 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32719 * configure: Regenerated.
32721 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32723 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32724 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32730 * Makefile (files-for-dist): Remove NOTES.
32731 (NOTES): Remove rule.
32732 * README: Don't refer to NOTES.
32733 * manual/creature.texi: Don't include macros.texi.
32734 * manual/intro.texi (creature.texi): Remove comment referring to
32737 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32738 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32739 * configure: Regenerated.
32740 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32741 LIBC_TRY_CC_OPTION.
32742 (libc_cv_as_i686): Likewise.
32743 (libc_cv_cc_avx): Likewise.
32744 (libc_cv_cc_sse2avx): Likewise.
32745 (libc_cv_cc_fma4): Likewise.
32746 (libc_cv_cc_novzeroupper): Likewise.
32747 * sysdeps/i386/configure: Regenerated.
32750 * sysdeps/i386/fpu/s_cexp.S: Remove.
32751 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32752 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32753 * math/libm-test.inc (cexp_test): Add more tests.
32754 * sysdeps/i386/fpu/libm-test-ulps: Update.
32755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32757 2012-03-21 Allan McRae <allan@archlinux.org>
32759 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32761 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32764 * math/w_exp2.c: Do not include <float.h>.
32765 (o_threshold, u_threshold): Remove.
32766 (__exp2): Calculate result before checking finiteness and calling
32768 * math/w_exp2f.c: Likewise.
32769 * math/w_exp2l.c: Likewise.
32770 * math/libm-test.inc (exp2_test): Require overflow exception for
32774 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32775 range of signed 64-bit integers before using fistpll. Remove
32776 checks for whether integers fit in mantissa bits.
32777 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32778 the range of signed 32-bit integers before using fistpl. Remove
32779 checks for whether integers fit in mantissa bits.
32780 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32781 (__ieee754_powl): Test for y outside the range of signed 64-bit
32782 integers before using fistpll. Reduce 64-bit values to 63-bit
32784 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32785 divide-by-zero is raised for zero to large negative powers.
32786 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32787 (__ieee754_powl): Test for y outside the range of signed 64-bit
32788 integers before using fistpll. Reduce 64-bit values to 63-bit
32790 * math/libm-test.inc (pow_test): Add more tests.
32792 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32794 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32795 <stdio-common/_itoa.h>.
32796 * debug/segfault.c: Likewise.
32797 * elf/dl-cache.c: Likewise.
32798 * elf/dl-minimal.c: Likewise.
32799 * elf/dl-misc.c: Likewise.
32800 * elf/dl-sysdep.c: Likewise.
32801 * elf/dl-version.c: Likewise.
32802 * elf/rtld.c: Likewise.
32803 * hurd/hurdsock.c: Likewise.
32804 * hurd/lookup-retry.c: Likewise.
32805 * malloc/malloc.c: Likewise.
32806 * malloc/mtrace.c: Likewise.
32807 * nscd/nscd_getgr_r.c: Likewise.
32808 * nscd/nscd_getpw_r.c: Likewise.
32809 * nscd/nscd_getserv_r.c: Likewise.
32810 * posix/getopt_init.c: Likewise.
32811 * posix/wordexp.c: Likewise.
32812 * stdio-common/_itoa.c: Likewise.
32813 * stdio-common/printf_fphex.c: Likewise.
32814 * stdio-common/vfprintf.c: Likewise.
32815 * string/_strerror.c: Likewise.
32816 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32817 * sysdeps/i386/i686/hp-timing.h: Likewise.
32818 * sysdeps/mach/_strerror.c: Likewise.
32819 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32820 * sysdeps/mach/hurd/sethostid.c: Likewise.
32821 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32822 * sysdeps/mach/xpg-strerror.c: Likewise.
32823 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32825 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32826 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32827 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32828 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32829 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32830 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32831 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32832 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32833 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32834 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32835 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32836 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32837 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32838 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32839 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32840 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32841 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32842 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32843 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32845 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32847 * stdio-common/_itoa.h: Moved to ...
32848 * sysdeps/generic/_itoa.h: Here.
32850 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32852 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32853 instead of "_itoa.h" and "_itowa.h".
32854 * stdio-common/vfprintf.: Likewise.
32856 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32858 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32860 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32861 (__signbit): Likwise.
32862 (llrintf): Likwise.
32865 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32867 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32870 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32872 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32873 OVERFLOW_EXCEPTION_OK.
32874 * math/libm-test.inc ("Philosophy"): Update comment about
32876 (OVERFLOW_EXCEPTION): Define.
32877 (OVERFLOW_EXCEPTION_OK): Likewise.
32878 (INVALID_EXCEPTION_OK): Renumber.
32879 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32880 (IGNORE_ZERO_INF_SIGN): Likewise.
32881 (test_exceptions): Handle FE_OVERFLOW.
32882 (exp10_test): Expect overflow exceptions.
32883 (exp2_test): Likewise.
32884 (expm1_test): Likewise.
32885 (nextafter_test): Likewise.
32886 (pow_test): Likewise.
32887 (scalbn_test): Likewise.
32888 (scalbln_test): Likewise.
32890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32892 * sysdeps/x86_64/bits/atomic.h
32893 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32895 (atomic_exchange_acq): Likewise.
32896 (__arch_exchange_and_add_body): Likewise.
32897 (__arch_add_body): Likewise.
32898 (atomic_add_negative): Likewise.
32899 (atomic_add_zero): Likewise.
32901 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32903 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32904 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32909 Check __x86_64__ instead of __WORDSIZE.
32911 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32913 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32915 2012-03-19 David S. Miller <davem@davemloft.net>
32917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32919 * sysdeps/sparc/fpu/fenv_private.h: New file.
32920 * sysdeps/sparc/fpu/math_private.h: Use it.
32921 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32923 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32924 (libc_feholdexcept_setroundl): Remove.
32925 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32927 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32928 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32933 int64_t instead of long int.
32934 (INSERT_WORDS64): Likwise.
32936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32938 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32939 _Unwind_GetCFA return to _Unwind_Ptr first.
32941 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32944 * math/s_clog.c: Include <float.h>.
32945 (__clog): Scale large or subnormal inputs.
32946 * math/s_clogf.c: Likewise.
32947 * math/s_clogl.c: Likewise.
32948 * math/s_clog10.c: Include <float.h>.
32949 (M_LOG10_2): Define.
32950 (__clog10): Scale large or subnormal inputs.
32951 * math/s_clog10f.c: Likewise.
32952 * math/s_clog10l.c: Likewise.
32953 * math/libm-test.inc (clog_test): Add more tests.
32954 (clog10_test): Likewise.
32955 * sysdeps/i386/fpu/libm-test-ulps: Update.
32956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32959 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32961 * math/libm-test.inc (atan2_test): Add another test.
32963 * Makerules (common-objdir-compile): Remove.
32964 * sysdeps/unix/Makefile (config-generated): Do not add
32965 $(unix-generated) to variable.
32966 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32967 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32969 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32971 [generic bits/local_lim.h] (before-compile): Do not append to
32973 [generic bits/local_lim.h] (common-generated): Likewise.
32974 [generic sys/param.h] (before-compile): Do not append to variable.
32975 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32976 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32977 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32978 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32980 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32981 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32982 [generic sys/param.h] ($(addprefix
32983 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32984 [generic sys/param.h] (common-generated): Do not append to
32986 [generic sys/param.h] (sysdep_headers): Likewise.
32987 [generic bits/errno.h] (before-compile): Do not append to
32989 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32991 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32992 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32993 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32994 [generic bits/errno.h] (common-generated): Do not append to
32996 [generic bits/ioctls.h] (before-compile): Do not append to
32998 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33000 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33001 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33002 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33004 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33005 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33006 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33007 [generic bits/ioctls.h] (common-generated): Do not append to
33009 [generic sys/syscall.h] (syscall.h): Remove variable.
33010 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33012 [generic sys/syscall.h] (before-compile): Do not append to
33014 [generic sys/syscall.h] (common-generated): Likewise.
33015 * sysdeps/unix/errnos-tmpl.c: Remove file.
33016 * sysdeps/unix/errnos.awk: Likewise.
33017 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33018 * sysdeps/unix/ioctls.awk: Likewise.
33019 * sysdeps/unix/mk-local_lim.c: Likewise.
33020 * sysdeps/unix/snarf-ioctls: Likewise.
33022 2012-03-19 Richard Henderson <rth@twiddle.net>
33024 * sysdeps/i386/fpu/fenv_private.h: New file.
33025 * sysdeps/i386/fpu/math_private.h: Use it.
33026 (math_opt_barrier, math_force_eval): Remove.
33027 (libc_feholdexcept_setround_53bit): Remove.
33028 (libc_feupdateenv_53bit): Remove.
33029 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33030 (math_opt_barrier, math_force_eval): Remove.
33031 (libc_feholdexcept): Remove.
33032 (libc_feholdexcept_setround): Remove.
33033 (libc_fetestexcept, libc_fesetenv): Remove.
33034 (libc_feupdateenv_test): Remove.
33035 (libc_feupdateenv, libc_feholdsetround): Remove.
33036 (libc_feresetround): Remove.
33038 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33039 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33041 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33042 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33043 (libc_feupdateenv_testl): New.
33044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33045 (libc_feupdateenv_testf): New.
33046 (libc_feupdateenv): Use libc_feupdateenv_test.
33047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33050 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33051 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33052 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33053 (libc_feresetround_noex): New.
33054 (libc_feresetround_noexf): New.
33055 (libc_feresetround_noexl): New.
33056 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33057 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33058 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33059 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33064 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33065 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33066 SET_RESTORE_ROUND_NOEX.
33067 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33068 SET_RESTORE_ROUND_NOEXF.
33069 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33070 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33071 (libc_feholdsetroundf): New.
33072 (libc_feresetround, libc_feresetroundf): New.
33074 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33075 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33076 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33078 * sysdeps/generic/math_private.h: Include <fenv.h>.
33079 (default_libc_feholdexcept): New.
33080 (default_libc_feholdexcept_setround): New.
33081 (default_libc_fesetenv, default_libc_feupdateenv): New.
33082 (libc_feholdexcept): Only define if undefined.
33083 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33085 (libc_feholdexcept_setroundl): Likewise.
33086 (libc_feholdexcept_setround_53bit): Likewise.
33087 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33090 (libc_feupdateenv_53bit): Likewise.
33091 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33092 (libc_feholdexcept): Convert from macro to inline function.
33093 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33094 (libc_fesetenv, libc_feupdateenv): Likewise.
33096 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33097 not previously defined.
33098 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33099 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33100 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33101 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33102 * sysdeps/ieee754/flt-32/math_private.h: New file.
33103 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33104 math_private.h below SET_FLOAT_WORD.
33105 (__isnan, __isinf_ns, __finite): Remove.
33106 (__isnanf, __isinf_nsf, __finitef): Remove.
33108 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33112 2012-03-17 David S. Miller <davem@davemloft.net>
33115 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33118 2012-03-16 David S. Miller <davem@davemloft.net>
33120 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33124 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33126 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33127 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33128 sysdep_routines when subdir is sysvipc.
33129 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33130 __getshmlba helper.
33132 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33136 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33139 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33142 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33143 (__lround): Renamed to ...
33144 (__llround): This. Replace long int with long long int.
33145 Define lround functions as aliases of llround functions.
33146 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33148 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33150 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33151 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33152 adresses to uintptr_t. Replace "long int" and "unsigned long
33153 int" with "greg_t" on va_arg.
33155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33157 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33158 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33160 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33161 Move e_machine check before EI_CLASS check. Handle x32
33162 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33163 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33164 SKIP_EM_IA_64 and include
33165 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33167 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33168 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33169 (add_system_dir): New macro.
33171 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33172 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33174 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33185 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33187 * math/w_j0f.c (j0f): Likewise.
33189 * math/w_j0l.c (__j0l): Likewise.
33191 * math/w_j1.c (j1): Likewise.
33193 * math/w_j1f.c (j1f): Likewise.
33195 * math/w_j1l.c (__j1l): Likewise.
33197 * math/w_jn.c (jn): Likewise.
33199 * math/w_jnf.c (jnf): Likewise.
33201 * math/w_jnl.c (__jnl): Likewise.
33203 * math/libm-test.inc (j0_test): Add more tests.
33204 (j1_test): Likewise.
33205 (jn_test): Likewise. Add trailing semicolon to existing test.
33206 (y0_test): Likewise.
33207 (y1_test): Likewise.
33208 * sysdeps/i386/fpu/libm-test-ulps: Update.
33209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33214 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33215 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33216 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33217 (__tanl): Set errno for infinite argument.
33218 * sysdeps/i386/fpu/mptan.c: Remove.
33219 * sysdeps/i386/fpu/s_tan.S: Likewise.
33220 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33221 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33222 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33223 * math/libm-test.inc (tan_test): Add more tests and enable more
33224 tests for double and long double.
33225 * sysdeps/i386/fpu/libm-test-ulps: Update.
33226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33228 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33230 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33231 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33233 2012-03-16 Roland McGrath <roland@hack.frob.com>
33235 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33236 * configure.in: Use it for both main tree and add-ons.
33237 * configure: Regenerated.
33239 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33241 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33243 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33245 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33249 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33250 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33255 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33257 != 0 for prec == 2.
33258 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33259 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33260 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33261 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33262 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33263 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33264 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33265 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33266 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33267 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33268 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33269 * math/libm-test.inc (cos_test): Add more tests and enable more
33270 tests for long double.
33271 (sin_test): Likewise.
33272 (sincos_test): Likewise.
33273 * sysdeps/i386/fpu/libm-test-ulps: Update.
33274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33276 2012-03-16 David S. Miller <davem@davemloft.net>
33278 * sysdeps/sparc/fpu/math_private.h: New file.
33280 2012-03-15 David S. Miller <davem@davemloft.net>
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33296 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33297 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33299 * sysdeps/sparc/sparc-ifunc.h: New file.
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33345 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33347 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33351 2012-03-15 Andreas Jaeger <aj@suse.de>
33354 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33355 ieee754/flt-32 implementation for sin, cos and sincos.
33356 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33357 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33358 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33359 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33360 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33361 ieee754/flt-32 implementation for tan.
33363 * math/libm-test.inc (cos_test): Enable some large input tests for
33365 (sin_test): Likewise.
33366 (sincos_test): Likewise.
33367 (tan_test): Add tests for large input.
33369 * sysdeps/i386/fpu/libm-test-ulps: Update.
33371 2012-03-15 Andreas Jaeger <aj@suse.de>
33374 * math/libm-test.inc (cos_test): Add more test cases.
33375 (sin_test): Likewise.
33376 (sincos_test): Likewise.
33378 2012-03-15 Andreas Jaeger <aj@suse.de>
33381 * math/libm-test.inc (cos_test): Add a test case for large input
33383 (sin_test): Likewise.
33384 (sincos_test): Likewise.
33386 2012-03-15 Andreas Jaeger <aj@suse.de>,
33387 Joseph Myers <joseph@codesourcery.com>
33390 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33391 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33392 * sysdeps/i386/fpu/branred.c: Likewise.
33393 * sysdeps/i386/fpu/dosincos.c: Likewise.
33394 * sysdeps/i386/fpu/mpa.c: Likewise.
33395 * sysdeps/i386/fpu/s_cos.S: Likewise.
33396 * sysdeps/i386/fpu/s_sin.S: Likewise.
33397 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33398 * sysdeps/i386/fpu/sincos32.c: Likewise.
33400 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33402 (libc_feupdateenv_53bit): Define.
33403 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33405 (libc_feupdateenv_53bit): Define.
33407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33408 53 bit (without extend i386 double precision).
33410 * math/libm-test.inc (sincos_test): Add tests for large input.
33414 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33416 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33420 2012-03-15 David S. Miller <davem@davemloft.net>
33422 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33450 fmin/fmax sysdep routines.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33453 2012-03-14 David S. Miller <davem@davemloft.net>
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33532 * sysdeps/sparc/configure.in: New file.
33533 * sysdeps/sparc/configure: Generate.
33534 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33535 * configure: Regenerate.
33536 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33537 * config.make.in (have-as-vis3): New.
33538 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33539 available use -Av9d instead of -Av9a.
33540 * sysdeps/sparc/sparc64/Makefile: Likewise.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33556 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33557 fzeros/fnegs to load 0x80000000 into a float register instead of
33559 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33561 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33565 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33566 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33567 ($(inst_includedir)/bits/syscall.h): Remove rule.
33568 ($(objpfx)bits/syscall.d): Include instead of
33569 $(objpfx)syscall-list.d.
33570 (generated): Change syscall-list.h and syscall-list.d to
33571 bits/syscall.h and bits/syscall.d.
33573 2012-03-14 Roland McGrath <roland@hack.frob.com>
33576 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33578 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33581 * math/s_csqrt.c: Include <float.h>.
33582 (__csqrt): Scale large or subnormal inputs.
33583 * math/s_csqrtf.c: Likewise.
33584 * math/s_csqrtl.c: Likewise.
33585 * math/libm-test.inc (csqrt_test): Add more tests.
33586 * sysdeps/i386/fpu/libm-test-ulps: Update.
33587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33590 * math/libm-test.inc (hypot_test): Add more tests.
33592 2012-03-13 David S. Miller <davem@davemloft.net>
33595 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33596 double-precision for the calculation instead of scaling.
33598 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33600 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33601 manipulate bits before adding and subtracting TWO52[sx].
33602 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33607 2012-03-13 David S. Miller <davem@davemloft.net>
33609 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33610 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33612 rtld-global-offsets.h
33613 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33615 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33618 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33620 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33621 'err' in the ifdef scope in which it is actually used.
33623 * nss/nss_db/db-init.c: Include string.h
33625 2012-03-12 David S. Miller <davem@davemloft.net>
33627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33628 masking out of the most significant byte of random value used.
33629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33630 Fix coding style in previous change.
33632 * sysdeps/unix/sysv/linux/kernel-features.h
33633 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33634 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33636 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33639 2012-03-11 David S. Miller <davem@davemloft.net>
33641 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33642 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33643 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33644 for 'resultvar' otherwise things get truncated on 64-bit.
33646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33647 Fix masking out of the most significant byte of random value used.
33649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33651 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33655 2012-03-09 David S. Miller <davem@davemloft.net>
33657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33658 variables with appropriate CPP guards.
33659 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33660 frame pointer, not the stack pointer. Correct layout comments. Fix test
33661 on resulting framesize and the management of the outregs buffer for pltexit.
33662 Preserve floating point return values across _dl_call_pltexit call.
33663 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33664 framesize and the management of the outregs buffer for pltexit.
33665 Preserve floating point return values across _dl_call_pltexit
33667 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33668 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33669 (print_exit): Fix format string for return register value.
33671 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33673 * sunrpc/Makefile (others): Add rpcgen.
33674 ($(objpfx)rpcgen): Remove special build rule and dependency on
33676 * sunrpc/rpcgen.c: New file.
33678 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33681 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33682 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33683 * sysdeps/i386/crti.S: Likewise.
33684 * sysdeps/i386/crtn.S: Likewise.
33685 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33686 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33687 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33688 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33689 * sysdeps/sh/crti.S: Likewise.
33690 * sysdeps/sh/crtn.S: Likewise.
33691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33694 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33696 * locale/programs/locfile-kw.gperf: Likewise.
33697 * locale/programs/charmap-kw.h: Regenerated.
33698 * locale/programs/locfile-kw.h: Likewise.
33701 * intl/plural.y: Replace FSF snail mail address with URL.
33702 * intl/plural.c: Regenerated.
33704 2012-03-09 Richard Henderson <rth@twiddle.net>
33706 * include/math_private.h: Remove file.
33707 * math/math_private.h: Move file ...
33708 * sysdeps/generic/math_private.h: ... here.
33710 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33711 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33712 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33714 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33715 and <math_private.h>.
33716 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33717 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33718 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33719 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33720 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33804 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33809 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33811 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33818 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33821 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33822 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33826 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33827 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33829 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33833 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33834 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33835 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33836 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33837 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33838 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33839 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33841 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33843 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33845 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33846 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33848 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33849 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33850 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33851 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33854 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33857 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33858 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33859 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33860 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33861 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33862 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33863 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33864 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33865 * sysdeps/ieee754/k_standard.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33998 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34014 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34015 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34026 * sysdeps/ieee754/s_lib_version.c: Likewise.
34027 * sysdeps/ieee754/s_matherr.c: Likewise.
34028 * sysdeps/ieee754/s_signgam.c: Likewise.
34029 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34030 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34031 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34032 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34033 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34034 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34035 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34036 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34037 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34038 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34039 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34040 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34041 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34042 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34043 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34044 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34046 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34049 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34051 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34053 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34054 * sunrpc/rpc_main.c: Likewise.
34055 * sunrpc/rpc_svcout.c: Likewise.
34057 2012-03-09 David S. Miller <davem@davemloft.net>
34059 * include/math_private.h: New file.
34061 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34063 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34064 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34065 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34066 from <bits/socket_type.h>.
34067 (enum __socket_type): Don't define here.
34068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34070 bits/socket_type.h.
34073 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34074 checking __USE_GNU.
34076 * Makerules ($(inst_includedir)/%.h): New rule.
34077 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34078 (install-others): Remove variable setting.
34079 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34081 2012-03-08 Richard Henderson <rth@twiddle.net>
34083 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34084 from macro to inline function; merge with the
34085 !__LIBC_INTERNAL_MATH_INLINES version.
34086 (__ieee754_sqrtf): Likewise.
34088 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34089 to inline function.
34090 (__rintf, __floor, __floorf): Likewise.
34092 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34093 macro to inline function.
34094 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34097 not <math/math_private.h>.
34099 2012-03-08 David S. Miller <davem@davemloft.net>
34101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34103 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34105 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34107 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34109 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34110 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34112 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34114 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34115 be defined individually, they must be defined as a block. Define
34116 S for printing a string instead of hidint the different by using a
34117 macro for adding the 'l'.
34118 * stdio-common/tst-fphex-wide.c: Adjust.
34120 2012-03-07 Marek Polacek <polacek@redhat.com>
34122 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34124 2012-03-08 Marek Polacek <polacek@redhat.com>
34127 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34128 * stdio-common/tst-fphex.c: Define a few macros to make the
34129 test reusable. Use them.
34130 * stdio-common/tst-fphex-wide.c: New file.
34132 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34135 * manual/macros.texi (gnusystems): New macro.
34136 (nongnusystems): Likewise.
34137 (gnulinuxhurdsystems): Likewise.
34138 (gnuhurdsystems): Likewise..
34139 (gnulinuxsystems): Likewise.
34140 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34141 variants of the GNU system, not "GNU system".
34142 * manual/conf.texi: Likewise.
34143 * manual/errno.texi: Likewise. Update example of errno macro
34145 * manual/filesys.texi: Likewise.
34146 (getumask): Document as specific to GNU/Hurd.
34147 * manual/install.texi: Likewise. Reword some references to
34149 * manual/intro.texi: Likewise.
34150 * manual/io.texi: Likewise.
34151 (File Name Portability): Detail which constraints are inapplicable
34152 to all GNU systems and which are only inapplicable to GNU/Hurd.
34153 * manual/job.texi: Likewise.
34154 * manual/llio.texi: Likewise.
34155 (O_NOCTTY): Document as present on GNU/Linux.
34156 * manual/maint.texi: Likewise.
34157 * manual/memory.texi: Likewise.
34158 * manual/pattern.texi: Likewise.
34159 * manual/pipe.texi: Likewise.
34160 * manual/process.texi: Likewise.
34161 * manual/resource.texi: Likewise.
34162 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34164 * manual/setjmp.texi: Likewise.
34165 * manual/signal.texi: Likewise.
34166 * manual/startup.texi: Likewise.
34167 * manual/stdio.texi: Likewise.
34168 * manual/terminal.texi: Likewise.
34169 (ONLCR): Document as POSIX.
34170 (OXTABS): Document availability on GNU/Linux as XTABS.
34171 (ONOEOT): Document availability separately from other bits.
34172 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34173 * manual/time.texi: Likewise.
34174 * manual/users.texi: Likewise.
34175 * INSTALL: Regenerated.
34176 * sysdeps/gnu/errlist.c: Regenerated.
34178 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34179 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34180 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34182 * configure: Regenerated.
34184 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34186 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34187 default includes instead of AC_HEADER_CHECK.
34188 * sysdeps/i386/configure: Regenerated.
34191 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34192 * math/s_cacoshf.c (__cacoshf): Likewise.
34193 * math/s_cacoshl.c (__cacoshl): Likewise.
34194 * math/s_casinh.c (__casinh): Set signs of result from argument.
34195 * math/s_casinhf.c (__casinhf): Likewise.
34196 * math/s_casinhl.c (__casinhl): Likewise.
34197 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34198 (casinh_test): Add more tests.
34199 * sysdeps/i386/fpu/libm-test-ulps: Update.
34200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34202 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34204 * po/zh_TW.po: Update from translation team.
34206 * login/Makefile (distribute): Remove variable.
34207 * catgets/Makefile: Likewise.
34208 * mach/Makefile: Likewise.
34209 * malloc/Makefile: Likewise.
34210 * misc/Makefile: Likewise.
34211 * iconv/Makefile: Likewise.
34212 * nscd/Makefile: Likewise.
34213 * hurd/Makefile: Likewise.
34214 * manual/Makefile: Likewise.
34215 * locale/Makefile: Likewise.
34216 * intl/Makefile: Likewise.
34217 * conform/Makefile: Likewise.
34218 * nss/Makefile: Likewise.
34219 * time/Makefile: Likewise.
34220 * soft-fp/Makefile: Likewise.
34221 * dirent/Makefile: Likewise.
34222 * gmon/Makefile: Likewise.
34223 * po/Makefile: Likewise.
34224 * rt/Makefile: Likewise.
34225 * socket/Makefile: Likewise.
34226 * math/Makefile: Likewise.
34227 * signal/Makefile: Likewise.
34228 * debug/Makefile: Likewise.
34229 * elf/Makefile: Likewise.
34230 * timezone/Makefile: Likewise.
34231 * stdlib/Makefile: Likewise.
34232 * iconvdata/Makefile: Likewise.
34233 * sunrpc/Makefile: Likewise.
34234 * io/Makefile: Likewise.
34235 * argp/Makefile: Likewise.
34236 * inet/Makefile: Likewise.
34237 * hesiod/Makefile: Likewise.
34238 * grp/Makefile: Likewise.
34239 * csu/Makefile: Likewise.
34240 * wctype/Makefile: Likewise.
34241 * crypt/Makefile: Likewise.
34242 * libio/Makefile: Likewise.
34243 * string/Makefile: Likewise.
34244 * nis/Makefile: Likewise.
34245 * resolv/Makefile: Likewise.
34246 * stdio-common/Makefile: Likewise.
34247 * wcsmbs/Makefile: Likewise.
34248 * dlfcn/Makefile: Likewise.
34249 * posix/Makefile: Likewise.
34252 * timezone/Makefile: Don't install timezone files, just the programs
34255 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34257 * nss/databases.def: Add missing gshadow entry.
34259 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34261 2012-03-06 Marek Polacek <polacek@redhat.com>
34264 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34265 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34266 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34267 * stdio-common/tst-long-dbl-fphex.c: New file.
34269 2012-03-06 David S. Miller <davem@davemloft.net>
34271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34272 (set_obp_int): New function.
34273 (get_obp_int): New function.
34274 (__get_clockfreq_via_dev_openprom): Likewise.
34275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34276 Avoid unused variable warnings on 'val' and use builtin_expect.
34277 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34279 (INLINE_CLONE_SYSCALL): Likewise.
34281 2012-03-05 David S. Miller <davem@davemloft.net>
34283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34285 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34290 only for |x| >= 40.
34291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34293 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34296 Replace gettimeofday with __vdso_gettimeofday.
34298 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34299 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34300 __vdso_clock_gettime and __vdso_getcpu.
34302 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34303 time with __vdso_time.
34305 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34307 * manual/lang.texi (size_t): Note types to which size_t may be
34308 equivalent with the GNU C Library, but do not describe when
34309 differences between them are significant.
34311 2012-03-05 Andreas Jaeger <aj@suse.de>
34313 * sysdeps/i386/fpu/libm-test-ulps: Update.
34315 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34318 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34319 (__ieee754_pow): Save and restore rounding mode and use
34320 round-to-nearest for main computations.
34321 * math/libm-test.inc (pow_test_tonearest): New function.
34322 (pow_test_towardzero): Likewise.
34323 (pow_test_downward): Likewise.
34324 (pow_test_upward): Likewise.
34325 (main): Call the new functions.
34326 * sysdeps/i386/fpu/libm-test-ulps: Update.
34327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34330 * math/libm-test.inc (cosh_test_tonearest): New function.
34331 (cosh_test_towardzero): Likewise.
34332 (cosh_test_downward): Likewise.
34333 (cosh_test_upward): Likewise.
34334 (sinh_test_tonearest): Likewise.
34335 (sinh_test_towardzero): Likewise.
34336 (sinh_test_downward): Likewise.
34337 (sinh_test_upward): Likewise.
34338 (main): Call the new functions.
34339 * sysdeps/i386/fpu/libm-test-ulps: Update.
34340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34342 2012-03-05 Tom de Vries <tom@codesourcery.com>
34344 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34345 default stack guard is set in last bytes.
34346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34348 2012-03-05 Kees Cook <keescook@chromium.org>
34350 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34353 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34354 possibly allocate from heap instead of stack.
34355 * stdio-common/bug-vfprintf-nargs.c: New file.
34356 * stdio-common/Makefile (tests): Add nargs overflow test.
34358 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34362 2012-03-03 Marek Polacek <polacek@redhat.com>
34364 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34365 * math/math_private.h: Likewise.
34366 * stdlib/tst-strtod.c: Likewise.
34367 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34368 * sysdeps/x86_64/bits/atomic.h: Likewise.
34370 2012-03-02 David S. Miller <davem@davemloft.net>
34372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34376 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34377 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34378 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34379 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34381 2012-03-02 Roland McGrath <roland@hack.frob.com>
34384 * manual/examples/README: New file, says the example source files
34385 can be used under GPL>=2.
34386 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34387 line containing just "*/".
34388 * manual/examples/add.c: Add copyright header (GPL>=2).
34389 * manual/examples/argp-ex1.c: Likewise.
34390 * manual/examples/argp-ex2.c: Likewise.
34391 * manual/examples/argp-ex3.c: Likewise.
34392 * manual/examples/argp-ex4.c: Likewise.
34393 * manual/examples/atexit.c: Likewise.
34394 * manual/examples/db.c: Likewise.
34395 * manual/examples/dir.c: Likewise.
34396 * manual/examples/dir2.c: Likewise.
34397 * manual/examples/execinfo.c: Likewise.
34398 * manual/examples/filecli.c: Likewise.
34399 * manual/examples/filesrv.c: Likewise.
34400 * manual/examples/fmtmsgexpl.c: Likewise.
34401 * manual/examples/genpass.c: Likewise.
34402 * manual/examples/inetcli.c: Likewise.
34403 * manual/examples/inetsrv.c: Likewise.
34404 * manual/examples/isockad.c: Likewise.
34405 * manual/examples/longopt.c: Likewise.
34406 * manual/examples/memopen.c: Likewise.
34407 * manual/examples/memstrm.c: Likewise.
34408 * manual/examples/mkfsock.c: Likewise.
34409 * manual/examples/mkisock.c: Likewise.
34410 * manual/examples/mygetpass.c: Likewise.
34411 * manual/examples/pipe.c: Likewise.
34412 * manual/examples/popen.c: Likewise.
34413 * manual/examples/rprintf.c: Likewise.
34414 * manual/examples/search.c: Likewise.
34415 * manual/examples/select.c: Likewise.
34416 * manual/examples/setjmp.c: Likewise.
34417 * manual/examples/sigh1.c: Likewise.
34418 * manual/examples/sigusr.c: Likewise.
34419 * manual/examples/stpcpy.c: Likewise.
34420 * manual/examples/strdupa.c: Likewise.
34421 * manual/examples/strftim.c: Likewise.
34422 * manual/examples/strncat.c: Likewise.
34423 * manual/examples/subopt.c: Likewise.
34424 * manual/examples/swapcontext.c: Likewise.
34425 * manual/examples/termios.c: Likewise.
34426 * manual/examples/testopt.c: Likewise.
34427 * manual/examples/testpass.c: Likewise.
34428 * manual/examples/timeval_subtract.c: Likewise.
34431 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34433 * manual/timeval_subtract.c.texi: ... here, new file.
34435 2012-03-02 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34439 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34442 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34443 (__sin): Save and restore rounding mode and use round-to-nearest
34444 for all computations.
34445 (__cos): Save and restore rounding mode and use round-to-nearest
34446 for all computations.
34447 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34449 (tan): Save and restore rounding mode and use round-to-nearest for
34451 * math/libm-test.inc (cos_test_tonearest): New function.
34452 (cos_test_towardzero): Likewise.
34453 (cos_test_downward): Likewise.
34454 (cos_test_upward): Likewise.
34455 (sin_test_tonearest): Likewise.
34456 (sin_test_towardzero): Likewise.
34457 (sin_test_downward): Likewise.
34458 (sin_test_upward): Likewise.
34459 (tan_test_tonearest): Likewise.
34460 (tan_test_towardzero): Likewise.
34461 (tan_test_downward): Likewise.
34462 (tan_test_upward): Likewise.
34463 (main): Call the new functions.
34464 * sysdeps/i386/fpu/libm-test-ulps: Update.
34465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34468 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34469 small n, then large n, before computing and testing k+n.
34470 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34475 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34476 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34481 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34482 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34483 * math/libm-test.inc (scalbn_test): Add more tests.
34484 (scalbln_test): Likewise.
34486 * manual/filesys.texi (mode_t): Describe constraints on size and
34487 signedness, not exact equivalence to a particular type.
34489 (ino64_t): Likewise.
34491 (nlink_t): Likewise.
34492 (blkcnt_t): Likewise.
34493 (blkcnt64_t): Likewise.
34494 * manual/llio.texi (off_t): Likewise.
34497 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34498 (__ieee754_exp): Save and restore rounding mode and use
34499 round-to-nearest for all computations.
34500 * math/libm-test.inc (exp_test_tonearest): New function.
34501 (exp_test_towardzero): Likewise.
34502 (exp_test_downward): Likewise.
34503 (exp_test_upward): Likewise.
34504 (main): Call the new functions.
34505 * sysdeps/i386/fpu/libm-test-ulps: Update.
34506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34508 2012-03-01 Chris Demetriou <cgd@google.com>
34510 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34511 have predictable order.
34513 2012-03-01 David S. Miller <davem@davemloft.net>
34515 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34517 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34518 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34519 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34520 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34522 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34523 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34524 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34526 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34527 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34529 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34535 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34536 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34538 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34539 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34540 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34541 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34542 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34544 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34545 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34546 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34547 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34548 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34551 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34554 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34555 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34556 * sysdeps/sparc/elf/configure: Regenerated.
34558 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34560 * configure.in (AS, LD): Require binutils 2.20 or later.
34561 * configure: Regenerated.
34562 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34563 as required minimum version.
34564 * INSTALL: Regenerated.
34568 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34569 before squaring exponent.
34570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34571 bottom long double and 27 bits of top long double before squaring
34573 * math/libm-test.inc (erfc_test): Add more tests.
34574 * sysdeps/i386/fpu/libm-test-ulps: Update.
34575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34578 2012-03-01 Kai Tietz <ktietz@redhat.com>
34580 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34581 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34582 containing bit-fields.
34583 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34584 * soft-fp/single.h (_FP_UNION_S): Likewise.
34585 * soft-fp/double.h (_FP_UNION_D): Likewise.
34587 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34590 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34591 not include ../strcmp.S.
34592 [USE_AS_STRNCASECMP_L]: Likewise.
34593 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34594 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34595 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34596 (__strncasecmp_l_ia32): Define as alias to
34597 __strncasecmp_l_nonascii.
34600 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34601 * sysdeps/i386/fpu/libm-test-ulps: Update.
34602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34604 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34607 2012-02-29 Jeff Law <law@redhat.com>
34609 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34610 out of bounds read.
34612 2012-02-29 Marek Polacek <polacek@redhat.com>
34615 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34616 * elf/Makefile: Add rules to run tst-unused-dep.out.
34618 2012-02-28 David S. Miller <davem@davemloft.net>
34620 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34621 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34624 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34625 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34627 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34629 * math/libm-test.inc (llround_test): Move one test from
34630 lround_test. Use TEST_f_L in moved test.
34631 (lround_test): Move misplaced test to llround_test. Add testcase
34634 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34636 * sysdeps/x86_64/fpu/e_expf.S: New file.
34637 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34639 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34642 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34643 of remain_len that may cause incomplete multi-byte character and
34645 * posix/bug-regex33.c: New file.
34646 * posix/Makefile (tests): Add bug-regex33.
34648 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34650 * manual/macros.texi: New file.
34651 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34652 * manual/libc.texinfo: Include macros.texi.
34653 * manual/creatute.texi: Likewise.
34654 * manual/install.texi: Likewise.
34655 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34656 @glibcadj{} in references to the GNU C Library.
34657 * manual/charset.texi: Likewise.
34658 * manual/conf.texi: Likewise.
34659 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34660 when not using those macros.
34661 * manual/creature.texi: Likewise.
34662 * manual/crypt.texi: Likewise.
34663 * manual/errno.texi: Likewise.
34664 * manual/filesys.texi: Likewise.
34665 * manual/header.texi: Likewise.
34666 * manual/install.texi: Likewise.
34667 * manual/intro.texi: Likewise.
34668 * manual/io.texi: Likewise.
34669 * manual/job.texi: Likewise.
34670 * manual/lang.texi: Likewise.
34671 * manual/libc.texiinfo: Likewise.
34672 * manual/llio.texi: Likewise.
34673 * manual/locale.texi: Likewise.
34674 * manual/maint.texi: Likewise.
34675 * manual/math.texi: Likewise.
34676 * manual/memory.texi: Likewise.
34677 * manual/message.texi: Likewise.
34678 * manual/nss.texi: Likewise.
34679 * manual/pattern.texi: Likewise.
34680 * manual/process.texi: Likewise.
34681 * manual/resource.texi: Likewise.
34682 * manual/search.texi: Likewise.
34683 * manual/setjmp.texi: Likewise.
34684 * manual/signal.texi: Likewise.
34685 * manual/socket.texi: Likewise.
34686 * manual/startup.texi: Likewise.
34687 * manual/stdio.texi: Likewise.
34688 * manual/string.texi: Likewise.
34689 * manual/sysinfo.texi: Likewise.
34690 * manual/syslog.texi: Likewise.
34691 * manual/terminal.texi: Likewise.
34692 * manual/time.texi: Likewise.
34693 * manual/users.texi: Likewise.
34694 * INSTALL: Regenerated.
34695 * NOTES: Regenerated.
34696 * sysdeps/gnu/errlist.c: Regenerated.
34698 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34700 * include/dirent.h: Include <dirstream.h> before
34703 2012-02-28 David S. Miller <davem@davemloft.net>
34705 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34706 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34708 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34710 2012-02-27 David S. Miller <davem@davemloft.net>
34712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34714 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34715 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34718 frame pointer instead of stack pointer relative arg slot.
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34723 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34726 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34728 2012-02-27 David S. Miller <davem@davemloft.net>
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34734 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34735 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34736 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34737 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34739 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34741 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34742 later. Allow versions 5-9.
34743 * configure: Regenerated.
34744 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34745 required minimum version and 4.6 as recommended version. Do not
34746 mention bugs in GCC 2.7 and 2.8.
34747 * INSTALL: Regenerated.
34749 2012-02-27 David S. Miller <davem@davemloft.net>
34751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34755 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34756 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34757 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34761 manipulate bits before adding and subtracting TWO112[sx].
34762 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34764 2012-02-27 Roland McGrath <roland@hack.frob.com>
34767 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34768 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34769 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34770 being in POSIX, because they are in 1003.1-2008.
34772 * rt/tst-aio.c: Include <fcntl.h>.
34773 * rt/tst-aio7.c: Likewise.
34774 * rt/tst-aio64.c: Likewise.
34776 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34778 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34780 * manual/install.texi (--with-headers): Describe headers as
34781 interface headers, not private headers.
34782 (Specific advice for GNU/Linux systems): Describe use of headers
34783 from "make headers_install", not private headers from older
34785 * INSTALL: Regenerated.
34786 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34788 * sysdeps/unix/sysv/linux/configure: Regenerated.
34790 * manual/llio.texi (fclean): Remove documentation.
34792 * manual/Makefile (libc-texi-generated): New variable. Include
34794 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34795 $(libc-texi-generated), not duplicated list of files.
34796 (version.texi, stamp-version): New rules.
34797 (realclean): Remove $(libc-texi-generated), not individual files
34798 from that list. Do not remove dir-add.texinfo.
34799 * manual/libc.texinfo: Comment out uses of edition numbers and
34800 references to printed manual. Remove last-updated dates.
34801 (EDITION): Comment out.
34803 (VERSION, UPDATED): Remove.
34804 (version.texi): Include.
34806 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34808 * sysdeps/posix/spawni.c: Include <signal.h>.
34809 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34810 * sysdeps/pthread/aio_fsync.c: Likewise.
34812 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34814 * conform/Makefile (tests): Run only when not cross-compiling and
34815 when fast-check is not defined.
34817 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34818 * conform/data/limits.h-data: Fixes for POSIX2008.
34819 * conform/run-conformtest.sh: Run all tests.
34820 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34822 * include/bits/dlfcn.h: Likewise.
34823 * include/langinfo.h: Likewise.
34824 * include/monetary.h: Likewise.
34825 * include/sys/poll.h: Likewise.
34827 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34829 * posix/spawn.h: Define __need_sigset_t.
34830 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34831 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34832 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34833 to get sigevent_t only.
34834 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34835 only for __USE_GNU.
34836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34837 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34838 process_vm_writev only for __USE_GNU.
34839 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34841 * conform/Makefile: For now ignore errors from run-conformtest.
34842 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34843 POSIX to avoid namespace pollution. Don't prepend headers.
34844 * conform/data/aio.h-data: Fixes for POSIX testing.
34845 * conform/data/fcntl.h-data: Likewise.
34846 * conform/data/glob.h-data: Likewise.
34847 * conform/data/grp.h-data: Likewise.
34848 * conform/data/pthread.h-data: Likewise.
34849 * conform/data/pwd.h-data: Likewise.
34850 * conform/data/signal.h-data: Likewise.
34851 * conform/data/spawn.h-data: Likewise.
34852 * conform/data/stdio.h-data: Likewise.
34853 * conform/data/stdlib.h-data: Likewise.
34854 * conform/data/stropts.h-data: Likewise.
34855 * conform/data/sys/mman.h-data: Likewise.
34856 * conform/data/sys/stat.h-data: Likewise.
34857 * conform/data/sys/types.h-data: Likewise.
34858 * conform/data/sys/wait.h-data: Likewise.
34859 * conform/data/time.h-data: Likewise.
34860 * conform/data/unistd.h-data: Likewise.
34861 * conform/data/utime.h-data: Likewise.
34863 * io/sys/stat.h: fchmod was always in POSIX.
34864 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34865 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34866 * rt/aio.h: Define __need_timespec before including <time.h>.
34867 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34868 struct. Add forward declaration of pthread_attr_t and use it in
34870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34872 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34873 always remove CLK_TCK definition.
34875 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34877 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34879 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34881 * conform/run-conformtest.sh: New file.
34882 * conform/Makefile: Run run-conformtest for tests.
34883 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34886 * conform/data/uchar.h-data: New file.
34887 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34888 * conform/data/arpa/inet.h-data: Likewise.
34889 * conform/data/assert.h-data: Likewise.
34890 * conform/data/complex.h-data: Likewise.
34891 * conform/data/cpio.h-data: Likewise.
34892 * conform/data/ctype.h-data: Likewise.
34893 * conform/data/dirent.h-data: Likewise.
34894 * conform/data/dlfcn.h-data: Likewise.
34895 * conform/data/errno.h-data: Likewise.
34896 * conform/data/fcntl.h-data: Likewise.
34897 * conform/data/float.h-data: Likewise.
34898 * conform/data/fmtmsg.h-data: Likewise.
34899 * conform/data/fnmatch.h-data: Likewise.
34900 * conform/data/ftw.h-data: Likewise.
34901 * conform/data/glob.h-data: Likewise.
34902 * conform/data/grp.h-data: Likewise.
34903 * conform/data/iconv.h-data: Likewise.
34904 * conform/data/inttypes.h-data: Likewise.
34905 * conform/data/langinfo.h-data: Likewise.
34906 * conform/data/libgen.h-data: Likewise.
34907 * conform/data/limits.h-data: Likewise.
34908 * conform/data/locale.h-data: Likewise.
34909 * conform/data/math.h-data: Likewise.
34910 * conform/data/monetary.h-data: Likewise.
34911 * conform/data/mqueue.h-data: Likewise.
34912 * conform/data/ndbm.h-data: Likewise.
34913 * conform/data/net/if.h-data: Likewise.
34914 * conform/data/netdb.h-data: Likewise.
34915 * conform/data/netinet/in.h-data: Likewise.
34916 * conform/data/nl_types.h-data: Likewise.
34917 * conform/data/poll.h-data: Likewise.
34918 * conform/data/pthread.h-data: Likewise.
34919 * conform/data/pwd.h-data: Likewise.
34920 * conform/data/regex.h-data: Likewise.
34921 * conform/data/sched.h-data: Likewise.
34922 * conform/data/search.h-data: Likewise.
34923 * conform/data/semaphore.h-data: Likewise.
34924 * conform/data/setjmp.h-data: Likewise.
34925 * conform/data/signal.h-data: Likewise.
34926 * conform/data/spawn.h-data: Likewise.
34927 * conform/data/stdarg.h-data: Likewise.
34928 * conform/data/stdio.h-data: Likewise.
34929 * conform/data/stdlib.h-data: Likewise.
34930 * conform/data/string.h-data: Likewise.
34931 * conform/data/strings.h-data: Likewise.
34932 * conform/data/stropts.h-data: Likewise.
34933 * conform/data/sys/ipc.h-data: Likewise.
34934 * conform/data/sys/mman.h-data: Likewise.
34935 * conform/data/sys/msg.h-data: Likewise.
34936 * conform/data/sys/resource.h-data: Likewise.
34937 * conform/data/sys/select.h-data: Likewise.
34938 * conform/data/sys/sem.h-data: Likewise.
34939 * conform/data/sys/shm.h-data: Likewise.
34940 * conform/data/sys/socket.h-data: Likewise.
34941 * conform/data/sys/stat.h-data: Likewise.
34942 * conform/data/sys/statvfs.h-data: Likewise.
34943 * conform/data/sys/time.h-data: Likewise.
34944 * conform/data/sys/timeb.h-data: Likewise.
34945 * conform/data/sys/times.h-data: Likewise.
34946 * conform/data/sys/types.h-data: Likewise.
34947 * conform/data/sys/uio.h-data: Likewise.
34948 * conform/data/sys/un.h-data: Likewise.
34949 * conform/data/sys/utsname.h-data: Likewise.
34950 * conform/data/sys/wait.h-data: Likewise.
34951 * conform/data/syslog.h-data: Likewise.
34952 * conform/data/tar.h-data: Likewise.
34953 * conform/data/termios.h-data: Likewise.
34954 * conform/data/utime.h-data: Likewise.
34955 * conform/data/utmpx.h-data: Likewise.
34956 * conform/data/varargs.h-data: Likewise.
34957 * conform/data/wchar.h-data: Likewise.
34958 * conform/data/wctype.h-data: Likewise.
34959 * conform/data/wordexp.h-data: Likewise.
34961 * include/stropts.h: New file.
34962 * include/uchar.h: New file.
34963 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34964 * include/assert.h: Likewise.
34965 * include/ctype.h: Likewise.
34966 * include/dirent.h: Likewise.
34967 * include/dlfcn.h: Likewise.
34968 * include/fcntl.h: Likewise.
34969 * include/fnmatch.h: Likewise.
34970 * include/glob.h: Likewise.
34971 * include/grp.h: Likewise.
34972 * include/libio.h: Likewise.
34973 * include/locale.h: Likewise.
34974 * include/math.h: Likewise.
34975 * include/net/if.h: Likewise.
34976 * include/netdb.h: Likewise.
34977 * include/netinet/in.h: Likewise.
34978 * include/pthread.h: Likewise.
34979 * include/pwd.h: Likewise.
34980 * include/regex.h: Likewise.
34981 * include/sched.h: Likewise.
34982 * include/search.h: Likewise.
34983 * include/setjmp.h: Likewise.
34984 * include/signal.h: Likewise.
34985 * include/stdio.h: Likewise.
34986 * include/stdlib.h: Likewise.
34987 * include/string.h: Likewise.
34988 * include/sys/cdefs.h: Likewise.
34989 * include/sys/mman.h: Likewise.
34990 * include/sys/msg.h: Likewise.
34991 * include/sys/resource.h: Likewise.
34992 * include/sys/select.h: Likewise.
34993 * include/sys/socket.h: Likewise.
34994 * include/sys/stat.h: Likewise.
34995 * include/sys/statvfs.h: Likewise.
34996 * include/sys/time.h: Likewise.
34997 * include/sys/times.h: Likewise.
34998 * include/sys/uio.h: Likewise.
34999 * include/sys/utsname.h: Likewise.
35000 * include/sys/wait.h: Likewise.
35001 * include/termios.h: Likewise.
35002 * include/time.h: Likewise.
35003 * include/ulimit.h: Likewise.
35004 * include/unistd.h: Likewise.
35005 * include/utime.h: Likewise.
35006 * include/wchar.h: Likewise.
35007 * include/wctype.h: Likewise.
35008 * include/wordexp.h: Likewise.
35010 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35012 * time/time.h: TIME_UTC must be a macro.
35013 Make timespec_get available for ISO C11 only as well.
35015 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35017 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35018 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35020 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35022 * configure.in: Use -o not -a in test for unsupported multi-arch.
35024 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35026 * manual/texinfo.tex: Update to version 2012-01-19.16.
35028 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35030 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35032 2012-02-24 Roland McGrath <roland@hack.frob.com>
35035 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35036 * manual/fdl-1.3.texi: New file.
35037 * manual/fdl-1.1.texi: File removed.
35040 * manual/libc.texinfo (FDL_VERSION): New @set.
35041 Use it for mention of FDL in cover text.
35042 (Documentation License): Use it in @include file name.
35044 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35045 Roland McGrath <roland@hack.frob.com>
35048 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35049 not LONG_LONG_MAX and LONG_LONG_MIN.
35050 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35051 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35053 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35059 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35060 manipulate bits before adding and subtracting TWO23[sx].
35061 * math/libm-test.inc (nearbyint_test): Add more tests.
35063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35066 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35067 bits before adding and subtracting TWO23[sx].
35068 * math/libm-test.inc (rint_test): Add more tests.
35069 (rint_test_tonearest): Likewise.
35070 (rint_test_towardzero): Likewise.
35071 (rint_test_downward): Likewise.
35072 (rint_test_upward: Likewise.
35074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35077 * include/stdc-predef.h: New file. Extracted from features.h.
35078 * include/features.h: Include stdc-predef.h.
35079 * Makefile (headers): Add stdc-predef.h.
35080 * CONFORMANCE (Compiler limitations): Update.
35082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35084 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35086 2012-02-21 David S. Miller <davem@davemloft.net>
35088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35091 2012-02-20 David S. Miller <davem@davemloft.net>
35093 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35094 using a normal save/restore sequence, rather than allocating a
35095 dummy stack frame just to store a frame pointer and restore.
35096 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35098 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35100 * manual/install.texi: Fix stray word in line-wrapped comment.
35102 2012-02-20 David S. Miller <davem@davemloft.net>
35104 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35105 both binutils and gcc support GOTDATA.
35107 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35108 "rd %pc" in the PIC register setup sequences.
35110 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35111 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35112 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35113 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35114 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35119 (SYSCALL_ERROR_HANDLER): Likewise.
35120 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35121 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35123 (SYSCALL_ERROR_HANDLER): Likewise.
35125 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35126 (HAVE_GCC_GOTDATA): New.
35127 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35128 relocation support in both binutils and gcc.
35129 * sysdeps/sparc/elf/configure: Regenerate.
35131 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35132 * sysdeps/sparc/sparc32/elf/configure: Delete.
35133 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35134 * sysdeps/sparc/sparc64/elf/configure: Delete.
35135 * sysdeps/sparc/elf/configure.in: New file.
35136 * sysdeps/sparc/elf/configure: Generate.
35138 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35139 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35140 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35141 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35142 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35146 * manual/install.texi: Do not mention specific glibc version
35148 * manual/libc.texinfo (VERSION, UPDATED): Update.
35149 (@copying): Use @copyright{} and range of years.
35151 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35154 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35155 [crti.S not in sysdirs] (generated): Do not append.
35156 [crti.S not in sysdirs] (omit-deps): Likewise.
35157 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35158 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35159 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35160 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35161 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35163 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35164 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35165 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35166 * csu/defs.awk: Remove file.
35167 * sysdeps/generic/initfini.c: Likewise.
35168 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35170 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35173 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35175 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35176 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35177 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35179 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35180 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35182 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35183 (__EPOLL_PACKED): Define to empty if not defined by
35185 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35189 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35191 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35192 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35194 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35196 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35200 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35202 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35205 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35206 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35209 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35214 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35216 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35217 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35219 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35221 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35224 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35226 * math/w_acos.c: Use non-signaling floating-point comparisons.
35227 * math/w_acosf.c: Likewise.
35228 * math/w_acosh.c: Likewise.
35229 * math/w_acoshf.c: Likewise.
35230 * math/w_acoshl.c: Likewise.
35231 * math/w_acosl.c: Likewise.
35232 * math/w_asin.c: Likewise.
35233 * math/w_asinf.c: Likewise.
35234 * math/w_asinl.c: Likewise.
35235 * math/w_atanh.c: Likewise.
35236 * math/w_atanhf.c: Likewise.
35237 * math/w_atanhl.c: Likewise.
35238 * math/w_exp2.c: Likewise.
35239 * math/w_exp2f.c: Likewise.
35240 * math/w_exp2l.c: Likewise.
35241 * math/w_j0.c: Likewise.
35242 * math/w_j0f.c: Likewise.
35243 * math/w_j0l.c: Likewise.
35244 * math/w_j1.c: Likewise.
35245 * math/w_j1f.c: Likewise.
35246 * math/w_j1l.c: Likewise.
35247 * math/w_jn.c: Likewise.
35248 * math/w_jnf.c: Likewise.
35249 * math/w_log.c: Likewise.
35250 * math/w_log10.c: Likewise.
35251 * math/w_log10f.c: Likewise.
35252 * math/w_log10l.c: Likewise.
35253 * math/w_log2.c: Likewise.
35254 * math/w_log2f.c: Likewise.
35255 * math/w_log2l.c: Likewise.
35256 * math/w_logf.c: Likewise.
35257 * math/w_logl.c: Likewise.
35258 * math/w_sqrt.c: Likewise.
35259 * math/w_sqrtf.c: Likewise.
35260 * math/w_sqrtl.c: Likewise.
35261 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35262 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35263 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35270 * manual/string.texi (strnlen): Use correct parameter name in
35271 equivalent expression.
35273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35276 * manual/users.texi (seteuid): Consistently use neweuid for
35279 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35282 * manual/nss.texi (Services in the NSS configuration): Correct
35283 list of services in example configuration file.
35285 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35288 * manual/arith.texi: Remove statements about negative zero
35289 behaving identically to zero.
35291 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35294 * manual/install.texi: Do not document upgrading from libc5.
35296 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35299 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35301 2012-02-18 David S. Miller <davem@davemloft.net>
35303 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35304 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35305 %o7 across the call.
35306 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35309 SETUP_PIC_REG_LEAF.
35310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35311 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35312 * sysdeps/sparc/crtn.S: Likewise.
35314 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35316 * aout/Makefile: Remove.
35318 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35321 * manual/examples/argp-ex1.c (main): Format definition in GNU
35323 * manual/examples/argp-ex2.c (main): Likewise.
35324 * manual/examples/argp-ex3.c (main): Likewise.
35325 * manual/examples/argp-ex4.c (main): Likewise.
35326 * manual/examples/longopt.c (main): Use new-style prototype
35328 * manual/examples/strncat.c (main): Specify return type and use
35329 (void) for arguments.
35330 * manual/examples/subopt.c (main): Use char **argv argument.
35332 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35335 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35338 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35341 * manual/string.texi (strchr): Change when strchrnul is
35344 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35347 * manual/locale.texi (setlocale): Document LOCPATH.
35349 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35352 * manual/process.texi (execle): Move @dots{} before last argument.
35354 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35357 * manual/charset.texi (Generic Charset Conversion): Fix typo
35358 (LC_TYPE -> LC_CTYPE).
35360 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35363 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35364 (scalbnf): Likewise.
35365 (scalbnl): Likewise.
35366 (scalbln): Likewise.
35367 (scalblnf): Likewise.
35368 (scalblnl): Likewise.
35369 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35370 (vwarnx): Likewise.
35373 * manual/filesys.texi (telldir): Use braces around return type.
35374 * manual/llio.texi (mmap): Add space after comma.
35375 (mmap64): Likewise.
35376 * manual/math.texi (jn): Use @var{} on parameter names.
35382 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35384 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35386 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35387 (sched_get_priority_max): Likewise.
35388 * manual/signal.texi (sigvec): Add space after comma.
35389 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35391 (if_indextoname): Likewise.
35392 (if_freenameindex): Likewise.
35393 (sendto): Use ',' instead of '.' in prototype.
35394 * manual/startup.texi (syscall): Use @dots{} instead of literal
35396 * manual/stdio.texi (__fpending): Separate initial words of
35397 paragraph from @deftypefun line.
35398 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35400 (vsyslog): Use @var{} on parameter names.
35401 * manual/terminal.texi (stty): Use @var{} on parameter names.
35402 * manual/users.texi (getutmp): Use @var{} on parameter names.
35403 (getutmpx): Likewise.
35405 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35408 * manual/stdio.texi (fopen): Fix typos in description of
35411 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35414 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35415 get clock_id definition.
35417 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35420 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35421 (madvise): Cast every argument to void on its own.
35423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35426 * manual/startup.texi (Exit Status): Fix typo.
35428 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35431 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35432 * manual/examples/argp-ex2.c: Likewise.
35433 * manual/examples/argp-ex3.c: Likewise.
35435 2012-02-16 Richard Henderson <rth@redhat.com>
35437 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35438 * sysdeps/s390/s390-32/initfini.c: Remove.
35439 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35440 * sysdeps/s390/s390-64/initfini.c: Remove.
35442 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35444 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35445 compiler output for sysdeps/generic/initfini.c.
35446 * sysdeps/sh/elf/initfini.c: Remove file.
35448 2012-02-16 David S. Miller <davem@davemloft.net>
35451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35453 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35454 * sysdeps/sparc/crti.S: New file.
35455 * sysdeps/sparc/crtn.S: New file.
35456 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35457 * sysdeps/sparc/sparc64/Makefile: Likewise.
35459 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35462 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35464 2012-02-15 Roland McGrath <roland@hack.frob.com>
35467 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35469 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35470 (write, read, close): Likewise.
35471 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35473 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35475 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35476 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35477 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35478 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35480 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35484 2012-02-14 Marek Polacek <polacek@redhat.com>
35486 * sysdeps/x86_64/crti.S: New file.
35487 * sysdeps/x86_64/crtn.S: New file.
35488 * sysdeps/x86_64/elf/initfini.c: Remove file.
35490 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35492 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35493 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35494 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35495 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35497 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35501 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35503 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35504 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35505 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35506 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35508 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35512 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35514 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35515 __feraiseexcept instead of feraiseexcept.
35517 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35518 nanosleep invocations.
35519 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35520 strings, and add error checking for a nanosleep invocations.
35522 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35524 Replace FSF snail mail address with URLs, as per GNU coding standards.
35525 Most of the snail mail addresses were wrong anyway, and omitting
35526 them makes the source code easier to maintain. Almost all of the
35527 changes are to license notices and to locale LC_IDENTIFICATION
35528 addresses, except for this one:
35529 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35530 not its snail mail address.
35532 2012-02-09 Richard Henderson <rth@twiddle.net>
35534 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35535 of kernel-features.h.
35537 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35539 2012-02-08 Marek Polacek <polacek@redhat.com>
35541 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35542 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35543 * sysdeps/gnu/_G_config.h: Likewise.
35544 * sysdeps/generic/_G_config.h: Likewise.
35546 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35548 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552 * sysdeps/powerpc/powerpc32/crti.S: New file.
35553 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35554 * sysdeps/powerpc/powerpc64/crti.S: New file.
35555 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35557 * Makeconfig (have-initfini): Don't set.
35558 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35559 * configure.in (nopic_initfini): Don't substitute.
35560 * config.h.in (HAVE_INITFINI): Don't #undef.
35561 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35562 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35564 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35566 Support crti.S and crtn.S provided directly by architectures.
35567 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35568 [crti.S in sysdirs] (omit-deps): Likewise.
35569 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35570 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35571 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35572 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35573 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35574 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35575 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35576 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35577 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35578 compiler output for sysdeps/generic/initfini.c.
35579 * sysdeps/i386/elf/Makefile: Remove file.
35580 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35582 2012-02-07 Marek Polacek <polacek@redhat.com>
35584 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35585 * sysdeps/gnu/_G_config.h: Likewise.
35586 * sysdeps/mach/hurd/_G_config.h: Likewise.
35588 2012-02-07 Marek Polacek <polacek@redhat.com>
35590 * math/Makefile (tests): Add tst-CMPLX2.
35591 * math/tst-CMPLX2.c: New file.
35593 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35595 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35597 * math/libm-test.inc (jn_test): Add missing L suffix.
35599 2012-02-06 Marek Polacek <polacek@redhat.com>
35601 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35602 * sysdeps/i386/fpu/e_powf.S: Likewise.
35603 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35604 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35605 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35606 * sysdeps/i386/fpu/e_pow.S: Likewise.
35607 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35608 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35609 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35610 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35611 * sysdeps/i386/fpu/e_log2.S: Likewise.
35612 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35613 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35614 * sysdeps/i386/fpu/e_powl.S: Likewise.
35615 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35616 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35617 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35618 * sysdeps/i386/fpu/e_logl.S: Likewise.
35619 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35620 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35621 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35622 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35623 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35624 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35625 * sysdeps/i386/fpu/e_log.S: Likewise.
35626 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35627 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35628 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35629 * sysdeps/i386/fpu/e_logf.S: Likewise.
35630 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35631 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35632 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35633 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35635 * sysdeps/i386/fpu/e_log10.S: Likewise.
35636 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35637 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35638 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35639 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35641 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35642 * sysdeps/i386/asm-syntax.h: Likewise.
35643 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35644 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35646 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35647 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35649 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35650 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35651 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35652 * sysdeps/powerpc/sysdep.h: Likewise.
35653 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35654 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35656 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35659 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35661 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35663 * sysdeps/i386/sysdep.h: Include <features.h>.
35664 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35667 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35669 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35671 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35674 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35676 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35677 (SETUP_PIC_REG): Use GET_PC_THUNK.
35678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35681 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35683 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35684 for non-PIC compilation.
35685 (SETUP_PIC_REG): Add .p2align directive.
35686 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35687 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35688 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35689 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35690 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35694 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35695 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35696 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35697 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35698 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35699 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35700 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35701 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35702 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35703 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35704 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35705 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35707 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35708 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35709 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35712 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35713 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35714 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35715 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35716 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35717 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35718 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35719 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35720 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35721 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35722 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35723 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35724 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35725 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35726 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35728 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35730 * math/tst-CMPLX.c: Include <stdio.h>.
35732 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35734 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35736 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35737 * sysdeps/sparc/bits/mathdef.h: Likewise.
35739 2012-01-31 Marek Polacek <polacek@redhat.com>
35741 * libio/libio.h: Don't define _PARAMS.
35742 * locale/programs/config.h: Don't define PARAMS.
35743 * stdlib/strtol_l.c: Likewise.
35744 (__strtol_l): Remove PARAMS from the prototype.
35746 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35748 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35749 names. Just use the correct names. Remove unnecessary wrapper
35751 * malloc/arena.c: Likewise.
35752 * malloc/hooks.c: Likewise.
35754 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35755 ARENA_TEST says not to. Simplify test for creation of a new arena.
35756 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35758 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35760 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35762 (update_get_addr): New function.
35763 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35764 GET_ADDR_MODULE parameter.
35766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35768 * crypt/cert.c: Remove __STDC__ conditionals.
35769 * crypt/crypt-entry.c: Likewise.
35770 * crypt/crypt_util.c: Likewise.
35771 * libio/filedoalloc.c: Likewise.
35772 * libio/fileops.c: Likewise.
35773 * libio/genops.c: Likewise.
35774 * libio/iofclose.c: Likewise.
35775 * libio/iofdopen.c: Likewise.
35776 * libio/iofopen.c: Likewise.
35777 * libio/iofopen64.c: Likewise.
35778 * libio/iogetdelim.c: Likewise.
35779 * libio/iopopen.c: Likewise.
35780 * libio/obprintf.c: Likewise.
35781 * libio/oldfileops.c: Likewise.
35782 * libio/oldiofclose.c: Likewise.
35783 * libio/oldiofdopen.c: Likewise.
35784 * libio/oldiofopen.c: Likewise.
35785 * libio/oldiopopen.c: Likewise.
35786 * libio/wfiledoalloc.c: Likewise.
35787 * libio/wgenops.c: Likewise.
35788 * locale/programs/xmalloc.c: Likewise.
35789 * misc/syslog.c: Likewise.
35790 * stdio-common/xbug.c: Likewise.
35791 * string/memchr.c: Likewise.
35792 * string/memcmp.c: Likewise.
35793 * string/memrchr.c: Likewise.
35794 * string/rawmemchr.c: Likewise.
35795 * sysdeps/posix/getcwd.c: Likewise.
35796 * time/strftime_l.c: Likewise.
35798 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35800 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35801 * config.make.in (config-cflags-sse2avx): Define.
35802 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35805 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35807 * scripts/config.guess: Update from upstream config git repository.
35808 * scripts/config.sub: Likewise.
35810 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35812 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35814 (R_TILEPRO_*, R_TILEGX_*): New macros.
35816 * scripts/firstversions.awk: Fix bug in version range handling.
35818 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35820 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35822 * include/sys/epoll.h: New file.
35823 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35826 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35828 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35829 Avoid unnecessary __WORDSIZE == 64 test.
35830 (fmaxf): Use VEX format if possible.
35835 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35836 * math/math_private.h: Remove libc_fegetround* and
35838 * sysdeps/i386/configure.in: Check for -msse2avx.
35839 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35840 also if SSE2AVX is defined.
35841 Remove libc_fegetround* and libc_fesetround*.
35842 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35843 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35846 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35847 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35848 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35850 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35852 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35854 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35856 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35858 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35860 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35863 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35865 * Makeconfig (libm): Define.
35866 * elf/Makefile: Add rules to build and run tst-relsort1.
35867 * elf/tst-relsort1.c: New file.
35868 * elf/tst-relsort1mod1.c: New file.
35869 * elf/tst-relsort1mod2.c: New file.
35871 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35873 * math/s_ldexp.c: Remove __STDC__ conditionals.
35874 * math/s_ldexpf.c: Likewise.
35875 * math/s_ldexpl.c: Likewise.
35876 * math/s_nextafter.c: Likewise.
35877 * math/s_nexttowardf.c: Likewise.
35878 * math/s_significand.c: Likewise.
35879 * math/s_significandf.c: Likewise.
35880 * math/s_significandl.c: Likewise.
35881 * math/w_jnl.c: Likewise.
35882 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35883 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35884 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35885 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35886 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35888 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35890 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35891 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35892 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35895 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35901 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35902 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35904 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35906 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35907 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35908 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35909 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35910 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35912 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35913 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35914 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35915 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35917 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35918 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35919 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35920 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35921 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35922 * sysdeps/ieee754/k_standard.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35980 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35984 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35998 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36002 * sysdeps/ieee754/s_matherr.c: Likewise.
36003 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36008 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36010 * crypt/md5.h: Remove __STDC__ conditionals.
36011 * libio/libioP.h: Likewise.
36012 * locale/programs/config.h: Likewise.
36013 * sysdeps/generic/sysdep.h: Likewise.
36014 * sysdeps/i386/asm-syntax.h: Likewise.
36015 * sysdeps/s390/asm-syntax.h: Likewise.
36016 * sysdeps/unix/sysdep.h: Likewise.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36020 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36022 * libio/libio.h: Remove __STDC__ conditionals.
36023 * malloc/obstack.h: Likewise.
36024 * math/complex.h: Likewise.
36025 * math/math.h: Likewise.
36026 * sysdeps/generic/_G_config.h: Likewise.
36027 * sysdeps/gnu/_G_config.h: Likewise.
36028 * sysdeps/mach/hurd/_G_config.h: Likewise.
36029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36030 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36031 * sysdeps/sparc/bits/mathdef.h: Likewise.
36033 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36037 Clean up HAS_* macros.
36038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36039 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36043 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36044 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36046 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36047 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36049 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36051 * elf/tst-unique3.cc (gets): Remove declaration.
36052 * elf/tst-unique3lib.cc (gets): Likewise.
36053 * elf/tst-unique3lib2.cc (gets): Likewise.
36054 * elf/tst-unique4.cc (gets): Likewise.
36056 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36058 * include/stdio.h: Add C++ protection. Add gets declarations and
36060 * debug/tst-chk1.c: Don't declare gets here.
36061 * stdio-common/tst-gets.c: Likewise.
36063 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36065 * posix/glob: Remove directory.
36067 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36069 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36071 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36073 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36074 of the non-standard EPFNOSUPPORT.
36076 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36078 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36079 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36080 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36082 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36084 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36086 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36088 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36090 * nscd/grpcache.c (cache_addgr): Likewise.
36091 * nscd/hstcache.c (cache_addhst): Likewise.
36092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36093 * nscd/pwdcache.c (cache_addpw): Likewise.
36094 * nscd/servicescache.c (cache_addserv): Likewise.
36096 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36098 * malloc/malloc.c: Various cleanups.
36099 * malloc/hooks.c: Likewise.
36101 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36102 * stdlib/bug-fmtmsg1.c: New file.
36104 * stdlib/fmtmsg.c (init): Add missing unlock.
36105 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36107 2012-01-12 Marek Polacek <polacek@redhat.com>
36109 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36112 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36114 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36116 macro to ensure uniqueness of label name.
36117 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36118 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36120 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36122 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36124 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36125 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36129 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36131 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36133 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36137 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36139 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36140 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36141 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36144 * math/bits/math-finite.h: Add ldexp support.
36146 2012-01-10 Marek Polacek <polacek@redhat.com>
36148 * locale/programs/localedef.h (show_archive_content): Add noreturn
36151 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36153 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36155 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36157 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36159 * io/Makefile (headers): Add bits/poll2.h.
36161 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36164 typo #include statement.
36166 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36168 * include/sys/cdefs.h: Define __attribute_alloc_size.
36169 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36170 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36171 * elf/pldd.c: Likewise.
36172 * iconv/iconv_charmap.c: Likewise.
36173 * iconv/iconvconfig.c: Likewise.
36174 * iconv/strtab.c: Likewise.
36175 * locale/programs/locale.c: Likewise.
36176 * locale/programs/localedef.h: Likewise.
36177 * locale/programs/simple-hash.c: Likewise.
36178 * nscd/nscd.h: Likewise.
36179 * nss/makedb.c: Likewise.
36180 * sysdeps/generic/ldconfig.h: Likewise.
36181 * locale/programs/localedef.c: Remove xmalloc prototype.
36182 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36184 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36186 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36189 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36191 * math/Makefile (tests): Add tst-CMPLX.
36192 * math/tst-CMPLX.c: New file.
36194 * math/complex.h (CMPLXL): Fix typo.
36196 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36197 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36199 * debug/tst-chk1.c: Add poll and ppoll tests.
36200 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36201 * include/sys/poll.h: Add hidden proto for ppoll.
36202 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36203 * sysdeps/mach/hurd/ppoll.c: Likewise.
36204 * io/ppoll.c: Likewise.
36205 * debug/poll_chk.c: New file.
36206 * debug/ppoll_chk.c: New file.
36207 * include/bits/poll2.h: New file.
36208 * io/bits/poll2.h: New file.
36211 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36213 * configure.in: static is always set to yes. Remove.
36214 * config.make.in: Don't set build-static.
36215 * Makeconfig: Remove use of build-static.
36216 * dlfcn/Makefile: Likewise.
36217 * elf/Makefile: Likewise.
36218 * math/Makefile: Likewise.
36219 * misc/Makefile: Likewise.
36220 * nptl/Makefile: Likewise.
36221 * sysdeps/mach/hurd/Makefile: Likewise.
36223 * configure.in: PWD_P is not used anymore.
36224 * config.make.in: Remove PWD_P entry.
36226 * configure.in: Remove last remnants of RANLIB.
36227 No need to check for signed size_t anymore.
36228 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36230 Remove __builtin_expect test because we require at least gcc 3.4.
36231 * aclocal.m4: Likewise.
36233 * wcsmbs/mbrtoc16.c: Implement using towc function.
36234 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36235 * wcsmbs/wcsmbsload.c: Likewise.
36236 * iconv/gconv_simple.c: Likewise.
36237 * iconv/gconv_int.h: Likewise.
36238 * iconv/gconv_builtin.h: Likewise.
36239 * iconv/iconv_prog.c: Remove CHAR16 handling.
36241 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36243 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36245 * configure.in: Remove --with-elf and --enable-bounded options.
36246 Dont set base_machine for ia64. More non-ELF conditions removed.
36247 Remove testing and setting of leading underscore information.
36248 * config.make.in (build-bounded): Set to no.
36249 * config.h.in: Remove NO_UNDERSCORES entry.
36250 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36252 * csu/start.c: Remove !NO_UNDERSCORE code.
36253 * locale/localeinfo.h: Likewise.
36254 * sysdeps/generic/machine-gmon.h: Likewise.
36255 * sysdeps/generic/sysdep.h: Likewise.
36256 * sysdeps/i386/sysdep.h: Likewise.
36257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36258 * sysdeps/mach/sysdep.h: Likewise.
36259 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36261 * sysdeps/sh/sysdep.h: Likewise.
36262 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36263 * sysdeps/unix/i386/sysdep.S: Likewise.
36264 * sysdeps/unix/sparc/start.c: Likewise.
36265 * sysdeps/unix/sparc/sysdep.S: Likewise.
36266 * sysdeps/unix/sparc/sysdep.h: Likewise.
36267 * sysdeps/unix/start.c: Likewise.
36268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36269 * sysdeps/x86_64/sysdep.h: Likewise.
36271 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36274 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36276 * argp/argp-fmtstream.h: Use const instead __const.
36277 * argp/argp.h: Likewise.
36278 * assert/assert.h: Likewise.
36279 * bits/fenv.h: Likewise.
36280 * bits/sched.h: Likewise.
36281 * bits/sigset.h: Likewise.
36282 * bits/sigthread.h: Likewise.
36283 * catgets/nl_types.h: Likewise.
36284 * conform/data/pthread.h-data: Likewise.
36285 * crypt/crypt-private.h: Likewise.
36286 * crypt/crypt.h: Likewise.
36287 * crypt/crypt_util.c: Likewise.
36288 * ctype/ctype.h: Likewise.
36289 * debug/execinfo.h: Likewise.
36290 * debug/mbsnrtowcs_chk.c: Likewise.
36291 * debug/mbsrtowcs_chk.c: Likewise.
36292 * debug/wcsnrtombs_chk.c: Likewise.
36293 * debug/wcsrtombs_chk.c: Likewise.
36294 * debug/wcstombs_chk.c: Likewise.
36295 * dirent/dirent.h: Likewise.
36296 * dlfcn/dlfcn.h: Likewise.
36297 * elf/neededtest4.c: Likewise.
36298 * grp/grp.h: Likewise.
36299 * gshadow/gshadow.h: Likewise.
36300 * iconv/gconv.h: Likewise.
36301 * iconv/gconv_int.h: Likewise.
36302 * iconv/gconv_simple.c: Likewise.
36303 * iconv/iconv.h: Likewise.
36304 * iconv/loop.c: Likewise.
36305 * iconv/skeleton.c: Likewise.
36306 * include/aio.h: Likewise.
36307 * include/aliases.h: Likewise.
36308 * include/argz.h: Likewise.
36309 * include/arpa/inet.h: Likewise.
36310 * include/assert.h: Likewise.
36311 * include/dirent.h: Likewise.
36312 * include/dlfcn.h: Likewise.
36313 * include/execinfo.h: Likewise.
36314 * include/fcntl.h: Likewise.
36315 * include/fenv.h: Likewise.
36316 * include/glob.h: Likewise.
36317 * include/grp.h: Likewise.
36318 * include/libintl.h: Likewise.
36319 * include/mntent.h: Likewise.
36320 * include/netdb.h: Likewise.
36321 * include/pwd.h: Likewise.
36322 * include/rpc/netdb.h: Likewise.
36323 * include/sched.h: Likewise.
36324 * include/search.h: Likewise.
36325 * include/shadow.h: Likewise.
36326 * include/signal.h: Likewise.
36327 * include/stdio.h: Likewise.
36328 * include/stdlib.h: Likewise.
36329 * include/string.h: Likewise.
36330 * include/sys/socket.h: Likewise.
36331 * include/sys/stat.h: Likewise.
36332 * include/sys/statfs.h: Likewise.
36333 * include/sys/statvfs.h: Likewise.
36334 * include/sys/syslog.h: Likewise.
36335 * include/sys/time.h: Likewise.
36336 * include/sys/uio.h: Likewise.
36337 * include/time.h: Likewise.
36338 * include/unistd.h: Likewise.
36339 * include/utmp.h: Likewise.
36340 * include/wchar.h: Likewise.
36341 * include/wctype.h: Likewise.
36342 * inet/aliases.h: Likewise.
36343 * inet/arpa/inet.h: Likewise.
36344 * inet/netinet/ether.h: Likewise.
36345 * inet/netinet/in.h: Likewise.
36346 * intl/libintl.h: Likewise.
36347 * io/bits/fcntl2.h: Likewise.
36348 * io/fcntl.h: Likewise.
36349 * io/ftw.h: Likewise.
36350 * io/sys/poll.h: Likewise.
36351 * io/sys/stat.h: Likewise.
36352 * io/sys/statfs.h: Likewise.
36353 * io/sys/statvfs.h: Likewise.
36354 * io/utime.h: Likewise.
36355 * libio/bits/stdio.h: Likewise.
36356 * libio/bits/stdio2.h: Likewise.
36357 * libio/libio.h: Likewise.
36358 * libio/libioP.h: Likewise.
36359 * libio/stdio.h: Likewise.
36360 * locale/lc-ctype.c: Likewise.
36361 * locale/locale.h: Likewise.
36362 * login/utmp.h: Likewise.
36363 * malloc/arena.c: Likewise.
36364 * malloc/malloc.c: Likewise.
36365 * malloc/malloc.h: Likewise.
36366 * malloc/mcheck.c: Likewise.
36367 * malloc/mtrace.c: Likewise.
36368 * math/bits/mathcalls.h: Likewise.
36369 * math/fenv.h: Likewise.
36370 * math/math_private.h: Likewise.
36371 * misc/bits/error.h: Likewise.
36372 * misc/bits/syslog.h: Likewise.
36373 * misc/err.h: Likewise.
36374 * misc/error.h: Likewise.
36375 * misc/fstab.h: Likewise.
36376 * misc/mntent.h: Likewise.
36377 * misc/regexp.h: Likewise.
36378 * misc/search.h: Likewise.
36379 * misc/sgtty.h: Likewise.
36380 * misc/sys/mman.h: Likewise.
36381 * misc/sys/syslog.h: Likewise.
36382 * misc/sys/uio.h: Likewise.
36383 * misc/sys/xattr.h: Likewise.
36384 * misc/ttyent.h: Likewise.
36385 * nis/rpcsvc/ypclnt.h: Likewise.
36386 * nss/nss.h: Likewise.
36387 * posix/bits/unistd.h: Likewise.
36388 * posix/fnmatch.h: Likewise.
36389 * posix/glob.h: Likewise.
36390 * posix/sched.h: Likewise.
36391 * posix/spawn.h: Likewise.
36392 * posix/sys/wait.h: Likewise.
36393 * posix/unistd.h: Likewise.
36394 * posix/wordexp.h: Likewise.
36395 * pwd/pwd.h: Likewise.
36396 * resolv/netdb.h: Likewise.
36397 * resource/sys/resource.h: Likewise.
36398 * rt/aio.h: Likewise.
36399 * rt/bits/mqueue2.h: Likewise.
36400 * rt/mqueue.h: Likewise.
36401 * shadow/shadow.h: Likewise.
36402 * signal/signal.h: Likewise.
36403 * socket/send.c: Likewise.
36404 * socket/sendto.c: Likewise.
36405 * socket/sys/socket.h: Likewise.
36406 * stdio-common/printf.h: Likewise.
36407 * stdlib/bits/stdlib.h: Likewise.
36408 * stdlib/fmtmsg.h: Likewise.
36409 * stdlib/monetary.h: Likewise.
36410 * stdlib/stdlib.h: Likewise.
36411 * stdlib/ucontext.h: Likewise.
36412 * streams/stropts.h: Likewise.
36413 * string/argz.h: Likewise.
36414 * string/bits/string2.h: Likewise.
36415 * string/string.h: Likewise.
36416 * string/strings.h: Likewise.
36417 * sunrpc/rpc/auth.h: Likewise.
36418 * sunrpc/rpc/auth_des.h: Likewise.
36419 * sunrpc/rpc/clnt.h: Likewise.
36420 * sunrpc/rpc/netdb.h: Likewise.
36421 * sunrpc/rpc/pmap_clnt.h: Likewise.
36422 * sunrpc/rpc/xdr.h: Likewise.
36423 * sysdeps/generic/inttypes.h: Likewise.
36424 * sysdeps/generic/net/if.h: Likewise.
36425 * sysdeps/generic/sys/swap.h: Likewise.
36426 * sysdeps/gnu/net/if.h: Likewise.
36427 * sysdeps/gnu/utmpx.h: Likewise.
36428 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36429 * sysdeps/i386/i486/bits/string.h: Likewise.
36430 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36431 * sysdeps/s390/bits/string.h: Likewise.
36432 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36433 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36434 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36435 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36436 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36437 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36438 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36439 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36440 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36441 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36442 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36443 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36444 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36445 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36446 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36447 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36448 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36451 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36454 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36455 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36456 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36457 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36458 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36460 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36462 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36463 * sysvipc/sys/ipc.h: Likewise.
36464 * sysvipc/sys/msg.h: Likewise.
36465 * sysvipc/sys/sem.h: Likewise.
36466 * sysvipc/sys/shm.h: Likewise.
36467 * termios/termios.h: Likewise.
36468 * time/sys/time.h: Likewise.
36469 * time/time.h: Likewise.
36470 * wcsmbs/bits/wchar2.h: Likewise.
36471 * wcsmbs/uchar.h: Likewise.
36472 * wcsmbs/wchar.h: Likewise.
36473 * wctype/wctype.h: Likewise.
36476 * Makeconfig: Remove all but ELF support including AIX support.
36477 * Makerules: Likewise.
36478 * config.h.in: Likewise.
36479 * config.make.in: Likewise.
36480 * configure: Likewise.
36481 * configure.in: Likewise.
36482 * csu/Makefile: Likewise.
36483 * csu/version.c: Likewise.
36484 * debug/Makefile: Likewise.
36485 * dlfcn/Makefile: Likewise.
36486 * elf/Makefile: Likewise.
36487 * extra-lib.mk: Likewise.
36488 * iconv/Makefile: Likewise.
36489 * include/libc-symbols.h: Likewise.
36490 * include/shlib-compat.h: Likewise.
36491 * resolv/Makefile: Likewise.
36492 * resolv/res_libc.c: Likewise.
36493 * rt/Makefile: Likewise.
36494 * sysdeps/i386/asm-syntax.h: Likewise.
36495 * sysdeps/i386/sysdep.h: Likewise.
36496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36497 * sysdeps/mach/sysdep.h: Likewise.
36498 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36499 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36500 * sysdeps/s390/asm-syntax.h: Likewise.
36501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36503 * sysdeps/sh/sysdep.h: Likewise.
36504 * sysdeps/unix/sparc/sysdep.h: Likewise.
36505 * sysdeps/wordsize-32/divdi3.c: Likewise.
36506 * sysdeps/x86_64/sysdep.h: Likewise.
36508 * argp/Versions: Remove _argp_unlock_xxx.
36511 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36512 * abilist/libBrokenLocale.abilist: Likewise.
36513 * abilist/libanl.abilist: Likewise.
36514 * abilist/libc.abilist: Likewise.
36515 * abilist/libcrypt.abilist: Likewise.
36516 * abilist/libdl.abilist: Likewise.
36517 * abilist/libm.abilist: Likewise.
36518 * abilist/libnsl.abilist: Likewise.
36519 * abilist/libpthread.abilist: Likewise.
36520 * abilist/libresolv.abilist: Likewise.
36521 * abilist/librt.abilist: Likewise.
36522 * abilist/libthread_db.abilist: Likewise.
36523 * abilist/libutil.abilist: Likewise.
36524 * abilist/libnss_db.abilist: New file.
36526 * scripts/abilist.awk: Add support for indirect functions.
36528 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36530 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36532 * shlib-versions: Remove entries for ports architectures.
36534 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36536 * elf/stackguard-macros.h: Remove support for IA-64.
36537 * elf/tst-auditmod1.c: Likewise.
36538 * sysdeps/generic/ldsodefs.h: Likewise.
36540 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36541 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36545 * configure.in: Remove --enable-omitfp support.
36547 * config.make.in: Likewise.
36548 * Makeconfig: Likewise.
36549 * manual/install.texi: Likewise.
36551 In case anyone cares, the IA-64 architecture could move to ports.
36552 * sysdeps/ia64/*: Removed.
36553 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36554 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36557 * configure.in: Remove entries for unsupported architectures.
36560 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36561 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36563 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36564 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36565 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36566 fall back to using wcrtomb.
36567 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36568 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36570 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36571 * wcsmbs/tst-c16c32-1.c: New file.
36573 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36576 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36578 * elf/tst-unique3.cc: Add explicit declaration of gets.
36579 * elf/tst-unique3lib.cc: Likewise.
36580 * elf/tst-unique3lib2.cc: Likewise.
36581 * elf/tst-unique4.cc: Likewise.
36583 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36585 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36588 * assert/assert.h (static_assert): Don't define for C++.
36589 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36590 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36592 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36594 * iconv/loop.c (single loop): Fix assertion in storing of
36597 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36599 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36601 * posix/getconf.c: Update copyright year.
36602 * nss/getent.c: Likewise.
36603 * nss/makedb.c: Likewise.
36604 * iconv/iconvconfig.c: Likewise.
36605 * iconv/iconv_prog.c: Likewise.
36606 * elf/ldconfig.c: Likewise.
36607 * elf/pldd.c: Likewise.
36608 * elf/sotruss.ksh: Likewise.
36609 * catgets/gencat.c: Likewise.
36610 * csu/version.c: Likewise.
36611 * elf/ldd.bash.in: Likewise.
36612 * elf/sprof.c (print_version): Likewise.
36613 * locale/programs/locale.c: Likewise.
36614 * locale/programs/localedef.c: Likewise.
36615 * login/programs/pt_chown.c: Likewise.
36616 * nscd/nscd.c (print_version): Likewise.
36617 * debug/xtrace.sh: Likewise.
36618 * malloc/memusage.sh: Likewise.
36619 * malloc/mtrace.pl: Likewise.
36620 * debug/catchsegv.sh: Likewise.
36622 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36624 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36627 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36630 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36631 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36633 * iconv/gconv_int.h: Likewise.
36634 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36635 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36636 from libc for GLIBC_2.16.
36637 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36638 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36639 * wcsmbs/uchar.h: Really define mbstate_t.
36640 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36641 * wcsmbs/c16rtomb.c: New file.
36642 * wcsmbs/mbrtoc16.c: New file.
36643 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36644 for C/POSIX locale.
36645 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36646 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36648 * wcsmbs/wchar.h: Add missing __restrict.
36650 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36653 * time/Makefile (routines): Add timespec_get.
36654 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36655 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36656 timespec for ISO C11.
36657 * time/timespec_get.c: New file.
36658 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36659 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36662 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36663 * stdlib/stdlib.h: Declare aligned_alloc.
36664 * Versions.def: Add GLIBC_2.16 for libc.
36665 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36668 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36671 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36675 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36678 * assert/assert.h (static_assert): Define.
36680 * version.h: Update for 2.16 development version.
36683 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36686 * version.h (RELEASE): Bump for 2.15 release.
36687 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36689 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36690 Patch by Marek Polacek <mpolacek@redhat.com>.
36692 * bits/byteswap.h: Protect long long constants with __extension__.
36693 * sysdeps/i386/bits/byteswap.h: Likewise.
36694 * sysdeps/ia64/bits/byteswap.h: Likewise.
36695 * sysdeps/s390/bits/byteswap.h: Likewise.
36696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36698 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36702 destination buffer.
36703 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36705 2011-12-23 Marek Polacek <polacek@redhat.com>
36707 * elf/dl-addr.c (determine_info): Add inline keyword.
36708 * elf/tst-auditmod4b.c (check_avx): Likewise.
36709 * elf/tst-auditmod6b.c (check_avx): Likewise.
36710 * elf/tst-auditmod6c.c (check_avx): Likewise.
36711 * elf/tst-auditmod7b.c (check_avx): Likewise.
36713 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36715 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36718 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36721 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36722 processing for last bytes.
36724 2011-08-06 Bruno Haible <bruno@clisp.org>
36727 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36728 U+0385, not to U+1FEE.
36731 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36732 entry for U+00A5 U+0301.
36734 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36737 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36738 buffer for the output is too small.
36740 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36744 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36745 SSE flags if possible.
36747 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36751 processing for last bytes.
36753 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36756 (syscall-list-default-options, syscall-list-default-condition)
36757 (syscall-list-includes): Define.
36758 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36759 list of ABIs and options and #if conditions for each ABI. Do not
36760 handle common syscalls between ABIs specially.
36761 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36763 (syscall-list-variants, syscall-list-32bit-options)
36764 (syscall-list-32bit-condition, syscall-list-64bit-options)
36765 (syscall-list-64bit-condition): Define.
36766 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36767 (syscall-list-variants, syscall-list-32bit-options)
36768 (syscall-list-32bit-condition, syscall-list-64bit-options)
36769 (syscall-list-64bit-condition): Define.
36770 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36772 (syscall-list-variants, syscall-list-32bit-options)
36773 (syscall-list-32bit-condition, syscall-list-64bit-options)
36774 (syscall-list-64bit-condition): Define.
36775 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36777 (syscall-list-variants, syscall-list-32bit-options)
36778 (syscall-list-32bit-condition, syscall-list-64bit-options)
36779 (syscall-list-64bit-condition): Define.
36781 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36783 * locale/iso-639.def: Add brx entry.
36786 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36787 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36789 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36790 __feraiseexcept_renamed.
36792 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36795 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36796 EPOLLET with unsigned values.
36797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36800 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36801 to large cancellation.
36802 * math/s_cacoshf.c: Likewise.
36803 * math/s_cacoshl.c: Likewise.
36805 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36809 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36810 * math/s_cacoshf.c: Likewise.
36811 * math/s_cacoshl.c: Likewise.
36813 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36816 * iconv/gconv.h: Define __GCONV_SWAP.
36817 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36818 * iconvdata/utf-16.c: Likewise.
36819 * iconvdata/utf-32.c: Likewise.
36821 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36825 numerator after shifting it by one limb.
36827 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36830 under [__USE_EXTERN_INLINES].
36832 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36835 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36837 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36839 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36840 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36842 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36843 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36844 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36845 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36846 for strncasecmp/strncasecmp_l compilation.
36847 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36848 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36850 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36853 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36856 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36859 * time/tzfile.c (__tzfile_read): Check values from file header.
36861 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36863 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36864 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36865 * powerpc/powerpc32/dl-start.S: Likewise.
36866 * powerpc/powerpc32/elf/start.S: Likewise.
36867 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36868 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36869 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36870 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36871 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36872 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36873 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36874 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36875 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36876 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36877 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36878 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36879 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36880 * powerpc/powerpc32/memset.S: Likewise.
36881 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36882 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36883 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36884 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36885 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36886 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36887 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36888 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36889 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36890 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36891 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36892 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36893 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36895 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36897 * math/libm-test.inc: Added more nearbyint tests.
36898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36899 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36901 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36903 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36905 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36908 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36910 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36911 Add wcscpy-ssse3 wcscpy-c.
36912 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36913 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36914 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36915 * sysdeps/x86_64/wcschr.S: New file.
36916 * sysdeps/x86_64/wcsrchr.S: New file.
36917 * string/test-strcmp.c: Remove checking of wcscmp function for
36919 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36920 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36921 wcsrchr-sse2 wcsrchr-c.
36922 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36923 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36924 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36925 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36926 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36927 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36928 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36929 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36930 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36931 * wcsmbc/wcschr.c (WCSCHR): New macro.
36933 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36935 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36936 * wcsmbs/test-wcsrchr.c: New file.
36937 * string/test-strrchr.c: Add wcsrchr support.
36939 * wcsmbs/test-wcscpy.c: New file.
36940 * string/test-strcpy.c: Add wcscpy support.
36943 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36945 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36948 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36951 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36953 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36955 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36956 Minor optimizations.
36958 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36959 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36960 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36962 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36964 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36965 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36966 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36967 for gcc to avoid warnings.
36968 * inet/Makefile (tests): Add tst-checks.
36969 * inet/tst-checks.c: New file.
36971 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36974 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36977 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36978 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36980 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36982 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36984 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36987 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36989 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36991 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36992 conditional on GCC version.
36993 (__arch_compare_and_exchange_val_8_acq)
36994 (__arch_compare_and_exchange_val_16_acq)
36995 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36996 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36997 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36999 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37001 * sysdeps/sh/backtrace.c: New file.
37003 2011-12-02 Andreas Schwab <schwab@redhat.com>
37005 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37008 2011-12-01 Andreas Schwab <schwab@redhat.com>
37010 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37011 falling back to utime.
37013 2011-11-30 Andreas Schwab <schwab@redhat.com>
37015 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37016 expectations for float.
37018 2011-11-29 Andreas Schwab <schwab@redhat.com>
37020 * locale/weight.h (findidx): Add parameter len.
37021 * locale/weightwc.h (findidx): Likewise.
37022 * posix/fnmatch_loop.c (FCT): Adjust caller.
37023 * posix/regcomp.c (build_equiv_class): Likewise.
37024 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37025 * posix/regexec.c (check_node_accept_bytes): Likewise.
37026 * string/strcoll_l.c (STRCOLL): Likewise.
37027 * string/strxfrm_l.c (STRXFRM): Likewise.
37029 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37031 * Makefile.in: Remove CVSOPT handling.
37032 * configure.in: Remove use of AC_REVISION.
37033 * iconvdata/Makefile (distribute): No need to filter out CVS.
37034 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37037 2011-11-16 Andreas Schwab <schwab@redhat.com>
37039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37040 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37041 [USE_AS_STRNCASECMP_L]: Likewise.
37042 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37043 NO_TLS_DIRECT_SEG_REFS.
37044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37045 Fix argument offsets for non-PIC.
37046 [USE_AS_STRNCASECMP_L]: Likewise.
37047 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37048 NO_TLS_DIRECT_SEG_REFS.
37050 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37052 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37054 * locale/loadlocale.c (_nl_load_locale): Likewise.
37056 2011-11-15 Andreas Schwab <schwab@redhat.com>
37058 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37059 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37061 (SYSCALL_GETTIME): Set errno on error.
37063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37064 count references to noai6ai_cached.
37066 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37068 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37070 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37071 FD_CLOEXEC for /proc/self/maps.
37073 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37074 FD_CLOEXEC for /proc/meminfo.
37076 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37079 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37080 FD_CLOEXEC for given file.
37082 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37084 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37085 FD_CLOEXEC for /etc/hosts.
37086 (_gethtent): Likewise.
37088 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37090 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37091 cancellation and set FD_CLOEXEC for /etc/netgroup.
37093 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37094 reading /etc/publickey.
37096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37097 allow cancellation when reading /etc/group.
37099 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37101 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37103 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37104 when using data file.
37106 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37108 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37109 (write_nis_obj): Use "c" and "e" in fopen.
37111 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37113 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37115 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37117 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37119 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37122 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37124 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37126 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37128 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37129 file parsing and set FD_CLOEXEC.
37131 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37133 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37135 2011-11-14 Andreas Schwab <schwab@redhat.com>
37137 * malloc/arena.c (arena_get2): Don't call reused_arena when
37138 _int_new_arena failed.
37140 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37142 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37143 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37145 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37148 to compile strcasecmp and strncasecmp.
37149 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37150 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37154 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37156 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37157 locale-defines.sym to gen-as-const-headers.
37158 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37159 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37161 to compile strcasecmp and strncasecmp.
37162 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37163 strcasecmp_l and strncasecmp_l.
37164 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37165 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37166 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37167 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37168 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37169 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37170 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37171 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37172 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37173 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37174 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37176 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37178 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37179 result of SYSDEP_GETTIME_CPU to retval.
37180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37181 parameter list to macro. Remove trailing semicolon. Adjust users.
37183 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37186 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37190 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37191 from unused variable.
37193 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37195 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37198 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37201 * sunrpc/rpc_prot.c (rejected): Fix case value.
37203 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37204 unsigned long long int to avoid warnings in shift.
37206 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37208 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37212 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37213 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37215 * nis/nis_table.c (nis_list): Use variable of correct type for
37216 result of __follow_path call.
37218 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37220 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37221 of math functions ceil, trunc, floor, round, and sqrt, when
37222 avaliable on the platform.
37223 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37225 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37226 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37227 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37229 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37231 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37234 2011-11-11 Roland McGrath <roland@hack.frob.com>
37236 * include/unistd.h: Fix __readlink return type.
37237 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37239 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37241 * stdlib/ucontext.h: Undo last change for makecontext.
37243 2011-11-11 Andreas Schwab <schwab@redhat.com>
37245 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37247 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37248 * setjmp/setjmp.h: Mark functions as non-leaf.
37249 * setjmp/bits/setjmp2.h: Likewise.
37250 * stdlib/ucontext.h: Likewise.
37252 2011-11-10 Andreas Schwab <schwab@redhat.com>
37254 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37255 (reused_arena): Don't check arena limit.
37256 (arena_get2): Atomically check arena limit.
37258 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37260 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37261 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37266 2011-11-07 Andreas Schwab <schwab@redhat.com>
37268 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37269 handler when locking.
37271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37272 Fix size of allocated buffer.
37274 2011-11-04 Andreas Schwab <schwab@redhat.com>
37277 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37278 declarations for long double functions.
37279 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37281 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37283 2011-11-03 Andreas Schwab <schwab@redhat.com>
37285 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37288 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37291 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37293 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37295 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37297 * include/alloca.h (stackinfo_alloca_round): Define.
37298 (extend_alloca): Use it.
37299 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37300 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37303 * scripts/check-local-headers.sh: Ignore libaudit.h.
37305 * nscd/Makefile (extra-objs): Make recursively expanded.
37307 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37309 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37312 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37313 * posix/tst-rfc3484-2.c: Likewise.
37314 * posix/tst-rfc3484-3.c: Likewise.
37316 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37318 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37320 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37321 process_vm_writev from libc using GLIBC_2.15 version.
37323 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37325 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37327 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37330 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37333 * nss/getent.c (initgroups_keys): Show error message in case no group
37336 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37337 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37338 __bump_nl_timestamp.
37339 * nscd/connections (nscd_init): When host database is served open
37340 netlink socket and request notification about configuration changes.
37341 (main_loop_poll): Track netlink file descriptor and bump timestamp
37342 in case data becomes available.
37343 (main_loop_epoll): Likewise.
37344 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37345 (database_pers_head): Add extra_data fileds.
37346 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37348 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37351 in6ai data, call __free_in6ai.
37352 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37353 Add -DHAVE_NETLINK.
37354 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37355 interface information. Reuse previous data if netlink timestamp
37357 (__bump_nl_timestamp): New function.
37358 (__free_in6ai): New function.
37360 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37363 close_not_cancel_no_status here.
37364 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37366 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37369 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37372 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37373 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37374 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37376 2011-07-03 Andreas Jaeger <aj@suse.de>
37379 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37380 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37381 * math/libm-test.inc (sin_test): Add test case.
37383 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37386 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37387 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37389 * elf/chroot_canon.c (chroot_canon): Cleanups.
37391 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37394 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37395 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37397 * string/test-strchr.c: Make usable for strchrnul testing.
37398 * string/test-strchrnul.c: New file.
37399 * string/Makefile (strop-tests): Add strchrnul.
37401 * po/it.po: Update from translation team.
37402 * po/es.po: Likewise.
37404 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37407 the three constants needed as parameters. Drop the others.
37408 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37409 __m128i_strloadu_tolower.
37410 Create and initialize variable zero and use it in all the places
37411 where _mm_setzero_si128 was used.
37413 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37414 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37415 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37418 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37419 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37420 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37421 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37422 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37423 __mpranred, __mptan.
37424 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37425 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37426 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37427 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37428 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37429 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37431 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37432 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37434 2011-10-28 Andreas Schwab <schwab@redhat.com>
37436 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37437 redefine if SHARED.
37438 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37441 wide char related routines to wcsmbs subdir.
37443 2011-10-27 Andreas Schwab <schwab@redhat.com>
37446 * misc/sys/cdefs.h (__THROWNL): Define.
37447 * posix/unistd.h: Use __THREADNL instead of __THREAD
37448 for memory synchronization functions.
37450 2011-10-26 Roland McGrath <roland@hack.frob.com>
37453 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37455 * manual/stdio.texi (Obstack Streams): Node removed.
37457 2011-10-26 Andreas Schwab <schwab@redhat.com>
37459 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37460 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37463 * math/math_private.h (math_force_eval): Allow non-addressable
37465 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37467 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37469 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37470 file is not needed.
37472 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37475 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37481 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37482 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37483 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37484 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37485 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37486 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37487 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37488 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37489 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37490 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37491 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37492 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37494 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37495 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37496 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37497 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37498 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37499 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37501 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37502 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37505 place. Use VEX encoding when compiling for AVX.
37507 2011-10-25 Andreas Schwab <schwab@redhat.com>
37509 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37510 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37512 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37516 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37517 useless if() expression.
37518 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37528 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37529 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37530 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37531 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37532 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37534 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37536 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37538 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37540 2011-10-25 Andreas Schwab <schwab@redhat.com>
37542 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37544 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37546 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37548 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37549 .text section. Avoid duplicate constants.
37550 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37560 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37562 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37565 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37567 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37573 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37574 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37575 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37576 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37577 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37578 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37579 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37580 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37582 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37583 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37584 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37589 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37590 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37591 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37592 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37593 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37594 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37596 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37598 * sysdeps/x86_64/dla.h: Move to ...
37599 * sysdeps/x86_64/fpu/dla.h: ...here.
37600 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37601 situations. Use __builtin_fma only for gcc 4.6 and up.
37603 * config.make.in: Add have-mfma4 entry.
37604 * configure.in: Substitute libc_cv_cc_fma4.
37605 * math/Makefile (dbl-only-routines): Add sincostab.
37606 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37607 Use __sincostab not sincos.
37608 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37615 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37616 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37617 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37618 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37620 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37621 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37623 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37624 define aliases when function name is a macro.
37625 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37626 sysdeps/ieee754/dbl-64/sincos.tbl.
37627 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37628 fma4-enabled routines.
37629 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37636 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37638 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37639 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37640 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37641 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37642 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37643 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37644 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37645 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37646 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37647 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37649 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37650 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37652 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37654 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37655 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37656 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37657 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37658 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37660 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37671 2011-10-24 Andreas Schwab <schwab@redhat.com>
37673 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37675 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37679 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37681 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37683 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37684 Remove unused variable magic_bits.
37685 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37687 * string/strnlen.c: Define and use STRNLEN macro.
37688 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37689 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37691 * wcsmbs/wcslen.c: Define and use WCSLEN.
37692 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37693 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37694 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37695 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37696 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37697 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37698 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37700 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37703 strnlen-sse2-no-bsf.
37704 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37706 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37707 Add strnlen support.
37708 (USE_AS_STRNLEN): New macro.
37709 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37711 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37712 * sysdeps/x86_64/wcslen.S: New file.
37714 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37717 XMM-moves are used for copying on small sizes.
37719 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37721 * wcsmbs/Makefile (strop-tests): Add wcschr.
37722 * wcsmbs/test-wcschr.c: New file.
37723 * string/test-strchr.c: Update.
37724 Add wcschr support.
37727 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37729 * wcsmbs/Makefile (strop-tests): Add wcslen.
37730 * wcsmbs/test-wcslen.c: New file.
37731 * string/test-strlen.c: Update.
37732 Add wcslen support.
37735 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37737 * po/it.po: Update from translation team.
37739 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37741 * sysdeps/x86_64/wcscmp.S: Update.
37742 Fix wrong comparison semantics.
37743 wcscmp shall use signed comparison not unsigned.
37744 Don't use substraction to avoid overflow bug.
37745 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37746 * wcsmbc/wcscmp.c: Likewise.
37747 * string/test-strcmp.c: Likewise.
37748 Add new tests to check cases with negative values.
37750 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37752 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37753 * sysdeps/x86_64/dla.h: ...here. New file.
37754 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37764 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37767 __ynl_finite aliases.
37769 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37773 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37775 [DLA_FMA] (EMULV): Use DLA_FMA.
37776 [DLA_FMA] (MUL12): Use EMULV.
37777 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37778 that are not needed.
37779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37787 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37789 * math/s_nan.c: Undef __nan.
37790 * math/s_nanf.c: Undef __nanf.
37791 * math/s_nanl.c: Undef __nanl.
37792 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37795 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37797 * math/s_catan.c: Add branch predictions.
37798 * math/s_catanf.c: Likewise.
37799 * math/s_catanh.c: Likewise.
37800 * math/s_catanhf.c: Likewise.
37801 * math/s_catanhl.c: Likewise.
37802 * math/s_catanl.c: Likewise.
37803 * math/s_cexp.c: Likewise.
37804 * math/s_cexpf.c: Likewise.
37805 * math/s_cexpl.c: Likewise.
37806 * math/s_clog.c: Likewise.
37807 * math/s_clog10.c: Likewise.
37808 * math/s_clog10f.c: Likewise.
37809 * math/s_clog10l.c: Likewise.
37810 * math/s_clogf.c: Likewise.
37811 * math/s_clogl.c: Likewise.
37812 * math/s_csqrt.c: Likewise.
37813 * math/s_csqrtf.c: Likewise.
37814 * math/s_csqrtl.c: Likewise.
37815 * math/s_ctanf.c: Likewise.
37816 * math/s_ctanh.c: Likewise.
37817 * math/s_ctanhf.c: Likewise.
37818 * math/s_ctanhl.c: Likewise.
37819 * math/s_ctanl.c: Likewise.
37821 * math/math_private.h: Define __nan, __nanf, __nanl.
37822 * math/s_cacosh.c: Include <math_private.h>.
37823 * math/s_cacoshl.c: Likewise.
37824 * math/s_casinh.c: Likewise.
37825 * math/s_casinhf.c: Likewise.
37826 * math/s_casinhl.c: Likewise.
37827 * math/s_ccos.c: Rely entire on ccosh.
37828 * math/s_ccosf.c: Rely entire on ccoshf.
37829 * math/s_ccosl.c: Rely entirely on ccoshl.
37830 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37831 Remove tests for FE_INVALID.
37832 * math/s_ccoshf.c: Likewise.
37833 * math/s_ccoshl.c: Likewise.
37834 * math/s_csin.c: Likewise.
37835 * math/s_csinf.c: Likewise.
37836 * math/s_csinh.c Likewise.
37837 * math/s_csinhf.c: Likewise.
37838 * math/s_csinhl.c: Likewise.
37839 * math/s_csinl.c: Likewise.
37840 * math/s_ctan.c: Likewise.
37841 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37842 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37845 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37848 compilation problems.
37850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37853 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37855 * sysdeps/i386/configure.in: Test for -mfma4 option.
37856 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37857 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37858 COMMON_CPUID_INDEX_80000001.
37859 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37860 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37861 use it if FMA3 is not supported.
37862 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37864 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37865 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37867 2011-10-20 Andreas Schwab <schwab@redhat.com>
37870 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37871 it would create a cycle with a link time dependency.
37873 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37875 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37877 * string/Makefile (strop-tests): Add rawmemchr.
37878 * string/test-rawmemchr.c: New file.
37880 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37882 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37883 when compiling str{,n}casecmp and when AVX is available. Hook up
37884 new optimized code in initializers.
37886 2011-10-19 Andreas Schwab <schwab@redhat.com>
37888 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37889 __feraiseexcept instead of feraiseexcept.
37891 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37893 * math/math_private.h: Define defaults for libc_fetestexcept and
37895 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37896 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37897 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37899 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37900 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37901 libc_fetestexcept and libc_feupdateenv.
37903 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37904 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37905 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37906 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37907 libc_feholdexcept_setround.
37909 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37910 Add s_nearbyint-c and s_nearbyintf-c.
37911 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37912 nearbyintf inlines.
37913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37914 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37915 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37916 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37918 * math/math_private.h: Define defaults for libc_fegetround,
37919 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37920 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37921 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37923 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37924 standard functions.
37925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37926 Remove comments and hacks for old compiler versions.
37927 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37928 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37929 libc_feholdexceptl.
37931 2011-10-18 Andreas Schwab <schwab@redhat.com>
37933 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37934 (__feraiseexcept_renamed): Add __NTH.
37935 (feraiseexcept): Add __NTH. Rename local variables to fix
37936 namespace violations.
37938 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37942 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37944 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37945 recently added interfaces.
37946 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37948 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37949 about macro parameter expansion.
37951 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37952 __NO_MATH_INLINES is defined. Cleanups.
37954 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37955 and __floorf is target has SSE4.1.
37956 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37957 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37958 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37959 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37961 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37963 (floorf): Likewise.
37965 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37967 2011-10-17 Andreas Schwab <schwab@redhat.com>
37969 * misc/sys/cdefs.h: Fix last change.
37971 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37974 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37976 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37978 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37980 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37984 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37985 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37986 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37987 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37988 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37990 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37992 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37993 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37994 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37995 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37996 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37997 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37999 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38001 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38002 ceil, ceilf, floor, floorf.
38004 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38005 Perform IRELATIVE relocations last.
38007 * elf/do-rel.h: Add another parameter nrelative, replacing the
38008 local variable with the same name. Change name of the function
38009 to end in Rel or Rela (uppercase).
38010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38011 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38012 elf_dynamic_do_##reloc function.
38014 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38016 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38017 is sufficient, at least on modern CPUs.
38019 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38021 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38022 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38024 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38026 * math/bits/math-finite.h: Add entries for exp.
38027 * math/e_expl.c: Add __*_finite alias.
38028 * sysdeps/i386/fpu/e_exp.S: Likewise.
38029 * sysdeps/i386/fpu/e_expf.S: Likewise.
38030 * sysdeps/i386/fpu/e_expl.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38032 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38036 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38037 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38039 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38040 is sufficient, at least on modern CPUs.
38042 * ctype/ctype-info.c (__ctype_init): Define.
38043 * include/ctype.h (__ctype_init): Declare.
38044 (__ctype_b_loc): The variable is always initialized.
38045 (__ctype_toupper_loc): Likewise.
38046 (__ctype_tolower_loc): Likewise.
38047 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38048 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38050 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38052 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38054 * configure.in: Also look in $cxxmachine/include for C++ system
38057 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38059 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38060 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38061 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38062 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38063 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38064 (USE_AS_WMEMCMP): New macro.
38066 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38067 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38068 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38069 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38071 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38072 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38073 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38074 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38075 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38076 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38077 (USE_AS_WMEMCMP): New macro.
38078 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38079 * sysdeps/string/test-memcmp.c: Update.
38080 Fix simple_wmemcmp.
38082 * wcsmbs/wmemcmp.c: Update.
38083 (WMEMCMP): New macro.
38086 2011-10-12 Andreas Jaeger <aj@suse.de>
38089 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38091 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38093 * libio/iofwide.c (do_length): Avoid warning.
38095 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38097 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38099 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38101 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38102 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38103 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38104 * sysdeps/i386/i686/fpu/e_log.S: New file.
38105 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38106 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38108 * ctype/ctype.h: Add support for inlined isXXX functions when
38109 compiling C++ code.
38111 2011-10-14 Andreas Schwab <schwab@redhat.com>
38113 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38115 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38117 2011-10-13 Roland McGrath <roland@hack.frob.com>
38120 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38122 2011-10-13 Andreas Schwab <schwab@redhat.com>
38124 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38125 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38128 * sysdeps/x86_64/memrchr.S: Check for zero size.
38130 * string/stratcliff.c: Add memrchr tests.
38132 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38135 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38136 rawmemchr-sse2 rawmemchr-sse2-bsf.
38137 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38138 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38139 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38140 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38141 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38142 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38143 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38144 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38145 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38146 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38147 * string/memrchr.c (MEMRCHR): New macro.
38149 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38151 Add integration with gcc's -ffinite-math-only and optimize wrapper
38153 * Versions.def: Define GLIBC_2.15 version for libm.
38154 * math/Makefile (headers): Add bits/math-finite.h.
38155 * math/bits/math-finite.h: New file.
38156 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38157 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38158 * math/e_acoshl.c: Add __*_finite alias.
38159 * math/e_acosl.c: Likewise.
38160 * math/e_asinl.c: Likewise.
38161 * math/e_atan2l.c: Likewise.
38162 * math/e_atanhl.c: Likewise.
38163 * math/e_coshl.c: Likewise.
38164 * math/e_exp10.c: Likewise.
38165 * math/e_exp10f.c: Likewise.
38166 * math/e_exp10l.c: Likewise.
38167 * math/e_exp2l.c: Likewise.
38168 * math/e_fmodl.c: Likewise.
38169 * math/e_gammal_r.c: Likewise.
38170 * math/e_hypotl.c: Likewise.
38171 * math/e_j0l.c: Likewise.
38172 * math/e_j1l.c: Likewise.
38173 * math/e_jnl.c: Likewise.
38174 * math/e_lgammal_r.c: Likewise.
38175 * math/e_log10l.c: Likewise.
38176 * math/e_log2l.c: Likewise.
38177 * math/e_logl.c: Likewise.
38178 * math/e_powl.c: Likewise.
38179 * math/e_sinhl.c: Likewise.
38180 * math/e_sqrtl.c: Likewise.
38181 * math/e_scalb.c: Completely rewritten and optimized.
38182 * math/e_scalbf.c: Likewise.
38183 * math/e_scalbl.c: Likewise.
38184 * math/w_acos.c: Likewise.
38185 * math/w_acosf.c: Likewise.
38186 * math/w_acosl.c: Likewise.
38187 * math/w_acosh.c: Likewise.
38188 * math/w_acoshf.c: Likewise.
38189 * math/w_acoshl.c: Likewise.
38190 * math/w_asin.c: Likewise.
38191 * math/w_asinf.c: Likewise.
38192 * math/w_asinl.c: Likewise.
38193 * math/w_atan2.c: Likewise.
38194 * math/w_atan2f.c: Likewise.
38195 * math/w_atan2l.c: Likewise.
38196 * math/w_atanh.c: Likewise.
38197 * math/w_atanhf.c: Likewise.
38198 * math/w_atanhl.c: Likewise.
38199 * math/w_exp10.c: Likewise.
38200 * math/w_exp10f.c: Likewise.
38201 * math/w_exp10l.c: Likewise.
38202 * math/w_fmod.c: Likewise.
38203 * math/w_fmodf.c: Likewise.
38204 * math/w_fmodl.c: Likewise.
38205 * math/w_j0.c: Likewise.
38206 * math/w_j0f.c: Likewise.
38207 * math/w_j0l.c: Likewise.
38208 * math/w_j1.c: Likewise.
38209 * math/w_j1f.c: Likewise.
38210 * math/w_j1l.c: Likewise.
38211 * math/w_jn.c: Likewise.
38212 * math/w_jnf.c: Likewise.
38213 * math/w_log.c: Likewise.
38214 * math/w_logf.c: Likewise.
38215 * math/w_logl.c: Likewise.
38216 * math/w_log10.c: Likewise.
38217 * math/w_log10f.c: Likewise.
38218 * math/w_log10l.c: Likewise.
38219 * math/w_log2.c: Likewise.
38220 * math/w_log2f.c: Likewise.
38221 * math/w_log2l.c: Likewise.
38222 * math/w_pow.c: Likewise.
38223 * math/w_powf.c: Likewise.
38224 * math/w_powl.c: Likewise.
38225 * math/w_remainder.c: Likewise.
38226 * math/w_remainderf.c: Likewise.
38227 * math/w_remainderl.c: Likewise.
38228 * math/w_scalb.c: Likewise.
38229 * math/w_scalbf.c: Likewise.
38230 * math/w_scalbl.c: Likewise.
38231 * math/w_sqrt.c: Likewise.
38232 * math/w_sqrtf.c: Likewise.
38233 * math/w_sqrtl.c: Likewise.
38234 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38235 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38237 * math/math_private.h: Declare __kernel_standard_f.
38238 * math/w_cosh.c: Remove cruft and optimize a bit.
38239 * math/w_coshf.c: Likewise.
38240 * math/w_coshl.c: Likewise.
38241 * math/w_exp2.c: Likewise.
38242 * math/w_exp2f.c: Likewise.
38243 * math/w_exp2l.c: Likewise.
38244 * math/w_hypot.c: Likewise.
38245 * math/w_hypotf.c: Likewise.
38246 * math/w_hypotl.c: Likewise.
38247 * math/w_lgamma.c: Likewise.
38248 * math/w_lgamma_r.c: Likewise.
38249 * math/w_lgammaf.c: Likewise.
38250 * math/w_lgammaf_r.c: Likewise.
38251 * math/w_lgammal.c: Likewise.
38252 * math/w_lgammal_r.c: Likewise.
38253 * math/w_sinh.c: Likewise.
38254 * math/w_sinhf.c: Likewise.
38255 * math/w_sinhl.c: Likewise.
38256 * math/w_tgamma.c: Likewise.
38257 * math/w_tgammaf.c: Likewise.
38258 * math/w_tgammal.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38261 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38262 Minor optimizations. Pretty printing. Remove cruft.
38263 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38264 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38265 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38267 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38268 * sysdeps/i386/fpu/e_asin.S: Likewise.
38269 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38270 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38271 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38272 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38273 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38274 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38275 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38276 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38277 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38278 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38279 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38280 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38281 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38282 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38283 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38284 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38285 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38286 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38287 * sysdeps/i386/fpu/e_log.S: Likewise.
38288 * sysdeps/i386/fpu/e_log10.S: Likewise.
38289 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38290 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38291 * sysdeps/i386/fpu/e_log2.S: Likewise.
38292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38293 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38294 * sysdeps/i386/fpu/e_logf.S: Likewise.
38295 * sysdeps/i386/fpu/e_logl.S: Likewise.
38296 * sysdeps/i386/fpu/e_pow.S: Likewise.
38297 * sysdeps/i386/fpu/e_powf.S: Likewise.
38298 * sysdeps/i386/fpu/e_powl.S: Likewise.
38299 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38300 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38301 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38302 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38303 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38305 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38306 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38307 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38329 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38330 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38331 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38332 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38333 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38334 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38335 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38336 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38346 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38347 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38348 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38349 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38361 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38363 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38364 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38365 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38366 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38383 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38396 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38399 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38401 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38402 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38403 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38404 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38405 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38406 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38407 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38408 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38409 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38410 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38411 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38412 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38413 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38416 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38417 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38418 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38419 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38420 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38421 (__isnanf): Likewise.
38422 (__isinf_ns): Likewise.
38423 (__isinf_nsf): Likewise.
38424 (__finite): Likewise.
38425 (__finitef): Likewise.
38426 (__ieee754_sqrt): Define as macro.
38427 (__ieee754_sqrtf): Define as macro.
38428 (__ieee754_sqrtl): Define as macro.
38429 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38431 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38432 __FINITE_MATH_ONLY__ consistent.
38433 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38435 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38437 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38440 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38442 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38444 * po/ja.po: Update from translation team.
38446 2011-10-08 Roland McGrath <roland@hack.frob.com>
38448 * locale/programs/locarchive.c (prepare_address_space): New function.
38449 (create_archive, enlarge_archive, open_archive): Use it.
38451 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38452 inside [SHARED], where it is used.
38454 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38456 * nss/getent.c (netgroup_keys): Remove unused variable.
38457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38459 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38461 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38464 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38466 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38467 * math/Makefile (libm-calls): Add s_isinf_ns.
38468 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38469 * math/multc3.c: Likewise.
38470 * math/s_casin.c: Likewise.
38471 * math/s_casinf.c: Likewise.
38472 * math/s_casinl.c: Likewise.
38473 * math/s_ccos.c: Likewise.
38474 * math/s_ccosf.c: Likewise.
38475 * math/s_ccosl.c: Likewise.
38476 * math/s_ctan.c: Likewise.
38477 * math/s_ctanf.c: Likewise.
38478 * math/s_ctanh.c: Likewise.
38479 * math/s_ctanhf.c: Likewise.
38480 * math/s_ctanhl.c: Likewise.
38481 * math/s_ctanl.c: Likewise.
38482 * math/w_fmod.c: Likewise.
38483 * math/w_fmodf.c: Likewise.
38484 * math/w_fmodl.c: Likewise.
38485 * math/w_remainder.c: Likewise.
38486 * math/w_remainderf.c: Likewise.
38487 * math/w_remainderl.c: Likewise.
38488 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38489 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38492 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38493 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38494 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38495 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38497 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38499 * stdio-common/printf_fphex.c: Likewise.
38500 * stdio-common/printf_size.c: Likewise.
38502 * math/e_exp10.c: Include math_private.h using <...> not "...".
38503 * math/e_exp10f.c: Likewise.
38504 * math/e_exp10l.c: Likewise.
38505 * math/e_exp2l.c: Likewise.
38506 * math/e_j0l.c: Likewise.
38507 * math/e_j1l.c: Likewise.
38508 * math/e_jnl.c: Likewise.
38509 * math/e_lgammal_r.c: Likewise.
38510 * math/e_rem_pio2l.c: Likewise.
38511 * math/e_scalb.c: Likewise.
38512 * math/e_scalbf.c: Likewise.
38513 * math/e_scalbl.c: Likewise.
38514 * math/k_cosl.c: Likewise.
38515 * math/k_sinl.c: Likewise.
38516 * math/k_tanl.c: Likewise.
38517 * math/s_cacoshf.c: Likewise.
38518 * math/s_catan.c: Likewise.
38519 * math/s_catanf.c: Likewise.
38520 * math/s_catanh.c: Likewise.
38521 * math/s_catanhf.c: Likewise.
38522 * math/s_catanhl.c: Likewise.
38523 * math/s_catanl.c: Likewise.
38524 * math/s_ccosh.c: Likewise.
38525 * math/s_ccoshf.c: Likewise.
38526 * math/s_ccoshl.c: Likewise.
38527 * math/s_cexp.c: Likewise.
38528 * math/s_cexpf.c: Likewise.
38529 * math/s_cexpl.c: Likewise.
38530 * math/s_clog.c: Likewise.
38531 * math/s_clog10.c: Likewise.
38532 * math/s_clog10f.c: Likewise.
38533 * math/s_clog10l.c: Likewise.
38534 * math/s_clogf.c: Likewise.
38535 * math/s_clogl.c: Likewise.
38536 * math/s_csin.c: Likewise.
38537 * math/s_csinf.c: Likewise.
38538 * math/s_csinh.c: Likewise.
38539 * math/s_csinhf.c: Likewise.
38540 * math/s_csinhl.c: Likewise.
38541 * math/s_csinl.c: Likewise.
38542 * math/s_csqrt.c: Likewise.
38543 * math/s_csqrtf.c: Likewise.
38544 * math/s_csqrtl.c: Likewise.
38545 * math/s_ctan.c: Likewise.
38546 * math/s_ctanf.c: Likewise.
38547 * math/s_ctanh.c: Likewise.
38548 * math/s_ctanhf.c: Likewise.
38549 * math/s_ctanhl.c: Likewise.
38550 * math/s_ctanl.c: Likewise.
38551 * math/s_ldexp.c: Likewise.
38552 * math/s_ldexpf.c: Likewise.
38553 * math/s_ldexpl.c: Likewise.
38554 * math/s_significand.c: Likewise.
38555 * math/s_significandf.c: Likewise.
38556 * math/s_significandl.c: Likewise.
38557 * math/w_acos.c: Likewise.
38558 * math/w_acosf.c: Likewise.
38559 * math/w_acosh.c: Likewise.
38560 * math/w_acoshf.c: Likewise.
38561 * math/w_acoshl.c: Likewise.
38562 * math/w_acosl.c: Likewise.
38563 * math/w_asin.c: Likewise.
38564 * math/w_asinf.c: Likewise.
38565 * math/w_asinl.c: Likewise.
38566 * math/w_atan2.c: Likewise.
38567 * math/w_atan2f.c: Likewise.
38568 * math/w_atan2l.c: Likewise.
38569 * math/w_atanh.c: Likewise.
38570 * math/w_atanhf.c: Likewise.
38571 * math/w_atanhl.c: Likewise.
38572 * math/w_cosh.c: Likewise.
38573 * math/w_coshf.c: Likewise.
38574 * math/w_coshl.c: Likewise.
38575 * math/w_dremf.c: Likewise.
38576 * math/w_exp10.c: Likewise.
38577 * math/w_exp10f.c: Likewise.
38578 * math/w_exp10l.c: Likewise.
38579 * math/w_exp2.c: Likewise.
38580 * math/w_exp2f.c: Likewise.
38581 * math/w_fmod.c: Likewise.
38582 * math/w_fmodf.c: Likewise.
38583 * math/w_fmodl.c: Likewise.
38584 * math/w_hypot.c: Likewise.
38585 * math/w_hypotf.c: Likewise.
38586 * math/w_hypotl.c: Likewise.
38587 * math/w_j0.c: Likewise.
38588 * math/w_j0f.c: Likewise.
38589 * math/w_j0l.c: Likewise.
38590 * math/w_j1.c: Likewise.
38591 * math/w_j1f.c: Likewise.
38592 * math/w_j1l.c: Likewise.
38593 * math/w_jn.c: Likewise.
38594 * math/w_jnf.c: Likewise.
38595 * math/w_jnl.c: Likewise.
38596 * math/w_lgamma.c: Likewise.
38597 * math/w_lgamma_r.c: Likewise.
38598 * math/w_lgammaf.c: Likewise.
38599 * math/w_lgammaf_r.c: Likewise.
38600 * math/w_lgammal.c: Likewise.
38601 * math/w_lgammal_r.c: Likewise.
38602 * math/w_log.c: Likewise.
38603 * math/w_log10.c: Likewise.
38604 * math/w_log10f.c: Likewise.
38605 * math/w_log10l.c: Likewise.
38606 * math/w_log2.c: Likewise.
38607 * math/w_log2f.c: Likewise.
38608 * math/w_log2l.c: Likewise.
38609 * math/w_logf.c: Likewise.
38610 * math/w_logl.c: Likewise.
38611 * math/w_pow.c: Likewise.
38612 * math/w_powf.c: Likewise.
38613 * math/w_powl.c: Likewise.
38614 * math/w_remainder.c: Likewise.
38615 * math/w_remainderf.c: Likewise.
38616 * math/w_remainderl.c: Likewise.
38617 * math/w_scalb.c: Likewise.
38618 * math/w_scalbf.c: Likewise.
38619 * math/w_scalbl.c: Likewise.
38620 * math/w_sinh.c: Likewise.
38621 * math/w_sinhf.c: Likewise.
38622 * math/w_sinhl.c: Likewise.
38623 * math/w_sqrt.c: Likewise.
38624 * math/w_sqrtf.c: Likewise.
38625 * math/w_sqrtl.c: Likewise.
38626 * math/w_tgamma.c: Likewise.
38627 * math/w_tgammaf.c: Likewise.
38628 * math/w_tgammal.c: Likewise.
38630 * po/ja.po: Update from translation team.
38632 2011-09-29 Andreas Jaeger <aj@suse.de>
38635 * sunrpc/netname.c (netname2host): Fix logic.
38639 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38641 * math/w_remainder.c (__remainder): Likewise.
38642 * math/w_remainderf.c (__remainderf): Likewise.
38643 * math/libm-test.inc (remainder_test): Add test cases.
38645 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38647 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38650 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38652 * string/test-memcmp.c: Avoid unncessary #defines.
38653 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38655 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38657 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38658 Use new sse2 version for core i3 - i7 as it's faster
38659 than sse42 version.
38660 (bit_Prefer_PMINUB_for_stringop): New.
38661 * sysdeps/x86_64/rawmemchr.S: Update.
38662 Replace with faster SSE2 version.
38663 * sysdeps/x86_64/memrchr.S: New file.
38664 * sysdeps/x86_64/memchr.S: Update.
38665 Replace with faster SSE2 version.
38667 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38669 * elf/dl-load.c (lose): Add cast to avoid warning.
38671 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38673 * po/ca.po: Update from translation team.
38675 * inet/getnetgrent_r.c: Hook up nscd.
38676 * nscd/Makefile (routines): Add nscd_netgroup.
38677 (nscd-modules): Add netgroupcache.
38678 (CFLAGS-netgroupcache.c): Define.
38679 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38680 (cache_search): Add const to second parameter.
38681 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38683 (dbs): Add netgrdb entry.
38684 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38685 (verify_persistent_db): Handle netgrdb.
38686 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38687 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38689 (netgroup_response_header): Define.
38690 (innetgroup_response_header): Define.
38691 (datahead): Add netgroup_response_header and innetgroup_response_header
38693 * nscd/nscd.conf: Add entries for netgroup cache.
38694 * nscd/nscd.h (dbtype): Add netgrdb.
38695 (_PATH_NSCD_NETGROUP_DB): Define.
38696 (netgroup_iov_disabled): Declare.
38697 (xmalloc, xcalloc, xrealloc): Move declarations here.
38698 (cache_search): Adjust prototype.
38699 Add netgroup-related prototypes.
38700 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38701 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38702 (__nscd_innetgr): Declare.
38703 * nscd/selinux.c (perms): Use access_vector_t as element type and
38704 add netgroup-related initializers.
38705 * nscd/netgroupcache.c: New file.
38706 * nscd/nscd_netgroup.c: New file.
38707 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38708 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38709 For four parameters use innetgr.
38710 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38711 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38712 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38713 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38715 * nscd/connections.c (register_traced_file): Don't register file
38716 for disabled databases.
38718 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38720 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38722 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38723 from tree and freeing node.
38725 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38727 * nss/nsswitch.c (__nss_database_lookup): Handle
38728 nss_parse_service_list out of memory case.
38730 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38732 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38733 out of memory case.
38735 2011-10-04 Andreas Schwab <schwab@redhat.com>
38737 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38738 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38740 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38741 elf_machine_rela, elf_machine_lazy_rel.
38742 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38743 (ELF_DYNAMIC_DO_REL): Likewise.
38744 (ELF_DYNAMIC_DO_RELA): Likewise.
38745 (ELF_DYNAMIC_RELOCATE): Likewise.
38746 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38747 to ELF_DYNAMIC_DO_REL.
38748 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38749 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38750 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38752 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38753 skip_ifunc, don't call ifunc function if non-zero.
38754 (elf_machine_rela): Likewise.
38755 (elf_machine_lazy_rel): Likewise.
38756 (elf_machine_lazy_rela): Likewise.
38757 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38758 (elf_machine_lazy_rel): Likewise.
38759 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38761 (elf_machine_lazy_rel): Likewise.
38762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38764 (elf_machine_lazy_rel): Likewise.
38765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38766 (elf_machine_lazy_rel): Likewise.
38767 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38768 (elf_machine_lazy_rel): Likewise.
38769 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38770 (elf_machine_lazy_rel): Likewise.
38771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38772 (elf_machine_lazy_rel): Likewise.
38773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38774 (elf_machine_lazy_rel): Likewise.
38775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38776 (elf_machine_lazy_rel): Likewise.
38778 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38780 * nss/nss_files/files-init.c (_nss_files_init): Use static
38781 initialization for all the *_traced_file variables.
38783 2011-09-28 Andreas Schwab <schwab@redhat.com>
38785 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38787 2011-09-27 Roland McGrath <roland@hack.frob.com>
38790 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38792 2011-09-27 Andreas Schwab <schwab@redhat.com>
38794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38795 Reread the line before reparsing it.
38797 2011-09-26 Andreas Schwab <schwab@redhat.com>
38799 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38801 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38802 Maxim Kuvyrkov <maxim@codesourcery.com>
38803 Joseph Myers <joseph@codesourcery.com>
38805 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38806 if needed for __stack_chk_guard.
38808 2011-09-19 Roland McGrath <roland@hack.frob.com>
38810 * sysdeps/posix/spawni.c (script_execute): Always define it.
38811 It will be optimized away if unused.
38812 (maybe_script_execute): New function.
38813 (__spawni): Call it.
38815 * Makerules: Don't include tls.make.
38816 (config-tls): Always set to thread.
38817 * tls.make.c: File removed.
38819 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38821 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38822 * config.make.in (CPPFLAGS-config): New substituted variable.
38824 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38829 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38830 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38832 2011-09-15 Roland McGrath <roland@hack.frob.com>
38834 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38835 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38837 (CALL_FAIL): Likewise.
38838 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38839 (CALL_FAIL): Macro removed.
38840 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38844 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38845 for __FINITE_MATH_ONLY__ == 1.
38847 2011-09-15 Andreas Schwab <schwab@redhat.com>
38849 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38850 __ieee754_sqrt instead of sqrt.
38851 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38852 __ieee754_sqrtf instead of sqrtf.
38853 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38854 __floorf instead of floorf.
38855 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38856 __floorf, __truncf instead of floorf, truncf.
38858 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38860 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38862 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38863 __extern_always_inline.
38864 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38867 2011-09-14 Andreas Schwab <schwab@redhat.com>
38869 * elf/rtld.c (dl_main): Also relocate in dependency order when
38870 doing symbol dependency testing.
38872 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38875 Always define `refsym'.
38877 2011-09-13 Andreas Schwab <schwab@redhat.com>
38879 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38880 (__FD_ELT): Renamed from __FDELT.
38881 * misc/bits/select2.h (__FD_ELT): Likewise.
38882 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38883 __FD_MASK instead of __FDELT, __FDMASK.
38884 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38886 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38889 * elf/Makefile (gen-ldd): Fix pattern.
38891 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38892 (init_tls): Likewise.
38894 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38898 2011-09-12 Andreas Schwab <schwab@redhat.com>
38900 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38901 `struct cmsghdr *' instead of `void *'.
38902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38905 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38907 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38909 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38910 ldd_rewrite_script.
38912 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38914 * configure.in: Remove --with-tls option.
38915 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38916 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38917 out in case it is missing.
38918 * sysdeps/ia64/elf/configure.in: Likewise.
38919 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38920 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38921 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38922 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38923 * sysdeps/sh/elf/configure.in: Likewise.
38924 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38925 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38926 * sysdeps/x86_64/elf/configure.in: Likewise.
38927 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38928 * sysdeps/mach/hurd/tls.h: Likewise.
38931 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38934 * configure.in: Fix use of AC_INIT.
38936 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38938 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38940 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38942 * malloc/hooks.c: Likewise.
38945 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38946 variables statically.
38947 (narenas): Initialize.
38948 (list_lock): Initialize.
38949 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38950 initializtion of main_arena and list_lock. Small cleanups.
38951 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38952 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38953 Add initializers to main_arena and mp_.
38954 (malloc_state): Remove pagesize member. Change all users to use
38957 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38958 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38959 is always initialized.
38961 * malloc/malloc.c: Removed unused configurations and dead code.
38962 * malloc/arena.c: Likewise.
38963 * malloc/hooks.c: Likewise.
38964 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38966 * include/tls.h: Removed. USE___THREAD must always be defined.
38967 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38968 * elf/dl-libc.c: Likewise.
38969 * elf/dl-tsd.c: Likewise.
38970 * include/errno.h: Likewise.
38971 * include/netdb.h: Likewise.
38972 * include/resolv.h: Likewise.
38973 * inet/herrno-loc.c: Likewise.
38974 * inet/herrno.c: Likewise.
38975 * malloc/arena.c: Likewise.
38976 * malloc/hooks.c: Likewise.
38977 * malloc/malloc.c: Likewise.
38978 * resolv/res-state.c: Likewise.
38979 * resolv/res_libc.c: Likewise.
38980 * sysdeps/i386/dl-machine.h: Likewise.
38981 * sysdeps/ia64/dl-machine.h: Likewise.
38982 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38983 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38984 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38985 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38986 * sysdeps/sh/dl-machine.h: Likewise.
38987 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38988 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38989 * sysdeps/unix/i386/sysdep.S: Likewise.
38990 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38991 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38996 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39000 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39001 * sysdeps/x86_64/dl-machine.h: Likewise.
39002 * tls.make.c: Likewise.
39004 * configure.in: Remove --with-__thread option. Make tests for
39005 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39006 tls_model attribute fail if no support is available. Remove
39008 * Makeconfig: Adjust for dropped configure option. All features are
39010 * Makerules: Likewise.
39011 * Versions.def: Likewise.
39012 * argp/argp-fmtstream.c: Likewise.
39013 * argp/argp-fmtstream.h: Likewise.
39014 * argp/argp-help.c: Likewise.
39015 * assert/assert.c: Likewise.
39016 * config.h.in: Likewise.
39017 * config.make.in: Likewise.
39018 * configure: Likewise.
39019 * configure.in: Likewise.
39020 * csu/Versions: Likewise.
39021 * csu/init.c: Likewise.
39022 * elf/tst-audit2.c: Likewise.
39023 * elf/tst-tls10.c: Likewise.
39024 * elf/tst-tls10.h: Likewise.
39025 * elf/tst-tls11.c: Likewise.
39026 * elf/tst-tls12.c: Likewise.
39027 * elf/tst-tls14.c: Likewise.
39028 * elf/tst-tlsmod11.c: Likewise.
39029 * elf/tst-tlsmod12.c: Likewise.
39030 * elf/tst-tlsmod13.c: Likewise.
39031 * elf/tst-tlsmod13a.c: Likewise.
39032 * elf/tst-tlsmod14a.c: Likewise.
39033 * elf/tst-tlsmod15b.c: Likewise.
39034 * elf/tst-tlsmod16a.c: Likewise.
39035 * elf/tst-tlsmod16b.c: Likewise.
39036 * elf/tst-tlsmod7.c: Likewise.
39037 * elf/tst-tlsmod8.c: Likewise.
39038 * elf/tst-tlsmod9.c: Likewise.
39039 * gmon/gmon.c: Likewise.
39040 * grp/fgetgrent_r.c: Likewise.
39041 * grp/putgrent.c: Likewise.
39042 * hurd/fopenport.c: Likewise.
39043 * include/libc-symbols.h: Likewise.
39044 * include/tls.h: Likewise.
39045 * intl/gettextP.h: Likewise.
39046 * intl/loadinfo.h: Likewise.
39047 * locale/global-locale.c: Likewise.
39048 * locale/localeinfo.h: Likewise.
39049 * mach/devstream.c: Likewise.
39050 * malloc/arena.c: Likewise.
39051 * malloc/set-freeres.c: Likewise.
39052 * misc/err.c: Likewise.
39053 * misc/getttyent.c: Likewise.
39054 * misc/mntent_r.c: Likewise.
39055 * posix/getopt.c: Likewise.
39056 * posix/wordexp.c: Likewise.
39057 * pwd/fgetpwent_r.c: Likewise.
39058 * resolv/Versions: Likewise.
39059 * resolv/res_hconf.c: Likewise.
39060 * shadow/fgetspent_r.c: Likewise.
39061 * shadow/putspent.c: Likewise.
39062 * stdio-common/printf_fphex.c: Likewise.
39063 * stdio-common/tmpfile.c: Likewise.
39064 * stdlib/abort.c: Likewise.
39065 * stdlib/fmtmsg.c: Likewise.
39066 * sunrpc/auth_unix.c: Likewise.
39067 * sunrpc/clnt_perr.c: Likewise.
39068 * sunrpc/clnt_tcp.c: Likewise.
39069 * sunrpc/clnt_udp.c: Likewise.
39070 * sunrpc/clnt_unix.c: Likewise.
39071 * sunrpc/openchild.c: Likewise.
39072 * sunrpc/svc_simple.c: Likewise.
39073 * sunrpc/svc_tcp.c: Likewise.
39074 * sunrpc/svc_udp.c: Likewise.
39075 * sunrpc/svc_unix.c: Likewise.
39076 * sunrpc/xdr.c: Likewise.
39077 * sunrpc/xdr_array.c: Likewise.
39078 * sunrpc/xdr_rec.c: Likewise.
39079 * sunrpc/xdr_ref.c: Likewise.
39080 * sunrpc/xdr_stdio.c: Likewise.
39082 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39084 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39086 2011-07-03 Andreas Jaeger <aj@suse.de>
39088 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39089 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39090 regenerate with gen-libm-tests.pl.
39092 2010-05-12 Petr Baudis <pasky@suse.cz>
39095 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39096 around j0() zero points by switching to j1().
39097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39102 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39104 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39109 Patch in part by Pavel Roskin <proski@gnu.org>.
39112 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39114 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39115 Free memory block if necessary.
39118 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39119 be NULL. Don't lock in this case.
39121 2011-09-09 Roland McGrath <roland@hack.frob.com>
39123 * elf/elf.h (ELFOSABI_GNU): New macro.
39124 (ELFOSABI_LINUX): Define to that.
39126 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39128 * string/strncat.c (strncat): Undef the symbol in case it has been
39129 defined in bits/string.h.
39131 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39133 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39135 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39138 2011-08-17 Andreas Jaeger <aj@suse.de>
39140 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39142 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39143 Ian Lance Taylor <iant@google.com>
39145 * math/libm-test.inc (lround_test): New testcase.
39146 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39148 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39150 * Makefile: Remove support for automatic cvs check-ins.
39151 * Makerules: Likewise.
39152 * config.make.in: Likewise.
39153 * configure.in: Likewise.
39154 * intl/Makefile: Likewise.
39155 * locale/Makefile: Likewise.
39156 * po/Makefile: Likewise.
39157 * posix/Makefile: Likewise.
39158 * sysdeps/gnu/Makefile: Likewise.
39159 * sysdeps/mach/hurd/Makefile: Likewise.
39160 * sysdeps/sparc/sparc32/Makefile: Likewise.
39163 * posix/Makefile (bug-regex32-ENV): Define.
39164 Patch by John Stanley <jpsinthemix@verizon.net>.
39166 * misc/Makefile (headers): Add bits/select2.h.
39167 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39168 * misc/bits/select2.h: New file.
39169 * include/bits/select2.h: New file.
39170 * debug/Makefile (routines): Add fdelt_chk.
39171 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39172 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39174 * debug/fdelt_chk.c: New file.
39176 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39177 * wcsmbs/test-wmemcmp.c: Likewise.
39178 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39179 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39181 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39183 * string/Makefile (strop-tests): Add memcmp.
39184 * string/test-wmemcmp.c: New file.
39185 * string/test-memcmp.c: Add wmemcmp support.
39187 2011-09-08 Roland McGrath <roland@hack.frob.com>
39190 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39193 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39194 garbage value in a __mach_port_mod_refs call in the cases of the
39195 task-self and thread-self ports.
39197 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39199 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39201 2011-09-08 Andreas Schwab <schwab@redhat.com>
39203 * elf/dl-load.c (lose): Check for non-null L.
39205 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39207 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39209 * elf/dl-libc.c (dlerror_run): Pass back error code from
39213 * elf/dl-load.c (lose): Free l_origin if it is valid.
39215 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39217 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39220 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39221 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39222 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39224 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39226 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39227 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39228 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39229 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39230 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39231 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39232 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39233 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39234 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39235 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39237 2011-08-15 Alan Modra <amodra@gmail.com>
39240 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39241 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39242 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39243 ppc_mcount to static-only-routines.
39244 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39246 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39247 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39249 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39252 for finite and infinity parameters.
39254 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39257 and add nop instructions for throughput optimization.
39258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39260 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39262 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39263 aligned copy for power7 with vector-scalar instructions.
39264 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39266 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39271 2011-09-07 Andreas Schwab <schwab@redhat.com>
39274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39277 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39279 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39280 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39281 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39285 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39288 Forgot to demangle the pointer.
39290 * sysdeps/i386/sysdep.h: Define atom_text_section.
39291 * sysdeps/x86_64/sysdep.h: Likewise.
39292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39293 section with atom_text_section.
39294 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39296 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39298 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39301 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39302 already be defined. Change to take two parameters and don't assign
39303 result to variable. Adjust all users.
39304 Define INTERNAL_GETTIME if not already defined.
39305 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39308 HAVE_CLOCK_GETTIME_VSYSCALL.
39309 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39312 gettimeofday vsyscall, just use time.
39314 2011-09-06 Andreas Schwab <schwab@redhat.com>
39316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39319 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39321 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39325 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39327 syscall if possible.
39329 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39331 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39332 e_ident. Don't pass to find_mapsXX.
39333 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39335 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39338 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39339 * sysdeps/x86_64/multiarch/strchr.S: Update.
39340 Check bit_slow_BSF bit.
39341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39342 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39343 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39345 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39348 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39350 (tryshell): Define.
39351 (__spawni): Change last parameter to be flag. Test
39352 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39353 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39354 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39355 * posix/spawni.c: Likewise.
39356 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39357 * posix/spawnp.c: Likewise. Change normal version to use
39358 SPAWN_XFLAGS_USE_PATH.
39359 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39360 SPAWN_XFLAGS_TRY_SHELL.
39363 * posix/glob.h: Remove gcc 1.x support.
39366 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39368 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39371 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39373 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39374 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39375 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39376 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39380 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39382 * sysdeps/x86_64/wcscmp.S: New file.
39384 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39385 wcscmp-c wcscmp-sse2
39386 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39387 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39388 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39389 * wcsmbs/wcscmp.c: Allow renaming.
39391 2011-09-05 David S. Miller <davem@davemloft.net>
39393 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39394 stack slot, rather than the struct return pointer slot.
39395 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39396 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39398 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39400 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39402 * po/ja.po: Update from translation team.
39405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39406 kernel in 64-bit binaries.
39408 2011-09-01 David S. Miller <davem@davemloft.net>
39410 * elf/elf.h (HWCAP_SPARC_*): Move to..
39411 * sysdeps/sparc/sysdep.h: this new file and add new values.
39412 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39413 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39414 _DL_HWCAP_COUNT to 24.
39415 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39417 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39418 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39419 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39421 instead of magic constants.
39422 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39424 2011-08-31 David S. Miller <davem@davemloft.net>
39426 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39428 Reimplement to do errno handling inline.
39429 (SYSCALL_ERROR_HANDLER): New macro.
39430 (__SYSCALL_STRING): Do not do errno handling in asm.
39431 (__CLONE_SYSCALL_STRING): Delete.
39432 (__INTERNAL_SYSCALL_STRING): Delete.
39433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39434 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39435 (PSEUDO): Reimplement to do errno handling inline.
39436 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
39442 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39444 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39445 (inline_syscall*): Add 'err' argument.
39446 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39447 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39448 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39449 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39451 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39452 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39454 2011-08-30 Andreas Schwab <schwab@redhat.com>
39456 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39458 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39460 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39463 2011-08-24 David S. Miller <davem@davemloft.net>
39465 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39467 2011-08-24 Andreas Schwab <schwab@redhat.com>
39469 * elf/Makefile: Add rules to build and run unload8 test.
39470 * elf/unload8.c: New file.
39471 * elf/unload8mod1.c: New file.
39472 * elf/unload8mod1x.c: New file.
39473 * elf/unload8mod2.c: New file.
39474 * elf/unload8mod3.c: New file.
39476 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39479 2011-08-23 David S. Miller <davem@davemloft.net>
39481 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39482 subtract stack bias.
39483 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39484 %sp not %fp in calculations.
39485 (_JMPBUF_UNWINDS_ADJ): Likewise.
39487 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39488 (aio_suspend): Call it to force an exception region around the
39489 AIO_MISC_WAIT() invocation.
39491 2011-08-23 Andreas Schwab <schwab@redhat.com>
39493 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39496 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39498 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39500 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39501 and <dl-machine.h>.
39502 (Elf64_FuncDesc): Remove.
39504 2011-08-22 David S. Miller <davem@davemloft.net>
39506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39507 sigaltstack check, add missing cfi directives.
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39509 missing cfi directives, and sigaltstack handling.
39511 2011-08-16 Andreas Schwab <schwab@redhat.com>
39514 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39515 object is seen twice.
39516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39518 * elf/Makefile (distribute): Add tst-initorder2.c.
39519 (tests): Add tst-initorder2.
39520 (modules-names): Add tst-initorder2a tst-initorder2b
39521 tst-initorder2c tst-initorder2d. Add rules to build them.
39522 ($(objpfx)tst-initorder2.out): New rule.
39523 * elf/tst-initorder2.c: New file.
39524 * elf/tst-initorder2.exp: New file.
39526 2011-08-22 Andreas Schwab <schwab@redhat.com>
39528 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39530 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39531 dependencies back to end of function.
39533 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39534 $(elfobjdir)/ld.so.
39536 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39539 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39541 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39542 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39543 of __vdso_gettimeofday.
39544 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39545 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39547 (_libc_vdso_platform_setup): Remove initialization of
39548 __vdso_gettimeofday and __vdso_time.
39550 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39552 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39553 and fgetc_unlocked.
39554 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39557 * elf/dl-open.c (add_to_global): Report additions to the global scope
39558 for LD_DEBUG=scopes.
39559 (dl_open_worker): Also print scope of newly loaded dependencies.
39560 (_dl_show_scope): Indicate if there is no scope.
39563 * stdio-common/Makefile (tests): Add bug24.
39564 * stdio-common/bug24.c: New file.
39566 2011-08-19 Andreas Jaeger <aj@suse.de>
39569 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39570 non-existant file when using close-on-exec mode.
39572 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39575 the very first instruction.
39577 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39578 the CFI state in the end.
39579 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39580 inclusion of dl-trampoline.h.
39581 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39583 2011-08-19 Andreas Schwab <schwab@redhat.com>
39585 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39586 expectations for long double.
39588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39589 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39591 2011-08-14 David S. Miller <davem@davemloft.net>
39593 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39594 artificual limit depends upon the system page size.
39596 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39598 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39599 * resolv/Makefile: Define CFLAGS-libresolv.
39601 2011-08-17 Andreas Schwab <schwab@redhat.com>
39603 * nss/makedb.c (compute_tables): Make variables used in nested
39606 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39608 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39609 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39610 if buffer was too small.
39612 * elf/pldd.c (main): Attach to all threads in the process.
39613 Rewrite /proc handling to use *at functions.
39615 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39617 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39618 specifies first scope to show.
39619 (dl_open_worker): Update callers. Move printing scope of new
39620 object to before the relocation.
39621 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39622 * sysdeps/generic/ldsodefs.h: Update declaration.
39624 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39625 string for the scope number.
39627 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39629 * nscd/servicescache.c (cache_addserv): Make sure written is always
39632 2011-08-14 Roland McGrath <roland@hack.frob.com>
39634 * sysdeps/i386/i486/bits/atomic.h
39635 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39636 statement expression, so as to suppress "set but not used" warning.
39637 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39639 * string/strncat.c (STRNCAT): Use prototype definition.
39641 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39642 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39644 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39645 (localedef-modules): Add localedef.
39646 (locale-modules): Add locale.
39648 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39649 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39650 to avoid a warning.
39652 2011-08-14 David S. Miller <davem@davemloft.net>
39654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39655 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39657 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39659 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39660 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39661 * elf/rtld.c (dl_main): Set l_name of vDSO.
39662 Call _dl_show_scope when DL_DEBUG_SCOPES.
39663 (process_dl_debug): Recognize scopes flag and also set it for all.
39664 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39665 Declare _dl_show_scope.
39667 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39668 (do_dlopen): Pass caller_dlopen to dl_open.
39669 (__libc_dlopen_mode): Initialize caller_dlopen.
39671 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39672 of libc. Make tolower call locale-independent. Optimize a bit by
39673 using isdigit instead of isalnum.
39674 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39676 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39678 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39679 was a dependency or dynamically loaded.
39681 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39683 * intl/l10nflist.c: Allow architecture-specific pop function.
39684 * sysdeps/x86_64/l10nflist.c: New file.
39686 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39689 2011-08-10 Andreas Schwab <schwab@redhat.com>
39691 * include/dirent.h: Add libc_hidden_proto for scandirat and
39692 scandirat64. Don't declare __scandirat64.
39693 * dirent/scandirat.c: Add libc_hidden_def.
39694 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39695 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39697 2011-08-10 David S. Miller <davem@davemloft.net>
39699 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39702 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39705 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39707 * Versions.def [libc]: Add GLIBC_2.15.
39708 * dirent/Makefile (routines): Add scandirat and scandirat64.
39709 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39711 * dirent/dirent.h: Declare scandirat and scandirat64.
39712 * dirent/scandirat.c: New file.
39713 * dirent/scandirat64.c: New file.
39714 * sysdeps/wordsize-64/scandirat.c: New file.
39715 * sysdeps/wordsize-64/scandirat64.c: New file.
39716 * dirent/opendir.c: Define opendirat.
39717 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39719 * dirent/scandir64.c: Adjust for scandir.c change.
39720 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39721 __scandirat64, and __scandir_cancel_handler.
39722 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39723 additional parameter and use openat instead of open (outside of ld.so).
39724 Add new __opendir as wrapper around __opendirat.
39725 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39726 here without requiring old scandirat implementation.
39728 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39730 * dirent/scandir.c (cancel_handler): Renamed to
39731 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39732 defined. Adjust users.
39733 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39736 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39738 * string/test-string.h (IMPL): Use __STRING to expand name and then
39741 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39744 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39746 * string/Makefile: Update.
39747 (strop-tests): Append strncat.
39748 * string/test-wcscmp.c: New file.
39749 New comprehensive test for wcscmp.
39750 * string/test-strcmp.c: Update.
39751 (WIDE): New define.
39753 2011-07-22 Andreas Schwab <schwab@redhat.com>
39755 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39758 2011-07-26 Andreas Schwab <schwab@redhat.com>
39760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39761 encoding to ACE if AI_IDN.
39763 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39766 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39768 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39771 Fix overflow bug in strncat.
39772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39774 * string/test-strncat.c: Update.
39775 Add new tests for checking overflow bugs.
39777 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39780 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39781 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39782 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39783 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39784 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39785 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39786 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39787 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39790 (USE_AS_STRCAT): Define.
39791 Add strcat and strncat support.
39792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39794 2011-07-25 Andreas Schwab <schwab@redhat.com>
39796 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39797 __n bigger than INT_MAX+1.
39798 (__strncmp_g): Likewise.
39800 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39802 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39803 * libio/stido.h: Likewise.
39805 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39810 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39813 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39817 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39822 (_dl_x86_64_save_sse): Likewise.
39824 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39828 (_dl_x86_64_save_sse): Likewise.
39830 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39832 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39834 2011-07-21 Andreas Schwab <schwab@redhat.com>
39836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39838 (_dl_x86_64_save_sse): Use correct AVX check.
39840 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39842 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39843 bug in strncpy/strncat.
39844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39846 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39848 * string/tester.c (test_strcat): Add tests for different alignments
39849 of source and destination.
39850 (test_strncat): Likewise.
39852 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39855 * posix/glob.c (glob): Check passed in values before using them in
39856 expressions to avoid some overflows.
39857 (glob_in_dir): Likewise.
39860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39861 check for AVX enablement so that we don't crash with old kernels and
39863 * elf/tst-audit4.c: Add same checks here.
39864 * elf/tst-audit6.c: Likewise.
39866 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39868 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39870 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39872 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39874 * po/cs.po: Update from translation team.
39875 * po/bg.po: Likewise.
39877 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39879 * misc/sys/cdefs.h: Add support for const attribute.
39880 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39881 to gnu_dev_{major,minor,makedev} functions.
39883 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39885 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39887 2011-07-20 Andreas Schwab <schwab@redhat.com>
39889 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39892 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39895 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39896 register in order to avoid conflicts with the soft frame pointer
39897 being held in r11 when necessary.
39898 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39899 (INTERNAL_VSYSCALL_NCS): Likewise.
39901 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39903 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39904 * elf/dl-fini.c (_dl_fini): Adjust caller.
39905 * elf/dl-close.c (_dl_close_worker): Likewise.
39906 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39908 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39910 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39911 "aux_cache->nlibs < 0".
39913 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39914 in the reload-count case.
39916 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39919 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39920 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39921 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39922 * sysdeps/x86_64/multiarch/strcat.S: New file.
39923 * sysdeps/x86_64/multiarch/strncat.S: New file.
39924 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39925 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39926 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39927 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39928 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39929 (USE_AS_STRCAT): Define.
39930 Add strcat and strncat support.
39931 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39933 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39934 * string/strncat.c: Update.
39935 (USE_AS_STRNCAT): Define.
39936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39937 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39939 * sysdeps/x86_64/multiarch/init-arch.h
39940 (bit_Prefer_PMINUB_for_stringop): New.
39941 (index_Prefer_PMINUB_for_stringop): Likewise.
39942 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39943 bit_Prefer_PMINUB_for_stringop.
39945 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39947 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39949 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39950 of casting of buffer.
39951 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39952 buffer32 and buffer64.
39953 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39954 writes instead of casting of buffer.
39955 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39957 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39960 2011-07-19 Andreas Schwab <schwab@redhat.com>
39962 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39964 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39966 * nscd/nscd.c (termination_handler): Don't do anything for a database
39967 if it has not yet been initialized.
39969 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39971 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39973 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39975 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39977 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39979 * po/nl.po: Update from translation team.
39980 * po/sv.po: Likewise.
39982 2011-07-16 Roland McGrath <roland@hack.frob.com>
39984 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39985 now disallowed by GCC.
39987 * configure.in (use-default-link): Default to yes if a test -shared
39988 link meets our qualifications.
39989 * configure: Regenerated.
39991 * config.make.in (output-format): New variable.
39992 * configure.in: Check for ld --print-output-format support.
39993 * configure: Regenerated.
39994 * Makerules ($(common-objpfx)format.lds)
39995 [$(output-format) != unknown]: Just use $(output-format),
39996 instead of the linker-script munging.
39998 2011-07-14 Roland McGrath <roland@hack.frob.com>
40000 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40001 of $(common-objpfx)shlib.lds.
40002 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40004 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40005 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40007 * configure.in (-z relro check): Adjust test code to add a large
40008 writable data section after it.
40009 * configure: Regenerated.
40011 2011-07-11 Roland McGrath <roland@hack.frob.com>
40013 * configure.in (-z relro check): Fix test code to make the variable
40015 * configure: Regenerated.
40017 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40019 * nscd/nscd.h (struct traced_file): Define.
40020 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40021 elements. Add traced_files.
40022 (inotify_fd): Declare.
40023 (register_traced_file): Declare.
40024 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40025 (inotify_fd): Export.
40026 (resolv_conf_descr): Remove.
40027 (nscd_init): Move inotify descriptor creation to main.
40028 Don't register files for notification here.
40029 (register_traced_file): New function.
40030 (invalidate_cache): Don't use reset_res to determine whether to call
40031 res_init, go through the list of registered files.
40032 (main_loop_poll): The inotify descriptors are now stored in the
40033 structures for the traced files.
40034 (main_loop_epoll): Likewise
40035 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40036 to __nss_disable_nscd.
40037 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40038 for a database anymore. Check the records for all the registered
40040 * nss/Makefile (libnss_files-routines): Add files-init.
40041 (libnss_db-routines): Add db-init.
40042 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40043 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40044 * nss/nss_db/db-init.c: New file.
40045 * nss/nss_files/files-init.c: New file.
40046 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40047 __nss_lookup_function.
40048 (__nss_lookup_function): Call nss_load_library.
40049 (nss_load_all_libraries): New function.
40050 (__nss_disable_nscd): Take parameter with callback function for files
40051 to register. Set is_nscd. Load all the DSOs for the NSS modules
40052 used for the cached services.
40053 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40054 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40055 options for features to all the files in nscd.
40057 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40059 2011-07-10 Roland McGrath <roland@hack.frob.com>
40061 * csu/elf-init.c (__libc_csu_init): Comment typo.
40063 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40065 * po/pl.po: Update from translation team.
40066 * po/ja.po: Likewise.
40067 * po/ru.po: Likewise.
40068 * po/ko.po: Likewise.
40069 * po/fr.po: Likewise.
40071 2011-07-09 Roland McGrath <roland@hack.frob.com>
40073 * configure.in (.ctors/.dtors header and trailer check):
40074 Use an empirical test on a built program.
40075 * configure: Regenerated.
40077 * configure.in (-z relro check): Use an empirical test on a built DSO.
40078 Detect, but do not require, on ia64.
40079 * configure: Regenerated.
40081 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40082 Update tests that use readelf to use $READELF instead.
40083 * configure: Regenerated.
40085 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40087 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40088 if the result is not used.
40090 2011-07-05 Andreas Jaeger <aj@suse.de>
40093 * stdlib/tst-strtod.c: Add testcase.
40095 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40097 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40098 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40099 The latter has a higher limit. Take additional parameter to pass to
40101 (__pathconf): Pass file to __statfs_link_max.
40102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40104 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40108 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40112 (__statfs_filesize_max): Likewise.
40113 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40115 2011-07-05 Andreas Jaeger <aj@suse.de>
40117 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40119 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40121 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40123 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40126 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40128 * Makefile (strop-tests): Add strncat.
40129 * string/test-strncat.c: New file.
40131 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40133 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40135 2011-06-21 Andreas Jaeger <aj@suse.de>
40137 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40138 Copy rule from iconvdata/Makefile.
40140 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40143 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40144 but no long options are defined, just return 'W'.
40146 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40149 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40151 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40153 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40155 (innetgr): Likewise.
40157 2011-07-05 Roland McGrath <roland@hack.frob.com>
40159 * config.make.in (install_root): Default to $(DESTDIR).
40161 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40163 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40165 2011-07-02 Roland McGrath <roland@hack.frob.com>
40167 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40169 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40170 containing directory rather than embedding absolute directory names.
40172 * scripts/check-local-headers.sh: Rewritten using awk.
40173 Match by word, not by line. Print error messages for matches.
40174 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40176 * Makerules [shlib-lds-flags empty]:
40177 ($(common-objpfx)libc_pic.opts): New target.
40178 ($(common-objpfx)libc_pic.os.clean): New target.
40179 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40181 * config.make.in (OBJCOPY): New variable.
40182 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40183 * configure: Regenerated.
40185 * config.make.in (use-default-link): New variable.
40186 * configure.in (use_default_link): Grok --with-default-link to set it.
40187 * configure: Regenerated.
40188 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40189 (shlib-lds, shlib-lds-flags): Define to empty.
40191 * Makerules (shlib-lds): New variable.
40192 (shlib-lds-flags): New variable.
40193 (build-shlib, build-moduile, build-module-asneeded): Use it.
40194 ($(common-objpfx)libc.so): Use $(shlib-lds).
40195 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40196 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40198 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40199 DT_FLAGS/DT_FLAGS_1 with zero flags.
40201 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40202 linker script munging.
40204 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40206 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40208 * crypt/sha512.c (sha512_process_block): Perform total addition using
40209 128-bit if possible.
40210 (__sha512_finish_ctx): Likewise.
40211 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40213 * crypt/sha256.c (SWAP64): Define.
40214 (sha256_process_block): Perform total addition using 64-bit if
40216 (__sha256_finish_ctx): Likewise.
40218 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40220 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40222 * nscd/hstcache.c (cache_addhst): Likewise.
40223 * nscd/grpcache.c (cache_addgr): Likewise.
40224 * nscd/aicache.c (addhstaiX): Likewise
40225 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40227 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40229 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40231 * nscd/hstcache.c (cache_addhst): Likewise.
40232 * nscd/grpcache.c (cache_addgr): Likewise.
40233 * nscd/aicache.c (addhstaiX): Likewise
40235 2011-07-01 Andreas Schwab <schwab@redhat.com>
40237 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40238 domain only when needed.
40240 2011-06-30 Andreas Schwab <schwab@redhat.com>
40242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40243 is always restored.
40245 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40247 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40248 are re-adding the entry.
40249 * nscd/servicescache.c (cache_addserv): Likewise.
40251 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40253 * sysdeps/generic/dl-irel.h: fix protection against multiple
40255 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40257 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40260 * malloc/memusage.sh: Fix quoting in message.
40261 * debug/xtrace.sh: Likewise.
40263 * configure.in: Remove support for --experimental-malloc option, make
40265 * config.make.in: Likewise.
40266 * malloc/Makefile: Likewise.
40268 2011-06-27 Andreas Schwab <schwab@redhat.com>
40270 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40271 two-byte characters.
40273 2011-06-27 Roland McGrath <roland@hack.frob.com>
40275 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40276 AC_CACHE_CHECK invocation.
40277 * configure: Regenerated.
40279 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40281 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40284 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40285 bit from old_res_options.
40287 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40289 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40290 value type for setfct.
40292 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40295 __gettimeofday instead of gettimeofday.
40297 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40299 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40301 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40308 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40311 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40312 strcpy-sse2-unaligned strncpy-sse2-unaligned
40313 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40314 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40315 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40316 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40317 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40318 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40320 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40321 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40322 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40323 (STRCPY): Support SSE2 and SSSE3 versions.
40325 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40329 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40330 kernels which artificially limit size of requests.
40332 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40335 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40336 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40337 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40338 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40339 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40340 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40341 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40344 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40345 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40346 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40347 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40348 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40350 Enable unaligned load optimization for Intel Core i3, i5 and i7
40352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40354 (index_Fast_Unaligned_Load): Define.
40355 (HAS_FAST_UNALIGNED_LOAD): Define.
40357 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40359 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40361 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40365 until it is clear that the information is realy needed.
40366 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40368 2011-06-22 Andreas Schwab <schwab@redhat.com>
40370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40372 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40375 /sys/devices/system/cpu/online if it is usable.
40377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40378 reading the information from the /proc filesystem to once a second.
40380 2011-06-21 Andreas Jaeger <aj@suse.de>
40382 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40383 NULL after inclusion of kernel headers.
40385 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40387 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40388 calls to internal_setent.
40391 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40392 addresses using gethostbyname4_r ignore IPv4 addresses.
40394 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40395 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40397 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40399 2011-06-20 David S. Miller <davem@davemloft.net>
40401 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40403 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40405 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40406 (elf_irel): Use it.
40407 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40408 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40409 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40410 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40411 * sysdeps/x86_64/dl-irel.h: Likewise.
40413 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40414 * elf/dl-sym.c: Likewise.
40416 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40418 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40419 need to dereference resplen2.
40421 2011-06-14 Andreas Schwab <schwab@redhat.com>
40423 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40425 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40427 * Makeconfig: Define vardbdir and inst_vardbdir.
40428 * nss/Makefile: Add rules to install db-Makefile.
40430 * nss/nss_db/db-XXX.c: Cleanup.
40432 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40433 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40435 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40436 * nss/makedb.c: Implement -g option to specify that value strings
40437 are generated and should not be added to table iterated over for
40439 * nss/nss_db/db-initgroups.c: New file.
40441 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40444 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40445 (internal_getgrouplist): Adjust to name change.
40446 Update use_initgroups_entry if this is not the first call.
40447 * nss/databases.def: Add initgroups entry.
40449 * nss/makedb.c (compute_tables): Check result of multiple hash table
40450 sizes to minimize maximum chain length.
40452 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40454 * Versions.def: Add entry for libnss_db.
40455 * shlib-versions: Likewise.
40456 * nss/Makefile: Add rules to build libnss_db.
40457 * nss/Versions: Add libnss_db information. Organize libnss_files
40459 * nss/db-Makefile: Add gshadow support. Change rules for the new
40460 makedb progra. Some minor improvements to generate smaller files.
40461 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40463 * nss/makedb.c: ...here.
40464 Improve database format to be smaller and require less memory at
40466 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40468 * nss/nss_db/db-netgrp.c: Likewise.
40469 * nss/nss_db/db-open.c: Likewise.
40470 * nss/nss_files/flies-XXX.x: Adjust comments.
40471 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40472 * nss/nss_files/files-grp.c: Likewise.
40473 * nss/nss_files/files-hosts.c: Likewise.
40474 * nss/nss_files/files-network.c: Likewise.
40475 * nss/nss_files/files-proto.c: Likewise.
40476 * nss/nss_files/files-pwd.c: Likewise.
40477 * nss/nss_files/files-rpc.c: Likewise.
40478 * nss/nss_files/files-service.c: Likewise.
40479 * nss/nss_files/files-sgrp.c: Likewise.
40480 * nss/nss_files/files-spwd.c: Likewise.
40481 * nss/nss_db/db-alias.c: Removed.
40482 * nss/nss_db/dummy-db.h: Removed.
40484 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40486 * nss/makedb.c: Rewritten to not use database library.
40487 * nss/Makefile: Update to build new makedb program.
40489 2011-06-14 Andreas Jaeger <aj@suse.de>
40491 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40492 memset declaration.
40494 2011-06-10 Andreas Schwab <schwab@redhat.com>
40496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40499 2011-06-10 Roland McGrath <roland@hack.frob.com>
40501 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40502 * elf/Makefile ($(objpfx)ld.so): Likewise.
40504 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40505 Don't list ld.so twice in dependencies.
40507 * posix/bug-regex31.c: Include <stdlib.h>.
40509 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40511 * nis/nss_compat/compat-spwd.c
40512 (getspent_next_nss_netgr): Remove unused variable.
40513 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40515 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40516 nonmembers" output to use the right array.
40518 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40520 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40522 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40523 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40524 * catgets/gencat.c (read_input_file): Likewise.
40525 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40527 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40528 variable definition inside #if's controlling its use.
40530 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40532 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40534 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40536 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40539 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40541 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40542 * configure: Regenerated.
40544 * Makerules: Revert last change.
40545 * elf/Makefile: Likewise.
40547 2011-06-09 Roland McGrath <roland@hack.frob.com>
40549 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40550 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40551 (reloc-link): Likewise.
40553 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40555 * elf/Makefile: Add rules to build pldd.
40556 * elf/pldd.c: New file.
40557 * elf/pldd-xx.c: New file.
40559 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40561 * version.h: Update for 2.15 development version.
40563 2011-06-07 David S. Miller <davem@davemloft.net>
40565 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40568 elf_machine_lazy_rel): Likewise.
40569 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40571 elf_machine_lazy_rel): Likewise.
40572 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40573 dl_hwcap via passed in argument.
40574 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40577 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40579 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40581 2011-06-06 Roland McGrath <roland@hack.frob.com>
40584 * manual/fdl-1.1.texi: New file, verbatim from:
40585 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40586 * manual/lgpl-2.1.texi: New file, verbatim from:
40587 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40588 * manual/Makefile (licenses): New variable, list those new file names.
40590 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40592 * manual/fdl.texi: File removed.
40593 * manual/lesser.texi: File removed.
40594 * manual/libc.texinfo (Copying, Documentation License):
40595 Use new @include file names, put @appendix directive before @include.
40597 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40600 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40601 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40602 (mq_open): Add __NTH.
40604 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40607 Assume Intel Core i3/i5/i7 processor if AVX is available.
40609 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40614 2011-05-31 Andreas Schwab <schwab@redhat.com>
40616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40617 memory. Use alloca_account. Fix memory leak when retrying.
40619 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40621 * version.h (RELEASE): Bump for 2.14 release.
40622 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40624 * config.make.in (RANLIB): Remove entry.
40626 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40628 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40629 (libc.pot): Work around missing support for .ksh extension in xgettext.
40632 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40633 if both request failed.
40634 (send_dg): In case of server errors clear resplen or *resplen2.
40637 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40638 when there are multiple maps.
40639 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40640 (_dl_fini): Remove test here.
40642 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40644 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40647 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40648 bit from old_res_options.
40649 (gaih_inet): Likewise.
40652 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40655 * resolv/res_init.c (res_setoptions): Make the code more compact.
40658 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40662 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40664 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40667 * malloc/malloc.h: Declare malloc hook variables as volatile.
40669 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40673 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40674 raise in the comment.
40675 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40677 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40679 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40682 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40683 grow the buffers more if it already has to be sufficient.
40684 (build_wcs_upper_buffer): Likewise.
40685 * posix/regexec.c (check_matching): Likewise.
40686 (clean_state_log_if_needed): Likewise.
40687 (extend_buffers): Don't enlarge buffers beyond size of the input
40689 Patches mostly by Emil Wojak <emil@wojak.eu>.
40690 * posix/bug-regex32.c: New file.
40691 * posix/Makefile (tests): Add bug-regex32.
40693 * locale/findlocale.c (_nl_find_locale): Return right away if
40694 _nl_explode_name failed.
40695 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40697 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40699 * debug/xtrace.sh: Unify messages.
40700 * malloc/memusage.sh: Likewise.
40703 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40704 time symbol from vDSO. Substitute with vsyscall if not available.
40705 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40708 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40709 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40710 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40711 Add sendmmsg and internal_sendmmsg.
40712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40713 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40714 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40716 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40717 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40718 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40720 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40723 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40724 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40730 * iconvdata/Makefile (tests): Add bug-iconv9.
40731 * iconvdata/bug-iconv9.c: New file.
40733 2011-05-27 Andreas Schwab <schwab@redhat.com>
40736 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40738 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40741 (struct user_regs_struct): Change intcs field back to cs.
40743 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40745 * po/ja.po: Update from translation team.
40747 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40750 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40751 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40753 2011-05-20 Andreas Schwab <schwab@redhat.com>
40755 * stdlib/longlong.h: Update from GCC.
40757 2011-05-23 Andreas Schwab <schwab@redhat.com>
40759 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40761 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40762 Add parameter name.
40763 (__sysconf): Pass it down.
40765 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40768 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40771 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40772 add in in __libc_use_alloca calls. Adjust callers.
40773 (glob): Use malloc in some situations.
40775 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40776 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40779 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40781 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40782 and CLOCK_BOOTTIME_ALARM.
40785 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40788 * string/_strerror.c (__strerror_r): Print negative errors as signed
40792 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40793 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40794 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40796 * configure.in: Fix typo in redirection and correct removal of test
40797 files in two cases.
40800 * locale/setlocale.c (new_composite_name): Fix test to check for
40801 identical name of all categories.
40804 * libio/filedoalloc.c (local_isatty): New function.
40805 (_IO_file_doallocate): Use local_isatty.
40806 * stdio-common/perror.c (perror): In case a new stream is used
40807 forward the stream error.
40808 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40811 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40816 * include/alloca.h (extend_alloca_account): Define.
40819 * posix/regex.h: Fix comments with documentation of user-accessible
40820 fields after compilation and describe correct free'ing of pattern
40821 after re_compile_pattern.
40822 Patch by Reuben Thomas <rrt@sc3d.org>.
40824 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40826 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40827 and -mno-altivec to prevent the compiler from using Altivec and/or
40828 VSX instructions when the corresponding registers are not available.
40830 2011-05-19 Andreas Schwab <schwab@redhat.com>
40832 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40834 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40836 * libio/freopen.c (freopen): Use __dup2, not dup2.
40837 * libio/freopen64.c (freopen64): Likewise.
40839 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40842 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40843 * math/Makefile (tests): Add test-powl.
40844 (CFLAGS-test-powl.c): Define.
40845 * math/test-powl.c: New file.
40847 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40849 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40851 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40854 * iconvdata/gb18030.c: Update to GB18020-2005.
40856 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40858 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40859 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40860 Patch by Aharon Robbins <arnold@skeeve.com>.
40863 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40867 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40868 through underflows.
40871 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40872 point to strings before performing equality test for error_one_per_line
40876 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40879 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40880 (struct user_fpregs_struct): Avoid __uint*_t types.
40883 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40884 symbol info. Use it instead of calling _dl_addr locally.
40885 (lock_and_info): New function.
40886 (tr_freehook): Call lock_and_info and pass symbol info as additional
40887 parameter to tr_where.
40888 (tr_mallochook): Likewise.
40889 (tr_reallochook): Likewise.
40890 (tr_memalignhook): Likewise.
40892 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40893 used and couldn't be at all thread-safe.
40895 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40897 * libio/freopen.c (freopen): Don't close old file descriptor
40898 before the new one is opened. Instead dup the new file descriptor
40899 to the old one after the new stream is created.
40900 * libio/freopen64.c (freopen64): Likewise.
40901 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40902 * libio/fileops.c (_IO_new_file_close_it): Handle new
40903 _IO_FLAGS2_NOCLOSE flag.
40904 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40905 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40906 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40907 _IO_FLAGS2_NOCLOSE flag.
40908 * include/unistd.h: Add hidden_proto for dup3.
40909 Define __have_dup3.
40910 * io/dup3.c: Define hidden symbol.
40911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40914 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40915 when an incomplete long option is used.
40916 * posix/tst-getopt_long1.c: New file.
40917 * posix/Makefile (tests): Add tst-getopt_long1.
40920 * scripts/config.guess: Update from autoconf-2.68.
40921 * scripts/config.sub: Likewise.
40924 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40926 (has_cpuclock): ...this. New function.
40927 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40928 macro here based on has_cpuclock code.
40931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40932 First byte (not low byte) is now always NUL.
40933 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40936 Use non-cancelable interfaces.
40939 * locale/iso-639.def: Add entry for Sorani.
40942 * include/stdlib.h: Move include protection to the right place.
40943 Define abort_msg_s. Declare __abort_msg with it.
40944 * stdlib/abort.c (__abort_msg): Adjust type.
40945 * assert/assert.c (__assert_fail_base): New function. Majority
40946 of code from __assert_fail. Allocate memory for __abort_msg with
40948 (__assert_fail): Now call __assert_fail_base.
40949 * assert/assert-perr.c: Remove bulk of implementation. Use
40950 __assert_fail_base.
40951 * include/assert.hL Declare __assert_fail_base.
40952 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40954 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40956 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40960 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40961 until all modules are registered in the DTV.
40962 * elf/Makefile: Add rules to build and run tst-tls19.
40963 * elf/tst-tls19.c: New file.
40964 * elf/tst-tls19mod1.c: New file.
40965 * elf/tst-tls19mod2.c: New file.
40966 * elf/tst-tls19mod3.c: New file.
40967 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40970 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40974 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40975 two-byte sequence errors.
40976 * iconvdata/Makefile (tests): Add bug-iconv8.
40977 * iconvdata/bug-iconv8.c: New file.
40980 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40983 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40986 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40987 (dummy_getcfa): New function.
40988 (init): Get _Unwind_GetCFA address, use dummy if not found.
40989 (backtrace_helper): In recursion check, also check whether CFA changes.
40990 (__backtrace): Completely initialize arg.
40992 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40993 storing incomplete byte sequence in state object. Avoid testing for
40994 guaranteed too small input if we know there is enough data available.
40996 2011-05-11 Andreas Schwab <schwab@redhat.com>
40998 * Makeconfig (+link-pie): Indent.
40999 * Rules (binaries-pie): Define if $(have-fpie) and
41001 (binaries-shared): Also filter out $(binaries-pie).
41002 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41003 * nscd/Makefile (others-pie): Add nscd.
41004 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41005 ($(objpfx)nscd): Remove command override.
41006 * login/Makefile (others-pie): Add pt_chown.
41007 ($(objpfx)pt_chown): Remove command override.
41008 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41009 remove command overrides.
41011 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41013 * libio/tst_putwc.c: Fix error messages.
41016 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41017 currently writing and seek to current position when not.
41018 * libio/Makefile (tests): Add bug-fclose1.
41019 * libio/bug-fclose1.c: New file.
41021 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41024 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41025 don't set DF_1_NODELETE here.
41026 (do_lookup_x): When entering new entry test for copy relocation
41027 and if necessary set DF_1_NODELETE flag.
41028 * elf/tst-unique4.cc: New file.
41029 * elf/tst-unique4.h: New file.
41030 * elf/tst-unique4lib.cc: New file.
41031 * elf/Makefile: Add rules to build and run tst-unique4.
41032 Patch by Piotr Bury <pbury@goahead.com>.
41034 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41037 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41040 * misc/mntent_r.c (addmntent): Flush the stream after the output
41043 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41044 (is_trusted_path_normalize): Skip initial colon. Append slash
41045 to empty buffer. Duplicate is_trusted_path code but allow
41046 constructed patch to be prefix.
41047 (is_dst): Allow $ORIGIN followed by /.
41048 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41049 Correct testing of result of is_trusted_path_normalize
41050 (decompose_rpath): Fix warning.
41052 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41055 * grp/initgroups.c (internal_getgrouplist): When we found the service
41056 list through the initgroups entry in nsswitch.conf do not always
41057 continue on a successful lookup. Don't always use the
41058 __nss_group_database value if it is set.
41059 * nss/nsswitch.conf (initgroups): Change action for successful db
41060 lookup to continue for compatibility.
41062 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41065 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41067 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41069 * iconvdata/tst-tables.sh: Likewise.
41070 * iconvdata/cp770.c: New file.
41071 * iconvdata/cp771.c: New file.
41072 * iconvdata/cp772.c: New file.
41073 * iconvdata/cp773.c: New file.
41074 * iconvdata/cp774.c: New file.
41075 * iconvdata/testdata/CP770: New file.
41076 * iconvdata/testdata/CP770..UTF8: New file.
41077 * iconvdata/testdata/CP771: New file.
41078 * iconvdata/testdata/CP771..UTF8: New file.
41079 * iconvdata/testdata/CP772: New file.
41080 * iconvdata/testdata/CP772..UTF8: New file.
41081 * iconvdata/testdata/CP773: New file.
41082 * iconvdata/testdata/CP773..UTF8: New file.
41083 * iconvdata/testdata/CP774: New file.
41084 * iconvdata/testdata/CP774..UTF8: New file.
41086 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41088 * iconvdata/gen-8bit-gap.sh: Likewise.
41089 * iconvdata/gen-8bit.sh: Likewise.
41091 * locale/iso-639.def: Add ary entry.
41094 * locale/C-translit.h.in: Add U20A1 transliteration.
41097 * locale/iso-639.def: Add wae entry.
41098 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41101 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41105 * locale/C-translit.h.in: Add entry for U20B9.
41106 Patch by pravin.d.s@gmail.com.
41108 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41111 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41112 ENAMETOOLONG use generic getcwd.
41113 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41114 in rtld. Use *stat64.
41115 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41116 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41117 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41118 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41119 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41120 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41121 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41122 __fstatat64 macros.
41123 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41124 * dirent/rewinddir.c: Add libc_hidden_def.
41125 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41126 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41128 * include/dirent.h (__alloc_dir): Add flags parameter.
41129 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41130 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41132 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41133 from fdopendir if O_CLOEXEC is already set.
41135 2011-03-15 Alan Modra <amodra@gmail.com>
41137 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41138 l_tls_firstbyte_offset non-zero. Save padding offset in
41139 l_tls_firstbyte_offset for later use.
41140 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41141 freeing static tls block.
41143 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41145 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41146 where #ifdef was intended. The intent is to prevent ARG_MAX from
41147 being defined by the kernel headers.
41149 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41152 * resolv/resolv.h: Define RES_NOTLDQUERY.
41153 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41154 no-tld-query and set RES_NOTLDQUERY.
41155 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41156 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41157 modern BIND to search name as TLD unless forbidden.
41159 2011-05-07 Petr Baudis <pasky@suse.cz>
41160 Ulrich Drepper <drepper@gmail.com>
41163 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41164 (is_trusted_path): ...to here.
41165 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41166 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41167 using is_trusted_path_normalize() in setuid scripts.
41169 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41171 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41172 __BEGIN/__END_DECLS.
41174 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41177 NSS_STATUS_NOTFOUND if no record was found.
41179 2011-05-05 Andreas Schwab <schwab@redhat.com>
41181 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41182 (headers-not-in-tirpc): Remove rpc/netdb.h
41183 * resolv/netdb.h: Revert last change.
41185 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41187 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41188 circular dependency between libgcc.a and libc.a.
41190 2011-05-05 Andreas Schwab <schwab@redhat.com>
41192 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41193 * nis/Makefile: Don't install rpcsvc/*.
41194 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41195 instead of <rpc/types.h>.
41196 (MAXHOSTNAMELEN): Define.
41198 2011-05-03 Andreas Schwab <schwab@redhat.com>
41200 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41202 2011-04-28 Maciej Babinski <mbabinski@google.com>
41205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41206 gethostbyname4_r when IPv6 results are possible.
41208 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41211 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41212 _PC_PIPE_BUF handling.
41214 2011-04-30 Bruno Haible <bruno@clisp.org>
41217 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41218 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41220 * inet/getnameinfo.c (getnameinfo): Likewise.
41222 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41224 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41225 to groups setting in database lookup.
41226 * nss/nsswitch.conf: Add initgroups entry.
41228 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41231 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41233 Patch by Eric Blake <eblake@redhat.com>.
41235 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41237 * sunrpc/Makefile (need-export-routines): Add svc_run.
41238 (routines): Remove svc_run.
41239 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41240 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41241 * sunrpc/svc_run.c (svc_run): Likewise.
41242 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41244 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41247 problem in reallocation in last patch.
41249 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41251 * sunrpc/Makefile: Move inclusion of Rules.
41253 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41255 * nss/nss_files/files-initgroups.c: New file.
41256 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41257 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41258 _nss_files_initgroups_dyn.
41260 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41262 * elf/elf.h (R_ARM_IRELATIVE): Define.
41264 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41266 * po/ru.po: Update from translation team.
41268 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41270 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41273 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41277 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41282 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41284 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41286 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41290 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41293 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41295 * stdlib/bug-getcontext.c: New file.
41296 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41298 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41300 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41301 instructions into .machine "z9-109".
41302 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41303 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41305 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41307 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41308 between environment variables and auxiliary vector.
41310 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41312 * Makefile: Add rules to build linkobj/libc.so.
41313 * include/libc-symbols.h: Define libc_hidden_nolink.
41314 * include/rpc/auth.h: Mark functions which are to be hidden.
41315 * include/rpc/auth_des.h: Likewise.
41316 * include/rpc/auth_unix.h: Likewise.
41317 * include/rpc/clnt.h: Likewise.
41318 * include/rpc/des_crypt.h: Likewise.
41319 * include/rpc/key_prot.h: Likewise.
41320 * include/rpc/pmap_clnt.h: Likewise.
41321 * include/rpc/pmap_prot.h: Likewise.
41322 * include/rpc/pmap_rmt.h: Likewise.
41323 * include/rpc/rpc_msg.h: Likewise.
41324 * include/rpc/svc.h: Likewise.
41325 * include/rpc/svc_auth.h: Likewise.
41326 * include/rpc/xdr.h: Likewise.
41327 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41328 * nss/Makefile: Likewise.
41329 * sunrpc/Makefile: Don't install headers. Build library with normal
41330 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41331 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41332 for the compat linking library. Remove use of INTDEF/INTUSE.
41333 * sunrpc/auth_none.c: Likewise.
41334 * sunrpc/auth_unix.c: Likewise.
41335 * sunrpc/authdes_prot.c: Likewise.
41336 * sunrpc/authuxprot.c: Likewise.
41337 * sunrpc/clnt_gen.c: Likewise.
41338 * sunrpc/clnt_perr.c: Likewise.
41339 * sunrpc/clnt_raw.c: Likewise.
41340 * sunrpc/clnt_simp.c: Likewise.
41341 * sunrpc/clnt_tcp.c: Likewise.
41342 * sunrpc/clnt_udp.c: Likewise.
41343 * sunrpc/clnt_unix.c: Likewise.
41344 * sunrpc/des_crypt.c: Likewise.
41345 * sunrpc/des_soft.c: Likewise.
41346 * sunrpc/get_myaddr.c: Likewise.
41347 * sunrpc/key_call.c: Likewise.
41348 * sunrpc/key_prot.c: Likewise.
41349 * sunrpc/netname.c: Likewise.
41350 * sunrpc/pm_getmaps.c: Likewise.
41351 * sunrpc/pm_getport.c: Likewise.
41352 * sunrpc/pmap_clnt.c: Likewise.
41353 * sunrpc/pmap_prot.c: Likewise.
41354 * sunrpc/pmap_prot2.c: Likewise.
41355 * sunrpc/pmap_rmt.c: Likewise.
41356 * sunrpc/publickey.c: Likewise.
41357 * sunrpc/rpc_cmsg.c: Likewise.
41358 * sunrpc/rpc_common.c: Likewise.
41359 * sunrpc/rpc_dtable.c: Likewise.
41360 * sunrpc/rpc_prot.c: Likewise.
41361 * sunrpc/rpc_thread.c: Likewise.
41362 * sunrpc/rtime.c: Likewise.
41363 * sunrpc/svc.c: Likewise.
41364 * sunrpc/svc_auth.c: Likewise.
41365 * sunrpc/svc_authux.c: Likewise.
41366 * sunrpc/svc_raw.c: Likewise.
41367 * sunrpc/svc_run.c: Likewise.
41368 * sunrpc/svc_simple.c: Likewise.
41369 * sunrpc/svc_tcp.c: Likewise.
41370 * sunrpc/svc_udp.c: Likewise.
41371 * sunrpc/svc_unix.c: Likewise.
41372 * sunrpc/svcauth_des.c: Likewise.
41373 * sunrpc/xcrypt.c: Likewise.
41374 * sunrpc/xdr.c: Likewise.
41375 * sunrpc/xdr_array.c: Likewise.
41376 * sunrpc/xdr_float.c: Likewise.
41377 * sunrpc/xdr_intXX_t.c: Likewise.
41378 * sunrpc/xdr_mem.c: Likewise.
41379 * sunrpc/xdr_rec.c: Likewise.
41380 * sunrpc/xdr_ref.c: Likewise.
41381 * sunrpc/xdr_sizeof.c: Likewise.
41382 * sunrpc/xdr_stdio.c: Likewise.
41384 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41387 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41388 * sysdeps/ia64/dl-tls.h: Likewise.
41389 * sysdeps/powerpc/dl-tls.h: Likewise.
41390 * sysdeps/s390/dl-tls.h: Likewise.
41391 * sysdeps/sh/dl-tls.h: Likewise.
41392 * sysdeps/sparc/dl-tls.h: Likewise.
41393 * sysdeps/x86_64/dl-tls.h: Likewise.
41394 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41396 2011-03-14 Andreas Schwab <schwab@redhat.com>
41398 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41399 rpath element also skip the following colon.
41400 (expand_dynamic_string_token): Add is_path parameter and pass
41401 down to DL_DST_REQUIRED and _dl_dst_substitute.
41402 (decompose_rpath): Call expand_dynamic_string_token with
41403 non-zero is_path. Ignore empty rpaths.
41404 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41407 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41412 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41415 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41416 Patch by Filipe David Manana <fdmanana@apache.org>.
41418 2011-04-07 Andreas Schwab <schwab@redhat.com>
41420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41421 Maintain aligned stack.
41422 (CHECK_RSP): Remove unused macro.
41424 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41426 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41429 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41431 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41433 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41435 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41438 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41439 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41440 * sysdeps/x86_64/memmove.c: New file.
41441 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41442 (memcpy): Renamed to ...
41443 (__new_memcpy): This.
41444 (memcpy): Provide GLIBC_2_14 memcpy.
41445 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41446 (memcpy): Provide GLIBC_2_2_5 memcpy.
41448 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41451 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41453 2011-03-30 Andreas Schwab <schwab@redhat.com>
41455 * misc/syncfs.c: New file.
41456 * misc/Makefile (routines): Add syncfs.
41457 * posix/unistd.h: Declare syncfs.
41458 * sysdeps/unix/syscalls.list: Add syncfs.
41460 2011-04-01 Andreas Schwab <schwab@redhat.com>
41462 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41469 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41472 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41474 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41482 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41483 sync_file_range.c with -fexceptions.
41484 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41485 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41486 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41487 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41488 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41489 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41491 sync_file_range as cancellation point
41492 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41493 now a wrapper around __call_sync_file_range with cancellation handling.
41494 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41495 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41496 function name to __call_sync_file_range.
41497 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41498 Add call_sync_file_range.
41500 2011-04-01 Andreas Schwab <schwab@redhat.com>
41502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41505 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41507 * iconv/iconv.h: Fix typo in comment.
41508 * io/fcntl.h: Likewise.
41509 * libio/stdio.h: Likewise.
41510 * posix/spawn.h: Likewise.
41511 * posix/unistd.h: Likewise.
41512 * stdlib/stdlib.h: Likewise.
41513 * time/time.h: Likewise.
41514 * wcsmbs/wchar.h: Likewise.
41516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41517 open_by_handle): Add.
41518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41519 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41520 Augment a few comments.
41521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41523 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41526 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41529 * io/fcntl.h (AT_EMPTY_PATH): Define.
41531 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41533 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41534 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41535 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41537 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41538 * Versions.def: Add GLIBC_2.14.
41539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41542 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41544 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41546 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41548 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41551 * string/test-strncmp.c (do_page_test): New function.
41552 (check2): Likewise.
41553 (test_main): Call check2.
41554 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41556 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41560 Handle cache information in CPU leaf 4.
41561 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41563 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41566 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41567 character representation.
41568 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41570 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41572 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41573 END(__isnan) to END(__isnanf) to match function entry point/label
41574 EALIGN(__isnanf,...).
41576 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41578 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41580 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41583 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41584 copy from the symbol referenced in the relocation to initialize the
41586 Patch by Piotr Bury <pbury@goahead.com>.
41587 * elf/Makefile: Add rules to build and tst-unique3.
41588 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41589 * elf/tst-unique3.cc: New file.
41590 * elf/tst-unique3.h: New file.
41591 * elf/tst-unique3lib.cc: New file.
41592 * elf/tst-unique3lib2.cc: New file.
41594 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41596 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41598 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41599 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41602 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41604 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41605 to-be-loaded object along a path to loader is ld.so.
41607 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41608 Ulrich Drepper <drepper@gmail.com>
41610 * sysdeps/x86_64/memset.S: After aligning destination, code
41611 branches to different locations depending on the value of
41612 misalignment, when multiarch is enabled. Fix this.
41614 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41616 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41617 Set _x86_64_preferred_memory_instruction for AMD processsors.
41618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41619 Set bit_Prefer_SSE_for_memop for AMD processors.
41621 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41623 * libio/fmemopen.c (fmemopen): Optimize a bit.
41625 2011-03-03 Andreas Schwab <schwab@redhat.com>
41627 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41629 2011-03-03 Roland McGrath <roland@redhat.com>
41631 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41633 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41635 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41636 __bzero_ultra1 instead of __memset_ultra1.
41638 2011-02-23 Andreas Schwab <schwab@redhat.com>
41639 Ulrich Drepper <drepper@gmail.com>
41642 * include/link.h (struct link_map): Add l_orig_initfini.
41643 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41644 returning unsuccessfully.
41645 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41646 close of a file loaded at startup, restore the original l_initfini
41648 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41649 list, store the pointer.
41650 * elf/Makefile ($(objpfx)noload-mem): New rule.
41651 (noload-ENV): Define.
41652 (tests): Add $(objpfx)noload-mem.
41653 * elf/noload.c: Include <memcheck.h>.
41654 (main): Call mtrace. Close all opened handles.
41656 2011-02-17 Andreas Schwab <schwab@redhat.com>
41659 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41660 dependencies are missing.
41662 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41664 Fix __if_freereq crash: Unlike the generic version which uses free,
41666 * sysdeps/mach/hurd/ifreq.h: New file.
41668 2011-01-27 Petr Baudis <pasky@suse.cz>
41669 Ulrich Drepper <drepper@gmail.com>
41672 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41673 to extend_alloca().
41674 * stdio-common/bug23.c: New file.
41675 * stdio-common/Makefile (tests): Add bug23.
41677 2010-09-28 Andreas Schwab <schwab@redhat.com>
41678 Ulrich Drepper <drepper@gmail.com>
41681 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41682 before performing relro protection. At old place add assertion
41683 to make sure nothing changed.
41685 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41686 Glauber de Oliveira Costa <glommer@gmail.com>
41688 * elf/elf.h: Add new ARM TLS relocs.
41690 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41693 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41695 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41697 * sysdeps/wordsize-64/tst-writev.c: New file.
41699 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41701 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41702 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41703 insns in _dl_start to prevent a TOC reference before relocs are
41706 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41709 * Makeconfig: Remove RANLIB definition.
41710 * Makerules: Don't use RANLIB.
41711 * aclocal.m4: Remove ranlib test.
41712 * configure.in: No need to check for ranlib.
41713 * elf/rtld-Rules: Don't use RANLIB.
41715 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41717 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41719 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41720 inclusion protection macro.
41722 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41723 SIGRTMIN and SIGRTMAX and print information in that case only when
41724 SIGRTMIN is defined.
41726 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41728 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41729 arginfo fn returning -1.
41731 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41732 and thousands string is zero terminated.
41734 2011-02-03 Andreas Schwab <schwab@redhat.com>
41736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41737 sysdeps/unix/sysv/linux/bits/socket.h.
41739 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41741 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41742 (__CPU_COUNT): Remove old macros.
41743 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41744 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41745 (__CPU_ALLOC, __CPU_FREE): Add macros.
41746 (__sched_cpualloc, __sched_cpufree): Add declarations.
41748 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41750 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41751 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41752 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41753 (readdhstai): Return value of addhstaiX call.
41754 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41755 (addgrbyX): Return value returned by cache_addgr.
41756 (readdgrbyname): Return value returned by addgrbyX.
41757 (readdgrbygid): Likewise.
41758 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41759 (addpwbyX): Return value returned by cache_addpw.
41760 (readdpwbyname): Return value returned by addhstbyX.
41761 (readdpwbyuid): Likewise.
41762 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41763 (addservbyX): Return value returned by cache_addserv.
41764 (readdservbyname): Return value returned by addservbyX:
41765 (readdservbyport): Likewise.
41766 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41767 (addhstbyX): Return value returned by cache_addhst.
41768 (readdhstbyname): Return value returned by addhstbyX.
41769 (readdhstbyaddr): Likewise.
41770 (readdhstbynamev6): Likewise.
41771 (readdhstbyaddrv6): Likewise.
41772 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41773 (readdinitgroups): Return value returned by addinitgroupsX.
41774 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41775 (prune_cache): Keep track of timeout value of re-added entries.
41776 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41777 * nscd/nscd.h: Adjust prototypes of readd* functions.
41779 2011-02-04 Roland McGrath <roland@redhat.com>
41781 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41782 (nis_stats): Likewise.
41783 * nis/nis_modify.c (nis_modify): Likewise.
41784 * nis/nis_remove.c (nis_remove): Likewise.
41785 * nis/nis_add.c (nis_add): Likewise.
41787 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41789 * posix/fnmatch_loop.c: Add some consts.
41791 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41793 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41796 * config.make.in (config-cflags-novzeroupper): Define.
41797 * configure.in: Substitute libc_cv_cc_novzeroupper.
41798 * elf/Makefile (AVX-CFLAGS): Define.
41799 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41800 (CFLAGS-tst-auditmod4a.c): Likewise.
41801 (CFLAGS-tst-auditmod4b.c): Likewise.
41802 (CFLAGS-tst-auditmod6b.c): Likewise.
41803 (CFLAGS-tst-auditmod6c.c): Likewise.
41804 (CFLAGS-tst-auditmod7b.c): Likewise.
41805 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41807 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41809 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41810 function to the callback.
41811 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41813 2011-02-02 Andreas Schwab <schwab@redhat.com>
41815 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41818 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41821 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41823 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41825 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41828 * elf/Makefile: Add rules to build and run new test.
41829 * elf/tst-initorder.c: New file.
41830 * elf/tst-initorder.exp: New file.
41831 * elf/tst-initordera1.c: New file.
41832 * elf/tst-initordera2.c: New file.
41833 * elf/tst-initordera3.c: New file.
41834 * elf/tst-initordera4.c: New file.
41835 * elf/tst-initorderb1.c: New file.
41836 * elf/tst-initorderb2.c: New file.
41837 * elf/tst-order-a1.c: New file.
41838 * elf/tst-order-a2.c: New file.
41839 * elf/tst-order-a3.c: New file.
41840 * elf/tst-order-a4.c: New file.
41841 * elf/tst-order-b1.c: New file.
41842 * elf/tst-order-b2.c: New file.
41843 * elf/tst-order-main.c: New file.
41844 New test case by George Gensure <werkt0@gmail.com>.
41846 2010-10-01 Andreas Schwab <schwab@redhat.com>
41848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41849 decoding ACE if AI_CANONIDN.
41851 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41853 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41855 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41857 * version.h (RELEASE): Bump for 2.13 release.
41858 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41860 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41862 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41864 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41869 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41871 * posix/getconf.c: Update copyright year.
41872 * catgets/gencat.c: Likewise.
41873 * csu/version.c: Likewise.
41874 * debug/catchsegv.sh: Likewise.
41875 * debug/xtrace.sh: Likewise.
41876 * elf/ldconfig.c: Likewise.
41877 * elf/ldd.bash.in: Likewise.
41878 * elf/sprof.c (print_version): Likewise.
41879 * iconv/iconv_prog.c: Likewise.
41880 * iconv/iconvconfig.c: Likewise.
41881 * locale/programs/locale.c: Likewise.
41882 * locale/programs/localedef.c: Likewise.
41883 * malloc/memusage.sh: Likewise.
41884 * malloc/mtrace.pl: Likewise.
41885 * nscd/nscd.c (print_version): Likewise.
41886 * nss/getent.c: Likewise.
41888 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41889 PF_CAIF, and PF_ALG.
41890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41892 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41894 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41895 (modules-names): Use them.
41896 (ifunc-test-modules, ifunc-pie-tests): Define.
41897 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41898 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41899 (test-extras): Likewise.
41900 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41901 $(compile-command.c).
41902 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41903 (all-built-dso): Define.
41904 (check-textrel.out, check-execstack.out): Depend on it.
41906 * configure.in: Don't override --enable-multi-arch.
41908 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41911 * nscd/hstcache.c (tryagain): Define.
41912 (cache_addhst): Return tryagain not notfound for temporary errors.
41913 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41916 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41920 to make the syscall.
41921 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41924 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41925 and fall back to matching as normal character if the string ends before
41926 the matching ']' is found. This is what POSIX requires.
41927 * posix/testfnm.c: Adjust test result.
41928 * posix/globtest.sh: Adjust test result. Add new test.
41929 * posix/tst-fnmatch.input: Likewise.
41930 * posix/tst-fnmatch2.c: Add new test.
41932 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41934 * elf/Makefile (check-execstack): Revert last change. Depend on
41936 (check-execstack.h): New target.
41937 (generated): Add check-execstack.h.
41938 * elf/check-execstack.c: Include "check-execstack.h".
41939 (main): Revert last change.
41940 (handle_file): Return zero if GNU_STACK is absent and
41941 DEFAULT_STACK_PERMS doesn't include PF_X.
41943 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41945 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41946 in child fails because the descriptor is already closed.
41947 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41948 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41949 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41952 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41956 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41957 temporary buffer used to handle multi lookups locally.
41958 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41960 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41962 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41965 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41967 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41968 alignment for SSE2.
41970 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41973 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41974 characters. When rounding increased number of integer digits recompute
41976 * stdio-common/tst-grouping.c: New file.
41977 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41979 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41981 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41982 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41984 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41986 * bits/select.h: Likewise.
41988 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41990 * po/ja.po: Update from translation team.
41992 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41995 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41996 implementation just like for lxstat, fxstatat, et al.
41998 2010-12-27 Jim Meyering <meyering@redhat.com>
42001 * posix/regexec.c (build_trtable): Return failure indication upon
42002 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42004 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42007 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42008 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42009 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42013 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42016 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42017 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42019 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42021 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42022 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42023 script has SORT_BY_INIT_PRIORITY.
42024 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42025 NO_CTORS_DTORS_SECTIONS is defined.
42026 * elf/soinit.c: Likewise.
42027 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42028 NO_CTORS_DTORS_SECTIONS is defined.
42029 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42030 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42031 * sysdeps/sh/init-first.c: Likewise.
42032 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42034 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42036 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42037 always use the slow path.
42039 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42041 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42042 similar rule which adds the sysdep directories to the header search in
42043 order to pick up the correct platform stackinfo.h.
42044 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42045 perform test if it is, otherwise return successfully without testing.
42046 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42047 DEFAULT_STACK_PERMS define in stackinfo.h.
42048 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42049 defined in stackinfo.h.
42050 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42051 DEFAULT_STACK_PERMS defined in stackinfo.h.
42052 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42053 * sysdeps/ia64/stackinfo.h: Likewise.
42054 * sysdeps/s390/stackinfo.h: Likewise.
42055 * sysdeps/sh/stackinfo.h: Likewise.
42056 * sysdeps/sparc/stackinfo.h: Likewise.
42057 * sysdeps/x86_64/stackinfo.h: Likewise.
42058 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42059 PF_X for powerpc64. Retain PF_X for powerpc32.
42061 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42063 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42065 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42066 GETDENTS_64BIT_ALIGNED.
42068 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42070 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42072 2010-12-10 Andreas Schwab <schwab@redhat.com>
42074 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42077 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42078 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42080 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42081 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42083 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42086 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42089 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42091 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42093 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42095 * po/it.po: Update from translation team.
42097 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42102 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42104 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42106 2010-11-24 Andreas Schwab <schwab@redhat.com>
42108 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42110 (gaih_getanswer_slice): Likewise.
42112 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42116 2010-05-31 Petr Baudis <pasky@suse.cz>
42119 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42120 silently even in the chroot mode.
42122 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42125 last patch a bit. Pretty printing
42127 2010-05-31 Petr Baudis <pasky@suse.cz>
42130 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42131 initialization of skip_initgroups_dyn.
42133 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42135 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42138 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42140 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42142 2010-11-11 Andreas Schwab <schwab@redhat.com>
42144 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42145 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42146 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42147 ($(objpfx)tst-fnmatch-mem): New rule.
42148 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42149 * posix/tst-fnmatch.c (main): Call mtrace.
42151 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42154 Support Intel processor model 6 and model 0x2c.
42156 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42158 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42161 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42164 * string/test-strncasecmp.c (check_result): New function.
42165 (do_one_test): Use it.
42166 (check1): New function.
42167 (test_main): Use it.
42168 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42169 Support strcasecmp and strncasecmp.
42171 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42174 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42177 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42179 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42183 * sysdeps/x86_64/multiarch/bzero.S: New file.
42184 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42185 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42186 * sysdeps/x86_64/multiarch/memset.S: New file.
42187 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42189 Set bit_Prefer_SSE_for_memop for Intel processors.
42190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42192 (index_Prefer_SSE_for_memop): Define.
42193 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42195 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42197 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42198 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42200 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42203 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42204 (__x86_64_raw_data_cache_size_half): Likewise.
42205 (__x86_64_raw_shared_cache_size): Likewise.
42206 (__x86_64_raw_shared_cache_size_half): Likewise.
42208 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42209 (__x86_64_raw_data_cache_size_half): Likewise.
42210 (__x86_64_raw_shared_cache_size): Likewise.
42211 (__x86_64_raw_shared_cache_size_half): Likewise.
42212 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42213 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42214 and __x86_64_raw_shared_cache_size_half. Round
42215 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42216 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42217 to multiple of 256 bytes.
42219 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42223 of inacessible symlinks. Verify result of symlink before returning it.
42224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42225 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42227 2010-10-28 Erich Ritz <erichritz@gmail.com>
42229 * math/math.h (isinf): Fix typo in comment.
42231 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42233 * po/da.po: Update from translation team.
42235 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42237 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42238 is added to the list.
42240 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42241 Ulrich Drepper <drepper@gmail.com>
42243 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42244 the global list here. Move code to...
42245 (_dl_add_to_namespace_list): ...here. New function.
42246 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42247 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42248 * elf/dl-load.c (lose): Don't remove the element from the list.
42249 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42250 (_dl_map_object): Likewise.
42252 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42255 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42256 into all bytes of SSE register.
42257 Patch by Richard Li <richardpku@gmail.com>.
42259 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42262 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42265 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42267 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42268 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42269 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42275 2010-10-22 Andreas Schwab <schwab@redhat.com>
42277 * include/dlfcn.h (__RTLD_SECURE): Define.
42278 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42279 mode & __RTLD_SECURE instead.
42280 (open_path): Rename preloaded parameter to secure.
42281 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42282 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42283 * elf/dl-deps.c (openaux): Likewise.
42284 * elf/rtld.c (struct map_args): Remove is_preloaded.
42285 (map_doit): Don't use it.
42286 (dl_main): Likewise.
42287 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42288 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42290 2010-09-09 Andreas Schwab <schwab@redhat.com>
42292 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42293 (sysd-rules-targets): Remove duplicates.
42294 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42295 rtld-%.$o dependency.
42297 2010-10-18 Andreas Schwab <schwab@redhat.com>
42299 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42300 _dl_map_object do it.
42302 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42304 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42305 fast fma builtins, define the macros in the C99 standard.
42306 (FP_FAST_FMAF): Likewise.
42307 (FP_FAST_FMAL): Likewise.
42308 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42310 * bits/mathdef.h: Update copyright year.
42311 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42313 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42315 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42316 builtins, define the macros in the C99 standard.
42317 (FP_FAST_FMAF): Likewise.
42318 (FP_FAST_FMAL): Likewise.
42319 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42321 (FP_FAST_FMAF): Likewise.
42323 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42326 * math/libm-test.inc (fma_test): Some new testcases.
42327 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42329 y and infinite z. Do multiplication by C already in long double.
42330 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42332 y and infinite z. Do bitwise or of inexact bit into u.d.
42333 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42334 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42335 * sysdeps/i386/fpu/s_fma.S: Removed.
42336 * sysdeps/i386/fpu/s_fmal.S: Removed.
42338 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42341 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42343 computation is not scheduled after fetestexcept. Fix value
42344 of minimum denormal long double.
42346 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42349 * math/libm-test.inc (fma_test): Add some more tests.
42350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42353 2010-10-15 Andreas Schwab <schwab@redhat.com>
42355 * scripts/data/localplt-s390-linux-gnu.data: New file.
42356 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42358 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42361 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42362 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42364 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42366 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42368 if one of x and y is very large and the other is subnormal.
42369 * sysdeps/s390/fpu/s_fmaf.c: New file.
42370 * sysdeps/s390/fpu/s_fma.c: New file.
42371 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42372 * sysdeps/powerpc/fpu/s_fma.S: New file.
42373 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42374 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42375 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42377 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42380 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42382 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42383 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42384 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42385 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42386 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42387 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42390 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42393 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42394 * posix/bug-regex31.input: Add test case.
42396 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42398 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42399 * posix/bug-regex31.input: New file.
42402 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42403 (parse_sub_exp): Fix last change, use postorder.
42405 * posix/bug-regex31.c: New file.
42406 * posix/Makefile: Add rules to build and run bug-regex31.
42408 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42411 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42414 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42415 to have entries in sys_siglist.
42418 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42421 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42424 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42425 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42426 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42427 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42428 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42429 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42430 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42431 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42432 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42433 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42434 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42435 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42436 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42437 * math/ftestexcept.c (fetestexcept): Likewise.
42438 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42439 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42440 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42441 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42442 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42443 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42446 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42449 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42452 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42454 * string/bug-strstr1.c: New file.
42455 * string/Makefile: Add rules to build and run bug-strstr1.
42457 2010-10-05 Eric Blake <eblake@redhat.com>
42460 * string/str-two-way.h (two_way_long_needle): Always clear memory
42461 when skipping input due to the shift table.
42463 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42466 * malloc/mcheck.c: Handle large requests.
42469 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42470 for strncmp and strncasecmp.
42471 * string/stratcliff.c: Add tests for strcmp and strncmp.
42472 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42474 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42476 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42479 2010-09-30 Andreas Jaeger <aj@suse.de>
42481 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42482 (CGROUP_SUPER_MAGIC): Define.
42483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42484 Handle btrfs and cgroup file systems.
42485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42488 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42490 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42491 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42493 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42496 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42497 trying to locate the ELF header.
42499 2010-09-27 Andreas Schwab <schwab@redhat.com>
42502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42503 Mask out sign-bit copies when constructing f_fsid.
42505 2010-09-24 Petr Baudis <pasky@suse.cz>
42507 * debug/stack_chk_fail_local.c: Add missing licence exception.
42508 * debug/warning-nop.c: Likewise.
42510 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42513 implementing getdents64 using getdents syscall, set d_type if
42514 __ASSUME_GETDENTS32_D_TYPE.
42516 2010-09-16 Andreas Schwab <schwab@redhat.com>
42518 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42519 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42521 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42524 * posix/unistd.h: Undo change of feature selection for ftruncate from
42527 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42529 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42532 2010-09-20 Andreas Schwab <schwab@redhat.com>
42534 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42538 2010-09-14 Andreas Schwab <schwab@redhat.com>
42540 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42541 variables after CHECK_SP call.
42542 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42544 2010-09-13 Andreas Schwab <schwab@redhat.com>
42545 Ulrich Drepper <drepper@redhat.com>
42547 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42548 re-relocationg ld.so.
42549 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42550 _dl_init_paths call.
42551 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42554 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42556 * resolv/res_init.c (__res_vinit): Count the default server we added.
42558 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42559 Ulrich Drepper <drepper@redhat.com>
42562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42563 (____longjmp_chk): Use %ebx for saving value across system call.
42566 2010-09-06 Andreas Schwab <schwab@redhat.com>
42568 * manual/Makefile: Don't mix pattern rules with normal rules.
42570 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42572 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42574 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42575 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42576 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42577 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42581 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42584 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42585 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42587 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42589 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42590 * sysdeps/x86_64/addmul_1.S: Likewise.
42591 * sysdeps/x86_64/lshift.S: Likewise.
42592 * sysdeps/x86_64/mul_1.S: Likewise.
42593 * sysdeps/x86_64/rshift.S: Likewise.
42594 * sysdeps/x86_64/sub_n.S: Likewise.
42595 * sysdeps/x86_64/submul_1.S: Likewise.
42597 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42599 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42600 Define __sched_param instead of SCHED_* and sched_param when
42601 <bits/sched.h> is included with __need_schedparam defined.
42602 * bits/sched.h [__need_schedparam]
42603 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42604 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42605 (__defined_schedparam): Define to 1.
42606 (__sched_param): New structure, identical to sched_param.
42607 (__need_schedparam): Undefine.
42609 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42611 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42612 (epoll_create1): Declare.
42614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42616 2010-08-31 Andreas Schwab <schwab@redhat.com>
42619 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42620 shifting retval into place.
42622 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42624 * nis/rpcsvc/nis.h: Update copyright notice.
42625 * nis/rpcsvc/nis.x: Likewise.
42626 * nis/rpcsvc/nis_callback.h: Likewise.
42627 * nis/rpcsvc/nis_callback.x: Likewise.
42628 * nis/rpcsvc/nis_object.x: Likewise.
42629 * nis/rpcsvc/nis_tags.h: Likewise.
42630 * nis/rpcsvc/yp.h: Likewise.
42631 * nis/rpcsvc/yp.x: Likewise.
42632 * nis/rpcsvc/ypupd.h: Likewise.
42633 * nis/yp_xdr.c: Likewise.
42634 * nis/ypupdate_xdr.c: Likewise.
42636 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42637 mainly the body of pmap_getport. Add parameters to specify timeouts.
42638 (pmap_getport): Use __libc_rpc_getport.
42639 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42640 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42641 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42643 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42648 2010-08-27 Roland McGrath <roland@redhat.com>
42650 * sysdeps/i386/i686/multiarch/Makefile
42651 (CFLAGS-varshift.c): New variable.
42653 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42655 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42656 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42660 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42662 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42664 * sysdeps/x86_64/strlen.S: Unroll the loop.
42665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42666 strlen-sse2 strlen-sse2-bsf.
42667 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42668 __strlen_no_bsf if bit_Slow_BSF is set.
42669 (__strlen_sse42): Removed.
42670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42671 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42673 2010-08-25 Roland McGrath <roland@redhat.com>
42675 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42676 * sysdeps/x86_64/multiarch/varshift.c: New file.
42677 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42678 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42679 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42680 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42682 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42685 strlen-sse2 strlen-sse2-bsf.
42686 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42687 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42688 (__strlen_sse2): Removed.
42689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42692 bit_Slow_BSF for Atom.
42693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42694 (index_Slow_BSF): Define.
42695 (HAS_SLOW_BSF): Define.
42697 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42700 * resolv/res_init.c (__res_vinit): When no server address at all
42701 is given default to loopback.
42703 2010-08-24 Roland McGrath <roland@redhat.com>
42705 * configure.in: Remove config-name.h generation.
42706 * configure: Regenerated.
42707 * config-name.in: File removed.
42708 * scripts/config-uname.sh: New file.
42709 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42710 ($(objdir)config-name.h): New target.
42712 * sunrpc/rpc_parse.h: Avoid nested comment.
42714 2010-08-24 Richard Henderson <rth@redhat.com>
42715 Ulrich Drepper <drepper@redhat.com>
42716 H.J. Lu <hongjiu.lu@intel.com>
42718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42720 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42721 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42722 _mm_alignr_epi8 with _mm_loadu_si128.
42723 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42724 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42725 (__m128i_shift_right): Removed.
42726 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42727 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42728 * sysdeps/x86_64/multiarch/varshift.h: New file.
42729 * sysdeps/x86_64/multiarch/varshift.S: New file.
42731 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42733 * configure.in: Move assembler checks to before sysdep dir checking.
42735 2010-08-20 Petr Baudis <pasky@suse.cz>
42737 * LICENSES: Sync the sunrpc license.
42739 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42741 * sunrpc/auth_des.c: Update copyright notice once again.
42742 * sunrpc/auth_none.c: Likewise.
42743 * sunrpc/auth_unix.c: Likewise.
42744 * sunrpc/authdes_prot.c: Likewise.
42745 * sunrpc/authuxprot.c: Likewise.
42746 * sunrpc/bindrsvprt.c: Likewise.
42747 * sunrpc/clnt_gen.c: Likewise.
42748 * sunrpc/clnt_perr.c: Likewise.
42749 * sunrpc/clnt_raw.c: Likewise.
42750 * sunrpc/clnt_simp.c: Likewise.
42751 * sunrpc/clnt_tcp.c: Likewise.
42752 * sunrpc/clnt_udp.c: Likewise.
42753 * sunrpc/clnt_unix.c: Likewise.
42754 * sunrpc/des_crypt.c: Likewise.
42755 * sunrpc/des_soft.c: Likewise.
42756 * sunrpc/get_myaddr.c: Likewise.
42757 * sunrpc/getrpcport.c: Likewise.
42758 * sunrpc/key_call.c: Likewise.
42759 * sunrpc/key_prot.c: Likewise.
42760 * sunrpc/openchild.c: Likewise.
42761 * sunrpc/pm_getmaps.c: Likewise.
42762 * sunrpc/pm_getport.c: Likewise.
42763 * sunrpc/pmap_clnt.c: Likewise.
42764 * sunrpc/pmap_prot.c: Likewise.
42765 * sunrpc/pmap_prot2.c: Likewise.
42766 * sunrpc/pmap_rmt.c: Likewise.
42767 * sunrpc/rpc/auth.h: Likewise.
42768 * sunrpc/rpc/auth_unix.h: Likewise.
42769 * sunrpc/rpc/clnt.h: Likewise.
42770 * sunrpc/rpc/des_crypt.h: Likewise.
42771 * sunrpc/rpc/key_prot.h: Likewise.
42772 * sunrpc/rpc/netdb.h: Likewise.
42773 * sunrpc/rpc/pmap_clnt.h: Likewise.
42774 * sunrpc/rpc/pmap_prot.h: Likewise.
42775 * sunrpc/rpc/pmap_rmt.h: Likewise.
42776 * sunrpc/rpc/rpc.h: Likewise.
42777 * sunrpc/rpc/rpc_des.h: Likewise.
42778 * sunrpc/rpc/rpc_msg.h: Likewise.
42779 * sunrpc/rpc/svc.h: Likewise.
42780 * sunrpc/rpc/svc_auth.h: Likewise.
42781 * sunrpc/rpc/types.h: Likewise.
42782 * sunrpc/rpc/xdr.h: Likewise.
42783 * sunrpc/rpc_clntout.c: Likewise.
42784 * sunrpc/rpc_cmsg.c: Likewise.
42785 * sunrpc/rpc_common.c: Likewise.
42786 * sunrpc/rpc_cout.c: Likewise.
42787 * sunrpc/rpc_dtable.c: Likewise.
42788 * sunrpc/rpc_hout.c: Likewise.
42789 * sunrpc/rpc_main.c: Likewise.
42790 * sunrpc/rpc_parse.c: Likewise.
42791 * sunrpc/rpc_parse.h: Likewise.
42792 * sunrpc/rpc_prot.c: Likewise.
42793 * sunrpc/rpc_sample.c: Likewise.
42794 * sunrpc/rpc_scan.c: Likewise.
42795 * sunrpc/rpc_scan.h: Likewise.
42796 * sunrpc/rpc_svcout.c: Likewise.
42797 * sunrpc/rpc_tblout.c: Likewise.
42798 * sunrpc/rpc_util.c: Likewise.
42799 * sunrpc/rpc_util.h: Likewise.
42800 * sunrpc/rpcinfo.c: Likewise.
42801 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42802 * sunrpc/rpcsvc/key_prot.x: Likewise.
42803 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42804 * sunrpc/rpcsvc/mount.x: Likewise.
42805 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42806 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42807 * sunrpc/rpcsvc/rex.x: Likewise.
42808 * sunrpc/rpcsvc/rstat.x: Likewise.
42809 * sunrpc/rpcsvc/rusers.x: Likewise.
42810 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42811 * sunrpc/rpcsvc/spray.x: Likewise.
42812 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42813 * sunrpc/rtime.c: Likewise.
42814 * sunrpc/svc.c: Likewise.
42815 * sunrpc/svc_auth.c: Likewise.
42816 * sunrpc/svc_authux.c: Likewise.
42817 * sunrpc/svc_raw.c: Likewise.
42818 * sunrpc/svc_run.c: Likewise.
42819 * sunrpc/svc_simple.c: Likewise.
42820 * sunrpc/svc_tcp.c: Likewise.
42821 * sunrpc/svc_udp.c: Likewise.
42822 * sunrpc/svc_unix.c: Likewise.
42823 * sunrpc/svcauth_des.c: Likewise.
42824 * sunrpc/xcrypt.c: Likewise.
42825 * sunrpc/xdr.c: Likewise.
42826 * sunrpc/xdr_array.c: Likewise.
42827 * sunrpc/xdr_float.c: Likewise.
42828 * sunrpc/xdr_mem.c: Likewise.
42829 * sunrpc/xdr_rec.c: Likewise.
42830 * sunrpc/xdr_ref.c: Likewise.
42831 * sunrpc/xdr_sizeof.c: Likewise.
42832 * sunrpc/xdr_stdio.c: Likewise.
42834 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42837 2010-08-19 Andreas Schwab <schwab@redhat.com>
42839 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42841 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42843 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42845 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42846 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42847 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42848 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42849 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42850 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42852 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42853 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42854 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42855 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42856 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42858 2010-07-26 Anton Blanchard <anton@samba.org>
42860 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42861 * malloc/arena.c (heap_trim): Likewise.
42863 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42865 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42868 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42870 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42872 * sysdeps/i386/elf/Makefile: New file.
42874 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42876 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42877 from fanotify_init.
42878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42881 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42883 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42885 * sysdeps/multiarch/strcmp.S: Likewise.
42887 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42889 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42890 strncase_l-nonascii.
42891 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42892 Add strncase_l-ssse3.
42893 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42894 * sysdeps/x86_64/strcmp.S: Likewise.
42895 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42896 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42897 * sysdeps/x86_64/strncase.S: New file.
42898 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42899 * sysdeps/x86_64/strncase_l.S: New file.
42900 * string/Makefile (strop-tests): Add strncasecmp.
42901 * string/test-strncasecmp.c: New file.
42903 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42906 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42907 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42909 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42911 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42913 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42915 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42916 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42917 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42919 2010-05-01 Alan Modra <amodra@gmail.com>
42921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42922 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42923 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42924 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42925 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42926 tidying. Don't tail-call __sigjmp_save for static lib.
42927 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42929 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42930 (CALL_MCOUNT): Add eh info, and nop after bl.
42931 (TAIL_CALL_SYSCALL_ERROR): New macro.
42932 (PSEUDO_RET): Use it.
42933 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42934 Correct save location of integer regs and cr.
42935 (_dl_profile_resolve): Correct cr save location. Delete nops
42936 after bl when SHARED. Reduce cfi size a little by better
42937 placement of cfi directives.
42938 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42939 make a stack frame. Instead use parm save area as a temp.
42940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42941 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42943 Don't make a stack frame for parent, use parm save area.
42944 Increase child stack frame to 112 bytes. Don't save unused reg,
42945 and adjust reg usage. Set up cfi on error recovery and
42946 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42948 (__makecontext): Add dummy nop after jump to exit.
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42950 Use correct parm save area and cr save, reduce stack frame.
42951 Correct cfi for possible PSEUDO_RET frame setup.
42952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42953 Branch to local label emitted by PSEUDO_RET rather than
42956 2010-08-12 Andreas Schwab <schwab@redhat.com>
42959 * locale/programs/locale.c (print_assignment): New function.
42960 (show_locale_vars): Use it.
42962 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42964 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42966 (struct statfs64): Likewise.
42967 (_STATFS_F_FLAGS): Define.
42968 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42970 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42971 (ST_VALID): Define locally.
42972 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42973 __statvfs_getflags, use the provided value.
42974 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42975 __ASSUME_STATFS_F_FLAGS.
42977 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42979 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42980 Add sys/fanotify.h.
42981 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42982 fanotify_mask for GLIBC_2.13.
42983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42984 fanotify_init and fanotify_mark.
42985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42986 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42988 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42990 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42991 prlimit64 for GLIBC_2.13.
42992 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42998 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42999 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43002 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43005 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43006 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43008 * nss/Makefile: Add rules to build and run tst-nss-test1.
43009 * shlib-versions: Add entry for libnss_test1.
43010 * nss/nss_test1.c: New file.
43011 * nss/tst-nss-test1.c: New file.
43013 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43014 (__nss_configure_lookup): Set appropriate entry in
43015 __nss_configure_lookup to true.
43016 * nss/nsswitch.h: Define enum with indeces of databases in
43017 databases and __nss_database_custom arrays. Declare
43018 __nss_database_custom.
43019 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43020 to avoid using nscd when custom rules are installed.
43021 * nss/getXXbyYY_r.c: Likewise.
43022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43024 * nss/nss_files/files-parse.c: Whitespace fixes.
43026 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43029 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43030 * posix/fnmatch_loop.c: Likewise.
43032 2010-07-17 Andi Kleen <ak@linux.intel.com>
43034 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43035 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43036 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43037 * Versions.def [GLIBC_2.13]: Add.
43039 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43042 Also fail if tpwd after pwuid call is NULL.
43044 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43046 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43047 when converting to ms.
43049 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43051 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43052 EOPNOTSUPP errors with ENOTTY.
43053 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43054 EOPNOTSUPP errors with ENOTTY.
43056 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43058 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43059 Add strcasecmp_l-ssse3.
43060 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43062 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43063 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43064 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43066 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43068 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43070 * string/Makefile (strop-tests): Add strcasecmp.
43071 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43072 strcasecmp_l-nonascii.
43073 (gen-as-const-headers): Add locale-defines.sym.
43074 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43075 * sysdeps/x86_64/strcasecmp.S: New file.
43076 * sysdeps/x86_64/strcasecmp_l.S: New file.
43077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43078 * sysdeps/x86_64/locale-defines.sym: New file.
43079 * string/test-strcasecmp.c: New file.
43081 * string/test-strcasestr.c: Test both ends of the range of characters.
43082 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43084 2010-07-29 Roland McGrath <roland@redhat.com>
43087 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43089 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43091 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43094 2010-07-27 Andreas Schwab <schwab@redhat.com>
43096 * manual/memory.texi (Malloc Tunable Parameters): Document
43099 2010-07-26 Roland McGrath <roland@redhat.com>
43102 * configure.in (-fgnu89-inline check): Set and substitute
43103 gnu89_inline, not libc_cv_gnu89_inline.
43104 * configure: Regenerated.
43105 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43107 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43109 * string/test-strnlen.c: New file.
43110 * string/Makefile (strop-tests): Add strnlen.
43111 * string/tester.c (test_strnlen): Add a few more test cases.
43112 * string/tst-strlen.c: Better error reporting.
43114 * sysdeps/x86_64/strnlen.S: New file.
43116 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43119 lower-latency instructions.
43121 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43123 * string/test-strcasestr.c: New file.
43124 * string/test-strstr.c: New file.
43125 * string/Makefile (strop-tests): Add strstr and strcasestr.
43126 * string/str-two-way.h: Don't undefine MAX.
43127 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43129 2010-07-21 Andreas Schwab <schwab@redhat.com>
43131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43132 strcasestr-nonascii.
43133 (CFLAGS-strcasestr-nonascii.c): Define.
43134 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43135 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43136 Remove unused attribute.
43138 2010-07-20 Roland McGrath <roland@redhat.com>
43140 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43141 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43142 ld.so.cache was broken. With it, there is no way to disable dsocaps
43143 like LD_HWCAP_MASK can disable hwcaps.
43145 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43147 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43149 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43151 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43152 call in strcasestr.
43153 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43154 __strcasestr_sse42_nonascii.
43155 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43156 strcasestr-nonascii.c.
43157 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43159 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43161 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43162 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43163 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43166 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43168 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43171 2010-07-06 Andreas Schwab <schwab@redhat.com>
43174 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43177 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43180 _PC_PIPE_BUF using F_GETPIPE_SZ.
43182 2010-07-05 Roland McGrath <roland@redhat.com>
43184 * manual/arith.texi (Rounding Functions): Fix rint description
43185 implicit in round description.
43187 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43189 * elf/Makefile: Fix linking for a few tests to make recent linker
43192 2010-06-30 Andreas Schwab <schwab@redhat.com>
43194 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43195 $(common-objpfx)libc_nonshared.a.
43197 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43199 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43200 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43201 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43202 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43203 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43204 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43205 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43206 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43221 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43222 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43223 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43224 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43225 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43226 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43227 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43228 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43229 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43230 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43231 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43232 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43248 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43250 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43251 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43252 * string/memmove.c (memmove): Renamed to ...
43253 (MEMMOVE): ...this. Default to memmove.
43254 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43255 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43258 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43259 mempcpy-ssse3-back memmove-ssse3-back.
43260 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43263 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43264 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43265 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43266 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43267 * sysdeps/x86_64/multiarch/memmove.c: New file.
43268 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43269 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43270 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43271 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43272 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43275 (index_Fast_Copy_Backward): Define.
43276 (HAS_ARCH_FEATURE): Define.
43277 (HAS_FAST_REP_STRING): Define.
43278 (HAS_FAST_COPY_BACKWARD): Define.
43280 2010-06-21 Andreas Schwab <schwab@redhat.com>
43282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43283 Restore proper fallback handling.
43285 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43288 * posix/group_member.c (__group_member): Correct checking loop.
43290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43291 OOM in getpwuid_r correctly. Return error number when the caller
43292 should return, otherwise -1.
43293 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43294 call returning > 0 value.
43295 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43297 2010-06-07 Andreas Schwab <schwab@redhat.com>
43299 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43300 libc_nonshared.a from targets in modules-names.
43302 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43304 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43307 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43314 2010-06-02 Andreas Schwab <schwab@redhat.com>
43316 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43318 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43320 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43329 2010-06-14 Roland McGrath <roland@redhat.com>
43331 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43333 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43335 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43336 __REDIRECT followed by __THROW.
43337 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43338 * posix/getopt.h (getopt): Likewise.
43340 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43342 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43343 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43344 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43346 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43347 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43349 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43351 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43353 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43357 Properly check family and model.
43359 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43361 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43363 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43365 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43367 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43369 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43372 2010-05-19 Andreas Schwab <schwab@redhat.com>
43374 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43377 2010-05-21 Andreas Schwab <schwab@redhat.com>
43379 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43380 and internal_recvmmsg.
43381 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43382 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43383 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43384 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43386 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43387 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43388 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43390 2010-05-20 Andreas Schwab <schwab@redhat.com>
43392 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43394 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43396 POWER7 optimizations.
43397 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43398 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43400 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43402 * version.h: Update for 2.13 development version.
43404 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43406 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43407 exceptions. Return 0.
43409 2010-05-07 Roland McGrath <roland@redhat.com>
43411 * elf/ldconfig.c (main): Add a const.
43413 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43415 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43416 (args_options): Add no-idn option.
43417 (ahosts_keys_int): Add idn_flags to ai_flags.
43418 (parse_option): Handle 'i' option to clear idn_flags.
43420 * malloc/malloc.c (_int_free): Possible race in the most recently
43421 added check. Only act on the data if no current modification
43424 See ChangeLog.17 for earlier changes.