1 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4 Return immediately after lll_futex_wake.
6 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11 (datahead_init_pos): Call datahead_init_common early.
12 (datahead_init_neg): Likewise.
14 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15 datahead_init_neg): New functions.
16 * nscd/aicache.c (addhstaiX): Use them.
17 * nscd/grpcache.c (cache_addgr): Likewise.
18 * nscd/hstcache.c (cache_addhst): Likewise.
19 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20 * nscd/netgroupcache.c (do_notfound): Likewise.
21 (addgetnetgrentX): Likewise.
22 (addinnetgrX): Likewise.
23 * nscd/pwdcache.c (cache_addpw): Likewise.
24 * nscd/servicescache.c (cache_addserv): Likewise.
26 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27 Atsushi Onoe <atsushi@onoe.org>
32 * resolv/res_query.c (__libc_res_nsearch): Return if at least
33 one response is valid.
34 * resolv/res_send.c (send_dg): Check for validity of other
35 response if the current response is a referral.
37 2014-04-29 Steve Ellcey <sellcey@mips.com>
39 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
44 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45 Always divide by positive zero when computing -Inf result.
46 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52 FPSCR if value do not change.
53 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
55 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
56 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
58 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
61 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
63 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
64 * sysdeps/unix/sysv/linux/hppa: Move directory from
65 ports/systeps/unix/sysv/linux/hppa.
66 * README: Update listing for hppa-*-linux-gnu.
68 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
71 * manual/stdio.texi (Hook functions): Fix types of stream hook
74 * socket/sys/socket.h: Fix typo in comment.
76 2014-04-28 Wilco <wdijkstr@arm.com>
78 * sysdeps/arm/fenv_private.h: New file.
79 * sysdeps/arm/math_private.h: New file.
80 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
82 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
84 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
86 (La_x86_64_retval): Likewise.
88 2014-04-24 Ian Bolton <ian.bolton@arm.com>
90 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
91 fpsr if value didn't change.
92 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
93 to fpcr if value didn't change.
94 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
95 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
96 fpsr or fpcr if value didn't change.
97 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
98 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
99 fpcr if value didn't change.
100 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
101 to fpsr if value didn't change.
103 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
105 * nptl/tst-sem3.c: Use test-skeleton.c
106 (main): Rename to do_test. Use return instead of
108 * nptl/tst-sem4.c: Use test-skeleton.c
109 (main): Rename to do_test.
111 2014-04-22 David S. Miller <davem@davemloft.net>
113 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
114 (struct sigaction): New struct member __glibc_reserved0, change
115 type of sa_flags to int.
117 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
119 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
120 (COUNT_LEADING_ZEROS_0): Define for AArch64.
122 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
124 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
125 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
127 2014-04-22 Will Newton <will.newton@linaro.org>
128 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
130 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
131 (__longjmp): Add longjmp and longjmp_target SystemTap
133 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
134 (__sigsetjmp): Add setjmp SystemTap probe.
136 2014-04-17 Carlos O'Donell <carlos@redhat.com>
138 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
141 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
145 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147 * sysdeps/powerpc/fpu/fenv_private.h
148 (libc_feholdexcept_setroundl_ctx): Define to
149 libc_feholdexcept_setround_ppc_ctx.
150 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
151 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
152 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
153 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
155 2014-04-17 Ian Bolton <ian.bolton@arm.com>
157 * sysdeps/aarch64/math-tests.h: New file.
159 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
161 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
164 Check and set bit_AVX2_Usable.
165 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
167 (bit_AVX2): Likewise.
168 (index_AVX2_Usable): Likewise.
169 (CPUID_AVX2): Likewise.
170 (HAS_AVX2): Likewise.
172 2014-04-17 Will Newton <will.newton@linaro.org>
174 * manual/setjmp.texi (System V contexts): Add note that
175 calling setcontext on a context created by a call to a
176 signal handler is undefined. Update text to note that
177 setcontext from a signal handler is possible but not
181 * stdlib/tst-setcontext.c: Include signal.h.
182 (main): Check that the signal stack before and
183 after swapcontext is the same.
185 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
186 Re-implement to restore registers in user code and avoid
187 rt_sigreturn system call.
189 2014-04-17 Wilco <wdijkstr@arm.com>
191 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
192 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
193 * math/test-fenv.c: Skip exception trap tests on targets which only
194 support non-stop mode.
196 2014-04-17 Ian Bolton <ian.bolton@arm.com>
197 Wilco Dijkstra <wilco.dijkstra@arm.com>
199 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
200 (libc_feholdsetround_aarch64_ctx)
201 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
202 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
203 (libc_feresetround_ctx, libc_feresetroundf_ctx)
204 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
205 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
206 (libc_feresetround_noexl_ctx): Define.
208 2014-04-16 Richard Henderson <rth@redhat.com>
210 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
212 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
215 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
216 const from the non-libc, non-ldso copy.
218 * sysdeps/alpha/libm-test-ulps: Regenerate.
220 2014-04-16 Ian Bolton <ian.bolton@arm.com>
221 Wilco Dijkstra <wilco.dijkstra@arm.com>
223 * sysdeps/aarch64/fpu/math_private.h: New file.
225 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
227 * sysdeps/aarch64/libm-test-ulps: Regenerate.
229 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
231 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
232 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
234 Intel MPX bound registers before _dl_profile_fixup.
235 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
236 registers after _dl_profile_fixup. Save and restore bound
237 registers bnd0/bnd1 when calling _dl_call_pltexit.
238 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
239 (LR_BND_OFFSET): Likewise.
240 (LRV_BND0_OFFSET): Likewise.
241 (LRV_BND1_OFFSET): Likewise.
243 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
245 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
247 * sysdeps/mach/hurd/i386/tls.h: ... here.
248 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
249 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
252 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
254 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
256 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
258 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
260 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
263 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
264 * sysdeps/s390/configure: Regenerate.
266 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
269 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
270 Set round-to-nearest internally to reduce error accumulation.
272 2014-04-16 Alan Modra <amodra@gmail.com>
276 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
277 * math/libm-test.inc (frexp_test_data): Add tests.
278 * NEWS: Update fixed bug list.
280 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
282 * benchtests/Makefile: Depend on libraries in build directory.
283 (bench-math): Separate out math tests.
284 (bench-pthread): Separate out pthread tests.
285 (bench): Include math and pthread tests.
287 2014-04-14 Carlos O'Donell <carlos@redhat.com>
290 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
291 _dl_debug_initialize.
293 2014-04-14 Carlos O'Donell <carlos@redhat.com>
295 * configure.ac: Remove SELinux header check.
296 * configure: Regenerate.
297 * nscd/selinux.c (perms): Array of const char* to permission names.
298 (nscd_request_avc_has_perm): Call security_deny_unknown to find
299 default policy. Call string_to_security_class and string_to_av_perm to
300 translate strings. Enforce default policy and call avs_has_perm with
301 results of translated strings.
303 2014-04-13 David S. Miller <davem@davemloft.net>
305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
307 2014-04-12 Allan McRae <allan@archlinux.org>
310 * manual/string.texi (Collation Functions): Fix qsort argument
312 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
314 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
316 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
317 Make the test a no-op if there are no exceptions defined.
319 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
321 * elf/Makefile (tests): make tst-dlopen-aout conditional on
322 enable-hardcoded-path-in-tests
324 2014-04-11 Will Newton <will.newton@linaro.org>
326 * benchtests/Makefile (extra-objs): Add json-lib.o.
327 (bench-func): Tidy up JSON output.
328 * benchtests/bench-skeleton.c: Include json-lib.h.
329 (main): Use JSON library functions to do output of
331 * benchtests/bench-timing-type.c (main): Output the
332 timing type simply, leaving formatting to the user.
333 * benchtests/json-lib.c: New file.
334 * benchtests/json-lib.h: Likewise.
336 2014-04-11 Torvald Riegel <triegel@redhat.com>
339 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
340 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
341 memory barriers. Add comments.
342 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
343 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
344 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
345 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
346 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
347 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
349 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
351 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
352 * sysdeps/s390/s390-64/configure.ac: ... this ...
353 * sysdeps/s390/configure.ac: ... to here.
354 * sysdeps/s390/s390-32/configure: Delete file.
355 * sysdeps/s390/s390-64/configure: Delete file.
356 * sysdeps/s390/configure: Regenerate.
358 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
360 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
362 2014-04-11 Will Newton <will.newton@linaro.org>
364 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
365 to zero if it is not defined elsewhere. (mtrim): Test
366 the value of MALLOC_DEBUG with #if rather than #ifdef.
368 2014-04-10 Torvald Riegel <triegel@redhat.com>
370 * benchtests/pthread_once-inputs: New file.
371 * benchtests/pthread_once-source.c: New file.
372 * benchtests/README: Update documentation.
374 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
375 H.J. Lu <hongjiu.lu@intel.com>
377 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
378 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
379 * sysdeps/x86_64/configure: Regenerated.
380 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
382 (REGISTER_SAVE_RAX): Likewise.
383 (REGISTER_SAVE_RCX): Likewise.
384 (REGISTER_SAVE_RDX): Likewise.
385 (REGISTER_SAVE_RSI): Likewise.
386 (REGISTER_SAVE_RDI): Likewise.
387 (REGISTER_SAVE_R8): Likewise.
388 (REGISTER_SAVE_R9): Likewise.
389 (REGISTER_SAVE_BND0): Likewise.
390 (REGISTER_SAVE_BND1): Likewise.
391 (REGISTER_SAVE_BND2): Likewise.
392 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
393 bound registers when calling _dl_fixup.
395 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
397 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
398 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
400 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
401 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
402 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
403 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
404 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
405 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
406 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
408 2014-04-09 Peter Brett <peter@peter-b.co.uk>
411 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
412 pathconf(_PC_NAME_MAX).
414 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
418 (__PTHREAD_SPINS): Move definition to ...
419 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
420 (__PTHREAD_SPINS): ... here.
421 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
422 (__PTHREAD_SPIN): Likewise.
423 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
424 (__PTHREAD_SPIN): Likewise.
425 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
426 (__PTHREAD_SPIN): Likewise.
427 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
428 (__PTHREAD_SPIN): Likewise.
429 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
430 (__PTHREAD_SPIN): Likewise.
431 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
432 (__PTHREAD_SPIN): Likewise.
433 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
434 (__PTHREAD_SPIN): Likewise.
435 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
436 (__PTHREAD_SPIN): Likewise.
437 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
438 (__PTHREAD_SPIN): Likewise.
439 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
440 (__PTHREAD_SPIN): Likewise.
441 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
442 (__PTHREAD_SPIN): Likewise.
443 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
444 (__PTHREAD_SPIN): Likewise.
446 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
449 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
450 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
451 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
454 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
455 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
456 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
458 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
459 strlen symbol for non multi-arch builds.
460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
461 missing hidden_def and weak_alias.
463 2014-04-08 Carlos O'Donell <carlos@redhat.com>
465 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
467 2014-04-07 Will Newton <will.newton@linaro.org>
469 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
470 and contents. [!_LIBC] Remove #ifndef and contents.
471 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
472 * string/memccpy.c (__memccpy): Use ANSI prototype.
473 * string/memfrob.c (memfrob): Likewise.
474 * string/strcoll.c (STRCOLL): Likewise.
475 * string/strlen.c (strlen): Likewise.
476 * string/strtok.c (STRTOK): Likewise.
477 * string/strcat.c: Remove unused #include of memcopy.h.
478 (strcat): Use ANSI prototype.
479 * string/strchr.c: Remove unused #include of memcopy.h.
480 (strchr): Use ANSI prototype.
481 * string/strcmp.c: Remove unused #include of memcopy.h.
482 (strcmp): Use ANSI prototype.
483 * string/strcpy.c: Remove unused #include of memcopy.h.
484 (strcpy): Use ANSI prototype.
486 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
489 * config.make.in (config-extra-cppflags): Set it from
491 * configure.ac (libc_extra_cflags): Make it accumulate over
493 (libc_extra_cppflags): New flag.
494 * configure. Regenerate.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
496 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
497 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
500 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
504 result for FE_DOWNWARD rounding mode.
505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
511 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
512 in function argument name.
514 2014-04-03 David Svoboda <svoboda@cert.org>
517 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
520 2014-04-03 Roland McGrath <roland@hack.frob.com>
522 * elf/dl-unmap-segments.h: New file.
523 * sysdeps/generic/ldsodefs.h
524 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
525 * elf/dl-close.c: Include <dl-unmap-segments.h>.
526 * elf/dl-fptr.c: Likewise.
527 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
528 * sysdeps/aarch64/tlsdesc.c: Likewise.
529 * sysdeps/arm/tlsdesc.c: Likewise.
530 * sysdeps/i386/tlsdesc.c: Likewise.
531 * sysdeps/tile/dl-runtime.c: Likewise.
532 * sysdeps/x86_64/tlsdesc.c: Likewise.
533 * elf/dl-load.h: New file.
534 * elf/dl-load.c: Include it.
535 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
536 Macros moved to dl-load.h.
537 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
538 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
539 Use _dl_unmap_segments in place of __munmap.
540 Break out segment-mapping loop into ...
541 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
543 2014-04-03 Will Newton <will.newton@linaro.org>
545 * elf/dl-lookup.c (do_lookup_x): Remove comment
546 referring to nested function and move variable
547 declarations down to before first use.
549 2014-04-02 Joseph Myers <joseph@codesourcery.com>
553 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
555 * math/s_catanf.c (__catanf): Likewise.
556 * math/s_catanh.c (__catanh): Likewise.
557 * math/s_catanhf.c (__catanhf): Likewise.
558 * math/s_catanhl.c (__catanhl): Likewise.
559 * math/s_catanl.c (__catanl): Likewise.
560 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
561 by positive zero when computing -Inf result.
562 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
563 (catanh_test): Likewise.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
569 instead of using underflowing value in computing result.
570 * math/s_clog10.c (__clog10): Likewise.
571 * math/s_clog10f.c (__clog10f): Likewise.
572 * math/s_clog10l.c (__clog10l): Likewise.
573 * math/s_clogf.c (__clogf): Likewise.
574 * math/s_clogl.c (__clogl): Likewise.
575 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
576 (clog10_test): Likewise.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580 2014-04-02 Alan Modra <amodra@gmail.com>
583 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
584 output when value is near a power of two. Use int64_t for lx and
585 remove casts. Use decimal rather than hex exponent constants.
586 Don't use long double multiplication when double will suffice.
587 * math/libm-test.inc (nextafter_test_data): Add tests.
588 * NEWS: Add 16739 and 16786 to bug list.
590 2014-04-02 Alan Modra <amodra@gmail.com>
592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
594 2014-04-02 Alan Modra <amodra@gmail.com>
596 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
598 2014-04-01 Will Newton <will.newton@linaro.org>
600 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
601 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
603 2014-04-01 Florian Weimer <fweimer@redhat.com>
606 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
607 * nptl/tst-setuid2.c: New file.
608 * nptl/Makefile (xtests): Add tst-setuid2.
610 2014-04-01 Alan Modra <amodra@gmail.com>
613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
615 2014-03-31 Joseph Myers <joseph@codesourcery.com>
619 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
620 set errno as appropriate.
621 * math/w_scalbf.c (__scalbf): Likewise.
622 * math/w_scalbl.c (__scalbl): Likewise.
623 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
624 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
625 * math/libm-test.inc (scalb_test_data): Add errno expectations.
629 * math/w_atan2.c: Include <errno.h>.
630 (__atan2): Set errno for result underflowing to zero.
631 * math/w_atan2f.c: Include <errno.h>.
632 (__atan2f): Set errno for result underflowing to zero.
633 * math/w_atan2l.c: Include <errno.h>.
634 (__atan2l): Set errno for result underflowing to zero.
635 * math/auto-libm-test-in: Don't allow missing errno for some atan2
637 * math/auto-libm-test-out: Regenerated.
639 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
642 Encode instruction correctly in little endian.
643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
647 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
649 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
652 2014-03-31 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/unix/sysv/linux/kernel-features.h
656 [__sparc__ && !__arch64__ && !__sparc_v9__]
657 (__ASSUME_SET_ROBUST_LIST): Do not define.
658 [__sparc__ && !__arch64__ && !__sparc_v9__]
659 (__ASSUME_FUTEX_LOCK_PI): Likewise.
660 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
663 (__ASSUME_FUTEX_LOCK_PI): Undefine.
664 (__ASSUME_REQUEUE_PI): Likewise.
665 (__ASSUME_SET_ROBUST_LIST): Likewise.
666 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
667 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
674 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
677 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
679 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
680 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
686 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
688 2014-03-31 Will Newton <will.newton@linaro.org>
690 * benchtests/Makefile (bench): Add ffs and ffsll to list
692 * benchtests/ffs-inputs: New file.
693 * benchtests/ffsll-inputs: Likewise.
695 2014-03-29 Joseph Myers <joseph@codesourcery.com>
698 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
699 too large before casting to int.
700 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
701 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
702 * math/libm-test.inc (scalb_test_data): Add more tests.
704 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * benchtests/Makefile (DETAILED_OPT): New make option.
707 (bench-func): Run benchmark program with -d if DETAILED_OPT is
709 * benchtests/bench-skeleton.c: Include stdbool.h.
710 (main): Store and print timings per input.
711 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
712 member to each argument value.
713 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
714 (_print_arg_data): Initialize per-input timing to 0.
716 * benchtests/Makefile (timing-type): New binary.
717 (bench-clean): Also remove bench-timing-type.
718 (bench): New target for timing-type.
719 (bench-func): Print output in JSON format.
720 * benchtests/bench-skeleton.c (main): Print output in JSON
722 * benchtests/bench-timing-type.c: New file.
723 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
724 (TIMING_PRINT_STATS): Remove.
725 * benchtests/scripts/bench.py (_print_arg_data): Store variant
728 * benchtests/bench-modf.c: Remove.
729 * benchtests/modf-inputs: New inputs file.
731 2014-03-28 Joseph Myers <joseph@codesourcery.com>
734 * math/s_clog10.c (M_PI_LOG10E): New macro.
735 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
736 imaginary parts are 0.
737 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
738 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
739 imaginary parts are 0.
740 * math/s_clog10l.c (M_PI_LOG10El): New macro.
741 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
742 imaginary parts are 0.
743 * math/libm-test.inc (clog10_test_data): Update expected results
744 for when real and imaginary parts are 0.
746 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
748 * elf/dl-load.c: Finish conversion of __builtin_expect into
751 2014-03-27 Joseph Myers <joseph@codesourcery.com>
754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
755 1+x for argument with exponent below -67.
756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
758 * math/auto-libm-test-in: Add more tests of exp.
759 * math/auto-libm-test-out: Regenerated.
761 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
764 * inet/getnetgrent_r.c (get_nonempty_val): New function.
765 (nscd_getnetgrent): Use it.
768 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
771 2014-03-27 Andi Kleen <ak@linux.intel.com>
773 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
774 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
775 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
776 Remove out of line section. Use cfi intrinsics.
777 (LLL_STUB_UNWIND_INFO*): Remove.
778 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
779 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
780 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
781 Remove out of line section. Use cfi intrinsics.
782 (LLL_STUB_UNWIND_INFO*): Remove.
784 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
787 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
790 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
792 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
794 2014-03-26 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
799 * math/test-fenv-preserve.c: New file.
800 * math/Makefile (tests): Add test-fenv-preserve.
802 2014-03-26 Will Newton <will.newton@linaro.org>
804 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
806 2014-03-25 Roland McGrath <roland@hack.frob.com>
808 * scripts/versionlist.awk: Partition the version sets and emit all
809 GLIBC_* (sorted) before all others (sorted).
811 2014-03-25 Joseph Myers <joseph@codesourcery.com>
813 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
816 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
821 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
826 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
830 2014-03-25 Andreas Schwab <schwab@suse.de>
832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
833 label to be used after in6ailist is initialized.
835 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
838 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
840 2014-03-25 Joseph Myers <joseph@codesourcery.com>
844 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
846 (fp_formats): Update initializers.
847 (init_fp_formats): Initialize new field.
848 (output_for_one_input_case): Allow underflow for results up to
850 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
851 * math/auto-libm-test-in: Don't mark some underflows from asin and
853 * math/auto-libm-test-out: Regenerated.
854 * sysdeps/i386/fpu/libm-test-ulps: Update.
855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
857 2014-03-25 Andreas Schwab <schwab@suse.de>
859 * libio/Makefile (tst-ftell-partial-wide-ENV)
860 (tst-ftell-active-handler-ENV): Define.
862 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
864 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
866 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
868 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
870 2014-03-24 Joseph Myers <joseph@codesourcery.com>
872 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
873 * sysdeps/x86_64/fpu/multiarch/e_exp.c
874 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
876 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
879 * elf/dl-load.c (open_verify): Add mode parameter.
880 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
881 (open_path): Change from boolean 'secure' to complete flag 'mode'
882 (_dl_map_object): Adjust.
883 * elf/Makefile (tests): Add tst-dlopen-aout.
884 * elf/tst-dlopen-aout.c: New test.
886 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
889 * sysdeps/unix/sysv/linux/s390/bits/stat.h
890 (struct stat): Rename member pad0 to __glibc_reserved0.
892 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
895 * sysdeps/s390/s390-32/bits/wordsize.h
896 (__WORDSIZE32_SIZE_ULONG): New define.
897 * sysdeps/s390/s390-64/bits/wordsize.h
898 (__WORDSIZE32_SIZE_ULONG): Likewise.
899 * sysdeps/generic/stdint.h (SIZE_MAX):
900 Define as UL if __WORDSIZE32_SIZE_ULONG.
902 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
905 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
906 (__glibc_reserved0): New variable.
907 (sa_flags): Change type to int.
909 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
911 * posix/Makefile (before-compile): Use += before-compile instead
914 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
916 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
917 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
919 2014-03-20 Andreas Schwab <schwab@suse.de>
922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
923 non-matching result from nscd.
925 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
927 * scripts/bench.py: Moved to ...
928 * benchtests/scripts/bench.py: ... here.
929 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
931 2014-03-24 Andreas Schwab <schwab@suse.de>
934 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
935 alloca_account and account alloca use for struct in6ailist.
937 2014-03-24 Joseph Myers <joseph@codesourcery.com>
940 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
941 rounding mode to recompute results that overflow to infinity or
943 * math/auto-libm-test-in: Don't mark tests as expected to fail for
945 * math/auto-libm-test-out: Regenerated.
946 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
947 (ccosh_test): Likewise.
948 (csin_test_data): Use plus_oflow.
949 (csin_test): Use ALL_RM_TEST.
950 (csinh_test_data): Use plus_oflow.
951 (csinh_test): Use ALL_RM_TEST.
952 * sysdeps/i386/fpu/libm-test-ulps: Update.
953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
955 2014-03-21 Joseph Myers <joseph@codesourcery.com>
957 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
958 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
959 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
962 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
964 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
965 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
966 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
967 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
969 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
970 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
972 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
973 * sysdeps/i386/fpu/libm-test-ulps: Update.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
978 * scripts/bench.pl: Remove file.
979 * scripts/bench.py: New benchmark script.
980 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
981 * benchtests/README: Mention python dependency.
982 * scripts/pylintrc: New file.
983 * scripts/pylint: New file.
985 * bits/mathdef.h: Use #ifdef instead of #if.
986 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
987 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
988 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
989 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
990 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
991 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
993 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
996 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
998 and strpbrk-ppc64 objects.
999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1001 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1002 multiarch strpbrk for POWER7.
1003 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1004 multiarch strpbrk for PPC64.
1005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1007 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1010 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1012 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1013 (atan_test): Likewise.
1014 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1015 (atanh_test): Use ALL_RM_TEST.
1016 (atan2_test_data): Likewise.
1017 (cabs_test): Likewise.
1018 (cacosh_test): Likewise.
1019 (carg_test): Likewise.
1020 (casin_test): Likewise.
1021 (casinh_test): Likewise.
1022 (cbrt_test): Likewise.
1023 (csqrt_test): Likewise.
1024 (erf_test): Likewise.
1025 (erfc_test): Likewise.
1026 (pow10_test): Likewise.
1027 (exp2_test): Likewise.
1028 (hypot_test): Likewise.
1029 (j0_test): Likewise.
1030 (j1_test): Likewise.
1031 (lgamma_test): Likewise.
1032 (gamma_test): Likewise.
1033 (sincos_test): Likewise.
1034 (tanh_test): Likewise.
1035 (y0_test): Likewise.
1036 (y1_test): Likewise.
1037 * sysdeps/i386/fpu/libm-test-ulps: Update.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1044 and strcspn-ppc64 objects.
1045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1046 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1047 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1048 multiarch strcspn for POWER7.
1049 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1050 multiarch strcspn for PPC64.
1051 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1053 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1056 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1058 * math/gen-libm-test.pl (generate_testfile): Expect only function
1059 name as argument to AUTO_TESTS_* and pass results for all rounding
1060 modes to parse_args.
1061 (parse_auto_input): Separate inputs of automatic tests from
1062 outputs before storing in %auto_tests.
1063 * math/libm-test.inc (acos_test_data): Update call to
1065 (acos_test): Use ALL_RM_TEST.
1066 (acos_tonearest_test_data): Remove.
1067 (acos_test_tonearest): Likewise.
1068 (acos_towardzero_test_data): Likewise.
1069 (acos_test_towardzero): Likewise.
1070 (acos_downward_test_data): Likewise.
1071 (acos_test_downward): Likewise.
1072 (acos_upward_test_data): Likewise.
1073 (acos_test_upward): Likewise.
1074 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1075 (asin_test_data): Likewise.
1076 (asin_test): Use ALL_RM_TEST.
1077 (asin_tonearest_test_data): Remove.
1078 (asin_test_tonearest): Likewise.
1079 (asin_towardzero_test_data): Likewise.
1080 (asin_test_towardzero): Likewise.
1081 (asin_downward_test_data): Likewise.
1082 (asin_test_downward): Likewise.
1083 (asin_upward_test_data): Likewise.
1084 (asin_test_upward): Likewise.
1085 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1086 (atan_test_data): Likewise.
1087 (atanh_test_data): Likewise.
1088 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1089 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1090 (carg_test_data): Likewise.
1091 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1092 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1093 (ccosh_test_data): Likewise.
1094 (cexp_test_data): Likewise.
1095 (clog_test_data): Likewise.
1096 (clog10_test_data): Likewise.
1097 (cos_test_data): Update call to AUTO_TESTS_f_f.
1098 (cos_test): Use ALL_RM_TEST.
1099 (cos_tonearest_test_data): Remove.
1100 (cos_test_tonearest): Likewise.
1101 (cos_towardzero_test_data): Likewise.
1102 (cos_test_towardzero): Likewise.
1103 (cos_downward_test_data): Likewise.
1104 (cos_test_downward): Likewise.
1105 (cos_upward_test_data): Likewise.
1106 (cos_test_upward): Likewise.
1107 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1108 (cosh_test): Use ALL_RM_TEST.
1109 (cosh_tonearest_test_data): Remove.
1110 (cosh_test_tonearest): Likewise.
1111 (cosh_towardzero_test_data): Likewise.
1112 (cosh_test_towardzero): Likewise.
1113 (cosh_downward_test_data): Likewise.
1114 (cosh_test_downward): Likewise.
1115 (cosh_upward_test_data): Likewise.
1116 (cosh_test_upward): Likewise.
1117 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1118 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1119 (ctan_test_data): Likewise.
1120 (ctan_test): Use ALL_RM_TEST.
1121 (ctan_tonearest_test_data): Remove.
1122 (ctan_test_tonearest): Likewise.
1123 (ctan_towardzero_test_data): Likewise.
1124 (ctan_test_towardzero): Likewise.
1125 (ctan_downward_test_data): Likewise.
1126 (ctan_test_downward): Likewise.
1127 (ctan_upward_test_data): Likewise.
1128 (ctan_test_upward): Likewise.
1129 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1130 (ctanh_test): Use ALL_RM_TEST.
1131 (ctanh_tonearest_test_data): Remove.
1132 (ctanh_test_tonearest): Likewise.
1133 (ctanh_towardzero_test_data): Likewise.
1134 (ctanh_test_towardzero): Likewise.
1135 (ctanh_downward_test_data): Likewise.
1136 (ctanh_test_downward): Likewise.
1137 (ctanh_upward_test_data): Likewise.
1138 (ctanh_test_upward): Likewise.
1139 (erf_test_data): Update call to AUTO_TESTS_f_f.
1140 (erfc_test_data): Likewise.
1141 (exp_test_data): Likewise.
1142 (exp_test): Use ALL_RM_TEST.
1143 (exp_tonearest_test_data): Remove.
1144 (exp_test_tonearest): Likewise.
1145 (exp_towardzero_test_data): Likewise.
1146 (exp_test_towardzero): Likewise.
1147 (exp_downward_test_data): Likewise.
1148 (exp_test_downward): Likewise.
1149 (exp_upward_test_data): Likewise.
1150 (exp_test_upward): Likewise.
1151 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1152 (exp10_test): Use ALL_RM_TEST.
1153 (exp10_tonearest_test_data): Remove.
1154 (exp10_test_tonearest): Likewise.
1155 (exp10_towardzero_test_data): Likewise.
1156 (exp10_test_towardzero): Likewise.
1157 (exp10_downward_test_data): Likewise.
1158 (exp10_test_downward): Likewise.
1159 (exp10_upward_test_data): Likewise.
1160 (exp10_test_upward): Likewise.
1161 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1162 (expm1_test_data): Likewise.
1163 (expm1_test): Use ALL_RM_TEST.
1164 (expm1_tonearest_test_data): Remove.
1165 (expm1_test_tonearest): Likewise.
1166 (expm1_towardzero_test_data): Likewise.
1167 (expm1_test_towardzero): Likewise.
1168 (expm1_downward_test_data): Likewise.
1169 (expm1_test_downward): Likewise.
1170 (expm1_upward_test_data): Likewise.
1171 (expm1_test_upward): Likewise.
1172 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1173 (fma_test): Use ALL_RM_TEST.
1174 (fma_towardzero_test_data): Remove.
1175 (fma_test_towardzero): Likewise.
1176 (fma_downward_test_data): Likewise.
1177 (fma_test_downward): Likewise.
1178 (fma_upward_test_data): Likewise.
1179 (fma_test_upward): Likewise.
1180 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1181 (j0_test_data): Update call to AUTO_TESTS_f_f.
1182 (j1_test_data): Likewise.
1183 (jn_test_data): Update call to AUTO_TESTS_if_f.
1184 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1185 (log_test_data): Update call to AUTO_TESTS_f_f.
1186 (log10_test_data): Likewise.
1187 (log1p_test_data): Likewise.
1188 (log2_test_data): Likewise.
1189 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1190 (pow_tonearest_test_data): Likewise.
1191 (sin_test_data): Update call to AUTO_TESTS_f_f.
1192 (sin_test): Use ALL_RM_TEST.
1193 (sin_tonearest_test_data): Remove.
1194 (sin_test_tonearest): Likewise.
1195 (sin_towardzero_test_data): Likewise.
1196 (sin_test_towardzero): Likewise.
1197 (sin_downward_test_data): Likewise.
1198 (sin_test_downward): Likewise.
1199 (sin_upward_test_data): Likewise.
1200 (sin_test_upward): Likewise.
1201 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1202 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1203 (sinh_test): Use ALL_RM_TEST.
1204 (sinh_tonearest_test_data): Remove.
1205 (sinh_test_tonearest): Likewise.
1206 (sinh_towardzero_test_data): Likewise.
1207 (sinh_test_towardzero): Likewise.
1208 (sinh_downward_test_data): Likewise.
1209 (sinh_test_downward): Likewise.
1210 (sinh_upward_test_data): Likewise.
1211 (sinh_test_upward): Likewise.
1212 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1213 (sqrt_test): Use ALL_RM_TEST.
1214 (sqrt_tonearest_test_data): Remove.
1215 (sqrt_test_tonearest): Likewise.
1216 (sqrt_towardzero_test_data): Likewise.
1217 (sqrt_test_towardzero): Likewise.
1218 (sqrt_downward_test_data): Likewise.
1219 (sqrt_test_downward): Likewise.
1220 (sqrt_upward_test_data): Likewise.
1221 (sqrt_test_upward): Likewise.
1222 (tan_test_data): Update call to AUTO_TESTS_f_f.
1223 (tan_test): Use ALL_RM_TEST.
1224 (tan_tonearest_test_data): Remove.
1225 (tan_test_tonearest): Likewise.
1226 (tan_towardzero_test_data): Likewise.
1227 (tan_test_towardzero): Likewise.
1228 (tan_downward_test_data): Likewise.
1229 (tan_test_downward): Likewise.
1230 (tan_upward_test_data): Likewise.
1231 (tan_test_upward): Likewise.
1232 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1233 (tgamma_test_data): Likewise.
1234 (y0_test_data): Likewise.
1235 (y1_test_data): Likewise.
1236 (yn_test_data): Update call to AUTO_TESTS_if_f.
1237 (main): Do not call removed functions.
1239 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1241 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1242 (ldexp_test_data): Remove.
1243 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1245 (scalb_test): Use ALL_RM_TEST.
1247 2014-03-19 Andreas Schwab <schwab@suse.de>
1249 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1251 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1256 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1258 (__ASSUME_PREADV): Undefine.
1259 (__ASSUME_PWRITEV): Likewise.
1261 2014-03-18 Roland McGrath <roland@hack.frob.com>
1263 * bits/mman-linux.h: Add comment about non-Linux use.
1264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1265 bits/mman-linux.h resting place.
1267 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1268 * bits/mman-linux.h: ... here.
1270 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * conform/conformtest.pl: Add standard definition when calling C
1273 preprocessor on data files.
1274 (checknamespace): Remove unused variable.
1276 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1278 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1279 minus_oflow, plus_uflow and minus_uflow in expected results.
1280 * math/libm-test.inc (scalbn_test_data): Add more tests of
1281 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1283 (scalbn_test): Use ALL_RM_TEST.
1284 (scalbln_test_data): Add more tests of negative arguments. Use
1285 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1286 (scalbln_test): Use ALL_RM_TEST.
1288 2014-03-18 Roland McGrath <roland@hack.frob.com>
1290 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1292 2014-03-18 Will Newton <will.newton@linaro.org>
1294 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1297 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1299 * Makerules [!subdir] (check-abi): Exit with error status if a
1302 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1304 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1305 for rint. Include results for all rounding modes.
1306 (nearbyint_test): Use ALL_RM_TEST.
1307 (rint_test_data): Include all tests used for nearbyint.
1309 2014-03-17 Will Newton <will.newton@linaro.org>
1311 * nptl/sysdeps/pthread/pthread.h: Revert previous
1314 * sysdeps/generic/ldsodefs.h: Revert previous
1317 * libio/genops.c: Revert previous change.
1318 * libio/libioP.h: Likewise.
1319 * stdio-common/vfprintf.c: Likewise.
1321 * sysdeps/generic/math_private.h: Revert previous
1324 * sysdeps/generic/math_private.h: Check whether
1325 HAVE_RM_CTX is defined with #ifdef rather
1328 * argp/argp-fmtstream.h: Check whether
1329 __STRICT_ANSI__ is defined with #ifdef rather
1331 * argp/argp.h: Likewise.
1333 * libio/genops.c: Check whether
1334 _IO_JUMPS_OFFSET is defined with #ifdef rather
1336 * libio/libioP.h: Likewise.
1337 * stdio-common/vfprintf.c: Likewise.
1339 * sysdeps/generic/ldsodefs.h: Check whether
1340 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1343 * nptl/sysdeps/pthread/pthread.h: Check
1344 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1347 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1349 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1351 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1355 * libio/fileops.c (_IO_file_open): Seek to end of file but
1356 don't cache the offset.
1357 (get_file_offset): Remove function.
1358 (do_ftell): Use cached offset when available.
1359 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1360 don't cache the offset.
1361 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1363 (do_one_test): Call it.
1364 (do_ftell_test): Fix up expected old offset for a+ mode.
1365 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1368 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1369 up test status with function return status.
1370 (do_write_test): Likewise.
1371 (do_append_test): Likewise.
1373 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1374 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1377 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1379 * math/gen-libm-test.pl (parse_args): Handle results specified for
1380 each rounding mode separately.
1381 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1382 tests and results from lrint_tonearest_test_data,
1383 lrint_towardzero_test_data, lrint_downward_test_data and
1384 lrint_upward_test_data.
1385 (lrint_test): Use ALL_RM_TEST.
1386 (lrint_tonearest_test_data): Remove.
1387 (lrint_test_tonearest): Likewise.
1388 (lrint_towardzero_test_data): Likewise.
1389 (lrint_test_towardzero): Likewise.
1390 (lrint_downward_test_data): Likewise.
1391 (lrint_test_downward): Likewise.
1392 (lrint_upward_test_data): Likewise.
1393 (lrint_test_upward): Likewise.
1394 (llrint_test_data): Merge in per-rounding-mode tests and results
1395 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1396 llrint_downward_test_data and llrint_upward_test_data.
1397 (llrint_test): Use ALL_RM_TEST.
1398 (llrint_tonearest_test_data): Remove.
1399 (llrint_test_tonearest): Likewise.
1400 (llrint_towardzero_test_data): Likewise.
1401 (llrint_test_towardzero): Likewise.
1402 (llrint_downward_test_data): Likewise.
1403 (llrint_test_downward): Likewise.
1404 (llrint_upward_test_data): Likewise.
1405 (llrint_test_upward): Likewise.
1406 (rint_test_data): Merge in per-rounding-mode tests and results
1407 from rint_tonearest_test_data, rint_towardzero_test_data,
1408 rint_downward_test_data and rint_upward_test_data. Add
1409 per-rounding-mode results for tests not in those arrays.
1410 (rint_test): Use ALL_RM_TEST.
1411 (rint_tonearest_test_data): Remove.
1412 (rint_test_tonearest): Likewise.
1413 (rint_towardzero_test_data): Likewise.
1414 (rint_test_towardzero): Likewise.
1415 (rint_downward_test_data): Likewise.
1416 (rint_test_downward): Likewise.
1417 (rint_upward_test_data): Likewise.
1418 (rint_test_upward): Likewise.
1419 (main): Don't call removed functions.
1421 2014-03-14 Roland McGrath <roland@hack.frob.com>
1423 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1424 "Compiled on ..." crapola. It is anti-useful.
1426 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1428 * scripts/evaluate-test.sh: Handle fourth argument to determine
1429 whether test run should stop on failure.
1430 * Makeconfig (stop-on-test-failure): New variable.
1431 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1432 $(stop-on-test-failure).
1433 * Makefile (tests): Give a summary of results from testing and
1434 exit with failure status if they include an ERROR or FAIL.
1436 * manual/install.texi (Configuring and compiling): Mention
1437 stop-on-test-failure=y.
1438 * INSTALL: Regenerated.
1440 2014-03-14 Roland McGrath <roland@hack.frob.com>
1442 * scripts/versionlist.awk: New file.
1443 * Makerules [$(build-shared) = yes]
1444 (postclean-generated): Add Versions.def, not Versions.def.v and
1446 ($(common-objpfx)Versions.def.v.i): Target removed.
1447 ($(common-objpfx)Versions.def): New target.
1448 ($(common-objpfx)Versions.all): Depend on that rather that
1449 $(common-objpfx)Versions.def.v.
1450 * Versions.def: File removed.
1452 * Makeconfig (+gccwarn): Add -Wundef.
1453 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1454 a dl-sysdep.h breaking its contract.
1455 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1456 * include/stackinfo.h: New file.
1457 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1458 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1459 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1460 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1461 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1462 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1463 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1464 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1465 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1466 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1467 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1468 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1469 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1470 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1471 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1473 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1478 * math/libm-test.inc (round_test_data): Add more tests.
1480 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1485 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1487 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1492 * math/libm-test.inc (ceil_test_data): Add more tests.
1494 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496 * math/libm-test.inc (trunc_test_data): Add more tests related to
1499 2014-03-14 Roland McGrath <roland@hack.frob.com>
1501 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1502 with #if rather than #ifdef.
1503 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1505 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1507 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1508 first. Disable AVX-512 GCC support if assembler doesn't support
1510 * sysdeps/x86_64/configure: Regenerated.
1512 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1514 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1515 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1516 (__old_pthread_attr_setstack): Likewise.
1517 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1518 [!_STACK_GROWS_DOWN]: Likewise.
1520 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1522 * config.make.in (have-bash2): Delete.
1523 * configure.ac (libc_cv_have_bash2): Delete.
1524 * configure: Regenerate.
1525 * elf/Makefile (common-ldd-rewrite): Rename to ...
1526 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1527 (sh-ldd-rewrite): Delete.
1528 (bash-ldd-rewrite): Delete.
1529 (have-bash2): Delete checks.
1530 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1532 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1534 * config.make.in (have-ksh): Delete.
1536 * configure.ac (libc_cv_have_ksh): Delete.
1537 * configure: Regenerate.
1539 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1541 * elf/Makefile: Delete $(have-ksh) check.
1542 ($(objpfx)sotruss): Change KSH to BASH.
1543 * elf/sotruss.ksh: Rename to ...
1544 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1545 function style to match POSIX. Drop ksh vim mode setting.
1547 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1549 * manual/time.texi (Specifying the Time Zone with TZ): Change
1550 Tuesday to Thursday.
1552 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1554 * debug/tst-longjmp_chk2.c: Update header comment.
1555 (stackoverflow_handler): Add comment. Call assert on pass value.
1557 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1559 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1560 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1561 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1562 (La_x86_64_vector): Add zmm.
1563 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1564 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1565 ($(objpfx)tst-audit10): New target.
1566 ($(objpfx)tst-audit10.out): Likewise.
1567 (tst-audit10-ENV): New.
1568 (AVX512-CFLAGS): Likewise.
1569 (CFLAGS-tst-audit10.c): Likewise.
1570 (CFLAGS-tst-auditmod10a.c): Likewise.
1571 (CFLAGS-tst-auditmod10b.c): Likewise.
1572 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1573 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1574 * sysdeps/x86_64/configure: Regenerated.
1575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1576 AVX-512 zmm register support.
1577 (_dl_x86_64_save_sse): Likewise.
1578 (_dl_x86_64_restore_sse): Likewise.
1579 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1580 size vector registers.
1581 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1582 (ZMM_SIZE): Likewise.
1583 * sysdeps/x86_64/tst-audit10.c: New file.
1584 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1585 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1587 2014-03-13 Roland McGrath <roland@hack.frob.com>
1589 * configure.ac (HAVE_EHDR_START): New check.
1590 * configure: Regenerated.
1591 * config.h.in (HAVE_EHDR_START): New #undef.
1592 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1593 assuming the lowest-addressed segment maps the start of the file.
1595 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1597 * INSTALL: Regenerated.
1599 2014-03-13 Will Newton <will.newton@linaro.org>
1601 * manual/setjmp.texi (System V contexts): Improve
1602 clarity and grammar of documentation.
1604 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1607 * elf/Makefile (tests): Add tst-pie2.
1608 (tests-pie): Add tst-pie2.
1609 * elf/tst-pie2.c: New file.
1610 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1612 * elf/rtld.c (map_doit): Load executable as lt_executable.
1613 (dl_main): Likewise.
1615 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1619 (__ASSUME_PSELECT): Undefine.
1621 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1625 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1628 selector for static builds.
1630 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1633 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1636 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1639 selector for static builds.
1641 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1643 * sysdeps/mips/math_private.h [__mips_hard_float]
1644 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1645 libc_feresetround_mips_ctx.
1646 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1647 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1648 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1651 * math/s_nextafter.c (__nextafter): Do not return value from
1652 overflowing computation.
1653 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1654 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1657 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1659 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1660 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1662 2014-03-11 Roland McGrath <roland@hack.frob.com>
1664 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1665 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1666 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1667 the new mov targetting sp.
1669 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1673 Define it for static builds as well.
1674 (NO_BZERO_IMPL): Likewise.
1676 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1678 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1679 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1680 multiarch strspn for PPC64.
1681 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1682 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1684 (__libc_ifunc_impl_list): Likewise.
1685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1686 multiarch optimizations
1687 * string/strspn.c (strspn): Using macro to redefine symbol name.
1689 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1690 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1693 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1694 multiarch strncat for PPC64.
1695 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1696 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1698 (__libc_ifunc_impl_list): Likewise.
1699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1700 multiarch optimizations
1702 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1705 * nscd/nscd.service: Make service type forking.
1707 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1710 sign in non default rounding modes.
1711 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1713 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1715 * math/libm-test.inc (ALL_RM_TEST): New macro.
1716 (ceil_test): Use ALL_RM_TEST.
1717 (cimag_test): Likewise.
1718 (conj_test): Likewise.
1719 (copysign_test): Likewise.
1720 (cproj_test): Likewise.
1721 (creal_test): Likewise.
1722 (fabs_test): Likewise.
1723 (floor_test): Likewise.
1724 (fmax_test): Likewise.
1725 (fmin_test): Likewise.
1726 (fmod_test): Likewise.
1727 (fpclassify_test): Likewise.
1728 (frexp_test): Likewise.
1729 (ilogb_test): Likewise.
1730 (isfinite_test): Likewise.
1731 (finite_test): Likewise.
1732 (isgreater_test): Likewise.
1733 (isgreaterequal_test): Likewise.
1734 (isinf_test): Likewise.
1735 (isless_test): Likewise.
1736 (islessequal_test): Likewise.
1737 (islessgreater_test): Likewise.
1738 (isnan_test): Likewise.
1739 (isnormal_test): Likewise.
1740 (issignaling_test): Likewise.
1741 (isunordered_test): Likewise.
1742 (logb_test): Likewise.
1743 (logb_downward_test_data): Remove.
1744 (logb_test_downward): Likewise.
1745 (lround_test): Use ALL_RM_TEST.
1746 (llround_test): Likewise.
1747 (modf_test): Likewise.
1748 (nexttoward_test): Likewise.
1749 (remainder_test): Likewise.
1750 (drem_test): Likewise.
1751 (remainder_tonearest_test_data): Likewise.
1752 (remainder_test_tonearest): Likewise.
1753 (drem_test_tonearest): Likewise.
1754 (remainder_towardzero_test_data): Likewise.
1755 (remainder_test_towardzero): Likewise.
1756 (drem_test_towardzero): Likewise.
1757 (remainder_downward_test_data): Likewise.
1758 (remainder_test_downward): Likewise.
1759 (drem_test_downward): Likewise.
1760 (remainder_upward_test_data): Likewise.
1761 (remainder_test_upward): Likewise.
1762 (drem_test_upward): Likewise.
1763 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1764 (round_test): Use ALL_RM_TEST.
1765 (signbit_test): Likewise.
1766 (trunc_test): Likewise.
1767 (significand_test): Likewise.
1768 (main): Don't call removed functions.
1770 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1773 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1796 (TRAP_TRACE): Likewise.
1797 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1799 (CLD_KILLED): Likewise.
1800 (CLD_DUMPED): Likewise.
1801 (CLD_TRAPPED): Likewise.
1802 (CLD_STOPPED): Likewise.
1803 (CLD_CONTINUED): Likewise.
1804 (POLL_IN): Likewise.
1805 (POLL_OUT): Likewise.
1806 (POLL_MSG): Likewise.
1807 (POLL_ERR): Likewise.
1808 (POLL_PRI): Likewise.
1809 (POLL_HUP): Likewise.
1810 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1812 (ILL_ILLOPN): Likewise.
1813 (ILL_ILLADR): Likewise.
1814 (ILL_ILLTRP): Likewise.
1815 (ILL_PRVOPC): Likewise.
1816 (ILL_PRVREG): Likewise.
1817 (ILL_COPROC): Likewise.
1818 (ILL_BADSTK): Likewise.
1819 (FPE_INTDIV): Likewise.
1820 (FPE_INTOVF): Likewise.
1821 (FPE_FLTDIV): Likewise.
1822 (FPE_FLTOVF): Likewise.
1823 (FPE_FLTUND): Likewise.
1824 (FPE_FLTRES): Likewise.
1825 (FPE_FLTINV): Likewise.
1826 (FPE_FLTSUB): Likewise.
1827 (SEGV_MAPERR): Likewise.
1828 (SEGV_ACCERR): Likewise.
1829 (BUS_ADRALN): Likewise.
1830 (BUS_ADRERR): Likewise.
1831 (BUS_OBJERR): Likewise.
1832 (BUS_MCEERR_AR): Likewise.
1833 (BUS_MCEERR_AO): Likewise.
1834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1835 (TRAP_TRACE): Likewise.
1836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1838 (CLD_KILLED): Likewise.
1839 (CLD_DUMPED): Likewise.
1840 (CLD_TRAPPED): Likewise.
1841 (CLD_STOPPED): Likewise.
1842 (CLD_CONTINUED): Likewise.
1843 (POLL_IN): Likewise.
1844 (POLL_OUT): Likewise.
1845 (POLL_MSG): Likewise.
1846 (POLL_ERR): Likewise.
1847 (POLL_PRI): Likewise.
1848 (POLL_HUP): Likewise.
1849 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1850 (ILL_ILLOPN): Likewise.
1851 (ILL_ILLADR): Likewise.
1852 (ILL_ILLTRP): Likewise.
1853 (ILL_PRVOPC): Likewise.
1854 (ILL_PRVREG): Likewise.
1855 (ILL_COPROC): Likewise.
1856 (ILL_BADSTK): Likewise.
1857 (FPE_INTDIV): Likewise.
1858 (FPE_INTOVF): Likewise.
1859 (FPE_FLTDIV): Likewise.
1860 (FPE_FLTOVF): Likewise.
1861 (FPE_FLTUND): Likewise.
1862 (FPE_FLTRES): Likewise.
1863 (FPE_FLTINV): Likewise.
1864 (FPE_FLTSUB): Likewise.
1865 (SEGV_MAPERR): Likewise.
1866 (SEGV_ACCERR): Likewise.
1867 (BUS_ADRALN): Likewise.
1868 (BUS_ADRERR): Likewise.
1869 (BUS_OBJERR): Likewise.
1870 (BUS_MCEERR_AR): Likewise.
1871 (BUS_MCEERR_AO): Likewise.
1872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1873 (TRAP_TRACE): Likewise.
1874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1876 (CLD_KILLED): Likewise.
1877 (CLD_DUMPED): Likewise.
1878 (CLD_TRAPPED): Likewise.
1879 (CLD_STOPPED): Likewise.
1880 (CLD_CONTINUED): Likewise.
1881 (POLL_IN): Likewise.
1882 (POLL_OUT): Likewise.
1883 (POLL_MSG): Likewise.
1884 (POLL_ERR): Likewise.
1885 (POLL_PRI): Likewise.
1886 (POLL_HUP): Likewise.
1887 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1889 (ILL_ILLOPN): Likewise.
1890 (ILL_ILLADR): Likewise.
1891 (ILL_ILLTRP): Likewise.
1892 (ILL_PRVOPC): Likewise.
1893 (ILL_PRVREG): Likewise.
1894 (ILL_COPROC): Likewise.
1895 (ILL_BADSTK): Likewise.
1896 (ILL_BADIADDR): Likewise.
1897 (ILL_BREAK): Likewise.
1898 (FPE_INTDIV): Likewise.
1899 (FPE_INTOVF): Likewise.
1900 (FPE_FLTDIV): Likewise.
1901 (FPE_FLTOVF): Likewise.
1902 (FPE_FLTUND): Likewise.
1903 (FPE_FLTRES): Likewise.
1904 (FPE_FLTINV): Likewise.
1905 (FPE_FLTSUB): Likewise.
1906 (FPE_DECOVF): Likewise.
1907 (FPE_DECDIV): Likewise.
1908 (FPE_DECERR): Likewise.
1909 (FPE_INVASC): Likewise.
1910 (FPE_INVDEC): Likewise.
1911 (SEGV_MAPERR): Likewise.
1912 (SEGV_ACCERR): Likewise.
1913 (SEGV_PSTKOVF): Likewise.
1914 (BUS_ADRALN): Likewise.
1915 (BUS_ADRERR): Likewise.
1916 (BUS_OBJERR): Likewise.
1917 (BUS_MCEERR_AR): Likewise.
1918 (BUS_MCEERR_AO): Likewise.
1919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1920 (TRAP_TRACE): Likewise.
1921 (TRAP_BRANCH): Likewise.
1922 (TRAP_HWBKPT): Likewise.
1923 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1925 (CLD_KILLED): Likewise.
1926 (CLD_DUMPED): Likewise.
1927 (CLD_TRAPPED): Likewise.
1928 (CLD_STOPPED): Likewise.
1929 (CLD_CONTINUED): Likewise.
1930 (POLL_IN): Likewise.
1931 (POLL_OUT): Likewise.
1932 (POLL_MSG): Likewise.
1933 (POLL_ERR): Likewise.
1934 (POLL_PRI): Likewise.
1935 (POLL_HUP): Likewise.
1936 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1937 (ILL_ILLOPN): Likewise.
1938 (ILL_ILLADR): Likewise.
1939 (ILL_ILLTRP): Likewise.
1940 (ILL_PRVOPC): Likewise.
1941 (ILL_PRVREG): Likewise.
1942 (ILL_COPROC): Likewise.
1943 (ILL_BADSTK): Likewise.
1944 (FPE_INTDIV): Likewise.
1945 (FPE_INTOVF): Likewise.
1946 (FPE_FLTDIV): Likewise.
1947 (FPE_FLTOVF): Likewise.
1948 (FPE_FLTUND): Likewise.
1949 (FPE_FLTRES): Likewise.
1950 (FPE_FLTINV): Likewise.
1951 (FPE_FLTSUB): Likewise.
1952 (SEGV_MAPERR): Likewise.
1953 (SEGV_ACCERR): Likewise.
1954 (BUS_ADRALN): Likewise.
1955 (BUS_ADRERR): Likewise.
1956 (BUS_OBJERR): Likewise.
1957 (BUS_MCEERR_AR): Likewise.
1958 (BUS_MCEERR_AO): Likewise.
1959 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1960 (TRAP_TRACE): Likewise.
1961 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1963 (CLD_KILLED): Likewise.
1964 (CLD_DUMPED): Likewise.
1965 (CLD_TRAPPED): Likewise.
1966 (CLD_STOPPED): Likewise.
1967 (CLD_CONTINUED): Likewise.
1968 (POLL_IN): Likewise.
1969 (POLL_OUT): Likewise.
1970 (POLL_MSG): Likewise.
1971 (POLL_ERR): Likewise.
1972 (POLL_PRI): Likewise.
1973 (POLL_HUP): Likewise.
1974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1975 (ILL_ILLOPN): Likewise.
1976 (ILL_ILLADR): Likewise.
1977 (ILL_ILLTRP): Likewise.
1978 (ILL_PRVOPC): Likewise.
1979 (ILL_PRVREG): Likewise.
1980 (ILL_COPROC): Likewise.
1981 (ILL_BADSTK): Likewise.
1982 (FPE_INTDIV): Likewise.
1983 (FPE_INTOVF): Likewise.
1984 (FPE_FLTDIV): Likewise.
1985 (FPE_FLTOVF): Likewise.
1986 (FPE_FLTUND): Likewise.
1987 (FPE_FLTRES): Likewise.
1988 (FPE_FLTINV): Likewise.
1989 (FPE_FLTSUB): Likewise.
1990 (SEGV_MAPERR): Likewise.
1991 (SEGV_ACCERR): Likewise.
1992 (BUS_ADRALN): Likewise.
1993 (BUS_ADRERR): Likewise.
1994 (BUS_OBJERR): Likewise.
1995 (BUS_MCEERR_AR): Likewise.
1996 (BUS_MCEERR_AO): Likewise.
1997 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1998 (TRAP_TRACE): Likewise.
1999 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2001 (CLD_KILLED): Likewise.
2002 (CLD_DUMPED): Likewise.
2003 (CLD_TRAPPED): Likewise.
2004 (CLD_STOPPED): Likewise.
2005 (CLD_CONTINUED): Likewise.
2006 (POLL_IN): Likewise.
2007 (POLL_OUT): Likewise.
2008 (POLL_MSG): Likewise.
2009 (POLL_ERR): Likewise.
2010 (POLL_PRI): Likewise.
2011 (POLL_HUP): Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2013 (ILL_ILLOPN): Likewise.
2014 (ILL_ILLADR): Likewise.
2015 (ILL_ILLTRP): Likewise.
2016 (ILL_PRVOPC): Likewise.
2017 (ILL_PRVREG): Likewise.
2018 (ILL_COPROC): Likewise.
2019 (ILL_BADSTK): Likewise.
2020 (FPE_INTDIV): Likewise.
2021 (FPE_INTOVF): Likewise.
2022 (FPE_FLTDIV): Likewise.
2023 (FPE_FLTOVF): Likewise.
2024 (FPE_FLTUND): Likewise.
2025 (FPE_FLTRES): Likewise.
2026 (FPE_FLTINV): Likewise.
2027 (FPE_FLTSUB): Likewise.
2028 (SEGV_MAPERR): Likewise.
2029 (SEGV_ACCERR): Likewise.
2030 (BUS_ADRALN): Likewise.
2031 (BUS_ADRERR): Likewise.
2032 (BUS_OBJERR): Likewise.
2033 (BUS_MCEERR_AR): Likewise.
2034 (BUS_MCEERR_AO): Likewise.
2035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2036 (TRAP_TRACE): Likewise.
2037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2039 (CLD_KILLED): Likewise.
2040 (CLD_DUMPED): Likewise.
2041 (CLD_TRAPPED): Likewise.
2042 (CLD_STOPPED): Likewise.
2043 (CLD_CONTINUED): Likewise.
2044 (POLL_IN): Likewise.
2045 (POLL_OUT): Likewise.
2046 (POLL_MSG): Likewise.
2047 (POLL_ERR): Likewise.
2048 (POLL_PRI): Likewise.
2049 (POLL_HUP): Likewise.
2050 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2051 (ILL_ILLOPN): Likewise.
2052 (ILL_ILLADR): Likewise.
2053 (ILL_ILLTRP): Likewise.
2054 (ILL_PRVOPC): Likewise.
2055 (ILL_PRVREG): Likewise.
2056 (ILL_COPROC): Likewise.
2057 (ILL_BADSTK): Likewise.
2058 (ILL_DBLFLT): Likewise.
2059 (ILL_HARDWALL): Likewise.
2060 (FPE_INTDIV): Likewise.
2061 (FPE_INTOVF): Likewise.
2062 (FPE_FLTDIV): Likewise.
2063 (FPE_FLTOVF): Likewise.
2064 (FPE_FLTUND): Likewise.
2065 (FPE_FLTRES): Likewise.
2066 (FPE_FLTINV): Likewise.
2067 (FPE_FLTSUB): Likewise.
2068 (SEGV_MAPERR): Likewise.
2069 (SEGV_ACCERR): Likewise.
2070 (BUS_ADRALN): Likewise.
2071 (BUS_ADRERR): Likewise.
2072 (BUS_OBJERR): Likewise.
2073 (BUS_MCEERR_AR): Likewise.
2074 (BUS_MCEERR_AO): Likewise.
2075 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2076 (TRAP_TRACE): Likewise.
2077 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2079 (CLD_KILLED): Likewise.
2080 (CLD_DUMPED): Likewise.
2081 (CLD_TRAPPED): Likewise.
2082 (CLD_STOPPED): Likewise.
2083 (CLD_CONTINUED): Likewise.
2084 (POLL_IN): Likewise.
2085 (POLL_OUT): Likewise.
2086 (POLL_MSG): Likewise.
2087 (POLL_ERR): Likewise.
2088 (POLL_PRI): Likewise.
2089 (POLL_HUP): Likewise.
2090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2091 (ILL_ILLOPN): Likewise.
2092 (ILL_ILLADR): Likewise.
2093 (ILL_ILLTRP): Likewise.
2094 (ILL_PRVOPC): Likewise.
2095 (ILL_PRVREG): Likewise.
2096 (ILL_COPROC): Likewise.
2097 (ILL_BADSTK): Likewise.
2098 (FPE_INTDIV): Likewise.
2099 (FPE_INTOVF): Likewise.
2100 (FPE_FLTDIV): Likewise.
2101 (FPE_FLTOVF): Likewise.
2102 (FPE_FLTUND): Likewise.
2103 (FPE_FLTRES): Likewise.
2104 (FPE_FLTINV): Likewise.
2105 (FPE_FLTSUB): Likewise.
2106 (SEGV_MAPERR): Likewise.
2107 (SEGV_ACCERR): Likewise.
2108 (BUS_ADRALN): Likewise.
2109 (BUS_ADRERR): Likewise.
2110 (BUS_OBJERR): Likewise.
2111 (BUS_MCEERR_AR): Likewise.
2112 (BUS_MCEERR_AO): Likewise.
2113 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2114 (TRAP_TRACE): Likewise.
2115 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2117 (CLD_KILLED): Likewise.
2118 (CLD_DUMPED): Likewise.
2119 (CLD_TRAPPED): Likewise.
2120 (CLD_STOPPED): Likewise.
2121 (CLD_CONTINUED): Likewise.
2122 (POLL_IN): Likewise.
2123 (POLL_OUT): Likewise.
2124 (POLL_MSG): Likewise.
2125 (POLL_ERR): Likewise.
2126 (POLL_PRI): Likewise.
2127 (POLL_HUP): Likewise.
2128 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2129 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2132 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2133 before #include of <time.h>.
2134 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2135 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2136 (test-xfail-UNIX98/sched.h/conform): Likewise.
2138 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2140 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2141 error absence of trapping exception support.
2142 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2144 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2146 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2147 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2148 * timezone/Makefile (testdata): Move definition above include of
2150 (test-zones): New variable.
2151 (tests-special): Add zone files.
2152 (build-testdata): Use $(evaluate-test).
2154 * elf/Makefile (tests-special): Rename tests to end with .out.
2155 ($(objpfx)noload-mem): Likewise.
2156 ($(objpfx)tst-leaks1-mem): Likewise.
2157 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2158 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2159 $(objpfx)test-iconvconfig.out.
2160 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2161 set -e inside subshell and redirect output to file.
2162 * iconvdata/Makefile (generated): Rename tests to end with .out.
2164 (tests-special): Rename tests to end with .out.
2165 ($(objpfx)mtrace-tst-loading): Likewise.
2166 * intl/Makefile (generated): Likewise.
2167 (tests-special): Likewise.
2168 ($(objpfx)mtrace-tst-gettext): Likewise.
2169 * misc/Makefile (generated): Likewise.
2170 (tests-special): Likewise.
2171 ($(objpfx)tst-error1-mem): Likewise.
2172 * nptl/Makefile (tests-special): Likewise.
2173 ($(objpfx)tst-stack3-mem): Likewise.
2174 (generated): Likewise.
2175 * posix/Makefile (generated): Likewise.
2176 (tests-special): Likewise.
2177 (xtests-special): Likewise.
2178 ($(objpfx)tst-fnmatch-mem): Likewise.
2179 ($(objpfx)bug-regex2-mem): Likewise.
2180 ($(objpfx)bug-regex14-mem): Likewise.
2181 ($(objpfx)bug-regex21-mem): Likewise.
2182 ($(objpfx)bug-regex31-mem): Likewise.
2183 ($(objpfx)tst-vfork3-mem): Likewise.
2184 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2185 ($(objpfx)tst-pcre-mem): Likewise.
2186 ($(objpfx)tst-boost-mem): Likewise.
2187 ($(objpfx)bug-ga2-mem): Likewise.
2188 ($(objpfx)bug-glob2-mem): Likewise.
2189 * resolv/Makefile (generate): Likewise.
2190 (tests-special): Likewise.
2191 (xtests-special): Likewise.
2192 (generated): Likewise.
2193 ($(objpfx)mtrace-tst-leaks): Likewise.
2194 ($(objpfx)mtrace-tst-leaks2): Likewise.
2196 * scripts/merge-test-results.sh: New file.
2197 * Makefile (tests-special-notdir): New variable.
2198 (tests): Run merge-test-results.sh.
2200 * Rules (tests-special-notdir): New variable.
2201 (xtests-special-notdir): Likewise.
2202 (tests): Run merge-test-results.sh
2205 * Makeconfig (test-xfail-name): New variable.
2206 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2207 compute variable name for expected failures.
2208 * conform/Makefile (conformtest-headers-data): New variable.
2209 (conformtest-standards): Likewise.
2210 (conformtest-headers-ISO): Likewise.
2211 (conformtest-headers-ISO99): Likewise.
2212 (conformtest-headers-ISO11): Likewise.
2213 (conformtest-headers-POSIX): Likewise.
2214 (conformtest-headers-XPG3): Likewise.
2215 (conformtest-headers-XPG4): Likewise.
2216 (conformtest-headers-UNIX98): Likewise.
2217 (conformtest-headers-XOPEN2K): Likewise.
2218 (conformtest-headers-POSIX2008): Likewise.
2219 (conformtest-headers-XOPEN2K8): Likewise.
2220 (conformtest-header-list-base): Likewise.
2221 (conformtest-header-list-tests): Likewise.
2222 (conformtest-header-base): Likewise.
2223 (conformtest-header-tests): Likewise.
2224 (tests-special): Add $(conformtest-header-list-tests). If
2225 [$(fast-check) && !$(cross-compiling)], add
2226 $(conformtest-header-tests) instead of
2227 $(objpfx)run-conformtest.out.
2228 (generated): Add $(conformtest-header-list-base). If
2229 [$(fast-check) && !$(cross-compiling)], add
2230 $(conformtest-header-base). Remove previous setting.
2231 ($(conformtest-header-list-tests)): New target.
2232 (test-xfail-run-conformtest): Remove variable.
2233 ($(objpfx)run-conformtest.out): Remove target.
2234 (test-xfail-ISO11/complex.h/conform): New variable.
2235 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2236 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2237 (test-xfail-XPG3/varargs.h/conform): Likewise.
2238 (test-xfail-XPG4/varargs.h/conform): Likewise.
2239 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2240 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2241 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2242 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2243 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2244 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2245 (test-xfail-XPG3/ftw.h/conform): Likewise.
2246 (test-xfail-XPG3/grp.h/conform): Likewise.
2247 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2248 (test-xfail-XPG3/limits.h/conform): Likewise.
2249 (test-xfail-XPG3/pwd.h/conform): Likewise.
2250 (test-xfail-XPG3/search.h/conform): Likewise.
2251 (test-xfail-XPG3/signal.h/conform): Likewise.
2252 (test-xfail-XPG3/stdio.h/conform): Likewise.
2253 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2254 (test-xfail-XPG3/string.h/conform): Likewise.
2255 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2256 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2257 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2258 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2259 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2260 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2261 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2262 (test-xfail-XPG3/termios.h/conform): Likewise.
2263 (test-xfail-XPG3/time.h/conform): Likewise.
2264 (test-xfail-XPG3/unistd.h/conform): Likewise.
2265 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2266 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2267 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2268 (test-xfail-XPG4/netdb.h/conform): Likewise.
2269 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2270 (test-xfail-XPG4/signal.h/conform): Likewise.
2271 (test-xfail-XPG4/stdio.h/conform): Likewise.
2272 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2273 (test-xfail-XPG4/stropts.h/conform): Likewise.
2274 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2275 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2276 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2277 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2278 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2279 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2280 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2281 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2282 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2283 (test-xfail-XPG4/termios.h/conform): Likewise.
2284 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2285 (test-xfail-XPG4/unistd.h/conform): Likewise.
2286 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2287 (test-xfail-POSIX/sched.h/conform): Likewise.
2288 (test-xfail-POSIX/signal.h/conform): Likewise.
2289 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2290 (test-xfail-POSIX/tar.h/conform): Likewise.
2291 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2292 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2293 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2294 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2295 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2296 (test-xfail-UNIX98/sched.h/conform): Likewise.
2297 (test-xfail-UNIX98/signal.h/conform): Likewise.
2298 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2299 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2300 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2301 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2302 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2303 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2304 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2305 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2306 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2307 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2308 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2309 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2310 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2311 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2312 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2313 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2314 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2315 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2316 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2317 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2318 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2319 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2329 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2330 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2331 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2332 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2333 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2334 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2335 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2336 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2337 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2338 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2339 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2340 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2341 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2342 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2343 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2344 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2345 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2346 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2347 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2348 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2349 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2350 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2357 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2358 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2359 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2360 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2361 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2362 (conformtest-cc-flags): Likewise.
2363 ($(conformtest-header-tests): New target.
2364 * conform/check-header-lists.sh: New file.
2365 * conform/run-conformtest.sh: Remove.
2367 * conform/conformtest.pl: Allow ' and \ in values given for
2369 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2371 [POSIX] (sys/types.h): Likewise.
2372 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2374 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2376 * conform/data/signal.h-data (SIGIO): Remove expectation.
2377 [XPG3] (SIGBUS): Do not expect.
2378 [POSIX || XPG3] (SIGPOLL): Likewise.
2379 [POSIX || XPG3] (SIGPROF): Likewise.
2380 [POSIX || XPG3] (SIGSYS): Likewise.
2381 [XPG3] (SIGTRAP): Likewise.
2382 [POSIX || XPG3] (SIGURG): Likewise.
2383 [POSIX || XPG3] (SIGVTALRM): Likewise.
2384 [POSIX || XPG3] (SIGXCPU): Likewise.
2385 [POSIX || XPG3] (SIGXFSZ): Likewise.
2386 [POSIX] (SA_SIGINFO): Expect.
2387 [XPG3] (siginfo_t): Do not expect type or contents.
2388 [POSIX] (si_pid): Do not expect element.
2389 [POSIX] (si_uid): Likewise.
2390 [POSIX] (si_addr): Likewise.
2391 [POSIX] (si_status): Likewise.
2392 [POSIX] (si_band): Likewise.
2393 [XPG4] (si_value): Likewise.
2394 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2395 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2396 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2397 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2398 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2399 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2400 [POSIX || XPG3] (ILL_COPROC): Likewise.
2401 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2402 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2403 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2404 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2405 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2406 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2407 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2408 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2409 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2410 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2411 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2412 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2413 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2414 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2415 [POSIX || XPG3] (CLD_EXITED): Likewise.
2416 [POSIX || XPG3] (CLD_KILLED): Likewise.
2417 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2418 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2419 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2420 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2421 [POSIX || XPG3] (POLL_IN): Likewise.
2422 [POSIX || XPG3] (POLL_OUT): Likewise.
2423 [POSIX || XPG3] (POLL_MSG): Likewise.
2424 [POSIX || XPG3] (POLL_ERR): Likewise.
2425 [POSIX || XPG3] (POLL_PRI): Likewise.
2426 [POSIX || XPG3] (POLL_HUP): Likewise.
2427 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2428 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2429 (SIG*): Do not allow.
2430 [XPG3] (si_*): Likewise.
2431 [XPG3] (SI_*): Likewise.
2432 [XPG3 || XPG4] (sigev_*): Likewise.
2433 [XPG3 || XPG4] (SIGEV_*): Likewise.
2434 [XPG3 || XPG4] (sival_*): Likewise.
2435 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2436 [POSIX || XPG3] (BUS_*): Likewise.
2437 [POSIX || XPG3] (CLD_*): Likewise.
2438 [POSIX || XPG3] (FPE_*): Likewise.
2439 [POSIX || XPG3] (ILL_*): Likewise.
2440 [POSIX || XPG3] (POLL_*): Likewise.
2441 [POSIX || XPG3] (SEGV_*): Likewise.
2442 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2443 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2444 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2445 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2446 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2447 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2448 Specify type and value.
2449 (TVERSLEN): Likewise.
2450 (REGTYPE): Likewise.
2451 (AREGTYPE): Likewise.
2452 (LNKTYPE): Likewise.
2453 (SYMTYPE): Likewise.
2454 (CHRTYPE): Likewise.
2455 (BLKTYPE): Likewise.
2456 (DIRTYPE): Likewise.
2457 (FIFOTYPE): Likewise.
2458 (CONTTYPE): Likewise.
2463 (TUWRITE): Likewise.
2466 (TGWRITE): Likewise.
2469 (TOWRITE): Likewise.
2471 [POSIX] (TSVTX): Expect constant.
2473 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2475 * Makefile (tests): Change dependencies to ....
2476 (tests-special): ... additions to this variable.
2477 (tests): Depend on $(tests-special).
2478 * Makerules (check-abi-list): New variable.
2479 (check-abi): Depend on $(check-abi-list).
2480 [$(subdir) = elf] (tests-special): Add
2481 $(objpfx)check-abi-libc.out.
2482 [$(build-shared) = yes && subdir] (tests-special): Add
2484 [$(build-shared) = yes && subdir] (tests): Do not depend on
2486 * Rules (tests): Depend on $(tests-special).
2487 (xtests): Depend on $(xtests-special).
2488 * catgets/Makefile (tests): Change dependencies to ....
2489 (tests-special): ... additions to this variable.
2490 * conform/Makefile (tests): Change dependencies to ....
2491 (tests-special): ... additions to this variable.
2492 * elf/Makefile (tests): Change dependencies to ....
2493 (tests-special): ... additions to this variable.
2494 * grp/Makefile (tests): Change dependencies to ....
2495 (tests-special): ... additions to this variable.
2496 * iconv/Makefile (xtests): Change dependencies to ....
2497 (xtests-special): ... additions to this variable.
2498 * iconvdata/Makefile (tests): Change dependencies to ....
2499 (tests-special): ... additions to this variable.
2500 * intl/Makefile (tests): Change dependencies to ....
2501 (tests-special): ... additions to this variable. Also add
2502 $(objpfx)tst-gettext.out.
2503 * io/Makefile (tests): Change dependencies to ....
2504 (tests-special): ... additions to this variable.
2505 * libio/Makefile (tests): Change dependencies to ....
2506 (tests-special): ... additions to this variable.
2507 * malloc/Makefile (tests): Change dependencies to ....
2508 (tests-special): ... additions to this variable.
2509 * misc/Makefile (tests): Change dependencies to ....
2510 (tests-special): ... additions to this variable.
2511 * nptl/Makefile (tests): Change dependencies to ....
2512 (tests-special): ... additions to this variable.
2513 * nptl_db/Makefile (tests): Change dependencies to ....
2514 (tests-special): ... additions to this variable.
2515 * posix/Makefile (tests): Change dependencies to ....
2516 (tests-special): ... additions to this variable.
2517 (xtests): Change dependencies to ....
2518 (xtests-special): ... additions to this variable.
2519 * resolv/Makefile (tests): Change dependencies to ....
2520 (tests-special): ... additions to this variable.
2521 (xtests): Change dependencies to ....
2522 (xtests-special): ... additions to this variable.
2523 * stdio-common/Makefile (tests): Change dependencies to ....
2524 (tests-special): ... additions to this variable.
2525 (do-tst-unbputc): Remove target.
2526 (do-tst-printf): Likewise.
2527 * stdlib/Makefile (tests): Change dependencies to ....
2528 (tests-special): ... additions to this variable.
2529 * string/Makefile (tests): Change dependencies to ....
2530 (tests-special): ... additions to this variable.
2531 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2532 (tests-special): ... additions to this variable.
2534 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2536 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2538 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2539 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2541 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2542 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2543 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2544 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2545 * conform/data/libgen.h-data [XPG3]: Likewise.
2546 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2547 * conform/data/ndbm.h-data [XPG3]: Likewise.
2548 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2549 * conform/data/netdb.h-data [XPG3]: Likewise.
2550 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2551 * conform/data/poll.h-data [XPG3]: Likewise.
2552 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2553 * conform/data/strings.h-data [XPG3]: Likewise.
2554 * conform/data/stropts.h-data [XPG3]: Likewise.
2555 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2556 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2557 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2559 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2560 * conform/data/sys/time.h-data [XPG3]: Likewise.
2561 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2562 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2563 * conform/data/sys/un.h-data [XPG3]: Likewise.
2564 * conform/data/syslog.h-data [XPG3]: Likewise.
2565 * conform/data/ucontext.h-data [XPG3]: Likewise.
2566 * conform/data/utmpx.h-data [XPG3]: Likewise.
2567 * conform/data/varargs.h-data [UNIX98]: Enable file.
2569 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2571 * math/libm-test.inc (struct test_f_f_data): Move expected results
2572 into structure for each rounding mode.
2573 (struct test_ff_f_data): Likewise.
2574 (struct test_ff_f_data_nexttoward): Likewise.
2575 (struct test_fi_f_data): Likewise.
2576 (struct test_fl_f_data): Likewise.
2577 (struct test_if_f_data): Likewise.
2578 (struct test_fff_f_data): Likewise.
2579 (struct test_c_f_data): Likewise.
2580 (struct test_f_f1_data): Likewise.
2581 (struct test_fF_f1_data): Likewise.
2582 (struct test_ffI_f1_data): Likewise.
2583 (struct test_c_c_data): Likewise.
2584 (struct test_cc_c_data): Likewise.
2585 (struct test_f_i_data): Likewise.
2586 (struct test_ff_i_data): Likewise.
2587 (struct test_f_l_data): Likewise.
2588 (struct test_f_L_data): Likewise.
2589 (struct test_fFF_11_data): Likewise.
2591 (RM_FE_DOWNWARD): Likewise.
2592 (RM_FE_TONEAREST): Likewise.
2593 (RM_FE_TOWARDZERO): Likewise.
2594 (RM_FE_UPWARD): Likewise.
2595 (RUN_TEST_LOOP_f_f): Update references to expected results.
2596 (RUN_TEST_LOOP_2_f): Likewise.
2597 (RUN_TEST_LOOP_fff_f): Likewise.
2598 (RUN_TEST_LOOP_c_f): Likewise.
2599 (RUN_TEST_LOOP_f_f1): Likewise.
2600 (RUN_TEST_LOOP_fF_f1): Likewise.
2601 (RUN_TEST_LOOP_fI_f1): Likewise.
2602 (RUN_TEST_LOOP_ffI_f1): Likewise.
2603 (RUN_TEST_LOOP_c_c): Likewise.
2604 (RUN_TEST_LOOP_cc_c): Likewise.
2605 (RUN_TEST_LOOP_f_i): Likewise.
2606 (RUN_TEST_LOOP_f_i_tg): Likewise.
2607 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2608 (RUN_TEST_LOOP_f_b): Likewise.
2609 (RUN_TEST_LOOP_f_b_tg): Likewise.
2610 (RUN_TEST_LOOP_f_l): Likewise.
2611 (RUN_TEST_LOOP_f_L): Likewise.
2612 (RUN_TEST_LOOP_fFF_11): Likewise.
2613 * math/gen-libm-test.pl (parse_args): Output four copies of
2614 expected results for each test.
2616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2617 (__ASSUME_UTIMES): Remove.
2618 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2619 (__ASSUME_UTIMES): Likewise.
2621 * math/gen-auto-libm-tests.c: Update comment on output format.
2622 (output_for_one_input_case): Generate before-rounding and
2623 after-rounding information as conditions on output flags not
2624 floating-point format.
2625 * math/auto-libm-test-out: Regenerated.
2626 * math/gen-libm-test.pl (cond_value): New function.
2627 (or_cond_value): Use cond_value.
2628 (generate_testfile): Handle conditional exceptions.
2630 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2632 * math/libm-test.inc (max_valid_error): New variable.
2633 (init_max_error): Take new argument specifying whether function
2634 results are exactly determined. Set max_valid_error and bound
2635 other variables for errors based on this argument.
2636 (set_max_error): Do not record results above max_valid_error.
2637 (check_float_internal): Only accept errors of up to 0.5ulps if
2638 also at most max_valid_error.
2639 (START): Take new argument EXACT and pass it to init_max_error.
2640 (acos_test): Update call to START.
2641 (acos_test_tonearest): Likewise.
2642 (acos_test_towardzero): Likewise.
2643 (acos_test_downward): Likewise.
2644 (acos_test_upward): Likewise.
2645 (acosh_test): Likewise.
2646 (asin_test): Likewise.
2647 (asin_test_tonearest): Likewise.
2648 (asin_test_towardzero): Likewise.
2649 (asin_test_downward): Likewise.
2650 (asin_test_upward): Likewise.
2651 (asinh_test): Likewise.
2652 (atan_test): Likewise.
2653 (atanh_test): Likewise.
2654 (atan2_test): Likewise.
2655 (cabs_test): Likewise.
2656 (cacos_test): Likewise.
2657 (cacosh_test): Likewise.
2658 (carg_test): Likewise.
2659 (casin_test): Likewise.
2660 (casinh_test): Likewise.
2661 (catan_test): Likewise.
2662 (catanh_test): Likewise.
2663 (cbrt_test): Likewise.
2664 (ccos_test): Likewise.
2665 (ccosh_test): Likewise.
2666 (ceil_test): Likewise.
2667 (cexp_test): Likewise.
2668 (cimag_test): Likewise.
2669 (clog_test): Likewise.
2670 (clog10_test): Likewise.
2671 (conj_test): Likewise.
2672 (copysign_test): Likewise.
2673 (cos_test): Likewise.
2674 (cos_test_tonearest): Likewise.
2675 (cos_test_towardzero): Likewise.
2676 (cos_test_downward): Likewise.
2677 (cos_test_upward): Likewise.
2678 (cosh_test): Likewise.
2679 (cosh_test_tonearest): Likewise.
2680 (cosh_test_towardzero): Likewise.
2681 (cosh_test_downward): Likewise.
2682 (cosh_test_upward): Likewise.
2683 (cpow_test): Likewise.
2684 (cproj_test): Likewise.
2685 (creal_test): Likewise.
2686 (csin_test): Likewise.
2687 (csinh_test): Likewise.
2688 (csqrt_test): Likewise.
2689 (ctan_test): Likewise.
2690 (ctan_test_tonearest): Likewise.
2691 (ctan_test_towardzero): Likewise.
2692 (ctan_test_downward): Likewise.
2693 (ctan_test_upward): Likewise.
2694 (ctanh_test): Likewise.
2695 (ctanh_test_tonearest): Likewise.
2696 (ctanh_test_towardzero): Likewise.
2697 (ctanh_test_downward): Likewise.
2698 (ctanh_test_upward): Likewise.
2699 (erf_test): Likewise.
2700 (erfc_test): Likewise.
2701 (exp_test): Likewise.
2702 (exp_test_tonearest): Likewise.
2703 (exp_test_towardzero): Likewise.
2704 (exp_test_downward): Likewise.
2705 (exp_test_upward): Likewise.
2706 (exp10_test): Likewise.
2707 (exp10_test_tonearest): Likewise.
2708 (exp10_test_towardzero): Likewise.
2709 (exp10_test_downward): Likewise.
2710 (exp10_test_upward): Likewise.
2711 (pow10_test): Likewise.
2712 (exp2_test): Likewise.
2713 (expm1_test): Likewise.
2714 (expm1_test_tonearest): Likewise.
2715 (expm1_test_towardzero): Likewise.
2716 (expm1_test_downward): Likewise.
2717 (expm1_test_upward): Likewise.
2718 (fabs_test): Likewise.
2719 (fdim_test): Likewise.
2720 (floor_test): Likewise.
2721 (fma_test): Likewise.
2722 (fma_test_towardzero): Likewise.
2723 (fma_test_downward): Likewise.
2724 (fma_test_upward): Likewise.
2725 (fmax_test): Likewise.
2726 (fmin_test): Likewise.
2727 (fmod_test): Likewise.
2728 (fpclassify_test): Likewise.
2729 (frexp_test): Likewise.
2730 (hypot_test): Likewise.
2731 (ilogb_test): Likewise.
2732 (isfinite_test): Likewise.
2733 (finite_test): Likewise.
2734 (isgreater_test): Likewise.
2735 (isgreaterequal_test): Likewise.
2736 (isinf_test): Likewise.
2737 (isless_test): Likewise.
2738 (islessequal_test): Likewise.
2739 (islessgreater_test): Likewise.
2740 (isnan_test): Likewise.
2741 (isnormal_test): Likewise.
2742 (issignaling_test): Likewise.
2743 (isunordered_test): Likewise.
2744 (j0_test): Likewise.
2745 (j1_test): Likewise.
2746 (jn_test): Likewise.
2747 (ldexp_test): Likewise.
2748 (lgamma_test): Likewise.
2749 (gamma_test): Likewise.
2750 (lrint_test): Likewise.
2751 (lrint_test_tonearest): Likewise.
2752 (lrint_test_towardzero): Likewise.
2753 (lrint_test_downward): Likewise.
2754 (lrint_test_upward): Likewise.
2755 (llrint_test): Likewise.
2756 (llrint_test_tonearest): Likewise.
2757 (llrint_test_towardzero): Likewise.
2758 (llrint_test_downward): Likewise.
2759 (llrint_test_upward): Likewise.
2760 (log_test): Likewise.
2761 (log10_test): Likewise.
2762 (log1p_test): Likewise.
2763 (log2_test): Likewise.
2764 (logb_test): Likewise.
2765 (logb_test_downward): Likewise.
2766 (lround_test): Likewise.
2767 (llround_test): Likewise.
2768 (modf_test): Likewise.
2769 (nearbyint_test): Likewise.
2770 (nextafter_test): Likewise.
2771 (nexttoward_test): Likewise.
2772 (pow_test): Likewise.
2773 (pow_test_tonearest): Likewise.
2774 (pow_test_towardzero): Likewise.
2775 (pow_test_downward): Likewise.
2776 (pow_test_upward): Likewise.
2777 (remainder_test): Likewise.
2778 (drem_test): Likewise.
2779 (remainder_test_tonearest): Likewise.
2780 (drem_test_tonearest): Likewise.
2781 (remainder_test_towardzero): Likewise.
2782 (drem_test_towardzero): Likewise.
2783 (remainder_test_downward): Likewise.
2784 (drem_test_downward): Likewise.
2785 (remainder_test_upward): Likewise.
2786 (drem_test_upward): Likewise.
2787 (remquo_test): Likewise.
2788 (rint_test): Likewise.
2789 (rint_test_tonearest): Likewise.
2790 (rint_test_towardzero): Likewise.
2791 (rint_test_downward): Likewise.
2792 (rint_test_upward): Likewise.
2793 (round_test): Likewise.
2794 (scalb_test): Likewise.
2795 (scalbn_test): Likewise.
2796 (scalbln_test): Likewise.
2797 (signbit_test): Likewise.
2798 (sin_test): Likewise.
2799 (sin_test_tonearest): Likewise.
2800 (sin_test_towardzero): Likewise.
2801 (sin_test_downward): Likewise.
2802 (sin_test_upward): Likewise.
2803 (sincos_test): Likewise.
2804 (sinh_test): Likewise.
2805 (sinh_test_tonearest): Likewise.
2806 (sinh_test_towardzero): Likewise.
2807 (sinh_test_downward): Likewise.
2808 (sinh_test_upward): Likewise.
2809 (sqrt_test): Likewise.
2810 (sqrt_test_tonearest): Likewise.
2811 (sqrt_test_towardzero): Likewise.
2812 (sqrt_test_downward): Likewise.
2813 (sqrt_test_upward): Likewise.
2814 (tan_test): Likewise.
2815 (tan_test_tonearest): Likewise.
2816 (tan_test_towardzero): Likewise.
2817 (tan_test_downward): Likewise.
2818 (tan_test_upward): Likewise.
2819 (tanh_test): Likewise.
2820 (tgamma_test): Likewise.
2821 (trunc_test): Likewise.
2822 (y0_test): Likewise.
2823 (y1_test): Likewise.
2824 (yn_test): Likewise.
2825 (significand_test): Likewise.
2827 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2828 individual tests in comment.
2829 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2830 (prev_max_error): New variable.
2831 (prev_real_max_error): Likewise.
2832 (prev_imag_max_error): Likewise.
2833 (compare_ulp_data): Don't refer to test names in comment.
2834 (find_test_ulps): Remove function.
2835 (find_function_ulps): Likewise.
2836 (find_complex_function_ulps): Likewise.
2837 (init_max_error): Take function name as argument. Look up ulps
2839 (print_ulps): Remove function.
2840 (print_max_error): Use prev_max_error instead of calling
2842 (print_complex_max_error): Use prev_real_max_error and
2843 prev_imag_max_error instead of calling find_complex_function_ulps.
2844 (check_float_internal): Take max_ulp parameter instead of calling
2845 find_test_ulps. Don't call print_ulps.
2846 (check_float): Update call to check_float_internal.
2847 (check_complex): Update calls to check_float_internal.
2848 (START): Pass argument to init_max_error.
2849 * math/gen-libm-test.pl (%results): Don't include "kind"
2851 (parse_ulps): Don't handle ulps of individual tests.
2852 (print_ulps_file): Likewise.
2853 (output_ulps): Likewise.
2854 * math/README.libm-test: Update.
2855 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2857 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2858 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2859 * sysdeps/arm/libm-test-ulps: Likewise.
2860 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2861 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2862 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2863 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2864 * sysdeps/microblaze/libm-test-ulps: Likewise.
2865 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2866 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2868 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2869 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2870 * sysdeps/sh/libm-test-ulps: Likewise.
2871 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2872 * sysdeps/tile/libm-test-ulps: Likewise.
2873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2875 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2877 * math/libm-test.inc (print_complex_max_error): Check separately
2878 whether real and imaginary errors are within allowed range and
2879 pass 0 to print_complex_function_ulps instead of value within
2882 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2884 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2886 (get_handles_fopen): Likewise.
2887 (do_write_test): Likewise.
2889 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2891 * libio/fileops.c (do_ftell): Use cached offset when
2893 * libio/iofwide.c (do_ftell_wide): Likewise.
2894 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2896 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2899 * libio/libioP.h (get_file_offset): New function.
2900 * libio/fileops.c (get_file_offset): Likewise.
2901 (do_ftell): Likewise.
2902 (_IO_new_file_seekoff): Split out ftell logic.
2903 * libio/wfileops.c (do_ftell_wide): Likewise.
2904 (_IO_wfile_seekoff): Split out ftell logic.
2905 * libio/tst-ftell-active-handler.c: New test case.
2906 * libio/Makefile (tests): Add it.
2908 2014-03-03 Roland McGrath <roland@hack.frob.com>
2910 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2911 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2913 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2916 * nscd/connections.c (nscd_init): Call do_exit.
2917 (start_threads): Call do_exit and notify_parent.
2918 (begin_drop_privileges): Call do_exit.
2919 (finish_drop_privileges): Likewise.
2920 * nscd/selinux.c (preserve_capabilities): Likewise.
2921 (install_real_capabilities): Likewise.
2922 (nscd_selinux_enabled): Likewise.
2923 (avc_create_thread): Likewise.
2924 (avc_alloc_lock): Likewise.
2925 (nscd_avc_init): Likewise.
2926 * nscd/nscd.c (parent_fd): New static variable.
2927 (main): Create a pipe between parent and child processes.
2928 Skip closing parent_fd.
2929 (monitor_child): New function.
2930 (do_exit): Likewise.
2931 (notify_parent): Likewise.
2932 * nscd/nscd.h (notify_parent): Likewise.
2933 (do_exit): Likewise.
2935 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2937 * malloc/malloc.c (__libc_calloc): Revert last change.
2939 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2943 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2945 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2949 (__libc_ifunc_impl_list): Likewise.
2950 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2951 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2952 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2953 * string/strrchr.c: Define STRRCHR.
2955 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2957 * benchtest/bench-strtok.c (simple_strtok): Delete.
2958 (strtok_string): Use as benchmark.
2959 * string/strtok (STRTOK): New macro.
2961 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2963 * manual/threads.texi: Add header and standard comments to all
2966 * elf/dl-lookup.c (check_match): New function.
2967 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2968 (do_lookup_x): Remove nested function check_match. Use non-nested
2969 function check_match.
2971 2014-02-28 Roland McGrath <roland@hack.frob.com>
2973 * csu/Makefile (generated, before-compile): Use += rather than =.
2974 * catgets/Makefile (generated, generated-dirs): Likewise.
2975 * debug/Makefile (generated): Likewise.
2976 * dlfcn/Makefile (generated): Likewise.
2977 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2978 * iconvdata/Makefile (before-compile, generated): Likewise.
2979 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2980 * libio/Makefile (generated): Likewise.
2981 * malloc/Makefile (generated): Likewise.
2982 * manual/Makefile (generated, generated-dirs): Likewise.
2983 * misc/Makefile (generated): Likewise.
2984 * posix/Makefile (generated): Likewise.
2985 * resolv/Makefile (generated): Likewise.
2986 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2987 * timezone/Makefile (generated, generated-dirs): Likewise.
2989 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2991 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2996 POWER8 llround ifunc implementation.
2997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2998 POWER8 implementation.
2999 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3000 POWER8 llround implementation.
3002 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
3007 POWER8 llrint ifunc implementation.
3008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
3009 POWER8 implementation.
3010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3011 POWER8 llrint implementation.
3013 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
3018 POWER8 finite ifunc implementation.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
3020 POWER8 implementation.
3021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3023 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3024 POWER8 finite implementation.
3025 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3027 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
3031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
3032 POWER8 isinf ifunc implementation.
3033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3034 POWER8 implementation.
3035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
3038 POWER8 isinf implementation.
3039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3041 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
3044 Add hwcap2 initialization.
3045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
3047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
3048 POWER8 isnan ifunc implementation.
3049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3050 POWER8 implementation.
3051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
3054 POWER8 isnan implementation.
3055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3057 2014-02-27 Joey Ye <joey.ye@arm.com>
3059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3060 (_FP_NANFRAC_Q): Set to zero.
3062 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3065 * math/auto-libm-test-in: New test inputs.
3066 * math/auto-libm-test-out: Regenerate.
3067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3072 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3074 * scripts/evaluate-test.sh: Take new argument indicating whether
3075 failure is expected.
3076 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3077 indicating whether failure is expected.
3078 * conform/Makefile (test-xfail-run-conformtest): New variable.
3079 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3081 * posix/Makefile (test-xfail-annexc): New variable.
3082 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3084 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3086 * argp/Makefile: Include Makeconfig immediately after defining
3088 * assert/Makefile: Likewise.
3089 * benchtests/Makefile: Likewise.
3090 * catgets/Makefile: Likewise.
3091 * conform/Makefile: Likewise.
3092 * crypt/Makefile: Likewise.
3093 * csu/Makefile: Likewise.
3094 (all): Remove target.
3095 * ctype/Makefile: Include Makeconfig immediately after defining
3097 * debug/Makefile: Likewise.
3098 * dirent/Makefile: Likewise.
3099 * dlfcn/Makefile: Likewise.
3100 * gmon/Makefile: Likewise.
3101 * gnulib/Makefile: Likewise.
3102 * grp/Makefile: Likewise.
3103 * gshadow/Makefile: Likewise.
3104 * hesiod/Makefile: Likewise.
3105 * hurd/Makefile: Likewise.
3106 (all): Remove target.
3107 * iconvdata/Makefile: Include Makeconfig immediately after
3109 * inet/Makefile: Likewise.
3110 * intl/Makefile: Likewise.
3111 * io/Makefile: Likewise.
3112 * libio/Makefile: Likewise.
3113 (all): Remove target.
3114 * locale/Makefile: Include Makeconfig immediately after defining
3116 * login/Makefile: Likewise.
3117 * mach/Makefile: Likewise.
3118 (all): Remove target.
3119 * malloc/Makefile: Include Makeconfig immediately after defining
3121 (all): Remove target.
3122 * manual/Makefile: Include Makeconfig immediately after defining
3124 * math/Makefile: Likewise.
3125 * misc/Makefile: Likewise.
3126 * nis/Makefile: Likewise.
3127 * nss/Makefile: Likewise.
3128 * po/Makefile: Likewise.
3129 (all): Remove target.
3130 * posix/Makefile: Include Makeconfig immediately after defining
3132 * pwd/Makefile: Likewise.
3133 * resolv/Makefile: Likewise.
3134 * resource/Makefile: Likewise.
3135 * rt/Makefile: Likewise.
3136 * setjmp/Makefile: Likewise.
3137 * shadow/Makefile: Likewise.
3138 * signal/Makefile: Likewise.
3139 * socket/Makefile: Likewise.
3140 * soft-fp/Makefile: Likewise.
3141 * stdio-common/Makefile: Likewise.
3142 * stdlib/Makefile: Likewise.
3143 * streams/Makefile: Likewise.
3144 * string/Makefile: Likewise.
3145 * sunrpc/Makefile: Likewise.
3146 (all): Remove target.
3147 * sysvipc/Makefile: Include Makeconfig immediately after defining
3149 * termios/Makefile: Likewise.
3150 * time/Makefile: Likewise.
3151 * timezone/Makefile: Likewise.
3152 (all): Remove target.
3153 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3155 * wctype/Makefile: Likewise.
3157 2014-02-26 Steve Ellcey <sellcey@mips.com>
3159 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3160 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3161 (libc_feholdexcept_setround_mips): Ditto.
3162 (libc_feholdsetround): New.
3163 (libc_feholdsetroundf): New.
3164 (libc_feholdsetroundl): New.
3165 (libc_feupdateenv_test_mips): New.
3166 (libc_feupdateenv_test): New.
3167 (libc_feupdateenv_testf): New.
3168 (libc_feupdateenv_testl): New.
3169 (libc_feresetround): New.
3170 (libc_feresetroundf): New.
3171 (libc_feresetroundl): New.
3172 (libc_fetestexcept_mips): New.
3173 (libc_fetestexcept): New.
3174 (libc_fetestexceptf): New.
3175 (libc_fetestexceptl): New.
3177 (libc_feholdexcept_setround_mips_ctx): New.
3178 (libc_feholdexcept_setround_ctx): New.
3179 (libc_feholdexcept_setroundf_ctx): New.
3180 (libc_feholdexcept_setroundl_ctx): New.
3181 (libc_fesetenv_mips_ctx): New.
3182 (libc_fesetenv_ctx): New.
3183 (libc_fesetenv_ctxf): New.
3184 (libc_fesetenv_ctxl): New.
3185 (libc_feupdateenv_mips_ctx): New.
3186 (libc_feupdateenv_ctx): New.
3187 (libc_feupdateenvf_ctx): New.
3188 (libc_feupdateenvl_ctx): New.
3189 (libc_feholdsetround_mips_ctx): New.
3190 (libc_feholdsetround_ctx): New.
3191 (libc_feholdsetroundf_ctx): New.
3192 (libc_feholdsetroundl_ctx): New.
3193 (libc_feresetround_mips_ctx): New.
3194 (libc_feresetround_ctx): New.
3195 (libc_feresetroundf_ctx): New.
3196 (libc_feresetroundl_ctx): New.
3198 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3200 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3202 * manual/ipc.texi: New file.
3203 * manual/Makefile (chapters): Add ipc.
3204 * manual/job.texi: Add "Inter-Process Communication" to next.
3205 * manual/process.texi: Add "Inter-Process Communication" to prev.
3207 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3211 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3213 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3215 * manual/arith.texi: Fix spaces after sentences.
3216 * manual/charset.texi: Likewise.
3217 * manual/errno.texi: Likewise.
3218 * manual/install.texi: Likewise.
3219 * manual/llio.texi: Likewise.
3220 * manual/locale.texi: Likewise.
3221 * manual/maint.texi: Likewise.
3222 * manual/math.texi: Likewise.
3223 * manual/memory.texi: Likewise.
3224 * manual/message.texi: Likewise.
3225 * manual/probes.texi: Likewise.
3226 * manual/resource.texi: Likewise.
3227 * manual/signal.texi: Likewise.
3228 * manual/socket.texi: Likewise.
3229 * manual/stdio.texi: Likewise.
3230 * manual/string.texi: Likewise.
3231 * manual/time.texi: Likewise.
3232 * manual/users.texi: Likewise.
3234 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3237 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3238 _DEFAULT_SOURCE is defined.
3240 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3241 Carlos O'Donell <carlos@redhat.com>
3244 * elf/dl-tls.c (_dl_count_modids): New function.
3245 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3246 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3247 audit library and increment generation counter.
3248 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3249 * elf/tst-audit9.c: New file.
3250 * elf/tst-auditmod9a.c: New file.
3251 * elf/tst-auditmod9b.c: New file.
3252 * elf/Makefile: Add rules to build and run tst-audit9.
3254 2014-02-25 Florian Weimer <fweimer@redhat.com>
3257 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3259 2014-02-25 Will Newton <will.newton@linaro.org>
3261 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3262 (__longjmp): Restore sp and lr before restoring callee
3263 saved registers. Add longjmp and longjmp_target
3264 SystemTap probe point.
3265 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3266 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3267 Define to zero to match jmpbuf layout.
3268 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3269 (__sigsetjmp): Save sp and lr before saving callee
3270 saved registers. Add setjmp SystemTap probe point.
3272 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3276 2014-02-24 Andreas Schwab <schwab@suse.de>
3279 * elf/pldd.c (wait_for_ptrace_stop): New function.
3280 (main): Call it after attaching.
3282 2014-02-22 Roland McGrath <roland@hack.frob.com>
3284 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3285 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3286 Versions files is now verboten.
3287 * hurd/Versions (libc: GLIBC_2.0):
3288 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3289 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3290 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3291 * mach/Versions: Likewise.
3293 * csu/Versions: Remove unused %include.
3294 * resolv/Versions: Likewise.
3296 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3298 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3299 ($(objpfx)check-local-headers.out): Likewise.
3300 ($(objpfx)begin-end-check.out): Likewise.
3301 * Makerules (check-abi-%.out): Likewise.
3302 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3303 ($(objpfx)test2.cat): Likewise.
3304 ($(objpfx)de/libc.cat): Likewise.
3305 ($(objpfx)test-gencat.out): Likewise.
3306 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3307 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3308 ($(objpfx)noload-mem): Likewise.
3309 ($(objpfx)tst-pathopt.out): Likewise.
3310 ($(objpfx)tst-rtld-load-self.out): Likewise.
3311 ($(objpfx)tst-array1-cmp.out): Likewise.
3312 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3313 ($(objpfx)tst-array2-cmp.out): Likewise.
3314 ($(objpfx)tst-array3-cmp.out): Likewise.
3315 ($(objpfx)tst-array4-cmp.out): Likewise.
3316 ($(objpfx)tst-array5-cmp.out): Likewise.
3317 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3318 ($(objpfx)check-textrel.out): Likewise.
3319 ($(objpfx)check-execstack.out): Likewise.
3320 ($(objpfx)check-localplt.out): Likewise.
3321 ($(objpfx)order2-cmp.out): Likewise.
3322 ($(objpfx)tst-leaks1-mem): Likewise.
3323 ($(objpfx)tst-leaks1-static-mem): Likewise.
3324 ($(objpfx)tst-initorder-cmp.out): Likewise.
3325 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3326 ($(objpfx)tst-unused-dep.out): Likewise.
3327 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3328 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3329 * iconv/Makefile (test-iconvconfig): Likewise.
3330 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3331 ($(objpfx)iconv-test.out): Likewise.
3332 ($(objpfx)tst-tables.out): Likewise.
3333 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3334 ($(objpfx)tst-gettext.out): Likewise.
3335 ($(objpfx)tst-translit.out): Likewise.
3336 ($(objpfx)tst-gettext2.out): Likewise.
3337 ($(objpfx)tst-gettext4.out): Likewise.
3338 ($(objpfx)tst-gettext6.out): Likewise.
3339 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3340 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3341 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3342 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3343 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3344 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3345 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3346 ($(objpfx)wordexp-tst.out): Likewise.
3347 ($(objpfx)annexc.out): Likewise.
3348 ($(objpfx)tst-fnmatch-mem): Likewise.
3349 ($(objpfx)bug-regex2-mem): Likewise.
3350 ($(objpfx)bug-regex14-mem): Likewise.
3351 ($(objpfx)bug-regex21-mem): Likewise.
3352 ($(objpfx)bug-regex31-mem): Likewise.
3353 ($(objpfx)tst-vfork3-mem): Likewise.
3354 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3355 ($(objpfx)tst-pcre-mem): Likewise.
3356 ($(objpfx)tst-boost-mem): Likewise.
3357 ($(objpfx)tst-getconf.out): Likewise.
3358 ($(objpfx)bug-ga2-mem): Likewise.
3359 ($(objpfx)bug-glob2-mem): Likewise.
3360 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3361 ($(objpfx)mtrace-tst-leaks2): Likewise.
3362 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3363 ($(objpfx)tst-printf.out): Likewise.
3364 ($(objpfx)tst-setvbuf1.out): Likewise.
3365 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3366 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3367 ($(objpfx)tst-fmtmsg.out): Likewise.
3368 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3369 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3371 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3372 * bits/sigaction.h [__USE_MISC]: Likewise.
3373 * bits/waitstatus.h: Update #endif comments.
3374 * ctype/ctype.h: Likewise.
3375 * dirent/dirent.h: Likewise.
3376 [__USE_MISC]: Remove redundant conditionals.
3377 * grp/grp.h: Update #endif comments.
3378 [__USE_GNU]: Remove redundant conditionals.
3379 [__USE_MISC]: Likewise.
3380 * inet/netinet/in.h [__USE_GNU]: Likewise.
3381 * io/sys/stat.h [__USE_MISC]: Likewise.
3382 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3383 * libio/bits/stdio.h: Update #endif comments.
3384 [__USE_MISC]: Remove redundant conditionals.
3385 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3386 * libio/stdio.h: Update #endif comments.
3387 [__USE_MISC]: Remove redundant conditionals.
3388 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3389 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3390 * math/math.h: Update #else and #endif comments.
3391 [__USE_MISC]: Remove redundant conditionals.
3392 * misc/sys/uio.h: Update #endif comments.
3393 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3394 * posix/glob.h [__USE_MISC]: Likewise.
3395 * posix/sys/types.h: Update #endif comments.
3396 [__USE_MISC]: Remove redundant conditionals.
3397 * posix/sys/wait.h: Update #endif comments.
3398 [__USE_MISC]: Remove redundant conditionals.
3399 * posix/unistd.h: Update #endif comments.
3400 [__USE_MISC]: Remove redundant conditionals.
3401 * pwd/pwd.h [__USE_GNU]: Likewise.
3402 [__USE_MISC]: Likewise.
3403 * resolv/netdb.h [__USE_GNU]: Likewise.
3404 * signal/signal.h: Update #endif comments.
3405 [__USE_MISC]: Remove redundant conditionals.
3406 * stdlib/stdlib.h: Update #else and #endif comments.
3407 [__USE_MISC]: Remove redundant conditionals.
3408 [__USE_GNU]: Likewise.
3409 * string/bits/string2.h [__USE_MISC]: Likewise.
3410 * string/string.h: Update #endif comments.
3411 [__USE_MISC]: Remove redundant conditionals.
3412 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3414 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3415 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3416 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3418 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3422 [__USE_MISC]: Remove redundant conditionals.
3423 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3424 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3425 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3426 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3427 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3429 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3430 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3432 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3433 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3435 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3437 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3440 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3442 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3443 * sysdeps/x86/bits/string.h: Update #endif comments.
3444 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3446 * time/sys/time.h: Update #endif comments.
3447 * time/time.h: Likewise.
3448 [__USE_MISC]: Remove redundant conditionals.
3450 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3453 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3455 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3457 * Versions.def (librt): Add GLIBC_2.17.
3459 2014-02-21 Adam Conrad <adconrad@0c3.net>
3461 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3462 synonym for _SYS_AUXV_H to allow direct inclusion.
3463 * sysdeps/sparc/bits/hwcap.h: Likewise.
3464 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3465 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3466 * sysdeps/sparc/sysdep.h: Likewise.
3468 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3472 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3474 * benchtests/bench-strrchr.c: Print length instead of position.
3476 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3479 * sysdeps/unix/sysv/linux/kernel-features.h
3480 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3481 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3482 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3483 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3485 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3486 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3487 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3488 (__ASSUME_SENDMMSG): Define instead of using previous
3489 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3491 (__ASSUME_SENDMMSG_SYSCALL): Define.
3492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3493 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3496 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3499 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3501 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3502 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3503 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3504 [__ASSUME_SENDMMSG]: Change conditionals to
3505 [__ASSUME_SENDMMSG_SOCKETCALL].
3506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3507 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3509 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3510 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3512 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3513 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3514 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3515 [!__ASSUME_SENDMMSG]: Change conditional to
3516 [!__ASSUME_SENDMMSG_SOCKETCALL].
3517 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3518 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3522 * sysdeps/unix/sysv/linux/kernel-features.h
3523 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3524 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3525 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3526 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3527 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3528 [__i386__ || __sparc__]
3529 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3530 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3531 (__ASSUME_RECVMMSG): Define instead of using previous
3532 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3534 (__ASSUME_RECVMMSG_SYSCALL): Define.
3535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3539 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3542 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3544 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3545 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3546 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3547 [__ASSUME_RECVMMSG]: Change condition to
3548 [__ASSUME_RECVMMSG_SOCKETCALL].
3549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3552 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3554 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3556 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3557 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3558 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3559 [!__ASSUME_RECVMMSG]: Change condition to
3560 [!__ASSUME_RECVMMSG_SOCKETCALL].
3561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3562 (__ASSUME_RECVMMSG_SYSCALL): Define.
3565 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3566 __powerpc__ || __s390__ || __sh__ || __sparc__]
3567 (__ASSUME_SOCKETCALL): Define.
3568 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3569 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3570 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3571 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3572 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3573 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3574 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3575 (__ASSUME_ACCEPT4): Define instead of using previous
3576 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3577 __powerpc__ || __sparc__ || __s390__)] condition.
3578 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3579 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3580 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3581 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3582 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3583 [!__ASSUME_ACCEPT4]: Change condition to
3584 [!__ASSUME_ACCEPT4_SOCKETCALL].
3585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3587 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3589 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3590 __ASSUME_ACCEPT4_SYSCALL.
3591 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3592 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3593 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3594 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3595 __ASSUME_ACCEPT4_SYSCALL.
3596 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3597 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3598 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3599 [__ASSUME_ACCEPT4]: Change condition to
3600 [__ASSUME_ACCEPT4_SOCKETCALL].
3601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3602 (__ASSUME_SOCKETCALL): Define.
3603 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3605 (__ASSUME_SOCKETCALL): Define.
3606 (__ASSUME_ACCEPT4): Remove.
3607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3610 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3612 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3613 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3615 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3617 (HWCAP_ARM_LPAE): Likewise.
3618 (HWCAP_ARM_EVTSTRM): Likewise.
3619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3620 Add vpfd32, lpae and evtstrm.
3621 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3624 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3626 * math/auto-libm-test-in: Add tests of clog10.
3627 * math/auto-libm-test-out: Regenerated.
3628 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3629 * sysdeps/i386/fpu/libm-test-ulps: Update.
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3632 2014-02-18 Andreas Schwab <schwab@suse.de>
3635 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3636 Store non-zero if the second buffer was newly allocated.
3637 (send_dg): Likewise.
3638 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3639 to send_vc and send_dg.
3640 (res_nsend): Pass NULL for ansp2_malloced.
3641 * resolv/res_query.c (__libc_res_nquery): Add parameter
3642 answerp2_malloced and pass it down to __libc_res_nsend.
3643 (res_nquery): Pass additional NULL to __libc_res_nquery.
3644 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3645 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3646 second answer buffer if answerp2_malloced was set.
3647 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3648 (__libc_res_nquerydomain): Add parameter
3649 answerp2_malloced and pass it down to __libc_res_nquery.
3650 (res_nquerydomain): Pass additional NULL to
3651 __libc_res_nquerydomain.
3652 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3653 additional NULL to __libc_res_nsend and __libc_res_nquery.
3654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3655 additional NULL to __libc_res_nsearch.
3656 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3657 parameter of __libc_res_nsearch to check for separately allocated
3659 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3661 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3662 additional NULL to __libc_res_nquery.
3663 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3665 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3666 * include/resolv.h: Update prototypes of __libc_res_nquery,
3667 __libc_res_nsearch, __libc_res_nsend.
3669 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3671 * math/auto-libm-test-in: Add tests of fma.
3672 * math/auto-libm-test-out: Regenerated.
3673 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3674 (fma_towardzero_test_data): Likewise.
3675 (fma_downward_test_data): Likewise.
3676 (fma_upward_test_data): Likewise.
3677 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3679 (rounding_modes): Add values for new field.
3680 (func_calc_method): Add value mpfr_fff_f.
3681 (func_calc_desc): Add mpfr_fff_f union field.
3682 (test_function): Add field exact_args.
3683 (FUNC): Add macro argument EXACT_ARGS.
3684 (FUNC_mpfr_f_f): Update call to FUNC.
3685 (FUNC_mpfr_f_f): Likewise.
3686 (FUNC_mpfr_ff_f): Likewise.
3687 (FUNC_mpfr_if_f): Likewise.
3688 (FUNC_mpc_c_f): Likewise.
3689 (FUNC_mpc_c_c): Likewise.
3690 (test_functions): Add fma. Update calls to FUNC.
3691 (handle_input_arg): Add argument exact_args.
3692 (add_test): Update call to handle_input_arg.
3693 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3694 (output_for_one_input_case): Update call to calc_generic_results.
3695 Recalculate exact zero results in each rounding mode.
3697 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3698 non-negative before setting low bit.
3699 * math/auto-libm-test-in: Mark one asin test possibly having
3701 * math/auto-libm-test-out: Regenerated.
3702 * sysdeps/i386/fpu/libm-test-ulps: Update.
3703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3705 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3707 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3708 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3709 ports/sysdeps/unix/sysv/linux/microblaze.
3710 * README: Add missing listing for microblaze*-*-linux-gnu.
3712 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3714 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3715 * sysdeps/unix/sysv/linux/ia64: Move directory from
3716 ports/sysdeps/unix/sysv/linux/ia64.
3717 * README: Update listing for ia64-*-linux-gnu.
3719 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3720 Joseph Myers <joseph@codesourcery.com>
3722 * Makeconfig (test-name): New variable.
3723 (evaluate-test): Likewise.
3724 * Makerules (do-test-clean): Remove .test-result files.
3725 (common-mostlyclean): Likewise.
3726 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3727 * scripts/evaluate-test.sh: New file.
3729 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3731 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3732 separate $(objpfx)tst-fopenloc-cmp.out and
3733 $(objpfx)tst-fopenloc-mem.out targets.
3734 (tests): Update dependencies.
3735 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3736 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3737 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3738 (tst-rxspencer-no-utf8-ARGS): New variable.
3739 (tst-rxspencer-no-utf8-ENV): Likewise.
3740 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3741 instead of $(objpfx)tst-rxspencer-mem.
3742 ($(objpfx)tst-rxspencer-mem): Change target to
3743 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3744 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3745 * posix/tst-rxspencer-no-utf8.c: New file.
3747 * elf/Makefile ($(objpfx)order.out): Remove rule.
3748 [$(run-built-tests) = yes] (tests): Depend on
3749 $(objpfx)order-cmp.out.
3750 ($(objpfx)order-cmp.out): New rule.
3751 [$(run-built-tests) = yes] (tests): Depend on
3752 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3753 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3754 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3755 $(objpfx)tst-array5-static-cmp.out.
3756 ($(objpfx)tst-array1.out): Remove rule.
3757 ($(objpfx)tst-array1-cmp.out): New rule.
3758 ($(objpfx)tst-array1-static.out): Remove rule.
3759 ($(objpfx)tst-array1-static-cmp.out): New rule.
3760 ($(objpfx)tst-array2.out): Remove rule.
3761 ($(objpfx)tst-array2-cmp.out): New rule.
3762 ($(objpfx)tst-array3.out): Remove rule.
3763 ($(objpfx)tst-array3-cmp.out): New rule.
3764 ($(objpfx)tst-array4.out): Remove rule.
3765 ($(objpfx)tst-array4-cmp.out): New rule.
3766 ($(objpfx)tst-array5.out): Remove rule.
3767 ($(objpfx)tst-array5-cmp.out): New rule.
3768 ($(objpfx)tst-array5-static.out): Remove rule.
3769 ($(objpfx)tst-array5-static-cmp.out): New rule.
3770 [$(run-built-tests) = yes] (tests): Depend on
3771 $(objpfx)order2-cmp.out.
3772 ($(objpfx)order2.out): Remove rule.
3773 ($(objpfx)order2-cmp.out): New rule.
3774 ($(objpfx)tst-initorder.out): Remove rule.
3775 [$(run-built-tests) = yes] (tests): Depend on
3776 $(objpfx)tst-initorder-cmp.out.
3777 ($(objpfx)tst-initorder-cmp.out): New rule.
3778 ($(objpfx)tst-initorder2.out): Remove rule.
3779 [$(run-built-tests) = yes] (tests): Depend on
3780 $(objpfx)tst-initorder2-cmp.out.
3781 ($(objpfx)tst-initorder2-cmp.out): New rule.
3782 [$(run-built-tests) = yes] (tests): Depend on
3783 $(objpfx)tst-unused-dep-cmp.out.
3784 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3785 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3786 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3787 on $(objpfx)tst-setvbuf1-cmp.out.
3788 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3789 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3790 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3791 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3792 ($(objpfx)tst-svc.out): Remove rule.
3793 ($(objpfx)tst-svc-cmp.out): New rule.
3795 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3797 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3798 * ctype/ctype.h [__USE_MISC]: Likewise.
3799 * dirent/dirent.h [__USE_MISC]: Likewise.
3800 * grp/grp.h [__USE_MISC]: Likewise.
3801 * io/fcntl.h [__USE_MISC]: Likewise.
3802 * io/sys/stat.h [__USE_MISC]: Likewise.
3803 * libio/stdio.h [__USE_MISC]: Likewise.
3804 * posix/unistd.h [__USE_MISC]: Likewise.
3805 * pwd/pwd.h [__USE_MISC]: Likewise.
3806 * stdlib.h [__USE_MISC]: Likewise.
3807 * string/bits/string2.h [__USE_MISC]: Likewise.
3808 * string/string.h [__USE_MISC]: Likewise.
3809 * time/time.h [__USE_MISC]: Likewise.
3811 2014-02-13 Andreas Schwab <schwab@suse.de>
3814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3815 second answer buffer if it was separately allocated.
3817 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3819 * sysdeps/mips/math-tests.h: Include <features.h>.
3820 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3821 (ROUNDING_TESTS_long_double): Do not define.
3822 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3823 (EXCEPTION_TESTS_long_double): Likewise.
3824 * sysdeps/mips/mips64/libm-test-ulps: Update.
3826 * include/features.h (__USE_BSD): Remove macro definitions.
3827 (__USE_SVID): Likewise.
3828 (_BSD_SOURCE): Likewise.
3829 (_SVID_SOURCE): Likewise.
3830 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3831 from definition of _DEFAULT_SOURCE.
3832 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3834 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3835 * bits/mman.h [__USE_BSD]: Likewise.
3836 * bits/termios.h [__USE_BSD]: Likewise.
3837 * bits/waitstatus.h [__USE_BSD]: Likewise.
3838 * ctype/ctype.h [__USE_SVID]: Likewise.
3839 * dirent/dirent.h [__USE_BSD]: Likewise.
3840 * grp/grp.h [__USE_SVID]: Likewise.
3841 [__USE_BSD]: Likewise.
3842 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3843 * io/fcntl.h [__USE_BSD]: Likewise.
3844 * io/ftw.h [__USE_BSD]: Likewise.
3845 * io/sys/stat.h [__USE_BSD]: Likewise.
3846 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3847 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3848 * libio/stdio.h [__USE_SVID]: Likewise.
3849 [__USE_BSD]: Likewise.
3850 * math/math.h [__USE_SVID]: Likewise.
3851 [__USE_BSD]: Likewise.
3852 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3853 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3854 * misc/search.h [__USE_SVID]: Likewise.
3855 * misc/sys/mman.h [__USE_BSD]: Likewise.
3856 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3857 * misc/sys/uio.h [__USE_BSD]: Likewise.
3858 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3859 * posix/glob.h [__USE_BSD]: Likewise.
3860 * posix/regex.h [__USE_BSD]: Likewise.
3861 * posix/sys/types.h [__USE_BSD]: Likewise.
3862 [__USE_SVID]: Likewise.
3863 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3864 * posix/sys/wait.h [__USE_BSD]: Likewise.
3865 [__USE_SVID]: Likewise.
3866 * posix/unistd.h [__USE_BSD]: Likewise.
3867 [__USE_SVID]: Likewise.
3868 * pwd/pwd.h [__USE_SVID]: Likewise.
3869 * resolv/netdb.h [__USE_BSD]: Likewise.
3870 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3871 * signal/signal.h [__USE_BSD]: Likewise.
3872 [__USE_SVID]: Likewise.
3873 * socket/sys/socket.h [__USE_BSD]: Likewise.
3874 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3875 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3876 [__USE_SVID]: Likewise.
3877 * string/bits/string2.h [__USE_BSD]: Likewise.
3878 [__USE_SVID]: Likewise.
3879 * string/bits/string3.h [__USE_BSD]: Likewise.
3880 * string/endian.h [__USE_BSD]: Likewise.
3881 * string/string.h [__USE_SVID]: Likewise.
3882 [__USE_BSD]: Likewise.
3883 * string/strings.h [__USE_BSD]: Likewise.
3884 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3885 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3886 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3887 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3888 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3889 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3893 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3894 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3896 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3897 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3899 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3901 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3902 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3905 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3907 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3908 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3909 * termios/termios.h [__USE_BSD]: Likewise.
3910 * time/sys/time.h [__USE_BSD]: Likewise.
3911 * time/time.h [__USE_BSD]: Likewise.
3912 [__USE_SVID]: Likewise.
3914 * Makefile (subdir_targets): Remove subdir_lint.out.
3916 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3917 (do-tst-printf): Likewise.
3918 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3919 $(objpfx)tst-printf.out.
3921 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3923 * Makerules (check-abi-%): Change target to
3924 $(objpfx)check-abi-%.out.
3925 (check-abi target): Update dependencies.
3926 (check-abi-pattern variable): Redirect output of diff to $@.
3927 (check-abi variable): Likewise.
3928 * elf/Makefile (check-abi): Update dependencies.
3930 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3932 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3933 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3935 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3936 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3937 value has largest subnormal exponent.
3938 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3939 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3940 * sysdeps/aarch64/soft-fp/sfp-machine.h
3941 (_FP_TININESS_AFTER_ROUNDING): New macro.
3942 * sysdeps/alpha/soft-fp/sfp-machine.h
3943 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3944 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3946 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3947 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3948 * sysdeps/mips/soft-fp/sfp-machine.h
3949 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3950 * sysdeps/powerpc/soft-fp/sfp-machine.h
3951 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3952 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3954 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3955 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3956 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3957 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3958 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3961 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3964 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3967 2014-02-12 Richard Henderson <rth@redhat.com>
3969 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3970 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3971 * sysdeps/unix/sysv/linux/alpha: Move directory from
3972 ports/sysdeps/unix/sysv/linux/alpha.
3973 * README: Update listing for alpha-*-linux-gnu.
3975 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3977 * include/features.h: Update comment documenting feature test
3979 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3981 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3982 (_SVID_SOURCE): Likewise.
3983 (_DEFAULT_SOURCE): Update description of default features.
3984 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3986 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3987 (S_ISVTX): Likewise.
3988 * manual/math.texi (Mathematical Constants): Likewise.
3989 * manual/signal.texi (Interrupted Primitives): Likewise.
3990 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3991 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3992 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3993 Don't refer to _SVID_SOURCE in warning text.
3995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3997 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3999 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4000 * sysdeps/mips/dl-lookup.c: Remove.
4001 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4003 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4006 * math/auto-libm-test-in: Add testcase for expl.
4007 * math/auto-libm-test-out: Regenerate.
4008 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4009 calculation of unsafe.
4010 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4012 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4014 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4015 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4016 ports/sysdeps/unix/sysv/linux/aarch64.
4017 * README: Update listing for aarch64*-*-linux-gnu.
4019 2014-02-11 Will Newton <will.newton@linaro.org>
4021 * manual/probes.texi (Mathematical Function Probes): Use
4022 "triggered" instead of "hit".
4024 2014-02-11 Will Newton <will.newton@linaro.org>
4026 * manual/probes.texi (Internal Probes): Add documentation
4027 of setjmp, longjmp and longjmp_target probes.
4029 2014-02-11 Will Newton <will.newton@linaro.org>
4031 * include/stap-probe.h: Add comment about probe argument
4034 2014-02-11 Will Newton <will.newton@linaro.org>
4036 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4037 definition. (tr_where, tr_freehook, tr_mallochook,
4038 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4040 2014-02-11 David S. Miller <davem@davemloft.net>
4042 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4043 processing int_tests.
4045 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4047 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4048 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4049 * sysdeps/unix/sysv/linux/mips: Move directory from
4050 ports/sysdeps/unix/sysv/linux/mips.
4051 * README: Update listing for mips-*-linux-gnu and
4054 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4056 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4057 * sysdeps/unix/sysv/linux/m68k: Move directory from
4058 ports/sysdeps/unix/sysv/linux/m68k.
4059 * README: Update listing for m68k-*-linux-gnu.
4061 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4063 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4064 * sysdeps/unix/sysv/linux/generic: Move directory from
4065 ports/sysdeps/unix/sysv/linux/generic.
4066 * sysdeps/unix/sysv/linux/tile: Move directory from
4067 ports/sysdeps/unix/sysv/linux/tile.
4068 * README: Update listing for tile*-*-linux-gnu.
4070 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4072 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
4073 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4074 * catgets/open_catalog.c (__open_catalog): Likewise.
4075 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4076 * debug/confstr_chk.c: Likewise.
4077 * debug/fread_chk.c (__fread_chk): Likewise.
4078 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4079 * debug/getgroups_chk.c: Likewise.
4080 * debug/mbsnrtowcs_chk.c: Likewise.
4081 * debug/mbsrtowcs_chk.c: Likewise.
4082 * debug/mbstowcs_chk.c: Likewise.
4083 * debug/memcpy_chk.c: Likewise.
4084 * debug/memmove_chk.c: Likewise.
4085 * debug/mempcpy_chk.c: Likewise.
4086 * debug/memset_chk.c: Likewise.
4087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4088 * debug/strcat_chk.c (__strcat_chk): Likewise.
4089 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4090 * debug/strncat_chk.c (__strncat_chk): Likewise.
4091 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4092 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4093 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4094 * debug/wcpncpy_chk.c: Likewise.
4095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4096 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4097 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4098 * debug/wcsncpy_chk.c: Likewise.
4099 * debug/wcsnrtombs_chk.c: Likewise.
4100 * debug/wcsrtombs_chk.c: Likewise.
4101 * debug/wcstombs_chk.c: Likewise.
4102 * debug/wmemcpy_chk.c: Likewise.
4103 * debug/wmemmove_chk.c: Likewise.
4104 * debug/wmempcpy_chk.c: Likewise.
4105 * debug/wmemset_chk.c: Likewise.
4106 * dirent/scandirat.c (SCANDIRAT): Likewise.
4107 * dlfcn/dladdr1.c (dladdr1): Likewise.
4108 * dlfcn/dladdr.c (dladdr): Likewise.
4109 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4110 * dlfcn/dlerror.c (__dlerror): Likewise.
4111 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4112 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4113 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4114 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4115 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4116 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4117 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4118 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4120 * elf/dl-conflict.c: Likewise.
4121 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4122 * elf/dl-dst.h: Likewise.
4123 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4124 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4126 * elf/dl-init.c (call_init, _dl_init): Likewise.
4127 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4128 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4129 _dl_map_object_from_fd, open_verify, open_path,
4130 _dl_map_object): Likewise.
4131 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4133 * elf/dl-minimal.c (__libc_memalign): Likewise.
4134 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4135 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4136 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4137 * elf/dl-sym.c (do_sym): Likewise.
4138 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4139 _dl_tls_get_addr_soft): Likewise.
4140 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4141 * elf/dl-writev.h (_dl_writev): Likewise.
4142 * elf/ldconfig.c (search_dir): Likewise.
4143 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4145 * elf/setup-vdso.h (setup_vdso): Likewise.
4146 * grp/compat-initgroups.c (compat_call): Likewise.
4147 * grp/fgetgrent.c (fgetgrent): Likewise.
4148 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4149 * grp/putgrent.c (putgrent): Likewise.
4150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4152 * hurd/hurdinit.c: Likewise.
4153 * iconvdata/8bit-gap.c (struct): Likewise.
4154 * iconvdata/ansi_x3.110.c : Likewise.
4155 * iconvdata/big5.c : Likewise.
4156 * iconvdata/big5hkscs.c : Likewise.
4157 * iconvdata/cp1255.c: Likewise.
4158 * iconvdata/cp1258.c : Likewise.
4159 * iconvdata/cp932.c : Likewise.
4160 * iconvdata/euc-cn.c: Likewise.
4161 * iconvdata/euc-jisx0213.c : Likewise.
4162 * iconvdata/euc-jp.c: Likewise.
4163 * iconvdata/euc-jp-ms.c : Likewise.
4164 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4165 * iconvdata/gb18030.c : Likewise.
4166 * iconvdata/gbbig5.c (const): Likewise.
4167 * iconvdata/gbgbk.c: Likewise.
4168 * iconvdata/gbk.c : Likewise.
4169 * iconvdata/ibm1364.c : Likewise.
4170 * iconvdata/ibm930.c : Likewise.
4171 * iconvdata/ibm932.c: Likewise.
4172 * iconvdata/ibm933.c : Likewise.
4173 * iconvdata/ibm935.c : Likewise.
4174 * iconvdata/ibm937.c : Likewise.
4175 * iconvdata/ibm939.c : Likewise.
4176 * iconvdata/ibm943.c: Likewise.
4177 * iconvdata/iso_11548-1.c: Likewise.
4178 * iconvdata/iso-2022-cn.c : Likewise.
4179 * iconvdata/iso-2022-cn-ext.c : Likewise.
4180 * iconvdata/iso-2022-jp-3.c: Likewise.
4181 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4182 * iconvdata/iso-2022-kr.c : Likewise.
4183 * iconvdata/iso646.c (gconv_end): Likewise.
4184 * iconvdata/iso_6937-2.c : Likewise.
4185 * iconvdata/iso_6937.c : Likewise.
4186 * iconvdata/iso8859-1.c: Likewise.
4187 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4188 * iconvdata/shift_jisx0213.c : Likewise.
4189 * iconvdata/sjis.c : Likewise.
4190 * iconvdata/t.61.c : Likewise.
4191 * iconvdata/tcvn5712-1.c : Likewise.
4192 * iconvdata/tscii.c: Likewise.
4193 * iconvdata/uhc.c : Likewise.
4194 * iconvdata/unicode.c (gconv_end): Likewise.
4195 * iconvdata/utf-16.c (gconv_end): Likewise.
4196 * iconvdata/utf-32.c (gconv_end): Likewise.
4197 * iconvdata/utf-7.c (base64): Likewise.
4198 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4199 * iconv/gconv_close.c (__gconv_close): Likewise.
4200 * iconv/gconv_open.c (__gconv_open): Likewise.
4201 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4202 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4203 internal_ucs4le_loop_single, ucs4le_internal_loop,
4204 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4205 * iconv/iconv.c (iconv): Likewise.
4206 * iconv/iconv_close.c: Likewise.
4207 * iconv/loop.c (SINGLE): Likewise.
4208 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4209 * include/atomic.h: Likewise.
4210 * inet/inet6_option.c (option_alloc): Likewise.
4211 * intl/bindtextdom.c (set_binding_values): Likewise.
4212 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4213 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4214 * intl/localealias.c (read_alias_file): Likewise.
4215 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4216 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4217 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4218 * libio/fmemopen.c (fmemopen): Likewise.
4219 * libio/iofgets.c (_IO_fgets): Likewise.
4220 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4221 * libio/iofgetws.c (fgetws): Likewise.
4222 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4223 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4224 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4225 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4226 * locale/findlocale.c (_nl_find_locale): Likewise.
4227 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4228 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4230 * locale/setlocale.c (setlocale): Likewise.
4231 * login/programs/pt_chown.c (main): Likewise.
4232 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4233 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4234 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4235 mmap, mmap64, mremap, munmap): Likewise.
4236 * math/e_exp2l.c: Likewise.
4237 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4238 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4239 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4240 * math/s_catan.c (__catan): Likewise.
4241 * math/s_catanf.c (__catanf): Likewise.
4242 * math/s_catanh.c (__catanh): Likewise.
4243 * math/s_catanhf.c (__catanhf): Likewise.
4244 * math/s_catanhl.c (__catanhl): Likewise.
4245 * math/s_catanl.c (__catanl): Likewise.
4246 * math/s_ccosh.c (__ccosh): Likewise.
4247 * math/s_ccoshf.c (__ccoshf): Likewise.
4248 * math/s_ccoshl.c (__ccoshl): Likewise.
4249 * math/s_cexp.c (__cexp): Likewise.
4250 * math/s_cexpf.c (__cexpf): Likewise.
4251 * math/s_cexpl.c (__cexpl): Likewise.
4252 * math/s_clog10.c (__clog10): Likewise.
4253 * math/s_clog10f.c (__clog10f): Likewise.
4254 * math/s_clog10l.c (__clog10l): Likewise.
4255 * math/s_clog.c (__clog): Likewise.
4256 * math/s_clogf.c (__clogf): Likewise.
4257 * math/s_clogl.c (__clogl): Likewise.
4258 * math/s_csin.c (__csin): Likewise.
4259 * math/s_csinf.c (__csinf): Likewise.
4260 * math/s_csinh.c (__csinh): Likewise.
4261 * math/s_csinhf.c (__csinhf): Likewise.
4262 * math/s_csinhl.c (__csinhl): Likewise.
4263 * math/s_csinl.c (__csinl): Likewise.
4264 * math/s_csqrt.c (__csqrt): Likewise.
4265 * math/s_csqrtf.c (__csqrtf): Likewise.
4266 * math/s_csqrtl.c (__csqrtl): Likewise.
4267 * math/s_ctan.c (__ctan): Likewise.
4268 * math/s_ctanf.c (__ctanf): Likewise.
4269 * math/s_ctanh.c (__ctanh): Likewise.
4270 * math/s_ctanhf.c (__ctanhf): Likewise.
4271 * math/s_ctanhl.c (__ctanhl): Likewise.
4272 * math/s_ctanl.c (__ctanl): Likewise.
4273 * math/w_pow.c: Likewise.
4274 * math/w_powf.c: Likewise.
4275 * math/w_powl.c: Likewise.
4276 * math/w_scalb.c (sysv_scalb): Likewise.
4277 * math/w_scalbf.c (sysv_scalbf): Likewise.
4278 * math/w_scalbl.c (sysv_scalbl): Likewise.
4279 * misc/error.c (error_tail): Likewise.
4280 * misc/pselect.c (__pselect): Likewise.
4281 * nis/nis_callback.c (__nis_create_callback): Likewise.
4282 * nis/nis_call.c (__nisfind_server): Likewise.
4283 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4284 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4286 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4287 * nis/nis_lookup.c (nis_lookup): Likewise.
4288 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4289 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4290 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4291 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4292 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4293 internal_getgrgid_r): Likewise.
4294 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4296 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4297 internal_getpwuid_r): Likewise.
4298 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4299 internal_getspnam_r): Likewise.
4300 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4301 _nss_nis_getaliasbyname_r): Likewise.
4302 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4303 _nss_nis_getntohost_r): Likewise.
4304 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4305 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4307 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4308 internal_nis_gethostent_r, internal_gethostbyname2_r,
4309 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4310 _nss_nis_gethostbyname4_r): Likewise.
4311 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4312 initgroups_netid): Likewise.
4313 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4314 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4315 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4316 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4317 _nss_nis_getprotobynumber_r): Likewise.
4318 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4319 _nss_nis_getsecretkey): Likewise.
4320 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4321 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4323 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4324 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4325 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4326 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4327 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4328 _nss_nis_getspnam_r): Likewise.
4329 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4331 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4332 _nss_nisplus_getntohost_r): Likewise.
4333 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4334 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4335 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4336 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4337 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4339 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4340 _nss_nisplus_getnetbyaddr_r): Likewise.
4341 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4342 _nss_nisplus_getprotobynumber_r): Likewise.
4343 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4344 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4345 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4347 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4348 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4349 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4350 _nss_nisplus_getspnam_r): Likewise.
4351 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4352 * nscd/aicache.c (addhstaiX): Likewise.
4353 * nscd/cache.c (cache_search, prune_cache): Likewise.
4354 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4355 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4356 * nscd/grpcache.c (addgrbyX): Likewise.
4357 * nscd/hstcache.c (addhstbyX): Likewise.
4358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4359 * nscd/mem.c (gc, mempool_alloc): Likewise.
4360 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4362 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4364 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4365 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4366 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4368 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4370 * nscd/nscd_helper.c (__readvall, open_socket,
4371 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4372 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4373 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4374 * nscd/pwdcache.c (addpwbyX): Likewise.
4375 * nscd/selinux.c (preserve_capabilities): Likewise.
4376 * nscd/servicescache.c (addservbyX): Likewise.
4377 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4378 * posix/fnmatch.c (fnmatch): Likewise.
4379 * posix/getopt.c (_getopt_internal_r): Likewise.
4380 * posix/glob.c (glob, glob_in_dir): Likewise.
4381 * posix/wordexp.c (exec_comm_child): Likewise.
4382 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4383 gaih_getanswer_slice): Likewise.
4384 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4385 * resolv/res_init.c: Likewise.
4386 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4387 * resolv/res_query.c (__libc_res_nquery): Likewise.
4388 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4390 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4391 * stdio-common/perror.c (perror): Likewise.
4392 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4393 * stdio-common/tmpnam.c (tmpnam): Likewise.
4394 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4395 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4396 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4397 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4398 * stdlib/putenv.c (putenv): Likewise.
4399 * stdlib/setenv.c (__add_to_environ): Likewise.
4400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4401 * stdlib/strtol_l.c (INTERNAL): Likewise.
4402 * string/memmem.c (memmem): Likewise.
4403 * string/strerror.c (strerror): Likewise.
4404 * string/strnlen.c (__strnlen): Likewise.
4405 * string/test-memmem.c (simple_memmem): Likewise.
4406 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4407 * sunrpc/pm_getport.c (__get_socket): Likewise.
4408 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4409 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4410 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4411 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4413 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4415 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4416 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4417 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4418 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4419 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4420 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4421 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4422 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4423 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4424 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4426 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4428 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4429 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4430 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4433 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4441 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4442 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4443 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4461 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4463 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4464 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4465 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4466 * sysdeps/posix/sleep.c: Likewise.
4467 * sysdeps/posix/tempname.c: Likewise.
4468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4469 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4472 elf_machine_rela): Likewise.
4473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4475 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4476 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4478 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4480 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4482 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4483 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4484 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4485 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4486 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4487 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4489 elf_machine_lazy_rel): Likewise.
4490 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4492 elf_machine_lazy_rel): Likewise.
4493 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4494 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4495 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4496 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4497 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4498 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4499 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4502 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4503 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4504 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4505 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4506 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4507 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4508 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4509 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4510 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4512 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4514 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4515 (__posix_fallocate64_l64): Likewise.
4516 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4517 (posix_fallocate): Likewise.
4518 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4520 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4521 getifaddrs_internal): Likewise.
4522 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4523 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4524 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4525 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4526 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4527 (__posix_fallocate64_l64): Likewise.
4528 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4533 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4534 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4535 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4538 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4539 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4540 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4542 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4543 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4544 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4546 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4547 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4548 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4550 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4551 (posix_fallocate): Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4553 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4554 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4555 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4556 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4558 * time/asctime.c (asctime_internal): Likewise.
4559 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4560 * time/tzset.c (__tzset_parse_tz): Likewise.
4561 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4562 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4563 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4564 * wcsmbs/wcsmbsload.h: Likewise.
4566 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4569 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4571 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4573 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4574 arena_get2): Remove THREAD_STATS conditionals.
4575 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4576 __malloc_stats, int): Likewise.
4578 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4580 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4581 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4583 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4585 * manual/setjmp.texi: Fix typos/grammar errors.
4587 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4589 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4590 Only return early when n is <= 0. Delete unused return statement.
4592 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4594 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4595 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4596 * debug/tst-longjmp_chk3.c: New file.
4598 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4600 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4601 (test_main): Replace code with set_fortify_handler call.
4602 * debug/test-strcpy_chk.c: Likewise.
4603 * debug/tst-chk1.c: Likewise.
4604 * debug/tst-longjmp_chk.c: Likewise.
4605 * test-skeleton.c: Include fcntl.h & paths.h
4606 (set_fortify_handler): Define.
4608 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4610 * debug/tst-longjmp_chk.c: Add header comment and include
4612 (do_test): Mark static.
4613 (TEST_FUNCTION): Define.
4615 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4617 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4618 (IP_PMTUDISC_INTERFACE): Likewise.
4619 (IP_MULTICAST_IF): Likewise.
4620 (IP_MULTICAST_TTL): Likewise.
4621 (IP_MULTICAST_LOOP): Likewise.
4622 (IP_ADD_MEMBERSHIP): Likewise.
4623 (IP_DROP_MEMBERSHIP): Likewise.
4624 (IP_UNBLOCK_SOURCE): Likewise.
4625 (IP_BLOCK_SOURCE): Likewise.
4626 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4627 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4628 (IP_MSFILTER): Likewise.
4629 (MCAST_JOIN_GROUP): Likewise.
4630 (MCAST_BLOCK_SOURCE): Likewise.
4631 (MCAST_UNBLOCK_SOURCE): Likewise.
4632 (MCAST_LEAVE_GROUP): Likewise.
4633 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4634 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4635 (MCAST_MSFILTER): Likewise.
4636 (IP_MULTICAST_ALL): Likewise.
4637 (IP_UNICAST_IF): Likewise.
4639 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4641 * timezone/Makefile: Delete $(have-ksh) check.
4642 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4643 * timezone/tzselect.ksh: Add +x mode bits.
4645 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4647 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4648 (ANON_INODE_FS_MAGIC): Likewise.
4649 (BDEVFS_MAGIC): Likewise.
4650 (BINFMTFS_MAGIC): Likewise.
4651 (BTRFS_TEST_MAGIC): Likewise.
4652 (CRAMFS_MAGIC_WEND): Likewise.
4653 (DEBUGFS_MAGIC): Likewise.
4654 (ECRYPTFS_SUPER_MAGIC): Likewise.
4655 (EXT3_SUPER_MAGIC): Likewise.
4656 (EXT4_SUPER_MAGIC): Likewise.
4657 (FUTEXFS_SUPER_MAGIC): Likewise.
4658 (HOSTFS_SUPER_MAGIC): Likewise.
4659 (HUGETLBFS_MAGIC): Likewise.
4660 (MINIX3_SUPER_MAGIC): Likewise.
4661 (MTD_INODE_FS_MAGIC): Likewise.
4662 (NILFS_SUPER_MAGIC): Likewise.
4663 (OPENPROM_SUPER_MAGIC): Likewise.
4664 (PIPEFS_MAGIC): Likewise.
4665 (PSTOREFS_MAGIC): Likewise.
4666 (QNX6_SUPER_MAGIC): Likewise.
4667 (RAMFS_MAGIC): Likewise.
4668 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4669 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4670 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4671 (SECURITYFS_MAGIC): Likewise.
4672 (SELINUX_MAGIC): Likewise.
4673 (SMACK_MAGIC): Likewise.
4674 (SOCKFS_MAGIC): Likewise.
4675 (SQUASHFS_MAGIC): Likewise.
4676 (STACK_END_MAGIC): Likewise.
4677 (TMPFS_MAGIC): Likewise.
4678 (USBDEVICE_SUPER_MAGIC): Likewise.
4679 (V9FS_MAGIC): Likewise.
4680 (XENFS_SUPER_MAGIC): Likewise.
4681 (CRAMFS_MAGIC): Fix typo in comment.
4682 (EXT2_SUPER_MAGIC): Update comment.
4683 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4685 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4687 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4688 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4689 * sysdeps/unix/sysv/linux/arm: Move directory from
4690 ports/sysdeps/unix/sysv/linux/arm.
4691 * README: Update listing for arm-*-linux-gnueabi.
4693 * README: Remove mention of am33.
4695 2014-02-07 Roland McGrath <roland@hack.frob.com>
4697 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4698 than the comma operator, to avoid "rhs of comma has no effect"
4700 (__sigfillset, __sigandset, __sigorset): Likewise.
4701 * include/signal.h (__sigemptyset): Likewise.
4702 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4704 2014-02-07 Allan McRae <allan@archlinux.org>
4706 * version.h (RELEASE): Set to "development".
4707 (VERSION): Set to "2.19.90"
4708 * NEWS: Add 2.20 section.
4710 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4713 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4715 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4717 * manual/contrib.texi: Update entry for Carlos O'Donell,
4718 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4720 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4722 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4724 * sysdeps/unix/sysv/linux/kernel-features.h
4725 [__LINUX_KERNEL_VERSION >= 0x020621]
4726 (__ASSUME_PROC_PID_TASK_COMM): Define.
4728 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4731 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4732 conversion when destination buffer does not have enough space.
4733 * libio/tst-ftell-partial-wide.c: New test case.
4734 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4736 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4737 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4738 Leonard and Allan McRae.
4740 2014-02-04 David S. Miller <davem@davemloft.net>
4742 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4745 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4774 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4777 * shlib-versions: Likewise.
4779 2014-02-04 Roland McGrath <roland@hack.frob.com>
4780 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4783 (abilist-pattern): New variable, set to %-le.abilist.
4785 * Makerules (abilist-pattern): New variable.
4786 (vpath): Use $(abilist-pattern) in place of %.abilist.
4787 (check-abi-% pattern rule): Likewise.
4788 (check-abi, update-abi): Likewise.
4790 2014-02-04 Eric Wong <normalperson@yhbt.net>
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4794 2014-02-04 Eric Wong <normalperson@yhbt.net>
4796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4798 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4800 * manual/startup.texi: Add next, previous, and top entries for
4801 the `Program Arguments' and `Environment Variables' nodes.
4803 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4805 * manual/macros.texi: Add comments before MTASC-safety macros.
4807 * manual/users.texi: Document MTASC-safety properties.
4809 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4810 pthread_getspecific, pthread_setspecific): Format with
4811 @deftypefun, and add @safety note.
4812 * manual/signal.texi: Move comments that analyze the above
4813 functions to their home place.
4815 2014-02-03 Allan McRae <allan@archlinux.org>
4817 * po/sl.po: Update Slovenian translation from translation project.
4819 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4821 * manual/time.texi (timegm): Add missing blank after @c.
4822 Reported by Joseph Myers <joseph@codesourcery.com>.
4824 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4826 * manual/check-safety.sh: New.
4827 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4829 * manual/terminal.texi: Document MTASC-safety properties.
4831 * manual/filesys.texi: Document MTASC-safety properties.
4833 * manual/errno.texi: Document MTASC-safety properties.
4835 * manual/intro.texi: Document safety identifiers and
4838 * manual/string.texi (wcstok): Fix prototype.
4839 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4841 * manual/time.texi: Document MTASC-safety properties.
4843 * manual/string.texi: Document MTASC-safety properties.
4845 * manual/threads.texi: Document MTASC-safety properties.
4847 * manual/stdio.texi: Document MTASC-safety properties.
4849 * manual/syslog.texi: Document MTASC-safety properties.
4851 * manual/sysinfo.texi: Document MTASC-safety properties.
4853 * manual/startup.texi: Document MTASC-safety properties.
4855 * manual/socket.texi: Document MTASC-safety properties.
4857 * manual/signal.texi: Document MTASC-safety properties.
4859 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4861 * manual/setjmp.texi: Document MTASC-safety properties.
4863 * manual/search.texi: Document MTASC-safety properties.
4865 * manual/resource.texi: Document MTASC-safety properties.
4867 * manual/process.texi: Document MTASC-safety properties.
4869 * manual/platform.texi: Document MTASC-safety properties.
4871 * manual/pipe.texi: Document MTASC-safety properties.
4873 * manual/pattern.texi: Document MTASC-safety properties.
4875 * manual/message.texi: Document MTASC-safety properties.
4878 * manual/memory.texi: Document MTASC-safety properties.
4880 * manual/math.texi: Document MTASC-safety properties.
4882 * manual/locale.texi: Document MTASC-safety properties.
4884 * manual/llio.texi: Document MTASC-safety properties.
4886 * manual/libdl.texi: New.
4888 * manual/lang.texi: Document MTASC-safety properties.
4890 * manual/job.texi: Document MTASC-safety properties.
4892 * manual/getopt.texi: Document MTASC-safety properties.
4894 * manual/ctype.texi: Document MTASC-safety properties.
4896 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4899 * csu/libc-tls.c (static_map): Remove variable.
4900 (__libc_setup_tls): Use main executable's link map for TLS data.
4901 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4902 casing for LM_ID_BASE and GL(dl_nns).
4903 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4904 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4905 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4906 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4907 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4909 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4912 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4914 * manual/debug.texi: Document MTASC-safety properties.
4916 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4919 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4920 of __x86_64__ when disabling x87 inline functions.
4922 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4924 * manual/charset.texi: Document MTASC-safety properties.
4926 * manual/crypt.texi: Document MTASC-safety properties.
4928 * manual/conf.texi: Document MTASC-safety properties.
4930 * manual/arith.texi: Document MTASC-safety properties.
4932 * manual/argp.texi: Document MTASC-safety properties.
4934 * manual/macros.texi: Introduce macros to document multi
4935 thread, asynchronous signal and asynchronous cancellation
4937 * manual/intro.texi: Introduce the properties themselves.
4939 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4941 * sysdeps/sh/sh4/Makefile: New file.
4943 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4945 * math/gen-libm-test.pl ($srcdir): New variable.
4946 ($auto_input): Use it.
4948 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4951 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4952 access beyond array bounds when parsing netgroups file.
4954 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4955 the old buffer before realloc.
4957 2014-01-27 Allan McRae <allan@archlinux.org>
4959 * po/fr.po: Update French translation from translation project.
4961 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4963 * sysdeps/sh/libm-test-ulps: Regenerate.
4965 2014-01-24 David S. Miller <davem@davemloft.net>
4967 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4969 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4971 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4972 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4974 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4977 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4978 string pointers after reallocation.
4980 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4982 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4983 __SH4A__ instead of __SH_FPU_ANY__.
4985 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4987 * sysdeps/sh/fpu_control.h: New file.
4988 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4989 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4990 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4991 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4992 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4993 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4994 * sysdeps/sh/sys/ucontext.h: Remove.
4995 * sysdeps/sh/sys: Remove directory.
4997 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4999 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5000 s390/sys/ucontext.h.
5001 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5002 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5004 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5007 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5009 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5013 Adjust the vDSO correctly for internal calls.
5014 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5016 2014-01-20 Allan McRae <allan@archlinux.org>
5018 * po/ca.po: Update Catalan translation from translation project.
5020 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5022 * sysdeps/s390/sotruss-lib.c: New file.
5024 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5028 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5029 local calls issues by not having a PLT stub required for IFUNC calls.
5030 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5032 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5034 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5035 * math/test-fpucw-static.c: Likewise.
5037 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5040 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5042 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5045 implementation for powerpc.
5047 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5050 * sysdeps/posix/system.c (__libc_system): Do not enable
5051 asynchronous cancellation.
5053 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5056 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5057 handling only for numbers special also in the IEEE case.
5059 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5061 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5063 2014-01-11 Allan McRae <allan@archlinux.org>
5065 * po/bg.po: Update Bulgarian translation from translation project.
5067 * po/de.po: Update German translation from translation project.
5069 2014-01-10 Roland McGrath <roland@hack.frob.com>
5071 * sysdeps/generic/gcc-compat.h: New file.
5073 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5075 * benchtests/asin-inputs: Correct slow inputs.
5076 * benchtests/acos-inputs: Likewise.
5078 2014-01-10 Allan McRae <allan@archlinux.org>
5080 * po:sv.po: Update Swedish translation from translation project.
5082 * po/vi.po: Update Vietnamese translation from translation project.
5084 * po/eo.po: Update Esperanto translation from translation project.
5086 * po/cs.po: Update Czech translation from translation project.
5088 * po/nl.po: Update Dutch translation from translation project.
5090 * po/pl.po: Update Polish translation from translation project.
5092 * po/ru.po: Update Russian translation from translation project.
5094 * po/uk.po: Update Ukrainian translation from translation project.
5096 2014-01-08 Brooks Moses <bmoses@google.com>
5098 * elf/dl-load.c: Fix comment typo.
5100 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5102 * po/header.pot: Rename to...
5103 * po/pot.header: ... this.
5104 * po/Makefile: Use pot.header.
5106 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5107 Maxim Kuvyrkov <maxim@kugelworks.com>
5110 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5111 SRC and DEST against LEN.
5113 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5116 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5118 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5120 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5124 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5127 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5128 for large positive arguments.
5130 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5132 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5134 * math/auto-libm-test-in: Mark various tests with
5135 xfail-rounding:ldbl-128ibm.
5136 * math/auto-libm-test-out: Regenerated.
5139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5140 Increase overflow threshold.
5142 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5145 * stdio-common/vfprintf.c: Check for integer overflow.
5147 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5149 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5150 the first argument and return value of __tls_get_addr_internal.
5152 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5154 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5155 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5157 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5159 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5160 * sysdeps/s390/rtld-global-offsets.sym: New file.
5161 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5163 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5165 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5167 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5168 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5174 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5175 halfs of GPRs for high_gprs contexts.
5176 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5177 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5179 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5181 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5183 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5184 for high GPRs (uc_high_gprs) and for future extensions
5186 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5187 for future extensions (__reserved).
5188 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5190 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5191 SC_HIGHGPRS offset definition.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5193 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5195 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5197 * Versions.def: Add GLIBC_2.19 for libpthread.
5198 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5199 siglongjmp for libpthread with GLIBC_2.19 symver.
5200 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5201 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5202 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5203 * sysdeps/s390/__longjmp.c: New file.
5204 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5205 * sysdeps/s390/longjmp.c: New file.
5206 * sysdeps/s390/setjmp.S: New file.
5207 * sysdeps/s390/sigjmp.S: New file.
5208 * sysdeps/s390/v1-longjmp.c: New file.
5209 * sysdeps/s390/v1-setjmp.h: New file.
5210 * sysdeps/s390/v1-sigjmp.c: New file.
5211 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5212 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5214 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5215 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5216 versioned symbols for ____longjmp_chk.
5217 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5227 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5228 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5229 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5230 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5231 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5232 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5233 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5234 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5235 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5236 * sysdeps/s390/rtld-__longjmp.c: New file.
5237 * sysdeps/s390/rtld-setjmp.S: New file.
5239 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5243 Return -__logl (x) for small positive arguments without evaluating
5246 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5248 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5250 (__ptrace_peeksiginfo_args): ... this.
5251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5255 2014-01-06 Allan McRae <allan@archlinux.org>
5257 * inet/netinet/in.h: Fix typo in comment.
5259 2014-01-05 Andreas Jaeger <aj@suse.de>
5261 * sysdeps/i386/fpu/libm-test-ulps: Update.
5263 2014-01-05 Allan McRae <allan@archlinux.org>
5265 * po/libc.pot: Regenerated.
5267 * malloc/memusagestat.c: Fix gettext call formatting.
5269 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5271 * nscd/nscd.c: Improve usage() output.
5273 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5275 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5276 * sysdeps/unix/sysv/linux/configure: Regenerated.
5277 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5278 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5280 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5283 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5284 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5286 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5289 extra tokens at end of #undef directive.
5290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5291 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5294 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5298 * math/auto-libm-test-in: Mark various tests with
5299 xfail-rounding:ldbl-128ibm.
5300 * math/auto-libm-test-out: Regenerated.
5302 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5306 numbers with subnormal high part when calculating exponent.
5309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5315 (__ieee754_acoshl): Use __log1pl not __log1p.
5317 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5319 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5320 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5321 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5322 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5323 Convert to GNU style.
5324 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5325 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5326 memalign_check, __malloc_set_state): Likewise.
5327 * malloc/mallocbug.c (main): Likewise.
5328 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5329 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5330 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5331 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5332 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5333 * malloc/malloc.h: Likewise.
5334 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5335 memalignhook, reallochook, mabort): Likewise.
5336 * malloc/mcheck.h: Likewise.
5337 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5338 mmap64, mremap, munmap, dest): Likewise.
5339 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5340 * malloc/morecore.c (__default_morecore): Likewise.
5341 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5342 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5343 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5344 print_and_abort): Likewise.
5345 * malloc/obstack.h: Likewise.
5346 * malloc/set-freeres.c (__libc_freeres): Likewise.
5347 * malloc/tst-mallocstate.c (main): Likewise.
5348 * malloc/tst-mtrace.c (main): Likewise.
5349 * malloc/tst-realloc.c (do_test): Likewise.
5351 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5354 * nscd/netgroupcache.c (do_notfound): New function.
5355 (addgetnetgrentX): Use it.
5358 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5359 NSS_STATUS_NOTFOUND.
5361 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5363 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5366 2014-01-01 Allan McRae <allan@archlinux.org>
5368 * scripts/update-copyrights: Update configure input file suffix.
5370 * NEWS: Update copyright year.
5371 * catgets/gencat.c: Likewise.
5372 * csu/version.c: Likewise.
5373 * debug/catchsegv.sh: Likewise.
5374 * debug/pcprofiledump.c: Likewise.
5375 * debug/xtrace.sh: Likewise.
5376 * elf/ldconfig.c: Likewise.
5377 * elf/ldd.bash.in: Likewise.
5378 * elf/pldd.c: Likewise.
5379 * elf/sotruss.ksh: Likewise.
5380 * elf/sprof.c: Likewise.
5381 * iconv/iconv_prog.c: Likewise.
5382 * iconv/iconvconfig.c: Likewise.
5383 * locale/programs/locale.c: Likewise.
5384 * locale/programs/localedef.c: Likewise.
5385 * login/programs/pt_chown.c: Likewise.
5386 * malloc/memusage.sh: Likewise.
5387 * malloc/memusagestat.c: Likewise.
5388 * malloc/mtrace.pl: Likewise.
5389 * manual/libc.texinfo: Likewise.
5390 * nscd/nscd.c: Likewise.
5391 * nss/getent.c: Likewise.
5392 * nss/makedb.c: Likewise.
5393 * posix/getconf.c: Likewise.
5394 * scripts/test-installation.pl: Likewise.
5396 * All files with FSF copyright notices: Update copyright dates
5397 using scripts/update-copyrights.
5398 * intl/plural.c: Regenerated.
5399 * locale/programs/charmap-kw.h: Likewise.
5400 * locale/programs/locfile-kw.h: Likewise.
5402 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5404 * sysdeps/unix/sysv/linux/configure: Regenerated.
5405 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5406 the linux/fanotify.h header.
5407 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5408 HAVE_LINUX_FANOTIFY_H is defined.
5410 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 * benchtests/cos-inputs: New inputs.
5413 * benchtests/sin-inputs: Likewise.
5415 * benchtests/atan-inputs: New inputs. Fix name of multiple
5416 precision fallback inputs.
5418 * benchtests/atanh-inputs: New inputs.
5419 * benchtests/tanh-inputs: Likewise.
5421 * benchtests/acosh-inputs: New inputs.
5422 * benchtests/asinh-inputs: Likewise.
5424 * benchtests/cosh-inputs: New inputs.
5425 * benchtests/sinh-inputs: Likewise.
5427 * benchtests/acos-inputs: Add more inputs.
5428 * benchtests/asin-inputs: Likewise.
5430 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5433 * manual/arith.texi: Fix spelling.
5434 * manual/charset.texi: Likewise.
5435 * manual/errno.texi: Likewise.
5436 * manual/filesys.texi: Likewise.
5437 * manual/lang.texi: Likewise.
5438 * manual/llio.texi: Likewise.
5439 * manual/locale.texi: Likewise.
5440 * manual/message.texi: Likewise.
5441 * manual/resource.texi: Likewise.
5442 * manual/search.texi: Likewise.
5443 * manual/setjmp.texi: Likewise.
5444 * manual/stdio.texi: Likewise.
5445 * manual/string.texi: Likewise.
5446 * manual/sysinfo.texi: Likewise.
5447 * manual/time.texi: Likewise.
5449 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5451 * po/sl.po: New file.
5453 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5455 * .gitignore: Add core/.gdbinit/.gdb_history.
5457 2013-12-27 Allan McRae <allan@archlinux.org>
5460 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5461 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5463 2013-12-24 Brooks Moses <bmoses@google.com>
5465 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5466 all compilers that claim C++98 compliance, not just GCC.
5467 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5470 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5472 * NEWS: Restore accidentally deleted bug-fix entries.
5474 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5475 Ondřej Bílka <neleai@seznam.cz>
5478 * malloc/malloc.c (_int_free): Perform sanity check only if we
5481 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5484 * manual/stdio.texi (String Input Conversions): Clarify that character
5485 classes are not supported.
5487 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5491 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5495 Calculate results for small negative arguments directly rather
5496 than using reflection formula with special underflow handling.
5498 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5499 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5500 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5501 (fchflags): Likewise.
5503 (setlogin): Likewise.
5504 (sigaltstack): Likewise.
5507 (sigsetmask): Likewise.
5509 (waitpid): Likewise.
5510 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5511 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5513 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5514 * sysdeps/unix/bsd/Makefile: ... here.
5515 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5516 * sysdeps/unix/bsd/Versions: ... here.
5517 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5518 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5519 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5520 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5521 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5522 * sysdeps/unix/bsd/sigblock.c: ... here.
5523 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5524 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5525 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5526 * sysdeps/unix/bsd/sigvec.c: ... here.
5527 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5528 * sysdeps/unix/bsd/tcdrain.c: ... here.
5529 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5530 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5531 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5532 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5533 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5534 * sysdeps/unix/bsd/wait.c: ... here.
5535 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5536 * sysdeps/unix/bsd/wait3.c: ... here.
5537 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5538 * sysdeps/unix/bsd/waitpid.c: ... here.
5540 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5543 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5544 round-to-nearest for [!USE_AS_EXPM1L].
5545 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5546 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5547 more tests of exp and exp10. Expect some exp10 tests to miss
5548 exceptions or fail in directed rounding modes.
5549 * math/auto-libm-test-out: Regenerated.
5550 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5551 (exp10_test_tonearest): New function.
5552 (exp10_towardzero_test_data): New array.
5553 (exp10_test_towardzero): New function.
5554 (exp10_downward_test_data): New array.
5555 (exp10_test_downward): New function.
5556 (exp10_upward_test_data): New array.
5557 (exp10_test_upward): New function.
5558 (main): Call the new functions.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5562 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5564 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5565 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5566 * math/auto-libm-test-out: Regenerated.
5567 * math/libm-test.inc (acosh_test_data): Add more tests.
5568 (atanh_test_data): Likewise.
5569 (ceil_test_data): Likewise.
5570 (copysign_test_data): Likewise.
5571 * sysdeps/i386/fpu/libm-test-ulps: Update.
5572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5574 * timezone/checktab.awk: Update from tzcode 2013i.
5575 * timezone/private.h: Likewise.
5576 * timezone/scheck.c: Likewise.
5577 * timezone/tzfile.h: Likewise.
5578 * timezone/tzselect.ksh: Likewise.
5579 * timezone/zdump.c: Likewise.
5580 * timezone/zic.c: Likewise.
5582 * math/auto-libm-test-in: Add tests of cpow.
5583 * math/auto-libm-test-out: Regenerated.
5584 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5585 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5587 (func_calc_desc): Add mpc_cc_c union field.
5588 (test_functions): Add cpow.
5589 (special_fill_2pi): New function.
5590 (special_real_inputs): Add 2pi.
5591 (calc_generic_results): Handle mpc_cc_c.
5592 * sysdeps/i386/fpu/libm-test-ulps: Update.
5593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5595 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5596 csqrt, ctan and ctanh.
5597 * math/auto-libm-test-out: Regenerated.
5598 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5599 (TEST_COND_x86): Likewise.
5600 (ccos_test_data): Use AUTO_TESTS_c_c.
5601 (ccosh_test_data): Likewise.
5602 (cexp_test_data): Likewise.
5603 (clog_test_data): Likewise.
5604 (csqrt_test_data): Likewise.
5605 (ctan_test_data): Likewise.
5606 (ctan_tonearest_test_data): Likewise.
5607 (ctan_towardzero_test_data): Likewise.
5608 (ctan_downward_test_data): Likewise.
5609 (ctan_upward_test_data): Likewise.
5610 (ctanh_test_data): Likewise.
5611 (ctanh_tonearest_test_data): Likewise.
5612 (ctanh_towardzero_test_data): Likewise.
5613 (ctanh_downward_test_data): Likewise.
5614 (ctanh_upward_test_data): Likewise.
5615 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5617 (func_calc_desc): Add mpc_c_c union field.
5618 (FUNC_mpc_c_c): New macro.
5619 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5620 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5622 (special_fill_min_subnorm_p120): New function.
5623 (special_real_inputs): Add min_subnorm_p120.
5624 (calc_generic_results): Handle mpc_c_c.
5625 * sysdeps/i386/fpu/libm-test-ulps: Update.
5626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5630 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5631 do_sin_slow): New functions.
5632 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5633 cslow2, csloww1, csloww2): Use the new functions.
5635 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5636 Use M to change sign of result instead of X. Assume X is
5638 (csloww1): Likewise.
5642 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5649 (sloww1): Don't adjust sign of DX.
5650 (csloww1): Likewise.
5651 (sloww2): Use X directly and don't adjust sign of DX.
5652 (csloww2): Likewise.
5654 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5656 * math/auto-libm-test-in: Add tests of cabs and carg.
5657 * math/auto-libm-test-out: Regenerated.
5658 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5659 (carg_test_data): Likewise.
5660 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5662 (func_calc_desc): Add mpc_c_f union field.
5663 (test_functions): Add cabs and carg.
5664 (calc_generic_results): Handle mpc_c_f.
5666 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5667 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5668 as a macro and a compat symbol.
5669 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5670 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5671 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5672 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5673 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5674 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5676 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5678 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5680 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5682 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5684 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5686 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5687 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5690 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5694 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5696 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5697 trailing whitespace removed.
5698 * scripts/config.guess: Update to version 2013-11-29.
5699 * scripts/config.sub: Update to version 2013-10-01.
5701 * math/auto-libm-test-in: Add tests of sincos.
5702 * math/auto-libm-test-out: Regenerated.
5703 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5704 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5706 (func_calc_desc): Add mpfr_f_11 union field.
5707 (test_functions): Add sincos.
5708 (calc_generic_results): Handle mpfr_f_11.
5709 * sysdeps/i386/fpu/libm-test-ulps: Update.
5710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5712 2013-12-19 Andreas Schwab <schwab@suse.de>
5714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5718 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5720 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5722 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5723 * sysdeps/i386/fpu/libm-test-ulps: Update.
5724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5728 round-to-nearest mode when using frndint.
5729 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5730 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5733 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5735 * math/auto-libm-test-out: Regenerated.
5736 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5737 (TEST_COND_x86): Likewise.
5738 (expm1_tonearest_test_data): New array.
5739 (expm1_test_tonearest): New function.
5740 (expm1_towardzero_test_data): New array.
5741 (expm1_test_towardzero): New function.
5742 (expm1_downward_test_data): New array.
5743 (expm1_test_downward): New function.
5744 (expm1_upward_test_data): New array.
5745 (expm1_test_upward): New function.
5746 (main): Run the new test functions.
5747 * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750 * include/features.h: Update comment documenting feature test
5751 macros. Mention _DEFAULT_SOURCE in comment.
5752 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5753 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5754 _BSD_SOURCE and _SVID_SOURCE.
5755 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5756 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5757 !_SVID_SOURCE]: Likewise.
5758 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5759 (__USE_POSIX_IMPLICITLY): Define.
5760 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5761 (_POSIX_SOURCE): Undefine and redefine.
5762 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5763 (_POSIX_C_SOURCE): Likewise.
5764 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5765 (Feature Test Macros): Update documentation of default features.
5767 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5769 * benchtests/Makefile: Add bench-strtok.
5770 * benchtests/bench-strtok.c: New file: strtok benchtest.
5772 2013-12-19 Allan McRae <allan@archlinux.org>
5774 * manual/install.texi: Suppress menu for plain text output.
5775 * INSTALL: Regenerated.
5777 2013-12-18 Brooks Moses <bmoses@google.com>
5780 * misc/getauxval.c: Include errno.h.
5781 (__getauxval): Set errno to ENOENT if the requested type is not
5783 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5784 don't declare with __attribute_const__.
5785 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5786 * manual/startup.texi: Document that getauxval sets errno.
5788 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5790 * math/auto-libm-test-in: Add tests of jn and yn.
5791 * math/auto-libm-test-out: Regenerated.
5792 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5793 (yn_test_data): Likewise.
5794 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5796 (func_calc_desc): Add mpfr_if_f union field.
5797 (FUNC_mpfr_if_f): New macro.
5798 (test_functions): Add jn and yn.
5799 (calc_generic_results): Assert type of second input for
5800 mpfr_ff_f. Handle mpfr_if_f.
5801 (output_for_one_input_case): Disable all checking for arguments
5802 fitting floating-point types in case of an integer argument.
5803 * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5807 Don't expect fegetround reference in libm.so.
5809 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5811 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5812 $(config-cflags-nofma).
5814 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5816 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5817 * math/auto-libm-test-out: Regenerated.
5820 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5821 to determine exponent and adjust argument to have exponent of -1.
5822 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5824 * math/auto-libm-test-out: Regenerated.
5825 * sysdeps/i386/fpu/libm-test-ulps: Update.
5826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5828 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5830 * manual/probes.texi: Remove cases when per-thread arenas are
5833 2013-12-18 Andreas Schwab <schwab@suse.de>
5835 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5836 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5837 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5838 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5839 * sysdeps/i386/i686/multiarch/Makefile: Update.
5840 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5842 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5844 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5845 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5847 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5850 Support TZ transition times < 00:00:00.
5851 This is needed for version-3 tz-format files; it supports time
5852 stamps past 2037 for America/Godthab (the only entry in the tz
5853 database for which this change is relevant).
5854 * manual/time.texi (TZ Variable): Document transition times
5855 from -167:59:59 through -00:00:01.
5856 * time/tzset.c (tz_rule): Time of day is now signed.
5857 (__tzset_parse_tz): Parse negative time of day.
5859 Document TZ transition times >= 25:00:00.
5860 * manual/time.texi (TZ Variable): Document transition times from
5861 25:00:00 through 167:59:59. These are already supported, and this
5862 support will help with version-3 tz-format files.
5864 * manual/time.texi (TZ Variable): Modernize North America example
5865 to reflect current (i.e., 2007-and-later) daylight saving rules.
5867 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5869 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5871 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5872 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5875 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5876 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5877 * sysdeps/unix/bsd/clock.c: Likewise.
5878 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5879 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5880 * sysdeps/unix/bsd/init-posix.c: Likewise.
5881 * sysdeps/unix/bsd/poll.c: Likewise.
5882 * sysdeps/unix/bsd/ptsname.c: Likewise.
5883 * sysdeps/unix/bsd/seekdir.c: Likewise.
5884 * sysdeps/unix/bsd/setegid.c: Likewise.
5885 * sysdeps/unix/bsd/seteuid.c: Likewise.
5886 * sysdeps/unix/bsd/setgid.c: Likewise.
5887 * sysdeps/unix/bsd/setrgid.c: Likewise.
5888 * sysdeps/unix/bsd/setruid.c: Likewise.
5889 * sysdeps/unix/bsd/setsid.c: Likewise.
5890 * sysdeps/unix/bsd/setuid.c: Likewise.
5891 * sysdeps/unix/bsd/sigaction.c: Likewise.
5892 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5893 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5894 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5895 * sysdeps/unix/bsd/telldir.c: Likewise.
5896 * sysdeps/unix/bsd/times.c: Likewise.
5897 * sysdeps/unix/bsd/usleep.c: Likewise.
5899 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5900 ($(objpfx)libbsd-compat.a): Remove rule.
5902 * include/features.h (__FAVOR_BSD): Do not define.
5903 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5904 features conflicting with POSIX.
5905 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5906 (_BSD_SOURCE): Remove description of not being a subset of other
5907 feature test macros.
5908 * manual/job.texi (getpgrp): Do not document BSD version.
5909 (getpgid): Do not document by reference to BSD getpgrp.
5910 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5911 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5912 * signal/signal.h [__FAVOR_BSD]: Likewise.
5913 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5914 instead of making contents conditional on [__FAVOR_BSD].
5915 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5917 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5921 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5924 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5925 values below 2**-450, not 2**-500.
5926 * math/auto-libm-test-in: Don't allow spurious underflow from
5928 * math/auto-libm-test-out: Regenerated.
5932 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5933 values of ha and hb and sort them after adjusting subnormal
5935 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5938 values of ea and eb and sort them after adjusting subnormal
5940 * math/auto-libm-test-in: Do not expect some hypot tests of
5941 subnormals to fail. Add more hypot tests.
5942 * math/auto-libm-test-out: Regenerated.
5944 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5947 * sysdeps/sh/s_fma.c: New file.
5948 * sysdeps/sh/s_fmaf.c: New file.
5949 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5951 * sysdeps/sh/Implies: Add sh/soft-fp.
5953 2013-12-16 Roland McGrath <roland@hack.frob.com>
5955 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5956 level of indirection to members `objname', `errstring', `malloced'.
5957 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5958 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5959 it as the __longjmp argument (just pass 1 instead).
5960 (_dl_catch_error): Initialize C with argument pointers and address of
5961 volatile local ERRCODE rather than copying values out of C at return.
5963 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5965 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5966 * math/auto-libm-test-out: Regenerated.
5967 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5968 (hypot_test_data): Likewise.
5969 (pow_test_data): Likewise.
5970 (pow_tonearest_test_data): Likewise.
5971 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5973 (func_calc_desc): Add mpfr_ff_f union field.
5974 (FUNC_mpfr_ff_f): New macro.
5975 (test_functions): Add atan2, hypot and pow.
5976 (special_fill_min): New function.
5977 (special_fill_minus_min): Likewise.
5978 (special_fill_min_subnorm): Likewise.
5979 (special_fill_minus_min_subnorm): Likewise.
5980 (special_real_inputs): Add min, -min, min_subnorm and
5982 (calc_generic_results): Handle mpfr_ff_f.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986 2013-12-16 Will Newton <will.newton@linaro.org>
5988 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5989 (Aligned Memory Blocks): Add documentation for aligned_alloc
5990 and suggest it as an alternative to posix_memalign.
5991 (Hooks for Malloc): Document __memalign_hook is also called
5992 for aligned_alloc. (Summary of Malloc): Add summary for
5993 aligned alloc. Document __memalign_hook is also called
5996 2013-12-16 Will Newton <will.newton@linaro.org>
5998 * manual/memory.texi (Malloc Examples): Clarify default
5999 alignment documentation. Suggest posix_memalign rather
6000 than memalign or valloc.
6001 (Aligned Memory Blocks): Remove suggestion to use memalign
6002 or valloc. Remove obsolete comment about BSD.
6003 Document memalign errno values and mark the function obsolete.
6004 Document posix_memalign returned error codes. Mark valloc
6005 as obsolete. (Hooks for Malloc): __memalign_hook is also
6006 called for posix_memalign and valloc.
6007 (Summary of Malloc): Add posix_memalign to function summary.
6008 __memalign_hook is also called for posix_memalign and valloc.
6010 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6016 (sloww): Use mynumber union. Expand ternary operator into
6018 (cslow): use mynumber union.
6020 2013-12-16 Allan McRae <allan@archlinux.org>
6022 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6023 * configure: Regenerated.
6025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6028 * configure.ac: Added --enable-maintainer-mode. Check for
6029 autoconf when enabled.
6030 * configure: Regenerated.
6032 * nscd/nscd.service: New file.
6033 * nscd/nscd.tmpfiles: New file.
6035 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6038 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6039 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6040 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6041 (strstr): Add __strstr_sse2_unaligned ifunc.
6042 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6043 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6044 (strcasestr): Remove __strcasestr_sse42 ifunc.
6045 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6049 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6051 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6052 * sysdeps/sh/bits/fenv.h: ... here.
6053 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6055 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6059 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6062 hypotf multiarch implementations.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6066 multiarch hypot for PPC64.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6070 multiarch hypotf for PPC64.
6072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6075 modff multiarch implementations.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6079 multiarch modf for PPC64.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6083 multiarch modff for PPC64.
6085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6088 and logl multiarch implementations.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6092 multiarch logb for PPC64.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6096 multiarch logb for PPC64.
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6100 multiarch logb for PPC64.
6102 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6105 isinff multiarch implementation.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6110 multiarch isinf for PPC64.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6114 multiarch isinff for PPC64.
6116 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6119 finitef multiarch implementation.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6124 multiarch finite for PPC64.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6128 multiarch finitef for PPC64.
6130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6133 lrint multiarch implementation.
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6138 multiarch llrint for PPC64.
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6140 multiarch lrint for PPC64.
6142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6145 copysignf multiarch implementation.
6146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6151 multiarch copysign for PPC64.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6153 multiarch copysignf for PPC64.
6155 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6158 multiarch implementation.
6159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6167 multiarch llround for PPC64.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6169 multiarch trunc for PPC64.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6171 multiarch truncf for PPC64.
6173 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6176 multiarch implementation.
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6185 multiarch llround for PPC64.
6186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6187 multiarch round for PPC64.
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6189 multiarch roundf for PPC64.
6191 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6194 multiarch implementation.
6195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6203 multiarch llround for PPC64.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6205 multiarch floor for PPC64.
6206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6207 multiarch floorf for PPC64.
6209 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6212 multiarch implementation.
6213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6221 multiarch llround for PPC64.
6222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6223 multiarch ceil for PPC64.
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6225 multiarch ceilf for PPC64.
6227 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6230 multiarch implementation.
6231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6238 multiarch llround for PPC64.
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6240 multiarch lround for PPC64.
6242 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6245 multiarch implementation.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6253 multiarch isnan for PPC64.
6254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6255 multiarch isnanf for PPC64.
6257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6260 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6261 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6262 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6263 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6269 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6273 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6276 multiarch implementations.
6277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6278 (__libc_ifunc_impl_list): Likewise.
6279 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6280 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6281 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6282 multiarch stpcpy for PPC64.
6284 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6287 multiarch implementations.
6288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6289 (__libc_ifunc_impl_list): Likewise.
6290 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6291 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6292 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6293 multiarch strcpy for PPC64.
6295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6298 redefine function name.
6299 (_wordcopy_fwd_dest_aligned): Likewise.
6300 (_wordcopy_bwd_aligned): Likewise.
6301 (_wordcopy_bwd_dest_aligned): Likewise.
6302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6303 multiarch implementations.
6304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6305 (__libc_ifunc_impl_list): Likewise.
6306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6309 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6310 multiarch wcscpy for PPC64.
6312 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6315 multiarch implementations.
6316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6317 (__libc_ifunc_impl_list): Likewise.
6318 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6322 multiarch wcscpy for PPC64.
6324 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6327 multiarch implementations.
6328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6329 (__libc_ifunc_impl_list): Likewise.
6330 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6331 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6334 multiarch wcsrchr for PPC64.
6336 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6339 multiarch implementations.
6340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6341 (__libc_ifunc_impl_list): Likewise.
6342 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6345 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6346 multiarch wcschr for PPC64.
6348 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6351 multiarch implementations.
6352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6353 (__libc_ifunc_impl_list): Likewise.
6354 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6355 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6356 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6357 multiarch strchrnul for PPC64.
6359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364 (__libc_ifunc_impl_list): Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6366 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6367 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6368 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6376 (__libc_ifunc_impl_list): Likewise.
6377 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6379 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6380 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6383 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6386 multiarch implementations.
6387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6388 (__libc_ifunc_impl_list): Likewise.
6389 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6390 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6391 strncasecmp for PPC64.
6392 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6393 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6394 multiarch strncasecmp_l for PPC64.
6396 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6399 multiarch implementations.
6400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6401 (__libc_ifunc_impl_list): Likewise.
6402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6404 multiarch strcasecmp for PPC64.
6405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6408 multiarch strcasecmp_l for PPC64.
6410 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6415 (__libc_ifunc_impl_list): Likewise.
6416 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6417 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6421 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6426 (__libc_ifunc_impl_list): Likewise.
6427 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6428 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6432 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6437 (__libc_ifunc_impl_list): Likewise.
6438 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6441 rawmemrchr for PPC64.
6443 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6448 (__libc_ifunc_impl_list): Likewise.
6449 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6450 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6451 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6454 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6459 (__libc_ifunc_impl_list): Likewise.
6460 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6461 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6462 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6465 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6470 (__libc_ifunc_impl_list): Likewise.
6471 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6476 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6479 avoid cretion of __bzero symbol.
6480 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6482 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6484 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6487 multiarch implementations.
6488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6489 (__libc_ifunc_impl_list): Likewise.
6490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6493 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6495 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6499 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6501 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6503 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6505 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6509 (__libc_ifunc_impl_list): Likewise.
6510 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6511 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6516 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6519 multiarch for POWER/PPC64.
6520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6521 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6528 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6531 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6534 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6535 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6536 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6537 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6538 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6539 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6540 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6541 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6542 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6543 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6544 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6545 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6546 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6547 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6556 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6558 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6560 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 * benchtests/Makefile (bench): Add exp2 and log2.
6563 (LDLIBS-bench-exp2): Add -lm.
6564 (LDLIBS-bench-log2): Likewise.
6565 * benchtests/exp2-inputs: New inputs file.
6566 * benchtests/log2-inputs: New inputs file.
6567 * benchtests/log-inputs: Add new inputs.
6568 * benchtests/tan-inputs: Likewise.
6570 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6572 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6574 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6575 csloww1, csloww2): ... from here.
6577 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6578 instead of structures.
6579 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6580 (POLYNOMIAL): Likewise.
6581 (TAYLOR_SLOW): Likewise.
6589 (bsloww1): Likewise.
6590 (bsloww2): Likewise.
6593 (csloww1): Likewise.
6594 (csloww2): Likewise.
6596 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6598 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6599 (__malloc_assert, __libc_realloc, __libc_calloc,
6600 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6602 * malloc/hooks.c (realloc_check): Likewise.
6604 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6606 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6607 * malloc/arena.c: Remove PER_THREAD conditional.
6608 [!PER_THREAD]: Remove code.
6609 (ptmalloc_unlock_all2): Likewise.
6610 (ptmalloc_init): Likewise.
6611 (_int_new_arena): Likewise.
6612 (arena_get2): Likewise.
6613 * malloc/hooks.c (__malloc_get_state): Likewise.
6614 (__malloc_set_state): Likewise.
6615 * malloc/malloc.c: Likewise.
6616 (struct malloc_state): Likewise.
6617 (struct malloc_par): Likewise.
6618 (__libc_realloc): Likewise.
6619 (__libc_mallopt): Likewise.
6621 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6625 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6627 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6628 macro to a function. Check for zero perturb_byte.
6629 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6631 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6633 * malloc/malloc.c: (force_reg): Remove.
6634 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6635 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6636 force_reg by atomic_forced_read.
6637 * malloc/arena.c (ptmalloc_init): Likewise.
6638 * malloc/hooks.c (top_check): Likewise.
6640 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6644 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6648 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6650 * math/auto-libm-test-in: Add tests of lgamma.
6651 * math/auto-libm-test-out: Regenerated.
6652 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6653 (M_LOG_2_SQRT_PIl): Likewise.
6654 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6655 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6657 (func_calc_desc): Add mpfr_f_f1 union field.
6666 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6667 (test_functions): Add lgamma.
6668 (calc_generic_results): Handle mpfr_f_f1.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6672 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6675 __mpn_add_n for PowerPC64/POWER7.
6676 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6677 __mpn_sub_n for PowerPC64/POWER7.
6679 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6681 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6682 __mpn_addmul_1 for PowerPC64.
6683 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6684 __mpn_submul_1 for PowerPC64.
6685 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6687 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6690 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6693 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6695 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6702 add multiarch folders.
6703 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6704 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6705 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6706 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6707 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6708 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6709 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6710 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6711 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6712 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6713 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6724 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6730 multiarch __ieee754_hypot for PowerPC32.
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6736 multiarch __ieee754_hypotf for PowerPC32.
6738 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6741 long_double_symbol only if __logbl is defined.
6742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6743 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6745 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6747 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6749 path for implementation.
6750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6751 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6753 logb, and logbl multiarch implementations for PowerPC32.
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6759 multiarch logb for PowerPC32.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6765 multiarch logbf for PowerPC32.
6766 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6770 multiarch logbl implementation for PowerPC32.
6772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6775 and modff multiarch implementations.
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6781 multiarch modf for PowerPC32.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6787 multiarch modff for PowerPC32.
6789 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6792 and lrintf multiarch implementations.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6798 multiarch lrint for PowerPC32.
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6800 file: multiarch lrintf for PowerPC32.
6802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6805 and lroundf multiarch implementations.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6813 multiarch lround for PowerPC32.
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6815 file: multiarch lroundf for PowerPC32.
6817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6820 copysign and copysignf multiarch implementations.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6826 file: multiarch copysign for PowerPC32.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6828 file: multiarch copysignf for PowerPC32.
6830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6833 and truncf multiarch implementations.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6839 multiarch trunc for PowerPC32.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6845 multiarch truncf for PowerPC32.
6847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6850 and roundf multiarch implementations.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6856 multiarch round for PowerPC32.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6862 multiarch roundf for PowerPC32.
6864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6867 and floorf multiarch implementations.
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6873 multiarch floor for PowerPC32.
6874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6879 multiarch floorf for PowerPC32.
6881 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6884 and ceilf multiarch implementations.
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6890 multiarch ceil for PowerPC32.
6891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6896 multiarch ceilf for PowerPC32.
6898 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6902 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6905 and finitef multiarch implementations.
6906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6911 multiarch finite for PowerPC32.
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6915 file: multiarch finitef for PowerPC32.
6917 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6920 and isinff multiarch implementations.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6926 multiarch isinf for PowerPC32.
6927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6930 multiarch isinff for PowerPC32.
6932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6935 alias when __isnan is defined.
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6937 and isnanf multiarch implementations.
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6947 multiarch isnan for PowerPC32.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6953 multiarch isnanf for PowerPC32.
6955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6958 and sqrtf multiarch implementations.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6964 multiarch sqrt for PowerPC32.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6970 multiarch sqrtf for PowerPC32.
6972 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6975 and llroundf multiarch implementations.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6983 file: multiarch llround for PowerPC32.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6985 file: multiarch llroundf for PowerPC32.
6987 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6990 multiarch PowerPC32 fpu implementations.
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6996 multiarch llrint for PowerPC32.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7004 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7017 multiarch wordcopy for PPC32.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7021 (__libc_ifunc_impl_list): Likewise.
7022 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7023 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7025 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7027 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7029 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7031 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7039 multiarch wcscpy for PPC32.
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7043 (__libc_ifunc_impl_list): Likewise.
7044 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7045 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7046 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7047 sysdeps/powerpc/power6/wcscpy.c.
7049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7059 multiarch wcsrchr for PPC32.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7063 (__libc_ifunc_impl_list): Likewise.
7064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7066 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7067 sysdeps/powerpc/power6/wcsrchr.c.
7069 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7077 multiarch wcschr for PPc32.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7081 (__libc_ifunc_impl_list): Likewise.
7082 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7083 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7084 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7085 sysdeps/powerpc/power6/wcschr.c.
7087 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7093 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7094 file: multiarch strchr for PPC32.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7098 (__libc_ifunc_impl_list): Likewise.
7100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7102 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7104 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7109 multiarch strchrnul for PPC32.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7113 (__libc_ifunc_impl_list): Likewise.
7115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7120 multiarch strncasecmp for PPC32.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7124 multiarch strncasecmp_l for PPC32.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7126 strncasecmp multiarch objects.
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7128 (__libc_ifunc_impl_list): Likewise.
7130 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7135 multiarch strncasecmp for PPC32.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7139 multiarch strcasecmp_l for PPC32.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7143 (__libc_ifunc_impl_list): Likewise.
7145 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7152 multiarch strncmp for PPC32.
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7156 (__libc_ifunc_impl_list): Likewise.
7158 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7161 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7168 (__libc_ifunc_impl_list): Likewise.
7170 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7180 (__libc_ifunc_impl_list): Likewise.
7182 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7189 multiarch rawmemchr for PPC32.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7193 (__libc_ifunc_impl_list): Likewise.
7195 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7202 file: memrchr multiarch for PPC32.
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7206 (__libc_ifunc_impl_list): Likewise.
7208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7210 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7215 multiarch memchr for PPC32.
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7219 (__libc_ifunc_impl_list): Likewise.
7221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7223 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7229 file: multiarch mempcpy for PPC32.
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7233 (__libc_ifunc_impl_list): Likewise.
7235 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7241 multiarch bzero for PPC32.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7247 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7248 file: multiarch memset for PPC32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7251 memset multiarch objects.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7253 (__libc_ifunc_impl_list): Likewise.
7255 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7266 (__libc_ifunc_impl_list): Likewise.
7268 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7279 multiarch memcpy for PPC32.
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7283 (__libc_ifunc_impl_list): Likewise.
7285 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7288 support multiarch for POWER/PPC32.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7293 Implies file to make multiarch folder appers before the fpu and
7294 default folder for power4 configuration.
7296 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7298 * scripts/bench.pl: Append volatile keyword to type.
7300 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7302 * sysdeps/sh/sotruss-lib.c: New file.
7303 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7305 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7309 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7312 * math/w_tgamma.c: Include <errno.h>.
7313 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7314 * math/w_tgammaf.c: Include <errno.h>.
7315 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7316 * math/w_tgammal.c: Include <errno.h>.
7317 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7318 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7319 underflow. Add more tgamma tests.
7320 * math/auto-libm-test-out: Regenerated.
7321 * sysdeps/i386/fpu/libm-test-ulps: Update.
7322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7325 sin, sinh, tan, tanh, tgamma, y0 and y1.
7326 * math/auto-libm-test-out: Regenerated.
7327 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7328 (TEST_COND_x86): Likewise.
7329 (M_E2l): Remove macro.
7331 (M_2_SQRT_PIl): Likewise.
7332 (M_SQRT_PIl): Likewise.
7333 (M_1_DIV_El): Likewise.
7334 (log_test_data): Use AUTO_TESTS_f_f.
7335 (log10_test_data): Likewise.
7336 (log1p_test_data): Likewise.
7337 (log2_test_data): Likewise.
7338 (sin_test_data): Likewise.
7339 (sin_tonearest_test_data): Likewise.
7340 (sin_towardzero_test_data): Likewise.
7341 (sin_downward_test_data): Likewise.
7342 (sin_upward_test_data): Likewise.
7343 (sinh_test_data): Likewise.
7344 (sinh_tonearest_test_data): Likewise.
7345 (sinh_towardzero_test_data): Likewise.
7346 (sinh_downward_test_data): Likewise.
7347 (sinh_upward_test_data): Likewise.
7348 (tan_test_data): Likewise.
7349 (tan_tonearest_test_data): Likewise.
7350 (tan_towardzero_test_data): Likewise.
7351 (tan_downward_test_data): Likewise.
7352 (tan_upward_test_data): Likewise.
7353 (tanh_test_data): Likewise.
7354 (tgamma_test_data): Likewise.
7355 (y0_test_data): Likewise.
7356 (y1_test_data): Likewise.
7357 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7358 (special_real_inputs): Add pi/4.
7359 * sysdeps/i386/fpu/libm-test-ulps: Update.
7360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7362 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7364 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7365 "longjmp_target" static probes.
7366 (__longjmp): Rename to __longjmp_symbol.
7367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7368 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7369 on which longjmp to generate.
7370 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7371 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7373 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7374 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7375 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7376 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7377 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7378 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7380 __longjmp_symbol based on which __longjmp to generate.
7381 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7383 (setjmp): Rename to setjmp_symbol.
7384 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7385 (_setjmp): Rename to _setjmp_symbol.
7386 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7387 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7388 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7389 which setjmp to generate.
7390 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7391 "longjmp_target" static probes.
7393 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7395 * benchtests/README: Add note about output arguments.
7396 * benchtests/bench-sincos.c: Remove file.
7397 * benchtests/sincos-inputs: New file.
7398 * scripts/bench.pl: Identify output arguments and define
7399 static variables for them.
7401 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7404 * Makefile (INSTALL): Add install-plain.texi as the primary
7406 * manual/install-plain.texi: New file.
7407 * manual/install.texi: Include node directive only for
7408 non-plaintext output.
7410 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7412 * stdlib/longlong.h: Update from GCC.
7416 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7417 * math/w_j0f.c (y0f): Likewise.
7418 * math/w_j0l.c (__y0l): Likewise.
7419 * math/w_j1.c (y1): Likewise.
7420 * math/w_j1f.c (y1f): Likewise.
7421 * math/w_j1l.c (__y1l): Likewise
7422 * math/w_jn.c (yn): Likewise.
7423 * math/w_jnf.c (ynf): Likewise.
7424 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7425 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7426 value for Bessel function domain errors outside _SVID_ mode.
7427 Adjust sign of return value for yn (negative integer, 0).
7428 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7429 by zero in return for negative x and set sign appropriately for
7431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7433 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7434 expectations in error cases.
7435 (y1_test_data): Likewise.
7436 (yn_test_data): Likewise.
7437 * sysdeps/i386/fpu/libm-test-ulps: Update.
7438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7442 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7443 "64" to "64-v1". Add "64-v2".
7444 (abi-64-options): Rename to ...
7445 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7446 (abi-64-condition): Rename to ...
7447 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7448 (abi-64-ld-soname): Rename to ...
7449 (abi-64-v1-ld-soname): ... this.
7450 (abi-64-v2-options): Define.
7451 (abi-64-v2-condition): Likewise.
7452 (abi-64-v2-ld-soname): Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7454 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7459 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7460 Alan Modra <amodra@gmail.com>
7462 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7463 New versions for use with the ELFv2 ABI.
7464 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7465 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7467 (struct La_ppc64v2_retval): Likewise.
7468 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7469 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7470 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7471 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7472 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7473 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7474 Do not save or restore CR.
7475 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7476 (_dl_profile_resolve): Do no save or restore CR. Support extended
7477 return values for ELFv2 ABI. Fix location of FPR return registers.
7478 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7479 updated values for _CALL_ELF == 2.
7480 (La_regs, La_retval, int_retval): Likewise.
7482 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7484 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7485 (FRAME_MIN_SIZE_PARM): Likewise.
7486 (FRAME_BACKCHAIN): Likewise.
7487 (FRAME_CR_SAVE): Likewise.
7488 (FRAME_LR_SAVE): Likewise.
7489 (FRAME_TOC_SAVE): Likewise.
7490 (FRAME_PARM_SAVE): Likewise.
7491 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7492 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7493 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7494 (call_mcount_parm_offset): New macro.
7495 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7496 (PROF): Use symbolic stack frame offsets.
7497 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7498 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7499 Redefine in terms of FRAME_MIN_SIZE.
7500 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7501 (_dl_profile_resolve): Likewise. Update comment.
7502 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7503 symbols stack frame offsets.
7504 (__sigsetjmp): Likewise.
7505 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7506 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7507 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7508 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7511 (FRAME_BACKCHAIN): Remove.
7512 (FRAME_CR_SAVE): Likewise.
7513 (FRAME_LR_SAVE): Likewise.
7514 (FRAME_COMPILER_DW): Likewise.
7515 (FRAME_LINKER_DW): Likewise.
7516 (FRAME_TOC_SAVE): Likewise.
7517 (FRAME_PARM_SAVE): Likewise.
7518 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7519 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7520 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7522 (CHECK_SP): Use symbolic stack frame offsets.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7524 zone" instead of caller's parameter save area for temp storage.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7526 Likewise. Also, use symbolic stack frame offsets.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7528 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7529 our own stack frame instead of the caller's.
7530 (__socket): Use symbolic stack frame offsets.
7532 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7533 Alan Modra <amodra@gmail.com>
7535 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7537 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7538 PPC64_LOCAL_ENTRY_OFFSET): Define.
7539 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7541 (elf_machine_fixup_plt): Call it.
7542 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7544 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7545 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7546 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7547 r2 before calling target.
7549 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7550 Alan Modra <amodra@gmail.com>
7552 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7553 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7554 versions of macros to support ELFv2 ABI.
7555 (LOCALENTRY): New macro.
7556 (ENTRY, EALIGN): Use it.
7557 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7558 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7559 fall through into ENTRY entry point.
7560 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7561 Only define if _CALL_ELF != 2.
7563 (elf_machine_matches_host): Verify ABI version matches.
7564 (RTLD_START): Use LOCALENTRY.
7565 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7566 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7567 (PLT_ENTRY_WORDS): New macro.
7568 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7569 (elf_machine_runtime_setup): Support ELFv2 ABI.
7570 (elf_machine_fixup_plt): Likewise.
7571 (elf_machine_plt_conflict): Likewise.
7572 (resolve_ifunc): Likewise.
7573 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7574 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7577 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7579 (makecontext): Support ELFv2 ABI.
7580 * elf/elf.h (EF_PPC64_ABI): Define.
7582 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7584 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7585 New assembler macro.
7586 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7587 [ASSEMBLER] (ENTRY): ... but instead here ...
7588 [ASSEMBLER] (EALIGN): ... and here.
7589 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7590 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7591 [!ASSEMBLER] (ENTRY_2): Use it.
7592 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7593 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7594 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7595 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7596 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7598 Use PPC64_LOAD_FUNCPTR.
7600 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7602 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7604 2013-12-04 Alan Modra <amodra@gmail.com>
7606 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7607 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7608 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7609 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7612 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7613 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7614 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7615 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7616 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7618 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7621 (__makecontext): Fix incorrect CFI when backtracing out of
7622 context created via makecontext.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7624 (__setcontext): Fix incorrect CFI during switch to new context.
7625 (__novec_setcontext): Likewise.
7627 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7630 * time/strptime_l.c (__strptime_internal): Allow modifiers
7632 * time/tst-strptime.c (day_tests): Add testcase.
7635 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7637 * scripts/bench.pl: Skip over blank lines.
7639 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7642 * manual/time.texi (Calendar Time): Clarify what timezone functions
7645 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7649 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7651 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7653 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7654 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7655 * debug/memset_chk.c (__memset_chk): Likewise.
7656 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7657 * debug/strncpy_chk.c: Likewise.
7659 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7663 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7664 (__ieee754_exp): For possibly underflowing results, check size of
7665 result and force underflow exception if required.
7666 * math/auto-libm-test-in: Add more tests of exp.
7667 * math/auto-libm-test-out: Regenerated.
7668 * sysdeps/i386/fpu/libm-test-ulps: Update.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7673 * math/w_exp2f.c (__exp2f): Likewise.
7674 * math/w_exp2l.c (__exp2l): Likewise.
7675 * math/auto-libm-test-in: Do not allow missing errno on exp2
7677 * math/auto-libm-test-out: Regenerated.
7679 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7682 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7683 handle filename validation.
7684 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7687 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7690 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7691 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7692 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7694 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7695 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7696 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7698 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7699 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7700 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7701 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7702 Add more erfc tests.
7703 * math/auto-libm-test-out: Regenerated.
7704 * sysdeps/i386/fpu/libm-test-ulps: Update.
7705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7708 exp2, expm1, j0 and j1.
7709 * math/auto-libm-test-out: Regenerated.
7710 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7711 (erfc_test_data): Likewise.
7712 (exp_test_data): Likewise.
7713 (exp_tonearest_test_data): Likewise.
7714 (exp_towardzero_test_data): Likewise.
7715 (exp_downward_test_data): Likewise.
7716 (exp_upward_test_data): Likewise.
7717 (exp10_test_data): Likewise.
7718 (exp2_test_data): Likewise.
7719 (expm1_test_data): Likewise.
7720 (j0_test_data): Likewise.
7721 (j1_test_data): Likewise.
7722 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7723 (input_flag_type): Add flag_xfail_rounding.
7724 (input_flags): Add xfail-rounding.
7725 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7726 (output_for_one_input_case): Handle flag_xfail_rounding.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7733 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7736 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7739 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7740 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7741 (STAP_PROBE0): New macro.
7742 (STAP_PROBE1): Likewise.
7743 (STAP_PROBE2): Likewise.
7744 (STAP_PROBE3): Likewise.
7745 (STAP_PROBE4): Likewise.
7747 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7749 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7751 2013-12-02 Steve Ellcey <sellcey@mips.com>
7753 * benchtests/Makefile (bench): Add sqrt.
7754 (LDLIBS-bench-sqrt): New.
7755 * benchtests/sqrt-input: New.
7757 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7759 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7760 (GAIH_EAI): Likewise.
7761 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7762 (gaih_inet): Likewise.
7763 (getaddrinfo): Don't use GAIH_EAI.
7765 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7766 (struct gaih): Remove definition.
7768 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7770 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7771 Use HERRNOP directly.
7773 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7777 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7779 * math/gen-auto-libm-tests.c (test_functions): Add more
7780 single-argument functions.
7781 (special_fill_pi_2): New function.
7782 (special_fill_minus_pi_2): Likewise.
7783 (special_fill_pi_6): Likewise.
7784 (special_fill_minus_pi_6): Likewise.
7785 (special_fill_pi_3): Likewise.
7786 (special_fill_2pi_3): Likewise.
7787 (special_fill_e): Likewise.
7788 (special_fill_1_e): Likewise.
7789 (special_fill_e_minus_1): Likewise.
7790 (special_real_inputs): Add more special inputs.
7791 (output_for_one_input_case): Do not require ERANGE on underflow to
7792 zero if round-to-nearest result does not underflow to zero, unless
7793 exact results required.
7794 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7795 atan, atanh, cbrt, cos and cosh.
7796 * math/auto-libm-test-out: Regenerated.
7797 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7798 (acos_tonearest_test_data): Likewise.
7799 (acos_towardzero_test_data): Likewise.
7800 (acos_downward_test_data): Likewise.
7801 (acos_upward_test_data): Likewise.
7802 (acosh_test_data): Likewise.
7803 (asin_test_data): Likewise.
7804 (asin_tonearest_test_data): Likewise.
7805 (asin_towardzero_test_data): Likewise.
7806 (asin_upward_test_data): Likewise.
7807 (asinh_test_data): Likewise.
7808 (atan_test_data): Likewise.
7809 (atanh_test_data): Likewise.
7810 (cbrt_test_data): Likewise.
7811 (cos_test_data): Likewise.
7812 (cos_tonearest_test_data): Likewise.
7813 (cos_towardzero_test_data): Likewise.
7814 (cos_downward_test_data): Likewise.
7815 (cos_upward_test_data): Likewise.
7816 (cosh_test_data): Likewise.
7817 (cosh_tonearest_test_data): Likewise.
7818 (cosh_towardzero_test_data): Likewise.
7819 (cosh_downward_test_data): Likewise.
7820 (cosh_upward_test_data): Likewise.
7821 * sysdeps/i386/fpu/libm-test-ulps: Update.
7822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7824 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7827 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7828 * math/w_exp10f.c (__exp10f): Likewise.
7829 * math/w_exp10l.c (__exp10l): Likewise.
7830 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7831 errno settings in existing tests.
7834 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7835 precision control set to double precision.
7836 * sysdeps/i386/fpu/w_sqrt.c: New file.
7837 * math/auto-libm-test-in: Add more tests.
7838 * math/auto-libm-test-out: Update.
7840 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7841 (sqrt_test_tonearest): New function.
7842 (sqrt_towardzero_test_data): New variable.
7843 (sqrt_test_towardzero): New function.
7844 (sqrt_downward_test_data): New variable.
7845 (sqrt_test_downward): New function.
7846 (sqrt_upward_test_data): New variable.
7847 (sqrt_test_upward): New function.
7848 (main): Call the new functions.
7850 * math/gen-auto-libm-tests.c: New file.
7851 * math/auto-libm-test-in: Likewise.
7852 * math/auto-libm-test-out: New generated file.
7853 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7855 (%beautify): Add generated representations of zero.
7856 (top level): Set $auto_input and call parse_auto_input.
7857 (beautify): Remove trailing "f" from hex float constants.
7858 (parse_args): Handle XFAIL_TEST.
7859 (convert_condition): New function.
7860 (or_value): Likewise.
7861 (or_cond_value): Likewise.
7862 (generate_testfile): Handle AUTO_TESTS_* lines.
7863 (parse_auto_input): New function.
7864 * math/libm-test.inc (XFAIL_TEST): New macro.
7865 (ERRNO_UNCHANGED): Update value.
7866 (ERRNO_EDOM): Likewise.
7867 (ERRNO_ERANGE): Likewise.
7868 (IGNORE_RESULT): Likewise.
7869 (TEST_COND_flt_32): New macro.
7870 (TEST_COND_dbl_64): Likewise.
7871 (TEST_COND_ldbl_96_intel): Likewise.
7872 (TEST_COND_ldbl_96_m68k): Likewise.
7873 (TEST_COND_ldbl_128): Likewise.
7874 (TEST_COND_ldbl_128ibm): Likewise.
7875 (TEST_COND_long32): Likewise.
7876 (TEST_COND_long64): Likewise.
7877 (TEST_COND_before_rounding): Likewise.
7878 (TEST_COND_after_rounding): Likewise.
7879 (enable_test): Handle XFAIL_TEST flag.
7880 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7881 with finite results.
7882 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7885 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7886 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7889 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7890 __tls_get_addr_internal instead of __tls_get_offset in order to
7891 avoid GOT pointer dependency. Make rtld export
7892 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7893 __tls_get_addr since we are a __tls_get_offset platform.
7894 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7895 GOT pointer being set up before.
7896 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7898 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7900 * manual/math.texi (Errors in Math Functions): Document accuracy
7904 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7905 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7921 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7922 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7923 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7924 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7925 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7927 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7929 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7931 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7932 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7933 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7934 atomic-feupdateenv and flt-rounds.
7935 * sysdeps/powerpc/nofpu/Versions (libc): Add
7936 __atomic_feholdexcept, __atomic_feclearexcept,
7937 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7938 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7939 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7940 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7941 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7946 * manual/arith.texi (FP Exceptions): Document that exceptions may
7947 not be raised when matherr is used.
7948 (Math Error Reporting): Document overflow in directed rounding
7949 modes. Document that errno may not be set when finite values are
7950 returned on overflow. Document intent to set errno on underflow
7951 only for underflow to zero.
7954 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7955 round-to-nearest then adjust result for other rounding modes.
7956 * include/fenv.h (fegetround): Use libm_hidden_proto.
7957 * math/fegetround.c (fegetround): Use libm_hidden_def.
7958 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7959 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7960 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7961 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7963 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7964 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7965 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7966 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7968 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7971 * nss/Versions (libnss_files): Add
7972 _nss_files_gethostbyname3_r.
7973 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7975 (HOST_DB_LOOKUP): Remove macro.
7976 (_nss_files_gethostbyname_r): Implement function without the
7977 HOST_DB_LOOKUP macro.
7978 (_nss_files_gethostbyname2_r): Likewise.
7980 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7982 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7984 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7986 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7987 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7990 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7993 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7994 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7995 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7996 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7997 __fe_nomask_env_priv and attribute_hidden.
7998 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7999 (libc_feupdateenv_test_ppc): Likewise.
8000 (libc_feresetround_ppc): Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8002 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8003 compat_symbol macro.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8005 (__fe_nomask_env): Likewise.
8006 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8008 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8010 * string/Makefile: Remove ifunc tests.
8011 * string/test-string.h: Define TEST_IFUNC.
8012 * string/test-bcopy-ifunc.c: Remove.
8013 * string/test-bzero-ifunc.c: Likewise.
8014 * string/test-memccpy-ifunc.c: Likewise.
8015 * string/test-memchr-ifunc.c: Likewise.
8016 * string/test-memcmp-ifunc.c: Likewise.
8017 * string/test-memcpy-ifunc.c: Likewise.
8018 * string/test-memmem-ifunc.c: Likewise.
8019 * string/test-memmove-ifunc.c: Likewise.
8020 * string/test-mempcpy-ifunc.c: Likewise.
8021 * string/test-memrchr-ifunc.c: Likewise.
8022 * string/test-memset-ifunc.c: Likewise.
8023 * string/test-rawmemchr-ifunc.c: Likewise.
8024 * string/test-stpcpy-ifunc.c: Likewise.
8025 * string/test-stpncpy-ifunc.c: Likewise.
8026 * string/test-strcasecmp-ifunc.c: Likewise.
8027 * string/test-strcasestr-ifunc.c: Likewise.
8028 * string/test-strcat-ifunc.c: Likewise.
8029 * string/test-strchr-ifunc.c: Likewise.
8030 * string/test-strchrnul-ifunc.c: Likewise.
8031 * string/test-strcmp-ifunc.c: Likewise.
8032 * string/test-strcpy-ifunc.c: Likewise.
8033 * string/test-strcspn-ifunc.c: Likewise.
8034 * string/test-strlen-ifunc.c: Likewise.
8035 * string/test-strncasecmp-ifunc.c: Likewise.
8036 * string/test-strncat-ifunc.c: Likewise.
8037 * string/test-strncmp-ifunc.c: Likewise.
8038 * string/test-strncpy-ifunc.c: Likewise.
8039 * string/test-strnlen-ifunc.c: Likewise.
8040 * string/test-strpbrk-ifunc.c: Likewise.
8041 * string/test-strrchr-ifunc.c: Likewise.
8042 * string/test-strspn-ifunc.c: Likewise.
8043 * string/test-strstr-ifunc.c: Likewise.
8045 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8047 * benchtests/Makefile: Remove ifunc tests.
8048 * benchtests/bench-string.h: Define TEST_IFUNC.
8049 * benchtests/bench-bcopy-ifunc.c: Remove.
8050 * benchtests/bench-bzero-ifunc.c: Likewise.
8051 * benchtests/bench-memccpy-ifunc.c: Likewise.
8052 * benchtests/bench-memchr-ifunc.c: Likewise.
8053 * benchtests/bench-memcmp-ifunc.c: Likewise.
8054 * benchtests/bench-memcpy-ifunc.c: Likewise.
8055 * benchtests/bench-memmem-ifunc.c: Likewise.
8056 * benchtests/bench-memmove-ifunc.c: Likewise.
8057 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8058 * benchtests/bench-memrchr-ifunc.c: Likewise.
8059 * benchtests/bench-memset-ifunc.c: Likewise.
8060 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8061 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8062 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8063 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8064 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8065 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8066 * benchtests/bench-strcat-ifunc.c: Likewise.
8067 * benchtests/bench-strchr-ifunc.c: Likewise.
8068 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8069 * benchtests/bench-strcmp-ifunc.c: Likewise.
8070 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8071 * benchtests/bench-strcpy-ifunc.c: Likewise.
8072 * benchtests/bench-strcspn-ifunc.c: Likewise.
8073 * benchtests/bench-strlen-ifunc.c: Likewise.
8074 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8075 * benchtests/bench-strncat-ifunc.c: Likewise.
8076 * benchtests/bench-strncmp-ifunc.c: Likewise.
8077 * benchtests/bench-strncpy-ifunc.c: Likewise.
8078 * benchtests/bench-strnlen-ifunc.c: Likewise.
8079 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8080 * benchtests/bench-strrchr-ifunc.c: Likewise.
8081 * benchtests/bench-strsep-ifunc.c: Likewise.
8082 * benchtests/bench-strspn-ifunc.c: Likewise.
8083 * benchtests/bench-strstr-ifunc.c: Likewise.
8085 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8087 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8089 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8091 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8092 * rt/aio.h: Likewise.
8093 * sysdeps/gnu/bits/utmp.h: Likewise.
8094 * sysdeps/gnu/bits/utmpx.h: Likewise.
8095 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8096 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8097 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8098 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8099 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8100 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8101 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8102 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8111 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8112 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8114 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8116 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8119 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8124 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8128 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8130 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8131 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8132 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8133 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8134 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8135 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8136 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8138 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8141 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8142 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8144 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8146 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8147 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8150 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8153 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8154 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8155 (__fesetround): Remove define.
8156 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8157 rounding and exceptions handling.
8158 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8160 (__fe_nomask_env): Likewise.
8161 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8162 __fegetround instead of fegetround.
8163 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8166 2013-11-21 Roland McGrath <roland@hack.frob.com>
8168 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8171 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8173 2013-11-21 Meador Inge <meadori@codesourcery.com>
8176 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8177 (encrypt_r): Likewise.
8178 * malloc/obstack.h (obstack_free): Likewise.
8179 * posix/unistd.h (encrypt): Likewise.
8181 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8183 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8184 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8185 DL_CALL_DT_FINI() that call the functions directly.
8186 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8187 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8188 * elf/dl-fini.c: Likewise.
8190 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8192 * malloc/hooks.c (memalign_check): Add alignment rounding.
8193 * malloc/malloc.c (_mid_memalign): New function.
8194 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8195 Implement by calling _mid_memalign.
8196 * manual/probes.texi (Memory Allocation Probes): Remove
8197 memory_valloc_retry and memory_pvalloc_retry.
8199 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 * locale/programs/locarchive.c (open_archive): Add const
8202 qualifier to ARCHIVEFNAME and copy default fname to
8206 * libio/tst-widetext.input: Rename Oriya to Odia.
8207 * locale/iso-639.def: Likewise.
8209 * manual/probes.texi (Mathematical Function Probes): Add
8210 documentation for sin, cos, asin and acos probes.
8211 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8212 (__sin32): Add slowasin probe.
8213 (__cos32): Add slowacos probe.
8214 (__mpsin): Add slowsin probe.
8215 (__mpcos): Add slowcos probe.
8217 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8221 thread-local __sim_exceptions_thread and global
8222 __sim_exceptions_global.
8223 (__sim_disabled_exceptions): Change to thread-local
8224 __sim_disabled_exceptions_thread and global
8225 __sim_disabled_exceptions_global.
8226 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8227 and global __sim_round_mode_global.
8228 (__simulate_exceptions): Use thread-local floating-point state and
8229 set global state from it as needed.
8230 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8231 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8232 __sim_round_mode_thread.
8233 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8234 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8235 and global __sim_exceptions_global.
8236 (__sim_disabled_exceptions): Change to thread-local
8237 __sim_disabled_exceptions_thread and global
8238 __sim_disabled_exceptions_global.
8239 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8240 and global __sim_round_mode_global.
8241 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8242 (SIM_SET_GLOBAL): Likewise.
8243 * sysdeps/powerpc/soft-fp/sfp-machine.h
8244 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8245 __sim_round_mode_thread.
8246 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8247 __sim_disabled_exceptions_thread.
8248 (__sim_exceptions): Change to __sim_exceptions_thread.
8249 (__sim_disabled_exceptions): Change to
8250 __sim_disabled_exceptions_thread.
8251 (__sim_round_mode): Change to __sim_round_mode_thread.
8252 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8253 thread-local floating-point state and set global state from it as
8255 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8256 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8257 (__sim_disabled_exceptions): Remove extern declaration.
8258 (feenableexcept): Use thread-local floating-point state and set
8259 global state from it as needed.
8260 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8262 (__sim_disabled_exceptions): Likewise.
8263 (__sim_round_mode): Likewise.
8264 (__fegetenv): Use thread-local floating-point state.
8265 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8266 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8267 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8268 floating-point state and set global state from it as needed.
8269 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8270 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8271 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8273 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8274 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8276 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8277 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8278 Use __sim_round_mode_thread.
8279 * math/test-fenv-tls.c: New file.
8280 * math/Makefile (tests): Add test-fenv-tls.
8281 ($(objpfx)test-fenv-tls): Depend on
8282 $(common-objpfx)nptl/libpthread.so.
8284 2013-11-19 Andreas Schwab <schwab@suse.de>
8286 * locale/programs/locale.c (show_info): Decode wordarray elements.
8287 * locale/categories.def (LC_MONETARY): Add element for
8288 _NL_MONETARY_CRNCYSTR.
8289 * locale/C-monetary.c (conversion_rate): New variable.
8290 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8293 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8295 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8296 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8298 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8300 * elf/Makefile (tst-auxv): New test.
8301 * elf/tst-auxv.c: New
8302 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8304 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8306 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8307 (hidden_proto): Caller changed.
8308 (hidden_tls_proto): New macro.
8309 (libc_hidden_tls_proto): Likewise.
8310 (rtld_hidden_tls_proto): Likewise.
8311 (libm_hidden_tls_proto): Likewise.
8312 (libresolv_hidden_tls_proto): Likewise.
8313 (librt_hidden_tls_proto): Likewise.
8314 (libdl_hidden_tls_proto): Likewise.
8315 (libnss_files_hidden_tls_proto): Likewise.
8316 (libnsl_hidden_tls_proto): Likewise.
8317 (libnss_nisplus_hidden_tls_proto): Likewise.
8318 (libutil_hidden_tls_proto): Likewise.
8320 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8323 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8324 (decompose_rpath): Defer expansion to fillin_rpath.
8325 (_dl_init_paths): Pass linkmap to fillin_rpath.
8327 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8329 * benchtests/Makefile: Add strsep.
8330 * benchtests/bench-strsep.c: New file: strsep benchtest.
8331 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8333 2013-11-18 Andreas Schwab <schwab@suse.de>
8335 * locale/programs/locale.c (show_info) [case byte]: Check for
8336 '\377' instead of '\177'.
8337 * locale/C-monetary.c (not_available): Always use "\377".
8338 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8339 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8340 detect unavailable sign_posn locale elements.
8341 * locale/localeconv.c (__localeconv): For grouping and
8342 mon_grouping handle "\177" and "\377" like no grouping.
8343 (INT_ELEM): New macro. Use it to set all numeric members.
8344 * locale/programs/ld-monetary.c (monetary_read)
8345 <tok_mon_grouping>: Normalize single -1 to the empty string.
8346 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8349 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8353 when we match (nil).
8354 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8356 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8358 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8359 (NO_TEST_INLINE): Update value.
8360 (ERRNO_UNCHANGED): Likewise.
8361 (ERRNO_EDOM): Likewise.
8362 (ERRNO_ERANGE): Likewise.
8363 (IGNORE_RESULT): Likewise.
8364 (check_float_internal): Check signs of NaN results if
8366 (check_complex): Pass TEST_NAN_SIGN flag through to second
8367 check_float_internal call.
8368 (copysign_test_data): Add tests with quiet NaNs as second
8369 argument. Use TEST_NAN_SIGN.
8370 (fabs_test_data): Add test of negative quiet NaN argument. Use
8372 (signbit_test_data): Add tests of quiet NaN argument.
8373 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8375 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8377 (parse_args): Handle function results specified as IGNORE.
8378 * math/libm-test.inc (IGNORE_RESULT): New macro.
8379 (check_float_internal): Do not check numerical result if flag
8381 (check_complex): Pass through IGNORE_RESULT to second
8382 check_float_internal call.
8383 (check_int): Do not check numerical result if flag IGNORE_RESULT
8385 (check_long): Likewise.
8386 (check_bool): Likewise.
8387 (check_longlong): Likewise.
8388 (lrint_test_data): Add tests of infinite and NaN arguments.
8389 (lrint_tonearest_test_data): Likewise.
8390 (lrint_towardzero_test_data): Likewise.
8391 (lrint_downward_test_data): Likewise.
8392 (lrint_upward_test_data): Likewise.
8393 (llrint_test_data): Likewise.
8394 (llrint_tonearest_test_data): Likewise.
8395 (llrint_towardzero_test_data): Likewise.
8396 (llrint_downward_test_data): Likewise.
8397 (llrint_upward_test_data): Likewise.
8398 (lround_test_data): Likewise.
8399 (llround_test_data): Likewise.
8401 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8402 (ERRNO_UNCHANGED): Update value.
8403 (ERRNO_EDOM): Likewise.
8404 (ERRNO_ERANGE): Likewise.
8405 (NO_TEST_INLINE_FLOAT): New macro.
8406 (NO_TEST_INLINE_DOUBLE): Likewise.
8407 (enable_test): New function.
8408 (RUN_TEST_f_f): Check enable_test before running test.
8409 (RUN_TEST_2_f): Likewise.
8410 (RUN_TEST_fff_f): Likewise.
8411 (RUN_TEST_c_f): Likewise.
8412 (RUN_TEST_f_f1): Likewise.
8413 (RUN_TEST_fF_f1): Likewise.
8414 (RUN_TEST_fI_f1): Likewise.
8415 (RUN_TEST_ffI_f1): Likewise.
8416 (RUN_TEST_c_c): Likewise.
8417 (RUN_TEST_cc_c): Likewise.
8418 (RUN_TEST_f_i): Likewise.
8419 (RUN_TEST_f_i_tg): Likewise.
8420 (RUN_TEST_ff_i_tg): Likewise.
8421 (RUN_TEST_f_b): Likewise.
8422 (RUN_TEST_f_b_tg): Likewise.
8423 (RUN_TEST_f_l): Likewise.
8424 (RUN_TEST_f_L): Likewise.
8425 (RUN_TEST_fFF_11): Likewise.
8426 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8428 (cosh_test_data): Likewise.
8429 (exp_test_data): Likewise.
8430 (expm1_test_data): Likewise.
8431 (hypot_test_data): Likewise.
8432 (pow_test_data): Likewise.
8433 (sinh_test_data): Likewise.
8434 (tanh_test_data): Likewise.
8435 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8438 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8439 tests with quiet NaN input and output.
8440 (acosh_test_data): Likewise.
8441 (asin_test_data): Likewise.
8442 (asinh_test_data): Likewise.
8443 (atan_test_data): Likewise.
8444 (atanh_test_data): Likewise.
8445 (atan2_test_data): Likewise.
8446 (cbrt_test_data): Likewise.
8447 (cos_test_data): Likewise.
8448 (cosh_test_data): Likewise.
8449 (erf_test_data): Likewise.
8450 (erfc_test_data): Likewise.
8451 (exp_test_data): Likewise.
8452 (exp10_test_data): Likewise.
8453 (exp2_test_data): Likewise.
8454 (expm1_test_data): Likewise.
8455 (hypot_test_data): Likewise.
8456 (j0_test_data): Likewise.
8457 (j1_test_data): Likewise.
8458 (jn_test_data): Likewise.
8459 (lgamma_test_data): Likewise.
8460 (log_test_data): Likewise.
8461 (log10_test_data): Likewise.
8462 (log1p_test_data): Likewise.
8463 (log2_test_data): Likewise.
8464 (pow_test_data): Likewise.
8465 (scalb_test_data): Likewise.
8466 (sin_test_data): Likewise.
8467 (sincos_test_data): Likewise.
8468 (sinh_test_data): Likewise.
8469 (tan_test_data): Likewise.
8470 (tanh_test_data): Likewise.
8471 (tgamma_test_data): Likewise.
8472 (y0_test_data): Likewise.
8473 (y1_test_data): Likewise.
8474 (yn_test_data): Likewise.
8477 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8478 argument being NaN and avoid computations with second argument in
8480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8482 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8484 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8486 * locale/iso-639.def: Add Chitwani Tharu (the).
8488 2013-11-14 Andreas Schwab <schwab@suse.de>
8490 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8491 word instead of empty string.
8493 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8496 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8498 (__fe_nomask_env): Likewise.
8500 2013-11-13 Steve Ellcey <sellcey@mips.com>
8502 * benchtests/bench-timing.h: Include time.h.
8504 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8507 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8509 * sysdeps/unix/sysv/linux/configure: Regenerated.
8511 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8514 * stdlib/strtod_l.c (round_and_return): Do not consider
8515 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8516 exponent one less than half the least subnormal exponent.
8517 * stdlib/test-strtod-round-data: Add more tests.
8518 * stdlib/tst-strtod-round.c (tests): Regenerated.
8520 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8523 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8524 (__fe_mask_env): Likewise.
8525 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8526 libm_hidden_proto and add function prototype.
8527 (__fe_mask_env): Add function prototype.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8529 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8531 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8533 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8535 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8537 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8538 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8540 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8542 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8543 of htab_find_slot().
8545 2013-11-11 David S. Miller <davem@davemloft.net>
8548 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8549 symbol in the non-vis3 case in static builds.
8550 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8551 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8552 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8553 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8555 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8558 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8561 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8563 * benchtests/Makefile: Add bench-strtod.
8564 * benchtests/bench-strtod.c: New file: strtod benchtest
8566 2013-11-11 Andreas Schwab <schwab@suse.de>
8569 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8570 terminating NUL in key length.
8572 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8574 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8575 Add artificial ODP entry for vDSO symbol for PPC64.
8576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8577 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8579 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8582 * nss/getent.c (services_keys): Recognize services starting with digit.
8584 2013-11-06 David S. Miller <davem@davemloft.net>
8587 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8588 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8590 2013-11-06 Will Newton <will.newton@linaro.org>
8592 * manual/memory.texi (Malloc Examples): Remove register
8593 keyword from examples.
8595 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8597 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8599 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8602 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8603 depending on [__GCC_IEC_559 > 0].
8604 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8605 depending on [__GCC_IEC_559_COMPLEX > 0].
8607 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8609 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8612 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8614 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8616 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8619 * malloc/malloc (malloc_info): Do not handle first bin as
8622 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8624 * locale/iso-639.def: Add Central Nahuatl (nhn).
8626 2013-11-01 Bruno Haible <bruno@clisp.org>
8629 * manual/math.texi (BSD Random): Specify range upper bound as
8632 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8634 * locale/iso-639.def: Add Meadow Mari (mhr).
8636 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8638 [BZ #14752], [BZ #15763]
8639 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8641 * rt/tst_shm.c: Add test for escaping directory.
8643 2013-10-31 Andreas Schwab <schwab@suse.de>
8646 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8647 followed by 'x' as part of digit sequence.
8648 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8650 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8653 * configure.ac: allow GNU Make 4.0 and greater.
8654 * configure: Regenerated.
8656 2013-10-30 Will Newton <will.newton@linaro.org>
8659 * malloc/hooks.c (memalign_check): Limit alignment to the
8660 maximum representable power of two.
8661 * malloc/malloc.c (__libc_memalign): Likewise.
8662 * malloc/tst-memalign.c (do_test): Add test for very
8663 large alignment values.
8664 * malloc/tst-posix_memalign.c (do_test): Likewise.
8666 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8669 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8670 (munmap_chunk): Likewise.
8671 (mremap_chunk): Likewise.
8673 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8676 * stdlib/div.c (div): Remove obsolete code.
8677 * stdlib/ldiv.c (ldiv): Likewise.
8678 * stdlib/lldiv.c (lldiv): Likewise.
8680 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8683 * nss/nss_files/files-XXX.c (get_contents_ret): New
8685 (get_contents): New function.
8686 (internal_getent): Use it. Expand size of LINEBUFLEN.
8688 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8690 * configure.in: Moved to ...
8691 * configure.ac: ... here. Change reference to configure.in
8693 * sysdeps/arm/preconfigure.ac: ... here.
8694 configure.in to configure.ac.
8695 * sysdeps/gnu/configure.in: Moved to ...
8696 * sysdeps/gnu/configure.ac: ... here.
8697 * sysdeps/i386/configure.in: Moved to ...
8698 * sysdeps/i386/configure.ac: ... here.
8699 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8700 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8701 * sysdeps/mach/configure.in: Moved to ...
8702 * sysdeps/mach/configure.ac: ... here.
8703 * sysdeps/mach/hurd/configure.in: Moved to ...
8704 * sysdeps/mach/hurd/configure.ac: ... here.
8705 * sysdeps/powerpc/configure.in: Moved to ...
8706 * sysdeps/powerpc/configure.ac: ... here.
8707 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8708 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8709 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8710 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8711 * sysdeps/s390/s390-32/configure.in: Moved to ...
8712 * sysdeps/s390/s390-32/configure.ac: ... here.
8713 * sysdeps/s390/s390-64/configure.in: Moved to ...
8714 * sysdeps/s390/s390-64/configure.ac: ... here.
8715 * sysdeps/sh/configure.in: Moved to ...
8716 * sysdeps/sh/configure.ac: ... here.
8717 * sysdeps/sparc/configure.in: Moved to ...
8718 * sysdeps/sparc/configure.ac: ... here.
8719 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8720 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8721 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8722 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8723 * sysdeps/x86_64/configure.in: Moved to ...
8724 * sysdeps/x86_64/configure.ac: ... here.
8725 * sysdeps/x86_64/preconfigure.in: Moved to ...
8726 * sysdeps/x86_64/preconfigure.ac: ... here.
8727 * aclocal.m4: Change reference to configure.in to configure.ac.
8728 * config.h.in: Likewise.
8729 * manual/install.texi: Likewise.
8730 * manual/maint.texi: Likewise.
8731 * Makefile: Likewise.
8732 * malloc/Makefile: Likewise.
8733 * nscd/Makefile: Likewise.
8734 * Makeconfig: Change reference to configure.in and
8735 preconfigure.in to configure.ac and preconfigure.ac
8737 * INSTALL: Regenerated.
8738 * configure: Likewise.
8739 * sysdeps/gnu/configure: Likewise.
8740 * sysdeps/i386/configure: Likewise.
8741 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8742 * sysdeps/mach/configure: Likewise.
8743 * sysdeps/mach/hurd/configure: Likewise.
8744 * sysdeps/powerpc/configure: Likewise.
8745 * sysdeps/powerpc/powerpc32/configure: Likewise.
8746 * sysdeps/powerpc/powerpc64/configure: Likewise.
8747 * sysdeps/s390/s390-32/configure: Likewise.
8748 * sysdeps/s390/s390-64/configure: Likewise.
8749 * sysdeps/sh/configure: Likewise.
8750 * sysdeps/sparc/configure: Likewise.
8751 * sysdeps/unix/sysv/linux/configure: Likewise.
8752 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8753 * sysdeps/x86_64/configure: Likewise.
8754 * sysdeps/x86_64/preconfigure: Likewise.
8756 2013-10-29 Andreas Schwab <schwab@suse.de>
8758 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8760 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8762 * benchtests/pow-inputs: Add new inputs.
8764 * benchtests/exp-inputs: Add new inputs.
8766 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8767 conditional check for return value.
8768 (__cos32): Likewise.
8770 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8773 to provide a boost for large inputs with word alignment.
8774 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8775 implementation based on optimized PPC64 strcpy.
8776 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8777 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8778 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8779 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8781 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8784 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8786 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8789 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8790 * time/tst-strptime.c (day_tests): Add testcase.
8792 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8795 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8797 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8800 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8801 MAP_FAILED on error.
8803 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8807 heap for large requests.
8809 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8812 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8813 result if the result has no associated interface.
8814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8815 interface for all 127.X.Y.Z addresses.
8817 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8819 * locale/iso-639.def: Add Ligurian (lij)
8821 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8824 * sunrpc/rpc_main.c: Document rpcgen -5.
8826 2013-10-19 Michael Stahl <mstahl@redhat.com>
8828 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8830 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8833 * posix/glob.c: Match only directories when trailing slash is present.
8834 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8835 (main): Add testcase.
8837 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8840 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8842 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8844 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8845 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8846 AUTH_DES and cindex for FIPS 140-2.
8847 (DES Encryption): Add cindex FIPS 46-3.
8849 * locale/locarchive.h (struct locarhandle): Add fname.
8850 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8851 if an optional argument was specified to --list-archive,
8853 * locale/programs/locarchive.c (show_archive_content): Take new
8854 argument fname and pass it via ah.fname to open_archive.
8855 * locale/programs/localedef.h: Update decl.
8856 (open_archive): If AH->fname is non-null, open that file
8857 rather than the default file name, and don't ignore ENOENT.
8858 (create_archive): Set AH.fname to NULL.
8859 (delete_locales_from_archive): Likewise.
8860 (add_locales_to_archive): Likewise.
8861 * locale/programs/locfile.c (write_all_categories): Likewise.
8863 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8864 Aldy Hernandez <aldyh@redhat.com>
8866 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8867 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8868 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8870 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8871 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8872 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8873 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8874 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8875 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8876 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8877 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8878 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8879 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8880 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8882 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8884 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8886 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8888 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8889 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8891 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8892 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8893 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8894 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8896 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8897 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8898 * sysdeps/powerpc/preconfigure: Likewise.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8901 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8902 Replace contents of file by #include of <fenv_libc.h>.
8903 * sysdeps/powerpc/soft-fp/sfp-machine.h
8904 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8906 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8907 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8919 Allow copysignl PLT reference to be missing.
8921 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8922 Joseph Myers <joseph@codesourcery.com
8925 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8927 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8929 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8931 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8932 * elf/tst-tls1.c: Likewise.
8933 * elf/tst-tls10.h: Likewise.
8934 * elf/tst-tls14.c: Likewise.
8935 * elf/tst-tls2.c: Likewise.
8936 * elf/tst-tls3.c: Likewise.
8937 * elf/tst-tls4.c: Likewise.
8938 * elf/tst-tls5.c: Likewise.
8939 * elf/tst-tls6.c: Likewise.
8940 * elf/tst-tls7.c: Likewise.
8941 * elf/tst-tls8.c: Likewise.
8942 * elf/tst-tls9.c: Likewise.
8943 * elf/tst-tlsmod1.c: Likewise.
8944 * elf/tst-tlsmod13.c: Likewise.
8945 * elf/tst-tlsmod13a.c: Likewise.
8946 * elf/tst-tlsmod14a.c: Likewise.
8947 * elf/tst-tlsmod16a.c: Likewise.
8948 * elf/tst-tlsmod16b.c: Likewise.
8949 * elf/tst-tlsmod2.c: Likewise.
8950 * elf/tst-tlsmod3.c: Likewise.
8951 * elf/tst-tlsmod4.c: Likewise.
8952 * elf/tst-tlsmod5.c: Likewise.
8953 * elf/tst-tlsmod6.c: Likewise.
8955 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8958 * malloc/malloc.c: remove checks for statistics.
8960 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8963 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8964 * inet/tst-network.c: Add testcase.
8966 2013-10-17 Andreas Schwab <schwab@suse.de>
8969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8970 to determine canonical name.
8972 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8974 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8975 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8998 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8999 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9033 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9036 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9037 make result into a quiet NaN.
9039 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9041 * soft-fp/adddf3.c: Fix horizontal whitespace.
9042 * soft-fp/addsf3.c: Likewise.
9043 * soft-fp/addtf3.c: Likewise.
9044 * soft-fp/divdf3.c: Likewise.
9045 * soft-fp/divsf3.c: Likewise.
9046 * soft-fp/divtf3.c: Likewise.
9047 * soft-fp/double.h: Likewise.
9048 * soft-fp/eqdf2.c: Likewise.
9049 * soft-fp/eqsf2.c: Likewise.
9050 * soft-fp/eqtf2.c: Likewise.
9051 * soft-fp/extenddftf2.c: Likewise.
9052 * soft-fp/extended.h: Likewise.
9053 * soft-fp/extendsfdf2.c: Likewise.
9054 * soft-fp/extendsftf2.c: Likewise.
9055 * soft-fp/extendxftf2.c: Likewise.
9056 * soft-fp/fixdfdi.c: Likewise.
9057 * soft-fp/fixdfsi.c: Likewise.
9058 * soft-fp/fixdfti.c: Likewise.
9059 * soft-fp/fixsfdi.c: Likewise.
9060 * soft-fp/fixsfsi.c: Likewise.
9061 * soft-fp/fixsfti.c: Likewise.
9062 * soft-fp/fixtfdi.c: Likewise.
9063 * soft-fp/fixtfsi.c: Likewise.
9064 * soft-fp/fixtfti.c: Likewise.
9065 * soft-fp/fixunsdfdi.c: Likewise.
9066 * soft-fp/fixunsdfsi.c: Likewise.
9067 * soft-fp/fixunsdfti.c: Likewise.
9068 * soft-fp/fixunssfdi.c: Likewise.
9069 * soft-fp/fixunssfsi.c: Likewise.
9070 * soft-fp/fixunssfti.c: Likewise.
9071 * soft-fp/fixunstfdi.c: Likewise.
9072 * soft-fp/fixunstfsi.c: Likewise.
9073 * soft-fp/fixunstfti.c: Likewise.
9074 * soft-fp/floatdidf.c: Likewise.
9075 * soft-fp/floatdisf.c: Likewise.
9076 * soft-fp/floatditf.c: Likewise.
9077 * soft-fp/floatsidf.c: Likewise.
9078 * soft-fp/floatsisf.c: Likewise.
9079 * soft-fp/floatsitf.c: Likewise.
9080 * soft-fp/floattidf.c: Likewise.
9081 * soft-fp/floattisf.c: Likewise.
9082 * soft-fp/floattitf.c: Likewise.
9083 * soft-fp/floatundidf.c: Likewise.
9084 * soft-fp/floatundisf.c: Likewise.
9085 * soft-fp/floatunditf.c: Likewise.
9086 * soft-fp/floatunsidf.c: Likewise.
9087 * soft-fp/floatunsisf.c: Likewise.
9088 * soft-fp/floatunsitf.c: Likewise.
9089 * soft-fp/floatuntidf.c: Likewise.
9090 * soft-fp/floatuntisf.c: Likewise.
9091 * soft-fp/floatuntitf.c: Likewise.
9092 * soft-fp/fmadf4.c: Likewise.
9093 * soft-fp/fmasf4.c: Likewise.
9094 * soft-fp/fmatf4.c: Likewise.
9095 * soft-fp/gedf2.c: Likewise.
9096 * soft-fp/gesf2.c: Likewise.
9097 * soft-fp/getf2.c: Likewise.
9098 * soft-fp/ledf2.c: Likewise.
9099 * soft-fp/lesf2.c: Likewise.
9100 * soft-fp/letf2.c: Likewise.
9101 * soft-fp/muldf3.c: Likewise.
9102 * soft-fp/mulsf3.c: Likewise.
9103 * soft-fp/multf3.c: Likewise.
9104 * soft-fp/negdf2.c: Likewise.
9105 * soft-fp/negsf2.c: Likewise.
9106 * soft-fp/negtf2.c: Likewise.
9107 * soft-fp/op-1.h: Likewise.
9108 * soft-fp/op-2.h: Likewise.
9109 * soft-fp/op-4.h: Likewise.
9110 * soft-fp/op-8.h: Likewise.
9111 * soft-fp/op-common.h: Likewise.
9112 * soft-fp/quad.h: Likewise.
9113 * soft-fp/single.h: Likewise.
9114 * soft-fp/soft-fp.h: Likewise.
9115 * soft-fp/sqrtdf2.c: Likewise.
9116 * soft-fp/sqrtsf2.c: Likewise.
9117 * soft-fp/sqrttf2.c: Likewise.
9118 * soft-fp/subdf3.c: Likewise.
9119 * soft-fp/subsf3.c: Likewise.
9120 * soft-fp/subtf3.c: Likewise.
9121 * soft-fp/truncdfsf2.c: Likewise.
9122 * soft-fp/trunctfdf2.c: Likewise.
9123 * soft-fp/trunctfsf2.c: Likewise.
9124 * soft-fp/trunctfxf2.c: Likewise.
9125 * soft-fp/unorddf2.c: Likewise.
9126 * soft-fp/unordsf2.c: Likewise.
9127 * soft-fp/unordtf2.c: Likewise.
9129 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9131 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9132 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9134 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9136 * elf/dl-libc.c: Clear initfini list after freeing.
9138 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9140 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9141 * soft-fp/addsf3.c: Likewise.
9142 * soft-fp/addtf3.c: Likewise.
9143 * soft-fp/divdf3.c: Likewise.
9144 * soft-fp/divsf3.c: Likewise.
9145 * soft-fp/divtf3.c: Likewise.
9146 * soft-fp/double.h: Likewise.
9147 * soft-fp/eqdf2.c: Likewise.
9148 * soft-fp/eqsf2.c: Likewise.
9149 * soft-fp/eqtf2.c: Likewise.
9150 * soft-fp/extenddftf2.c: Likewise.
9151 * soft-fp/extended.h: Likewise.
9152 * soft-fp/extendsfdf2.c: Likewise.
9153 * soft-fp/extendsftf2.c: Likewise.
9154 * soft-fp/extendxftf2.c: Likewise.
9155 * soft-fp/fixdfdi.c: Likewise.
9156 * soft-fp/fixdfsi.c: Likewise.
9157 * soft-fp/fixdfti.c: Likewise.
9158 * soft-fp/fixsfdi.c: Likewise.
9159 * soft-fp/fixsfsi.c: Likewise.
9160 * soft-fp/fixsfti.c: Likewise.
9161 * soft-fp/fixtfdi.c: Likewise.
9162 * soft-fp/fixtfsi.c: Likewise.
9163 * soft-fp/fixtfti.c: Likewise.
9164 * soft-fp/fixunsdfdi.c: Likewise.
9165 * soft-fp/fixunsdfsi.c: Likewise.
9166 * soft-fp/fixunsdfti.c: Likewise.
9167 * soft-fp/fixunssfdi.c: Likewise.
9168 * soft-fp/fixunssfsi.c: Likewise.
9169 * soft-fp/fixunssfti.c: Likewise.
9170 * soft-fp/fixunstfdi.c: Likewise.
9171 * soft-fp/fixunstfsi.c: Likewise.
9172 * soft-fp/fixunstfti.c: Likewise.
9173 * soft-fp/floatdidf.c: Likewise.
9174 * soft-fp/floatdisf.c: Likewise.
9175 * soft-fp/floatditf.c: Likewise.
9176 * soft-fp/floatsidf.c: Likewise.
9177 * soft-fp/floatsisf.c: Likewise.
9178 * soft-fp/floatsitf.c: Likewise.
9179 * soft-fp/floattidf.c: Likewise.
9180 * soft-fp/floattisf.c: Likewise.
9181 * soft-fp/floattitf.c: Likewise.
9182 * soft-fp/floatundidf.c: Likewise.
9183 * soft-fp/floatundisf.c: Likewise.
9184 * soft-fp/floatunsidf.c: Likewise.
9185 * soft-fp/floatunsisf.c: Likewise.
9186 * soft-fp/floatuntidf.c: Likewise.
9187 * soft-fp/floatuntisf.c: Likewise.
9188 * soft-fp/floatuntitf.c: Likewise.
9189 * soft-fp/fmadf4.c: Likewise.
9190 * soft-fp/fmasf4.c: Likewise.
9191 * soft-fp/fmatf4.c: Likewise.
9192 * soft-fp/gedf2.c: Likewise.
9193 * soft-fp/gesf2.c: Likewise.
9194 * soft-fp/getf2.c: Likewise.
9195 * soft-fp/ledf2.c: Likewise.
9196 * soft-fp/lesf2.c: Likewise.
9197 * soft-fp/letf2.c: Likewise.
9198 * soft-fp/muldf3.c: Likewise.
9199 * soft-fp/mulsf3.c: Likewise.
9200 * soft-fp/multf3.c: Likewise.
9201 * soft-fp/negdf2.c: Likewise.
9202 * soft-fp/negsf2.c: Likewise.
9203 * soft-fp/negtf2.c: Likewise.
9204 * soft-fp/op-1.h: Likewise.
9205 * soft-fp/op-2.h: Likewise.
9206 * soft-fp/op-4.h: Likewise.
9207 * soft-fp/op-8.h: Likewise.
9208 * soft-fp/op-common.h: Likewise.
9209 * soft-fp/quad.h: Likewise.
9210 * soft-fp/single.h: Likewise.
9211 * soft-fp/soft-fp.h: Likewise.
9212 * soft-fp/sqrtdf2.c: Likewise.
9213 * soft-fp/sqrtsf2.c: Likewise.
9214 * soft-fp/sqrttf2.c: Likewise.
9215 * soft-fp/subdf3.c: Likewise.
9216 * soft-fp/subsf3.c: Likewise.
9217 * soft-fp/subtf3.c: Likewise.
9218 * soft-fp/truncdfsf2.c: Likewise.
9219 * soft-fp/trunctfdf2.c: Likewise.
9220 * soft-fp/trunctfsf2.c: Likewise.
9221 * soft-fp/trunctfxf2.c: Likewise.
9222 * soft-fp/unorddf2.c: Likewise.
9223 * soft-fp/unordsf2.c: Likewise.
9224 * soft-fp/unordtf2.c: Likewise.
9226 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9229 * misc/error.c (error_tail): Fix possible buffer overflow.
9231 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9234 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9237 2013-10-14 P. J. McDermott <pj@pehjota.net>
9240 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9241 testing pipefail option.
9243 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9245 * soft-fp/double.h: Indent preprocessor directives inside #if.
9246 * soft-fp/extended.h: Likewise.
9247 * soft-fp/op-2.h: Likewise.
9248 * soft-fp/op-4.h: Likewise.
9249 * soft-fp/op-common.h: Likewise.
9250 * soft-fp/quad.h: Likewise.
9251 * soft-fp/single.h: Likewise.
9252 * soft-fp/soft-fp.h: Likewise.
9254 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9256 * iconv/iconv_prog.c: Fix typos.
9257 * stdio-common/psiginfo-data.h: Likewise.
9259 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9262 * locale/setlocale.c: Fix typo.
9264 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9267 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9268 signaling NaN arguments.
9269 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9270 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9273 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9275 * soft-fp/gesf2.c (__gesf2): Likewise.
9276 * soft-fp/getf2.c (__getf2): Likewise.
9277 * soft-fp/ledf2.c (__ledf2): Likewise.
9278 * soft-fp/lesf2.c (__lesf2): Likewise.
9279 * soft-fp/letf2.c (__letf2): Likewise.
9281 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9282 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9283 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9284 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9285 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9286 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9287 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9288 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9289 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9290 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9291 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9292 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9293 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9294 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9295 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9296 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9297 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9298 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9299 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9300 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9301 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9302 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9303 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9304 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9305 * soft-fp/floattidf.c (__floattidf): Likewise.
9306 * soft-fp/floattisf.c (__floattisf): Likewise.
9307 * soft-fp/floattitf.c (__floattitf): Likewise.
9308 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9309 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9310 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9311 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9312 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9313 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9314 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9315 * soft-fp/gesf2.c (__gesf2): Likewise.
9316 * soft-fp/getf2.c (__getf2): Likewise.
9317 * soft-fp/ledf2.c (__ledf2): Likewise.
9318 * soft-fp/lesf2.c (__lesf2): Likewise.
9319 * soft-fp/letf2.c (__letf2): Likewise.
9321 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9322 Undefine and redefine.
9323 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9324 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9325 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9326 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9327 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9328 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9329 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9330 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9331 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9332 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9333 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9334 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9335 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9336 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9337 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9340 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9341 without decrementing exponent if mantissa >= that for the
9343 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9344 denominator, not >. Decrement exponent in < case instead of
9345 incrementing in >= case.
9346 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9347 without decrementing exponent if mantissa >= that for the
9350 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9351 computing saturated result for unsigned overflow.
9353 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9354 Jeff Law <law@redhat.com>
9356 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9357 (atan2Mp): Add systemtap probe marker.
9358 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9359 (__ieee754_log): Add systemtap probe marker.
9360 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9361 (atanMp): Add systemtap probe marker.
9362 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9363 (tanMp): Add systemtap probe marker.
9364 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9365 (__slowexp): Add systemtap probe marker.
9366 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9367 (__slowpow): Add systemtap probe marker.
9368 * manual/probes.texi: Document probes.
9370 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9373 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9375 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9377 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9378 written to buffer but not flushed.
9379 * libio/iofwrite_u.c: Likewise.
9380 * libio/iopadn.c: Return bytes returned even if EOF was
9382 * libio/iowpadn.c: Likewise.
9383 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9384 if _IO_padn does not write the whole buffer.
9385 [!COMPILE_WPRINTF] (PAD): Likewise.
9387 2013-10-10 David S. Miller <davem@davemloft.net>
9389 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9392 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9394 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9395 instead of FSF address.
9396 * soft-fp/fixdfti.c: Likewise.
9397 * soft-fp/fixsfti.c: Likewise.
9398 * soft-fp/fixtfti.c: Likewise.
9399 * soft-fp/fixunsdfti.c: Likewise.
9400 * soft-fp/fixunssfti.c: Likewise.
9401 * soft-fp/fixunstfti.c: Likewise.
9402 * soft-fp/floattidf.c: Likewise.
9403 * soft-fp/floattisf.c: Likewise.
9404 * soft-fp/floattitf.c: Likewise.
9405 * soft-fp/floatuntidf.c: Likewise.
9406 * soft-fp/floatuntisf.c: Likewise.
9407 * soft-fp/floatuntitf.c: Likewise.
9408 * soft-fp/trunctfxf2.c: Likewise.
9410 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9411 * soft-fp/fixdfti.c: Likewise.
9412 * soft-fp/fixsfti.c: Likewise.
9413 * soft-fp/fixtfti.c: Likewise.
9414 * soft-fp/fixunsdfti.c: Likewise.
9415 * soft-fp/fixunssfti.c: Likewise.
9416 * soft-fp/fixunstfti.c: Likewise.
9417 * soft-fp/floattidf.c: Likewise.
9418 * soft-fp/floattisf.c: Likewise.
9419 * soft-fp/floattitf.c: Likewise.
9420 * soft-fp/floatuntidf.c: Likewise.
9421 * soft-fp/floatuntisf.c: Likewise.
9422 * soft-fp/floatuntitf.c: Likewise.
9423 * soft-fp/trunctfxf2.c: Likewise.
9425 2013-10-10 David S. Miller <davem@davemloft.net>
9427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9429 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9431 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9432 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9433 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9436 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9437 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9440 for NaNs before doing comparisons on argument.
9441 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9444 2013-10-10 Will Newton <will.newton@linaro.org>
9446 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9447 passed to _int_memalign does not overflow.
9449 2013-10-10 Torvald Riegel <triegel@redhat.com>
9451 * scripts/bench.pl: Add include-sources directive.
9452 * benchtests/README: Update documentation.
9454 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9456 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9457 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9458 instead of FP_INIT_ROUNDMODE.
9459 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9460 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9463 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9464 copy class of input value.
9465 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9466 not handle exceptions.
9467 * soft-fp/negsf2.c (__negsf2): Likewise.
9468 * soft-fp/negtf2.c (__negtf2): Likewise.
9469 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9471 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9473 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9474 semicolon. From Linux kernel.
9476 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9478 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9480 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9483 * manual/socket.texi: Added statement about buffer
9484 for gethostbyname2_r.
9486 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9488 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9489 Use .p2align directive instead, throughout.
9490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9492 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9495 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9496 * sysdeps/x86_64/strchr.S: Likewise.
9497 * sysdeps/x86_64/strrchr.S: Likewise.
9499 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9501 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9503 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9505 * sysdeps/generic/math_private.h (__mpsin1): Remove
9507 (__mpcos1): Likewise.
9508 (__mpsin): New argument __range_reduce.
9509 (__mpcos): Likewise.
9510 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9511 (slow): Use __mpsin and __mpcos.
9518 (bsloww1): Likewise.
9519 (bsloww2): Likewise.
9522 (csloww1): Likewise.
9523 (csloww2): Likewise.
9524 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9525 range_reduce. Merge in __mpsin1.
9526 (__mpcos): Likewise.
9528 (__mpcos1): Likewise.
9530 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9532 * locale/loadlocale.c (_nl_intern_locale_data): Use
9534 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9535 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9536 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9537 obstack data is appropriately aligned.
9538 (obstack_int32_grow_fast): Likewise.
9539 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9540 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9541 (add_locale_uint32_array): Likewise.
9543 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9545 * benchtests/Makefile: Remove ARGLIST and RET variables.
9546 ($(objpfx)bench-%.c): Pass only function name to the script.
9547 * benchtests/README: Update documentation.
9548 * benchtests/acos-inputs: Add new directives.
9549 * benchtests/acosh-inputs: Likewise.
9550 * benchtests/asin-inputs: Likewise.
9551 * benchtests/asinh-inputs: Likewise.
9552 * benchtests/atan-inputs: Likewise.
9553 * benchtests/atanh-inputs: Likewise.
9554 * benchtests/cos-inputs: Likewise.
9555 * benchtests/cosh-inputs: Likewise.
9556 * benchtests/exp-inputs: Likewise.
9557 * benchtests/log-inputs: Likewise.
9558 * benchtests/pow-inputs: Likewise.
9559 * benchtests/rint-inputs: Likewise.
9560 * benchtests/sin-inputs: Likewise.
9561 * benchtests/sinh-inputs: Likewise.
9562 * benchtests/tan-inputs: Likewise.
9563 * benchtests/tanh-inputs: Likewise.
9564 * scripts/bench.pl: Add support for new directives.
9566 2013-10-07 Alan Modra <amodra@gmail.com>
9568 * README: Fix careless merge.
9570 2013-10-05 Alan Modra <amodra@gmail.com>
9572 * NEWS: Mention powerpc64le support and bugs fixed.
9573 * README: Both big-endian and little-endian powerpc64 supported.
9575 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9577 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9578 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9579 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9580 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9582 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9584 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9587 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9589 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9590 Move -mhard-float appending from
9591 ports/sysdeps/powerpc/powerpc32/Makefile.
9592 [$(with-fp) = yes] (ASFLAGS): Likewise.
9593 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9594 * sysdeps/powerpc/nofpu: Move directory from
9595 ports/sysdeps/powerpc/nofpu.
9596 * sysdeps/powerpc/soft-fp: Move directory from
9597 ports/sysdeps/powerpc/soft-fp.
9598 * sysdeps/powerpc/powerpc32/405: Move directory from
9599 ports/sysdeps/powerpc/powerpc32/405.
9600 * sysdeps/powerpc/powerpc32/440: Move directory from
9601 ports/sysdeps/powerpc/powerpc32/440.
9602 * sysdeps/powerpc/powerpc32/464: Move directory from
9603 ports/sysdeps/powerpc/powerpc32/464.
9604 * sysdeps/powerpc/powerpc32/476: Move directory from
9605 ports/sysdeps/powerpc/powerpc32/476.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9607 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9609 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9611 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9613 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9615 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9616 * README: Update for powerpc-*-linux-gnu software floating point
9619 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9620 case to powerpc/powerpc32*.
9621 * sysdeps/unix/sysv/linux/configure: Regenerated.
9623 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9624 (_FPU_MASK_OM): Define as 0x04.
9625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9633 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9636 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9639 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9640 and setcontext_e500.
9642 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9644 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9646 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9648 * manual/threads.texi (Default Thread Attributes): Fix typo.
9650 2013-10-04 Will Newton <will.newton@linaro.org>
9652 * malloc/Makefile: Add tst-memalign.
9653 * malloc/tst-memalign.c: New file.
9655 * malloc/tst-posix_memalign.c: Add comments.
9656 (do_test): Add comments and call free on all potentially
9657 allocated pointers. Add space after cast.
9659 * malloc/tst-pvalloc.c: Add comments.
9660 (do_test): Add comments and call free on all potentially
9661 allocated pointers. Remove duplicate check for NULL pointer.
9662 Add space after cast.
9664 * malloc/tst-valloc.c: Add comments.
9665 (do_test): Add comments and call free on all potentially
9666 allocated pointers. Remove duplicate check for NULL pointer.
9667 Add space after cast.
9669 2013-10-04 Alan Modra <amodra@gmail.com>
9671 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9672 Use stdint types in rather than __attribute__((mode())).
9673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9675 2013-10-04 Alan Modra <amodra@gmail.com>
9677 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9678 Correct handling of unaligned relocs for little-endian.
9679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9681 2013-10-04 Alan Modra <amodra@gmail.com>
9683 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9684 * configure: Regenerate.
9685 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9686 * shlib-versions: Likewise.
9688 2013-10-04 Alan Modra <amodra@gmail.com>
9690 * string/tester.c (test_memrchr): Increment reported test cycle.
9692 2013-10-04 Alan Modra <amodra@gmail.com>
9694 * string/test-memcpy.c (do_one_test): When reporting errors, print
9695 string address and don't overrun end of string.
9697 2013-10-04 Alan Modra <amodra@gmail.com>
9699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9700 insrdi. Make better use of reg selection to speed exit slightly.
9701 Schedule entry path a little better. Remove useless "are we done"
9702 checks on entry to main loop. Handle wrapping around zero address.
9703 Correct main loop count. Handle single left-over word from main
9704 loop inline rather than by using loop_small. Remove extra word
9705 case in loop_small caused by wrong loop count. Add little-endian
9707 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9711 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9712 support. Avoid rlwimi.
9713 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9715 2013-10-04 Alan Modra <amodra@gmail.com>
9717 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9719 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9720 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9721 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9722 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9723 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9724 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9726 2013-10-04 Alan Modra <amodra@gmail.com>
9728 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9729 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9730 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9731 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9732 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9734 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9735 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9736 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9737 use of regs. Use power7 mtocrf. Tidy function tails.
9739 2013-10-04 Alan Modra <amodra@gmail.com>
9741 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9742 Formatting. Consistently use rXXX register defines or rN defines.
9743 Use early exit labels that avoid restoring unused non-volatile regs.
9744 Make cr field use more consistent with rWORDn compares. Rename
9745 regs used as shift registers for unaligned loop, using rN defines
9746 for short lifetime/multiple use regs.
9747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9749 addi 1,1,64 to pop stack frame. Simplify return value code.
9750 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9752 2013-10-04 Alan Modra <amodra@gmail.com>
9754 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9755 support. Correct typos, formatting. Optimize tail. Use insrdi
9757 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9758 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9759 little-endian support. Correct typos.
9760 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9762 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9763 in loop and entry code to keep "and." results.
9764 (strchr): Add little-endian support. Comment. Move cntlzd
9766 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9768 2013-10-04 Alan Modra <amodra@gmail.com>
9770 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9771 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9772 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9775 2013-10-04 Alan Modra <amodra@gmail.com>
9777 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9778 (rTMP): Define as r11.
9779 (strcmp): Add little-endian support. Optimise tail.
9780 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9781 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9788 2013-10-04 Alan Modra <amodra@gmail.com>
9790 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9791 little-endian support. Remove unnecessary "are we done" tests.
9792 Handle "s" wrapping around zero and extremely large "size".
9793 Correct main loop count. Handle single left-over word from main
9794 loop inline rather than by using small_loop. Correct comments.
9795 Delete "zero" tail, use "end_max" instead.
9796 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9798 2013-10-04 Alan Modra <amodra@gmail.com>
9800 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9801 support. Don't branch over align.
9802 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9803 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9804 support. Rearrange tmp reg use to suit. Comment.
9805 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9807 2013-10-04 Alan Modra <amodra@gmail.com>
9809 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9811 2013-10-04 Alan Modra <amodra@gmail.com>
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9814 conditional form of branch and link when obtaining pc.
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9817 2013-10-04 Alan Modra <amodra@gmail.com>
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9824 2013-10-04 Alan Modra <amodra@gmail.com>
9826 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9827 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9828 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9829 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9831 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9832 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9833 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9834 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9835 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9837 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9838 Alistair Popple <alistair@ozlabs.au.ibm.com>
9839 Alan Modra <amodra@gmail.com>
9842 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9843 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9844 _dl_hwcap access for little-endian.
9845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9846 destroy vmx regs when saving unaligned.
9847 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9848 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9849 destroy vmx regs when saving unaligned.
9851 2013-10-04 Alan Modra <amodra@gmail.com>
9853 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9854 Don't use a union to pack hi/low value.
9856 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9858 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9860 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9863 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9864 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9866 2013-10-04 Alan Modra <amodra@gmail.com>
9868 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9869 constants to usual value for .cst8 section, and remove redundant
9871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9872 constant for 0x1p52. Load little-endian words of double from
9873 correct stack offsets.
9875 2013-10-04 Alan Modra <amodra@gmail.com>
9877 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9878 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9879 words of double from correct stack offsets.
9880 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9887 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9888 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9893 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9894 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9895 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9896 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9898 2013-10-04 Alan Modra <amodra@gmail.com>
9900 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9901 64-bit int/double union.
9902 (_FPU_SETCW): Likewise.
9903 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9904 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9906 2013-10-04 Alan Modra <amodra@gmail.com>
9908 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9909 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9911 2013-10-04 Alan Modra <amodra@gmail.com>
9913 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9914 use vector int constants.
9915 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9917 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9919 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9920 array with long long.
9921 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9922 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9923 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9924 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9925 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9926 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9927 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9928 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9929 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9930 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9931 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9932 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9933 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9935 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9937 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9938 (__signbit): Likewise. Correct for little-endian.
9939 (__signbitl): Call __signbit.
9940 (lrint): Correct for little-endian.
9941 (lrintf): Call lrint.
9943 2013-10-04 Alan Modra <amodra@gmail.com>
9945 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9946 union 32-bit int array member with 64-bit int array.
9947 (t515, tm256): Double rather than long double.
9948 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9950 2013-10-04 Alan Modra <amodra@gmail.com>
9952 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9954 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9956 version of math_ldbl.h.
9958 2013-10-04 Alan Modra <amodra@gmail.com>
9960 [BZ #15734], [BZ #15735]
9961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9962 all uses of ieee875 long double macros and unions. Simplify test
9963 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9964 ldbl_extract_mantissa value for ix,iy exponents. Properly
9965 normalize after ldbl_extract_mantissa, and don't add hidden bit
9966 already handled. Don't treat low word of ieee854 mantissa like
9967 low word of IBM long double and mask off bit when testing for
9969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9970 all uses of ieee875 long double macros and unions. Simplify tests
9971 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9972 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9973 two1022, instead use their values. Recognise that tests for large
9974 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9975 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9976 Rewrite all uses of ieee875 long double macros and unions. Simplify
9977 test for 0.0L and nan. Correct negation.
9978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9979 ieee875 long double macros and unions. Correct output for large
9980 magnitude x. Correct absolute value calculation.
9981 (__erfcl): Likewise.
9982 * math/libm-test.inc: Add tests for errors discovered in IBM long
9983 double versions of fmodl, remainderl, erfl and erfcl.
9985 2013-10-04 Alan Modra <amodra@gmail.com>
9987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9988 all uses of ieee854 long double macros and unions. Simplify tests
9989 for long doubles that are fully specified by the high double.
9990 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9992 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9993 Remove dead code too.
9994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9995 (__ieee754_ynl): Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9999 Remove dead code too.
10000 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10010 Comment on variable precision.
10011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10014 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10020 2013-10-04 Alan Modra <amodra@gmail.com>
10022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10023 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10024 all uses of ieee854 long double macros and unions.
10025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10038 Simplify sign and nan test too.
10039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10044 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10050 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10054 2013-10-04 Alan Modra <amodra@gmail.com>
10056 * stdio-common/printf_size.c (__printf_size): Don't use
10057 union ieee854_long_double in fpnum union.
10058 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10059 signbit macro to retrieve sign from long double.
10060 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10061 retrieve sign from long double.
10062 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10063 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10064 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10065 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10066 * math/test-misc.c (main): Don't use union ieee854_long_double.
10068 2013-10-04 Alan Modra <amodra@gmail.com>
10071 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10073 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10074 calculation. Remove unnecessary test for denormal exponent.
10075 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10076 Correct handling of denormals. Avoid undefined shift behaviour.
10077 Correct normalisation of low mantissa when low double is denormal.
10078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10079 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10080 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10081 Correct normalisation of low mantissa. Test for overflow of high
10082 mantissa and normalise.
10083 (ldbl_nearbyint): Use more readable constant for two52.
10084 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10085 (__mpn_construct_long_double): Fix test for overflow of high
10086 mantissa and correct normalisation. Avoid undefined shift.
10088 2013-10-04 Alan Modra <amodra@gmail.com>
10090 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10091 (union ibm_extended_long_double): Define as an array of ieee754_double.
10092 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10093 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10094 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10095 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10104 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10106 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10107 page size instead of calling getpagesize.
10109 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10110 (LOCFILE_ALIGN_MASK): Likewise.
10111 (LOCFILE_ALIGN_UP): Likewise.
10112 (LOCFILE_ALIGNED_P): Likewise.
10113 * locale/programs/ld-collate.c (collate_output): Use the new
10114 macros instead of __alignof__ (int32_t).
10115 * locale/weight.h (findidx): Likewise.
10117 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10120 * manual/string.texi: Fix strncat and wcsncat.
10122 2013-10-03 Brooks Moses <bmoses@google.com>
10125 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10126 * Makerules: ...here, and adjust associated comments.
10128 2013-10-02 Will Newton <will.newton@linaro.org>
10130 * malloc/Makefile: Add tst-pvalloc.
10131 * malloc/tst-pvalloc.c: New file.
10133 2013-10-02 Will Newton <will.newton@linaro.org>
10135 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10136 improve test coverage.
10138 2013-10-02 Will Newton <will.newton@linaro.org>
10140 * malloc/Makefile: Add tst-posix_memalign.
10141 * malloc/tst-posix_memalign.c: New file.
10143 2013-10-01 Eric Blake <eblake@redhat.com>
10145 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10146 Use __THROWNL rather than __THROW on static functions.
10148 2013-09-30 Petr Machata <pmachata@redhat.com>
10150 * elf/elf.h (R_AARCH64_ABS16): New macro.
10151 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10152 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10153 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10154 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10155 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10156 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10157 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10158 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10159 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10160 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10161 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10162 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10163 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10164 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10165 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10166 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10167 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10168 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10169 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10170 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10171 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10172 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10173 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10174 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10175 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10176 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10177 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10178 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10179 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10180 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10181 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10182 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10183 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10184 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10185 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10186 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10187 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10188 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10189 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10190 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10191 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10192 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10193 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10194 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10195 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10196 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10197 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10198 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10199 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10200 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10201 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10202 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10203 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10204 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10205 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10206 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10207 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10208 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10209 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10210 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10211 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10212 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10213 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10214 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10215 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10216 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10217 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10218 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10219 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10220 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10221 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10222 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10223 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10224 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10225 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10226 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10227 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10228 (R_AARCH64_TLSDESC_LDR): Likewise.
10229 (R_AARCH64_TLSDESC_ADD): Likewise.
10230 (R_AARCH64_TLSDESC_CALL): Likewise.
10232 2013-09-30 Andreas Schwab <schwab@suse.de>
10235 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10236 the nss database lookup.
10237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10240 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10242 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10244 2013-09-28 P. J. McDermott <pj@pehjota.net>
10246 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10247 ${Bash-specific parameter/pattern/string} parameter expansion.
10248 * sysdeps/unix/make-syscalls.sh: Likewise.
10250 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10252 * sysdeps/sh/stackguard-macros.h: New file.
10254 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10258 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10259 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10260 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10261 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10263 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10265 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10266 Fix thread ID register.
10268 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10270 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10271 [POSIX || UNIX98]: Require rather than permitting all symbols from
10273 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10274 element of struct sched_param.
10275 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10276 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10277 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10278 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10281 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10283 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10284 argument calculation.
10286 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10288 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10290 [POSIX] (pthread_attr_t): Do not require type.
10291 [POSIX] (pthread_cond_t): Likewise.
10292 [POSIX] (pthread_condattr_t): Likewise.
10293 [POSIX] (pthread_key_t): Likewise.
10294 [POSIX] (pthread_mutex_t): Likewise.
10295 [POSIX] (pthread_mutexattr_t): Likewise.
10296 [POSIX] (pthread_once_t): Likewise.
10297 [POSIX] (pthread_t): Likewise.
10298 [POSIX-based standards] (pthread_atfork): Expect function.
10300 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10301 Richard Sandiford <richard@codesourcery.com>
10303 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10304 (swap_endianness_p): New extern variable.
10305 (set_big_endian): New inline function.
10306 (maybe_swap_uint32): Likewise.
10307 (maybe_swap_uint32_array): Likewise.
10308 (maybe_swap_uint32_obstack): Likewise.
10309 * locale/programs/locfile.c: Include <stdbool.h>.
10310 (swap_endianness_p): New variable.
10311 (add_locale_uint32): Call maybe_swap_uint32.
10312 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10313 (write_locale_data): Call maybe_swap_uint32_array.
10314 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10316 (obstack_int32_grow_fast): Likewise.
10317 (output_weightwc): Call maybe_swap_uint32_obstack.
10318 (collate_output): Likewise.
10319 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10320 (OPT_LITTLE_ENDIAN): Likewise.
10321 (options): Add --little-endian and --big-endian options.
10322 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10323 * locale/programs/locarchive.c: Include "locfile.h".
10327 (create_archive): Use the new macros to access fields of
10328 structures directly mapped from or written to locale archives.
10329 (oldlocrecentcmp): Likewise.
10330 (enlarge_archive): Likewise.
10331 (insert_name): Likewise.
10332 (add_alias): Likewise.
10333 (add_locale): Likewise.
10334 (delete_locales_from_archive): Likewise.
10335 (show_archive_content): Likewise.
10336 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10339 2013-09-24 Roland McGrath <roland@hack.frob.com>
10341 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10342 http://www.gnu.org/doc/freemanuals.texi.
10343 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10345 2013-09-24 Will Newton <will.newton@linaro.org>
10347 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10350 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10352 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10355 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10357 * manual/threads.texi (POSIX Threads): Fix a typo.
10359 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * string/tst-strcoll-overflow.c: New test case.
10363 * string/Makefile (xtests): Add tst-strcoll-overflow.
10364 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10365 cache if string sizes may cause integer overflow.
10368 * string/strcoll_l.c (coll_seq): New members rule, idx,
10369 save_idx and back_us.
10370 (get_next_seq_nocache): New function.
10371 (do_compare_nocache): New function.
10372 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10375 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10378 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10379 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10380 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10383 * elf/Makefile (tests): Add tst-ptrguard1.
10384 (tests-static): Add tst-ptrguard1-static.
10385 (tst-ptrguard1-ARGS): Define.
10386 (tst-ptrguard1-static-ARGS): Define.
10387 * elf/tst-ptrguard1.c: New file.
10388 * elf/tst-ptrguard1-static.c: New file.
10389 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10390 * sysdeps/i386/stackguard-macros.h: Likewise.
10391 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10392 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10393 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10394 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10395 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10396 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10398 2013-09-23 Hector Marco <hecmargi@upv.es>
10399 Ismael Ripoll <iripoll@disca.upv.es>
10400 Carlos O'Donell <carlos@redhat.com>
10403 * sysdeps/generic/stackguard-macros.h: Define
10404 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10405 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10406 Define __pointer_chk_guard_local.
10407 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10408 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10410 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10413 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10415 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10417 * include/string.h (__ffs): Declare as hidden.
10418 * string/ffs.c (__ffs): Define as hidden.
10419 * sysdeps/i386/ffs.c (__ffs): Likewise.
10420 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10421 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10422 * sysdeps/s390/ffs.c (__ffs): Likewise.
10423 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10425 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10427 * NEWS: Mention malloc probes.
10429 * malloc/arena.c (new_heap): New memory_heap_new probe.
10430 (grow_heap): New memory_heap_more probe.
10431 (shrink_heap): New memory_heap_less probe.
10432 (heap_trim): New memory_heap_free probe.
10433 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10434 (systrim): New memory_sbrk_less probe.
10435 * manual/probes.texi: Document them.
10437 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10438 * manual/probes.texi: Document it.
10440 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10441 (__libc_realloc): Add memory_realloc_retry probe.
10442 (__libc_memalign): Add memory_memalign_retry probe.
10443 (__libc_valloc): Add memory_valloc_retry probe.
10444 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10445 (__libc_calloc): Add memory_calloc_retry probe.
10446 * manual/probes.texi: Document them.
10448 * malloc/arena.c (get_free_list): Add probe
10449 memory_arena_reuse_free_list.
10450 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10451 and memory_arena_reuse.
10452 (arena_get2) [!PER_THREAD]: Likewise.
10453 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10454 memory_arena_reuse_realloc.
10455 * manual/probes.texi: Document them.
10457 * malloc/malloc.c (__libc_free): Add
10458 memory_mallopt_free_dyn_thresholds probe.
10459 (__libc_mallopt): Add multiple memory_mallopt probes.
10460 * manual/probes.texi: Document them.
10462 * malloc/malloc.c: Include stap-probe.h.
10463 (__libc_mallopt): Add memory_mallopt probe.
10464 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10465 * manual/probes.texi: New.
10466 * manual/Makefile (chapters): Add probes.
10467 * manual/threads.texi: Set next node.
10469 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10471 [BZ #15963, #13985]
10472 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10473 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10474 Add `Chinese' to `nan' entry name.
10476 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10479 (POLYNOMIAL): Likewise.
10480 (TAYLOR_SINCOS): Likewise.
10481 (TAYLOR_SLOW): Likewise.
10482 (__sin): Use TAYLOR_SINCOS.
10484 (slow): Use TAYLOR_SLOW.
10486 (bsloww): Likewise.
10487 (csloww): Likewise.
10489 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10491 * stdlib/strtod_l.c: Fix buffer overrun.
10493 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10495 * benchtests/Makefile (bench): Add sincos.
10496 * benchtests/bench-sincos.c: New file.
10498 * math/libm-test.inc (cos_test_data): New test inputs.
10499 (sin_test_data): Likewise.
10501 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10507 (sloww1): Likewise.
10508 (sloww2): Likewise.
10509 (bsloww1): Likewise.
10510 (bsloww2): Likewise.
10511 (cslow2): Likewise.
10512 (csloww1): Likewise.
10513 (csloww2): Likewise.
10515 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10520 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10524 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10526 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10527 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10528 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10529 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10530 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10531 * elf/cache.c (print_entry): Handle the new cache flags.
10533 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10534 Aldy Hernandez <aldyh@redhat.com>
10536 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10537 Change condition to [_SOFT_FLOAT].
10538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10550 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10553 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10556 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10558 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10559 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10560 (__longjmp): Use LOAD_GP to load saved GPRs.
10561 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10562 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10563 (__sigsetjmp): Use SAVE_GP to save GPRs.
10565 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10566 Do not append -msoft-float.
10567 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10569 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10571 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10573 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10576 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10577 (_FPU_GETCW): Use initial "__" on variable and field names but not
10578 on macro parameter name.
10579 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10580 parentheses around reference to macro parameter.
10582 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10584 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10586 (ctype_startup): Use uint32_t in cast and sizeof for
10589 2013-09-11 Jia Liu <proljc@gmail.com>
10591 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10593 [__FreeBSD__]: Likewise.
10595 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10598 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10599 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10600 (strchr): Remove __strchr_sse42 ifunc selection.
10601 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10602 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10604 2013-09-11 Will Newton <will.newton@linaro.org>
10606 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10607 parameter to RES. Remove hardcoded 1000 value.
10608 * benchtests/bench-skeleton.c (main): Pass RES parameter
10609 to TIMING_INIT and multiply result by 1000.
10611 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10615 2013-09-11 Andreas Schwab <schwab@suse.de>
10617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10619 (O_TMPFILE) [__USE_GNU]: Define.
10620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10623 2013-09-11 Will Newton <will.newton@linaro.org>
10626 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10629 2013-09-11 Will Newton <will.newton@linaro.org>
10632 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10635 2013-09-11 Will Newton <will.newton@linaro.org>
10638 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10641 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10643 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10644 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10649 2013-09-10 Allan McRae <allan@archlinux.org>
10652 * manual/arith.texi (Parsing of Floats): Clarify
10656 * manual/install.texi (Running make install): Mention
10658 * INSTALL: Regenerated.
10660 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10662 * csu/init-first.c (_init): Remove the !SHARED condition around
10663 FPU control word initialization.
10664 * elf/dl-support.c (_dl_fpu_control): New variable.
10665 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10666 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10667 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10668 * math/test-fpucw-static.c: New file.
10669 * math/test-fpucw-ieee.c: New file.
10670 * math/test-fpucw-ieee-static.c: New file.
10671 * math/Makefile (tests): Add `test-fpucw-ieee' and
10673 (tests-static): New variable.
10674 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10676 [($(build-shared),yes)]
10677 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10679 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10682 2013-09-09 Allan McRae <allan@archlinux.org>
10685 * manual/string.texi (Collation Functions): Fix typo in
10687 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10690 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10693 * libio/memstream.c (open_memstream): Fix memory leak.
10694 * libio/wmemstream.c (open_wmemstream): Likewise.
10697 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10699 2013-09-09 Will Newton <will.newton@linaro.org>
10701 * malloc/Makefile: Add tst-realloc to tests.
10702 * malloc/tst-realloc.c: New file.
10704 2013-09-09 Allan McRae <allan@archlinux.org>
10707 * COPYING: Update from GNU website to fix FSF address.
10708 * COPYING.LIB: Likewise.
10710 2013-09-06 David S. Miller <davem@davemloft.net>
10712 * po/zh_TW.po: Update Chinese (traditional) translation from
10713 translation project.
10715 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10716 Joseph Myers <joseph@codesourcery.com>
10718 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10720 (obstack_chunk_alloc): New macro.
10721 (obstack_chunk_free): Likewise.
10722 (record_offset): New function.
10723 (init_locale_data): Likewise.
10724 (align_locale_data): Likewise.
10725 (add_locale_empty): Likewise.
10726 (add_locale_raw_data): Likewise.
10727 (add_locale_raw_obstack): Likewise.
10728 (add_locale_string): Likewise.
10729 (add_locale_wstring): Likewise.
10730 (add_locale_uint32): Likewise.
10731 (add_locale_uint32_array): Likewise.
10732 (add_locale_char): Likewise.
10733 (start_locale_structure): Likewise.
10734 (end_locale_structure): Likewise.
10735 (start_locale_prelude): Likewise.
10736 (end_locale_prelude): Likewise.
10737 (write_locale_data): Take locale_file structure rather than an
10739 * locale/programs/locfile.h: Include "obstack.h".
10740 (struct locale_file): Change to store locale file contents instead
10742 (init_locale_data): New prototype.
10743 (align_locale_data): Likewise.
10744 (add_locale_empty): Likewise.
10745 (add_locale_raw_data): Likewise.
10746 (add_locale_raw_obstack): Likewise.
10747 (add_locale_string): Likewise.
10748 (add_locale_wstring): Likewise.
10749 (add_locale_uint32): Likewise.
10750 (add_locale_uint32_array): Likewise.
10751 (add_locale_char): Likewise.
10752 (start_locale_structure): Likewise.
10753 (end_locale_structure): Likewise.
10754 (start_locale_prelude): Likewise.
10755 (end_locale_prelude): Likewise.
10756 (write_locale_data): Update prototype.
10757 * locale/programs/3level.h (struct TABLE): Remove result field.
10758 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10759 Use new locale_file interface.
10760 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10761 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10762 * locale/programs/ld-address.c (address_output): Use new
10763 locale_file interface.
10764 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10766 (collate_finish): Don't call collseq_table_finalize.
10767 (collate_output): Use new locale_file interface.
10768 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10770 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10771 (TABLE): Move defines earlier in file.
10772 (ELEMENT): Likewise.
10773 (DEFAULT): Likewise.
10774 (wctrans_table_add): Move macro and inline function earlier in
10776 (struct wctype_table): Move type earlier in file.
10777 (add_locale_wctype_table): New static prototype.
10778 (struct locale_ctype_t): Use logical types instead of struct iovec
10779 pointers for members.
10780 (ctype_output): Use new locale_file interface.
10781 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10782 new locale_file interface.
10783 (allocate_arrays): Update for use of new locale_file interface.
10784 * locale/programs/ld-identification.c (identification_output): Use
10785 new locale_file interface.
10786 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10787 * locale/programs/ld-messages.c (messages_output): Likewise.
10788 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10789 * locale/programs/ld-name.c (name_output): Likewise.
10790 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10791 * locale/programs/ld-paper.c (paper_output): Likewise.
10792 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10793 * locale/programs/ld-time.c (time_output): Likewise.
10795 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797 * benchtests/Makefile: Add memrchr benchmark.
10798 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10799 benchmark as memrchr.
10800 * benchtests/bench-memrchr-ifunc.c: New file.
10801 * benchtests/bench-memrchr.c: New file.
10803 2013-09-06 Will Newton <will.newton@linaro.org>
10805 * benchtests/Makefile (string-bench): Add memcpy.
10807 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10808 Cong Wang <amwang@redhat.com>
10811 * sysdeps/unix/sysv/linux/bits/in.h
10812 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10813 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10814 before __USE_KERNEL_IPV6_DEFS uses.
10815 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10817 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10818 sockaddr_in6, or ipv6_mreq.
10820 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10823 memory access for final bytes in some large inputs.
10824 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10826 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10828 * string/test-memrchr.c: New file.
10829 * string/test-memrchr-ifunc.c: New file.
10830 * string/Makefile: Add new memrchr testcase.
10832 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10834 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10835 fanotify_init returns EPERM.
10837 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10839 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10841 (top level): Treat second token from macro or constant entries for
10842 allowed headers as allowed.
10843 * include/complex.h: Condition internal declarations on
10845 * include/fenv.h: Condition include of <stdbool.h> and internal
10846 declarations on [!_ISOMAC].
10848 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10851 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10853 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10855 * configure.in (--enable-versioning): Remove configure option.
10856 (libc_cv_asm_symver_directive): Remove configure test.
10857 (libc_cv_ld_version_script_option): Likewise.
10858 (VERSIONING): Remove variable and AC_SUBST.
10859 (DO_VERSIONING): Remove AC_DEFINE.
10860 * configure: Regenerated.
10861 * config.h.in (DO_VERSIONING): Remove macro.
10862 * Makerules [$(versioning) = yes]: Change conditionals to
10863 [$(build-shared) = yes].
10864 * config.make.in (versioning): Remove variable.
10865 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10866 [$(build-shared) = yes].
10867 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10868 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10869 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10870 [$(build-shared) = yes].
10871 * extra-lib.mk [$(versioning) = yes]: Likewise.
10872 * hurd/Makefile [$(versioning) = yes]: Likewise.
10873 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10875 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10877 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10878 [SHARED && !NO_HIDDEN].
10879 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10881 [SHARED && DO_VERSIONING]: Likewise..
10882 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10883 [$(build-shared) = yes].
10884 * manual/install.texi (--disable-versioning): Remove
10886 * INSTALL: Regenerated.
10887 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10889 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10890 [$(build-shared) = yes].
10891 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10892 * sysdeps/i386/i686/multiarch/strstr-c.c
10893 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10894 [SHARED && !NO_HIDDEN].
10895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10896 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10897 * sysdeps/powerpc/powerpc32/dl-machine.c
10898 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10899 * sysdeps/powerpc/powerpc32/sysdep.h
10900 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10901 to [SHARED && PIC && !NO_HIDDEN].
10902 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10903 conditional to [SHARED].
10905 2013-09-04 Will Newton <will.newton@linaro.org>
10907 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10908 * benchtests/bench-string.h: Include bench-timing.h instead
10909 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10910 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10911 call to HP_TIMING_DIFF_INIT.
10912 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10913 instead of hp-timing.h macros.
10914 * benchtests/bench-memchr.c: Likewise.
10915 * benchtests/bench-memcmp.c: Likewise.
10916 * benchtests/bench-memcpy.c: Likewise.
10917 * benchtests/bench-memmem.c: Likewise.
10918 * benchtests/bench-memmove.c: Likewise.
10919 * benchtests/bench-memset.c: Likewise.
10920 * benchtests/bench-rawmemchr.c: Likewise.
10921 * benchtests/bench-strcasecmp.c: Likewise.
10922 * benchtests/bench-strcasestr.c: Likewise.
10923 * benchtests/bench-strcat.c: Likewise.
10924 * benchtests/bench-strchr.c: Likewise.
10925 * benchtests/bench-strcmp.c: Likewise.
10926 * benchtests/bench-strcpy.c: Likewise.
10927 * benchtests/bench-strcpy_chk.c: Likewise.
10928 * benchtests/bench-strlen.c: Likewise.
10929 * benchtests/bench-strncasecmp.c: Likewise.
10930 * benchtests/bench-strncat.c: Likewise.
10931 * benchtests/bench-strncmp.c: Likewise.
10932 * benchtests/bench-strncpy.c: Likewise.
10933 * benchtests/bench-strnlen.c: Likewise.
10934 * benchtests/bench-strpbrk.c: Likewise.
10935 * benchtests/bench-strrchr.c: Likewise.
10936 * benchtests/bench-strspn.c: Likewise.
10937 * benchtests/bench-strstr.c: Likewise.
10939 2013-09-04 Will Newton <will.newton@linaro.org>
10941 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10943 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10946 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10947 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10948 * math/libm-test.inc (lgamma_test_data): Add more tests.
10949 * sysdeps/i386/fpu/libm-test-ulps: Update.
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10952 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10954 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10958 Add strcmp-sse2-unaligned
10959 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10961 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10963 * Versions.def (libc): Add GLIBC_2.19.
10965 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10967 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10968 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10970 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10973 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10974 intermediate calculations in recurrence.
10975 (__ieee754_ynf): Likewise.
10976 * math/libm-test.inc (jn_test_data): Do not allow spurious
10977 underflow exception. Add more tests.
10978 (yn_test_data): Add more tests.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10984 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10986 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10988 * csu/init-first.c: Fix then/than typos.
10989 * locale/programs/ld-collate.c: Likewise.
10990 * locale/programs/linereader.h: Likewise.
10991 * manual/charset.texi: Likewise.
10992 * manual/filesys.texi: Likewise.
10993 * manual/stdio.texi: Likewise.
10994 * manual/string.texi: Likewise.
10995 * stdlib/fmtmsg.c: Likewise.
10996 * sysdeps/i386/stpncpy.S: Likewise.
10997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10998 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10999 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11000 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11002 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11004 * elf/dl-open.c: Fix typos.
11005 * iconvdata/gbbig5.c: Likewise.
11006 * iconvdata/iso-2022-jp.c: Likewise.
11007 * iconv/gconv_int.h: Likewise.
11008 * iconv/loop.c: Likewise.
11009 * nis/rpcsvc/nis.h: Likewise.
11010 * resolv/ns_name.c: Likewise.
11011 * stdio-common/vfscanf.c: Likewise.
11012 * streams/stropts.h: Likewise.
11013 * sunrpc/rpc_thread.c: Likewise.
11014 * sysdeps/i386/strpbrk.S: Likewise.
11015 * sysdeps/ieee754/k_standard.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11018 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11019 * sysdeps/mach/hurd/profil.c: Likewise.
11020 * sysdeps/s390/dl-procinfo.h: Likewise.
11021 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11022 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11023 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11024 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11027 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11029 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11032 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11034 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11035 aix specific files.
11036 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11040 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11041 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11042 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11045 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11046 Roland McGrath <roland@hack.frob.com>
11048 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11049 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11051 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11053 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11054 __executable_start symbol instead of _start.
11056 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11058 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11059 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11061 * sysdeps/gnu/ldsodefs.h: ... this new file.
11063 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11064 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11065 instead of ELFOSABI_LINUX.
11067 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11068 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11069 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11070 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11072 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11073 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11076 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11077 (ibm_extended_long_double): Add ieee_nan member.
11078 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11079 (do_test): New function.
11081 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11083 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11084 functions, renamed from truncdfsf_test, trunctfsf_test,
11086 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11088 (do_test): Run all these.
11090 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11092 * argp/argp-help.c: Fix typos.
11093 * argp/argp-parse.c: Likewise.
11094 * debug/backtracesyms.c: Likewise.
11095 * elf/elf.h: Likewise.
11096 * malloc/malloc.c: Likewise.
11097 * nis/nis_print.c: Likewise.
11098 * resolv/res_comp.c: Likewise.
11099 * stdlib/stdlib.h: Likewise.
11100 * sunrpc/clnt_tcp.c: Likewise.
11101 * sunrpc/clnt_udp.c: Likewise.
11102 * sunrpc/clnt_unix.c: Likewise.
11103 * sysdeps/unix/bsd/ptsname.c: Likewise.
11104 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11112 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11114 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11119 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11122 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11123 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11124 ($(objpfx)bug-dl-leaf): New rule.
11125 ($(objpfx)bug-dl-leaf.so): Likewise.
11126 ($(objpfx)bug-dl-leaf.out): Likewise.
11127 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11128 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11129 * dlfcn/bug-dl-leaf.c: New test.
11130 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11131 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11132 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11133 (dlclose): Likewise.
11134 (dlmopen): Likewise.
11136 2013-08-27 Roland McGrath <roland@hack.frob.com>
11138 * include/netdb.h [!_ISOMAC]:
11139 Don't include <tls.h>.
11140 (h_errno, __libc_h_errno): Move declaration and macros out of
11143 * include/resolv.h [_RESOLV_H_]:
11144 Don't include <tls.h>.
11145 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11146 * resolv/res_libc.c: Don't include <tls.h>.
11147 (_res): Use __attribute__ ((nocommon)) in place of
11148 __attribute__ ((section (".bss"))).
11150 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11151 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11153 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11155 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11156 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11158 * resolv/res_mkquery.c: Include <sys/time.h>.
11160 * inet/ifreq.c: Moved to ...
11161 * sysdeps/unix/ifreq.c: ... here.
11162 * inet/ifreq.c: New file, true stub version.
11164 * socket/sa_len.c: New file.
11165 * socket/Makefile (aux): Add it.
11166 * sysdeps/unix/sysv/linux/Makefile
11167 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11168 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11169 and #include <socket/sa_len.c>.
11170 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11171 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11173 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11174 * bits/socket.h: ... here.
11176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11177 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11178 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11180 2013-08-27 Andreas Schwab <schwab@suse.de>
11183 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11184 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11185 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11186 * string/test-strcasecmp.c (test_main): Run tests in several
11188 * string/test-strncasecmp.c (test_main): Likewise.
11190 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11191 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11192 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11194 (__strncasecmp_ssse3) [PIC]: Likewise.
11196 2013-08-26 Roland McGrath <roland@hack.frob.com>
11198 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11200 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11201 instead of explicitly declaring xdecrypt.
11202 * nis/nss_nis/nis-publickey.c: Likewise.
11204 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11207 * nscd/aicache.c: Include res_hconf.h.
11208 (addhstaiX): Initialize res_hconf.
11210 2013-08-26 Andreas Schwab <schwab@suse.de>
11212 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11213 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11215 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * nscd/aicache.c (addhstaiX): Fix indentation.
11219 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11221 * configure.ac: Quote $build_pt_chown test.
11222 * configure: Regenerated.
11224 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11227 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11228 * math/s_cexpf.c (__cexpf): Likewise.
11229 * math/s_cexpl.c (__cexpl): Likewise.
11230 * math/libm-test.inc (cexp_test_data): Correct expected return
11231 value for NaN + i0. Add another test.
11233 2013-08-22 David S. Miller <davem@davemloft.net>
11235 * po/ca.po: Update Catalan translation from translation project.
11236 * po/uk.po: Add Ukrainian translations from translation project.
11238 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11241 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11242 is infinite, not alongside NaN test.
11243 * math/s_fdimf.c (__fdimf): Likewise.
11244 * math/s_fdiml.c (__fdiml): Likewise.
11245 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11246 errno is unchanged.
11248 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11250 * argp/argp-help.c: Fix typos.
11251 * crypt/speeds.c: Likewise.
11252 * csu/check_fds.c: Likewise.
11253 * elf/dl-load.c: Likewise.
11254 * elf/dl-open.c: Likewise.
11255 * elf/reldep3.c: Likewise.
11256 * elf/reldep.c: Likewise.
11257 * elf/sprof.c: Likewise.
11258 * iconv/iconv_charmap.c: Likewise.
11259 * iconv/skeleton.c: Likewise.
11260 * iconv/strtab.c: Likewise.
11261 * io/lockf64.c: Likewise.
11262 * libio/libioP.h: Likewise.
11263 * resolv/gai_notify.c: Likewise.
11264 * resolv/ns_name.c: Likewise.
11265 * resolv/ns_samedomain.c: Likewise.
11266 * resolv/res_send.c: Likewise.
11267 * stdlib/random.c: Likewise.
11268 * sunrpc/rpc/xdr.h: Likewise.
11269 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11270 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11272 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11273 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11274 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11277 * sysdeps/mach/hurd/check_fds.c: Likewise.
11278 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11279 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11282 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11283 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11284 * sysdeps/pthread/aio_notify.c: Likewise.
11285 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11286 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11288 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11289 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11291 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11293 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11294 version if bit_Slow_SSE4_2 is set.
11295 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11296 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11298 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11301 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11302 trampoline stack frame information.
11303 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11305 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11306 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11307 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11308 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11309 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11310 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11312 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11313 interrupting a syscall and set with option SA_SIGINFO.
11315 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11318 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11319 argument is infinite.
11320 * math/s_cprojf.c (__cprojf): Likewise.
11321 * math/s_cprojl.c (__cprojl): Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11323 * math/libm-test.inc (cproj_test_data): Add more tests.
11325 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11328 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11329 size. Use __ffs to determine corresponding shift.
11331 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11332 Roland McGrath <roland@hack.frob.com>
11334 * Makefile (INSTALL): Remove trailing blank lines from output of
11337 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11339 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11340 Align 32 bit compat elf_greg to 8 bytes.
11342 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11344 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11346 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11348 * string/strcoll_l.c (coll_seq): New structure.
11349 (get_next_seq_cached): New function.
11350 (get_next_seq): New function.
11351 (do_compare): New function.
11352 (STRCOLL): Use GNU style definition. Simplify implementation
11353 by using get_next_seq, get_next_seq_cached and do_compare.
11355 2013-08-16 Florian Weimer <fweimer@redhat.com>
11359 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11361 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11363 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11364 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11365 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11367 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11368 GETDENTS_64BIT_ALIGNED.
11369 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11370 * manual/filesys.texi (Reading/Closing Directory): Document
11371 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11373 * manual/conf.texi (Limits for Files): Add portability note to
11374 NAME_MAX, PATH_MAX.
11375 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11377 2013-08-13 Andreas Schwab <schwab@suse.de>
11380 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11382 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11383 LDBL_MAX_EXP >= 16384]: Add tests for it.
11385 2013-08-12 David S. Miller <davem@davemloft.net>
11387 * version.h (RELEASE): Set to "development".
11388 (VERSION): Set to "2.18.90".
11389 * NEWS: Add 2.19 section.
11391 2013-08-03 David S. Miller <davem@davemloft.net>
11393 * po/ko.po: Update Korean translation from translation project.
11395 2013-08-01 David S. Miller <davem@davemloft.net>
11397 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11398 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11401 2013-07-30 David S. Miller <davem@davemloft.net>
11403 * po/fr.po: Update French translation from translation project.
11405 2013-07-28 David S. Miller <davem@davemloft.net>
11407 * po/cs.po: Update Czech translation from translation project.
11409 * po/sv.po: Update Swedish translation from translation project.
11411 2013-07-27 David S. Miller <davem@davemloft.net>
11413 * po/eo.po: Update Esperanto translation from translation project.
11415 * po/vi.po: Update Vietnamese translation from translation project.
11417 * po/de.po: Update German translation from translation project.
11419 2013-07-26 David S. Miller <davem@davemloft.net>
11421 * po/bg.po: Update Bulgarian translation from translation project.
11423 * po/nl.po: Update Dutch translation from translation project.
11424 * po/pl.po: Update Polish translation from translation project.
11425 * po/ru.po: Update Russian translation from translation project.
11427 2013-07-24 David S. Miller <davem@davemloft.net>
11429 * po/libc.pot: Update.
11431 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11434 variable page size.
11435 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11436 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11437 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11439 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11441 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11443 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11444 Andreas Schwab <schwab@suse.de>
11445 Roland McGrath <roland@hack.frob.com>
11446 Joseph Myers <joseph@codesourcery.com>
11447 Carlos O'Donell <carlos@redhat.com>
11450 * config.h.in: Define HAVE_PT_CHOWN.
11451 * config.make.in (build-pt-chown): New variable.
11452 * configure.in (--enable-pt_chown): New configure option.
11453 * configure: Regenerate.
11454 * login/Makefile: Include Makeconfig. Build pt_chown only if
11455 build-pt-chown is enabled.
11456 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11457 pt_chown to fix pty ownership.
11458 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11460 * manual/install.texi (Configuring and compiling): Mention
11461 --enable-pt_chown. Add @findex for grantpt.
11462 * INSTALL: Regenerate.
11464 2013-07-20 David S. Miller <davem@davemloft.net>
11466 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11467 difference between 32-bit and 64-bit.
11469 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11472 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11473 Avoid system header dependency with -ffreestanding.
11474 ($(objpfx)bits/syscall%d): Likewise.
11476 2013-07-13 David S. Miller <davem@davemloft.net>
11478 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11479 underflows from atanl/atan2l due to bug 15319.
11480 (casinh_test_data): Likewise.
11482 2013-07-07 David S. Miller <davem@davemloft.net>
11484 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11486 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11488 * sysdeps/i386/fpu/libm-test-ulps: Update.
11489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11493 * configure.in (--enable-lock-elision): Fix message text.
11494 * INSTALL: Regenerate.
11495 * configure: Regenerate.
11497 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11501 2013-07-03 Andreas Jaeger <aj@suse.de>
11503 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11505 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11506 (ptrace_peeksiginfo_args): Add.
11507 (__ptrace_peeksiginfo_flags): Add.
11508 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11509 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11510 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11512 2013-07-03 Allan McRae <allan@archlinux.org>
11514 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516 2013-07-02 David S. Miller <davem@davemloft.net>
11518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11520 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11524 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11526 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11529 2013-07-02 Andi Kleen <ak@linux.intel.com>
11531 * config.h.in (ENABLE_LOCK_ELISION): Add.
11532 * configure.in (--enable-lock-elision): Add option.
11533 * manual/install.texi: Document --enable lock elision.
11534 * configure: Regenerate
11535 * INSTALL: Regenerate.
11537 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11539 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11540 SSE4.2 strcasecmp for libc.a.
11541 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11543 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11546 * soft-fp/op-common.h (_FP_FMA): New macro.
11547 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11548 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11549 (_FP_MUL_MEAT_1_imm): ... here.
11550 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11551 (_FP_MUL_MEAT_1_wide): ... here.
11552 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11553 (_FP_MUL_MEAT_1_hard): ... here.
11554 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11555 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11556 (_FP_MUL_MEAT_2_wide): ... here.
11557 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11558 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11559 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11560 (_FP_MUL_MEAT_2_gmp): ... here.
11561 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11562 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11563 (_FP_MUL_MEAT_4_wide): ... here.
11564 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11565 (_FP_MUL_MEAT_4_gmp): ... here.
11566 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11567 (_FP_WFRACBITS_DW_S): Likewise.
11568 (_FP_WFRACXBITS_DW_S): Likewise.
11569 (_FP_HIGHBIT_DW_S): Likewise.
11570 (FP_FMA_S): Likewise.
11571 (_FP_FRAC_HIGH_DW_S): Likewise.
11572 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11573 (_FP_WFRACBITS_DW_D): Likewise.
11574 (_FP_WFRACXBITS_DW_D): Likewise.
11575 (_FP_HIGHBIT_DW_D): Likewise.
11576 (FP_FMA_D): Likewise.
11577 (_FP_FRAC_HIGH_DW_D): Likewise.
11578 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11579 (_FP_WFRACBITS_DW_E): Likewise.
11580 (_FP_WFRACXBITS_DW_E): Likewise.
11581 (_FP_HIGHBIT_DW_E): Likewise.
11582 (FP_FMA_E): Likewise.
11583 (_FP_FRAC_HIGH_DW_E): Likewise.
11584 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11585 (_FP_WFRACBITS_DW_Q): Likewise.
11586 (_FP_WFRACXBITS_DW_Q): Likewise.
11587 (_FP_HIGHBIT_DW_Q): Likewise.
11588 (FP_FMA_Q): Likewise.
11589 (_FP_FRAC_HIGH_DW_Q): Likewise.
11590 * soft-fp/fmasf4.c: New file.
11591 * soft-fp/fmadf4.c: Likewise.
11592 * soft-fp/fmatf4.c: Likewise.
11594 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11597 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11599 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11601 (index_Slow_SSE4_2): Likewise.
11602 (index_Prefer_PMINUB_for_stringop): Likewise.
11603 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11604 bit_Slow_SSE4_2 is set.
11605 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11606 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11608 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11610 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11611 rtld_global._dl_hwcap2.
11612 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11614 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11615 POWER8 feature descriptions defined in _dl_hwcap2.
11616 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11617 string handling for POWER8 feature bits.
11618 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11619 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11620 _dl_powerpc_cap_flags.
11621 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11622 * sysdeps/powerpc/rtld-global-offsets.sym
11623 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11624 _dl_hwcap2 in the rtld_global_ro structure.
11626 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11628 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11629 hardware capabilities in support of AT_HWCAP2.
11630 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11631 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11633 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11634 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11635 explicitly the unknown a_type display mechanism is used.
11636 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11637 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11639 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11640 to macro prototype for AT_HWCAP2 support.
11641 * sysdeps/i386/dl-procinfo.h: Likewise.
11642 * sysdeps/s390/dl-procinfo.h: Likewise.
11643 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11644 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11645 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11646 return -1 for unknown a_type display fallback.
11647 * sysdeps/sparc/dl-procinfo.h: Likewise.
11648 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11649 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11651 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11653 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11654 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11656 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11659 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11660 mprotect making __stack_prot writable.
11662 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11663 Joseph Myers <joseph@codesourcery.com>
11665 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11666 as being properly aligned.
11668 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11670 * dlfcn/modstatic5.c: New file.
11671 * dlfcn/tststatic5.c: New file.
11672 * dlfcn/Makefile (tests): Add tststatic5.
11673 (tests-static): Likewise.
11674 (modules-names): Add modstatic5.
11675 (tststatic5-ENV): New variable.
11676 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11679 * elf/dl-support.c (_dl_main_map): New variable.
11680 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11681 (_dl_nns, _dl_load_adds): Set to 1.
11682 (_dl_initial_searchlist): Refer to _dl_main_map.
11683 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11684 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11685 call to _dl_get_origin.
11686 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11688 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11689 * dlfcn/modstatic3.c: New file.
11690 * dlfcn/tststatic3.c: New file.
11691 * dlfcn/tststatic4.c: New file.
11692 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11693 (tests-static): Likewise.
11694 (modules-names): Add modstatic3.
11695 (tststatic3-ENV, tststatic4-ENV): New variables.
11696 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11697 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11699 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11701 * configure.in (CC): Require GCC version 4.4 or later.
11702 * configure: Regenerated.
11703 * manual/install.texi (Tools for Compilation): Update GCC version
11705 * INSTALL: Regenerated.
11707 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11710 * string/test-memcmp.c (check2): New.
11711 (main): Call check2.
11713 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11715 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11718 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11720 (dl_open_worker) [!SHARED]: ... here.
11722 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11724 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11726 2013-06-25 Richard Henderson <rth@redhat.com>
11728 * locale/programs/locarchive.c: Include <libc-internal.h>
11730 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11732 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11733 trailing whitespace removed.
11735 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11738 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11739 * locale/programs/locarchive.c: Include libc-mmap.h.
11740 (prepare_address_space): Take two new outputs (the mmap base and len).
11741 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11743 (create_archive): Declare new mmap base and len values for
11744 prepare_address_space, and store the result in ah.
11745 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11746 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11747 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11748 Declare new mmap base and len values for
11749 prepare_address_space, and store the result in new_ah.
11750 (open_archive): Declare new mmap base and len values for
11751 prepare_address_space, and store the result in ah.
11752 (close_archive): If ah->mmap_base is not NULL, use that and
11753 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11754 * sysdeps/generic/libc-mmap.h: New file.
11756 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11758 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11759 (ALIGN_UP): Likewise.
11760 (PTR_ALIGN_DOWN): Likewise.
11761 (PTR_ALIGN_UP): Likewise.
11763 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11765 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11766 entry mapped to PPC_PLATFORM_POWER8.
11767 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11769 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11770 (_dl_string_platform): Add case for exporting platform position for
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11773 search path to sysdeps/powerpc/powerpc32/power8 directory.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11775 search path to sysdeps/powerpc/powerpc64/power8 directory.
11776 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11777 power7 directories.
11778 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11779 power7 directories.
11781 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11783 * INSTALL: Regenerate.
11785 * nscd/connections.c (nscd_init): Fix comment.
11787 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11789 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11792 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11793 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11795 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11797 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11799 (DL_DST_REQ_STATIC): Remove macro.
11801 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11804 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11805 with a shift of 0 bits.
11807 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11809 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11812 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11815 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11817 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11819 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11820 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11821 accepts -fno-tree-loop-distribute-patterns.
11822 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11823 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11825 * string/memset.c (memset): Likewise.
11826 * string/test-memmove.c (simple_memmove): Disable loop transformation
11828 * string/test-memset.c (simple_memset): Likewise.
11829 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11830 * benchtests/bench-memset.c (simple_memset): Likewise.
11831 * configure: Regenerated.
11833 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11835 * math/test-misc.c (main): Ignore fesetround failure when failures
11836 of subsequent rounding tests would be ignored.
11839 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11840 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11841 * math/fegetenv.c (__fegetenv): Return 0.
11842 * math/fegetexcept.c (fegetexcept): Return 0.
11843 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11845 * math/feholdexcpt.c (feholdexcept): Return 0.
11846 * math/fesetenv.c (__fesetenv): Return 0.
11847 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11848 argument FE_TONEAREST.
11849 * math/feupdateenv.c (__feupdateenv): Return 0.
11850 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11852 2013-06-18 Roland McGrath <roland@hack.frob.com>
11854 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11855 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11856 ($(objpfx)rtld-%.os rules): Use them.
11858 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11860 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11863 2013-06-17 Roland McGrath <roland@hack.frob.com>
11865 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11866 length of target pattern, then descending length of dependency pattern.
11867 * configure.in (AWK): Require gawk 3.1.2 or newer.
11868 * manual/install.texi (Tools for Compilation): Say that we do.
11869 * configure: Regenerated.
11871 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11872 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11873 * scripts/sysd-rules.awk: ... this new script.
11874 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11875 than a glob-style pattern.
11877 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11879 * math/test-misc.c (main): Do not treat incorrectly rounded
11880 conversions as failure unless ROUNDING_TESTS passes.
11882 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11885 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11886 restore exception state around main square root computation, then
11887 check for inexactness explicitly.
11889 * math/libm-test.inc (fma_test_data): Add another test.
11891 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11893 * manual/threads.texi (Non-POSIX Extensions): New document
11894 node. Document pthread_getattr_default_np and
11895 pthread_setattr_default_np.
11897 * Versions.def (libpthread): Add GLIBC_2.18.
11898 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11907 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11918 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11921 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11923 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11924 H.J. Lu <hjl.tools@gmail.com>
11927 * sysdeps/x86_64/rtld-memset.c: Remove file.
11928 * sysdeps/x86_64/rtld-memset.S: New file.
11930 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11932 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11933 (test_in_one_mode): Take arguments for whether the rounding mode
11934 is supported for each floating-point type.
11935 (do_test): Pass new arguments to test_in_one_mode using
11938 2013-06-13 Roland McGrath <roland@hack.frob.com>
11940 * posix/tst-waitid.c (do_test): Distinguish different instances of
11941 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11942 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11943 before entering the kernel for waitpid.
11945 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11947 * NEWS: Fix note on clock function precision. Text by Roland
11950 2013-06-13 Roland McGrath <roland@hack.frob.com>
11952 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11953 it into place only when and if the sanity check passes.
11955 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11957 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11958 output for whether conversion result is exact. Take argument
11959 indicating whether type is IBM long double.
11960 (round_for_all): Change need_exact field to ibm_ld.
11961 * stdlib/tst-strtod-round.c (struct exactness): New type.
11962 (struct test): Change bool ld_ok field to struct exactness exact.
11963 (TEST): Update all definitions for change to field.
11964 (tests): Regenerate array contents.
11965 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11966 field value. Check for IBM long double here.
11967 (do_test): Update calls to test_in_one_mode.
11969 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11972 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11973 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11975 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11978 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11979 generated by the compiler on loop optimizations.
11980 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11981 general definitions.
11983 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11985 * math/bug-nextafter.c: Include <math-tests.h>.
11986 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11988 * math/bug-nexttoward.c: Include <math-tests.h>.
11989 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11991 * math/test-misc.c: Include <math-tests.h>.
11992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11995 2013-06-12 Andreas Jaeger <aj@suse.de>
11997 * po/ia.po: Update Interlingua translation from translation
12000 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12002 * include/fenv.h: Include stdbool.h.
12003 (struct rm_ctx): New structure.
12004 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12006 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12007 (SET_RESTORE_ROUNDF): Likewise.
12008 (SET_RESTORE_ROUNDL): Likewise.
12009 (SET_RESTORE_ROUND_NOEX): Likewise.
12010 (SET_RESTORE_ROUND_NOEXF): Likewise.
12011 (SET_RESTORE_ROUND_NOEXL): Likewise.
12012 (SET_RESTORE_ROUND_53BIT): Likewise.
12013 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12014 (libc_feresetround_noexf_ctx): Likewise.
12015 (libc_feresetround_noexl_ctx): Likewise.
12016 (libc_feholdsetround_53bit_ctx): Likewise.
12017 (libc_feresetround_53bit_ctx): Likewise.
12018 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12019 (libc_feholdexcept_setround_sse_ctx): New function.
12020 (libc_fesetenv_sse_ctx): Likewise.
12021 (libc_feupdateenv_sse_ctx): Likewise.
12022 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12023 (libc_feholdexcept_setround_387_ctx): Likewise.
12024 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12025 (libc_feholdsetround_387_prec_ctx): Likewise.
12026 (libc_feholdsetround_387_ctx): Likewise.
12027 (libc_feholdsetround_387_53bit_ctx): Likewise.
12028 (libc_feholdsetround_sse_ctx): Likewise.
12029 (libc_feresetround_sse_ctx): Likewise.
12030 (libc_feresetround_387_ctx): Likewise.
12031 (libc_feupdateenv_387_ctx): Likewise.
12032 (libc_feholdexcept_setroundf_ctx): Define macro.
12033 (libc_fesetenvf_ctx): Likewise.
12034 (libc_feupdateenvf_ctx): Likewise.
12035 (libc_feholdsetroundf_ctx): Likewise.
12036 (libc_feresetroundf_ctx): Likewise.
12037 (libc_feholdexcept_setround_ctx): Likewise.
12038 (libc_fesetenv_ctx): Likewise.
12039 (libc_feupdateenv_ctx): Likewise.
12040 (libc_feholdsetround_ctx): Likewise.
12041 (libc_feresetround_ctx): Likewise.
12042 (libc_feholdexcept_setroundl_ctx): Likewise.
12043 (libc_feupdateenvl_ctx): Likewise.
12044 (libc_feholdsetroundl_ctx): Likewise.
12045 (libc_feresetroundl_ctx): Likewise.
12046 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12047 (libc_feresetround_53bit_ctx): Likewise.
12049 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12051 * locale/iso-639.def: Convert to UTF-8.
12053 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12055 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12056 (EXCEPTION_TESTS_double): Likewise.
12057 (EXCEPTION_TESTS_long_double): Likewise.
12058 (EXCEPTION_TESTS): Likewise.
12059 * math/libm-test.inc (test_exceptions): Only test exceptions if
12060 EXCEPTION_TESTS (FLOAT).
12062 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 * benchtests/Makefile (string-bench): Add strcpy_chk and
12066 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12067 * benchtests/bench-stpcpy_chk.c: New file.
12068 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12069 * benchtests/bench-strcpy_chk.c: New file.
12070 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12072 (do_test): Likewise.
12074 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12076 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12077 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12078 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12079 with tabs where appropriate.
12080 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12082 [PPC_PLATFORM_PPC440]: Likewise.
12083 [PPC_PLATFORM_PPC464]: Likewise.
12084 [PPC_PLATFORM_PPC476]: Likewise.
12085 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12086 ppc464, and ppc476 platform strings merging from ports/
12089 2013-06-11 Andreas Schwab <schwab@suse.de>
12092 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12093 (from_ucs4_idx): Regenerate.
12094 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12095 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12096 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12097 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12098 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12099 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12100 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12101 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12102 from FROM_LOOP and TO_LOOP specific macros.
12103 (BODY): Handle combining characters.
12104 * iconvdata/BIG5HKSCS.irreversible: Update.
12105 * iconvdata/BIG5HKSCS.precomposed: New file.
12106 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12108 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12110 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12112 * include/sys/time.h: Fix indentation and add copyright header.
12114 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12115 (do_test): Likewise.
12116 * string/test-memchr.c (do_one_test): Likewise.
12117 (do_test): Likewise.
12118 * string/test-memcmp.c (do_one_test): Likewise.
12119 (do_test): Likewise.
12120 * string/test-memcpy.c (do_one_test): Likewise.
12121 (do_test): Likewise.
12122 * string/test-memmem.c (do_one_test): Likewise.
12123 (do_test): Likewise.
12124 (do_random_tests): Likewise.
12125 * string/test-memmove.c (do_one_test): Likewise.
12126 (do_test): Likewise.
12127 * string/test-memset.c (do_one_test): Likewise.
12128 (do_test): Likewise.
12129 * string/test-rawmemchr.c (do_one_test): Likewise.
12130 (do_test): Likewise.
12131 * string/test-strcasecmp.c (do_one_test): Likewise.
12132 (do_test): Likewise.
12133 * string/test-strcasestr.c (do_one_test): Likewise.
12134 (do_test): Likewise.
12135 * string/test-strcat.c (do_one_test): Likewise.
12136 (do_test): Likewise.
12137 * string/test-strchr.c (do_one_test): Likewise.
12138 (do_test): Likewise.
12139 * string/test-strcmp.c (do_one_test): Likewise.
12140 (do_test): Likewise.
12141 * string/test-strcpy.c (do_one_test): Likewise.
12142 (do_test): Likewise.
12143 * string/test-string.h: Likewise.
12144 (test_init): Likewise.
12145 * string/test-strlen.c (do_one_test): Likewise.
12146 (do_test): Likewise.
12147 * string/test-strncasecmp.c (do_one_test): Likewise.
12148 (do_test): Likewise.
12149 * string/test-strncat.c (do_one_test): Likewise.
12150 (do_test): Likewise.
12151 * string/test-strncmp.c (do_one_test): Likewise.
12152 (do_test_limit): Likewise.
12153 (do_test): Likewise.
12154 * string/test-strncpy.c (do_one_test): Likewise.
12155 (do_test): Likewise.
12156 * string/test-strnlen.c (do_one_test): Likewise.
12157 (do_test): Likewise.
12158 * string/test-strpbrk.c (do_one_test): Likewise.
12159 (do_test): Likewise.
12160 * string/test-strrchr.c (do_one_test): Likewise.
12161 (do_test): Likewise.
12162 * string/test-strspn.c (do_one_test): Likewise.
12163 (do_test): Likewise.
12164 * string/test-strstr.c (do_one_test): Likewise.
12165 (do_test): Likewise.
12167 * benchtests/Makefile (string-bench): Add string benchmarks.
12168 * benchtests/bench-bcopy-ifunc.c: New file.
12169 * benchtests/bench-bcopy.c: New file.
12170 * benchtests/bench-bzero-ifunc.c: New file.
12171 * benchtests/bench-bzero.c: New file.
12172 * benchtests/bench-memccpy-ifunc.c: New file.
12173 * benchtests/bench-memccpy.c: New file.
12174 * benchtests/bench-memchr-ifunc.c: New file.
12175 * benchtests/bench-memchr.c: New file.
12176 * benchtests/bench-memcmp-ifunc.c: New file.
12177 * benchtests/bench-memcmp.c: New file.
12178 * benchtests/bench-memmem-ifunc.c: New file.
12179 * benchtests/bench-memmem.c: New file.
12180 * benchtests/bench-memmove-ifunc.c: New file.
12181 * benchtests/bench-memmove.c: New file.
12182 * benchtests/bench-mempcpy-ifunc.c: New file.
12183 * benchtests/bench-mempcpy.c: New file.
12184 * benchtests/bench-memset-ifunc.c: New file.
12185 * benchtests/bench-memset.c: New file.
12186 * benchtests/bench-rawmemchr-ifunc.c: New file.
12187 * benchtests/bench-rawmemchr.c: New file.
12188 * benchtests/bench-stpcpy-ifunc.c: New file.
12189 * benchtests/bench-stpcpy.c: New file.
12190 * benchtests/bench-stpncpy-ifunc.c: New file.
12191 * benchtests/bench-stpncpy.c: New file.
12192 * benchtests/bench-strcasecmp-ifunc.c: New file.
12193 * benchtests/bench-strcasecmp.c: New file.
12194 * benchtests/bench-strcasestr-ifunc.c: New file.
12195 * benchtests/bench-strcasestr.c: New file.
12196 * benchtests/bench-strcat-ifunc.c: New file.
12197 * benchtests/bench-strcat.c: New file.
12198 * benchtests/bench-strchr-ifunc.c: New file.
12199 * benchtests/bench-strchr.c: New file.
12200 * benchtests/bench-strchrnul-ifunc.c: New file.
12201 * benchtests/bench-strchrnul.c: New file.
12202 * benchtests/bench-strcmp-ifunc.c: New file.
12203 * benchtests/bench-strcmp.c: New file.
12204 * benchtests/bench-strcpy-ifunc.c: New file.
12205 * benchtests/bench-strcpy.c: New file.
12206 * benchtests/bench-strcspn-ifunc.c: New file.
12207 * benchtests/bench-strcspn.c: New file.
12208 * benchtests/bench-strlen-ifunc.c: New file.
12209 * benchtests/bench-strlen.c: New file.
12210 * benchtests/bench-strncasecmp-ifunc.c: New file.
12211 * benchtests/bench-strncasecmp.c: New file.
12212 * benchtests/bench-strncat-ifunc.c: New file.
12213 * benchtests/bench-strncat.c: New file.
12214 * benchtests/bench-strncmp-ifunc.c: New file.
12215 * benchtests/bench-strncmp.c: New file.
12216 * benchtests/bench-strncpy-ifunc.c: New file.
12217 * benchtests/bench-strncpy.c: New file.
12218 * benchtests/bench-strnlen-ifunc.c: New file.
12219 * benchtests/bench-strnlen.c: New file.
12220 * benchtests/bench-strpbrk-ifunc.c: New file.
12221 * benchtests/bench-strpbrk.c: New file.
12222 * benchtests/bench-strrchr-ifunc.c: New file.
12223 * benchtests/bench-strrchr.c: New file.
12224 * benchtests/bench-strspn-ifunc.c: New file.
12225 * benchtests/bench-strspn.c: New file.
12226 * benchtests/bench-strstr-ifunc.c: New file.
12227 * benchtests/bench-strstr.c: New file.
12229 * benchtests/Makefile: Disable parallel execution of targets.
12230 (string-bench): Add memcpy.
12231 (benchset): New variable to store a list of benchmark sets.
12232 (bench-func): Renamed from bench.
12233 (bench-set): New target.
12234 (bench): Depend on bench-func and bench-set.
12235 * benchtests/README: Add section on benchmark sets.
12236 * benchtests/bench-memcpy-ifunc.c: New file.
12237 * benchtests/bench-memcpy.c: New file.
12238 * benchtests/bench-string.h: New file.
12240 2013-06-11 Andreas Schwab <schwab@suse.de>
12243 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12244 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12245 values in the triple.
12246 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12247 terminator in the group key.
12249 2013-06-11 Andreas Jaeger <aj@suse.de>
12251 * po/zh_TW.po: Update Chinese (traditional) translation from
12252 translation project.
12254 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12256 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12257 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12258 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12260 (clock_getcpuclockid): Likewise.
12261 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12262 Add weak_alias and libc_hidden_def.
12263 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12264 * rt/clock_gettime.c (clock_gettime): Rename to
12265 __clock_gettime. Add weak_alias and libc_hidden_def.
12266 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12267 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12268 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12269 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12270 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12272 * rt/clock_settime.c (clock_settime): Rename to
12273 __clock_settime. Add weak_alias and libc_hidden_def.
12274 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12276 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12278 * mach/err_boot.sub: Remove trailing whitespace.
12279 * mach/err_ipc.sub: Likewise.
12280 * mach/err_mach.sub: Likewise.
12282 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12283 (ROUNDING_TESTS_double): Likewise.
12284 (ROUNDING_TESTS_long_double): Likewise.
12285 (ROUNDING_TESTS): Likewise.
12286 * math/libm-test.inc: Include <math-tests.h>.
12287 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12288 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12289 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12290 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12292 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12294 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12297 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12300 otherwise empty TRANS lines.
12301 * sysdeps/gnu/errlist.c: Regenerated.
12303 * catgets/gencat.c (error_print): Use (void) in function
12305 * crypt/crypt_util.c (__init_des): Likewise.
12306 * crypt/speeds.c (Stop): Likewise.
12308 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12309 * inet/ruserpass.c (token): Likewise.
12310 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12311 * intl/localealias.c (extend_alias_table): Likewise.
12312 * intl/plural-exp.c (init_germanic_plural): Likewise.
12313 * libio/fcloseall.c (__fcloseall): Likewise.
12314 * libio/genops.c (_IO_flush_all): Likewise.
12315 (_IO_flush_all_linebuffered): Likewise.
12316 (_IO_cleanup): Likewise.
12317 (_IO_iter_begin): Likewise.
12318 (_IO_iter_end): Likewise.
12319 (_IO_list_lock): Likewise.
12320 (_IO_list_unlock): Likewise.
12321 (_IO_list_resetlock): Likewise.
12322 * libio/getchar.c (getchar): Likewise.
12323 * libio/getchar_u.c (getchar_unlocked): Likewise.
12324 * libio/getwchar.c (getwchar): Likewise.
12325 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12326 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12327 * login/getpt.c (__getpt): Likewise.
12328 * login/tst-utmp.c (main): Likewise.
12329 * malloc/hooks.c (__malloc_check_init): Likewise.
12330 * malloc/malloc.c (__malloc_stats): Likewise.
12331 * malloc/mtrace.c (tr_break): Likewise.
12332 (mtrace): Likewise.
12333 (muntrace): Likewise.
12334 * misc/fstab.c (endfsent): Likewise.
12335 * misc/getclktck.c (__getclktck): Likewise.
12336 * misc/getdtsz.c (__getdtablesize): Likewise.
12337 * misc/gethostid.c (gethostid): Likewise.
12338 * misc/getpagesize.c (__getpagesize): Likewise.
12339 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12340 (__get_nprocs): Likewise.
12341 (__get_phys_pages): Likewise.
12342 (__get_avphys_pages): Likewise.
12343 * misc/getttyent.c (getttyent): Likewise.
12344 (setttyent): Likewise.
12345 (endttyent): Likewise.
12346 * misc/getusershell.c (getusershell): Likewise.
12347 (endusershell): Likewise.
12348 (setusershell): Likewise.
12349 (initshells): Likewise.
12350 * misc/hsearch.c (__hdestroy): Likewise.
12351 * misc/sync.c (sync): Likewise.
12352 * misc/syslog.c (closelog_internal): Likewise.
12353 (closelog): Likewise.
12354 * misc/ttyslot.c (ttyslot): Likewise.
12355 * misc/vhangup.c (vhangup): Likewise.
12356 * posix/fork.c (__fork): Likewise.
12357 * posix/getegid.c (__getegid): Likewise.
12358 * posix/geteuid.c (__geteuid): Likewise.
12359 * posix/getgid.c (__getgid): Likewise.
12360 * posix/getpid.c (__getpid): Likewise.
12361 * posix/getppid.c (__getppid): Likewise.
12362 * posix/getuid.c (__getuid): Likewise.
12363 * posix/pause.c (pause): Likewise.
12364 * posix/setpgrp.c (setpgrp): Likewise.
12365 * posix/setsid.c (__setsid): Likewise.
12366 * posix/test-vfork.c (noop): Likewise.
12367 * resolv/gethnamaddr.c (_endhtent): Likewise.
12368 (_gethtent): Likewise.
12369 (ht_endhostent): Likewise.
12370 (gethostent): Likewise.
12371 (dns_service): Likewise.
12372 * stdlib/drand48.c (drand48): Likewise.
12373 * stdlib/lrand48.c (lrand48): Likewise.
12374 * stdlib/mrand48.c (mrand48): Likewise.
12375 * stdlib/rand.c (rand): Likewise.
12376 * stdlib/random.c (__random): Likewise.
12377 * stdlib/setenv.c (clearenv): Likewise.
12378 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12379 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12380 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12381 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12382 (__get_nprocs): Likewise.
12383 (__get_phys_pages): Likewise.
12384 (__get_avphys_pages): Likewise.
12385 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12386 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12387 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12388 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12389 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12390 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12391 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12392 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12393 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12394 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12395 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12396 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12397 * sysdeps/posix/clock.c (clock): Likewise.
12398 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12399 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12400 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12401 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12402 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12404 (__get_nprocs_conf): Likewise.
12405 (__get_phys_pages): Likewise.
12406 (__get_avphys_pages): Likewise.
12407 * time/clock.c (clock): Likewise.
12408 * time/tzset.c (__tzname_max): Likewise.
12410 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12412 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12413 (__bswap_32): Do not use "register".
12414 * crypt/crypt.c (_ufc_doit_r): Likewise.
12415 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12416 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12417 * gmon/gmon.c (__monstartup): Likewise.
12418 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12419 * hurd/hurdmalloc.c (more_memory): Likewise.
12420 (malloc): Likewise.
12422 (realloc): Likewise.
12423 (malloc_fork_prepare): Likewise.
12424 (malloc_fork_parent): Likewise.
12425 (malloc_fork_child): Likewise.
12426 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12427 (_svcauth_des): Likewise.
12428 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12429 * inet/inet_net.c (inet_network): Likewise.
12430 * inet/inet_netof.c (inet_netof): Likewise.
12431 * inet/rcmd.c (__validuser2_sa): Likewise.
12432 * io/fts.c (fts_open): Likewise.
12433 (fts_load): Likewise.
12434 (fts_close): Likewise.
12435 (fts_read): Likewise.
12436 (fts_children): Likewise.
12437 (fts_build): Likewise.
12438 (fts_stat): Likewise.
12439 (fts_sort): Likewise.
12440 (fts_alloc): Likewise.
12441 (fts_lfree): Likewise.
12442 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12443 (_IO_file_xsgetn): Likewise.
12444 (_IO_file_xsgetn_mmap): Likewise.
12445 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12446 (_IO_cookie_write): Likewise.
12447 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12448 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12449 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12450 * malloc/obstack.c (_obstack_begin): Likewise.
12451 (_obstack_begin_1): Likewise.
12452 (_obstack_newchunk): Likewise.
12453 (_obstack_allocated_p): Likewise.
12454 (obstack_free): Likewise.
12455 (_obstack_memory_used): Likewise.
12456 * misc/getttyent.c (getttynam): Likewise.
12457 (getttyent): Likewise.
12460 * misc/getusershell.c (initshells): Likewise.
12461 * misc/syslog.c (__vsyslog_chk): Likewise.
12462 * misc/ttyslot.c (ttyslot): Likewise.
12463 * nis/nis_hash.c (__nis_hash): Likewise.
12464 * posix/fnmatch_loop.c (FCT): Likewise.
12465 * posix/getconf.c (print_all): Likewise.
12467 * posix/getopt.c (exchange): Likewise.
12468 * posix/glob.c (globfree): Likewise.
12469 (prefix_array): Likewise.
12470 (__glob_pattern_type): Likewise.
12471 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12472 (NS_GET32): Likewise.
12473 (NS_PUT16): Likewise.
12474 (NS_PUT32): Likewise.
12475 * resolv/gethnamaddr.c (getanswer): Likewise.
12476 (gethostbyname2): Likewise.
12477 (gethostbyaddr): Likewise.
12478 (_gethtent): Likewise.
12479 (_gethtbyname2): Likewise.
12480 (_gethtbyaddr): Likewise.
12481 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12482 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12483 * resolv/res_init.c (__res_vinit): Likewise.
12484 (net_mask): Likewise.
12485 * resolv/res_mkquery.c (outchar): Likewise.
12487 * stdio-common/printf_fp.c (outchar): Likewise.
12489 * stdio-common/printf_fphex.c (outchar): Likewise.
12491 * stdio-common/printf_size.c (outchar): Likewise.
12493 * stdio-common/test_rdwr.c (main): Likewise.
12494 * stdio-common/tfformat.c (matches): Likewise.
12495 * stdio-common/vfprintf.c (outchar): Likewise.
12496 (printf_unknown): Likewise.
12497 (buffered_vfprintf): Likewise.
12498 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12499 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12500 (ReadFile): Likewise.
12501 * stdlib/qsort.c (SWAP): Likewise.
12502 (_quicksort): Likewise.
12503 * stdlib/setenv.c (__add_to_environ): Likewise.
12504 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12505 * stdlib/strtol_l.c (__strtol_l): Likewise.
12506 * stdlib/tst-strtod.c (main): Likewise.
12507 * stdlib/tst-strtol.c (main): Likewise.
12508 * stdlib/tst-strtoll.c (main): Likewise.
12509 * string/bits/string2.h (__strcmp_cc): Likewise.
12510 (__strcmp_cg): Likewise.
12511 (__strcspn_c1): Likewise.
12512 (__strcspn_c2): Likewise.
12513 (__strcspn_c3): Likewise.
12514 (__strspn_c1): Likewise.
12515 (__strspn_c2): Likewise.
12516 (__strspn_c3): Likewise.
12517 (__strsep_1c): Likewise.
12518 (__strsep_2c): Likewise.
12519 (__strsep_3c): Likewise.
12520 * string/memccpy.c (__memccpy): Likewise.
12521 * string/stpcpy.c (__stpcpy): Likewise.
12522 * string/strcmp.c (strcmp): Likewise.
12523 * string/strrchr.c (strrchr): Likewise.
12524 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12526 * sysdeps/mach/hurd/getcwd.c
12527 (_hurd_canonicalize_directory_name_internal): Likewise.
12528 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12529 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12530 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12531 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12532 Likewise, in both definitions.
12533 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12535 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12536 64] (__bswap_64): Likewise.
12537 * time/test_time.c (main): Likewise.
12538 * time/tzfile.c (__tzfile_read): Likewise.
12539 (__tzfile_compute): Likewise.
12540 * time/tzset.c (__tzset_parse_tz): Likewise.
12541 (tzset_internal): Likewise.
12542 (compute_change): Likewise.
12543 * wcsmbs/wcscat.c (__wcscat): Likewise.
12544 * wcsmbs/wcschr.c (wcschr): Likewise.
12545 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12546 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12547 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12548 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12549 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12550 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12551 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12552 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12553 * wcsmbs/wmemset.c (wmemset): Likewise.
12555 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12557 * scripts/config.guess: Update to version 2013-05-16.
12558 * scripts/config.sub: Update to version 2013-04-24.
12559 * scripts/install-sh: Update to version 2011-11-20.07.
12560 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12561 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12563 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12565 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12566 * elf/sln.c: Likewise.
12567 * hurd/hurd/ioctl.h: Likewise.
12568 * hurd/hurdmalloc.c: Likewise.
12569 * hurd/xattr.c: Likewise.
12570 * include/shlib-compat.h: Likewise.
12571 * inet/ruserpass.c: Likewise.
12572 * libio/iofgets_u.c: Likewise.
12573 * libio/iofgetws_u.c: Likewise.
12574 * locale/programs/ld-identification.c: Likewise.
12575 * locale/programs/ld-time.c: Likewise.
12576 * mach/msg-destroy.c: Likewise.
12577 * nss/nss_files/files-netgrp.c: Likewise.
12578 * resolv/res_data.c: Likewise.
12579 * soft-fp/op-1.h: Likewise.
12580 * soft-fp/op-2.h: Likewise.
12581 * soft-fp/op-4.h: Likewise.
12582 * soft-fp/op-common.h: Likewise.
12583 * stdio-common/printf_fphex.c: Likewise.
12584 * stdlib/strtod_l.c: Likewise.
12585 * sunrpc/rpc/clnt.h: Likewise.
12586 * sysdeps/generic/framestate.c: Likewise.
12587 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12588 * sysdeps/i386/bsd-setjmp.S: Likewise.
12589 * sysdeps/i386/__longjmp.S: Likewise.
12590 * sysdeps/i386/setjmp.S: Likewise.
12591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12609 * sysdeps/ieee754/support.c: Likewise.
12610 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12611 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12612 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12614 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12616 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12617 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12618 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12620 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12621 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12622 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12623 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12624 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12625 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12626 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12629 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12631 * posix/transbug.c: Remove executable mode.
12633 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12635 * crypt/speeds.c: Remove trailing whitespace.
12636 * dlfcn/default.c: Likewise.
12637 * elf/ifuncdep2.c: Likewise.
12638 * elf/ifuncmain1.c: Likewise.
12639 * elf/ifuncmain1vis.c: Likewise.
12640 * elf/testobj.h: Likewise.
12641 * elf/tst-stackguard1.c: Likewise.
12642 * gmon/sys/gmon.h: Likewise.
12643 * hurd/hurdmsg.c: Likewise.
12644 * hurd/new-fd.c: Likewise.
12645 * hurd/ports-get.c: Likewise.
12646 * iconvdata/ibm1008_420.c: Likewise.
12647 * inet/tst-getni1.c: Likewise.
12648 * inet/tst-getni2.c: Likewise.
12649 * libio/ioungetc.c: Likewise.
12650 * libio/wfiledoalloc.c: Likewise.
12651 * manual/libm-err-tab.pl: Likewise.
12652 * math/w_dremf.c: Likewise.
12653 * misc/ftruncate.c: Likewise.
12654 * posix/bug-glob2.c: Likewise.
12655 * posix/tst-pcre.c: Likewise.
12656 * posix/wait4.c: Likewise.
12657 * resolv/README: Likewise.
12658 * resolv/res_debug.h: Likewise.
12659 * resolv/tst-inet_ntop.c: Likewise.
12660 * setjmp/bug269-setjmp.c: Likewise.
12661 * soft-fp/extended.h: Likewise.
12662 * soft-fp/op-1.h: Likewise.
12663 * soft-fp/op-2.h: Likewise.
12664 * soft-fp/op-4.h: Likewise.
12665 * soft-fp/op-8.h: Likewise.
12666 * soft-fp/testit.c: Likewise.
12667 * stdio-common/bug16.c: Likewise.
12668 * stdlib/random.c: Likewise.
12669 * sunrpc/rpcsvc/rquota.x: Likewise.
12670 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12676 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12678 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12679 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12680 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12699 * sysdeps/ieee754/s_lib_version.c: Likewise.
12700 * sysdeps/mach/hurd/check_fds.c: Likewise.
12701 * sysdeps/mach/hurd/getsockname.c: Likewise.
12702 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12703 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12704 * sysdeps/powerpc/bits/link.h: Likewise.
12705 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12706 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12707 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12708 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12709 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12710 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12711 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12712 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12713 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12714 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12715 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12716 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12717 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12718 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12726 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12728 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12729 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12730 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12731 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12732 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12733 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12734 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12735 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12737 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12739 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12740 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12741 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12744 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12745 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12746 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12747 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12748 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12750 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12751 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12752 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12753 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12754 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12759 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12760 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12762 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12763 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12764 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12765 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12767 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12768 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12769 * sysdeps/powerpc/sysdep.h: Likewise.
12770 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12771 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12772 * sysdeps/sh/dl-trampoline.S: Likewise.
12773 * sysdeps/sh/memset.S: Likewise.
12774 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12775 * sysdeps/sh/strlen.S: Likewise.
12776 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12777 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12778 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12779 * sysdeps/sparc/sparc32/rem.S: Likewise.
12780 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12781 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12782 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12783 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12784 * sysdeps/sparc/sparc32/urem.S: Likewise.
12785 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12786 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12787 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12788 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12789 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12790 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12791 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12792 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12793 * sysdeps/unix/bsd/times.c: Likewise.
12794 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12795 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12799 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12807 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12811 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12812 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12813 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12815 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12816 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12817 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12818 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12819 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12820 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12822 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12823 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12824 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12825 * sysdeps/x86_64/strcspn.S: Likewise.
12827 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12829 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12830 generated file. Regenerate properly from gen-translit.pl.
12831 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12832 locale/C-translit.h.
12834 2013-06-05 Andreas Schwab <schwab@suse.de>
12837 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12838 week as 6 instead of -1.
12839 * time/tst-strptime.c (day_tests): Add test case.
12841 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12843 * sysdeps/generic/math_private.h
12844 (libc_feholdexcept_setround_53bit): Replace with
12845 libc_feholdsetround_53bit.
12846 (libc_feupdateenv_53bit): Replace with
12847 libc_feresetround_53bit.
12848 (SET_RESTORE_ROUND_53BIT): Adjust.
12850 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12852 * string/test-strchrnul.c: Add copyright header.
12854 * posix/tst-getaddrinfo4.c: Increase test timeout.
12856 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12859 * math/libm-test.inc (MAX_EXP): Remove
12861 (ulp): Use MIN_EXP - MANT_DIG.
12862 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12864 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12866 * po/be.po: Revert last change.
12867 * po/zh_CN.po: Likewise.
12868 * po/header.pot: Likewise.
12870 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12872 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12873 link-libc-deps to empty as target-specific variable.
12874 * Makerules (link-libc-args): New variable.
12875 (libc-for-link): Likewise.
12876 (link-libc-deps): Likewise.
12877 (lib%.so): Depend on $(link-libc-deps). Link with
12879 (build-module): Link with $(link-libc-args).
12880 (build-module-asneeded): Likewise.
12881 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12883 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12884 target-specific variable.
12885 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12886 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12887 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12889 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12891 ($(objpfx)libpcprofile.so): Likewise.
12892 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12894 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12895 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12898 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12899 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12900 * login/Makefile ($(objpfx)libutil.so): Likewise.
12901 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12902 * math/Makefile ($(objpfx)libm.so): Likewise.
12903 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12904 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12905 variable instead of depending directly on libc.
12906 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12907 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12909 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12911 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12912 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12913 ($(objpfx)libanl.so): Likewise.
12914 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12916 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12918 * sysdeps/i386/fpu/Makefile: Remove file.
12919 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12920 ($(objpfx)libm.so): Remove dependency on ld.so.
12922 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12925 * nis/yp_xdr.c (XDRMAXNAME): Define.
12926 (XDRMAXRECORD): Define.
12927 (xdr_domainname): Use XDRMAXNAME.
12928 (xdr_mapname): Likewise.
12929 (xdr_peername): Likewise.
12930 (xdr_keydat): Use XDRMAXRECORD.
12931 (xdr_valdat): Likewise.
12933 2013-05-30 Jeff Law <law@redhat.com>
12936 * manual/errno.texi (ESTALE): Update to account for more than
12937 just NFS file systems.
12938 * sysdeps/gnu/errlist.c: Regenerated.
12940 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12943 * elf/Makefile (tests): Add tst-null-argv.
12944 (modules-names): Add tst-null-argv-lib.
12945 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12946 (tst-null-argv-ENV): Set environment for tst-null-argv.
12947 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12948 (RTLD_PROGNAME): New macro.
12949 * elf/tst-null-argv.c: New test case.
12950 * elf/tst-null-argv-lib.c: Library for test case.
12951 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12952 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12953 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12954 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12955 * elf/dl-init.c (call_init): Likewise.
12956 (_dl_init): Likewise.
12957 * elf/dl-load.c (print_search_path): Likewise.
12958 (_dl_map_object): Likewise.
12959 * elf/dl-lookup.c (do_lookup_x): Likewise.
12960 (add_dependency): Likewise.
12961 (_dl_lookup_symbol_x): Likewise.
12962 (_dl_debug_bindings): Likewise.
12963 * elf/dl-open.c (_dl_show_scope): Likewise.
12964 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12965 * elf/dl-version.c (match_symbol): Likewise.
12966 (_dl_check_map_versions): Likewise.
12967 * elf/rtld.c (dl_main): Likewise.
12968 (print_unresolved): Use RTLD_PROGNAME.
12969 (print_missing_version): Likewise.
12970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12971 (elf_machine_rela): Likewise.
12972 * sysdeps/powerpc/powerpc32/dl-machine.c
12973 (__process_machine_rela): Likewise.
12974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12976 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12978 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12980 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12987 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12989 * po/be.po: Add descriptive title.
12990 * po/zh_CN.po: Likewise.
12991 * po/header.pot: Likewise.
12993 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12995 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12997 (enlarge_archive): Likewise.
12999 2013-05-28 Ben North <ben@redfrontdoor.org>
13001 * manual/arith.texi (frexp): It is the magnitude of the return
13002 value which lies in [0.5, 1), not the return value itself.
13004 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13008 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13010 * stdio-common/bug26.c (main): Correct fscanf template.
13012 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13013 declare _dl_skip_args.
13015 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13018 * manual/platform.texi: Add missing @end deftypefun.
13020 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13023 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13024 bit of mantissa of 2^16382.
13025 * math/libm-test.inc (hypot_test_data): Add more tests.
13027 * math/libm-test.inc: Add drem and pow10 to list of tested
13029 (pow10_test): New function.
13030 (drem_test): Likewise.
13031 (drem_test_tonearest): Likewise.
13032 (drem_test_towardzero): Likewise.
13033 (drem_test_downward): Likewise.
13034 (drem_test_upward): Likewise.
13035 (main): Call the new functions.
13037 * math/libm-test.inc (finite_test_data): Remove.
13038 (finite_test): Run tests from isfinite_test_data.
13039 (gamma_test_data): Remove.
13040 (gamma_test): Run tests from lgamma_test_data.
13041 * sysdeps/i386/fpu/libm-test-ulps: Update.
13042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13044 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13046 * manual/platform.texi: Add PowerPC PPR function set documentation.
13047 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13050 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13052 * math/libm-test.inc (MAX_EXP): Define.
13054 (ulp): New function.
13055 (check_float_internal): Use ULPDIFF.
13056 (cpow_test): Disable failing test.
13057 (check_ulp): Test ulp() implemetnation.
13058 (main): Call check_ulp before starting tests.
13060 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13062 * math/gen-libm-test.pl (generate_testfile): Do not handle
13063 START_DATA and END_DATA.
13064 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13066 (acos_tonearest_test_data): Likewise.
13067 (acos_towardzero_test_data): Likewise.
13068 (acos_downward_test_data): Likewise.
13069 (acos_upward_test_data): Likewise.
13070 (acosh_test_data): Likewise.
13071 (asin_test_data): Likewise.
13072 (asin_tonearest_test_data): Likewise.
13073 (asin_towardzero_test_data): Likewise.
13074 (asin_downward_test_data): Likewise.
13075 (asin_upward_test_data): Likewise.
13076 (asinh_test_data): Likewise.
13077 (atan_test_data): Likewise.
13078 (atanh_test_data): Likewise.
13079 (atan2_test_data): Likewise.
13080 (cabs_test_data): Likewise.
13081 (cacos_test_data): Likewise.
13082 (cacosh_test_data): Likewise.
13083 (carg_test_data): Likewise.
13084 (casin_test_data): Likewise.
13085 (casinh_test_data): Likewise.
13086 (catan_test_data): Likewise.
13087 (catanh_test_data): Likewise.
13088 (cbrt_test_data): Likewise.
13089 (ccos_test_data): Likewise.
13090 (ccosh_test_data): Likewise.
13091 (ceil_test_data): Likewise.
13092 (cexp_test_data): Likewise.
13093 (cimag_test_data): Likewise.
13094 (clog_test_data): Likewise.
13095 (clog10_test_data): Likewise.
13096 (conj_test_data): Likewise.
13097 (copysign_test_data): Likewise.
13098 (cos_test_data): Likewise.
13099 (cos_tonearest_test_data): Likewise.
13100 (cos_towardzero_test_data): Likewise.
13101 (cos_downward_test_data): Likewise.
13102 (cos_upward_test_data): Likewise.
13103 (cosh_test_data): Likewise.
13104 (cosh_tonearest_test_data): Likewise.
13105 (cosh_towardzero_test_data): Likewise.
13106 (cosh_downward_test_data): Likewise.
13107 (cosh_upward_test_data): Likewise.
13108 (cpow_test_data): Likewise.
13109 (cproj_test_data): Likewise.
13110 (creal_test_data): Likewise.
13111 (csin_test_data): Likewise.
13112 (csinh_test_data): Likewise.
13113 (csqrt_test_data): Likewise.
13114 (ctan_test_data): Likewise.
13115 (ctan_tonearest_test_data): Likewise.
13116 (ctan_towardzero_test_data): Likewise.
13117 (ctan_downward_test_data): Likewise.
13118 (ctan_upward_test_data): Likewise.
13119 (ctanh_test_data): Likewise.
13120 (ctanh_tonearest_test_data): Likewise.
13121 (ctanh_towardzero_test_data): Likewise.
13122 (ctanh_downward_test_data): Likewise.
13123 (ctanh_upward_test_data): Likewise.
13124 (erf_test_data): Likewise.
13125 (erfc_test_data): Likewise.
13126 (exp_test_data): Likewise.
13127 (exp_tonearest_test_data): Likewise.
13128 (exp_towardzero_test_data): Likewise.
13129 (exp_downward_test_data): Likewise.
13130 (exp_upward_test_data): Likewise.
13131 (exp10_test_data): Likewise.
13132 (exp2_test_data): Likewise.
13133 (expm1_test_data): Likewise.
13134 (fabs_test_data): Likewise.
13135 (fdim_test_data): Likewise.
13136 (finite_test_data): Likewise.
13137 (floor_test_data): Likewise.
13138 (fma_test_data): Likewise.
13139 (fma_towardzero_test_data): Likewise.
13140 (fma_downward_test_data): Likewise.
13141 (fma_upward_test_data): Likewise.
13142 (fmax_test_data): Likewise.
13143 (fmin_test_data): Likewise.
13144 (fmod_test_data): Likewise.
13145 (fpclassify_test_data): Likewise.
13146 (frexp_test_data): Likewise.
13147 (gamma_test_data): Likewise.
13148 (hypot_test_data): Likewise.
13149 (ilogb_test_data): Likewise.
13150 (isfinite_test_data): Likewise.
13151 (isgreater_test_data): Likewise.
13152 (isgreaterequal_test_data): Likewise.
13153 (isinf_test_data): Likewise.
13154 (isless_test_data): Likewise.
13155 (islessequal_test_data): Likewise.
13156 (islessgreater_test_data): Likewise.
13157 (isnan_test_data): Likewise.
13158 (isnormal_test_data): Likewise.
13159 (issignaling_test_data): Likewise.
13160 (isunordered_test_data): Likewise.
13161 (j0_test_data): Likewise.
13162 (j1_test_data): Likewise.
13163 (jn_test_data): Likewise.
13164 (ldexp_test_data): Likewise.
13165 (lgamma_test_data): Likewise.
13166 (lrint_test_data): Likewise.
13167 (lrint_tonearest_test_data): Likewise.
13168 (lrint_towardzero_test_data): Likewise.
13169 (lrint_downward_test_data): Likewise.
13170 (lrint_upward_test_data): Likewise.
13171 (llrint_test_data): Likewise.
13172 (llrint_tonearest_test_data): Likewise.
13173 (llrint_towardzero_test_data): Likewise.
13174 (llrint_downward_test_data): Likewise.
13175 (llrint_upward_test_data): Likewise.
13176 (log_test_data): Likewise.
13177 (log10_test_data): Likewise.
13178 (log1p_test_data): Likewise.
13179 (log2_test_data): Likewise.
13180 (logb_test_data): Likewise.
13181 (logb_downward_test_data): Likewise.
13182 (lround_test_data): Likewise.
13183 (llround_test_data): Likewise.
13184 (modf_test_data): Likewise.
13185 (nearbyint_test_data): Likewise.
13186 (nextafter_test_data): Likewise.
13187 (nexttoward_test_data): Likewise.
13188 (pow_test_data): Likewise.
13189 (pow_tonearest_test_data): Likewise.
13190 (pow_towardzero_test_data): Likewise.
13191 (pow_downward_test_data): Likewise.
13192 (pow_upward_test_data): Likewise.
13193 (remainder_test_data): Likewise.
13194 (remainder_tonearest_test_data): Likewise.
13195 (remainder_towardzero_test_data): Likewise.
13196 (remainder_downward_test_data): Likewise.
13197 (remainder_upward_test_data): Likewise.
13198 (remquo_test_data): Likewise.
13199 (rint_test_data): Likewise.
13200 (rint_tonearest_test_data): Likewise.
13201 (rint_towardzero_test_data): Likewise.
13202 (rint_downward_test_data): Likewise.
13203 (rint_upward_test_data): Likewise.
13204 (round_test_data): Likewise.
13205 (scalb_test_data): Likewise.
13206 (scalbn_test_data): Likewise.
13207 (scalbln_test_data): Likewise.
13208 (signbit_test_data): Likewise.
13209 (sin_test_data): Likewise.
13210 (sin_tonearest_test_data): Likewise.
13211 (sin_towardzero_test_data): Likewise.
13212 (sin_downward_test_data): Likewise.
13213 (sin_upward_test_data): Likewise.
13214 (sincos_test_data): Likewise.
13215 (sinh_test_data): Likewise.
13216 (sinh_tonearest_test_data): Likewise.
13217 (sinh_towardzero_test_data): Likewise.
13218 (sinh_downward_test_data): Likewise.
13219 (sinh_upward_test_data): Likewise.
13220 (sqrt_test_data): Likewise.
13221 (tan_test_data): Likewise.
13222 (tan_tonearest_test_data): Likewise.
13223 (tan_towardzero_test_data): Likewise.
13224 (tan_downward_test_data): Likewise.
13225 (tan_upward_test_data): Likewise.
13226 (tanh_test_data): Likewise.
13227 (tgamma_test_data): Likewise.
13228 (trunc_test_data): Likewise.
13229 (y0_test_data): Likewise.
13230 (y1_test_data): Likewise.
13231 (yn_test_data): Likewise.
13232 (significand_test_data): Likewise.
13234 * math/gen-libm-test.pl (@functions): Remove variable.
13235 (generate_testfile): Don't handle START and END lines.
13236 * math/libm-test.inc (START): New macro.
13238 (END_COMPLEX): Likewise.
13239 (acos_test): Use END macro without arguments.
13240 (acos_test_tonearest): Likewise.
13241 (acos_test_towardzero): Likewise.
13242 (acos_test_downward): Likewise.
13243 (acos_test_upward): Likewise.
13244 (acosh_test): Likewise.
13245 (asin_test): Likewise.
13246 (asin_test_tonearest): Likewise.
13247 (asin_test_towardzero): Likewise.
13248 (asin_test_downward): Likewise.
13249 (asin_test_upward): Likewise.
13250 (asinh_test): Likewise.
13251 (atan_test): Likewise.
13252 (atanh_test): Likewise.
13253 (atan2_test): Likewise.
13254 (cabs_test): Likewise.
13255 (cacos_test): Use END_COMPLEX macro without arguments.
13256 (cacosh_test): Likewise.
13257 (carg_test): Use END macro without arguments.
13258 (casin_test): Use END_COMPLEX macro without arguments.
13259 (casinh_test): Likewise.
13260 (catan_test): Likewise.
13261 (catanh_test): Likewise.
13262 (cbrt_test): Use END macro without arguments.
13263 (ccos_test): Use END_COMPLEX macro without arguments.
13264 (ccosh_test): Likewise.
13265 (ceil_test): Use END macro without arguments.
13266 (cexp_test): Use END_COMPLEX macro without arguments.
13267 (cimag_test): Use END macro without arguments.
13268 (clog_test): Use END_COMPLEX macro without arguments.
13269 (clog10_test): Likewise.
13270 (conj_test): Likewise.
13271 (copysign_test): Use END macro without arguments.
13272 (cos_test): Likewise.
13273 (cos_test_tonearest): Likewise.
13274 (cos_test_towardzero): Likewise.
13275 (cos_test_downward): Likewise.
13276 (cos_test_upward): Likewise.
13277 (cosh_test): Likewise.
13278 (cosh_test_tonearest): Likewise.
13279 (cosh_test_towardzero): Likewise.
13280 (cosh_test_downward): Likewise.
13281 (cosh_test_upward): Likewise.
13282 (cpow_test): Use END_COMPLEX macro without arguments.
13283 (cproj_test): Likewise.
13284 (creal_test): Use END macro without arguments.
13285 (csin_test): Use END_COMPLEX macro without arguments.
13286 (csinh_test): Likewise.
13287 (csqrt_test): Likewise.
13288 (ctan_test): Likewise.
13289 (ctan_test_tonearest): Likewise.
13290 (ctan_test_towardzero): Likewise.
13291 (ctan_test_downward): Likewise.
13292 (ctan_test_upward): Likewise.
13293 (ctanh_test): Likewise.
13294 (ctanh_test_tonearest): Likewise.
13295 (ctanh_test_towardzero): Likewise.
13296 (ctanh_test_downward): Likewise.
13297 (ctanh_test_upward): Likewise.
13298 (erf_test): Use END macro without arguments.
13299 (erfc_test): Likewise.
13300 (exp_test): Likewise.
13301 (exp_test_tonearest): Likewise.
13302 (exp_test_towardzero): Likewise.
13303 (exp_test_downward): Likewise.
13304 (exp_test_upward): Likewise.
13305 (exp10_test): Likewise.
13306 (exp2_test): Likewise.
13307 (expm1_test): Likewise.
13308 (fabs_test): Likewise.
13309 (fdim_test): Likewise.
13310 (finite_test): Likewise.
13311 (floor_test): Likewise.
13312 (fma_test): Likewise.
13313 (fma_test_towardzero): Likewise.
13314 (fma_test_downward): Likewise.
13315 (fma_test_upward): Likewise.
13316 (fmax_test): Likewise.
13317 (fmin_test): Likewise.
13318 (fmod_test): Likewise.
13319 (fpclassify_test): Likewise.
13320 (frexp_test): Likewise.
13321 (gamma_test): Likewise.
13322 (hypot_test): Likewise.
13323 (ilogb_test): Likewise.
13324 (isfinite_test): Likewise.
13325 (isgreater_test): Likewise.
13326 (isgreaterequal_test): Likewise.
13327 (isinf_test): Likewise.
13328 (isless_test): Likewise.
13329 (islessequal_test): Likewise.
13330 (islessgreater_test): Likewise.
13331 (isnan_test): Likewise.
13332 (isnormal_test): Likewise.
13333 (issignaling_test): Likewise.
13334 (isunordered_test): Likewise.
13335 (j0_test): Likewise.
13336 (j1_test): Likewise.
13337 (jn_test): Likewise.
13338 (ldexp_test): Likewise.
13339 (lgamma_test): Likewise.
13340 (lrint_test): Likewise.
13341 (lrint_test_tonearest): Likewise.
13342 (lrint_test_towardzero): Likewise.
13343 (lrint_test_downward): Likewise.
13344 (lrint_test_upward): Likewise.
13345 (llrint_test): Likewise.
13346 (llrint_test_tonearest): Likewise.
13347 (llrint_test_towardzero): Likewise.
13348 (llrint_test_downward): Likewise.
13349 (llrint_test_upward): Likewise.
13350 (log_test): Likewise.
13351 (log10_test): Likewise.
13352 (log1p_test): Likewise.
13353 (log2_test): Likewise.
13354 (logb_test): Likewise.
13355 (logb_test_downward): Likewise.
13356 (lround_test): Likewise.
13357 (llround_test): Likewise.
13358 (modf_test): Likewise.
13359 (nearbyint_test): Likewise.
13360 (nextafter_test): Likewise.
13361 (nexttoward_test): Likewise.
13362 (pow_test): Likewise.
13363 (pow_test_tonearest): Likewise.
13364 (pow_test_towardzero): Likewise.
13365 (pow_test_downward): Likewise.
13366 (pow_test_upward): Likewise.
13367 (remainder_test): Likewise.
13368 (remainder_test_tonearest): Likewise.
13369 (remainder_test_towardzero): Likewise.
13370 (remainder_test_downward): Likewise.
13371 (remainder_test_upward): Likewise.
13372 (remquo_test): Likewise.
13373 (rint_test): Likewise.
13374 (rint_test_tonearest): Likewise.
13375 (rint_test_towardzero): Likewise.
13376 (rint_test_downward): Likewise.
13377 (rint_test_upward): Likewise.
13378 (round_test): Likewise.
13379 (scalb_test): Likewise.
13380 (scalbn_test): Likewise.
13381 (scalbln_test): Likewise.
13382 (signbit_test): Likewise.
13383 (sin_test): Likewise.
13384 (sin_test_tonearest): Likewise.
13385 (sin_test_towardzero): Likewise.
13386 (sin_test_downward): Likewise.
13387 (sin_test_upward): Likewise.
13388 (sincos_test): Likewise.
13389 (sinh_test): Likewise.
13390 (sinh_test_tonearest): Likewise.
13391 (sinh_test_towardzero): Likewise.
13392 (sinh_test_downward): Likewise.
13393 (sinh_test_upward): Likewise.
13394 (sqrt_test): Likewise.
13395 (tan_test): Likewise.
13396 (tan_test_tonearest): Likewise.
13397 (tan_test_towardzero): Likewise.
13398 (tan_test_downward): Likewise.
13399 (tan_test_upward): Likewise.
13400 (tanh_test): Likewise.
13401 (tgamma_test): Likewise.
13402 (trunc_test): Likewise.
13403 (y0_test): Likewise.
13404 (y1_test): Likewise.
13405 (yn_test): Likewise.
13406 (significand_test): Likewise.
13408 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13411 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13413 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13416 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13417 __ppc_mdoio and __ppc_mdoom.
13418 * manual/platform.texi: Document new functions __ppc_yield,
13419 __ppc_mdoio and __ppc_mdoom.
13421 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13423 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13424 (main): Mention "tls" pseudo-hwcap is legacy.
13425 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13427 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13429 * math/gen-libm-test.pl (parse_args): Output only string of
13430 arguments as text for test name, not full call or descriptions of
13431 tests for extra outputs.
13432 (generate_testfile): Do not pass function name to parse_args.
13433 Generate this_func variable from START.
13434 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13436 (struct test_ff_f_data): Likewise.
13437 (test_ff_f_data_nexttoward): Likewise.
13438 (struct test_fi_f_data): Likewise.
13439 (struct test_fl_f_data): Likewise.
13440 (struct test_if_f_data): Likewise.
13441 (struct test_fff_f_data): Likewise.
13442 (struct test_c_f_data): Likewise.
13443 (struct test_f_f1_data): Likewise. Remove field extra_name.
13444 (struct test_fF_f1_data): Likewise.
13445 (struct test_ffI_f1_data): Likewise.
13446 (struct test_c_c_data): Rename test_name field to arg_str.
13447 (struct test_cc_c_data): Likewise.
13448 (struct test_f_i_data): Likewise.
13449 (struct test_ff_i_data): Likewise.
13450 (struct test_f_l_data): Likewise.
13451 (struct test_f_L_data): Likewise.
13452 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13454 (COMMON_TEST_SETUP): New macro.
13455 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13456 (COMMON_TEST_CLEANUP): Likewise.
13457 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13458 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13460 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13461 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13463 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13464 (RUN_TEST_fff_f): Take argument string. Call new setup and
13466 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13467 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13469 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13470 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13472 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13473 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13475 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13476 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13478 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13479 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13481 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13482 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13484 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13485 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13487 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13488 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13490 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13491 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13493 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13494 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13496 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13497 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13499 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13500 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13502 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13503 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13505 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13506 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13508 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13509 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13511 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13513 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13515 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13516 to _sifields.sigfault.
13517 (si_addr_lsb): Define new macro.
13518 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13519 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13522 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13525 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13527 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13529 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13530 loading the domain.
13532 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13534 * math/gen-libm-test.pl (parse_args): Do not include expected
13535 result in test name.
13536 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13538 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13540 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13543 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13545 * benchtests/Makefile: Sort function entries.
13547 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13548 tanh, asinh, acosh, atanh.
13549 * benchtests/acos-inputs: New file.
13550 * benchtests/acosh-inputs: New file.
13551 * benchtests/asin-inputs: New file.
13552 * benchtests/asinh-inputs: New file.
13553 * benchtests/atanh-inputs: New file.
13554 * benchtests/cosh-inputs: New file.
13555 * benchtests/log-inputs: New file.
13556 * benchtests/sinh-inputs: New file.
13557 * benchtests/tanh-inputs: New file.
13559 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13562 * posix/tst-getaddrinfo4.c: New test.
13563 * posix/Makefile (tests): Add it.
13565 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13568 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13569 when no services were used.
13570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13571 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13573 2013-05-21 Andreas Schwab <schwab@suse.de>
13576 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13577 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13579 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13580 redundant variable declarations and reallocation of buffer when
13581 parsing as IPv6 address. Always set NSS status when called from
13582 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13583 buffer too small. Correct computation of needed size.
13584 * nss/Makefile (tests): Add test-digits-dots.
13585 * nss/test-digits-dots.c: New test.
13587 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13589 * benchtests/Makefile: Remove instructions for adding
13591 * benchtests/README: New file to explain how to execute and
13592 enhance the benchmark tests.
13594 2013-05-21 Andreas Schwab <schwab@suse.de>
13597 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13598 * setjmp/tst-sigsetjmp.c: New test.
13600 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13602 * sysdeps/x86_64/memset.S (memset): New implementation.
13603 (__bzero): Likewise.
13604 (__memset_tail): New function.
13606 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13608 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13609 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13610 __memcpy_sse2_unaligned ifunc selection.
13611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13612 Add memcpy-sse2-unaligned.S.
13613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13614 Add: __memcpy_sse2_unaligned.
13616 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13620 math_force_eval before restoring floating-point envrionment.
13621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13624 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13626 (__nearbyintl): Use math_force_eval before restoring
13627 floating-point environment.
13628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13630 * math/gen-libm-test.pl (special_functions): Remove.
13631 (parse_args): Don't handle TEST_extra. Handle functions with no
13633 * math/libm-test.inc (struct test_sincos_data): Replace with
13634 struct test_fFF_11_data.
13635 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13636 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13637 (sincos_test_data): Change element type to struct
13638 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13639 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13640 RUN_TEST_LOOP_sincos.
13641 * math/README.libm-test: Don't mention special handling of
13642 individual functions.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13645 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13646 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13647 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13650 * math/gen-libm-test.pl (get_variable): Remove function.
13651 (parse_args): Don't show pointer parameters to call in test
13652 names. Use "extra output N" in test names for extra outputs
13653 rather than naming variables.
13655 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13658 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13659 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13660 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13662 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13664 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13667 * math/gen-libm-test.pl (@tests): Remove variable.
13668 ($count): Likewise.
13669 (new_test): Remove function.
13670 (show_exceptions): New function.
13671 (special_functions): Use show_exceptions instead of new_test.
13672 (parse_args): Likewise.
13673 (generate_testfile): Pass only function name in generated call to
13674 print_max_error or print_complex_max_error.
13675 (get_ulps): Do not handle complex tests specially.
13676 (output_test): Rename to ...
13677 (get_all_ulps_for_test): ... this. Return a string rather than
13678 printing to a file. Require ulps to be present.
13679 (output_ulps): Generate arrays rather than #defines.
13680 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13681 (struct ulp_data): New type.
13682 (BUILD_COMPLEX_ULP): Remove macro.
13683 (compare_ulp_data): New function.
13684 (find_ulps): Likewise.
13685 (find_test_ulps): Likewise.
13686 (find_function_ulps): Likewise.
13687 (find_complex_function_ulps): Likewise.
13688 (print_max_error): Determine allowed ulps using
13689 find_function_ulps.
13690 (print_complex_max_error): Determine allowed ulps using
13691 find_complex_function_ulps.
13692 (check_float_internal): Determine max ulps using find_test_ulps.
13693 (check_float): Do not take max_ulp parameter. Update call to
13694 check_float_internal.
13695 (check_complex): Likewise.
13696 (check_int): Do not take max_ulp parameter.
13697 (check_long): Likewise.
13698 (check_bool): Likewise.
13699 (check_longlong): Likewise.
13700 (struct test_f_f_data): Remove max_ulp field.
13701 (struct test_ff_f_data): Likewise.
13702 (struct test_ff_f_data_nexttoward): Likewise.
13703 (struct test_fi_f_data): Likewise.
13704 (struct test_fl_f_data): Likewise.
13705 (struct test_if_f_data): Likewise.
13706 (struct test_fff_f_data): Likewise.
13707 (struct test_c_f_data): Likewise.
13708 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13709 (struct test_fF_f1_data): Likewise.
13710 (struct test_ffI_f1_data): Likewise.
13711 (struct test_c_c_data): Remove max_ulp field.
13712 (struct test_cc_c_data): Likewise.
13713 (struct test_f_i_data): Likewise.
13714 (struct test_ff_i_data): Likewise.
13715 (struct test_f_l_data): Likewise.
13716 (struct test_f_L_data): Likewise.
13717 (struct test_sincos_data): Likewise.
13718 (RUN_TEST_f_f): Do not handle ulps.
13719 (RUN_TEST_LOOP_f_f): Likewise.
13720 (RUN_TEST_2_f): Likewise.
13721 (RUN_TEST_LOOP_2_f): Likewise.
13722 (RUN_TEST_fff_f): Likewise.
13723 (RUN_TEST_LOOP_fff_f): Likewise.
13724 (RUN_TEST_c_f): Likewise.
13725 (RUN_TEST_LOOP_c_f): Likewise.
13726 (RUN_TEST_f_f1): Likewise.
13727 (RUN_TEST_LOOP_f_f1): Likewise.
13728 (RUN_TEST_fF_f1): Likewise.
13729 (RUN_TEST_LOOP_fF_f1): Likewise.
13730 (RUN_TEST_fI_f1): Likewise.
13731 (RUN_TEST_LOOP_fI_f1): Likewise.
13732 (RUN_TEST_ffI_f1): Likewise.
13733 (RUN_TEST_LOOP_ffI_f1): Likewise.
13734 (RUN_TEST_c_c): Likewise.
13735 (RUN_TEST_LOOP_c_c): Likewise.
13736 (RUN_TEST_cc_c): Likewise.
13737 (RUN_TEST_LOOP_cc_c): Likewise.
13738 (RUN_TEST_f_i): Likewise.
13739 (RUN_TEST_LOOP_f_i): Likewise.
13740 (RUN_TEST_f_i_tg): Likewise.
13741 (RUN_TEST_LOOP_f_i_tg): Likewise.
13742 (RUN_TEST_ff_i_tg): Likewise.
13743 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13744 (RUN_TEST_f_b): Likewise.
13745 (RUN_TEST_LOOP_f_b): Likewise.
13746 (RUN_TEST_f_b_tg): Likewise.
13747 (RUN_TEST_LOOP_f_b_tg): Likewise.
13748 (RUN_TEST_f_l): Likewise.
13749 (RUN_TEST_LOOP_f_l): Likewise.
13750 (RUN_TEST_f_L): Likewise.
13751 (RUN_TEST_LOOP_f_L): Likewise.
13752 (RUN_TEST_sincos): Likewise.
13753 (RUN_TEST_LOOP_sincos): Likewise.
13755 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13759 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13760 main case of finite arguments, set rounding mode to FE_TONEAREST
13761 and discard exceptions.
13762 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13764 (remainder_tonearest_test_data): New variable.
13765 (remainder_test_tonearest): New function.
13766 (remainder_towardzero_test_data): New variable.
13767 (remainder_test_towardzero): New function.
13768 (remainder_downward_test_data): New variable.
13769 (remainder_test_downward): New function.
13770 (remainder_upward_test_data): New variable.
13771 (remainder_test_upward): New function.
13772 (main): Call the new test functions.
13774 * math/libm-test.inc (struct test_f_f1_data): Remove field
13776 (struct test_fF_f1_data): Likewise.
13777 (struct test_ffI_f1_data): Likewise.
13778 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13779 based on value of EXTRA_EXPECTED.
13780 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13781 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13782 EXTRA_VAR based on value of EXTRA_EXPECTED.
13783 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13784 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13785 EXTRA_VAR based on value of EXTRA_EXPECTED.
13786 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13787 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13788 EXTRA_VAR based on value of EXTRA_EXPECTED.
13789 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13790 * math/gen-libm-test.pl (parse_args): Don't output initializers
13791 for extra output values.
13793 * math/libm-test.inc (check_int): Expect result to be exactly
13794 equal to expected value and do not handle ulps.
13795 (check_long): Likewise.
13796 (check_longlong): Likewise.
13798 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13800 (cimag_test_data): Likewise.
13801 (conj_test_data): Likewise.
13802 (copysign_test_data): Likewise.
13803 (cproj_test_data): Likewise.
13804 (creal_test_data): Likewise.
13805 (fabs_test_data): Likewise.
13806 (fdim_test_data): Likewise.
13807 (finite_test_data): Likewise.
13808 (floor_test_data): Likewise.
13809 (fmax_test_data): Likewise.
13810 (fmin_test_data): Likewise.
13811 (fmod_test_data): Likewise.
13812 (fpclassify_test_data): Likewise.
13813 (frexp_test_data): Likewise.
13814 (ilogb_test_data): Likewise.
13815 (isfinite_test_data): Likewise.
13816 (isgreater_test_data): Likewise.
13817 (isgreaterequal_test_data): Likewise.
13818 (isinf_test_data): Likewise.
13819 (isless_test_data): Likewise.
13820 (islessequal_test_data): Likewise.
13821 (islessgreater_test_data): Likewise.
13822 (isnan_test_data): Likewise.
13823 (isnormal_test_data): Likewise.
13824 (issignaling_test_data): Likewise.
13825 (isunordered_test_data): Likewise.
13826 (ldexp_test_data): Likewise.
13827 (lrint_test_data): Likewise.
13828 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13829 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13830 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13831 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13832 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13833 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13835 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13836 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13837 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13838 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13840 (lrint_downward_test_data): Test for "inexact" exceptions.
13841 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13842 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13843 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13845 (lrint_upward_test_data): Test for "inexact" exceptions.
13846 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13848 (llrint_test_data): Test for "inexact" exceptions.
13849 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13850 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13851 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13852 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13853 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13854 (llrint_downward_test_data): Test for "inexact" exceptions.
13855 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13856 (llrint_upward_test_data): Test for "inexact" exceptions.
13857 (logb_test_data): Likewise.
13858 (logb_downward_test_data): Likewise.
13859 (nextafter_test_data): Likewise.
13860 (nexttoward_test_data): Likewise.
13861 (remainder_test_data): Likewise.
13862 (remquo_test_data): Likewise.
13863 (scalbn_test_data): Likewise.
13864 (scalbln_test_data): Likewise.
13865 (signbit_test_data): Likewise.
13866 (sqrt_test_data): Likewise.
13867 (significand_test_data): Likewise.
13869 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13872 * benchtests/bench-modf.c (struct args): Mark arg0 as
13874 * scripts/bench.pl: Mark members of struct args as volatile.
13876 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13879 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13880 negative infinity on POWER6 or lower.
13881 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13883 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13886 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13887 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13888 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13889 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13890 (_FP_SETQNAN): New macro.
13891 (_FP_SETQNAN_SEMIRAW): Likewise.
13892 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13893 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13894 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13895 (FP_EXTEND): Use _FP_FRAC_SNANP.
13896 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13897 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13899 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13904 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13906 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13907 with DIVIDE_BY_ZERO_EXCEPTION.
13908 (gamma_test_data): Likewise.
13909 (lgamma_test_data): Likewise.
13910 (log_test_data): Likewise.
13911 (log10_test_data): Likewise.
13912 (log2_test_data): Likewise.
13913 (tgamma_test_data): Likewise.
13915 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13916 (acos_test_tonearest): Likewise.
13917 (acos_test_towardzero): Likewise.
13918 (acos_test_downward): Likewise.
13919 (acos_test_upward): Likewise.
13920 (acosh_test): Likewise.
13921 (asin_test): Likewise.
13922 (asin_test_tonearest): Likewise.
13923 (asin_test_towardzero): Likewise.
13924 (asin_test_downward): Likewise.
13925 (asin_test_upward): Likewise.
13926 (asinh_test): Likewise.
13927 (atan_test): Likewise.
13928 (atanh_test): Likewise.
13929 (atan2_test): Likewise.
13930 (cabs_test): Likewise.
13931 (cacos_test): Likewise.
13932 (cacosh_test): Likewise.
13933 (casin_test): Likewise.
13934 (casinh_test): Likewise.
13935 (catan_test): Likewise.
13936 (catanh_test): Likewise.
13937 (cbrt_test): Likewise.
13938 (ccos_test): Likewise.
13939 (ccosh_test): Likewise.
13940 (cexp_test): Likewise.
13941 (clog_test): Likewise.
13942 (clog10_test): Likewise.
13943 (cos_test): Likewise.
13944 (cos_test_tonearest): Likewise.
13945 (cos_test_towardzero): Likewise.
13946 (cos_test_downward): Likewise.
13947 (cos_test_upward): Likewise.
13948 (cosh_test): Likewise.
13949 (cosh_test_tonearest): Likewise.
13950 (cosh_test_towardzero): Likewise.
13951 (cosh_test_downward): Likewise.
13952 (cosh_test_upward): Likewise.
13953 (cpow_test): Likewise.
13954 (csin_test): Likewise.
13955 (csinh_test): Likewise.
13956 (csqrt_test): Likewise.
13957 (ctan_test): Likewise.
13958 (ctan_test_tonearest): Likewise.
13959 (ctan_test_towardzero): Likewise.
13960 (ctan_test_downward): Likewise.
13961 (ctan_test_upward): Likewise.
13962 (ctanh_test): Likewise.
13963 (ctanh_test_tonearest): Likewise.
13964 (ctanh_test_towardzero): Likewise.
13965 (ctanh_test_downward): Likewise.
13966 (ctanh_test_upward): Likewise.
13967 (erf_test): Likewise.
13968 (erfc_test): Likewise.
13969 (exp_test): Likewise.
13970 (exp_test_tonearest): Likewise.
13971 (exp_test_towardzero): Likewise.
13972 (exp_test_downward): Likewise.
13973 (exp_test_upward): Likewise.
13974 (exp10_test): Likewise.
13975 (exp2_test): Likewise.
13976 (expm1_test): Likewise.
13977 (fmod_test): Likewise.
13978 (gamma_test): Likewise.
13979 (hypot_test): Likewise.
13980 (j0_test): Likewise.
13981 (j1_test): Likewise.
13982 (jn_test): Likewise.
13983 (lgamma_test): Likewise.
13984 (log_test): Likewise.
13985 (log10_test): Likewise.
13986 (log1p_test): Likewise.
13987 (log2_test): Likewise.
13988 (logb_test_downward): Likewise.
13989 (pow_test): Likewise.
13990 (pow_test_tonearest): Likewise.
13991 (pow_test_towardzero): Likewise.
13992 (pow_test_downward): Likewise.
13993 (pow_test_upward): Likewise.
13994 (remainder_test): Likewise.
13995 (remquo_test): Likewise.
13996 (sin_test): Likewise.
13997 (sin_test_tonearest): Likewise.
13998 (sin_test_towardzero): Likewise.
13999 (sin_test_downward): Likewise.
14000 (sin_test_upward): Likewise.
14001 (sincos_test): Likewise.
14002 (sinh_test): Likewise.
14003 (sinh_test_tonearest): Likewise.
14004 (sinh_test_towardzero): Likewise.
14005 (sinh_test_downward): Likewise.
14006 (sinh_test_upward): Likewise.
14007 (sqrt_test): Likewise.
14008 (tan_test): Likewise.
14009 (tan_test_tonearest): Likewise.
14010 (tan_test_towardzero): Likewise.
14011 (tan_test_downward): Likewise.
14012 (tan_test_upward): Likewise.
14013 (tanh_test): Likewise.
14014 (tgamma_test): Likewise.
14015 (y0_test): Likewise.
14016 (y1_test): Likewise.
14017 (yn_test): Likewise.
14019 * math/gen-libm-test.pl (adjust_arg): Remove function.
14020 (special_function): Remove argument $in_func. Only handle
14021 generating output for tables of tests, not inside functions.
14022 (parse_args): Likewise.
14023 (generate_testfile): Remove variable $in_func. Update call to
14025 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14026 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14027 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14028 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14029 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14030 (MAX_VALUE_INIT): Rename macro to max_value.
14031 (MIN_VALUE_INIT): Rename macro to min_value.
14032 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14033 (plus_zero): Remove variable.
14034 (minus_zero): Likewise.
14035 (plus_infty): Likewise.
14036 (minus_infty): Likewise.
14037 (qnan_value): Likewise.
14038 (max_value): Likewise.
14039 (min_value): Likewise.
14040 (min_subnorm_value): Likewise.
14042 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14044 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14045 uint64_t or uint32_t usage.
14046 * crypt/sha256-block.c: Likewise.
14047 * crypt/sha256-crypt.c: Likewise.
14048 * crypt/sha256.c: Likewise.
14049 * crypt/sha512-block.c: Likewise.
14050 * crypt/sha512-crypt.c: Likewise.
14051 * crypt/sha512.c: Likewise.
14052 * debug/backtrace-tst.c: Likewise.
14053 * debug/pcprofiledump.c: Likewise.
14054 * elf/cache.c: Likewise.
14055 * elf/dl-cache.c: Likewise.
14056 * elf/dl-misc.c: Likewise.
14057 * elf/dl-profile.c: Likewise.
14058 * elf/dl-support.c: Likewise.
14059 * elf/ldconfig.c: Likewise.
14060 * elf/sprof.c: Likewise.
14061 * iconv/dummy-repertoire.c: Likewise.
14062 * iconv/iconv_charmap.c: Likewise.
14063 * iconv/skeleton.c: Likewise.
14064 * iconvdata/8bit-generic.c: Likewise.
14065 * iconvdata/cp737.h: Likewise.
14066 * iconvdata/cp775.h: Likewise.
14067 * iconvdata/ibm1008.h: Likewise.
14068 * iconvdata/ibm1025.h: Likewise.
14069 * iconvdata/ibm1046.h: Likewise.
14070 * iconvdata/ibm1097.h: Likewise.
14071 * iconvdata/ibm1112.h: Likewise.
14072 * iconvdata/ibm1122.h: Likewise.
14073 * iconvdata/ibm1123.h: Likewise.
14074 * iconvdata/ibm1124.h: Likewise.
14075 * iconvdata/ibm1129.h: Likewise.
14076 * iconvdata/ibm1130.h: Likewise.
14077 * iconvdata/ibm1132.h: Likewise.
14078 * iconvdata/ibm1133.h: Likewise.
14079 * iconvdata/ibm1137.h: Likewise.
14080 * iconvdata/ibm1140.h: Likewise.
14081 * iconvdata/ibm1141.h: Likewise.
14082 * iconvdata/ibm1142.h: Likewise.
14083 * iconvdata/ibm1143.h: Likewise.
14084 * iconvdata/ibm1144.h: Likewise.
14085 * iconvdata/ibm1145.h: Likewise.
14086 * iconvdata/ibm1146.h: Likewise.
14087 * iconvdata/ibm1147.h: Likewise.
14088 * iconvdata/ibm1148.h: Likewise.
14089 * iconvdata/ibm1149.h: Likewise.
14090 * iconvdata/ibm1153.h: Likewise.
14091 * iconvdata/ibm1154.h: Likewise.
14092 * iconvdata/ibm1155.h: Likewise.
14093 * iconvdata/ibm1156.h: Likewise.
14094 * iconvdata/ibm1157.h: Likewise.
14095 * iconvdata/ibm1158.h: Likewise.
14096 * iconvdata/ibm1160.h: Likewise.
14097 * iconvdata/ibm1161.h: Likewise.
14098 * iconvdata/ibm1162.h: Likewise.
14099 * iconvdata/ibm1163.h: Likewise.
14100 * iconvdata/ibm1164.h: Likewise.
14101 * iconvdata/ibm1166.h: Likewise.
14102 * iconvdata/ibm1167.h: Likewise.
14103 * iconvdata/ibm12712.h: Likewise.
14104 * iconvdata/ibm1390.h: Likewise.
14105 * iconvdata/ibm1399.h: Likewise.
14106 * iconvdata/ibm16804.h: Likewise.
14107 * iconvdata/ibm4517.h: Likewise.
14108 * iconvdata/ibm4899.h: Likewise.
14109 * iconvdata/ibm4909.h: Likewise.
14110 * iconvdata/ibm4971.h: Likewise.
14111 * iconvdata/ibm5347.h: Likewise.
14112 * iconvdata/ibm803.h: Likewise.
14113 * iconvdata/ibm856.h: Likewise.
14114 * iconvdata/ibm901.h: Likewise.
14115 * iconvdata/ibm902.h: Likewise.
14116 * iconvdata/ibm9030.h: Likewise.
14117 * iconvdata/ibm9066.h: Likewise.
14118 * iconvdata/ibm921.h: Likewise.
14119 * iconvdata/ibm922.h: Likewise.
14120 * iconvdata/ibm9448.h: Likewise.
14121 * iconvdata/isiri-3342.h: Likewise.
14122 * iconvdata/jis0201.h: Likewise.
14123 * include/link.h: Likewise.
14124 * include/netdb.h: Likewise.
14125 * inet/check_native.c: Likewise.
14126 * inet/check_pf.c: Likewise.
14127 * inet/getipv4sourcefilter.c: Likewise.
14128 * inet/getnameinfo.c: Likewise.
14129 * inet/getsourcefilter.c: Likewise.
14130 * inet/htonl.c: Likewise.
14131 * inet/setipv4sourcefilter.c: Likewise.
14132 * inet/setsourcefilter.c: Likewise.
14133 * inet/test-inet6_opt.c: Likewise.
14134 * inet/tst-network.c: Likewise.
14135 * locale/C-collate.c: Likewise.
14136 * locale/C-ctype.c: Likewise.
14137 * locale/C-time.c: Likewise.
14138 * locale/C-translit.h: Likewise.
14139 * locale/loadarchive.c: Likewise.
14140 * locale/programs/3level.h: Likewise.
14141 * locale/programs/charmap.c: Likewise.
14142 * locale/programs/charmap.h: Likewise.
14143 * locale/programs/ld-address.c: Likewise.
14144 * locale/programs/ld-collate.c: Likewise.
14145 * locale/programs/ld-ctype.c: Likewise.
14146 * locale/programs/ld-identification.c: Likewise.
14147 * locale/programs/ld-measurement.c: Likewise.
14148 * locale/programs/ld-messages.c: Likewise.
14149 * locale/programs/ld-monetary.c: Likewise.
14150 * locale/programs/ld-name.c: Likewise.
14151 * locale/programs/ld-numeric.c: Likewise.
14152 * locale/programs/ld-paper.c: Likewise.
14153 * locale/programs/ld-telephone.c: Likewise.
14154 * locale/programs/ld-time.c: Likewise.
14155 * locale/programs/linereader.c: Likewise.
14156 * locale/programs/locale.c: Likewise.
14157 * locale/programs/locarchive.c: Likewise.
14158 * locale/programs/locfile.h: Likewise.
14159 * locale/programs/repertoire.c: Likewise.
14160 * locale/programs/simple-hash.c: Likewise.
14161 * locale/programs/simple-hash.h: Likewise.
14162 * malloc/memusage.c: Likewise.
14163 * malloc/memusagestat.c: Likewise.
14164 * nis/nis_defaults.c: Likewise.
14165 * nis/nis_hash.c: Likewise.
14166 * nis/nis_print.c: Likewise.
14167 * nis/nis_xdr.c: Likewise.
14168 * nscd/connections.c: Likewise.
14169 * nscd/hstcache.c: Likewise.
14170 * nscd/nscd_gethst_r.c: Likewise.
14171 * nscd/nscd_getserv_r.c: Likewise.
14172 * nscd/nscd_helper.c: Likewise.
14173 * nscd/servicescache.c: Likewise.
14174 * nss/makedb.c: Likewise.
14175 * nss/nss_db/db-XXX.c: Likewise.
14176 * nss/nss_db/db-initgroups.c: Likewise.
14177 * nss/nss_db/db-netgrp.c: Likewise.
14178 * nss/nss_files/files-network.c: Likewise.
14179 * nss/nss_files/files-parse.c: Likewise.
14180 * posix/bug-regex5.c: Likewise.
14181 * posix/fnmatch_loop.c: Likewise.
14182 * posix/regcomp.c: Likewise.
14183 * posix/regexec.c: Likewise.
14184 * posix/tst-rfc3484-2.c: Likewise.
14185 * posix/tst-rfc3484-3.c: Likewise.
14186 * posix/tst-rfc3484.c: Likewise.
14187 * resolv/nss_dns/dns-canon.c: Likewise.
14188 * resolv/nss_dns/dns-network.c: Likewise.
14189 * resolv/res_init.c: Likewise.
14190 * resolv/res_mkquery.c: Likewise.
14191 * resolv/tst-aton.c: Likewise.
14192 * stdlib/cxa_atexit.c: Likewise.
14193 * stdlib/cxa_finalize.c: Likewise.
14194 * stdlib/gen-fpioconst.c: Likewise.
14195 * stdlib/strtol_l.c: Likewise.
14196 * string/tst-endian.c: Likewise.
14197 * sunrpc/auth_des.c: Likewise.
14198 * sunrpc/clnt_udp.c: Likewise.
14199 * sunrpc/rtime.c: Likewise.
14200 * sunrpc/svcauth_des.c: Likewise.
14201 * sunrpc/xdr.c: Likewise.
14202 * sunrpc/xdr_intXX_t.c: Likewise.
14203 * sunrpc/xdr_rec.c: Likewise.
14204 * sysdeps/generic/ldconfig.h: Likewise.
14205 * sysdeps/generic/ldsodefs.h: Likewise.
14206 * sysdeps/generic/memusage.h: Likewise.
14207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14217 * sysdeps/posix/getaddrinfo.c: Likewise.
14218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14220 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14221 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14222 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14223 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14224 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14225 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14226 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14228 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14229 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14230 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14231 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14233 * sysdeps/x86_64/dl-tls.h: Likewise.
14234 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14235 * time/alt_digit.c: Likewise.
14236 * time/era.c: Likewise.
14237 * wcsmbs/tst-c16c32-1.c: Likewise.
14239 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14241 * math/libm-test.inc (struct test_sincos_data): New type.
14242 (RUN_TEST_LOOP_sincos): New macro.
14243 (sincos_test_data): New variable.
14244 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14246 2013-05-16 Richard Henderson <rth@redhat.com>
14248 * math/atest-exp2.c (LIMB64): New macro.
14249 (CONSTSZ): New macro.
14250 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14252 (print_mpn_fp): ... to function scope.
14253 (read_mpn_hex): Remove.
14254 (get_log2): Remove.
14255 (exp2_mpn): Use mp_log2.
14256 (main): Use mp_exp1.
14258 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14260 * math/libm-test.inc: Remove comment about not testing "inexact"
14262 (INEXACT_EXCEPTION): New macro.
14263 (NO_INEXACT_EXCEPTION): Likewise.
14264 (INVALID_EXCEPTION_OK): Update value.
14265 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14266 (OVERFLOW_EXCEPTION_OK): Likewise.
14267 (UNDERFLOW_EXCEPTION_OK): Likewise.
14268 (IGNORE_ZERO_INF_SIGN): Likewise.
14269 (ERRNO_UNCHANGED): Likewise.
14270 (ERRNO_EDOM): Likewise.
14271 (ERRNO_ERANGE): Likewise.
14272 (test_exceptions): Handle testing "inexact" exceptions.
14273 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14274 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14275 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14276 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14278 (rint_towardzero_test_data): Likewise.
14279 (rint_downward_test_data): Likewise.
14280 (rint_upward_test_data): Likewise.
14282 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14283 with OVERFLOW_EXCEPTION.
14284 (exp10_test_data): Likewise.
14285 (exp2_test_data): Likewise.
14286 (expm1_test_data): Likewise.
14287 (lgamma_test_data): Likewise.
14288 (pow_test_data): Likewise.
14289 (tgamma_test_data): Likewise.
14290 (yn_test_data): Remove duplicate test of overflow.
14292 * math/libm-test.inc (struct test_cc_c_data): New type.
14293 (RUN_TEST_LOOP_cc_c): New macro.
14294 (cpow_test_data): New variable.
14295 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14297 * math/libm-test.inc (struct test_f_L_data): New type.
14298 (RUN_TEST_LOOP_f_L): New macro.
14299 (llrint_test_data): New variable.
14300 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14301 (llrint_tonearest_test_data): New variable.
14302 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14303 (llrint_towardzero_test_data): New variable.
14304 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14305 (llrint_downward_test_data): New variable.
14306 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14307 (llrint_upward_test_data): New variable.
14308 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14309 (llround_test_data): New variable.
14310 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14312 2013-05-13 Peter Collingbourne <pcc@google.com>
14314 * math/atest-exp2.c (get_log2): Remove const attribute.
14316 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14318 * math/libm-test.inc (struct test_f_l_data): New type.
14319 (RUN_TEST_LOOP_f_l): New macro.
14320 (lrint_test_data): New variable.
14321 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14322 (lrint_tonearest_test_data): New variable.
14323 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14324 (lrint_towardzero_test_data): New variable.
14325 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14326 (lrint_downward_test_data): New variable.
14327 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14328 (lrint_upward_test_data): New variable.
14329 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14330 (lround_test_data): New variable.
14331 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14333 2013-05-15 Peter Collingbourne <pcc@google.com>
14335 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14336 (EXTRACT_WORDS64) Use where appropriate.
14337 (INSERT_WORDS64) Likewise.
14339 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14340 constraints with x constraints.
14341 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14343 * malloc/obstack.c (_obstack_compat): Add initializer.
14345 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14348 si_trapno and add si_addr_lsb to _sifields.sigfault.
14349 (si_trapno): Remove macro.
14350 (si_addr_lsb): Define new macro.
14351 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14353 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14355 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14356 instead of TEST_f_l.
14357 (llrint_test_tonearest): Likewise.
14358 (llrint_test_towardzero): Likewise.
14359 (llrint_test_downward): Likewise.
14360 (llrint_test_upward): Likewise.
14361 (llround_test): Likewise.
14363 * math/libm-test.inc (struct test_f_i_data): Add comment.
14364 (RUN_TEST_LOOP_f_b): New macro.
14365 (RUN_TEST_LOOP_f_b_tg): Likewise.
14366 (finite_test_data): New variable.
14367 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14368 (isfinite_test_data): New variable.
14369 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14370 (isinf_test_data): New variable.
14371 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14372 (isnan_test_data): New variable.
14373 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14374 (isnormal_test_data): New variable.
14375 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14376 (issignaling_test_data): New variable.
14377 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14378 (signbit_test_data): New variable.
14379 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14381 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14382 with INVALID_EXCEPTION.
14383 (acosh_test_data): Likewise.
14384 (asin_test_data): Likewise.
14385 (atanh_test_data): Likewise.
14386 (fmod_test_data): Likewise.
14387 (log_test_data): Likewise.
14388 (log10_test_data): Likewise.
14389 (log2_test_data): Likewise.
14390 (pow_test_data): Likewise.
14391 (sqrt_test_data): Likewise.
14392 (y0_test_data): Likewise.
14393 (y1_test_data): Likewise.
14394 (yn_test_data): Likewise.
14396 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14399 * math/libm-test.inc (struct test_ff_i_data): New type.
14400 (RUN_TEST_LOOP_ff_i_tg): New macro.
14401 (isgreater_test_data): New variable.
14402 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14403 (isgreaterequal_test_data): New variable.
14404 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14405 (isless_test_data): New variable.
14406 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14407 (islessequal_test_data): New variable.
14408 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14409 (islessgreater_test_data): New variable.
14410 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14411 (isunordered_test_data): New variable.
14412 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14414 2013-05-14 David S. Miller <davem@davemloft.net>
14416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14418 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14420 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14422 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14424 (struct test_f_i_data): Change type of max_ulp to int.
14426 * math/libm-test.inc (test_ffI_f1_data): New type.
14427 (RUN_TEST_LOOP_ffI_f1): New macro.
14428 (remquo_test_data): New variable.
14429 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14431 * setjmp/tst-setjmp-fp.c: New file.
14432 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14433 (link-libm): New variable.
14434 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14436 * math/libm-test.inc (struct test_f_i_data): New type.
14437 (RUN_TEST_LOOP_f_i): New macro.
14438 (RUN_TEST_LOOP_f_i_tg): Likewise.
14439 (fpclassify_test_data): New variable.
14440 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14441 (ilogb_test_data): New variable.
14442 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14444 * math/libm-test.inc (scalbln_test): Correct function name in END
14447 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14448 (RUN_TEST_LOOP_fI_f1): New macro.
14449 (frexp_test_data): New variable.
14450 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14452 * math/libm-test.inc (struct test_fF_f1_data): New type.
14453 (RUN_TEST_LOOP_fF_f1): New macro.
14454 (modf_test_data): New variable.
14455 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14457 * math/libm-test.inc (struct test_f_f1_data): New type.
14458 (RUN_TEST_LOOP_f_f1): New macro.
14459 (gamma_test_data): New variable.
14460 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14461 (lgamma_test_data): New variable.
14462 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14464 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14466 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14467 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14468 (main): Comment "tls" pseudo-hwcap.
14470 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14472 * math/libm-test.inc (struct test_fl_f_data): New type.
14473 (RUN_TEST_LOOP_fl_f): New variable.
14474 (scalbln_test_data): New variable.
14475 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14477 * math/libm-test.inc (struct test_fi_f_data): New type.
14478 (RUN_TEST_LOOP_fi_f): New macro.
14479 (ldexp_test_data): New variable.
14480 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14481 (scalbn_test_data): New variable.
14482 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14484 * math/libm-test.inc (struct test_c_f_data): New type.
14485 (RUN_TEST_LOOP_c_f): New macro.
14486 (cabs_test_data): New variable.
14487 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14488 (carg_test_data): New variable.
14489 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14490 (cimag_test_data): New variable.
14491 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14492 (creal_test_data): New variable.
14493 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14495 * math/libm-test.inc (struct test_if_f_data): New type.
14496 (RUN_TEST_LOOP_if_f): New macro.
14497 (jn_test_data): New variable.
14498 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14499 (yn_test_data): New variable.
14500 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14502 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14504 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14506 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14507 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14509 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14511 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14512 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14513 (bench-deps): Add bench-timing.h.
14514 * benchtests-bench-skeleton.c: Include bench-timing.h.
14515 (main): Use TIMING_* macros instead of clock_gettime.
14516 * benchtests/bench-timing.h: New file.
14519 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14520 Renamed from _LIB_VERSION.
14521 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14523 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14525 * math/libm-test.inc (struct test_fff_f_data): New type.
14526 (RUN_TEST_LOOP_fff_f): New macro.
14527 (fma_test_data): New variable.
14528 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14529 (fma_towardzero_test_data): New variable.
14530 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14531 (fma_downward_test_data): New variable.
14532 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14533 (fma_upward_test_data): New variable.
14534 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14536 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14537 (struct test_c_c_data): New type.
14538 (RUN_TEST_LOOP_c_c): New macro.
14539 (cacos_test_data): New variable.
14540 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14541 (cacosh_test_data): New variable.
14542 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14543 (casin_test_data): New variable.
14544 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14545 (casinh_test_data): New variable.
14546 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14547 (catan_test_data): New variable.
14548 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14549 (catanh_test_data): New variable.
14550 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14551 (ccos_test_data): New variable.
14552 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14553 (ccosh_test_data): New variable.
14554 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14555 (cexp_test_data): New variable.
14556 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14557 (clog_test_data): New variable.
14558 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14559 (clog10_test_data): New variable.
14560 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14561 (conj_test_data): New variable.
14562 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14563 (cproj_test_data): New variable.
14564 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14565 (csin_test_data): New variable.
14566 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14567 (csinh_test_data): New variable.
14568 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14569 (csqrt_test_data): New variable.
14570 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14571 (ctan_test_data): New variable.
14572 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14573 (ctan_tonearest_test_data): New variable.
14574 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14575 (ctan_towardzero_test_data): New variable.
14576 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14577 (ctan_downward_test_data): New variable.
14578 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14579 (ctan_upward_test_data): New variable.
14580 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14581 (ctanh_test_data): New variable.
14582 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14583 (ctanh_tonearest_test_data): New variable.
14584 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14585 (ctanh_towardzero_test_data): New variable.
14586 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14587 (ctanh_downward_test_data): New variable.
14588 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14589 (ctanh_upward_test_data): New variable.
14590 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14591 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14594 * math/libm-test.inc (struct test_ff_f_data): New type.
14595 (struct test_ff_f_data_nexttoward): Likewise.
14596 (RUN_TEST_LOOP_2_f): New macro.
14597 (RUN_TEST_LOOP_ff_f): Likewise.
14598 (atan2_test_data): New variable.
14599 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14600 (copysign_test_data): New variable.
14601 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14602 (fdim_test_data): New variable.
14603 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14604 (fmax_test_data): New variable.
14605 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14606 (fmin_test_data): New variable.
14607 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14608 (fmod_test_data): New variable.
14609 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14610 (hypot_test_data): New variable.
14611 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14612 (nextafter_test_data): New variable.
14613 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14614 (nexttoward_test_data): New variable.
14615 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14616 (pow_test_data): New variable.
14617 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14618 (pow_tonearest_test_data): New variable.
14619 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14620 (pow_towardzero_test_data): New variable.
14621 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14622 (pow_downward_test_data): New variable.
14623 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14624 (pow_upward_test_data): New variable.
14625 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14626 (remainder_test_data): New variable.
14627 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14628 (scalb_test_data): New variable.
14629 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14630 * sysdeps/i386/fpu/libm-test-ulps: Update.
14632 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14634 * math/libm-test.inc (fma_test): Use max_value instead of local
14636 (nextafter_test): Likewise.
14638 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14639 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14640 (acos_downward_test_data): New variable.
14641 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14642 (acos_upward_test_data): New variable.
14643 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14644 (acosh_test_data): New variable.
14645 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14646 (asin_test_data): New variable.
14647 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14648 (asin_tonearest_test_data): New variable.
14649 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14650 (asin_towardzero_test_data): New variable.
14651 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14652 (asin_downward_test_data): New variable.
14653 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14654 (asin_upward_test_data): New variable.
14655 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14656 (asinh_test_data): New variable.
14657 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14658 (atan_test_data): New variable.
14659 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14660 (atanh_test_data): New variable.
14661 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14662 (cbrt_test_data): New variable.
14663 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14664 (ceil_test_data): New variable.
14665 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14666 (cos_test_data): New variable.
14667 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14668 (cos_tonearest_test_data): New variable.
14669 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14670 (cos_towardzero_test_data): New variable.
14671 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14672 (cos_downward_test_data): New variable.
14673 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14674 (cos_upward_test_data): New variable.
14675 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14676 (cosh_test_data): New variable.
14677 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14678 (cosh_tonearest_test_data): New variable.
14679 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14680 (cosh_towardzero_test_data): New variable.
14681 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14682 (cosh_downward_test_data): New variable.
14683 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14684 (cosh_upward_test_data): New variable.
14685 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14686 (erf_test_data): New variable.
14687 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14688 (erfc_test_data): New variable.
14689 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14690 (exp_test_data): New variable.
14691 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14692 (exp_tonearest_test_data): New variable.
14693 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14694 (exp_towardzero_test_data): New variable.
14695 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14696 (exp_downward_test_data): New variable.
14697 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14698 (exp_upward_test_data): New variable.
14699 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14700 (exp10_test_data): New variable.
14701 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14702 (exp2_test_data): New variable.
14703 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14704 (expm1_test_data): New variable.
14705 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14706 (fabs_test_data): New variable.
14707 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14708 (floor_test_data): New variable.
14709 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14710 (j0_test_data): New variable.
14711 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14712 (j1_test_data): New variable.
14713 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14714 (log_test_data): New variable.
14715 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14716 (log10_test_data): New variable.
14717 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14718 (log1p_test_data): New variable.
14719 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14720 (log2_test_data): New variable.
14721 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14722 (logb_test_data): New variable.
14723 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14724 (logb_downward_test_data): New variable.
14725 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14726 (nearbyint_test_data): New variable.
14727 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14728 (rint_test_data): New variable.
14729 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14730 (rint_tonearest_test_data): New variable.
14731 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14732 (rint_towardzero_test_data): New variable.
14733 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14734 (rint_downward_test_data): New variable.
14735 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14736 (rint_upward_test_data): New variable.
14737 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14738 (round_test_data): New variable.
14739 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14740 (sin_test_data): New variable.
14741 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14742 (sin_tonearest_test_data): New variable.
14743 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14744 (sin_towardzero_test_data): New variable.
14745 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14746 (sin_downward_test_data): New variable.
14747 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14748 (sin_upward_test_data): New variable.
14749 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14750 (sinh_test_data): New variable.
14751 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14752 (sinh_tonearest_test_data): New variable.
14753 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14754 (sinh_towardzero_test_data): New variable.
14755 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14756 (sinh_downward_test_data): New variable.
14757 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14758 (sinh_upward_test_data): New variable.
14759 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14760 (sqrt_test_data): New variable.
14761 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14762 (tan_test_data): New variable.
14763 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14764 (tan_tonearest_test_data): New variable.
14765 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14766 (tan_towardzero_test_data): New variable.
14767 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14768 (tan_downward_test_data): New variable.
14769 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14770 (tan_upward_test_data): New variable.
14771 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14772 (tanh_test_data): New variable.
14773 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14774 (tgamma_test_data): New variable.
14775 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14776 (trunc_test_data): New variable.
14777 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14778 (y0_test_data): New variable.
14779 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14780 (y1_test_data): New variable.
14781 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14782 (significand_test_data): New variable.
14783 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14785 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14788 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14790 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14792 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14794 2013-05-10 Andreas Jaeger <aj@suse.de>
14797 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14798 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14800 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14802 * math/gen-libm-test.pl (adjust_arg): New function.
14803 (special_functions): Handle generating output in both functions
14805 (parse_args): Likewise.
14806 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14807 $in_func argument to parse_args.
14808 * math/libm-test.inc (struct test_f_f_data): New type.
14809 (IF_ROUND_INIT_): New macro.
14810 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14811 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14812 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14813 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14814 (ROUND_RESTORE_): Likewise.
14815 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14816 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14817 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14818 (ROUND_RESTORE_FE_UPWARD): Likewise.
14819 (RUN_TEST_LOOP_f_f): New macro.
14820 (acos_test_data): New variable.
14821 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14822 (acos_tonearest_test_data): New variable.
14823 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14825 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14827 * benchtests/bench-skeleton.c (startup): Fix coding style.
14829 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14832 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14833 negative infinity argument.
14834 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14835 negative infinity argument.
14836 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14837 negative infinity argument.
14838 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14841 2013-05-10 Florian Weimer <fweimer@redhat.com>
14843 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14844 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14845 * iconv/iconv_prog.c (main): Likewise.
14846 * locale/programs/charmap-dir.c (charmap_readdir)
14847 (fopen_uncompressed): Likewise.
14848 * locale/programs/locfile.c (siblings_uncached)
14849 (write_locale_data): Use lstat64 instead of lstat.
14850 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14853 2013-05-10 Andreas Jaeger <aj@suse.de>
14856 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14858 Include <locale.h>.
14860 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14862 * elf/dl-close.c (_dl_close_worker): Add comments.
14864 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14869 (__ieee754_rem_pio2l): Update comments.
14872 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14874 (__ieee754_rem_pio2l): Update comments.
14876 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14877 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14879 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14882 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14883 (M_PI_34_LOG10El): Likewise.
14884 (M_PI2_LOG10El): Likewise.
14885 (M_PI4_LOG10El): Likewise.
14886 (M_PI_LOG10El): Likewise.
14888 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14892 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14894 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14895 (MINUS_ZERO_INIT): Likewise.
14896 (PLUS_INFTY_INIT): Likewise.
14897 (MINUS_INFTY_INIT): Likewise.
14898 (QNAN_VALUE_INIT): Likewise.
14899 (MAX_VALUE_INIT): Likewise.
14900 (MIN_VALUE_INIT): Likewise.
14901 (MIN_SUBNORM_VALUE_INIT): Likewise.
14902 (plus_zero): Initialize with PLUS_ZERO_INIT.
14903 (minus_zero): Initialize with MINUS_ZERO_INIT.
14904 (plus_infty): Initialize with PLUS_INFTY_INIT.
14905 (minus_infty): Initialize with MINUS_INFTY_INIT.
14906 (qnan_value): Initialize with QNAN_VALUE_INIT.
14907 (max_value): Initialize with MAX_VALUE_INIT.
14908 (min_value): Initialize with MIN_VALUE_INIT.
14909 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14911 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14912 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14913 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14914 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14916 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14917 (RUN_TEST_2_f): Likewise.
14918 (RUN_TEST_ff_f): Likewise.
14919 (RUN_TEST_fi_f): Likewise.
14920 (RUN_TEST_fl_f): Likewise.
14921 (RUN_TEST_fff_f): Likewise.
14922 (RUN_TEST_c_f): Likewise.
14923 (RUN_TEST_f_f1): Likewise.
14924 (RUN_TEST_fF_f1): Likewise.
14925 (RUN_TEST_fI_f1): Likewise.
14926 (RUN_TEST_ffI_f1): Likewise.
14927 (RUN_TEST_c_c): Likewise.
14928 (RUN_TEST_cc_c): Likewise.
14929 (RUN_TEST_f_i): Likewise.
14930 (RUN_TEST_f_i_tg): Likewise.
14931 (RUN_TEST_ff_i_tg): Likewise.
14932 (RUN_TEST_f_b): Likewise.
14933 (RUN_TEST_f_b_tg): Likewise.
14934 (RUN_TEST_f_l): Likewise.
14935 (RUN_TEST_f_L): Likewise.
14936 (RUN_TEST_sincos): Likewise.
14937 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14938 whether to show exceptions. Do not include ");\n" in return
14940 (special_functions): Output call to RUN_TEST_sincos instead of
14941 check_float calls. Update calls to new_test.
14942 (parse_args): Output call to single RUN_TEST_* macro instead of
14943 check_* calls and other assignments. Update calls to new_test.
14949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14950 input to result for tgamma overflow.
14951 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14952 (gamma_coeff): New variable.
14953 (NCOEFF): New macro.
14954 (gamma_positive): New function.
14955 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14956 underflow here. Use gamma_positive instead of exp (lgamma) for
14958 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14959 (gamma_coeff): New variable.
14960 (NCOEFF): New macro.
14961 (gammaf_positive): New function.
14962 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14963 underflow here. Use gamma_positive instead of exp (lgamma) for
14965 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14966 (gamma_coeff): New variable.
14967 (NCOEFF): New macro.
14968 (gammal_positive): New function.
14969 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14970 underflow here. Use gamma_positive instead of exp (lgamma) for
14972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14973 (gamma_coeff): New variable.
14974 (NCOEFF): New macro.
14975 (gammal_positive): New function.
14976 (__ieee754_gammal_r): Handle positive infinity, overflow and
14977 underflow here. Handle NaN the same as positive infinity. Remove
14978 check x < 0xffffffff for negative integers. Use gamma_positive
14979 instead of exp (lgamma) for other arguments.
14980 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14981 (gamma_coeff): New variable.
14982 (NCOEFF): New macro.
14983 (gammal_positive): New function.
14984 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14985 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14990 * sysdeps/generic/math_private.h (__gamma_productf): New
14992 (__gamma_product): Likewise.
14993 (__gamma_productl): Likewise.
14994 * math/Makefile (libm-calls): Add gamma_product.
14995 * math/libm-test.inc (tgamma_test): Add more tests.
14996 * sysdeps/i386/fpu/libm-test-ulps: Update.
14997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14999 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15001 * benchtests/bench-skeleton.c (main): Preheat CPU.
15003 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15005 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15007 2013-05-07 Roland McGrath <roland@hack.frob.com>
15009 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15010 and _dl_skip_args_internal.
15012 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15014 * manual/message.texi (Message Translation): Talk about users.
15015 Message to key mapping impacts design.
15017 2013-05-06 Roland McGrath <roland@hack.frob.com>
15019 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15021 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15023 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15024 * sysdeps/wordsize-64/glob64.c: ... here.
15026 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15027 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15030 * debug/getlogin_r_chk.c: Moved to ...
15031 * login/getlogin_r_chk.c: ... here.
15032 * debug/Makefile (routines): Move getlogin_r_chk to ...
15033 * login/Makefile (routines): ... here.
15034 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15035 * login/Versions (libc: GLIBC_2.4): ... here.
15037 * io/poll.c (__poll): Renamed from poll.
15038 Add libc_hidden_def.
15039 (poll): Define as weak alias.
15041 * debug/ptsname_r_chk.c: Moved to ...
15042 * login/ptsname_r_chk.c: ... here.
15043 * debug/Makefile (routines): Move ptsname_r_chk to ...
15044 * login/Makefile (routines): ... here.
15045 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15046 * login/Versions (libc: GLIBC_2.4): ... here.
15048 * posix/getlogin.c: Moved to ...
15049 * login/getlogin.c: ... here.
15050 * posix/getlogin_r.c: Moved to ...
15051 * login/getlogin_r.c: ... here.
15052 * posix/getlogin_r.c: Moved to ...
15053 * login/getlogin_r.c: ... here.
15054 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15055 * login/Makefile (routines): ... here.
15056 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15057 * login/Versions (libc: GLIBC_2.0): ... here.
15059 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15060 (setrlimit): Define as weak alias.
15062 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15063 Call __ names for open, ftruncate, and close.
15064 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15065 (truncate): Define as weak alias.
15067 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15069 * math/gen-libm-test.pl (parse_args): Initialize x before each
15070 test of frexp, modf and remquo.
15072 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15073 test signgam value.
15075 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15079 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15081 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15083 2013-05-06 Roland McGrath <roland@hack.frob.com>
15085 * elf/dl-writev.h: New file.
15086 * elf/dl-misc.c: Include it.
15087 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15088 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15090 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15092 * math/libm-test.inc (noXFails): Remove variable.
15093 (noXPasses): Likewise.
15094 (BUILD_COMPLEX_INT): Remove macro.
15095 (print_screen): Remove xfail argument.
15096 (print_screen_max_error): Likewise.
15097 (update_stats): Likewise.
15098 (print_max_error): Likewise. Update calls to other affected
15100 (print_complex_max_error): Likewise.
15101 (test_single_exception): Update calls to print_screen.
15102 (test_single_errno): Likewise.
15103 (check_float_internal): Remove xfail argument. Update calls to
15104 other affected functions.
15105 (check_float): Likewise.
15106 (check_complex): Likewise.
15107 (check_int): Likewise.
15108 (check_long): Likewise.
15109 (check_bool): Likewise.
15110 (check_longlong): Likewise.
15111 (main): Don't print noXFails and noXPasses.
15112 * math/gen-libm-test.pl (top level): Don't mention expected
15113 failure handling in comment.
15114 (new_test): Don't handle expected failures.
15115 (parse_args): Don't mention expected failure handling in comment.
15116 (generate_testfile): Don't handle expected failures.
15117 (parse_ulps): Likewise.
15118 (print_ulps_file): Likewise.
15119 (get_failure): Remove function.
15120 (output_test): Don't handle expected failures.
15121 * make/README.libm-test: Don't mention expected failure handling.
15123 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15124 (minus_zero): Likewise.
15125 (plus_infty): Likewise.
15126 (minus_infty): Likewise.
15127 (qnan_value): Likewise.
15128 (max_value): Likewise.
15129 (min_value): Likewise.
15130 (min_subnorm_value): Likewise.
15131 (initialize): Do not initialize those variables dynamically.
15133 2013-05-03 Roland McGrath <roland@hack.frob.com>
15135 * io/open.c (__open_2): Moved to ...
15136 * io/open_2.c: ... this new file.
15137 * io/open64.c (__open64_2): Moved to ...
15138 * io/open64_2.c: ... this new file.
15139 * io/openat.c (__openat_2): Moved to ...
15140 * io/openat_2.c: ... this new file.
15141 * io/openat64.c (__openat64_2): Moved to ...
15142 * io/openat64_2.c: ... this new file.
15143 * io/Makefile (routines): Add them.
15144 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15145 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15146 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15147 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15148 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15149 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15150 (__openat64): Add hidden_ver.
15151 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15152 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15154 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15155 Separately conditionalize setting of GLRO(dl_sysinfo) so
15156 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15157 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15159 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15161 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15164 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15165 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15166 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15167 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15168 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15170 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15172 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15173 test signgam value.
15175 * math/libm-test.inc (hypot_test): Do not use
15176 IGNORE_ZERO_INF_SIGN.
15178 2013-05-03 Andreas Jaeger <aj@suse.de>
15180 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15182 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15183 (PF_MAX): Adjust for VSOCK change.
15185 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15189 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15192 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15193 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15194 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15196 2013-05-02 David S. Miller <davem@davemloft.net>
15198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15200 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15202 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15204 2013-05-01 Roland McGrath <roland@hack.frob.com>
15206 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15208 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15211 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15212 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15213 Use __attribute__ ((__gnu_inline__)).
15214 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15215 Don't use __attribute__ ((__gnu_inline__)).
15217 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15220 * math/s_catan.c (__catan): Handle small real or imaginary part of
15221 input specially to avoid spurious underflow.
15222 * math/s_catanf.c (__catanf): Likewise.
15223 * math/s_catanh.c (__catanh): Likewise.
15224 * math/s_catanhf.c (__catanhf): Likewise.
15225 * math/s_catanhl.c (__catanhl): Likewise.
15226 * math/s_catanl.c (__catanl): Likewise.
15227 * math/libm-test.inc (catan_test): Add more tests.
15228 (catanh_test): Likewise.
15229 * sysdeps/i386/fpu/libm-test-ulps: Update.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15232 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15236 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15239 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15240 accurately for denominator in atan2.
15241 * math/s_catanf.c (__catanf): Likewise.
15242 * math/s_catanh.c (__catanh): Likewise.
15243 * math/s_catanhf.c (__catanhf): Likewise.
15244 * math/s_catanhl.c (__catanhl): Likewise.
15245 * math/s_catanl.c (__catanl): Likewise.
15246 * math/libm-test.inc (catan_test): Add more tests.
15247 (catanh_test): Likewise.
15248 * sysdeps/i386/fpu/libm-test-ulps: Update.
15249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15251 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15253 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15255 * benchtests/Makefile (bench): Remove slow benchmarks.
15256 * benchtests/atan-inputs: Add slow benchmark inputs.
15257 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15258 (BENCH_FUNC): Accept variant offset.
15260 * benchtests/bench-skeleton.c (main): Run benchmark for each
15262 * benchtests/cos-inputs: Add slow benchmark inputs.
15263 * benchtests/exp-inputs: Likewise.
15264 * benchtests/pow-inputs: Likewise.
15265 * benchtests/sin-inputs: Likewise.
15266 * benchtests/slowatan-inputs: Remove.
15267 * benchtests/slowatan.c: Remove.
15268 * benchtests/slowcos-inputs: Remove.
15269 * benchtests/slowcos.c: Remove.
15270 * benchtests/slowexp-inputs: Remove.
15271 * benchtests/slowexp.c: Remove.
15272 * benchtests/slowpow-inputs: Remove.
15273 * benchtests/slowpow.c: Remove.
15274 * benchtests/slowsin-inputs: Remove.
15275 * benchtests/slowsin.c: Remove.
15276 * benchtests/slowtan-inputs: Remove.
15277 * benchtests/slowtan.c: Remove.
15278 * benchtests/tan-inputs: Add slow benchmark inputs.
15279 * scripts/bench.pl: Parse comments and directives.
15281 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15283 ($(objpfx)bench-%.c): Remove *-ITER.
15284 * benchtests/bench-modf.c: Remove definition of ITER.
15285 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15286 (main): Loop for DURATION seconds instead of fixed number of
15288 * scripts/bench.pl: Don't expect iterations in parameters.
15290 2013-04-29 Roland McGrath <roland@hack.frob.com>
15292 * io/fchdir.c (__fchdir): Renamed from fchdir.
15293 (fchdir): Define as weak alias.
15295 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15297 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15298 (ERRNO_EDOM): Likewise.
15299 (ERRNO_ERANGE): Likewise.
15300 (noErrnoTests): New variable.
15301 (init_max_error): Set errno to 0.
15302 (test_single_errno): New function.
15303 (test_errno): Likewise.
15304 (check_float_internal): Call test_errno. Set errno to 0.
15305 (check_complex): Refer to errno tests in comment.
15306 (check_int): Call test_errno. Set errno to 0.
15307 (check_long): Likewise.
15308 (check_bool): Likewise.
15309 (check_longlong): Likewise.
15310 (cos_test): Use ERRNO_* flags for errno tests instead of
15312 (expm1_test): Likewise.
15313 (fmod_test): Likewise.
15314 (ilogb_test): Likewise.
15315 (lgamma_test): Likewise.
15316 (pow_test): Likewise.
15317 (remainder_test): Likewise.
15318 (sin_test): Likewise.
15319 (tan_test): Likewise.
15320 (yn_test): Likewise.
15321 (initialize): Set errno to 0.
15322 (main): Print number of errno tests.
15323 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15325 2013-04-29 Andreas Jaeger <aj@suse.de>
15328 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15332 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15333 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15337 * stdlib/random.c (__initstate): Return NULL if
15341 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15342 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15345 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15349 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15351 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15352 of individual tests.
15353 (casin_test): Likewise.
15354 (casinh_test): Likewise.
15356 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15359 * math/s_catan.c (__catan): Handle arguments with large real or
15360 imaginary part separately without squaring.
15361 * math/s_catanf.c (__catanf): Likewise.
15362 * math/s_catanh.c (__catanh): Likewise.
15363 * math/s_catanhf.c (__catanhf): Likewise.
15364 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15366 (__catanhl): Handle arguments with large real or imaginary part
15367 separately without squaring.
15368 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15370 (__catanl): Handle arguments with large real or imaginary part
15371 separately without squaring.
15372 * math/libm-test.inc (catan_test): Add more tests.
15373 (catanh_test): Likewise.
15374 * sysdeps/i386/fpu/libm-test-ulps: Update.
15375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15377 2013-04-27 Andreas Jaeger <aj@suse.de>
15380 * stdlib/stdlib.h: Update guards for qecvt.
15381 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15384 2013-04-27 Allan McRae <allan@archlinux.org>
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15388 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15391 * math/s_catan.c: Include <float.h>.
15392 (__catan): Ensure underflow exception occurs for underflowed
15394 * math/s_catanf.c: Include <float.h>.
15395 (__catanf): Ensure underflow exception occurs for underflowed
15397 * math/s_catanh.c: Include <float.h>.
15398 (__catanh): Ensure underflow exception occurs for underflowed
15400 * math/s_catanhf.c: Include <float.h>.
15401 (__catanhf): Ensure underflow exception occurs for underflowed
15403 * math/s_catanhl.c: Include <float.h>.
15404 (__catanhl): Ensure underflow exception occurs for underflowed
15406 * math/s_catanl.c: Include <float.h>.
15407 (__catanl): Ensure underflow exception occurs for underflowed
15409 * math/libm-test.inc (catan_test): Add more tests.
15410 (catanh_test): Likewise.
15413 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15414 underflowed result.
15415 * math/s_ccoshf.c (__ccoshf): Likewise.
15416 * math/s_ccoshl.c (__ccoshl): Likewise.
15417 * math/s_csin.c (__csin): Likewise.
15418 * math/s_csinf.c (__csinf): Likewise.
15419 * math/s_csinh.c (__csinh): Likewise.
15420 * math/s_csinhf.c (__csinhf): Likewise.
15421 * math/s_csinhl.c (__csinhl): Likewise.
15422 * math/s_csinl.c (__csinl): Likewise.
15423 * math/libm-test.inc (ccos_test): Add more tests.
15424 (ccosh_test): Likewise.
15425 (csin_test): Likewise.
15426 (csinh_test): Likewise.
15428 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15431 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15432 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15433 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15434 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15435 powerpc/power5+/fpu folders.
15436 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15439 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15443 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15445 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15446 additions to variable.
15447 [$(config-machine) = x86_64] (modules-names): Likewise.
15448 ($(objpfx)tst-audit3): Remove dependency.
15449 ($(objpfx)tst-audit3.out): Likewise.
15450 ($(objpfx)tst-audit4): Likewise.
15451 ($(objpfx)tst-audit4.out): Likewise.
15452 ($(objpfx)tst-audit5): Likewise.
15453 ($(objpfx)tst-audit5.out): Likewise.
15454 ($(objpfx)tst-audit6): Likewise.
15455 ($(objpfx)tst-audit6.out): Likewise.
15456 ($(objpfx)tst-audit7): Likewise.
15457 ($(objpfx)tst-audit7.out): Likewise.
15458 (tst-audit3-ENV): Remove variable.
15459 (tst-audit4-ENV): Likewise.
15460 (tst-audit5-ENV): Likewise.
15461 (tst-audit6-ENV): Likewise.
15462 (tst-audit7-ENV): Likewise.
15463 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15464 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15465 addition to variable.
15466 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15467 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15468 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15471 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15472 tst-audit3, tst-audit4 and tst-audit5.
15473 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15474 tst-audit6 and tst-audit7.
15475 [$(subdir) = elf] (modules-names): Add audit modules for those
15477 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15478 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15479 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15480 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15481 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15482 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15483 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15484 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15485 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15486 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15487 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15488 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15489 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15490 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15491 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15492 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15494 [$(subdir) = elf && $(config-cflags-avx) = yes]
15495 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15496 [$(subdir) = elf && $(config-cflags-avx) = yes]
15497 (CFLAGS-tst-auditmod4a.c): Likewise.
15498 [$(subdir) = elf && $(config-cflags-avx) = yes]
15499 (CFLAGS-tst-auditmod4b.c): Likewise.
15500 [$(subdir) = elf && $(config-cflags-avx) = yes]
15501 (CFLAGS-tst-auditmod6b.c): Likewise.
15502 [$(subdir) = elf && $(config-cflags-avx) = yes]
15503 (CFLAGS-tst-auditmod6c.c): Likewise.
15504 [$(subdir) = elf && $(config-cflags-avx) = yes]
15505 (CFLAGS-tst-auditmod7b.c): Likewise.
15506 * elf/tst-audit3.c: Move to ...
15507 * sysdeps/x86_64/tst-audit3.c: ... here.
15508 * elf/tst-audit4.c: Move to ...
15509 * sysdeps/x86_64/tst-audit4.c: ... here.
15510 * elf/tst-audit5.c: Move to ...
15511 * sysdeps/x86_64/tst-audit5.c: ... here.
15512 * elf/tst-audit6.c: Move to ...
15513 * sysdeps/x86_64/tst-audit6.c: ... here.
15514 * elf/tst-audit7.c: Move to ...
15515 * sysdeps/x86_64/tst-audit7.c: ... here.
15516 * elf/tst-auditmod3a.c: Move to ...
15517 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15518 * elf/tst-auditmod3b.c: Move to ...
15519 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15520 * elf/tst-auditmod4a.c: Move to ...
15521 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15522 * elf/tst-auditmod4b.c: Move to ...
15523 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15524 * elf/tst-auditmod5a.c: Move to ...
15525 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15526 * elf/tst-auditmod5b.c: Move to ...
15527 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15528 * elf/tst-auditmod6a.c: Move to ...
15529 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15530 * elf/tst-auditmod6b.c: Move to ...
15531 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15532 * elf/tst-auditmod6c.c: Move to ...
15533 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15534 * elf/tst-auditmod7a.c: Move to ...
15535 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15536 * elf/tst-auditmod7b.c: Move to ...
15537 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15539 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15542 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15543 define unconditionally.
15544 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15545 define unconditionally.
15546 (INT8_C, INT16_C, etc.): Likewise.
15548 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15550 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15551 __ehdr_start with hidden visibility.
15553 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15555 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15557 * math/libm-test.inc (cos_test): Use accurate hex constants.
15558 (sincost_test): Likewise.
15560 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15562 * math/libm-test.inc (catan_test): Add more tests.
15563 (catanh_test): Likewise.
15565 * math/s_catanf.c (__catanf): Use suffixed floating-point
15567 * math/s_catanhf.c (__catanhf): Likewise.
15568 * math/s_catanhl.c (__catanhl): Likewise.
15569 * math/s_catanl.c (__catanl): Likewise.
15572 * math/s_catan.c (__catan): Calculate imaginary part of result
15573 with log1p not log unless computing log of number close to 0.
15574 * math/s_catanf.c (__catanf): Likewise.
15575 * math/s_catanl.c (__catanl): Likewise.
15576 * math/s_catanh.c (__catanh): Calculate real part of result with
15577 log1p not log unless computing log of number close to 0.
15578 * math/s_catanhf.c (__catanhf): Likewise.
15579 * math/s_catanhl.c (__catanhl): Likewise.
15580 * math/libm-test.inc (catan_test): Add more tests.
15581 (catanh_test): Likewise.
15582 * sysdeps/i386/fpu/libm-test-ulps: Update.
15583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15585 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * benchtests/Makefile: Mention files in which fast and slow
15588 paths of math functions are implemented.
15590 2013-04-23 Roland McGrath <roland@hack.frob.com>
15592 * sysdeps/posix/timespec_get.c: New file.
15594 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15596 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15598 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15600 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15601 powerpc/power5/fpu folders.
15602 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15603 * benchtests/Makefile: Add modf testcase.
15604 * benchtests/bench-modf.c: New file: Benchmark test for mo
15606 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15609 * time/Makefile (tests): Add tst-strptime-whitespace.
15610 * time/strptime_l.c (get_number): Use ISSPACE.
15611 (__strptime_internal): Likewise.
15612 * time/tst-strptime-whitespace.c: New test case.
15614 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15616 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15618 (_nss_files_init): Set it here.
15620 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15622 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15623 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15626 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15628 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15630 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15635 2013-04-21 David S. Miller <davem@davemloft.net>
15637 * po/ru.po: Update Russion translation from translation project.
15639 2013-04-17 Adam Conrad <adconrad@0c3.net>
15641 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15644 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15646 * configure.in: Remove i386 configure warning. Remove i386 case.
15647 * configure: Regenerate.
15648 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15649 Add example to error message.
15650 * sysdeps/i386/configure: Regenerate.
15652 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15654 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15656 * benchtests/cos-inputs: New file.
15657 * benchtests/slowcos-inputs: New file.
15658 * benchtests/slowcos.c: New file.
15659 * benchtests/slowtan-inputs: New file.
15660 * benchtests/slowtan.c: New file.
15661 * benchtests/tan-inputs: New file.
15663 2013-04-16 Roland McGrath <roland@hack.frob.com>
15665 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15668 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 * benchtests/Makefile: Include cppflags-iterator.mk to add
15671 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15673 * Makefile.in (bench-clean): New target.
15674 * benchtests/Makefile (bench-clean): Likewise.
15676 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15678 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15680 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15682 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15684 2013-04-15 Andreas Schwab <schwab@suse.de>
15686 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15688 * nscd/pwdcache.c (cache_addpw): Likewise.
15689 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15692 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15694 * benchtests/Makefile (bench): Write all output to
15695 bench-out.tmp together.
15697 2013-04-15 Andreas Schwab <schwab@suse.de>
15699 * nscd/nscd.c (main): Don't fork again after closing files.
15701 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15703 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15705 * benchtests/Rules (bench-deps): Collect dependencies into a
15706 single variable. Add Makefile to dependencies.
15707 ($(objpfx)bench-%.c): Depend on bench-deps.
15709 2013-04-12 Roland McGrath <roland@hack.frob.com>
15710 Xavier Roche <roche+kml2@exalead.com>
15713 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15714 just that it's a file descriptor.
15715 * manual/llio.texi (Synchronizing AIO Operations): Update description
15716 for EBADF error from aio_fsync.
15718 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15720 * Rules (bench): Move target definition...
15721 * benchtests/Makefile: ... here.
15723 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15725 * math/libm-test.inc (cos_test): Fix PI/2 test.
15726 (sincos_test): Likewise.
15727 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15728 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15730 2013-04-11 Andreas Schwab <schwab@suse.de>
15733 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15734 accept exponent character only when digits were seen.
15735 * stdio-common/Makefile (tests): Add bug26.
15736 * stdio-common/bug26.c: New file.
15739 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15742 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15744 * Makeconfig (rtld-prefix): Define built linker prefix.
15745 * Rules (run-bench): Use it.
15746 * math/Makefile (run-regen-ulps): Likewise.
15748 * Rules (bench): Remove eval.
15750 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15751 Roland McGrath <roland@hack.frob.com>
15752 Ondrej Bilka <neleai@seznam.cz>
15755 * time/getdate.c: Include ctype.h and alloca.h.
15756 (__getdate_r): Trim leading and trailing spaces of input.
15757 * time/tst-getdate.c (tests): Add tests with leading and
15760 2013-04-08 Roland McGrath <roland@hack.frob.com>
15763 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15764 when computing value.
15766 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15768 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15769 Use testrun.sh to run libm tests.
15772 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15774 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15777 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15779 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15781 * Makefile.in (regen-ulps): New target.
15782 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15783 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15784 [ifneq (no,$(PERL)] (regen-ulps): New target.
15785 [ifeq (no,$(PERL)] (regen-ulps): New target.
15786 * math/libm-test.inc (ulps_file_name): Define.
15787 (output_dir): New variable.
15788 (options): Add "output-dir" option.
15789 (parse_opt): Handle 'o' case.
15790 (main): If output_dir is non-NULL use it as a prefix
15792 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15794 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15796 [BZ #10060, #10062]
15797 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15798 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15799 fail configure if __sync_val_compare_and_swap is not inlined.
15800 * sysdeps/i386/configure: Regenerate.
15801 * configure.in: Build for i686 when configured for i386.
15802 * configure: Regenerate.
15803 * README: Remove i386 reference.
15805 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15807 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15808 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15810 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15812 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15813 (lmsnanval): New variables.
15814 (F): Add conversion tests.
15815 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15816 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15818 * stdio-common/tstdiomisc.c (F): Properly collect individual
15821 [BZ #14686, #15336]
15822 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15823 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15824 Instead, use input NaN values or generate a qNaN by arithmetic
15825 operation. Also fix bugs to comply with the standard.
15826 * math/libm-test.inc (remainder_test): Add more tests.
15828 [BZ #15335, #15342]
15829 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15831 input NaN values or generate a qNaN by arithmetic operation.
15833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15836 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15839 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15842 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15843 underflowed result.
15844 * math/s_cexpf.c (__cexpf): Likewise.
15845 * math/s_cexpl.c (__cexpl): Likewise.
15846 * math/libm-test.inc (cexp_test): Add more tests.
15848 2013-04-03 Andreas Schwab <schwab@suse.de>
15851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15852 order arrays from heap if bigger than alloca cutoff.
15854 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15856 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15857 (SNAN_TESTS_double): Refer to GCC PR56831.
15858 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15861 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * Rules (bench): Move bench.out after the run is complete.
15865 * Rules (bench): Echo currently running benchmark.
15867 * benchtests/Makefile (bench): Add atan and slowatan.
15868 * benchtests/atan-inputs: New file.
15869 * benchtests/slowatan-inputs: New file.
15870 * benchtests/slowatan.c: New file.
15872 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15877 * sysdeps/unix/sysv/linux/kernel-features.h
15878 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15879 __ASSUME_XFS_RESTRICTED_CHOWN.
15880 * sysdeps/unix/sysv/linux/pathconf.c
15881 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15882 Save and restore errno.
15884 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15887 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15888 arguments using __kernel_casinh.
15889 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15890 arguments using __kernel_casinhf.
15891 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15892 arguments using __kernel_casinhl.
15893 * math/libm-test.inc (cacosh_test): Add more tests.
15894 * sysdeps/i386/fpu/libm-test-ulps: Update.
15895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15897 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15899 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15902 * bench/Makefile (bench): Add sin and slowsin.
15903 * benchtests/sin-inputs: New file.
15904 * benchtests/slowsin-inputs: New file.
15905 * benchtests/slowsin.c: New file.
15907 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15908 (bench): Add slowexp and slowpow.
15909 (exp-ITER): Increase iterations.
15910 (pow-ITER): Likewise.
15911 * benchtests/exp-inputs: Change input.
15912 * benchtests/pow-inputs: Likewise.
15913 * benchtests/slowexp-inputs: New file.
15914 * benchtests/slowexp.c: New file.
15915 * benchtests/slowpow-inputs: New file.
15916 * benchtests/slowpow.c: New file.
15918 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15920 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15922 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15923 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15924 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15925 * benchtests/Makefile: Add rint benchtest.
15926 * benchtests/rint-inputs: Input for rint benchtest.
15928 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15930 * Versions.def (libm): Add GLIBC_2.18.
15931 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15932 hidden libm prototypes.
15933 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15934 * math/Makefile (libm-calls): Add s_issignaling.
15935 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15936 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15937 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15939 * math/math.h [__USE_GNU] (issignaling): New macro.
15940 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15941 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15943 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15946 * manual/arith.texi (issignaling): New section.
15947 * manual/libm-err-tab.pl (@all_functions): Update comment.
15948 * math/gen-libm-test.pl (parse_args): Apply special handling for
15950 * math/libm-test.inc (print_float, issignaling_test): New
15952 (check_float_internal): Add issignaling checks.
15953 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15954 default definition.
15955 * sysdeps/powerpc/math-tests.h: New file.
15956 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15958 * math/test-snan.c (TEST_FUNC): Likewise.
15960 2013-03-30 David S. Miller <davem@davemloft.net>
15962 * po/de.po: Update from translation team.
15964 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15967 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15968 imaginary part less than 1.0 and real part less than 0.5
15970 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15971 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15972 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15973 (cacos_test): Add more tests.
15974 (casin_test): Likewise.
15975 (casinh_test): Likewise.
15976 * sysdeps/i386/fpu/libm-test-ulps: Update.
15977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15979 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15981 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15982 ONE with its value.
15984 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15985 (__pow_mp): Replace ONE and MONE with their values.
15986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15988 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15989 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15990 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15993 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15995 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15996 (__pow_mp): Replace ZERO and MZERO with their values.
15997 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15998 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15999 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16001 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16002 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16005 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16007 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16009 2013-03-28 Roland McGrath <roland@hack.frob.com>
16011 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16012 Declare with __attribute__ ((weak)).
16013 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16014 Call __call_tls_dtors only if it's not NULL.
16016 2013-03-28 Roland McGrath <roland@hack.frob.com>
16018 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16019 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16020 magic __ehdr_start linker symbol if it's defined.
16021 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16022 them up here if it was already done.
16024 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16025 (_dl_aux_init): Use const in cast when setting it.
16026 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16027 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16028 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16030 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16032 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16033 * csu/libc-tls.c: Nor here.
16034 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16036 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16037 (__libc_message): Never call vsyslog.
16039 2013-03-28 Alan Modra <amodra@gmail.com>
16041 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16043 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16046 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16053 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16056 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16057 Don't add gid passed as argument.
16059 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16061 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16064 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16065 imaginary part between 1.0 and 1.5 and real part less than 0.5
16067 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16068 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16069 * math/libm-test.inc (cacos_test): Add more tests.
16070 (casin_test): Likewise.
16071 (casinh_test): Likewise.
16072 * sysdeps/i386/fpu/libm-test-ulps: Update.
16073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16075 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16077 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16080 (denorm): Likewise.
16081 (__dbl_mp): Likewise.
16082 (add_magnitudes): Likewise.
16083 (sub_magnitudes): Likewise.
16091 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16093 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16094 (__dubcos): Likewise.
16095 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16096 (__ieee754_acos): Likewise.
16097 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16098 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16099 (__exp1): Likewise.
16100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16103 (my_log2): Likewise.
16104 (checkint): Likewise.
16105 * sysdeps/ieee754/dbl-64/e_remainder.c
16106 (__ieee754_remainder): Likewise.
16107 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16109 (bsloww): Likewise.
16110 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16112 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16113 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16114 MANTISSA_STORE_T to store computations on mantissa. Use
16115 macros for rounding and division.
16116 (denorm): Likewise.
16117 (__dbl_mp): Likewise.
16118 (add_magnitudes): Likewise.
16119 (sub_magnitudes): Likewise.
16122 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16123 powers of two in terms of TWOPOW macro.
16124 (mp_no): Make type of mantissa as MANTISSA_T.
16125 [!RADIXI]: Define RADIXI.
16126 [!TWO52]: Define TWO52.
16127 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16129 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16132 llroundl symbol when building for PPC32.
16134 2013-03-24 Mark H Weaver <mhw@netris.org>
16136 * manual/arith.texi (Normalization Functions): Fix prototypes for
16137 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16139 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16143 high value to check if expl overflow.
16144 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16145 to check for underflow and overflow.
16146 * math/libm-test.inc: Add exp test.
16148 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16151 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16154 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16156 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16159 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16161 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16162 wrap blocks consisting of several statements.
16164 * sysdeps/generic/math-tests.h: New file.
16165 * sysdeps/i386/fpu/math-tests.h: Likewise.
16166 * math/test-snan.c: Include it.
16167 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16169 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16172 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16173 (__ieee754_j0l): Do not improve calculations using cos of twice
16174 input for inputs above LDBL_MAX / 2.0L.
16175 (__ieee754_y0l): Likewise.
16176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16177 (__ieee754_j1l): Do not improve calculations using cos of twice
16178 input for inputs above LDBL_MAX / 2.0L.
16179 (__ieee754_y1l): Likewise.
16180 * math/libm-test.inc (j0_test): Add another test.
16181 (j1_test): Likewise.
16182 (y0_test): Likewise.
16183 (y1_test): Likewise.
16184 * sysdeps/i386/fpu/libm-test-ulps: Update.
16186 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16188 * Rules ($(objpfx)bench-%.c): Include code from a C source
16191 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16194 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16195 imaginary part 1.0 and real part less than 0.5 specially.
16196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16198 * math/libm-test.inc (cacos_test): Add more tests.
16199 (casin_test): Likewise.
16200 (casinh_test): Likewise.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16204 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16206 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16207 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16209 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16211 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16212 * config.make.in (config-cflags-sse4): Remove variable.
16213 (config-cflags-avx): Likewise.
16214 (config-cflags-sse2avx): Likewise.
16215 (config-cflags-novzeroupper): Likewise.
16216 (config-asflags-i686): Likewise.
16217 (have-mfma4): Likewise.
16218 (have-as-vis3): Likewise.
16220 * configure.in (MIG): Do not AC_SUBST.
16221 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16222 (libc_cv_cc_sse4): Do not AC_SUBST.
16223 (libc_cv_cc_avx): Likewise.
16224 (libc_cv_cc_sse2avx): Likewise.
16225 (libc_cv_cc_novzeroupper): Likewise.
16226 (libc_cv_cc_fma4): Likewise.
16227 (libc_cv_as_i686): Likewise.
16228 (libc_cv_sparc_as_vis3): Likewise.
16229 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16231 (config-asflags-i686): Likewise.
16232 (config-cflags-avx): Likewise.
16233 (config-cflags-sse2avx): Likewise.
16234 (have-mfma4): Likewise.
16235 (config-cflags-novzeroupper): Likewise.
16236 * sysdeps/mach/configure.in (MIG): Likewise.
16237 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16238 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16240 (config-cflags-avx): Likewise.
16241 (config-cflags-sse2avx): Likewise.
16242 (have-mfma4): Likewise.
16243 (config-cflags-novzeroupper): Likewise.
16244 * configure: Regenerated.
16245 * sysdeps/i386/configure: Likewise.
16246 * sysdeps/mach/configure: Likewise.
16247 * sysdeps/sparc/configure: Likewise.
16248 * sysdeps/x86_64/configure: Likewise.
16250 2013-03-20 Roland McGrath <roland@hack.frob.com>
16253 * locale/programs/localedef.c (options): Put N_ translation marker
16254 on argument names, not just descriptions.
16256 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16258 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16260 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16263 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16265 2013-03-19 Roland McGrath <roland@hack.frob.com>
16267 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16268 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16269 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16270 [!BEFORE_ABORT] (before_abort): New function.
16271 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16272 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16273 (writev_for_fatal): New function.
16274 (WRITEV_FOR_FATAL): New macro; call that.
16275 (backtrace_and_maps): New function.
16276 (BEFORE_ABORT): New macro; call that.
16277 (struct str_list): Type removed.
16278 (__libc_message, __libc_fatal): Functions removed.
16279 Include <sysdeps/posix/libc_fatal.c> instead.
16281 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16283 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16285 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16288 2013-03-19 Andreas Schwab <schwab@suse.de>
16290 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16291 * sysdeps/gnu/configure: Regenerate.
16293 * configure.in: Substitute libc_cv_rtlddir.
16294 * configure: Regenerate.
16295 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16296 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16297 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16298 * elf/Makefile (install-others, CFLAGS-interp.c)
16299 (ldso_install, common-ldd-rewrite): Likewise.
16300 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16301 $(inst_slibdir)/$(rtld-installed-name).
16302 * scripts/rellns-sh: Add -p option.
16303 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16306 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16308 * manual/nptl.texi: Renamed to ...
16309 * manual/threads.texi: ... this.
16310 * manual/Makefile (chapters): Update.
16312 2013-03-18 Roland McGrath <roland@hack.frob.com>
16315 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16316 on argument names, not just descriptions.
16317 * malloc/memusagestat.c (options): Likewise.
16318 * nss/getent.c (options): Likewise.
16320 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16323 * iconv/iconv_prog.c (options): Put N_ translation marker
16324 on argument names, not just descriptions.
16325 * iconv/iconvconfig.c (options): Likewise.
16327 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16329 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16330 implementation which is faster on all x86_64 architectures.
16331 Tested on AMD, Intel Nehalem, SNB, IVB.
16332 * sysdeps/x86_64/strnlen.S: Likewise.
16334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16335 Remove all multiarch strlen and strnlen versions.
16336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16337 Remove strlen and strnlen related parts.
16339 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16340 Inline strlen part.
16341 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16343 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16344 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16345 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16346 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16347 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16348 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16350 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16352 * manual/memory.texi (Malloc Tunable Parameters):
16353 Sort parameters alphabetically. Add comments for missing entries.
16355 2013-03-17 David S. Miller <davem@davemloft.net>
16357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16359 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16362 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16363 for arguments at most half maximum finite value.
16364 * math/libm-test.inc (j0_test): Add more tests.
16365 (j1_test): Likewise.
16366 (y0_test): Likewise.
16367 (y1_test): Likewise.
16368 * sysdeps/i386/fpu/libm-test-ulps: Update.
16369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16372 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16373 1 / x and functions P and Q for arguments above 0x1p256L.
16374 (__ieee754_y0l): Likewise.
16375 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16376 (__ieee754_y1l): Likewise.
16377 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16378 (j1_test): Likewise.
16379 (y0_test): Likewise.
16380 (y1_test): Likewise.
16382 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16384 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16387 2013-03-15 Roland McGrath <roland@hack.frob.com>
16389 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16390 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16391 zero since it's initialized to EXEC_PAGESIZE.
16393 * sysdeps/unix/sysv/linux/ldsodefs.h
16394 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16395 * sysdeps/generic/ldsodefs.h: ... here.
16397 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16399 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16401 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16403 * math/test-snan.c: Renamed from
16404 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16405 * math/Makefile (tests): Add test-snan.
16406 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16409 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16410 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16412 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16413 __builtin_nan family of functions.
16414 * math/libm-test.inc (initialize): Initialize qnan_value with
16415 __builtin_nan family of functions.
16416 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16418 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16420 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16421 storage class. Initialize qNaN_var and sNaN_var with
16422 __builtin_nan and __builtin_nans families of functions,
16425 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16426 (sqrt_test): Remove duplicate test with qNaN input.
16427 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16428 (round_test, signbit_test, significand_test): Note missing +/-Inf
16429 as well as qNaN tests.
16431 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16432 qNaN_var. Fix a few strings, too.
16433 * math/libm-test.inc (nan_value): Rename to qnan_value.
16434 * math/gen-libm-test.pl (%beautify): Adjust to that.
16435 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16436 * math/test-misc.c (main): Likewise.
16437 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16438 to __qnan_bytes, and __qnan_union, respectively.
16439 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16441 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16442 and lqnanval, respectively.
16443 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16444 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16445 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16446 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16448 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16449 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16452 * math/test-misc.c (main): Fix copy'n'pastos.
16453 * misc/tst-efgcvt.c (special): Likewise.
16455 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16456 Remove declarations.
16458 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16460 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16461 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16462 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16463 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16465 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16468 macro to return vdso values correctly in IFUNC implementations.
16469 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16470 Optimization by using IFUNC.
16472 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16473 Richard Henderson <rth@redhat.com>
16474 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16476 * Makefile.in (bench): New target.
16477 * NEWS: Mention the benchmark framework.
16478 * Rules (bench): Likewise.
16479 (binaries-bench): Generate binaries for functions to
16481 * benchtests/Makefile: New makefile for benchmark tests.
16482 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16484 * benchtests/exp-inputs: New input file for EXP function.
16485 * benchtests/pow-inputs: New input file for POW function.
16486 * scripts/bench.pl: New script to generate source files for
16487 benchmark programs.
16489 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16491 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16492 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16493 computations on mantissa. Use macros for rounding and
16495 (denorm): Likewise.
16496 (__dbl_mp): Likewise.
16497 (add_magnitudes): Likewise.
16498 (sub_magnitudes): Likewise.
16501 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16502 powers of two in terms of TWOPOW macro.
16503 (mp_no): Make type of mantissa as MANTISSA_T.
16504 [!RADIXI]: Define RADIXI.
16505 [!TWO52]: Define TWO52.
16506 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16508 * manual/nptl.texi (cindex): Modify threads to pthreads.
16510 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16512 * sysdeps/x86_64/preconfigure: Regenerated.
16514 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16517 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16519 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16520 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16522 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16523 * math/libm-test.inc (j0_test): Do not allow one spurious
16524 underflow exception.
16525 (y1_test): Likewise.
16527 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16529 * manual/Makefile (chapters): Add nptl.
16530 * manual/debug.texi (Debugging Support): Add link to Threads
16532 * manual/nptl.texi: New file.
16534 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16536 2013-03-14 Petr Baudis <pasky@ucw.cz>
16538 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16539 for non-NULL pointer before the memory validity test. Pointed
16540 out by Holger Brunck <holger.brunck@keymile.com>.
16542 2013-03-13 Andreas Schwab <schwab@suse.de>
16544 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16547 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16549 * timezone/zic.c: Update from tzcode 2013b.
16551 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16553 * manual/install.texi (Configuring and compiling):
16554 Mention i686 and i586.
16555 * INSTALL: Regenerate.
16557 2013-03-12 Roland McGrath <roland@hack.frob.com>
16559 * sysdeps/init_array/elf-init.c: New file.
16561 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16562 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16564 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16565 __gmon_start__ as global, but as static with a .preinit_array pointer.
16566 * sysdeps/init_array/gmon-start.c: New file. Use that.
16567 * sysdeps/init_array/crti.S: New file, empty except for comments.
16568 * sysdeps/init_array/crtn.S: Likewise.
16570 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16572 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16575 Remove Prefer_SSE_for_memop.
16576 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16577 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16578 HAS_PREFER_SSE_FOR_MEMOP.
16579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16582 Remove bzero, memset ifunc support.
16583 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16584 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16585 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16586 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16588 2013-03-11 Andreas Schwab <schwab@suse.de>
16591 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16594 (GLIBC_2.16): Remove pthread_atfork.
16596 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16598 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16599 (ptestcases.h): Likewise.
16601 2013-03-08 Roland McGrath <roland@hack.frob.com>
16603 * Makeconfig ($(common-objpfx)config.status): Depend on
16604 sysdeps/*/preconfigure{,.in} too.
16606 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16608 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16609 (__free_hook): Use void * instead of __malloc_ptr_t.
16610 (__malloc_hook): Likewise.
16611 (__realloc_hook): Likewise.
16612 (__memalign_hook): Likewise.
16613 (__after_morecore_hook): Likewise.
16614 * malloc/arena.c (save_malloc_hook): Likewise.
16615 (save_free_hook): Likewise.
16616 * malloc/hooks.c (malloc_hook_ini): Likewise.
16617 (realloc_hook_ini): Likewise.
16618 (memalign_hook_ini): Likewise.
16619 * malloc/malloc.c (malloc_hook_ini): Likewise.
16620 (realloc_hook_ini): Likewise.
16621 (memalign_hook_ini): Likewise.
16622 (__free_hook): Likewise.
16623 (__malloc_hook): Likewise.
16624 (__realloc_hook): Likewise.
16625 (__memalign_hook): Likewise.
16626 (__libc_malloc): Likewise.
16627 (__libc_free): Likewise.
16628 (__libc_realloc): Likewise.
16629 (__libc_memalign): Likewise.
16630 (__libc_valloc): Likewise.
16631 (__libc_pvalloc): Likewise.
16632 (__libc_calloc): Likewise.
16633 (__posix_memalign): Likewise.
16634 * malloc/morecore.c (__sbrk): Likewise.
16635 (__default_morecore): Likewise.
16637 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16639 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16640 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16641 __malloc_ptrdiff_t.
16643 * malloc/malloc.h (__malloc_size_t): Remove macro.
16644 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16646 (old_memalign_hook): Likewise.
16647 (old_realloc_hook): Likewise.
16648 (struct hdr): Likewise.
16650 (mallochook): Likewise.
16651 (memalignhook): Likewise.
16652 (reallochook): Likewise.
16653 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16654 (tr_old_realloc_hook): Likewise.
16655 (tr_old_memalign_hook): Likewise.
16656 (tr_mallochook): Likewise.
16657 (tr_reallochook): Likewise.
16658 (tr_memalignhook): Likewise.
16660 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16663 default_ldbl_pack and using as default implementation.
16664 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16666 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16667 redundant definition.
16668 (ldbl_insert_mantissa): Likewise.
16669 (ldbl_canonicalize): Likewise.
16670 (ldbl_nearbyint): Likewise.
16671 (ldbl_pack): Rename to ldbl_pack_ppc.
16672 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16673 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16674 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16676 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16679 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16681 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16684 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16685 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16687 2013-03-07 Andreas Jaeger <aj@suse.de>
16689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16692 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16694 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16695 Include mpa.h and declare __MPEXP.
16696 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16698 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16699 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16700 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16701 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16702 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16704 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16705 (__slowpow): Use long double EXPL and LOGL functions to
16707 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16708 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16709 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16710 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16711 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16712 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16715 intermediate variable to calculate exponent.
16717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16721 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16722 [!NO__SQR]: Define __sqr.
16723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16724 and NO__SQR. Remove all code except __mul and __sqr. Include
16725 sysdeps/ieee754/dbl-64/mpa.c.
16726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16729 * posix/Makefile (tests): Add tst-pathconf.
16730 * posix/tst-pathconf.c: New test case.
16731 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16733 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16735 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16737 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16739 2013-03-06 Andreas Jaeger <aj@suse.de>
16741 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16742 definition via __MAP_ANONYMOUS.
16744 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16745 it's not part of Linux headers.
16747 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16748 (MAP_HUGE_MASK): Define.
16750 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16752 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16756 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16759 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16763 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16764 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16765 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16766 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16767 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16768 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16770 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16774 Handle f2fs and efivarfs.
16776 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16779 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16780 (EFIVARFS_MAGIC): Add.
16781 (F2FS_LINK_MAX): Add.
16783 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16785 * stdio-common/vfprintf.c: Replace __builtin_expect with
16788 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16791 * sysdeps/generic/bp-sym.h: Remove file.
16792 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16793 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (__longjmp): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16798 (memcpy): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (memcpy): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16804 (memcpy): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16807 (memset): Don't use BP_SYM.
16808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16810 (__bzero): Don't use BP_SYM.
16811 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16812 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16813 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16814 <bp-sym.h> and <bp-asm.h>.
16815 (memcmp): Don't use BP_SYM. Remove comment about bounded
16817 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (memcpy): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (memset): Don't use BP_SYM.
16823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16825 (__bzero): Don't use BP_SYM.
16826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16828 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (strncmp): Don't use BP_SYM. Remove comment about bounded
16832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16833 <bp-sym.h> and <bp-asm.h>.
16834 (memcpy): Don't use BP_SYM.
16835 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16836 <bp-sym.h> and <bp-asm.h>.
16837 (memset): Don't use BP_SYM.
16838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16840 (__bzero): Don't use BP_SYM.
16841 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16842 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16844 <bp-sym.h> and <bp-asm.h>.
16845 (__memchr): Don't use BP_SYM.
16846 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16847 <bp-sym.h> and <bp-asm.h>.
16848 (memcmp): Don't use BP_SYM. Remove comment about bounded
16850 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16851 <bp-sym.h> and <bp-asm.h>.
16852 (memcpy): Don't use BP_SYM.
16853 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16854 <bp-sym.h> and <bp-asm.h>.
16855 (__mempcpy): Don't use BP_SYM.
16856 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16857 <bp-sym.h> and <bp-asm.h>.
16858 (__memrchr): Don't use BP_SYM.
16859 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16860 <bp-sym.h> and <bp-asm.h>.
16861 (memset): Don't use BP_SYM.
16862 (__bzero): Likewise.
16863 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__rawmemchr): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (__STRCMP): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (strchr): Don't use BP_SYM.
16872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (__strchrnul): Don't use BP_SYM.
16875 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (strlen): Don't use BP_SYM.
16878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (strncmp): Don't use BP_SYM. Remove comment about bounded
16882 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16883 <bp-sym.h> and <bp-asm.h>.
16884 (__strnlen): Don't use BP_SYM.
16885 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16886 <bp-sym.h> and <bp-asm.h>.
16887 (__GI__setjmp): Don't use BP_SYM.
16888 (_setjmp): Likewise.
16889 (__sigsetjmp): Likewise.
16890 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16891 (L(start_addresses)): Don't use BP_SYM.
16892 (_start): Likewise.
16893 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16895 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16896 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16897 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16898 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16899 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16901 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16902 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16903 about bounded pointers.
16904 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16905 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16906 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16908 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16909 about bounded pointers. Remove GKM FIXME comments.
16910 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16911 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16913 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16914 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16915 Remove GKM FIXME comments.
16916 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16917 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16918 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16920 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16921 about bounded pointers. Remove GKM FIXME comment.
16922 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16924 (strncmp): Don't use BP_SYM. Remove comment about bounded
16926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16927 <bp-sym.h> and <bp-asm.h>.
16928 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16930 <bp-sym.h> and <bp-asm.h>.
16931 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16934 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16936 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16939 2013-03-05 David S. Miller <davem@davemloft.net>
16941 * po/es.po: Update from translation team.
16943 2013-03-05 Andreas Jaeger <aj@suse.de>
16945 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16946 <bits/mman-linux.h>.
16947 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16949 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16950 <bits/mman-linux.h> to end of file.
16951 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16953 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16954 <bits/mman-linux.h> to end of file.
16955 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16958 <bits/mman-linux.h> to end of file.
16960 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16961 (MCL_CURRENT, MCL_FUTURE): Define here.
16963 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16968 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16970 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16972 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16973 fourth parameter needed for rt_sigprocmask syscall.
16974 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16975 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16977 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16978 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16979 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16981 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16984 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16985 comment about bounded pointers.
16986 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16987 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16989 2013-03-04 Andreas Jaeger <aj@suse.de>
16991 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16992 common definitions.
16994 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16995 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16996 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16998 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17001 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17005 __ieee754_sqrl instead of __sqrl.
17007 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17009 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17010 * sysdeps/powerpc/fpu_control.h: ... here.
17011 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17012 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17013 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17014 * sysdeps/powerpc/bits/mathinline.h: ... here.
17016 2013-03-01 Roland McGrath <roland@hack.frob.com>
17018 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17019 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17020 to just [NEED_DL_SYSINFO_DSO].
17021 * elf/dl-support.c: Likewise.
17022 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17023 * elf/rtld.c (dl_main): Likewise.
17024 * elf/setup-vdso.h (setup_vdso): Likewise.
17025 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17026 * sysdeps/unix/sysv/linux/dl-sysdep.c
17027 (_dl_discover_osversion): Likewise.
17029 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17031 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17032 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17034 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 * NEWS: Mention libm performance improvements and non-x86 PI
17039 * csu/libc-start.c (__pthread_initialize_minimal): Change
17040 function arguments.
17041 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17043 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17046 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17047 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17048 <bp-sym.h> and <bp-asm.h>.
17049 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17052 (memcpy): Don't use BP_SYM.
17053 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17055 (__mpn_add_n): Don't use BP_SYM.
17056 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17057 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17059 (__mpn_addmul_1): Don't use BP_SYM.
17060 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17061 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17063 (_setjmp): Don't use BP_SYM.
17064 (__novmx_setjmp): Likewise.
17065 (__GI__setjmp): Likewise.
17066 (__vmx_setjmp): Likewise.
17067 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17069 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17070 (__bzero): Don't use BP_SYM.
17071 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17072 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17073 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (memcpy): Don't use BP_SYM.
17076 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17077 <bp-sym.h> and <bp-asm.h>.
17078 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17079 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17080 <bp-sym.h> and <bp-asm.h>.
17081 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17082 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17084 (__mpn_lshift): Don't use BP_SYM.
17085 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17086 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17088 (memset): Don't use BP_SYM.
17089 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17090 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17091 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17093 (__mpn_mul_1): Don't use BP_SYM.
17094 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17096 <bp-sym.h> and <bp-asm.h>.
17097 (memcmp): Don't use BP_SYM.
17098 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17099 <bp-sym.h> and <bp-asm.h>.
17100 (memcpy): Don't use BP_SYM.
17101 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17102 <bp-sym.h> and <bp-asm.h>.
17103 (memset): Don't use BP_SYM.
17104 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17105 <bp-sym.h> and <bp-asm.h>.
17106 (strncmp): Don't use BP_SYM.
17107 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17108 <bp-sym.h> and <bp-asm.h>.
17109 (memcpy): Don't use BP_SYM.
17110 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (memset): Don't use BP_SYM.
17113 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__memchr): Don't use BP_SYM.
17116 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17117 <bp-sym.h> and <bp-asm.h>.
17118 (memcmp): Don't use BP_SYM.
17119 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17120 <bp-sym.h> and <bp-asm.h>.
17121 (memcpy): Don't use BP_SYM.
17122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17123 <bp-sym.h> and <bp-asm.h>.
17124 (__mempcpy): Don't use BP_SYM.
17125 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17126 <bp-sym.h> and <bp-asm.h>.
17127 (__memrchr): Don't use BP_SYM.
17128 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17129 <bp-sym.h> and <bp-asm.h>.
17130 (memset): Don't use BP_SYM.
17131 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17132 <bp-sym.h> and <bp-asm.h>.
17133 (__rawmemchr): Don't use BP_SYM.
17134 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17135 <bp-sym.h> and <bp-asm.h>.
17136 (__STRCMP): Don't use BP_SYM.
17137 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17138 <bp-sym.h> and <bp-asm.h>.
17139 (strchr): Don't use BP_SYM.
17140 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17141 <bp-sym.h> and <bp-asm.h>.
17142 (__strchrnul): Don't use BP_SYM.
17143 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17144 <bp-sym.h> and <bp-asm.h>.
17145 (strlen): Don't use BP_SYM.
17146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17147 <bp-sym.h> and <bp-asm.h>.
17148 (strncmp): Don't use BP_SYM.
17149 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17150 <bp-sym.h> and <bp-asm.h>.
17151 (__strnlen): Don't use BP_SYM.
17152 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17154 (__mpn_rshift): Don't use BP_SYM.
17155 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17156 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17157 <bp-sym.h> and <bp-asm.h>.
17158 (__sigsetjmp): Don't use BP_SYM.
17159 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17160 (L(start_addresses)): Don't use BP_SYM.
17161 (_start): Likewise.
17162 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17164 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17165 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17166 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17167 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17169 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17170 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17171 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17172 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17174 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17176 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17177 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17179 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17181 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17182 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17183 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17185 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17187 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17189 (strncmp): Don't use BP_SYM,
17190 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17192 (__mpn_sub_n): Don't use BP_SYM.
17193 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17194 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17196 (__mpn_submul_1): Don't use BP_SYM.
17197 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17199 <bp-sym.h> and <bp-asm.h>.
17200 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17206 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17209 Use ZK to minimize writes to Z.
17210 (sub_magnitudes): Simplify code a bit.
17211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17212 Use ZK to minimize writes to Z.
17213 (sub_magnitudes): Simplify code a bit.
17215 2013-02-27 Roland McGrath <roland@hack.frob.com>
17217 * csu/gmon-start.c: Add special exception to license text.
17219 2013-02-27 Richard Henderson <rth@redhat.com>
17221 * scripts/config.guess: Update from config.git.
17222 * scripts/config.sub: Likewise.
17224 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17226 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17228 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17230 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17232 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17234 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17236 2013-02-26 Roland McGrath <roland@hack.frob.com>
17238 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17239 [$(build-shared = yes].
17241 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17243 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17244 (__mul): Reduce iterations for calculating mantissa.
17246 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17248 (__mpranred): Likewise.
17251 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17252 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17254 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17256 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17257 Define __attribute__.
17259 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17261 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17263 * posix/regex_internal.h (__attribute): Remove.
17264 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17265 (re_string_context_at): Likewise.
17266 (bitset_not): Use __attribute__ and mark function as possibly
17268 (bitset_merge): Likewise.
17269 (bitset_mask): Likewise.
17270 (re_string_char_size_at): Likewise.
17271 (re_string_wchar_at): Likewise.
17272 (re_string_elem_size_at): Likewise.
17274 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17276 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17280 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17284 (denorm): Likewise.
17285 (__dbl_mp): Likewise.
17286 (add_magnitudes): Likewise.
17287 (sub_magnitudes): Likewise.
17291 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17294 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17297 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17301 up changes with default code.
17302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17305 2013-02-24 Allan McRae <allan@archlinux.org>
17307 * manual/socket.texi (The Internet Namespace): Order menu items
17308 to match that in the file.
17310 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17311 node listing of the info page menu.
17313 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17316 * sysdeps/i386/bp-asm.h: Remove file.
17317 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17322 (__mpn_add_n): Do not use BP_SYM
17323 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17325 (PARMS): Do not use macros from bp-asm.h.
17328 (__mpn_addmul_1): Do not use BP_SYM
17329 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17331 (PARMS): Do not use macros from bp-asm.h.
17332 (SIGMSK): Likewise.
17333 (_setjmp): Likewise. Do not use BP_SYM.
17334 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17337 (SIGMSK): Likewise.
17338 (setjmp): Likewise. Do not use BP_SYM.
17339 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17341 (PARMS): Do not use macros from bp-asm.h.
17342 (__frexp): Do not use BP_SYM.
17344 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17346 (PARMS): Do not use macros from bp-asm.h.
17347 (__frexpf): Do not use BP_SYM.
17348 (frexpf): Likewise.
17349 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (__frexpl): Do not use BP_SYM.
17353 (frexpl): Likewise.
17354 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17356 (PARMS): Do not use macros from bp-asm.h.
17357 (__remquo): Do not use BP_SYM.
17358 (remquo): Likewise.
17359 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17361 (PARMS): Do not use macros from bp-asm.h.
17362 (__remquof): Do not use BP_SYM.
17363 (remquof): Likewise.
17364 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17366 (PARMS): Do not use macros from bp-asm.h.
17367 (__remquol): Do not use BP_SYM.
17368 (remquol): Likewise.
17369 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17371 (PARMS): Do not use macros from bp-asm.h.
17374 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17375 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17377 (PARMS): Do not use macros from bp-asm.h.
17378 (strlen): Do not use BP_SYM.
17379 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17381 (PARMS): Do not use macros from bp-asm.h.
17385 (__mpn_add_n): Do not use BP_SYM.
17386 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17388 (PARMS): Do not use macros from bp-asm.h.
17391 (__mpn_addmul_1): Do not use BP_SYM.
17392 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17395 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17397 (PARMS): Do not use macros from bp-asm.h.
17400 (__mpn_lshift): Do not use BP_SYM.
17401 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17403 (PARMS): Do not use macros from bp-asm.h.
17407 (memcpy): Likewise. Do not use BP_SYM.
17408 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17409 libc_hidden_def and weak_alias.
17410 (mempcpy): Do not use BP_SYM in weak_alias.
17411 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17413 (PARMS): Do not use macros from bp-asm.h.
17416 [!BZERO_P] (CHR): Likewise.
17417 (memset): Likewise. Do not use BP_SYM.
17418 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17423 (__mpn_mul_1): Do not use BP_SYM.
17424 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17426 (PARMS): Do not use macros from bp-asm.h.
17429 (__mpn_rshift): Do not use BP_SYM.
17430 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17432 (PARMS): Do not use macros from bp-asm.h.
17435 (strchr): Likewise. Do not use BP_SYM.
17436 (index): Do not use BP_SYM in weak_alias.
17437 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17439 (PARMS): Do not use macros from bp-asm.h.
17442 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17443 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17445 (PARMS): Do not use macros from bp-asm.h.
17446 (strlen): Do not use BP_SYM.
17447 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17449 (PARMS): Do not use macros from bp-asm.h.
17453 (__mpn_sub_n): Do not use BP_SYM.
17454 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17456 (PARMS): Do not use macros from bp-asm.h.
17459 (__mpn_submul_1): Do not use BP_SYM.
17460 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17462 (PARMS): Do not use macros from bp-asm.h.
17466 (__mpn_add_n): Do not use BP_SYM.
17467 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17470 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17472 (PARMS): Do not use macros from bp-asm.h.
17475 (memcmp): Do not use BP_SYM.
17476 (bcmp): Do not use BP_SYM in weak_alias.
17477 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17479 (PARMS): Do not use macros from bp-asm.h.
17483 (memcpy): Likewise. Do not use BP_SYM.
17484 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17486 (PARMS): Do not use macros from bp-asm.h.
17490 (memmove): Likewise. Do not use BP_SYM.
17491 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17493 (PARMS): Do not use macros from bp-asm.h.
17497 (__mempcpy): Likewise. Do not use BP_SYM.
17498 (mempcpy): Do not use BP_SYM in weak_alias.
17499 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17501 (PARMS): Do not use macros from bp-asm.h.
17504 [!BZERO_P] (CHR): Likewise.
17505 (memset): Likewise. Do not use BP_SYM.
17506 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17508 (PARMS): Do not use macros from bp-asm.h.
17510 (strcmp): Do not use BP_SYM.
17511 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17513 (PARMS): Do not use macros from bp-asm.h.
17516 [USE_AS_STRTOK_R] (SAVE): Likewise.
17517 (FUNCTION): Likewise. Do not use BP_SYM.
17518 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17520 (strtok_r): Likewise.
17521 (__GI___strtok_r): Likewise.
17522 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17523 (PARMS): Do not use macros from bp-asm.h.
17526 (__mpn_lshift): Do not use BP_SYM.
17527 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17528 (PARMS): Do not use macros from bp-asm.h.
17531 (__memchr): Do not use BP_SYM.
17532 (memchr): Do not use BP_SYM in weak_alias.
17533 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17534 (PARMS): Do not use macros from bp-asm.h.
17537 (memcmp): Do not use BP_SYM.
17538 (bcmp): Do not use BP_SYM in weak_alias.
17539 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17540 (PARMS): Do not use macros from bp-asm.h.
17543 (__mpn_mul_1): Do not use BP_SYM.
17544 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17546 (PARMS): Do not use macros from bp-asm.h.
17549 (__rawmemchr): Do not use BP_SYM.
17550 (rawmemchr): Do not use BP_SYM in weak_alias.
17551 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17552 (PARMS): Do not use macros from bp-asm.h.
17555 (__mpn_rshift): Do not use BP_SYM.
17556 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17557 (PARMS): Do not use macros from bp-asm.h.
17558 (SIGMSK): Likewise.
17559 (__sigsetjmp): Likewise. Do not use BP_SYM.
17560 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17561 (_start): Do not use BP_SYM.
17562 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17563 (PARMS): Do not use macros from bp-asm.h.
17566 (__stpcpy): Likewise. Do not use BP_SYM.
17567 (stpcpy): Do not use BP_SYM in weak_alias.
17568 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17570 (PARMS): Do not use macros from bp-asm.h.
17574 (__stpncpy): Likewise. Do not use BP_SYM.
17575 (stpncpy): Do not use BP_SYM in weak_alias.
17576 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17577 (PARMS): Do not use macros from bp-asm.h.
17580 (strchr): Likewise. Do not use BP_SYM.
17581 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17583 (PARMS): Do not use macros from bp-asm.h.
17586 (__strchrnul): Likewise. Do not use BP_SYM.
17587 (strchrnul): Do not use BP_SYM in weak_alias.
17588 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17590 (PARMS): Do not use macros from bp-asm.h.
17592 (strcspn): Do not use BP_SYM.
17593 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17595 (PARMS): Do not use macros from bp-asm.h.
17598 (strpbrk): Likewise. Do not use BP_SYM.
17599 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17601 (PARMS): Do not use macros from bp-asm.h.
17604 (strrchr): Likewise. Do not use BP_SYM.
17605 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17606 (PARMS): Do not use macros from bp-asm.h.
17608 (strspn): Do not use BP_SYM.
17609 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17610 (PARMS): Do not use macros from bp-asm.h.
17614 (FUNCTION): Likewise. Do not use BP_SYM.
17615 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17617 (strtok_r): Likewise.
17618 (__GI___strtok_r): Likewise.
17619 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17620 (PARMS): Do not use macros from bp-asm.h.
17624 (__mpn_sub_n): Do not use BP_SYM.
17625 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17627 (PARMS): Do not use macros from bp-asm.h.
17630 (__mpn_submul_1): Do not use BP_SYM.
17631 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17633 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17635 (PARMS): Do not use macros from bp-asm.h.
17640 (__clone): Do not use BP_SYM.
17641 (clone): Do not use BP_SYM in weak_alias.
17642 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17644 (PARMS): Do not use macros from bp-asm.h.
17646 (__mmap64): Do not use BP_SYM.
17647 (mmap64): Do not use BP_SYM in weak_alias.
17648 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17649 <bp-sym.h> and <bp-asm.h>.
17650 (PARMS): Do not use macros from bp-asm.h.
17651 (__posix_fadvise64_l64): Do not use BP_SYM.
17652 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17653 (PARMS): Do not use macros from bp-asm.h.
17655 (semtimedop): Do not use BP_SYM.
17656 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17659 2013-02-21 Allan McRae <allan@archlinux.org>
17661 * manual/message.texi (Charset conversion in gettext):
17662 Move @end statement to beginning of line.
17664 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17671 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17672 (denorm): Likewise.
17673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17676 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17678 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17679 tail-call to the resolved function if pltexit isn't needed.
17681 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17684 or Y being zero as being unlikely.
17685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17688 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17690 * manual/nss.texi (System Databases and Name Service Switch):
17691 Remove frobnicate @pxref.
17693 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17695 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17696 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17698 2013-02-20 Petr Machata <pmachata@redhat.com>
17700 * elf/elf.h (R_ARM_TARGET1): New macro.
17701 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17702 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17703 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17704 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17705 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17706 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17707 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17708 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17709 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17710 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17711 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17712 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17713 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17714 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17715 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17716 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17717 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17718 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17719 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17720 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17721 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17722 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17723 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17724 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17725 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17726 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17727 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17728 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17729 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17730 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17731 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17732 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17733 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17734 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17735 (R_ARM_THM_GOT_BREL12): Likewise.
17736 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17737 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17738 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17739 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17740 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17741 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17742 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17743 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17744 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17746 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17748 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17749 __attribute_used__ to __attribute__ ((unused)).
17751 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17753 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17756 comment formatting.
17757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17759 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17764 (ENTER): Remove both macro definitions.
17766 (CHECK_BOUNDS_LOW): Likewise.
17767 (CHECK_BOUNDS_HIGH): Likewise.
17768 (CHECK_BOUNDS_BOTH): Likewise.
17769 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17770 (RETURN_BOUNDED_POINTER): Likewise.
17771 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17772 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17773 (POP_ERRNO_LOCATION_RETURN): Likewise.
17774 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17775 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17776 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17778 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17779 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17780 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17781 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17782 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17783 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17784 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17785 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17786 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17787 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17788 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17789 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17790 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17791 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17793 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17794 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17796 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17797 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17798 * sysdeps/i386/i586/memset.S (memset): Likewise.
17799 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17800 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17801 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17803 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17804 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17805 Change uses of L(2) to L(out).
17806 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17807 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17808 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17809 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17810 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17812 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17813 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17815 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17816 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17817 (RETURN): Do not use macro LEAVE.
17818 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17819 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17820 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17821 * sysdeps/i386/i686/memset.S (memset): Likewise.
17822 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17823 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17824 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17825 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17827 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17828 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17829 L(1_2) and L(1_3) into L(1).
17830 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17831 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17832 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17833 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17834 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17835 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17836 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17837 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17838 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17840 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17841 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17842 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17843 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17844 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17845 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17846 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17847 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17848 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17849 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17850 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17851 * sysdeps/i386/strspn.S (strspn): Likewise.
17852 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17854 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17855 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17856 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17857 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17858 L(1_3) into L(1_1).
17859 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17860 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17861 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17863 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17865 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17867 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17870 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17872 * math/atest-exp.c (exp_mpn): Remove ROUND.
17873 * math/atest-exp2.c (exp_mpn): Likewise.
17874 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17876 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17877 * stdlib/tst-tls-atexit-lib.c: Likewise.
17878 * stdlib/tst-tls-atexit.c: Likewise.
17880 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17882 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17883 and __attribute_alloc_size__.
17885 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17887 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17888 __attribute_alloc_size__.
17889 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17890 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17892 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17894 * include/programs/xmalloc.h: New file.
17895 * catgets/gencat.c: Include it.
17896 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17897 * elf/pldd.c: Likewise.
17898 * iconv/iconv_charmap.c: Likewise.
17899 * iconv/iconvconfig.c: Likewise.
17900 * iconv/strtab.c: Likewise.
17901 * locale/programs/locale.c: Likewise.
17902 * locale/programs/localedef.h: Likewise.
17903 * locale/programs/simple-hash.c: Likewise.
17904 * nscd/nscd.h: Likewise.
17905 * nss/makedb.c: Likewise.
17906 * sysdeps/generic/ldconfig.h: Likewise.
17908 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17910 * Versions.def: Add GLIBC_2.18.
17911 * include/link.h (struct link_map): New member l_tls_dtor_count.
17912 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17913 (__call_tls_dtors): Likewise.
17914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17915 __cxa_thread_atexit_impl.
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17932 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17933 (tests): Add test case tst-tls-atexit.
17934 (modules-names): Add shared library for tst-tls-atexit.
17935 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17936 (GLIBC_PRIVATE): Add __call_tls_dtors.
17937 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17939 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17940 * stdlib/tst-tls-atexit.c: New test case.
17941 * stdlib/tst-tls-atexit-lib.c: New test case.
17943 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17945 * elf/Versions (ld): Add _dl_find_dso_for_object.
17946 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17947 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17948 (dl_open_worker): Use _dl_find_dso_for_object.
17949 * elf/dl-sym.c (do_sym): Likewise.
17950 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17952 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17954 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17955 Syntactic changes only.
17956 (_dl_runtime_profile): Do a tail-call to the resolved function.
17958 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17961 * sysdeps/x86_64/bp-asm.h: Remove file.
17962 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17963 <bp-sym.h> and <bp-asm.h>.
17964 (__clone): Do not use BP_SYM.
17965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17966 <bp-sym.h> and <bp-asm.h>.
17967 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17968 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17970 (_setjmp): Do not use BP_SYM.
17971 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17973 (setjmp): Do not use BP_SYM.
17974 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17976 (mempcpy): Do not use BP_SYM in weak_alias.
17977 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17979 (strchr): Do not use BP_SYM.
17980 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17982 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17983 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17984 (_start): Do not use BP_SYM.
17985 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17987 (strcat): Do not use BP_SYM.
17988 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17990 (STRCMP): Do not use BP_SYM.
17991 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17993 (STRCPY): Do not use BP_SYM.
17994 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17996 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17998 (FUNCTION): Do not use BP_SYM.
17999 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18001 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18003 2013-02-17 Andreas Jaeger <aj@suse.de>
18005 * time/Versions: Sort entries.
18006 * string/Versions: Likewise.
18007 * resolv/Versions: Likewise.
18008 * posix/Versions: Likewise.
18009 * iconv/Versions: Likewise.
18010 * elf/Versions: Likewise.
18011 * wcsmbs/Versions: Likewise.
18013 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18015 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18016 loop termination condition.
18018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18019 variable to calculate EZ.
18022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18023 the lower precision input.
18025 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18028 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18029 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18030 (run-via-rtld-prefix): Do not handle %-bp tests.
18031 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18032 (all-object-suffixes): Remove .ob.
18033 (bppfx): Remove variable.
18034 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18035 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18036 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18037 [$(build-bounded) = yes] (libtype.ob): Likewise.
18038 * Makerules (elide-routines.ob): Remove variable.
18039 (do-tests-clean): Do not handle *-bp.out.
18040 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18041 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18042 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18043 (tests): Do not include $(tests-bp.out).
18044 (xtests): Do not include $(xtests-bp.out).
18045 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18046 [$(build-bounded) = yes] ($(addprefix
18047 $(objpfx),$(binaries-bounded))): Remove rule.
18048 ($(objpfx)%-bp.out): Remove rule.
18049 * config.make.in (build-bounded): Remove variable.
18050 * crypt/Makefile [$(build-bounded) = yes]
18051 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18052 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18053 append to variable.
18054 [$(build-bounded) = yes] (install-lib): Likewise.
18055 [$(build-bounded) = yes] (generated): Likewise.
18056 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18058 * intl/Makefile [$(build-bounded) = yes]
18059 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18060 * math/Makefile [$(build-bounded) = yes]
18061 ($(tests:%=$(objpfx)%-bp): Likewise.
18062 * misc/Makefile [$(build-bounded) = yes]
18063 ($(objpfx)tst-tsearch-bp): Likewise.
18064 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18065 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18067 * string/Makefile (o-objects.ob): Remove variable.
18068 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18069 (CFLAGS-.ob): Remove variable.
18070 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18071 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18072 both definitions of variable.
18073 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18074 (ASFLAGS-.ob): Remove variable.
18076 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18079 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18080 Remove __BOUNDED_POINTERS__ from condition.
18081 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18082 * string/bits/string2.h [!__NO_STRING_INLINES &&
18083 !__BOUNDED_POINTERS__]: Likewise.
18084 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18086 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18087 Remove conditional code.
18088 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18089 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18090 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18094 * csu/libc-start.c: Do not include <bp-sym.h>.
18095 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18096 * elf/dl-open.c: Do not include <bp-sym.h>.
18097 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18098 * math/fegetenv.c: Do not include <bp-sym.h>.
18099 (fegetenv): Do not use BP_SYM in versioned symbols.
18100 * nptl/sysdeps/pthread/bits/libc-lockP.h
18101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18104 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18106 (__pthread_mutex_destroy): Likewise.
18107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18108 (__pthread_mutex_lock): Likewise.
18109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18110 (__pthread_mutex_trylock): Likewise.
18111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18112 (__pthread_mutex_unlock): Likewise.
18113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18114 (__pthread_mutexattr_init): Likewise.
18115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18116 (__pthread_mutexattr_destroy): Likewise.
18117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18118 (__pthread_mutexattr_settype): Likewise.
18119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18120 (__pthread_rwlock_init): Likewise.
18121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18122 (__pthread_rwlock_destroy): Likewise.
18123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18124 (__pthread_rwlock_rdlock): Likewise.
18125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18126 (__pthread_rwlock_tryrdlock): Likewise.
18127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18128 (__pthread_rwlock_wrlock): Likewise.
18129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18130 (__pthread_rwlock_trywrlock): Likewise.
18131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18132 (__pthread_rwlock_unlock): Likewise.
18133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18134 (__pthread_key_create): Likewise.
18135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18136 (__pthread_setspecific): Likewise.
18137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18138 (__pthread_getspecific): Likewise.
18139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18142 (_pthread_cleanup_push_defer): Likewise.
18143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18144 (_pthread_cleanup_pop_restore): Likewise.
18145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18146 (pthread_setcancelstate): Likewise.
18147 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18149 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18150 (memchr): Do not use BP_SYM in weak_alias.
18151 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18152 (fegetenv): Do not use BP_SYM in versioned symbols.
18153 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18154 (fesetenv): Do not use BP_SYM in versioned symbols.
18155 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18156 (feupdateenv): Do not use BP_SYM in versioned symbols.
18157 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18158 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18159 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18160 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18161 (open64): Do not use BP_SYM in weak_alias.
18162 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18163 (fegetenv): Do not use BP_SYM in versioned symbols.
18164 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18165 (fesetenv): Do not use BP_SYM in versioned symbols.
18166 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18167 (feupdateenv): Do not use BP_SYM in versioned symbols.
18168 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18169 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18170 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18171 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18172 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18173 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18174 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18176 (__libc_start_main): Do not use BP_SYM.
18178 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18181 redundant return line.
18183 (denorm): Likewise.
18184 (dbl_mp): Likewise.
18185 (sub_magnitudes): Likewise.
18191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18193 (denorm): Likewise.
18194 (dbl_mp): Likewise.
18195 (sub_magnitudes): Likewise.
18202 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18205 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18208 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18209 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18211 of __mul for squares.
18212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18216 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18219 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18222 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18224 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18225 prototype or function definition. Rename ubp_* variables and
18226 parameters. Remove argv definitions conditional on
18227 [__BOUNDED_POINTERS__].
18228 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18229 * elf/dl-runtime.c (_dl_fixup): Likewise.
18230 * include/set-hooks.h (RUN_HOOK): Likewise.
18231 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18233 * string/strcpy.c (strcpy): Do not use __unbounded.
18234 * sysdeps/generic/frame.h (struct layout): Likewise.
18235 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18236 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18237 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18238 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18239 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18240 (__backtrace): Likewise.
18241 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18243 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18244 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18245 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18247 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18248 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18249 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18250 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18251 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18252 Do not use __unbounded.
18253 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18254 Rename __unboundedrlimits parameter to rlimits in prototype.
18255 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18256 Do not use __unbounded.
18257 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18258 not use __ptrvalue.
18259 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18260 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18261 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18262 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18263 __ptrvalue or __unbounded.
18264 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18265 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18267 (__new_msgctl): Do not use __ptrvalue.
18268 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18270 (__libc_msgrcv): Do not use __ptrvalue.
18271 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18272 startup_info): Do not use __unbounded.
18273 (__libc_start_main): Likewise. Rename ubp_* variables and
18274 parameters. Remove argv definitions conditional on
18275 [__BOUNDED_POINTERS__].
18276 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18278 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18282 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18284 (__new_shmctl): Do not use __ptrvalue.
18285 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18286 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18288 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18290 (__libc_sigaction): Likewise.
18291 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18294 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18296 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18298 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18300 * string/mempcpy.c: Implement by calling memcpy.
18302 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18309 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18310 values in the mantissa.
18312 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18313 minimize writes to Z.
18314 (sub_magnitudes): Simplify code a bit.
18316 2013-02-12 Roland McGrath <roland@hack.frob.com>
18318 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18319 from the message. The linker prefixes all warnings with that already.
18321 2013-02-12 Andreas Schwab <schwab@suse.de>
18324 * posix/regexec.c (extend_buffers): Add parameter min_len.
18325 (check_matching): Pass minimum needed length.
18326 (clean_state_log_if_needed): Likewise.
18327 (get_subexp): Likewise.
18328 * posix/Makefile (tests): Add bug-regex34.
18329 (bug-regex34-ENV): Define.
18330 * posix/bug-regex34.c: New file.
18333 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18334 elements compare against the byte sequence of it, not its name.
18335 * posix/Makefile (tests): Add bug-regex35.
18336 (bug-regex35-ENV): Define.
18337 * posix/bug-regex35.c: New file.
18339 2013-02-11 Tom de Vries <tom@codesourcery.com>
18341 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18343 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18344 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18345 (CHECK_EOL): Add undef.
18347 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18349 * bits/stdlib-bsearch.h: New file.
18350 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18351 * stdlib/stdlib.h: Likewise.
18353 2013-02-11 Roland McGrath <roland@hack.frob.com>
18355 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18356 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18358 * manual/search.texi (Array Search Function): Add missing const in
18360 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18361 declaration to use rlim_t.
18362 (Basic Scheduling Functions): Remove erroneous const from
18363 sched_getparam prototype. Remove erroneous * from
18364 sched_get_priority_max and sched_get_priority_min prototypes.
18365 (Resource Usage): Fix summary @comment on vtimes to refer to
18366 sys/vtimes.h rather than vtimes.h.
18367 Add missing *s in vtimes prototype.
18368 (Limits on Resources): Fix ulimit prototype to return long int.
18369 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18370 prototypes to use long int rather than double.
18371 (BSD Random): Fix initstate and setstate to use char *, not void *.
18372 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18373 prototype to make second argument 'struct aiocb64 *const[]'.
18374 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18375 (Status of AIO Operations): Remove erroneous const in aio_return and
18376 aio_return64 prototypes.
18377 (Synchronizing I/O): Fix sync prototype to return void.
18378 * manual/startup.texi (Suboptions): Remove an erroneous const in
18379 getsubopt prototype.
18380 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18381 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18382 use size_t rather than int.
18383 (Scanning All Users): Likewise for getpwent_r.
18384 (Setting Groups): Add missing const to setgroups prototype.
18385 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18386 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18387 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18388 'const void *' rather than 'const char *'.
18389 (Host Address Functions): Likewise for inet_ntop.
18390 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18391 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18392 ssize_t for return value.
18393 (Sending Data): Likewise for send, sendto, sendmsg.
18394 (Socket Option Functions): Add a missing const in setsockopt prototype.
18395 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18396 use wchar_t for the argument.
18397 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18398 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18400 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18401 double/float/long double for second argument.
18402 Fix return types of significand, significandf, significandl.
18403 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18404 argument in fchmod prototype.
18405 (File Owner): Use uid_t and gid_t in fchown prototype.
18406 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18407 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18408 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18409 use 'const struct dirent **' as argument types to CMP function pointer
18411 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18412 (File Times): Fix summary magic @comment for struct utimbuf and utime
18413 to refer to utime.h, not time.h.
18414 * manual/string.texi (Argz Functions): Add missing const in
18415 argz_extract and argz_next prototypes.
18416 (Finding Tokens in a String): Likewise for basename.
18417 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18418 (Copying and Concatenation): Fix typo in wmemmove prototype.
18419 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18420 (Signal Stack): Remove erroneous const in sigstack prototype.
18421 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18423 (Simple Calendar Time): Likewise for stime.
18424 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18426 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18427 say sys/sysctl.h instead.
18428 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18429 and vsyslog prototypes.
18431 2013-02-11 Tom de Vries <tom@codesourcery.com>
18433 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18436 2013-02-11 Roland McGrath <roland@hack.frob.com>
18438 * misc/sys/mman.h: Fix typo in mremap comment.
18440 2013-02-08 Roland McGrath <roland@hack.frob.com>
18442 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18443 the '\0' terminator.
18445 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18448 * debug/segfault.c: Don't include <bp-checks.h>.
18449 * sysdeps/generic/bp-checks.h: Remove file.
18450 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18451 (__GETDENTS): Don't use CHECK_N.
18452 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18453 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18454 (__getgroups): Don't use CHECK_N.
18455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18456 (setgroups): Don't use CHECK_N.
18457 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18458 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18459 (__libc_msgrcv): Don't use CHECK_N.
18460 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18461 (__libc_msgsnd): Don't use CHECK_N.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18464 (__libc_pread): Don't use CHECK_N.
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18466 include <bp-checks.h>.
18467 (__libc_pread64): Don't use CHECK_N.
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18469 include <bp-checks.h>.
18470 (__libc_pwrite): Don't use CHECK_N.
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18472 include <bp-checks.h>.
18473 (__libc_pwrite64): Don't use CHECK_N.
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18476 (__libc_pread): Don't use CHECK_N.
18477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18478 include <bp-checks.h>.
18479 (__libc_pread64): Don't use CHECK_N.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18481 include <bp-checks.h>.
18482 (__libc_pwrite): Don't use CHECK_N.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18484 include <bp-checks.h>.
18485 (__libc_pwrite64): Don't use CHECK_N.
18486 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18487 (do_pread): Don't use CHECK_N.
18488 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18489 (do_pread64): Don't use CHECK_N.
18490 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18491 (do_pwrite): Don't use CHECK_N.
18492 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18493 (do_pwrite64): Don't use CHECK_N.
18494 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18495 (__libc_readv): Don't use CHECK_N.
18496 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18497 (semop): Don't use CHECK_N.
18498 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18500 (semtimedop): Don't use CHECK_N.
18501 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18502 (__libc_pread): Don't use CHECK_N.
18503 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18505 (__libc_pread64): Don't use CHECK_N.
18506 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18508 (__libc_pwrite): Don't use CHECK_N.
18509 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18511 (__libc_pwrite64): Don't use CHECK_N.
18512 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18514 (__libc_msgrcv): Don't use CHECK_N.
18515 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18516 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18517 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18518 (__libc_writev): Don't use CHECK_N.
18520 2013-02-08 Roland McGrath <roland@hack.frob.com>
18522 * string/strcpy.c: Removed unused variable.
18524 * Makeconfig (+sysdep-includes): Define with := rather than =.
18525 Use an existing include/ subdir of each sysdeps dir before it.
18527 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18529 * nscd/connection.c (register_traced_file): Comment function.
18530 [HAVE_INOTIFY] (union __inev): Define.
18531 [HAVE_INOTIFY] (inotify_check_files): New function.
18532 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18533 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18535 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18537 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18539 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18540 loaded if not already and that a failure is permanent.
18542 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18545 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18546 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18548 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18551 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18552 (CHECK_1_NULL_OK): Likewise.
18553 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18554 (__fxstat): Do not use CHECK_1.
18555 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18557 (___fxstat64): Do not use CHECK_1.
18558 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18560 (__fxstatat): Do not use CHECK_1.
18561 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18563 (__fxstatat64): Do not use CHECK_1.
18564 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18566 (__fxstat): Do not use CHECK_1.
18567 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18569 (__fxstatat): Do not use CHECK_1.
18570 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18572 (__getresgid): Do not use CHECK_1.
18573 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18575 (__getresuid): Do not use CHECK_1.
18576 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18578 (__lxstat): Do not use CHECK_1.
18579 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18581 (__old_msgctl): Do not use CHECK_1.
18582 (__new_msgctl): Likewise.
18583 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18585 (__new_setrlimit): Do not use CHECK_1.
18586 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18588 (__old_shmctl): Do not use CHECK_1.
18589 (__new_shmctl): Likewise.
18590 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18592 (__xstat): Do not use CHECK_1.
18593 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18594 (__lxstat): Do not use CHECK_1.
18595 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18597 (___lxstat64): Do not use CHECK_1.
18598 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18599 (__old_msgctl): Do not use CHECK_1.
18600 (__new_msgctl): Likewise.
18601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18603 (__gettimeofday): Do not use CHECK_1.
18604 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18605 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18606 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18608 (__gettimeofday): Do not use CHECK_1.
18609 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18610 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18611 (__new_shmctl): Do not use CHECK_1.
18612 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18614 (do_sigtimedwait): Do not use CHECK_1.
18615 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18617 (do_sigwaitinfo): Do not use CHECK_1.
18618 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18620 (msgctl): Do not use CHECK_1.
18621 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18623 (shmctl): Do not use CHECK_1.
18624 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18625 (ustat): Do not use CHECK_1.
18626 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18628 (__fxstat): Do not use CHECK_1.
18629 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18631 (__fxstatat): Do not use CHECK_1.
18632 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18634 (__lxstat): Do not use CHECK_1.
18635 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18637 (__xstat): Do not use CHECK_1.
18638 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18639 (__xstat): Do not use CHECK_1.
18640 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18641 (___xstat64): Do not use CHECK_1.
18644 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18646 (CHECK_BOUNDS_HIGH): Likewise.
18647 * string/strcpy.c: Do not include <bp-checks.h>.
18648 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18650 2013-02-07 Roland McGrath <roland@hack.frob.com>
18652 * nscd/nscd-client.h (__nscd_drop_map_ref):
18653 Add __attribute__ ((unused)).
18654 * nis/nss-nisplus.h (niserr2nss): Likewise.
18656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18657 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18659 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18660 Remove inline keyword.
18661 * include/rounding-mode.h (round_away): Likewise.
18662 * libio/wfileops.c (adjust_wide_data): Likewise.
18663 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18664 (__m128i_strloadu_tolower): Likewise.
18665 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18666 (__m128i_strloadu_tolower): Likewise.
18667 * time/mktime.c (ydhms_diff): Likewise.
18668 * locale/elem-hash.h (elem_hash): Likewise.
18669 * locale/setlocale.c (setdata): Likewise.
18670 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18671 (re_string_wchar_at): Likewise.
18672 (bitset_not, bitset_merge, bitset_mask): Likewise.
18673 [!(__GNUC__ > 3)] (inline): Remove macro.
18674 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18675 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18676 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18677 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18678 * string/memcmp.c (memcmp_bytes): Likewise.
18679 * locale/programs/locarchive.c (compute_hashval): Likewise.
18680 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18681 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18682 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18683 * nss/getent.c (print_rpc, print_protocols): Likewise.
18684 (print_passwd, print_group, print_aliases): Likewise.
18685 * nis/nss-nisplus.h (niserr2nss): Likewise.
18686 * nscd/connections.c (restart_p): Likewise.
18687 Change return type to bool.
18689 2013-02-05 Roland McGrath <roland@hack.frob.com>
18691 * Makeconfig (all-Depend-files): Add existing
18692 $(sorted-subdirs:=/Depend) files.
18693 (all-subdirs): Remove nss.
18694 * sysdeps/unix/inet/Subdirs: Add it here instead.
18695 * hesiod/Depend: New file.
18697 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18698 instead of calling alloca.
18700 * io/lseek.c (__lseek): Rename to __libc_lseek.
18701 Define __lseek as an alias.
18703 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18705 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18707 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18708 else clause and remove check for non-standard endianness.
18710 2013-02-04 David S. Miller <davem@davemloft.net>
18712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18714 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18717 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18718 (__ubp_memchr): Remove prototype.
18719 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18720 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18721 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18722 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18723 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18725 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18726 (__ubp_memchr): Likewise.
18727 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18728 (__ubp_memchr): Likewise.
18729 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18730 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18731 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18732 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18734 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18735 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18736 (__getcwd): Do not use CHECK_STRING.
18737 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18739 (__real_chown): Do not use CHECK_STRING.
18740 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18742 (fchownat): Do not use CHECK_STRING.
18743 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18745 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18747 (__lchown): Do not use CHECK_STRING.
18748 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18749 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18750 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18751 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18753 include <bp-checks.h>.
18754 (truncate64): Do not use CHECK_STRING.
18755 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18757 (__real_chown): Do not use CHECK_STRING.
18758 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18760 (__lchown): Do not use CHECK_STRING.
18761 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18763 (__chown): Do not use CHECK_STRING.
18764 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18766 (truncate64): Do not use CHECK_STRING.
18767 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18769 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18770 (__xmknod): Do not use CHECK_STRING.
18771 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18773 (__xmknodat): Do not use CHECK_STRING.
18774 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18775 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18777 2013-02-04 Andreas Schwab <schwab@suse.de>
18780 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18781 * include/netdb.h: Likewise for h_errno.
18782 * elf/tst-stackguard1.c: Include <tls.h>.
18784 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18786 * elf/link.h (struct link_map): Extend the l_addr comment.
18787 * include/link.h (struct link_map): Likewise.
18789 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18792 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18793 (BOUNDED_1): Remove macro.
18794 * debug/backtrace.c: Don't include <bp-checks.h>.
18795 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18796 (__backtrace): Likewise.
18797 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18799 (__backtrace): Don't use BOUNDED_1.
18800 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18802 (__backtrace): Don't use BOUNDED_1.
18803 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18804 (__backtrace): Don't use BOUNDED_1.
18805 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18806 (shmat): Don't use BOUNDED_N.
18808 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18811 * sysdeps/generic/bp-start.h: Remove file.
18812 * csu/libc-start.c: Don't include <bp-start.h>.
18813 (LIBC_START_MAIN): Set up __environ directly instead of using
18814 INIT_ARGV_and_ENVIRON.
18815 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18819 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18821 (CHECK_FCNTL): Likewise.
18822 (CHECK_N_PAGES): Likewise.
18825 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18827 (CHECK_SIGSET_NULL_OK): Likewise.
18828 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18830 (sigpending): Don't use CHECK_SIGSET.
18831 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18834 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18836 (do_sigsuspend): Don't use CHECK_SIGSET.
18837 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18839 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18840 (do_sigwait): Don't use CHECK_SIGSET.
18841 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18843 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18844 include <bp-checks.h>.
18845 (sigpending): Don't use CHECK_SIGSET.
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18847 include <bp-checks.h>.
18848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18849 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18851 (sigpending): Don't use CHECK_SIGSET.
18852 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18854 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18857 * sysdeps/generic/bp-semctl.h: Remove file.
18858 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18859 <bp-checks.h> and <bp-semctl.h>.
18860 (__old_semctl): Don't use CHECK_SEMCTL.
18861 (__new_semctl): Likewise.
18862 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18864 (__old_semctl): Don't use CHECK_SEMCTL.
18865 (__new_semctl): Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18867 <bp-checks.h> and <bp-semctl.h>.
18868 (__old_semctl): Don't use CHECK_SEMCTL.
18869 (__new_semctl): Likewise.
18870 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18871 <bp-checks.h> and <bp-semctl.h>.
18872 (semctl): Don't use CHECK_SEMCTL.
18875 * Makerules (elide-bp-thunks): Remove variable.
18876 (elide-routines.oS): Don't use $(elide-bp-thunks).
18877 (elide-routines.os): Likewise.
18878 (elide-routines.o): Likewise.
18879 (elide-routines.op): Likewise.
18880 (elide-routines.og): Likewise.
18881 (objects): Don't use $(bp-thunks).
18882 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18884 (common-generated): Do not add s-proto-bp.d.
18885 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18888 Do not generate makefile rules for bounded-pointer thunks.
18889 * sysdeps/generic/bp-thunks.h: Remove file.
18890 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18891 * sysdeps/unix/s-proto-bp.S: Likewise.
18894 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18895 parts of result separately when argument is not close to line from
18896 -i to i and one part of argument is small.
18897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18899 * math/libm-test.inc (cacos_test): Add more tests.
18900 (casin_test): Likewise.
18901 (casinh_test): Likewise.
18902 * sysdeps/i386/fpu/libm-test-ulps: Update.
18903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18905 2013-01-31 David S. Miller <davem@davemloft.net>
18907 * po/de.po: Update from translation team.
18909 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18911 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18913 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18915 * configure.in (_AC_PROG_CC_C89): New definition.
18916 * configure: Regenerate.
18918 * configure.in (AC_PROG_CPP): New definition.
18919 * configure: Regenerate.
18921 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18923 * debug/tst-backtrace.h: New file.
18924 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18925 (ret): Remove variable.
18927 (FAIL): Remove macro.
18928 (NO_INLINE): Likewise.
18929 (fn1): Use match function instead of strstr.
18930 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18931 (ret): Remove variable.
18933 (FAIL): Remove macro.
18934 (NO_INLINE): Likewise.
18935 (fn): Use match function instead of strstr.
18936 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18937 (ret): Remove variable.
18939 (FAIL): Remove macro.
18940 (NO_INLINE): Likewise.
18941 (handle_signal): Use match function instead of strstr.
18942 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18943 (ret): Remove variable.
18945 (FAIL): Remove macro.
18946 (NO_INLINE): Likewise.
18947 (handle_signal): Use match function instead of strstr.
18949 2013-01-23 Roland McGrath <roland@hack.frob.com>
18951 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18953 2013-01-23 David S. Miller <davem@davemloft.net>
18955 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18956 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18957 argument of CAS if possible.
18958 * sysdeps/sparc/sparc64/bits/atomic.h
18959 (__arch_compare_and_exchange_val_32_acq): Likewise.
18960 (__arch_compare_and_exchange_val_64_acq): Likewise.
18962 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18964 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18965 * sysdeps/posix/ulimit.c: ... this.
18966 Include <limits.h>.
18967 * sysdeps/unix/bsd/ulimit.c: Remove file.
18969 2013-01-23 Adam Conrad <adconrad@0c3.net>
18971 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18972 (LDFLAGS-tst-array5): Likewise.
18974 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18977 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18978 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18979 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18980 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18982 2013-01-21 David S. Miller <davem@davemloft.net>
18984 * sysdeps/sparc/backtrace.c: New file.
18985 * sysdeps/sparc/sparc32/backtrace.h: New file.
18986 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18987 * sysdeps/sparc/sparc64/backtrace.h: New file.
18988 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18989 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18992 2013-01-21 Andreas Schwab <schwab@suse.de>
18995 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18998 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19004 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19005 Mark Mitchell <mark@codesourcery.com>
19006 Tom de Vries <tom@codesourcery.com>
19007 Paul Pluzhnikov <ppluzhnikov@google.com>
19009 * debug/tst-backtrace2.c: New file.
19010 * debug/tst-backtrace3.c: Likewise.
19011 * debug/tst-backtrace4.c: Likewise.
19012 * debug/tst-backtrace5.c: Likewise.
19013 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19014 (CFLAGS-tst-backtrace3.c): Likewise.
19015 (CFLAGS-tst-backtrace4.c): Likewise.
19016 (CFLAGS-tst-backtrace5.c): Likewise.
19017 (LDFLAGS-tst-backtrace2): Likewise.
19018 (LDFLAGS-tst-backtrace3): Likewise.
19019 (LDFLAGS-tst-backtrace4): Likewise.
19020 (LDFLAGS-tst-backtrace5): Likewise.
19021 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19022 tst-backtrace4 and tst-backtrace5.
19024 2013-01-18 Anton Blanchard <anton@samba.org>
19025 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19027 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19028 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19029 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19030 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19032 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19033 "+r" and remove output regs list as redundant. Add explicit inline
19034 asm to specify register of return val to work around compiler codegen
19035 bug. Remove (int) cast on return value. Add return type parameter to
19036 use in macro so that this macro does not truncate return value for
19038 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19039 pass to INTERNAL_VSYSCALL_NCS.
19040 (INLINE_VSYSCALL): Add 'long int' as return type to
19041 INTERNAL_VSYSCALL_NCS macro invocation.
19042 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19043 INTERNAL_VSYSCALL_NCS macro invocation.
19044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19046 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19049 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19050 Fix application of SIMD FP exception mask.
19052 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19053 mp_no from a power of two.
19054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19055 __mpexp_twomm1. Use __pow_mp.
19057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19060 2013-01-17 David S. Miller <davem@davemloft.net>
19062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19064 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19067 * include/complex.h: Condition contents on [!_COMPLEX_H].
19068 (__kernel_casinhf): New prototype.
19069 (__kernel_casinh): Likewise.
19070 (__kernel_casinhl): Likewise.
19071 * math/Makefile (libm_calls): Add k_casinh.
19072 * math/k_casinh.c: New file.
19073 * math/k_casinhf.c: Likewise.
19074 * math/k_casinhl.c: Likewise.
19075 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19076 finite nonzero arguments.
19077 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19078 finite nonzero arguments.
19079 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19080 finite nonzero arguments.
19081 * math/s_casinh.c: Do not include <float.h>.
19082 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19083 * math/s_casinhf.c: Do not include <float.h>.
19084 (__casinhf): Move code for finite nonzero arguments to
19086 * math/s_casinhl.c: Do not include <float.h>.
19087 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19089 (__casinhl): Move code for finite nonzero arguments to
19091 * math/libm-test.inc (cacos_test): Add more tests.
19092 * sysdeps/i386/fpu/libm-test-ulps: Update.
19093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19095 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19097 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19098 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19099 [!HAVE_MREMAP]: Remove [defined linux] case.
19100 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19102 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19104 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19106 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19108 * elf/elf.h (R_386_SIZE32): New relocation.
19109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19111 (elf_machine_rela): Likewise.
19112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19113 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19115 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19117 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19118 (FP_FAST_FMA): Do not define.
19119 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19120 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19121 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19122 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19123 !_SOFT_FLOAT]: Likewise.
19124 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19128 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19129 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19131 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19132 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19135 2013-01-16 Andreas Schwab <schwab@suse.de>
19138 * include/stdlib.h (__mktemp): Add declaration.
19139 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19140 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19142 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19144 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19146 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19147 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19148 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19150 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19151 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19155 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19156 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19157 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19159 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19160 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19162 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19164 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19166 2013-01-15 David S. Miller <davem@davemloft.net>
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19169 trunc{,f} to libm-sysdep_routes.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19181 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19182 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19183 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19184 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19185 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19188 nearbyint{,f} to libm-sysdep_routes.
19189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19206 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19207 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19209 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19210 libc_feholdexcept and libc_fesetenv.
19212 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19214 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19216 2013-01-14 David S. Miller <davem@davemloft.net>
19218 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19219 (SPARC_ASM_VIS2_IFUNC): Likewise.
19220 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19222 use of 'siam' instruction.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19256 routines to libm-sysdep_routines.
19257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19260 fdim/fdimf to libm-sysdep_routines.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19269 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19270 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19272 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19274 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19276 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19277 to optimize copies.
19279 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19284 local variable MPTWO.
19285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19288 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19290 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19293 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19295 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19297 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19299 * manual/pattern.texi (glob_t): Document gl_flags.
19300 (glob64_t): Likewise.
19302 2013-01-11 David S. Miller <davem@davemloft.net>
19304 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19305 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19306 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19307 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19308 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19309 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19310 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19311 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19312 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19313 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19314 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19315 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19316 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19318 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19319 sparc V9 rather than using V8 code.
19320 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19321 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19325 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19328 2013-01-11 Roland McGrath <roland@hack.frob.com>
19330 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19331 not in the main loop.
19332 * configure: Regenerated.
19334 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19336 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19337 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19339 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19340 [!__GLIBC_HAVE_LONG_LONG] case.
19341 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19342 condition to just #else.
19343 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19344 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19345 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19346 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19348 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19349 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19350 #elif condition to just #else.
19351 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19352 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19353 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19354 #elif condition to just #else.
19356 2013-01-11 Steve Ellcey <sellcey@mips.com>
19358 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19359 (EF_MIPS_ARCH_64): Fix value.
19360 (EF_MIPS_ARCH_32R2): New.
19361 (EF_MIPS_ARCH_64R2): New.
19363 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19365 * Makeconfig (+link-pie-before-libc): New.
19366 (+link-pie-after-libc): Likewise.
19367 (+link-pie-tests): Likewise.
19368 (+link-pie): Rewritten.
19369 (link-before-libc): Remove $(config-LDFLAGS).
19370 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19371 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19372 (config-LDFLAGS): Renamed to ...
19373 (rtld-LDFLAGS): This.
19374 (rtld-tests-LDFLAGS): New macro.
19375 (link-libc-rpath-link): Likewise.
19376 (link-libc-tests-rpath-link): Likewise.
19377 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19378 (link-libc): Prepand $(link-libc-rpath-link).
19379 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19380 (test-program-prefix): New macro.
19381 (test-via-rtld-prefix): Likewise.
19382 (test-program-cmd): Likewise.
19383 (host-test-program-cmd): Likewise.
19384 * Makefile ($(common-objpfx)testrun.sh): Replace
19385 $(run-program-prefix) with $(test-program-prefix).
19386 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19388 ($(common-objpfx)shlib.lds): Likewise.
19389 (build-module-helper): Likewise.
19390 ($(common-objpfx)format.lds): Likewise.
19391 * Rules (binaries-pie-tests): New.
19392 (binaries-pie-notests): Likewise.
19393 (binaries-pie): Rewritten.
19394 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19395 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19396 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19397 (make-test-out): Replace $(host-built-program-cmd) with
19398 $(host-test-program-cmd).
19399 * config.make.in (build-hardcoded-path-in-tests): New variable.
19400 * configure.in (--enable-hardcoded-path-in-tests): New configure
19402 (hardcoded_path_in_tests): New AC_SUBST.
19403 * configure: Regenerated.
19404 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19405 $(built-program-cmd) with $(test-program-cmd).
19406 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19407 (test_program_cmd): This.
19408 * elf/Makefile ($(objpfx)order.out): Run test with
19409 $(test-program-prefix).
19410 ($(objpfx)order2.out): Likewise.
19411 ($(objpfx)tst-initorder.out): Likewise.
19412 ($(objpfx)tst-initorder2.out): Likewise.
19413 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19414 $(test-program-cmd).
19415 ($(objpfx)tst-array1-static.out): Likewise.
19416 ($(objpfx)tst-array2.out): Likewise.
19417 ($(objpfx)tst-array3.out): Likewise.
19418 ($(objpfx)tst-array4.out): Likewise.
19419 ($(objpfx)tst-array5.out): Likewise.
19420 ($(objpfx)tst-array5-static.out): Likewise.
19421 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19422 $(test-program-cmd).
19423 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19424 $(run-program-prefix) with $(test-program-prefix).
19425 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19426 (test_program_prefix): This.
19427 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19428 $(run-program-prefix) with $(test-program-prefix).
19429 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19430 (test_program_prefix): This.
19431 * iconvdata/tst-tables.sh: Likewise.
19432 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19433 $(run-program-prefix) with $(test-program-prefix).
19434 ($(objpfx)tst-translit.out): Likewise.
19435 ($(objpfx)tst-gettext2.out): Likewise.
19436 ($(objpfx)tst-gettext4.out): Likewise.
19437 ($(objpfx)tst-gettext6.out): Likewise.
19438 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19439 (test_program_prefix): This.
19440 * intl/tst-gettext2.sh: Likewise.
19441 * intl/tst-gettext4.sh Likewise.
19442 * intl/tst-gettext6.sh: Likewise.
19443 * intl/tst-translit.sh: Likewise.
19444 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19445 with $(test-program-cmd).
19446 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19447 $(run-program-prefix) with $(test-program-prefix).
19448 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19449 (test_program_prefix): This.
19450 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19451 $(run-program-prefix) with $(test-program-prefix).
19452 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19453 (test_program_prefix): This.
19454 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19455 * posix/Makefile ($(objpfx)globtest.out): Replace
19456 $(run-via-rtld-prefix) and $(test-wrapper) with
19457 $(test-program-prefix) and $(test-via-rtld-prefix).
19458 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19459 $(test-program-prefix).
19460 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19461 $(host-test-program-cmd).
19462 (tst-spawn-ARGS): Likewise.
19463 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19464 $(test-program-prefix).
19465 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19466 (test_via_rtld_prefix): This.
19467 (test_wrapper): Renamed to ...
19468 (test_program_prefix): This.
19469 (run_program_prefix): Replaced by test_program_prefix.
19470 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19471 (test_program_prefix): This.
19472 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19473 with $(host-test-program-cmd).
19474 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19475 $(run-program-prefix) with $(test-program-prefix).
19476 ($(objpfx)tst-printf.out): Likewise.
19477 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19478 $(test-program-cmd).
19479 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19480 (test_program_prefix): This.
19481 * stdio-common/tst-unbputc.sh: Likewise.
19482 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19483 $(run-program-prefix) with $(test-program-prefix).
19484 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19485 (test_program_prefix): This.
19486 * string/Makefile ($(objpfx)tst-svc.out): Replace
19487 $(built-program-cmd) with $(test-program-cmd).
19489 2013-01-11 Andreas Jaeger <aj@suse.de>
19492 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19493 value. Sync with Linux 3.7.
19495 2013-01-10 David S. Miller <davem@davemloft.net>
19497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19498 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19499 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19501 2013-01-10 Roland McGrath <roland@hack.frob.com>
19503 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19505 * configure: Regenerated.
19507 2013-01-10 David S. Miller <davem@davemloft.net>
19509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19510 sparc V9 rather than using V8 code.
19511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19514 2013-01-10 Roland McGrath <roland@hack.frob.com>
19516 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19517 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19518 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19519 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19520 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19521 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19522 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19523 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19524 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19525 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19526 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19527 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19528 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19529 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19530 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19531 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19532 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19533 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19534 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19535 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19536 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19537 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19538 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19539 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19540 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19541 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19542 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19544 2013-01-10 David S. Miller <davem@davemloft.net>
19546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19548 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19550 * posix/Makefile (tests-static): New variable.
19551 (tests): Add $(tests-static).
19552 (tst-exec-static-ARGS): New variable.
19553 (tst-spawn-static-ARGS): Likewise.
19554 * posix/tst-exec-static.c: New file.
19555 * posix/tst-spawn-static.c: Likewise.
19556 * posix/tst-exec.c: Support run directly.
19557 * posix/tst-spawn.c: Likewise.
19559 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19561 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19563 * math/bits/mathcalls.h (llrint): Likewise.
19564 (llround): Likewise.
19565 * stdlib/stdlib.h (struct drand48_data): Likewise.
19566 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19567 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19568 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19570 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19572 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19573 (elf_greg_t): Likewise.
19574 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19575 (__jmp_buf): Likewise.
19576 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19578 (llrint): Likewise, for all definitions.
19579 (llrintl): Likewise.
19581 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19582 Remove [__GNUC__] condition.
19583 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19584 condition to just [__USE_ISOC99].
19585 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19587 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19590 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19591 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19593 (_POSIX_V6_ILP32_OFF32): Likewise.
19594 (_XBS5_ILP32_OFF32): Likewise.
19595 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19596 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19598 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19600 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19603 doubles __mpexp_twomm1. Adjust usage.
19604 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19607 2013-01-10 Andreas Schwab <schwab@suse.de>
19610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19611 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19613 2013-01-09 David S. Miller <davem@davemloft.net>
19616 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19617 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19618 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19619 TCP_FASTOPEN): Define.
19620 (tcp_repair_opt): New structure.
19621 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19623 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19624 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19625 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19626 (tcp_cookie_transactions): New structure.
19628 2013-01-09 Anton Blanchard <anton@samba.org>
19630 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19631 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19632 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19635 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19637 * include/features.h (__USE_ANSI): Remove.
19639 2013-01-09 Roland McGrath <roland@hack.frob.com>
19641 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19643 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19645 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19647 * sysdeps/s390/fpu/libm-test-ulps: Update.
19649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19655 (denorm): Likewise.
19656 (__mp_dbl): Likewise.
19657 (__dbl_mp): Likewise.
19658 (add_magnitudes): Likewise.
19659 (sub_magnitudes): Likewise.
19665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19669 (denorm): Likewise.
19670 (__mp_dbl): Likewise.
19671 (__dbl_mp): Likewise.
19672 (add_magnitudes): Likewise.
19673 (sub_magnitudes): Likewise.
19679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19683 (denorm): Likewise.
19684 (__mp_dbl): Likewise.
19685 (__dbl_mp): Likewise.
19686 (add_magnitudes): Likewise.
19687 (sub_magnitudes): Likewise.
19694 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19696 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19697 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19698 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19699 2 && __USE_EXTERN_INLINES]: Likewise.
19701 2013-01-08 Andreas Jaeger <aj@suse.de>
19704 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19706 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19707 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19709 2013-01-07 Anton Blanchard <anton@samba.org>
19711 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19712 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19713 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19714 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19715 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19716 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19717 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19718 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19720 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19721 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19722 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19724 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19732 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19734 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19736 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19738 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19741 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19744 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19749 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19750 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19751 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19755 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19757 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19758 (__MALLOC_PMT): Likewise.
19759 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19760 [__GNUC__], only on [_LIBC].
19761 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19762 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19763 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19764 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19765 forward declaration.
19766 (realloc_hook_ini): Likewise.
19767 (memalign_hook_ini): Likewise.
19768 (__libc_memalign): Do not use __MALLOC_PMT in variable
19770 (__libc_valloc): Likewise.
19771 (__libc_pvalloc): Likewise.
19772 (__libc_calloc): Likewise.
19773 (__posix_memalign): Likewise.
19776 * math/s_casinh.c: Include <float.h>.
19777 (__casinh): Do not do computation with squaring and square root
19778 for large arguments.
19779 * math/s_casinhf.c: Include <float.h>.
19780 (__casinhf): Do not do computation with squaring and square root
19781 for large arguments.
19782 * math/s_casinhl.c: Include <float.h>.
19783 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19784 (__casinhl): Do not do computation with squaring and square root
19785 for large arguments.
19786 * math/libm-test.inc (casin_test): Add more tests.
19787 (casinh_test): Likewise.
19788 * sysdeps/i386/fpu/libm-test-ulps: Update.
19789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19791 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19793 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19794 (__x86_64_raw_data_cache_size): Likewise.
19795 (__x86_64_data_cache_size_half): Likewise.
19796 (__x86_64_raw_data_cache_size_half): Likewise.
19797 (__x86_64_shared_cache_size): Likewise.
19798 (__x86_64_raw_shared_cache_size): Likewise.
19799 (__x86_64_shared_cache_size_half): Likewise.
19800 (__x86_64_raw_shared_cache_size_half): Likewise.
19801 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19803 (__x86_data_cache_size): This.
19804 (__x86_64_raw_data_cache_size): Renamed to ...
19805 (__x86_raw_data_cache_size): This.
19806 (__x86_64_data_cache_size_half): Renamed to ...
19807 (__x86_data_cache_size_half): This.
19808 (__x86_64_raw_data_cache_size_half): Renamed to ...
19809 (__x86_raw_data_cache_size_half): This.
19810 (__x86_64_shared_cache_size): Renamed to ...
19811 (__x86_shared_cache_size): This.
19812 (__x86_64_raw_shared_cache_size): Renamed to ...
19813 (__x86_raw_shared_cache_size): This.
19814 (__x86_64_shared_cache_size_half): Renamed to ...
19815 (__x86_shared_cache_size_half): This.
19816 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19817 (__x86_raw_shared_cache_size_half): This.
19818 * sysdeps/x86_64/memcpy.S: Updated.
19819 * sysdeps/x86_64/memset.S: Likewise.
19820 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19824 2013-01-04 David S. Miller <davem@davemloft.net>
19826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19828 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19830 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19831 1 to avoid redefinition warning.
19832 (__USE_GNU): Don't define.
19833 (init_signaling_nan): Protoize.
19835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19837 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19839 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19841 (__cpymn): Likewise.
19842 (norm): Remove commented code.
19843 (denorm): Likewise.
19844 (__mp_dbl): Likewise.
19846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19847 (__cpymn): Likewise.
19848 (norm): Remove commented code.
19849 (denorm): Likewise.
19850 (__mp_dbl): Likewise.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19854 mp_no value for 1.0 and 2.0.
19855 (norm): Use RADIXI instead of radixi.d.
19856 (denorm): Likewise.
19857 (__mul): Use 0.0 instead of zero.d.
19858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19859 mp_no value for 1.0 and 2.0.
19860 (norm): Use RADIXI instead of radixi.d.
19861 (denorm): Likewise.
19862 (__mul): Use 0.0 instead of zero.d.
19864 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19867 * math/s_casinh.c (__casinh): Reduce finite argument to first
19868 quadrant then set signs of results at the end.
19869 * math/s_casinhf.c (__casinhf): Likewise.
19870 * math/s_casinhl.c (__casinhl): Likewise.
19871 * math/libm-test.inc (casin_test): Add more tests.
19872 (casinh_test): Likewise.
19873 * sysdeps/i386/fpu/libm-test-ulps: Update.
19874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19878 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19880 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19882 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19884 (denorm): Likewise.
19885 (__mp_dbl): Likewise.
19888 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19889 and adjust the header comment.
19891 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19892 variable name from declaration.
19894 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19897 Initialize COMMON_CPUID_INDEX_7 element.
19898 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19899 (CPUID_RTM): Likewise.
19900 (HAS_RTM): Likewise.
19901 (COMMON_CPUID_INDEX_7): New enum.
19903 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19906 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19907 size is zero, record memory as freed.
19909 2013-01-03 Andreas Jaeger <aj@suse.de>
19911 * po/ia.po: Add new Interlingua translation.
19913 2012-01-03 Allan McRae <allan@archlinux.org>
19915 * locale/programs/localedef.c: Fix description of '--posix' flag.
19917 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19919 * NEWS: Update dates in second copyright notice.
19920 * README: Update copyright dates in example.
19921 * manual/libc.texinfo: Update copyright dates.
19922 * scripts/test-installation.pl: Update copyright date in --version
19925 * hurd/ctty-input.c: Fix copyright notice formatting.
19926 * hurd/ctty-output.c: Likewise.
19927 * hurd/dtable.c: Likewise.
19928 * hurd/hurd-raise.c: Likewise.
19929 * hurd/hurdprio.c: Likewise.
19930 * hurd/msgportdemux.c: Likewise.
19931 * misc/sys/file.h: Likewise.
19932 * misc/sys/ioctl.h: Likewise.
19933 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19934 * sysdeps/mach/hurd/chdir.c: Likewise.
19935 * sysdeps/mach/hurd/fchdir.c: Likewise.
19936 * sysdeps/mach/hurd/rename.c: Likewise.
19937 * sysdeps/mach/hurd/rmdir.c: Likewise.
19938 * sysdeps/mach/hurd/seekdir.c: Likewise.
19939 * sysdeps/mach/hurd/setsid.c: Likewise.
19940 * sysdeps/posix/wait3.c: Likewise.
19942 * All files with FSF copyright notices: Update copyright dates
19943 using scripts/update-copyrights.
19944 * intl/plural.c: Regenerated.
19945 * locale/programs/charmap-kw.h: Likewise.
19946 * locale/programs/locfile-kw.h: Likewise.
19948 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19950 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19953 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19954 calculation loop and add branch prediction.
19956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19957 check access beyond bounds of m1np.
19959 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19961 (__inv): Remove local variable MPTWO to use the global
19963 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19964 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19967 MP3HALFS static const.
19969 2013-01-01 David S. Miller <davem@davemloft.net>
19971 * po/ca.po: Update from translation team.
19973 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19975 * scripts/update-copyrights: New file.
19976 * Makeconfig: Reformat copyright notice.
19977 * ctype/ctype.h: Likewise.
19978 * debug/swprintf_chk.c: Likewise.
19979 * elf/dl-cache.c: Likewise.
19980 * elf/dl-debug.c: Likewise.
19981 * elf/dl-object.c: Likewise.
19982 * grp/initgroups.c: Likewise.
19983 * hurd/Makefile: Likewise.
19984 * hurd/hurd/signal.h: Likewise.
19985 * hurd/hurdfault.c: Likewise.
19986 * hurd/hurdioctl.c: Likewise.
19987 * hurd/hurdlookup.c: Likewise.
19988 * hurd/intr-msg.c: Likewise.
19989 * iconv/gconv_open.c: Likewise.
19990 * libio/swprintf.c: Likewise.
19991 * locale/lc-ctype.c: Likewise.
19992 * locale/nl_langinfo.c: Likewise.
19993 * mach/Machrules: Likewise.
19994 * mach/Makefile: Likewise.
19995 * malloc/obstack.h: Likewise.
19996 * manual/Makefile: Likewise.
19997 * manual/tsort.awk: Likewise.
19998 * misc/bits/stab.def: Likewise.
19999 * nis/nis_print_group_entry.c: Likewise.
20000 * nis/nis_table.c: Likewise.
20001 * nis/nss_compat/compat-pwd.c: Likewise.
20002 * nis/nss_compat/compat-spwd.c: Likewise.
20003 * po/Makefile: Likewise.
20004 * posix/fnmatch.c: Likewise.
20005 * posix/regex.h: Likewise.
20006 * resolv/Makefile: Likewise.
20007 * resolv/nss_dns/dns-network.c: Likewise.
20008 * resolv/res_hconf.c: Likewise.
20009 * scripts/gen-sorted.awk: Likewise.
20010 * soft-fp/soft-fp.h: Likewise.
20011 * stdio-common/printf.h: Likewise.
20012 * stdlib/monetary.h: Likewise.
20013 * stdlib/random.c: Likewise.
20014 * stdlib/random_r.c: Likewise.
20015 * sysdeps/generic/Makefile: Likewise.
20016 * sysdeps/gnu/Makefile: Likewise.
20017 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20025 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20027 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20029 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20030 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20031 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20033 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20037 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20038 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20039 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20040 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20041 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20043 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20045 * sysdeps/mach/hurd/errnos.awk: Likewise.
20046 * sysdeps/mach/hurd/fork.c: Likewise.
20047 * sysdeps/mach/hurd/getcwd.c: Likewise.
20048 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20049 * sysdeps/mach/hurd/mmap.c: Likewise.
20050 * sysdeps/mach/hurd/utimes.c: Likewise.
20051 * sysdeps/mach/hurd/xmknod.c: Likewise.
20052 * sysdeps/posix/profil.c: Likewise.
20053 * sysdeps/posix/readdir_r.c: Likewise.
20054 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20055 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20056 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20057 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20059 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20061 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20063 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20064 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20065 * sysdeps/pthread/lio_listio.c: Likewise.
20066 * sysdeps/sparc/dl-procinfo.h: Likewise.
20067 * sysdeps/unix/i386/sysdep.S: Likewise.
20068 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20069 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20070 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20071 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20073 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20074 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20075 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20076 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20077 * sysdeps/wordsize-32/divdi3.c: Likewise.
20078 * time/sys/time.h: Likewise.
20079 * wcsmbs/Makefile: Likewise.
20081 2013-01-01 David S. Miller <davem@davemloft.net>
20083 * po/fr.po: Update from translation team.
20085 * catgets/gencat.c: Update copyright year.
20086 * csu/version.c: Likewise.
20087 * debug/catchsegv.sh: Likewise.
20088 * debug/pcprofiledump.c: Likewise.
20089 * debug/xtrace.sh: Likewise.
20090 * elf/ldconfig.c: Likewise.
20091 * elf/ldd.bash.in: Likewise.
20092 * elf/pldd.c: Likewise.
20093 * elf/sotruss.ksh: Likewise.
20094 * elf/sprof.c: Likewise.
20095 * iconv/iconv_prog.c: Likewise.
20096 * iconv/iconvconfig.c: Likewise.
20097 * locale/programs/locale.c: Likewise.
20098 * locale/programs/localedef.c: Likewise.
20099 * login/programs/pt_chown.c: Likewise.
20100 * malloc/memusage.sh: Likewise.
20101 * malloc/memusagestat.c: Likewise.
20102 * malloc/mtrace.pl: Likewise.
20103 * nscd/nscd.c: Likewise.
20104 * nss/getent.c: Likewise.
20105 * nss/makedb.c: Likewise.
20106 * posix/getconf.c: Likewise.
20108 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20110 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20113 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20115 * math/bits/mathcalls.h (modf): Use __nonnull.
20117 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20119 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20120 (split): Use macro CN instead of the bare value.
20121 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20124 instead of the bare value.
20125 (power1): Likewise.
20127 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20131 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20133 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20135 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20136 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20137 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20138 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20140 2012-12-28 Andreas Jaeger <aj@suse.de>
20142 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20143 values are from Linux 3.7.
20145 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20146 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20148 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20150 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20153 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20155 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20156 variables with preprocessor constants.
20157 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20158 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20159 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20161 2012-12-27 Bruno Haible <bruno@clisp.org>
20164 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20167 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20170 and use variable directly.
20171 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20173 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20175 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20178 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20180 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20181 include directive. Remove local variable MPONE.
20182 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20183 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20184 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20186 2012-12-25 David S. Miller <davem@davemloft.net>
20188 * version.h (RELEASE): Set to "development".
20189 (VERSION): Set to "2.17.90".
20190 * NEWS: Add 2.18 section.
20192 2012-12-21 David S. Miller <davem@davemloft.net>
20194 * po/hr.po: Update from translation team.
20196 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20198 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20200 2012-12-19 Steve Ellcey <sellcey@mips.com>
20202 * NEWS: Mention new memcpy for MIPS.
20204 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20206 * manual/contrib.texi (Contributors): Spelling correction.
20208 2012-12-15 David S. Miller <davem@davemloft.net>
20210 * po/ru.po: Update from translation team.
20212 2012-12-13 David S. Miller <davem@davemloft.net>
20214 * NEWS: Mention IFUNC testsuite enhancements.
20216 * po/pl.po: Update from translation team.
20217 * po/bg.po: Likewise.
20219 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20220 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20222 2012-12-11 David S. Miller <davem@davemloft.net>
20224 * po/sv.po: Update from translation team.
20226 * po/vi.po: Update from translation team.
20228 * po/cs.po: Update from translation team.
20230 * po/de.po: Update from translation team.
20231 * po/eo.po: Likewise.
20232 * po/nl.po: Likewise.
20234 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20237 * manual/argp.texi (Argp Helper Functions): Move node to follow
20238 Argp Parsing State.
20241 * manual/conf.texi (Limits on File System Capacity): Mention if
20242 terminating null is included in the max size.
20244 2012-12-10 Andreas Jaeger <aj@suse.de>
20246 * po/cs.po: Update from translation team.
20248 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20250 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20251 void pointer and cast to uintptr_t.
20252 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20254 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20255 * sysdeps/s390/s390-64/memset.S: Likewise.
20257 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20260 * menual/message.texi (Message Translation): Fix typos.
20261 (Helper programs for gettext): Likewise.
20263 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20266 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20269 2012-12-07 David S. Miller <davem@davemloft.net>
20271 * po/libc.pot: Update.
20273 2012-12-07 Richard Henderson <rth@redhat.com>
20276 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20277 normal/normal case to before the switch.
20278 (_FP_DIV): Likewise.
20280 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20281 Mike Frysinger <vapier@gentoo.org>
20283 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20284 check for __NR_fadvise64_64.
20286 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20288 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20289 0, not just to plain "0" as a statement.
20290 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20293 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20295 * NEWS: Use sourceware.org in Bugzilla URL.
20297 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20300 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20302 * stdio-common/tst-put-error.c (do_test): Add newline to the
20303 padded test to ensure flush.
20305 2012-12-05 Jeff Law <law@redhat.com>
20307 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20309 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20311 * README: Don't refer to ports add-on as distributed separately.
20312 Mention AArch64 in list of systems supported in the ports add-on.
20314 * LICENSES: Add more non-FSF copyright and license notices.
20316 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20319 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20321 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20322 10000 as width of padded output.
20324 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20326 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20329 variable LX with __attribute__ ((unused)).
20330 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20332 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20334 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20335 with __attribute__ ((unused)).
20337 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20339 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20341 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20343 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20344 (CFLAGS-nldbl-acos.c): New variable.
20345 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20440 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20441 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20444 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20448 whole low double instead of just low 47 bits when splitting values
20451 2012-12-03 Allan McRae <allan@archlinux.org>
20453 * manual/stdio.texi (Predefined Printf Handlers): Remove
20454 @hsep and @vsep usage.
20456 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20458 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20459 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20461 2012-12-03 Jeff Law <law@redhat.com>
20463 * time/sys/time.h (settimeofday): Do not mark TV argument
20466 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20468 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20469 when currently writing and seek to current position when not.
20470 * libio/Makefile (tests): Remove bug-fclose1.
20471 * libio/bug-fclose1.c: Delete.
20473 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20475 * manual/arith.texi (feenableexcept): Fix typo.
20476 (fedisableexcept): Likewise.
20478 2012-11-30 Roland McGrath <roland@hack.frob.com>
20480 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20481 second, differently-typed declaration, rather than a cast.
20483 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20485 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20486 * include/rpc/svc.h: ... here.
20488 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20491 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20492 depending n and resplen2 to catch cases where answer
20495 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20497 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20498 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20500 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20502 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20504 2012-11-29 Roland McGrath <roland@hack.frob.com>
20506 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20508 2012-11-28 Jeff Law <law@redhat.com>
20511 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20512 dataset_temporary. Track alloca usage into alloca_used.
20513 If dataset is large allocate and release it via malloc/free.
20515 2012-06-04 Florian Weimer <fweimer@redhat.com>
20518 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20520 2012-11-28 David S. Miller <davem@davemloft.net>
20522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20524 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20527 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20528 of pi/2 rounded to nearest to 64 bits.
20529 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20530 nearest to 64 bits.
20531 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20534 2012-11-28 Jeff Law <law@redhat.com>
20535 Martin Osvald <mosvald@redhat.com>
20538 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20539 * sunrpc/svc.c: Include time.h.
20540 (__svc_accept_failed): New function.
20541 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20542 any reason other than EINTR, call __svc_accept_failed.
20543 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20544 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20546 2012-11-28 Andreas Schwab <schwab@suse.de>
20548 * scripts/abilist.awk: Also handle indirect functions in .opd
20551 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20554 * sysdeps/x86/fpu/powl_helper.c: New file.
20555 * sysdeps/x86/fpu/Makefile: Likewise.
20556 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20558 (__ieee754_powl): Use __powl_helper for finite arguments except
20559 integer exponents below 8.
20560 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20562 (__ieee754_powl): Use __powl_helper for finite arguments except
20563 integer exponents below 8.
20564 * math/libm-test.inc (pow_test): Add more tests and enable some
20565 previously disabled tests.
20566 * sysdeps/i386/fpu/libm-test-ulps: Update.
20567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20569 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20570 Carlos O'Donell <carlos_odonell@mentor.com>
20572 * nss/makedb.c (is_prime): Assert that input is odd and greater
20573 than 4. Note that fact in a comment too.
20574 (next_prime): Add 4 to input.
20576 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20579 * libio/Makefile (tests): Add test case tst-fwrite-error.
20580 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20581 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20582 * libio/tst-fwrite-error.c: New test case.
20584 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20586 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20587 before casting to void *.
20588 * include/libc-internal.h (__pointer_type): New macro.
20589 (__integer_if_pointer_type_sub): Likewise.
20590 (__integer_if_pointer_type): Likewise.
20591 (cast_to_integer): Likewise.
20592 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20593 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20594 before casting to atomic64_t.
20595 (atomic_exchange_acq): Likewise.
20596 (__arch_exchange_and_add_body): Likewise.
20597 (__arch_add_body): Likewise.
20598 (atomic_add_negative): Likewise.
20599 (atomic_add_zero): Likewise.
20601 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20603 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20604 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20605 (add_fdes): Likewise.
20606 (linear_search_fdes): Likewise.
20607 (binary_search_unencoded_fdes): Likewise.
20609 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20611 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20613 2012-11-24 Adam Conrad <adconrad@0c3.net>
20615 * configure.in: Autodetect C++ header directories.
20616 * configure: Regenerated.
20618 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20620 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20622 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20626 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20628 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20629 LDBL_MANT_DIG == 106]: Disable some tests.
20630 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20632 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20636 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20637 input for small inputs. Return +/- pi/2 for large inputs.
20638 * math/libm-test.inc (atan_test): Add more tests.
20640 * sysdeps/generic/unwind-dw2-fde-glibc.c
20641 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20642 __attribute__ ((unused)).
20645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20646 x * y if x and y are nonzero and z is zero.
20649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20650 nonzero exponents with absolute value below 0x1p-117 to +/-
20654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20655 up arguments below 2**-450, not just those below 2**-500.
20656 * math/libm-test.inc (hypot_test): Add another test.
20659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20660 Return a+b for ratio over 2**120, not 2**60.
20661 * math/libm-test.inc (hypot_test): Add another test.
20663 * math/libm-test.inc (clog_test): Use
20664 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20665 (clog10_test): Likewise.
20668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20670 2012-11-22 Andreas Schwab <schwab@suse.de>
20672 * sysdeps/i386/fpu/libm-test-ulps: Update.
20674 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20676 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20677 printf output with newline.
20679 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20682 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20683 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20684 -z nodlopen, -z initfirst and -z execstack support.
20685 * configure: Regenerated.
20687 * elf/elf.h (DF_1_NODIRECT): New macro.
20688 (DF_1_IGNMULDEF): Likewise.
20689 (DF_1_NOKSYMS): Likewise.
20690 (DF_1_NOHDR): Likewise.
20691 (DF_1_EDITED): Likewise.
20692 (DF_1_NORELOC): Likewise.
20693 (DF_1_SYMINTPOSE): Likewise.
20694 (DF_1_GLOBAUDIT): Likewise.
20695 (DF_1_SINGLETON): Likewise.
20696 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20697 DT_1_SUPPORTED_MASK bits.
20698 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20700 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20702 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20704 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20706 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20709 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20710 (sendmmsg): Move declarations...
20711 * socket/sys/socket.h: ... here.
20712 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20713 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20715 * socket/recvmmsg.c: ... this new file.
20716 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20717 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20718 definition of __sendmmsg hidden.
20719 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20720 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20721 Move ENOSYS stub into and include it from...
20722 * socket/sendmmsg.c: ... this new file.
20723 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20724 (sysdep_routines): Move recvmmsg and sendmmsg...
20725 * socket/Makefile (routines): ... here.
20726 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20727 (GLIBC_PRIVATE): Add __sendmmsg.
20728 * include/sys/socket.h (__sendmmsg): Add declarations.
20729 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20732 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20735 variable I1 with __attribute__ ((unused)).
20736 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20738 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20740 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20741 DUMMY variables with __attribute__ ((unused)).
20743 * bits/byteswap.h: Include <bits/types.h>.
20744 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20746 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20748 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20749 string_t. Do not manually set errno.
20750 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20751 length with __strnlen. Make sure to both set errno and return it on
20754 2012-11-19 David S. Miller <davem@davemloft.net>
20756 With help from Joseph Myers.
20757 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20758 very large arguments properly.
20759 * math/libm-test.inc (atan_test): New tests.
20760 (atan2_test): New tests.
20761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20764 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20767 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20770 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20771 [POSIX] (EADDRNOTAVAIL): Likewise.
20772 [POSIX] (EAFNOSUPPORT): Likewise.
20773 [POSIX] (EALREADY): Likewise.
20774 [POSIX] (ECONNABORTED): Likewise.
20775 [POSIX] (ECONNREFUSED): Likewise.
20776 [POSIX] (ECONNRESET): Likewise.
20777 [POSIX] (EDESTADDRREQ): Likewise.
20778 [POSIX] (EDQUOT): Likewise.
20779 [POSIX] (EHOSTUNREACH): Likewise.
20780 [POSIX] (EIDRM): Likewise.
20781 [POSIX] (EISCONN): Likewise.
20782 [POSIX] (ELOOP): Likewise.
20783 [POSIX] (EMULTIHOP): Likewise.
20784 [POSIX] (ENETDOWN): Likewise.
20785 [POSIX] (ENETUNREACH): Likewise.
20786 [POSIX] (ENOBUFS): Likewise.
20787 [POSIX] (ENODATA): Likewise.
20788 [POSIX] (ENOLINK): Likewise.
20789 [POSIX] (ENOMSG): Likewise.
20790 [POSIX] (ENOPROTOOPT): Likewise.
20791 [POSIX] (ENOSR): Likewise.
20792 [POSIX] (ENOSTR): Likewise.
20793 [POSIX] (ENOTCONN): Likewise.
20794 [POSIX] (ENOTSOCK): Likewise.
20795 [POSIX] (EOPNOTSUPP): Likewise.
20796 [POSIX] (EOVERFLOW): Likewise.
20797 [POSIX] (EPROTO): Likewise.
20798 [POSIX] (EPROTONOSUPPORT): Likewise.
20799 [POSIX] (EPROTOTYPE): Likewise.
20800 [POSIX] (ESTALE): Likewise.
20801 [POSIX] (ETIME): Likewise.
20802 [POSIX] (ETXTBSY): Likewise.
20803 [POSIX] (EWOULDBLOCK): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20805 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20806 [POSIX] (SEEK_CUR): Likewise.
20807 [POSIX] (SEEK_END): Likewise.
20808 [POSIX || UNIX98] (mode_t): Do not require.
20809 [POSIX] (off_t): Likewise.
20810 [POSIX] (pid_t): Likewise.
20811 [POSIX] (sys/stat.h): Do not allow header.
20812 [POSIX] (unistd.h): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20814 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20816 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20818 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20819 sigevent): Specify elements.
20820 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20822 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20823 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20825 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20826 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20827 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20828 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20829 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20830 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20831 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20832 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20834 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20835 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20836 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20837 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20844 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20846 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20847 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20848 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20849 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20851 Specify lower bound on value.
20852 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20858 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20859 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20861 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20863 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20880 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20882 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20886 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20889 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20893 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20894 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20898 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20899 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20900 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20901 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20902 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20903 specify as optional.
20904 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20905 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20906 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20907 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20908 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20909 [XPG3] (NL_LANGMAX): Likewise.
20910 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20911 [POSIX || XPG3] (NL_NMAX): Likewise.
20912 [POSIX || XPG3] (NL_SETMAX): Likewise.
20913 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20914 [XPG3] (NZERO): Likewise.
20915 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20916 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20917 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20918 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20919 (REG_ERANGE): Expect.
20920 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20922 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20923 Use (void) in prototype.
20924 [POSIX] (*_t): Allow.
20925 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20926 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20927 (WRDE_BADVAL): Expect.
20929 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20931 [XPG3 || XPG4] (O_RSYNC): Likewise.
20932 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20934 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20935 [XPG3 || XPG4] (sigqueue): Likewise.
20936 [XPG3 || XPG4] (sigtimedwait): Likewise.
20937 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20938 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20939 [XPG3 || XPG4] (vsnprintf): Likewise.
20940 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20942 [XPG3 || XPG4] (blksize_t): Likewise.
20943 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20945 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20946 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20947 [XPG3 || XPG4] (struct itimerspec): Likewise.
20948 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20949 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20950 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20951 [XPG3 || XPG4] (clockid_t): Likewise.
20952 [XPG3 || XPG4] (timer_t): Likewise.
20953 [XPG3 || XPG4] (clock_getres): Likewise.
20954 [XPG3 || XPG4] (clock_gettime): Likewise.
20955 [XPG3 || XPG4] (clock_settime): Likewise.
20956 [XPG3 || XPG4] (nanosleep): Likewise.
20957 [XPG3 || XPG4] (timer_create): Likewise.
20958 [XPG3 || XPG4] (timer_delete): Likewise.
20959 [XPG3 || XPG4] (timer_gettime): Likewise.
20960 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20961 [XPG3 || XPG4] (timer_settime): Likewise.
20962 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20963 [XPG3 || XPG4] (getlogin_r): Likewise.
20964 [XPG3 || XPG4] (pread): Likewise.
20965 [XPG3 || XPG4] (pthread_atfork): Likewise.
20966 [XPG3 || XPG4] (pwrite): Likewise.
20969 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20972 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20974 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20975 finalizing MALLSTREAM.
20977 * sysdeps/mach/hurd/syncfs.c: New file.
20979 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20982 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20983 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20984 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20985 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20986 (_nss_dns_gethostbyname4_r): Likewise.
20987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20988 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20990 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20993 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20995 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20997 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20998 * elf/cache.c (print_entry): Print ",AArch64" for
21001 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21002 * elf/cache.c (print_entry): Print ",hard-float" for
21005 2012-11-18 David S. Miller <davem@davemloft.net>
21007 With help from Joseph Myers.
21008 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21010 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21012 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21013 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21015 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21016 * math/libm-test.inc (y0_test): New tests.
21017 (y1_test): New tests.
21018 * sysdeps/i386/fpu/libm-test-ulps: Update.
21019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21022 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21024 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21026 * configure: Regenerated.
21028 2012-11-17 David S. Miller <davem@davemloft.net>
21031 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21032 nonzero exponents with absolute value below 0x1p-128 to +/-
21035 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21037 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21039 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21041 * posix/getconf-speclist.c: New file.
21042 * posix/posix-envs.def: Likewise.
21043 * posix/confstr.c (START_ENV_GROUP): New macro.
21044 (END_ENV_GROUP): Likewise.
21045 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21046 (KNOWN_PRESENT_ENV_STRING): Likewise.
21047 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21048 (UNKNOWN_ENVIRONMENT): Likewise.
21049 (confstr): Include posix-envs.def instead of handling
21050 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21051 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21052 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21053 (END_ENV_GROUP): Likewise.
21054 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21055 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21056 (UNKNOWN_ENVIRONMENT): Likewise.
21057 (__sysconf): Include posix-envs.def instead of handling associated
21058 cases directly here.
21059 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21060 preprocessing getconf-speclist.c rather than running getconf or
21061 generating empty file.
21063 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21065 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21067 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21070 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21072 2012-11-16 David S. Miller <davem@davemloft.net>
21074 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21075 smaller than LDBL_EPSILON/2.0L, just return xm1.
21077 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21079 * elf/tst-array1.c (init): Set constructor priority to 1000.
21080 (fini): Set destructor priority to 1000.
21081 * elf/tst-array2dep.c: Likewise.
21083 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21087 (_IO_new_file_xsputn): Also return EOF if none of the input
21088 data was written when overflow failed.
21089 * libio/iopadn.c (_IO_padn): Likewise.
21090 * libio/iowpadn.c (_IO_wpadn): Likewise.
21091 * stdio-common/tst-put-error.c: Add copyright notice.
21092 (do_test): Add case for printing padded string.
21093 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21094 _IO_padn returned error.
21095 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21096 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21099 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21101 * libio/libioP.h: Add comment note that the references to C++
21102 bits are now obsolete.
21104 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21106 * math/libm-test.inc (check_complex): Use asprintf.
21108 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21110 * debug/pcprofiledump.c (print_version): Update copyright year.
21111 * malloc/memusagestat.c (print_version): Likewise.
21113 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21116 * elf/Makefile (tests): Add tst-audit8.
21117 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21118 ($(objpfx)tst-audit8.out): New target.
21119 (tst-audit8-ENV): New variable.
21120 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21121 audit if l_reloc_result is NULL.
21122 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21123 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21124 * elf/tst-audit8.c: New file.
21126 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21128 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21129 * misc/Makefile (CFLAGS-select.c): Define.
21130 * posix/Makefile (CFLAGS-pause.c): Define.
21132 2012-11-13 David S. Miller <davem@davemloft.net>
21134 * crypt/Makefile: Move test targets after toplevel Rules
21135 inclusion. Grab any necessary sysdep routines when linking.
21136 * crypt/md5.c (md5_process_block): Remove define, we will always
21137 name it __md5_process_block.
21138 (md5_finish_ctx): Update md5_process_block call.
21139 (md5_stream): Likewise.
21140 (md5_process_bytes): Likewise.
21141 (md5_process_block): Rename to __md5_process_block and move to ...
21142 * crypt/md5-block.c: ... here.
21143 * crypt/sha256.c (sha256_process_block): Move to ...
21144 * crypt/sha256-block.c: ... here.
21145 * crypt/sha512.c (sha512_process_block): Move to ...
21146 * crypt/sha512-block.c: ... here.
21147 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21149 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21150 * sysdeps/sparc/sparc64/multiarch/Makefile
21151 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21153 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21154 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21156 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21157 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21158 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21159 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21160 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21161 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21162 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21163 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21166 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21171 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21173 * timezone/tzselect.ksh: Update from tzcode git revision
21174 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21175 * timezone/zdump.c: Likewise.
21176 * timezone/zic.c: Likewise.
21177 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21178 in TZVERSION setting, not $(PKGVERSION).
21179 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21180 REPORT_BUGS_TO settings.
21183 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21186 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21188 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21189 detection to immediately after _FP_ROUND().
21190 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21193 2012-11-11 David S. Miller <davem@davemloft.net>
21195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21197 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21198 __close rather than their public counterparts.
21200 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21202 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21204 [UNIX98] (sem_timedwait): Do not expect.
21205 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21206 [XPG4 || UNIX98] (sockatmark): Do not expect.
21207 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21208 (clock_getcpuclockid): Do not expect.
21209 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21210 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21212 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21213 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21214 [UNIX98] (vwscanf): Likewise.
21215 [UNIX98] (vswscanf): Likewise.
21217 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21219 * timezone/version.h: Remove file.
21220 * timezone/README: Do not refer to version.h.
21221 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21222 $(objpfx)version.h.
21223 ($(objpfx)zdump.o): Likewise.
21224 ($(objpfx)version.h): New target.
21226 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21228 * timezone/README: Don't mention modification to tzselect.ksh.
21229 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21230 work on unmodified tzselect.ksh. Substitute version numbers in
21233 * Makefile (format-me): Remove.
21234 (INSTALL): Adjust indentation. Use commands directly instead of
21235 using $(format-me).
21237 * aclocal.m4 (ACX_PKGVERSION): New macro.
21238 (ACX_BUGURL): Likewise.
21239 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21240 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21241 (REPORT_BUGS_TO): Likewise.
21242 * configure: Regenerated.
21243 * config.h.in (PKGVERSION): New macro.
21244 (REPORT_BUGS_TO): Likewise.
21245 * config.make.in (PKGVERSION): New variable.
21246 (PKGVERSION_TEXI): Likewise.
21247 (REPORT_BUGS_TO): Likewise.
21248 (REPORT_BUGS_TEXI): Likewise.
21249 * Makefile (format-me): Use -I$(common-objpfx)manual.
21250 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21251 ($(common-objpfx)manual/%): New target.
21252 (manual/%): Remove target.
21253 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21254 (print_version): Use PKGVERSION.
21255 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21256 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21257 and REPORT_BUGS_TO.
21258 ($(objpfx)xtrace): Likewise.
21259 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21260 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21261 (print_version): Use PKGVERSION.
21262 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21263 (do_version): Use PKGVERSION.
21264 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21266 (common-ldd-rewrite): Likewise.
21267 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21268 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21269 (print_version): Use PKGVERSION.
21270 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21271 * elf/pldd.c (argp_program_bug_address): Remove variable.
21272 (more_help): New function.
21273 (argp): Use more_help.
21274 (print_version): Use PKGVERSION.
21275 * elf/sln.c (main): Use PKGVERSION.
21276 (usage): Use REPORT_BUGS_TO.
21277 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21278 (top level): Use PKGVERSION.
21279 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21280 (print_version): Use PKGVERSION.
21281 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21282 (print_version): Use PKGVERSION.
21283 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21284 (print_version): Use PKGVERSION.
21285 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21286 (print_version): Use PKGVERSION.
21287 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21288 (print_version): Use PKGVERSION.
21289 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21290 (print_version): Use PKGVERSION.
21291 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21293 ($(objpfx)memusage): Likewise.
21294 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21295 (do_version): Use PKGVERSION.
21296 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21297 (print_version): Use PKGVERSION.
21298 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21299 ($PKGVERSION): New variable.
21300 ($REPORT_BUGS_TO): Likewise.
21301 (usage): Use $REPORT_BUGS_TO.
21302 (top level): Use $PKGVERSION.
21303 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21304 ($(objpfx)pkgvers.texi): New rule.
21305 ($(objpfx)stamp-pkgvers): Likewise.
21306 * manual/install.texi: Include pkgvers.texi.
21307 (--with-pkgversion): Document new configure option.
21308 (--with-bugurl): Likewise.
21309 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21310 than necessarily for this particular distribution. Use
21311 REPORT_BUGS_TO for where to report bugs.
21312 * INSTALL: Regenerated.
21313 * manual/libc.texinfo: Include pkgvers.texi.
21314 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21315 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21316 (print_version): Use PKGVERSION.
21317 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21318 (print_version): Use PKGVERSION.
21319 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21320 (print_version): Use PKGVERSION.
21321 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21322 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21324 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21325 (print_version): Use PKGVERSION.
21326 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21327 (print_version): Use PKGVERSION.
21328 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21331 * timezone/checktab.awk: Update from tzcode 2012i.
21332 * timezone/ialloc.c: Likewise.
21333 * timezone/private.h: Likewise.
21334 * timezone/scheck.c: Likewise.
21335 * timezone/tzfile.h: Likewise.
21336 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21337 (TZVERSION): Hardcode tzcode version number.
21338 * timezone/zdump.c: Update from tzcode 2012i.
21339 * timezone/zic.c: Likewise.
21340 * timezone/version.h: New file.
21341 * timezone/README: Describe version.h. Update upstream location.
21344 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21345 (mktemp): Enable declaration.
21346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21363 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21364 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21365 for copies of such integer values.
21366 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21367 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21369 2012-11-09 Andreas Jaeger <aj@suse.de>
21371 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21372 definitions and declarations that are provided by
21373 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21375 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21377 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21378 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21379 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21382 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21384 * elf/elf.h: Update comment before AArch64 relocations.
21386 2012-11-07 David S. Miller <davem@davemloft.net>
21388 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21389 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21390 (__start_context): Declare.
21391 (__makecontext_ret): Delete.
21392 (__makecontext): Hook up __start_context instead of
21394 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21395 (sysdep_routines): Add __start_context when in stdlib.
21397 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21399 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21400 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21401 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21403 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21404 (READELF): New variable. Use it instead of hardcoded "readelf".
21406 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21408 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21409 * sysdeps/x86/Makefile: Here.
21410 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21411 * sysdeps/x86/tst-xmmymm.sh: This.
21413 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21415 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21417 [UNIX98] (pthread_barrier_t): Do not expect.
21418 [UNIX98] (pthread_barrierattr_t): Likewise.
21419 [UNIX98] (pthread_spinlock_t): Likewise.
21420 [UNIX98] (pthread_barrier_destroy): Likewise.
21421 [UNIX98] (pthread_barrier_init): Likewise.
21422 [UNIX98] (pthread_barrier_wait): Likewise.
21423 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21424 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21425 [UNIX98] (pthread_barrierattr_init): Likewise.
21426 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21427 [UNIX98] (pthread_getcpuclockid): Likewise.
21428 [UNIX98] (pthread_mutex_timedlock): Likewise.
21429 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21430 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21431 [UNIX98] (pthread_sigmask): Likewise.
21432 [UNIX98] (pthread_spin_destroy): Likewise.
21433 [UNIX98] (pthread_spin_init): Likewise.
21434 [UNIX98] (pthread_spin_lock): Likewise.
21435 [UNIX98] (pthread_spin_trylock): Likewise.
21436 [UNIX98] (pthread_spin_unlock): Likewise.
21437 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21439 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21441 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21442 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21443 [XPG3 || XPG4] (pthread_key_t): Likewise.
21444 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21445 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21446 [XPG3 || XPG4] (pthread_once_t): Likewise.
21447 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21448 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21450 [XPG3 || XPG4] (pthread_t): Likewise.
21452 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21454 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21456 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21457 Change function return type to int.
21459 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21460 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21461 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21462 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21463 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21464 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21465 [!POSIX] (posix_madvise): Likewise.
21466 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21468 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21469 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21470 (mode_t): Likewise.
21471 (posix_mem_offset): Likewise.
21472 (posix_typed_mem_get_info): Likewise.
21473 (posix_typed_mem_open): Likewise.
21475 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21476 Change condition to [XOPEN2K8].
21478 * conform/conformtest.pl: Preprocess allow-header data with -x c
21479 instead of from stdin.
21480 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21481 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21482 [C99-based standards] (cerfc): Likewise.
21483 [C99-based standards] (cexp2): Likewise.
21484 [C99-based standards] (cexpm1): Likewise.
21485 [C99-based standards] (clog10): Likewise.
21486 [C99-based standards] (clog1p): Likewise.
21487 [C99-based standards] (clog2): Likewise.
21488 [C99-based standards] (clgamma): Likewise.
21489 [C99-based standards] (ctgamma): Likewise.
21490 [C99-based standards] (cerff): Likewise.
21491 [C99-based standards] (cerfcf): Likewise.
21492 [C99-based standards] (cexp2f): Likewise.
21493 [C99-based standards] (cexpm1f): Likewise.
21494 [C99-based standards] (clog10f): Likewise.
21495 [C99-based standards] (clog1pf): Likewise.
21496 [C99-based standards] (clog2f): Likewise.
21497 [C99-based standards] (clgammaf): Likewise.
21498 [C99-based standards] (ctgammaf): Likewise.
21499 [C99-based standards] (cerfl): Likewise.
21500 [C99-based standards] (cerfcl): Likewise.
21501 [C99-based standards] (cexp2l): Likewise.
21502 [C99-based standards] (cexpm1l): Likewise.
21503 [C99-based standards] (clog10l): Likewise.
21504 [C99-based standards] (clog1pl): Likewise.
21505 [C99-based standards] (clog2l): Likewise.
21506 [C99-based standards] (clgammal): Likewise.
21507 [C99-based standards] (ctgammal): Likewise.
21508 * conform/data/inttypes.h-data [C99-based standards]: Include
21509 stdint.h-data. Remove all expectations for stdint.h contents.
21510 [C99-based standards] (PRI*): Do not allow.
21511 [C99-based standards] (SCN*): Likewise.
21512 [C99-based standards] (*_t): Likewise.
21513 [C99-based-standards] (PRId8): Expect macro.
21514 [C99-based-standards] (PRIi8): Likewise.
21515 [C99-based-standards] (PRIo8): Likewise.
21516 [C99-based-standards] (PRIu8): Likewise.
21517 [C99-based-standards] (PRIx8): Likewise.
21518 [C99-based-standards] (PRIX8): Likewise.
21519 [C99-based-standards] (SCNd8): Likewise.
21520 [C99-based-standards] (SCNi8): Likewise.
21521 [C99-based-standards] (SCNo8): Likewise.
21522 [C99-based-standards] (SCNu8): Likewise.
21523 [C99-based-standards] (SCNx8): Likewise.
21524 [C99-based-standards] (PRIdLEAST8): Likewise.
21525 [C99-based-standards] (PRIiLEAST8): Likewise.
21526 [C99-based-standards] (PRIoLEAST8): Likewise.
21527 [C99-based-standards] (PRIuLEAST8): Likewise.
21528 [C99-based-standards] (PRIxLEAST8): Likewise.
21529 [C99-based-standards] (PRIXLEAST8): Likewise.
21530 [C99-based-standards] (SCNdLEAST8): Likewise.
21531 [C99-based-standards] (SCNiLEAST8): Likewise.
21532 [C99-based-standards] (SCNoLEAST8): Likewise.
21533 [C99-based-standards] (SCNuLEAST8): Likewise.
21534 [C99-based-standards] (SCNxLEAST8): Likewise.
21535 [C99-based-standards] (PRIdFAST8): Likewise.
21536 [C99-based-standards] (PRIiFAST8): Likewise.
21537 [C99-based-standards] (PRIoFAST8): Likewise.
21538 [C99-based-standards] (PRIuFAST8): Likewise.
21539 [C99-based-standards] (PRIxFAST8): Likewise.
21540 [C99-based-standards] (PRIXFAST8): Likewise.
21541 [C99-based-standards] (SCNdFAST8): Likewise.
21542 [C99-based-standards] (SCNiFAST8): Likewise.
21543 [C99-based-standards] (SCNoFAST8): Likewise.
21544 [C99-based-standards] (SCNuFAST8): Likewise.
21545 [C99-based-standards] (SCNxFAST8): Likewise.
21546 [C99-based-standards] (PRId16): Likewise.
21547 [C99-based-standards] (PRIi16): Likewise.
21548 [C99-based-standards] (PRIo16): Likewise.
21549 [C99-based-standards] (PRIu16): Likewise.
21550 [C99-based-standards] (PRIx16): Likewise.
21551 [C99-based-standards] (PRIX16): Likewise.
21552 [C99-based-standards] (SCNd16): Likewise.
21553 [C99-based-standards] (SCNi16): Likewise.
21554 [C99-based-standards] (SCNo16): Likewise.
21555 [C99-based-standards] (SCNu16): Likewise.
21556 [C99-based-standards] (SCNx16): Likewise.
21557 [C99-based-standards] (PRIdLEAST16): Likewise.
21558 [C99-based-standards] (PRIiLEAST16): Likewise.
21559 [C99-based-standards] (PRIoLEAST16): Likewise.
21560 [C99-based-standards] (PRIuLEAST16): Likewise.
21561 [C99-based-standards] (PRIxLEAST16): Likewise.
21562 [C99-based-standards] (PRIXLEAST16): Likewise.
21563 [C99-based-standards] (SCNdLEAST16): Likewise.
21564 [C99-based-standards] (SCNiLEAST16): Likewise.
21565 [C99-based-standards] (SCNoLEAST16): Likewise.
21566 [C99-based-standards] (SCNuLEAST16): Likewise.
21567 [C99-based-standards] (SCNxLEAST16): Likewise.
21568 [C99-based-standards] (PRIdFAST16): Likewise.
21569 [C99-based-standards] (PRIiFAST16): Likewise.
21570 [C99-based-standards] (PRIoFAST16): Likewise.
21571 [C99-based-standards] (PRIuFAST16): Likewise.
21572 [C99-based-standards] (PRIxFAST16): Likewise.
21573 [C99-based-standards] (PRIXFAST16): Likewise.
21574 [C99-based-standards] (SCNdFAST16): Likewise.
21575 [C99-based-standards] (SCNiFAST16): Likewise.
21576 [C99-based-standards] (SCNoFAST16): Likewise.
21577 [C99-based-standards] (SCNuFAST16): Likewise.
21578 [C99-based-standards] (SCNxFAST16): Likewise.
21579 [C99-based-standards] (PRId32): Likewise.
21580 [C99-based-standards] (PRIi32): Likewise.
21581 [C99-based-standards] (PRIo32): Likewise.
21582 [C99-based-standards] (PRIu32): Likewise.
21583 [C99-based-standards] (PRIx32): Likewise.
21584 [C99-based-standards] (PRIX32): Likewise.
21585 [C99-based-standards] (SCNd32): Likewise.
21586 [C99-based-standards] (SCNi32): Likewise.
21587 [C99-based-standards] (SCNo32): Likewise.
21588 [C99-based-standards] (SCNu32): Likewise.
21589 [C99-based-standards] (SCNx32): Likewise.
21590 [C99-based-standards] (PRIdLEAST32): Likewise.
21591 [C99-based-standards] (PRIiLEAST32): Likewise.
21592 [C99-based-standards] (PRIoLEAST32): Likewise.
21593 [C99-based-standards] (PRIuLEAST32): Likewise.
21594 [C99-based-standards] (PRIxLEAST32): Likewise.
21595 [C99-based-standards] (PRIXLEAST32): Likewise.
21596 [C99-based-standards] (SCNdLEAST32): Likewise.
21597 [C99-based-standards] (SCNiLEAST32): Likewise.
21598 [C99-based-standards] (SCNoLEAST32): Likewise.
21599 [C99-based-standards] (SCNuLEAST32): Likewise.
21600 [C99-based-standards] (SCNxLEAST32): Likewise.
21601 [C99-based-standards] (PRIdFAST32): Likewise.
21602 [C99-based-standards] (PRIiFAST32): Likewise.
21603 [C99-based-standards] (PRIoFAST32): Likewise.
21604 [C99-based-standards] (PRIuFAST32): Likewise.
21605 [C99-based-standards] (PRIxFAST32): Likewise.
21606 [C99-based-standards] (PRIXFAST32): Likewise.
21607 [C99-based-standards] (SCNdFAST32): Likewise.
21608 [C99-based-standards] (SCNiFAST32): Likewise.
21609 [C99-based-standards] (SCNoFAST32): Likewise.
21610 [C99-based-standards] (SCNuFAST32): Likewise.
21611 [C99-based-standards] (SCNxFAST32): Likewise.
21612 [C99-based-standards] (PRId64): Likewise.
21613 [C99-based-standards] (PRIi64): Likewise.
21614 [C99-based-standards] (PRIo64): Likewise.
21615 [C99-based-standards] (PRIu64): Likewise.
21616 [C99-based-standards] (PRIx64): Likewise.
21617 [C99-based-standards] (PRIX64): Likewise.
21618 [C99-based-standards] (SCNd64): Likewise.
21619 [C99-based-standards] (SCNi64): Likewise.
21620 [C99-based-standards] (SCNo64): Likewise.
21621 [C99-based-standards] (SCNu64): Likewise.
21622 [C99-based-standards] (SCNx64): Likewise.
21623 [C99-based-standards] (PRIdLEAST64): Likewise.
21624 [C99-based-standards] (PRIiLEAST64): Likewise.
21625 [C99-based-standards] (PRIoLEAST64): Likewise.
21626 [C99-based-standards] (PRIuLEAST64): Likewise.
21627 [C99-based-standards] (PRIxLEAST64): Likewise.
21628 [C99-based-standards] (PRIXLEAST64): Likewise.
21629 [C99-based-standards] (SCNdLEAST64): Likewise.
21630 [C99-based-standards] (SCNiLEAST64): Likewise.
21631 [C99-based-standards] (SCNoLEAST64): Likewise.
21632 [C99-based-standards] (SCNuLEAST64): Likewise.
21633 [C99-based-standards] (SCNxLEAST64): Likewise.
21634 [C99-based-standards] (PRIdFAST64): Likewise.
21635 [C99-based-standards] (PRIiFAST64): Likewise.
21636 [C99-based-standards] (PRIoFAST64): Likewise.
21637 [C99-based-standards] (PRIuFAST64): Likewise.
21638 [C99-based-standards] (PRIxFAST64): Likewise.
21639 [C99-based-standards] (PRIXFAST64): Likewise.
21640 [C99-based-standards] (SCNdFAST64): Likewise.
21641 [C99-based-standards] (SCNiFAST64): Likewise.
21642 [C99-based-standards] (SCNoFAST64): Likewise.
21643 [C99-based-standards] (SCNuFAST64): Likewise.
21644 [C99-based-standards] (SCNxFAST64): Likewise.
21645 [C99-based-standards] (PRIdMAX): Likewise.
21646 [C99-based-standards] (PRIiMAX): Likewise.
21647 [C99-based-standards] (PRIoMAX): Likewise.
21648 [C99-based-standards] (PRIuMAX): Likewise.
21649 [C99-based-standards] (PRIxMAX): Likewise.
21650 [C99-based-standards] (PRIXMAX): Likewise.
21651 [C99-based-standards] (SCNdMAX): Likewise.
21652 [C99-based-standards] (SCNiMAX): Likewise.
21653 [C99-based-standards] (SCNoMAX): Likewise.
21654 [C99-based-standards] (SCNuMAX): Likewise.
21655 [C99-based-standards] (SCNxMAX): Likewise.
21656 [C99-based-standards] (PRIdPTR): Likewise.
21657 [C99-based-standards] (PRIiPTR): Likewise.
21658 [C99-based-standards] (PRIoPTR): Likewise.
21659 [C99-based-standards] (PRIuPTR): Likewise.
21660 [C99-based-standards] (PRIxPTR): Likewise.
21661 [C99-based-standards] (PRIXPTR): Likewise.
21662 [C99-based-standards] (SCNdPTR): Likewise.
21663 [C99-based-standards] (SCNiPTR): Likewise.
21664 [C99-based-standards] (SCNoPTR): Likewise.
21665 [C99-based-standards] (SCNuPTR): Likewise.
21666 [C99-based-standards] (SCNxPTR): Likewise.
21667 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21669 * conform/data/stdint.h-data: Update comments to clarify
21671 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21673 [C99-based standards] (INT8_MAX): Likewise.
21674 [C99-based standards] (INT16_MIN): Likewise.
21675 [C99-based standards] (INT16_MAX): Likewise.
21676 [C99-based standards] (INT32_MIN): Likewise.
21677 [C99-based standards] (INT32_MAX): Likewise.
21678 [C99-based standards] (INT64_MIN): Likewise.
21679 [C99-based standards] (INT64_MAX): Likewise.
21680 [C99-based standards] (UINT8_MAX): Likewise.
21681 [C99-based standards] (UINT16_MAX): Likewise.
21682 [C99-based standards] (UINT32_MAX): Likewise.
21683 [C99-based standards] (UINT64_MAX): Likewise.
21684 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21685 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21686 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21687 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21688 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21689 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21690 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21691 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21692 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21693 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21694 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21695 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21696 [C99-based standards] (INT_FAST8_MIN): Likewise.
21697 [C99-based standards] (INT_FAST8_MAX): Likewise.
21698 [C99-based standards] (INT_FAST16_MIN): Likewise.
21699 [C99-based standards] (INT_FAST16_MAX): Likewise.
21700 [C99-based standards] (INT_FAST32_MIN): Likewise.
21701 [C99-based standards] (INT_FAST32_MAX): Likewise.
21702 [C99-based standards] (INT_FAST64_MIN): Likewise.
21703 [C99-based standards] (INT_FAST64_MAX): Likewise.
21704 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21705 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21706 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21707 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21708 [C99-based standards] (INTPTR_MIN): Likewise.
21709 [C99-based standards] (INTPTR_MAX): Likewise.
21710 [C99-based standards] (UINTPTR_MAX): Likewise.
21711 [C99-based standards] (INTMAX_MIN): Likewise.
21712 [C99-based standards] (INTMAX_MAX): Likewise.
21713 [C99-based standards] (UINTMAX_MAX): Likewise.
21714 [C99-based standards] (PTRDIFF_MIN): Likewise.
21715 [C99-based standards] (PTRDIFF_MAX): Likewise.
21716 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21717 [C99-based standards] (SIZE_MAX): Likewise.
21718 [C99-based standards] (WCHAR_MAX): Likewise.
21719 [C99-based standards] (WINT_MAX): Likewise.
21720 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21721 constraint on value.
21722 [C99-based standards] (WCHAR_MIN): Likewise.
21723 [C99-based standards] (WINT_MIN): Likewise.
21724 [C99-based standards] (*_t): Allow.
21725 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21726 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21727 Include math.h-data and complex.h-data. Remove all expectations
21728 of math.h and complex.h contents.
21729 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21731 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21732 (struct tm): Expect tag.
21733 [C99-based-standards] (wcstof): Expect function.
21734 [C99-based-standards] (wcstold): Likewise.
21735 [C99-based-standards] (wcstoll): Likewise.
21736 [C99-based-standards] (wcstoull): Likewise.
21737 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21738 macro-int-constant. Specify type.
21739 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21740 constraint on value.
21741 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21743 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21745 [ISO C standards]: Do not allow headers.
21746 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21747 wcs[abcdefghijklmnopqrstuvwxyz]*.
21748 [ISO C standards] (*_t): Do not allow.
21749 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21751 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21752 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21754 [ISO C standards]: Do not allow headers.
21755 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21756 is[abcdefghijklmnopqrstuvwxyz]*.
21757 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21758 to[abcdefghijklmnopqrstuvwxyz]*.
21759 [ISO C standards] (*_t): Do not allow.
21760 * conform/data/stdalign.h-data: New file.
21761 * conform/data/stdbool.h-data: Likewise.
21762 * conform/data/stdnoreturn.h-data: Likewise.
21764 2012-11-07 Roland McGrath <roland@hack.frob.com>
21767 * manual/filesys.texi (Directory Entries): Typo fix.
21768 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21770 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21772 * elf/elf.h (EM_AARCH64): New macro.
21773 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21774 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21775 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21776 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21777 (R_AARCH64_TLSDESC): Likewise.
21778 (NT_ARM_TLS): Likewise.
21779 (NT_ARM_HW_BREAK): Likewise.
21780 (NT_ARM_HW_WATCH): Likewise.
21782 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21785 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21786 (__ieee754_powl): Saturate nonzero exponents with absolute value
21787 below 0x1p-79 to +/- 0x1p-79.
21788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21789 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21790 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21791 nonzero exponents with absolute value below 0x1p-32 to +/-
21793 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21794 (__ieee754_powl): Saturate nonzero exponents with absolute value
21795 below 0x1p-79 to +/- 0x1p-79.
21796 * math/libm-test.inc (pow_test): Add more tests.
21798 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21800 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21801 _dl_s390_cap_flags with kernel. Increase string length.
21802 (_dl_s390_platforms): Add z196 and zEC12.
21804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21806 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21807 Change XOPEN21K to XOPEN2K.
21809 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21811 * string/memmove.c: Use memcpy when possible.
21813 2012-11-06 Andreas Jaeger <aj@suse.de>
21815 * po/eo.po: Update from translation team.
21817 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21821 exponent and small x and y exponents, scale x or y up. Increase
21822 by 2 the exponent used in scaling up.
21823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21825 * math/libm-test.inc (fma_test): Add more tests.
21826 (fma_test_towardzero): Likewise.
21827 (fma_test_downward): Likewise.
21828 (fma_test_upward): Likewise.
21830 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21833 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21837 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21838 namespace for names of struct fields.
21839 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21841 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21842 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21844 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21847 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21849 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21851 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21855 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21858 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21862 definitely overflow as x * y not x * y + z.
21863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21865 * math/libm-test.inc (fma_test): Add more tests.
21866 (fma_test_towardzero): Likewise.
21867 (fma_test_downward): Likewise.
21868 (fma_test_upward): Likewise.
21870 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21874 * include/stub-tag.h: Remove file.
21875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21877 * manual/maint.texi (Porting): Don't reference it.
21878 * Makerules ($(objpfx)stubs): Likewise.
21879 * dirent/closedir.c: Don't include <stub-tag.h>.
21880 * dirent/dirfd.c: Likewise.
21881 * dirent/fdopendir.c: Likewise.
21882 * dirent/getdents.c: Likewise.
21883 * dirent/getdents64.c: Likewise.
21884 * dirent/opendir.c: Likewise.
21885 * dirent/readdir.c: Likewise.
21886 * dirent/readdir64.c: Likewise.
21887 * dirent/readdir64_r.c: Likewise.
21888 * dirent/readdir_r.c: Likewise.
21889 * dirent/rewinddir.c: Likewise.
21890 * dirent/seekdir.c: Likewise.
21891 * dirent/telldir.c: Likewise.
21892 * gmon/profil.c: Likewise.
21893 * grp/setgroups.c: Likewise.
21894 * inet/if_index.c: Likewise.
21895 * io/access.c: Likewise.
21896 * io/chdir.c: Likewise.
21897 * io/chmod.c: Likewise.
21898 * io/chown.c: Likewise.
21899 * io/close.c: Likewise.
21900 * io/dup.c: Likewise.
21901 * io/dup2.c: Likewise.
21902 * io/dup3.c: Likewise.
21903 * io/euidaccess.c: Likewise.
21904 * io/faccessat.c: Likewise.
21905 * io/fchdir.c: Likewise.
21906 * io/fchmod.c: Likewise.
21907 * io/fchmodat.c: Likewise.
21908 * io/fchown.c: Likewise.
21909 * io/fchownat.c: Likewise.
21910 * io/fcntl.c: Likewise.
21911 * io/flock.c: Likewise.
21912 * io/fstatfs.c: Likewise.
21913 * io/fstatfs64.c: Likewise.
21914 * io/fstatvfs.c: Likewise.
21915 * io/fstatvfs64.c: Likewise.
21916 * io/futimens.c: Likewise.
21917 * io/fxstat.c: Likewise.
21918 * io/fxstat64.c: Likewise.
21919 * io/fxstatat.c: Likewise.
21920 * io/fxstatat64.c: Likewise.
21921 * io/getcwd.c: Likewise.
21922 * io/isatty.c: Likewise.
21923 * io/lchmod.c: Likewise.
21924 * io/lchown.c: Likewise.
21925 * io/link.c: Likewise.
21926 * io/linkat.c: Likewise.
21927 * io/lseek.c: Likewise.
21928 * io/lseek64.c: Likewise.
21929 * io/lxstat64.c: Likewise.
21930 * io/mkdir.c: Likewise.
21931 * io/mkdirat.c: Likewise.
21932 * io/mkfifo.c: Likewise.
21933 * io/mkfifoat.c: Likewise.
21934 * io/open.c: Likewise.
21935 * io/open64.c: Likewise.
21936 * io/openat.c: Likewise.
21937 * io/openat64.c: Likewise.
21938 * io/pipe.c: Likewise.
21939 * io/pipe2.c: Likewise.
21940 * io/poll.c: Likewise.
21941 * io/posix_fadvise.c: Likewise.
21942 * io/posix_fadvise64.c: Likewise.
21943 * io/posix_fallocate.c: Likewise.
21944 * io/posix_fallocate64.c: Likewise.
21945 * io/read.c: Likewise.
21946 * io/readlink.c: Likewise.
21947 * io/readlinkat.c: Likewise.
21948 * io/rmdir.c: Likewise.
21949 * io/sendfile.c: Likewise.
21950 * io/sendfile64.c: Likewise.
21951 * io/statfs.c: Likewise.
21952 * io/statfs64.c: Likewise.
21953 * io/statvfs.c: Likewise.
21954 * io/statvfs64.c: Likewise.
21955 * io/symlink.c: Likewise.
21956 * io/symlinkat.c: Likewise.
21957 * io/ttyname.c: Likewise.
21958 * io/ttyname_r.c: Likewise.
21959 * io/umask.c: Likewise.
21960 * io/unlink.c: Likewise.
21961 * io/unlinkat.c: Likewise.
21962 * io/utime.c: Likewise.
21963 * io/utimensat.c: Likewise.
21964 * io/write.c: Likewise.
21965 * io/xmknod.c: Likewise.
21966 * io/xmknodat.c: Likewise.
21967 * io/xstat.c: Likewise.
21968 * io/xstat64.c: Likewise.
21969 * login/getpt.c: Likewise.
21970 * login/grantpt.c: Likewise.
21971 * login/unlockpt.c: Likewise.
21972 * math/e_acoshl.c: Likewise.
21973 * math/e_acosl.c: Likewise.
21974 * math/e_asinl.c: Likewise.
21975 * math/e_atan2l.c: Likewise.
21976 * math/e_atanhl.c: Likewise.
21977 * math/e_coshl.c: Likewise.
21978 * math/e_expl.c: Likewise.
21979 * math/e_fmodl.c: Likewise.
21980 * math/e_gammal_r.c: Likewise.
21981 * math/e_hypotl.c: Likewise.
21982 * math/e_j0l.c: Likewise.
21983 * math/e_j1l.c: Likewise.
21984 * math/e_jnl.c: Likewise.
21985 * math/e_lgammal_r.c: Likewise.
21986 * math/e_log10l.c: Likewise.
21987 * math/e_log2l.c: Likewise.
21988 * math/e_logl.c: Likewise.
21989 * math/e_powl.c: Likewise.
21990 * math/e_rem_pio2l.c: Likewise.
21991 * math/e_sinhl.c: Likewise.
21992 * math/e_sqrtl.c: Likewise.
21993 * math/fclrexcpt.c: Likewise.
21994 * math/fedisblxcpt.c: Likewise.
21995 * math/feenablxcpt.c: Likewise.
21996 * math/fegetenv.c: Likewise.
21997 * math/fegetexcept.c: Likewise.
21998 * math/fegetround.c: Likewise.
21999 * math/feholdexcpt.c: Likewise.
22000 * math/fesetenv.c: Likewise.
22001 * math/fesetround.c: Likewise.
22002 * math/feupdateenv.c: Likewise.
22003 * math/fgetexcptflg.c: Likewise.
22004 * math/fraiseexcpt.c: Likewise.
22005 * math/fsetexcptflg.c: Likewise.
22006 * math/ftestexcept.c: Likewise.
22007 * math/k_cosl.c: Likewise.
22008 * math/k_rem_pio2l.c: Likewise.
22009 * math/k_sinl.c: Likewise.
22010 * math/k_tanl.c: Likewise.
22011 * math/s_asinhl.c: Likewise.
22012 * math/s_atanl.c: Likewise.
22013 * math/s_cbrtl.c: Likewise.
22014 * math/s_erfl.c: Likewise.
22015 * math/s_expm1l.c: Likewise.
22016 * math/s_log1pl.c: Likewise.
22017 * math/s_tanhl.c: Likewise.
22018 * misc/acct.c: Likewise.
22019 * misc/brk.c: Likewise.
22020 * misc/chflags.c: Likewise.
22021 * misc/chroot.c: Likewise.
22022 * misc/fchflags.c: Likewise.
22023 * misc/fgetxattr.c: Likewise.
22024 * misc/flistxattr.c: Likewise.
22025 * misc/fremovexattr.c: Likewise.
22026 * misc/fsetxattr.c: Likewise.
22027 * misc/fsync.c: Likewise.
22028 * misc/ftruncate.c: Likewise.
22029 * misc/futimes.c: Likewise.
22030 * misc/futimesat.c: Likewise.
22031 * misc/getdomain.c: Likewise.
22032 * misc/getdtsz.c: Likewise.
22033 * misc/gethostid.c: Likewise.
22034 * misc/gethostname.c: Likewise.
22035 * misc/getloadavg.c: Likewise.
22036 * misc/getpagesize.c: Likewise.
22037 * misc/getsysstats.c: Likewise.
22038 * misc/getxattr.c: Likewise.
22039 * misc/gtty.c: Likewise.
22040 * misc/ioctl.c: Likewise.
22041 * misc/lgetxattr.c: Likewise.
22042 * misc/listxattr.c: Likewise.
22043 * misc/llistxattr.c: Likewise.
22044 * misc/lremovexattr.c: Likewise.
22045 * misc/lsetxattr.c: Likewise.
22046 * misc/lutimes.c: Likewise.
22047 * misc/madvise.c: Likewise.
22048 * misc/mincore.c: Likewise.
22049 * misc/mlock.c: Likewise.
22050 * misc/mlockall.c: Likewise.
22051 * misc/mmap.c: Likewise.
22052 * misc/mprotect.c: Likewise.
22053 * misc/msync.c: Likewise.
22054 * misc/munlock.c: Likewise.
22055 * misc/munlockall.c: Likewise.
22056 * misc/munmap.c: Likewise.
22057 * misc/preadv.c: Likewise.
22058 * misc/preadv64.c: Likewise.
22059 * misc/ptrace.c: Likewise.
22060 * misc/pwritev.c: Likewise.
22061 * misc/pwritev64.c: Likewise.
22062 * misc/readv.c: Likewise.
22063 * misc/reboot.c: Likewise.
22064 * misc/remap_file_pages.c: Likewise.
22065 * misc/removexattr.c: Likewise.
22066 * misc/revoke.c: Likewise.
22067 * misc/select.c: Likewise.
22068 * misc/setdomain.c: Likewise.
22069 * misc/setegid.c: Likewise.
22070 * misc/seteuid.c: Likewise.
22071 * misc/sethostid.c: Likewise.
22072 * misc/sethostname.c: Likewise.
22073 * misc/setregid.c: Likewise.
22074 * misc/setreuid.c: Likewise.
22075 * misc/setxattr.c: Likewise.
22076 * misc/sstk.c: Likewise.
22077 * misc/stty.c: Likewise.
22078 * misc/swapoff.c: Likewise.
22079 * misc/swapon.c: Likewise.
22080 * misc/sync.c: Likewise.
22081 * misc/syncfs.c: Likewise.
22082 * misc/syscall.c: Likewise.
22083 * misc/truncate.c: Likewise.
22084 * misc/ualarm.c: Likewise.
22085 * misc/usleep.c: Likewise.
22086 * misc/ustat.c: Likewise.
22087 * misc/utimes.c: Likewise.
22088 * misc/vhangup.c: Likewise.
22089 * misc/writev.c: Likewise.
22090 * posix/_exit.c: Likewise.
22091 * posix/alarm.c: Likewise.
22092 * posix/execve.c: Likewise.
22093 * posix/fexecve.c: Likewise.
22094 * posix/fork.c: Likewise.
22095 * posix/fpathconf.c: Likewise.
22096 * posix/getaddrinfo.c: Likewise.
22097 * posix/getegid.c: Likewise.
22098 * posix/geteuid.c: Likewise.
22099 * posix/getgid.c: Likewise.
22100 * posix/getgroups.c: Likewise.
22101 * posix/getlogin.c: Likewise.
22102 * posix/getlogin_r.c: Likewise.
22103 * posix/getpgid.c: Likewise.
22104 * posix/getpid.c: Likewise.
22105 * posix/getppid.c: Likewise.
22106 * posix/getresgid.c: Likewise.
22107 * posix/getresuid.c: Likewise.
22108 * posix/getsid.c: Likewise.
22109 * posix/getuid.c: Likewise.
22110 * posix/glob64.c: Likewise.
22111 * posix/nanosleep.c: Likewise.
22112 * posix/pathconf.c: Likewise.
22113 * posix/pause.c: Likewise.
22114 * posix/posix_madvise.c: Likewise.
22115 * posix/pread.c: Likewise.
22116 * posix/pread64.c: Likewise.
22117 * posix/pwrite.c: Likewise.
22118 * posix/pwrite64.c: Likewise.
22119 * posix/sched_getaffinity.c: Likewise.
22120 * posix/sched_getp.c: Likewise.
22121 * posix/sched_gets.c: Likewise.
22122 * posix/sched_primax.c: Likewise.
22123 * posix/sched_primin.c: Likewise.
22124 * posix/sched_rr_gi.c: Likewise.
22125 * posix/sched_setaffinity.c: Likewise.
22126 * posix/sched_setp.c: Likewise.
22127 * posix/sched_sets.c: Likewise.
22128 * posix/sched_yield.c: Likewise.
22129 * posix/setgid.c: Likewise.
22130 * posix/setlogin.c: Likewise.
22131 * posix/setpgid.c: Likewise.
22132 * posix/setresgid.c: Likewise.
22133 * posix/setresuid.c: Likewise.
22134 * posix/setsid.c: Likewise.
22135 * posix/setuid.c: Likewise.
22136 * posix/sleep.c: Likewise.
22137 * posix/spawni.c: Likewise.
22138 * posix/sysconf.c: Likewise.
22139 * posix/times.c: Likewise.
22140 * posix/wait.c: Likewise.
22141 * posix/wait3.c: Likewise.
22142 * posix/wait4.c: Likewise.
22143 * posix/waitpid.c: Likewise.
22144 * resolv/gai_sigqueue.c: Likewise.
22145 * resource/getpriority.c: Likewise.
22146 * resource/getrlimit.c: Likewise.
22147 * resource/getrusage.c: Likewise.
22148 * resource/nice.c: Likewise.
22149 * resource/setpriority.c: Likewise.
22150 * resource/setrlimit.c: Likewise.
22151 * resource/ulimit.c: Likewise.
22152 * rt/aio_cancel.c: Likewise.
22153 * rt/aio_fsync.c: Likewise.
22154 * rt/aio_read.c: Likewise.
22155 * rt/aio_sigqueue.c: Likewise.
22156 * rt/aio_suspend.c: Likewise.
22157 * rt/aio_write.c: Likewise.
22158 * rt/clock_getres.c: Likewise.
22159 * rt/clock_gettime.c: Likewise.
22160 * rt/clock_nanosleep.c: Likewise.
22161 * rt/clock_settime.c: Likewise.
22162 * rt/lio_listio.c: Likewise.
22163 * rt/mq_close.c: Likewise.
22164 * rt/mq_getattr.c: Likewise.
22165 * rt/mq_notify.c: Likewise.
22166 * rt/mq_open.c: Likewise.
22167 * rt/mq_receive.c: Likewise.
22168 * rt/mq_send.c: Likewise.
22169 * rt/mq_setattr.c: Likewise.
22170 * rt/mq_timedreceive.c: Likewise.
22171 * rt/mq_timedsend.c: Likewise.
22172 * rt/mq_unlink.c: Likewise.
22173 * rt/shm_open.c: Likewise.
22174 * rt/shm_unlink.c: Likewise.
22175 * rt/timer_create.c: Likewise.
22176 * rt/timer_delete.c: Likewise.
22177 * rt/timer_getoverr.c: Likewise.
22178 * rt/timer_gettime.c: Likewise.
22179 * rt/timer_settime.c: Likewise.
22180 * setjmp/__longjmp.c: Likewise.
22181 * setjmp/setjmp.c: Likewise.
22182 * signal/kill.c: Likewise.
22183 * signal/killpg.c: Likewise.
22184 * signal/raise.c: Likewise.
22185 * signal/sigaction.c: Likewise.
22186 * signal/sigaltstack.c: Likewise.
22187 * signal/sigblock.c: Likewise.
22188 * signal/sigignore.c: Likewise.
22189 * signal/sigintr.c: Likewise.
22190 * signal/signal.c: Likewise.
22191 * signal/sigpause.c: Likewise.
22192 * signal/sigpending.c: Likewise.
22193 * signal/sigqueue.c: Likewise.
22194 * signal/sigreturn.c: Likewise.
22195 * signal/sigset.c: Likewise.
22196 * signal/sigsetmask.c: Likewise.
22197 * signal/sigstack.c: Likewise.
22198 * signal/sigsuspend.c: Likewise.
22199 * signal/sigtimedwait.c: Likewise.
22200 * signal/sigvec.c: Likewise.
22201 * signal/sigwait.c: Likewise.
22202 * signal/sigwaitinfo.c: Likewise.
22203 * signal/sysv_signal.c: Likewise.
22204 * socket/accept.c: Likewise.
22205 * socket/accept4.c: Likewise.
22206 * socket/bind.c: Likewise.
22207 * socket/connect.c: Likewise.
22208 * socket/getpeername.c: Likewise.
22209 * socket/getsockname.c: Likewise.
22210 * socket/getsockopt.c: Likewise.
22211 * socket/isfdtype.c: Likewise.
22212 * socket/listen.c: Likewise.
22213 * socket/recv.c: Likewise.
22214 * socket/recvfrom.c: Likewise.
22215 * socket/recvmsg.c: Likewise.
22216 * socket/send.c: Likewise.
22217 * socket/sendmsg.c: Likewise.
22218 * socket/sendto.c: Likewise.
22219 * socket/setsockopt.c: Likewise.
22220 * socket/shutdown.c: Likewise.
22221 * socket/sockatmark.c: Likewise.
22222 * socket/socket.c: Likewise.
22223 * socket/socketpair.c: Likewise.
22224 * stdio-common/ctermid.c: Likewise.
22225 * stdio-common/cuserid.c: Likewise.
22226 * stdio-common/remove.c: Likewise.
22227 * stdio-common/rename.c: Likewise.
22228 * stdio-common/renameat.c: Likewise.
22229 * stdio-common/tempname.c: Likewise.
22230 * stdlib/getcontext.c: Likewise.
22231 * stdlib/makecontext.c: Likewise.
22232 * stdlib/setcontext.c: Likewise.
22233 * stdlib/swapcontext.c: Likewise.
22234 * stdlib/system.c: Likewise.
22235 * streams/fattach.c: Likewise.
22236 * streams/fdetach.c: Likewise.
22237 * streams/getmsg.c: Likewise.
22238 * streams/getpmsg.c: Likewise.
22239 * streams/putmsg.c: Likewise.
22240 * streams/putpmsg.c: Likewise.
22241 * sysdeps/unix/bsd/getpt.c: Likewise.
22242 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22243 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22244 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22247 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22249 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22250 * sysvipc/msgctl.c: Likewise.
22251 * sysvipc/msgget.c: Likewise.
22252 * sysvipc/msgrcv.c: Likewise.
22253 * sysvipc/msgsnd.c: Likewise.
22254 * sysvipc/semctl.c: Likewise.
22255 * sysvipc/semget.c: Likewise.
22256 * sysvipc/semop.c: Likewise.
22257 * sysvipc/semtimedop.c: Likewise.
22258 * sysvipc/shmat.c: Likewise.
22259 * sysvipc/shmctl.c: Likewise.
22260 * sysvipc/shmdt.c: Likewise.
22261 * sysvipc/shmget.c: Likewise.
22262 * termios/tcdrain.c: Likewise.
22263 * termios/tcflow.c: Likewise.
22264 * termios/tcflush.c: Likewise.
22265 * termios/tcgetattr.c: Likewise.
22266 * termios/tcgetpgrp.c: Likewise.
22267 * termios/tcsendbrk.c: Likewise.
22268 * termios/tcsetattr.c: Likewise.
22269 * termios/tcsetpgrp.c: Likewise.
22270 * time/adjtime.c: Likewise.
22271 * time/clock.c: Likewise.
22272 * time/getitimer.c: Likewise.
22273 * time/gettimeofday.c: Likewise.
22274 * time/setitimer.c: Likewise.
22275 * time/settimeofday.c: Likewise.
22276 * time/stime.c: Likewise.
22277 * time/time.c: Likewise.
22279 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22281 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22284 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22286 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22288 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22292 FE_TONEAREST before applying Dekker multiplication and Knuth
22293 addition. Clear inexact exceptions and check for exact zero
22294 results afterwards.
22295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22298 * math/libm-test.inc (fma_test): Add more tests.
22299 (fma_test_towardzero): Likewise.
22300 (fma_test_downward): Likewise.
22301 (fma_test_upward): Likewise.
22302 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22304 (libc_fesetround): New macro.
22305 (libc_fesetroundf): Likewise.
22306 (libc_fesetroundl): Likewise.
22307 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22309 (libc_fesetround_387): Likewise.
22310 (libc_fesetroundf): New macro.
22311 (libc_fesetround): Likewise.
22312 (libc_fesetroundl): Likewise.
22313 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22315 (libc_fesetroundf): New macro.
22316 (libc_fesetround): Likewise.
22317 (libc_fesetroundl): Likewise.
22318 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22319 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22320 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22322 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22323 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22325 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22326 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22328 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22332 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22333 integer constant usable in #if and use that to give value to enum
22335 (FE_DIVBYZERO): Likewise.
22336 (FE_UNDERFLOW): Likewise.
22337 (FE_OVERFLOW): Likewise.
22338 (FE_INVALID): Likewise.
22339 (FE_INVALID_SNAN): Likewise.
22340 (FE_INVALID_ISI): Likewise.
22341 (FE_INVALID_IDI): Likewise.
22342 (FE_INVALID_ZDZ): Likewise.
22343 (FE_INVALID_IMZ): Likewise.
22344 (FE_INVALID_COMPARE): Likewise.
22345 (FE_INVALID_SOFTWARE): Likewise.
22346 (FE_INVALID_SQRT): Likewise.
22347 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22348 (FE_TONEAREST): Likewise.
22349 (FE_TOWARDZERO): Likewise.
22350 (FE_UPWARD): Likewise.
22351 (FE_DOWNWARD): Likewise.
22352 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22353 (FE_DIVBYZERO): Likewise.
22354 (FE_OVERFLOW): Likewise.
22355 (FE_UNDERFLOW): Likewise.
22356 (FE_INEXACT): Likewise.
22357 (FE_TONEAREST): Likewise.
22358 (FE_DOWNWARD): Likewise.
22359 (FE_UPWARD): Likewise.
22360 (FE_TOWARDZERO): Likewise.
22361 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22362 (FE_UNDERFLOW): Likewise.
22363 (FE_OVERFLOW): Likewise.
22364 (FE_DIVBYZERO): Likewise.
22365 (FE_INVALID): Likewise.
22366 (FE_TONEAREST): Likewise.
22367 (FE_TOWARDZERO): Likewise.
22368 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22369 (FE_OVERFLOW): Likewise.
22370 (FE_UNDERFLOW): Likewise.
22371 (FE_DIVBYZERO): Likewise.
22372 (FE_INEXACT): Likewise.
22373 (FE_TONEAREST): Likewise.
22374 (FE_TOWARDZERO): Likewise.
22375 (FE_UPWARD): Likewise.
22376 (FE_DOWNWARD): Likewise.
22377 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22378 (FE_DIVBYZERO): Likewise.
22379 (FE_OVERFLOW): Likewise.
22380 (FE_UNDERFLOW): Likewise.
22381 (FE_INEXACT): Likewise.
22382 (FE_TONEAREST): Likewise.
22383 (FE_DOWNWARD): Likewise.
22384 (FE_UPWARD): Likewise.
22385 (FE_TOWARDZERO): Likewise.
22387 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22389 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22391 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22393 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22394 commands. Quote $PWD.
22395 (blacklist_exports): Don't use remove_newlines. Replace "declare
22397 (remove_newlines): Remove.
22399 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22401 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22402 * stdlib/stdlib.h (atof): Moved to ...
22403 * include/bits/stdlib-float.h: Here. New file.
22404 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22405 * stdlib/bits/stdlib-float.h: New file.
22406 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22411 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22413 * conform/conformtest.pl (@headers): Add fenv.h.
22414 * conform/data/fenv.h-data: New file.
22415 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22416 include of <math/fenv.h>.
22418 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22419 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22420 && !UNIX98]. Enables tests for XOPEN2K8.
22421 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22422 POSIX2008]: Likewise.
22424 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22425 (struct rusage): Do not expect type or its members.
22428 * math/math.h (FP_NAN): Define macro to integer constant usable in
22429 #if and use that to give value to enum constant.
22430 (FP_INFINITE): Likewise.
22431 (FP_ZERO): Likewise.
22432 (FP_SUBNORMAL): Likewise.
22433 (FP_NORMAL): Likewise.
22435 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22437 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22438 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22441 2012-11-02 Roland McGrath <roland@hack.frob.com>
22443 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22444 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22445 autoconf-time if not.
22446 * configure.in: Remove AC_PREREQ.
22448 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22450 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22451 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22452 of the internal implementation.
22454 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22456 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22457 except include of <misc/sys/syslog.h>.
22459 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22462 function returns with a NULL context exit with zero.
22464 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22466 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22468 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22470 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22471 (run_program_cmd): This.
22472 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22473 (tst_langinfo): New variable. Use it.
22475 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22477 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22478 floating point opcodes.
22480 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22482 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22485 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22487 * sysdeps/mach/hurd/powerpc: Remove directory.
22488 * sysdeps/mach/powerpc: Likewise.
22490 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22492 * scripts/check-local-headers.sh: Ignore c++ headers.
22494 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22496 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22497 __libc_cleanup_region_start argument.
22499 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22504 x * y using scaling, not as x * y + z.
22505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22507 * math/libm-test.inc (fma_test): Add more tests.
22508 (fma_test_towardzero): Likewise.
22509 (fma_test_downward): Likewise.
22510 (fma_test_upward): Likewise.
22512 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22514 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22516 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22518 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22521 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22523 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22525 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22532 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22535 Fix the order of the list for glibc 2.17.
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22539 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22543 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22546 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22547 for low part of x being zero before using __atanl (y).
22548 * math/libm-test.inc (atan2_test): Add another test.
22550 * manual/install.texi (Configuring and compiling): Document
22551 general use of test-wrapper and test-wrapper-env.
22552 * INSTALL: Regenerated.
22554 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22555 (__fma): Do not extract and scale down low bits on after-rounding
22556 systems when result rounded to normal precision would have normal
22558 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22559 (__fmal): Do not extract and scale down low bits on after-rounding
22560 systems when result rounded to normal precision would have normal
22562 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22563 (__fmal): Do not extract and scale down low bits on after-rounding
22564 systems when result rounded to normal precision would have normal
22566 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22568 (fma_test): Add more tests.
22569 (fma_test_towardzero): Likewise.
22570 (fma_test_downward): Likewise.
22571 (fma_test_upward): Likewise.
22573 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22575 * sysdeps/i386/tininess.h: Renamed to ...
22576 * sysdeps/x86/tininess.h: This.
22577 * sysdeps/x86_64/tininess.h: Removed.
22579 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22581 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22582 input. Use $(build-program-cmd).
22583 ($(objpfx)tst-array1-static.out): Likewise.
22584 ($(objpfx)tst-array2.out): Likewise.
22585 ($(objpfx)tst-array3.out): Likewise.
22586 ($(objpfx)tst-array4.out): Likewise.
22587 ($(objpfx)tst-array5.out): Likewise.
22588 ($(objpfx)tst-array5-static.out): Likewise.
22590 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22592 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22595 * nss/nsswitch.h (nss_interface_function): Provide new
22596 macro for use with NSS functions.
22597 * grp/initgroups.c: Use new macro.
22598 * nss/getXXbyYY.c: Likewise.
22599 * nss/getXXbyYY_r.c: Likewise.
22600 * nss/getXXent.c: Likewise.
22601 * nss/getXXent_r.c: Likewise.
22602 * sysdeps/posix/getaddrinfo.c: Likewise.
22604 2012-10-30 Andreas Jaeger <aj@suse.de>
22606 * po/ru.po: Update Russion translation from translation project.
22608 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22613 result and shift together with sticky bit instead of replicating
22614 round-to-nearest rounding.
22615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22617 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22618 missing underflow exceptions.
22619 (fma_test_towardzero): Add more tests.
22620 (fma_test_downward): Likewise.
22621 (fma_test_upward): Likewise.
22624 * sysdeps/generic/tininess.h: New file.
22625 * sysdeps/i386/tininess.h: Likewise.
22626 * sysdeps/sh/tininess.h: Likewise.
22627 * sysdeps/x86_64/tininess.h: Likewise.
22628 * stdlib/tst-strtod-underflow.c: Likewise.
22629 * stdlib/tst-tininess.c: Likewise.
22630 * stdlib/strtod_l.c: Include <tininess.h>.
22631 (round_and_return): Do not set errno for exact underflow cases.
22632 Force an underflow exception when setting errno for underflow.
22633 Determine underflow based on rounding to normal precision if
22634 TININESS_AFTER_ROUNDING.
22635 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22636 ERANGE for exact underflow cases.
22637 * stdlib/Makefile (tests): Add tst-tininess and
22638 tst-strtod-underflow.
22639 ($(objpfx)tst-tininess): Use $(link-libm).
22640 ($(objpfx)tst-strtod-underflow): Likewise.
22642 2012-10-30 Andreas Jaeger <aj@suse.de>
22645 * elf/Makefile (tests): Remove conditional for have-initfini-array
22646 since this is now always required and the variable does not exist
22648 (tests-static): Likewise.
22649 (modules-names): Likewise.
22651 * po/eo.po: Add Esperanto translation from translation project.
22653 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22654 merged with constructor/destructor.
22655 (init_array): Likewise.
22656 * elf/tst-array2dep.c (fini_array): Likewise.
22657 (init_array): Likewise.
22659 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22661 * manual/message.texi: Delete @cartouche tags.
22663 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22665 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22667 * sysdeps/mach/hurd/fsync.c: Likewise.
22669 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22670 [_POSIX_REALTIME_SIGNALS]: Change condition to
22671 [_POSIX_REALTIME_SIGNALS > 0].
22673 2012-10-27 Andreas Jaeger <aj@suse.de>
22675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22676 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22678 [__WORDSIZE != 64]: Likewise.
22680 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22682 * iconvdata/tst-table.sh: Remove ${SHELL}.
22683 * iconvdata/tst-tables.sh: Likewise.
22685 2012-10-25 David S. Miller <davem@davemloft.net>
22687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22688 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22693 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22694 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22695 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22698 2012-10-25 Roland McGrath <roland@hack.frob.com>
22700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22701 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22704 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22705 Jim Blandy <jimb@codesourcery.com>
22707 * scripts/cross-test-ssh.sh: New file.
22708 * manual/install.texi (Configuring and compiling): Document use of
22710 * INSTALL: Regenerated.
22712 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22714 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22717 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22719 * Makeconfig (run-program-prefix): Fix comment.
22721 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22722 Jim Blandy <jimb@codesourcery.com>
22724 * Makeconfig (test-wrapper): New variable,
22725 (test-wrapper-env): Likewise.
22726 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22727 (run-built-tests): Define to yes.
22728 (run-program-prefix): Use $(test-wrapper).
22729 (built-program-cmd): Likewise.
22730 * Rules (make-test-out): Use $(test-wrapper-env) and
22731 $(host-built-program-cmd).
22732 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22733 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22735 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22736 $(test-wrapper-env) to tst-rtld-load-self.sh.
22737 ($(objpfx)order2.out): Use $(test-wrapper).
22738 ($(objpfx)tst-initorder.out): Likewise.
22739 ($(objpfx)tst-initorder2.out): Likewise.
22740 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22741 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22742 (test_wrapper_env): New variable. Use it to run ld.so.
22743 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22744 Use it to run ld.so.
22745 (test_wrapper_env): Likewise.
22746 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22747 $(test-wrapper) to run-iconv-test.sh.
22748 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22749 (ICONV): Use $test_wrapper.
22750 * posix/Makefile ($(objpfx)globtest.out): Pass
22751 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22752 globtest.sh, not $(run-program-prefix).
22753 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22754 (test_wrapper): Likewise.
22755 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22756 set together with run_via_rtld_prefix.
22757 (run_program_prefix): Define in terms of test_wrapper and
22758 run_via_rtld_prefix.
22760 2012-10-24 Roland McGrath <roland@hack.frob.com>
22762 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22763 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22767 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22768 Declare __clock_getres, __clock_gettime, __clock_settime,
22769 __clock_nanosleep, and __clock_getcpuclockid.
22770 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22771 Remove librt_hidden_def (clock_gettime).
22772 * sysdeps/unix/clock_gettime.c: Likewise.
22773 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22774 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22775 * rt/clock_getres.c: Define __clock_getres as an alias.
22776 * sysdeps/posix/clock_getres.c: Likewise.
22777 * rt/clock_settime.c: Define __clock_settime as an alias.
22778 * sysdeps/unix/clock_settime.c: Likewise.
22779 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22780 * sysdeps/unix/clock_nanosleep.c: Likewise.
22781 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22782 * rt/clock-compat.c: New file.
22783 * rt/Makefile (librt-routines): Add clock-compat and move
22784 $(clock-routines) to ...
22785 (routines): ... here, new variable.
22786 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22787 Don't add get_clockfreq here.
22788 * rt/Versions (libc: GLIBC_2.17): New version set.
22789 Add clock_* symbols here.
22790 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22792 (GLIBC_2.17): Add clock_* symbols.
22793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22804 * NEWS: Mention the move.
22806 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22807 Use __open, __read, __close rather than their public counterparts.
22808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22809 (__get_clockfreq_via_cpuinfo): Likewise.
22810 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22811 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22813 * config.h.in (HAVE_IFUNC): New #undef.
22814 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22816 * configure: Regenerated.
22818 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22820 * configure.in: Move READELF check to start of file.
22821 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22822 libc_cv_asm_gnu_indirect_function in the process.
22823 * configure: Regenerated.
22825 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22827 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22828 send the output to /dev/null.
22829 (libc_cv_cc_with_libunwind): Likewise.
22830 (libc_cv_as_noexecstack): Likewise.
22831 * configure: Regenerate.
22833 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22835 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22837 * posix/globtest.sh (TMPDIR): Do not set.
22838 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22839 (testout): Likewise.
22841 2012-10-24 Andreas Jaeger <aj@suse.de>
22843 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22844 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22845 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22846 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22847 posix_fadvise64, posix_fallocate64.
22849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22850 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22851 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22853 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22855 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22858 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22859 <bits/fcntl-linux.h>.
22860 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22863 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22864 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22865 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22866 [__WORDSIZE != 64]: Likewise.
22868 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22870 * Makeconfig (run-built-tests): New variable.
22871 * Rules [$(cross-compiling) = yes]: Change condition to
22872 [$(run-built-tests) = no].
22873 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22874 to [$(run-built-tests) = yes].
22875 * elf/Makefile [$(cross-compiling) = no]: Likewise
22876 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22877 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22878 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22879 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22880 * io/Makefile [$(cross-compiling) = no]: Likewise.
22881 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22882 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22883 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22884 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22885 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22886 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22887 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22888 * string/Makefile [$(cross-compiling) = no]: Likewise.
22890 * posix/Makefile ($(objpfx)globtest.out): Pass
22891 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22892 $(rtld-installed-name).
22893 * posix/globtest.sh (elf_objpfx): Remove variable.
22894 (rtld_installed_name): Likewise.
22895 (library_path): Likewise.
22896 (run_program_prefix): New variable. Use for running globtest
22899 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22900 Joseph Myers <joseph@codesourcery.com>
22902 * Makeconfig (host-built-program-cmd): New variable.
22903 * elf/Makefile (tst-stackguard1-ARGS): Use
22904 $(host-built-program-cmd).
22905 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22906 (tst-spawn-ARGS): Likewise.
22907 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22909 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22910 Jim Blandy <jimb@codesourcery.com>
22912 * Makeconfig (run-via-rtld-prefix): New variable.
22913 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22914 (built-program-cmd): Likewise.
22916 2012-10-22 Andreas Jaeger <aj@suse.de>
22918 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22919 __O_RSYNC if it exists, otherwise to O_SYNC.
22921 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22922 Joseph Myers <joseph@codesourcery.com>
22924 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22926 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22928 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22931 2012-10-22 Andreas Jaeger <aj@suse.de>
22933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22938 bits/fcntl-linux.h.
22940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22941 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22948 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22949 Joseph Myers <joseph@codesourcery.com>
22951 * config.make.in (NM): New variable.
22953 2012-10-21 Andreas Jaeger <aj@suse.de>
22955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22956 definitions and declarations that are provided by
22957 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22959 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22962 * elf/Makefile (tests-static): Add tst-leaks1-static.
22963 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22964 ($(objpfx)tst-leaks1-static): New rule.
22965 ($(objpfx)tst-leaks1-static-mem): Likewise.
22966 (tst-leaks1-static-ENV): New macro.
22967 * elf/dl-open.c (dl_open_worker): Check the main application
22968 only if SHARED is defined.
22969 * elf/tst-leaks1-static.c: New file.
22971 2012-10-20 Andreas Jaeger <aj@suse.de>
22973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22974 generic values for Linux.
22975 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22976 and declarations that are provided by <bits/fcntl-linux.h> and
22977 include <bits/fcntl-linux.h>.
22978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22981 2012-10-20 Roland McGrath <roland@hack.frob.com>
22983 * io/fcntl.h: Move include of <bits/types.h> to the top and
22984 include it unconditionally.
22986 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22988 * wcsmbs/Makefile (tests-ifunc): New variable.
22989 (tests): Add $(tests-ifunc).
22990 * wcsmbs/test-wcschr-ifunc.c: New file.
22991 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22992 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22993 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22994 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22995 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22997 * string/Makefile (tests-ifunc): New variable.
22998 (tests): Add $(tests-ifunc).
22999 * string/test-memccpy.c (TEST_NAME): New macro.
23000 * string/test-memchr.c (TEST_NAME): Likewise.
23001 * string/test-memcmp.c (TEST_NAME): Likewise.
23002 * string/test-memcpy.c (TEST_NAME): Likewise.
23003 * string/test-memmem.c (TEST_NAME): Likewise.
23004 * string/test-memmove.c (TEST_NAME): Likewise.
23005 * string/test-memset.c (TEST_NAME): Likewise.
23006 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23007 * string/test-stpcpy.c (TEST_NAME): Likewise.
23008 * string/test-stpncpy.c (TEST_NAME): Likewise.
23009 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23010 * string/test-strcasestr.c (TEST_NAME): Likewise.
23011 * string/test-strcat.c (TEST_NAME): Likewise.
23012 * string/test-strchr.c (TEST_NAME): Likewise.
23013 * string/test-strcmp.c(TEST_NAME): Likewise.
23014 * string/test-strcpy.c (TEST_NAME): Likewise.
23015 * string/test-strcspn.c (TEST_NAME): Likewise.
23016 * string/test-strlen.c (TEST_NAME): Likewise.
23017 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23018 * string/test-strncmp.c (TEST_NAME): Likewise.
23019 * string/test-strncpy.c (TEST_NAME): Likewise.
23020 * string/test-strnlen.c (TEST_NAME): Likewise.
23021 * string/test-strpbrk.c (TEST_NAME): Likewise.
23022 * string/test-strrchr.c (TEST_NAME): Likewise.
23023 * string/test-strspn.c (TEST_NAME): Likewise.
23024 * string/test-strstr.c (TEST_NAME): Likewise.
23025 * string/test-bcopy-ifunc.c: New file.
23026 * string/test-bzero-ifunc.c: Likewise.
23027 * string/test-memccpy-ifunc.c: Likewise.
23028 * string/test-memchr-ifunc.c: Likewise.
23029 * string/test-memcmp-ifunc.c: Likewise.
23030 * string/test-memcpy-ifunc.c: Likewise.
23031 * string/test-memmem-ifunc.c: Likewise.
23032 * string/test-memmove-ifunc.c: Likewise.
23033 * string/test-mempcpy-ifunc.c: Likewise.
23034 * string/test-memset-ifunc.c: Likewise.
23035 * string/test-rawmemchr-ifunc.c: Likewise.
23036 * string/test-stpcpy-ifunc.c: Likewise.
23037 * string/test-stpncpy-ifunc.c: Likewise.
23038 * string/test-strcasecmp-ifunc.c: Likewise.
23039 * string/test-strcasestr-ifunc.c: Likewise.
23040 * string/test-strcat-ifunc.c: Likewise.
23041 * string/test-strchr-ifunc.c: Likewise.
23042 * string/test-strchrnul-ifunc.c: Likewise.
23043 * string/test-strcmp-ifunc.c: Likewise.
23044 * string/test-strcpy-ifunc.c: Likewise.
23045 * string/test-strcspn-ifunc.c: Likewise.
23046 * string/test-strlen-ifunc.c: Likewise.
23047 * string/test-strncasecmp-ifunc.c: Likewise.
23048 * string/test-strncat-ifunc.c: Likewise.
23049 * string/test-strncmp-ifunc.c: Likewise.
23050 * string/test-strncpy-ifunc.c: Likewise.
23051 * string/test-strnlen-ifunc.c: Likewise.
23052 * string/test-strpbrk-ifunc.c: Likewise.
23053 * string/test-strrchr-ifunc.c: Likewise.
23054 * string/test-strspn-ifunc.c: Likewise.
23055 * string/test-strstr-ifunc.c: Likewise.
23057 * debug/Makefile (tests-ifunc): New variable.
23058 (tests): Add $(tests-ifunc).
23059 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23060 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23061 * debug/test-stpcpy_chk-ifunc.c: New file.
23062 * debug/test-strcpy_chk-ifunc.c: Likewise.
23064 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23067 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23068 header is not read in.
23070 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23072 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23073 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23074 directly. Pass built executable to script as
23075 $(built-program-cmd).
23076 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23077 $testprogram without using LD_LIBRARY_PATH and $ldso.
23079 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23080 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23081 $(rtld-installed-name).
23082 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23083 (rtld_installed_name): Likewise.
23084 (library_path): Likewise.
23085 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23086 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23087 $(run-program-prefix) to tst-tables.sh.
23088 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23089 it to run tst-table-from and tst-table-to.
23090 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23091 Pass it to tst-table.sh.
23092 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23093 $(run-program-prefix) to tst-gettext.sh.
23094 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23096 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23098 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23099 to run tst-gettext.
23100 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23101 to run tst-gettext2.
23102 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23103 to run tst-translit.
23104 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23105 $(run-program-prefix) to tst-mtrace.sh.
23106 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23108 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23109 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23110 $(rtld-installed-name).
23111 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23112 (rtld_installed_name): Likewise.
23113 (run_program_prefix): New variable. Use it to run wordexp-test.
23115 * Makeconfig (ARCH): Remove all definitions.
23116 (machine): Likewise.
23117 [ARCH]: Remove conditional code.
23118 [!objdir]: Give error.
23119 [!objdir] (objpfx): Remove.
23120 [!objdir] (common-objpfx): Likewise.
23121 [!objdir] (common-objdir): Likewise.
23122 * configure.in (config_makefile): Remove. Hardcode Makefile in
23123 AC_CONFIG_FILES call.
23124 * configure: Regenerated.
23127 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23129 (testout): Likewise.
23131 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23132 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23133 $(rtld-installed-name).
23134 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23135 (rtld_installed_name): Likwise.
23136 (runit): Remove function.
23137 (run_getconf): New variable, Use it for running getconf binary.
23139 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23142 * string/test-memmem.c (check_result): New function.
23143 (do_one_test): Use it.
23144 (check1): New function.
23145 (test_main): Use it.
23147 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23149 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23151 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23154 (_G_LSEEK64): Likewise.
23155 (_G_MMAP64): Likewise.
23156 (_G_FSTAT64): Likewise.
23157 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23158 (_G_LSEEK64): Likewise.
23159 (_G_MMAP64): Likewise.
23160 (_G_FSTAT64): Likewise.
23161 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23162 unconditional. Call __mmap64 directly.
23163 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23164 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23165 __lseek64 directly.
23166 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23167 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23169 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23170 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23171 __lseek64 directly.
23172 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23173 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23174 __lseek64 directly.
23175 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23176 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23177 __lseek64 directly.
23178 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23179 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23180 __fxstat64 directly.
23181 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23182 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23184 (freopen64) [!_G_OPEN64]: Remove conditional code.
23185 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23187 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23188 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23190 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23191 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23193 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23194 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23196 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23197 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23199 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23200 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23202 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23203 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23205 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23207 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23210 * manual/memory.texi (Malloc Tunable Parameters): Add note
23211 about free list pointers overwriting some perturb bytes.
23212 Wording suggested by Roland McGrath.
23214 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23216 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23217 (lgamma_test): Likewise.
23218 (tgamma_test): Likewise.
23220 2012-10-16 Florian Weimer <fweimer@redhat.com>
23223 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23224 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23226 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23228 * NEWS: Mention BZ #14716.
23229 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23230 when removing AVAILABLE1_USES_J macro.
23232 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23234 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23235 (__bswap_64): __uint64_t for unsigned 64-bit int.
23237 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23239 * include/string.h (memmem): Declare libc hidden alias.
23240 * string/memmem.c (memmem): Define libc hidden alias.
23241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23242 __read, __close instead of open, read, close.
23244 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23247 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23249 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23250 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23251 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23253 (__rawmemchr_sse2): Likewise.
23254 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23255 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23256 (__strchr_sse2): Likewise.
23257 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23258 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23259 (__strcasecmp_sse2): Likewise.
23260 (__strncasecmp_sse2): Likewise.
23261 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23262 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23263 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23264 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23265 (__strrchr_sse2): Likewise.
23266 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23268 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23269 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23270 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23271 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23272 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23273 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23274 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23275 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23276 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23277 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23278 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23279 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23280 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23281 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23282 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23283 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23284 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23285 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23286 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23287 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23288 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23289 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23290 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23291 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23292 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23293 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23294 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23295 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23296 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23297 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23299 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23301 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23302 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23303 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23304 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23306 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23308 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23309 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23310 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23311 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23313 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23318 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23319 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23320 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23321 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23322 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23326 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23327 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23331 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23338 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23339 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23340 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23341 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23342 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23343 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23344 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23345 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23346 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23347 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23348 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23349 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23350 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23351 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23352 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23353 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23355 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23356 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23357 * include/ifunc-impl-list.h: New file.
23358 * misc/ifunc-impl-list.c: Likewise.
23359 * misc/Makefile (routines): Add ifunc-impl-list.
23360 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23361 * string/test-string.h: Include <ifunc-impl-list.h>.
23362 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23363 impl_array): New variables.
23364 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23366 (test_init): Call __libc_ifunc_impl_list to initialize
23367 func_list if TEST_IFUNC and TEST_NAME are defined.
23369 * string/Makefile (strop-tests): Add bcopy and bzero.
23370 * string/test-bcopy.c: New file.
23371 * string/test-bzero.c: Likewise.
23372 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23374 * string/test-memset.c: Support bzero test if TEST_BZERO is
23376 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23378 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23380 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23383 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23385 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23386 * configure: Regenerated.
23388 * Makeconfig (+link-static-before-libc): Don't include
23389 $(link-static-libc).
23391 * libio/libio.h (_IO_pos_t): Remove.
23393 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23395 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23398 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23400 * crypt/crypt-entry.c: Include fips-private.h.
23401 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23402 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23403 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23404 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23406 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23408 * crypt/crypt-private.h: Include stdbool.h.
23409 (_ufc_setup_salt_r): Return bool.
23410 * crypt/crypt-entry.c: Include errno.h.
23411 (__crypt_r): Return NULL with EINVAL for bad salt.
23412 * crypt/crypt_util.c (bad_for_salt): New.
23413 (_ufc_setup_salt_r): Check that salt is long enough and within
23414 the specified alphabet.
23415 * crypt/badsalttest.c: New file.
23416 * crypt/Makefile (tests): Add it.
23417 ($(objpfx)badsalttest): New.
23419 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23421 * NEWS: Add entry for BZ #14602.
23423 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23425 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23427 * math/libm-test.inc: Update comment listing what functions and
23429 (isgreater_test): New function.
23430 (isgreaterequal_test): Likewise.
23431 (isless_test): Likewise.
23432 (islessequal_test): Likewise.
23433 (islessgreater_test): Likewise.
23434 (isunordered_test): Likewise.
23435 (main): Call the new functions.
23437 2012-10-09 Roland McGrath <roland@hack.frob.com>
23439 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23440 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23441 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23442 * sysdeps/i386/configure: Regenerated.
23443 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23444 * sysdeps/mach/configure: Regenerated.
23445 * sysdeps/mach/hurd/configure: Regenerated.
23446 * sysdeps/powerpc/configure: Regenerated.
23447 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23448 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23449 * sysdeps/s390/s390-32/configure: Regenerated.
23450 * sysdeps/s390/s390-64/configure: Regenerated.
23451 * sysdeps/sh/configure: Regenerated.
23452 * sysdeps/sparc/configure: Regenerated.
23453 * sysdeps/unix/sysv/linux/configure: Regenerated.
23454 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23455 * sysdeps/x86_64/configure: Regenerated.
23457 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23458 defined. Don't check if MAP is NULL.
23460 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23462 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23463 (_G_stat64): Likewise.
23464 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23465 (_G_stat64): Likewise.
23466 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23467 instead of struct _G_stat64.
23468 * libio/fileops.c (mmap_remap_check): Likewise.
23469 (decide_maybe_mmap): Likewise.
23470 (_IO_new_file_seekoff): Likewise.
23471 (_IO_file_stat): Likewise.
23472 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23474 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23475 instead of struct _G_stat64.
23476 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23478 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23481 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23483 (CHECK_EOL): New macro.
23484 (two_way_short_needle): Check beginning of haystack for EOL. Use
23486 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23487 Replace with CHECK_EOL.
23488 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23489 Replace with CHECK_EOL.
23491 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23493 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23495 * math/libm-test.inc: Update comment listing what functions and
23497 (finite_test): New function.
23498 (isinf_test): Likewise.
23499 (isnan_test): Likewise.
23500 (fpclassify_test): Test subnormal input.
23501 (isfinite_test): Likewise.
23502 (isnormal_test): Likewise.
23503 (main): Call the new functions.
23505 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23508 * Makerules (%.dynsym): Force C locale when running
23509 $(OBJDUMP) --dynamic-syms.
23511 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23513 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23516 2012-10-06 David S. Miller <davem@davemloft.net>
23518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23519 upper 32-bits of the length value in %o2 since we use branch-on-register
23520 tests which consider the entire 64-bit register.
23522 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23524 * string/test-strstr.c (check2): Add a test for page boundary.
23526 2012-10-05 David S. Miller <davem@davemloft.net>
23528 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23529 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23531 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23534 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23535 and bzero when HWCAP_SPARC_CRYPTO is present.
23537 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23540 * string/test-strstr.c (check2): New function.
23541 (test_main): Call check2.
23543 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23545 * string/bug-strcasestr1.c (do_test): Moved to ...
23546 * string/test-strcasestr.c (check1): Here. New function.
23547 (do_one_test): Break out result checking code into ...
23548 (check_result): This. New function.
23549 (do_one_test): Call check_result.
23550 (test_main): Call check1.
23551 * string/bug-strchr1.c (do_test): Moved to ...
23552 * string/test-strchr.c (check1): Here. New function.
23553 (do_one_test): Break out result checking code into ...
23554 (check_result): This. New function.
23555 (do_one_test): Call check_result.
23556 (test_main): Call check1.
23557 * string/bug-strstr1.c (main): Moved to ...
23558 * string/test-strstr.c (check1): Here. New function.
23559 (do_one_test): Break out result checking code into ...
23560 (check_result): This. New function.
23561 (do_one_test): Call check_result.
23562 (test_main): Call check1.
23563 * string/bug-strcasestr1.c: Removed.
23564 * string/bug-strchr1.c: Likewise.
23565 * string/bug-strstr1.c: Likewise.
23567 * elf/Makefile (dl-routines): Add hwcaps.
23568 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23569 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23570 (_dl_important_hwcaps): Moved to ...
23571 * elf/dl-hwcaps.c: Here. New file.
23572 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23575 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23576 if IS_IN_rtld isn't defined.
23578 * elf/dl-support.c (_dl_sysinfo_map): New.
23579 Include "get-dynamic-info.h" and "setup-vdso.h".
23580 (_dl_non_dynamic_init): Call setup_vdso.
23581 * elf/dynamic-link.h: Don't include <assert.h>.
23582 (elf_get_dynamic_info): Moved to ...
23583 * elf/get-dynamic-info.h: Here. New file.
23584 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23585 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23586 * elf/setup-vdso.h: Here. New file.
23587 * elf/rtld.c: Include "setup-vdso.h".
23588 (dl_main): Call setup_vdso.
23590 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23592 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23593 creal in comment listing functions tested. List finite, isinf,
23594 isnan, isless, islessequal, isgreater, isgreaterequal,
23595 islessgreater, isunordered, lgamma_r and pow10 as functions and
23596 macros not tested. Mention which functions not tested are aliases
23597 for other functions. Fix typo. Note that signs of NaNs are not
23600 * scripts/config.guess: Update from config.git.
23601 * scripts/config.sub: Likewise.
23603 2012-10-04 Roland McGrath <roland@hack.frob.com>
23605 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23606 * misc/madvise.c (madvise): Renamed to __madvise.
23607 Make madvise a weak alias.
23608 * include/sys/mman.h: Declare __madvise.
23609 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23610 * sysdeps/unix/syscalls.list
23611 (madvise): Make __madvise the strong name, and madvise a weak alias.
23612 * sysdeps/unix/sysv/linux/syscalls.list
23613 (madvise, mmap): Remove redundant entries.
23614 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23615 * malloc/malloc.c (mtrim): Likewise.
23616 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23618 2012-10-03 Roland McGrath <roland@hack.frob.com>
23620 * sysdeps/mach/hurd/dl-cache.c: File removed.
23621 * config.h.in (USE_LDCONFIG): New #undef.
23622 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23623 * configure: Regenerated.
23624 * elf/Makefile (dl-routines): Add dl-cache only under
23625 [$(use-ldconfig) = yes].
23626 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23627 cache on [USE_LDCONFIG].
23628 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23630 * elf/rtld.c (dl_main): Likewise.
23632 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23634 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23635 _SC_LEVEL4_CACHE_LINESIZE.
23637 2012-10-03 Roland McGrath <roland@hack.frob.com>
23639 * sysdeps/unix/bsd/confstr.h: File removed.
23641 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23643 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23646 2012-10-02 Roland McGrath <roland@hack.frob.com>
23648 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23649 Make 'mapoff' field ElfW(Off) rather than off_t.
23651 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23653 * nscd/Makefile: Remove nscd-cflags and all its users.
23654 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23655 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23658 * malloc.c (malloc_printerr): Clarify error message.
23660 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23664 Set bit_FMA_Usable if FMA is supported.
23665 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23667 (bit_FMA4_Usable): Updated.
23668 (index_FMA_Usable): New macro.
23669 (CPUID_FMA): Likewise
23670 (HAS_FMA): Defined with bit_FMA_Usable.
23672 2012-10-01 Roland McGrath <roland@hack.frob.com>
23674 * bits/types.h (__swblk_t): Type removed.
23675 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23676 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23678 (__SWBLK_T_TYPE): Likewise.
23679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23680 (__SWBLK_T_TYPE): Likewise.
23681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23682 (__SWBLK_T_TYPE): Likewise.
23683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23684 (__SWBLK_T_TYPE): Likewise.
23686 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23687 Honza Horak <hhorak@redhat.com>
23689 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23690 (xdr_mapname): Use YPMAXMAP as maxsize.
23691 (xdr_peername): Use YPMAXPEER as maxsize.
23692 (xdr_keydat): Use YPAXRECORD as maxsize.
23693 (xdr_valdat): Use YPMAXRECORD as maxsize.
23695 2012-10-01 Roland McGrath <roland@hack.frob.com>
23697 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23699 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23700 * csu/init-first.c: ... here.
23701 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23702 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23703 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23704 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23705 * sysdeps/i386/init-first.c: File removed.
23706 * sysdeps/sh/init-first.c: File removed.
23708 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23712 if x * y might underflow to zero and z is zero.
23713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23715 * math/libm-test.inc (min_subnorm_value): New variable.
23716 (fma_test): Add more tests.
23717 (fma_test_towardzero): Likewise.
23718 (fma_test_downward): Likewise
23719 (fma_test_upward): Likewise.
23720 (initialize): Set min_subnorm_value.
23722 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23728 mode for addition resulting in exact zero.
23729 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23732 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23734 * math/libm-test.inc (fma_test): Add more tests.
23735 (fma_test_towardzero): New function.
23736 (fma_test_downward): Likewise.
23737 (fma_test_upward): Likewise.
23738 (main): Call the new functions.
23740 2012-09-28 David S. Miller <davem@davemloft.net>
23742 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23744 2012-09-28 Roland McGrath <roland@hack.frob.com>
23746 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23747 instead of SIGALRM.
23749 * sysdeps/gnu/_G_config.h: Moved to ...
23750 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23751 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23752 * sysdeps/generic/_G_config.h: ... here.
23754 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23756 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23758 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23759 Conditionalize target on [libnss_test1.so-version].
23761 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23763 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23764 (elfobjdir): Move out of conditionals.
23766 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23767 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23768 (__nss_lookup_function): Conditionalize label remove_from_tree on
23769 [!DO_STATIC_NSS || SHARED], matching its only use.
23771 2012-09-28 David S. Miller <davem@davemloft.net>
23773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23776 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23778 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23780 when HWCAP_SPARC_CRYPTO is present.
23782 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23784 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23786 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23789 * stdio-common/vfprintf.c (process_string_arg): Revert
23792 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23794 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23796 * stdio-common/tst-sprintf.c: Include <locale.h>
23797 (main): Test sprintf's handling of incomplete multibyte
23800 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23802 * elf/dl-runtime.c (VERSYMIDX): Removed.
23803 * elf/dl-version.c (VERSYMIDX): Likewise.
23804 * elf/do-rel.h (VERSYMIDX): Likewise.
23805 (VALIDX): Likewise.
23806 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23807 * elf/rtld.c (VALIDX): Likewise.
23808 (ADDRIDX): Likewise.
23809 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23810 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23811 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23812 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23813 (VALIDX): Likewise.
23814 (ADDRIDX): Likewise.
23816 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23818 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23820 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23823 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23825 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23826 addresses are in the same scope as 192.0.2/24.
23827 * posix/gai.conf: Document new scope table defaults.
23829 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23832 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23833 for ftell. Compute offsets from write pointers instead.
23834 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23836 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23839 * libio/Makefile (tests): New test case tst-fseek.
23840 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23841 combination works in wide mode.
23842 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23843 state when the external buffer state changes.
23845 2012-09-27 David S. Miller <davem@davemloft.net>
23848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23849 pass reloc->r_addend in as the 'high' argument to
23850 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23854 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23856 * rt/tst-aio2.c: Include <pthread.h>.
23857 * rt/tst-aio3.c: Likewise.
23859 2012-09-27 Steve Ellcey <sellcey@mips.com>
23861 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23863 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23865 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23866 contents on [SHARED].
23868 2012-09-26 Marek Polacek <polacek@redhat.com>
23872 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23873 for C++ and GCC <4.3 as well as for non GCC compilers.
23875 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23879 2012-09-25 Roland McGrath <roland@hack.frob.com>
23881 * Makefile.in (all, install): Declare with .PHONY.
23882 Reported by Michael Hope <michael.hope@linaro.org>.
23884 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23886 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23887 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23889 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23891 (sydep_routines): Add the new and the internal functions.
23892 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23893 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23895 (GLIBC_2.17): Add the new function.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23897 (GLIBC_2.17): Likewise.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23899 (GLIBC_2.17): Likewise.
23900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23901 (GLIBC_2.17): Likewise.
23902 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23904 2012-09-25 Alan Modra <amodra@gmail.com>
23906 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23907 Add release barrier before setting once_control to say
23908 initialisation is done. Add hints on lwarx. Use macro in
23910 (clear_once_control): Add release barrier.
23912 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23915 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23917 * math/s_clog10.c (__clog10): Likewise.
23918 * math/s_clog10f.c (__clog10f): Likewise.
23919 * math/s_clog10l.c (__clog10l): Likewise.
23920 * math/s_clogf.c (__clogf): Likewise.
23921 * math/s_clogl.c (__clogl): Likewise.
23922 * math/Makefile (libm-calls): Add x2y2m1.
23923 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23924 (__x2y2m1): Likewise.
23925 (__x2y2m1l): Likewise.
23926 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23927 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23932 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23933 * sysdeps/i386/fpu/libm-test-ulps: Update.
23934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23937 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23938 int as type of variable DEPTH.
23939 (glob): Use size_t instead of int as type of variables NEWCOUNT
23942 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23944 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23945 Add s_sincosf-sse2.
23946 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23947 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23948 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23949 macros for using routine as __sincosf_ia32.
23950 Use macro for function declaration and weak_alias.
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23953 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23956 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23957 subnormal argument.
23958 * math/s_cexpf.c (__cexpf): Likewise.
23959 * math/s_csinf.c (__csinf): Likewise.
23960 * math/s_csinhf.c (__csinhf): Likewise.
23961 * math/s_ctanf.c (__ctanf): Likewise.
23962 * math/s_ctanhf.c (__ctanhf): Likewise.
23963 * math/s_ccosh.c (__ccoshf): Likewise.
23964 * math/s_cexp.c (__cexpl): Likewise.
23965 * math/s_csin.c (__csin): Likewise.
23966 * math/s_csinh.c (__csinh): Likewise.
23967 * math/s_ctan.c (__ctan): Likewise.
23968 * math/s_ctanh.c (ctanh): Likewise.
23969 * math/s_ccoshl.c (__ccoshl): Likewise.
23970 * math/s_cexpl.c (__cexpl): Likewise.
23971 * math/s_csinl.c (__csinl): Likewise.
23972 * math/s_csinhl.c (__csinhl): Likewise.
23973 * math/s_ctanl.c (__ctanl): Likewise.
23974 * math/s_ctanhl.c (__ctanhl): Likewise.
23976 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23978 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23979 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23980 (_IO_off_t): Define to __off_t, not _G_off_t.
23981 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23982 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23983 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23984 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23985 type of __dummy and __dummy2 fields.
23986 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23987 (_G_ssize_t): Likewise.
23988 (_G_off_t): Likewise.
23989 (_G_pid_t): Likewise.
23990 (_G_uid_t): Likewise.
23991 (_G_wchar_t): Likewise.
23992 (_G_wint_t): Likewise.
23993 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23994 (_G_ssize_t): Likewise.
23995 (_G_off_t): Likewise.
23996 (_G_pid_t): Likewise.
23997 (_G_uid_t): Likewise.
23998 (_G_wchar_t): Likewise.
23999 (_G_wint_t): Likewise.
24000 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24001 (_G_ssize_t): Likewise.
24002 (_G_off_t): Likewise.
24003 (_G_pid_t): Likewise.
24004 (_G_uid_t): Likewise.
24005 (_G_wchar_t): Likewise.
24006 (_G_wint_t): Likewise.
24008 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24010 * malloc/arena.c: Include malloc-sysdep.h.
24011 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24012 is sufficient to shrink the heap or an unmap is needed.
24013 * sysdeps/generic/malloc-sysdep.h: New file. Define
24014 new function check_may_shrink_heap.
24015 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24016 new function check_may_shrink_heap.
24018 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24020 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24023 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24025 * catgets/test-gencat.sh: Add "set -e".
24026 * elf/tst-pathopt.sh: Likewise.
24027 * grp/tst_fgetgrent.sh: Likewise.
24028 * iconvdata/run-iconv-test.sh: Likewise.
24029 * intl/tst-gettext.sh: Likewise.
24030 * intl/tst-gettext2.sh: Likewise.
24031 * intl/tst-gettext4.sh: Likewise.
24032 * intl/tst-gettext6.sh: Likewise.
24033 * intl/tst-translit.sh: Likewise.
24034 * io/ftwtest-sh: Likewise.
24035 * libio/test-freopen.sh: Likewise.
24036 * malloc/tst-mtrace.sh: Likewise.
24037 * posix/globtest.sh: Likewise.
24038 * posix/tst-getconf.sh: Likewise.
24039 * posix/wordexp-tst.sh: Likewise.
24040 * stdio-common/tst-printf.sh: Likewise.
24041 * stdio-common/tst-unbputc.sh: Likewise.
24042 * stdlib/tst-fmtmsg.sh: Likewise.
24043 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24044 * catgets/Makefile: Do not specify -e option when running
24045 testsuite shell scripts.
24046 * elf/Makefile: Likewise.
24047 * grp/Makefile: Likewise.
24048 * iconvdata/Makefile: Likewise.
24049 * intl/Makefile: Likewise.
24050 * io/Makefile: Likewise.
24051 * libio/Makefile: Likewise.
24052 * malloc/Makefile: Likewise.
24053 * posix/Makefile: Likewise.
24054 * stdio-common/Makefile: Likewise.
24055 * stdlib/Makefile: Likewise.
24056 * sysdeps/x86_64/Makefile: Likewise.
24058 * io/ftwtest-sh: Add copyright header.
24059 * posix/globtest.sh: Likewise.
24060 * posix/tst-getconf.sh: Likewise.
24061 * posix/wordexp-tst.sh: Likewise.
24062 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24064 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24067 * Makeconfig (+link): Defined as $(+link-static) if
24068 $(build-shared) isn't yes.
24069 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24071 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24073 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24076 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24077 new chunk size with MALLOC_ALIGN_MASK.
24079 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24082 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24084 (__printf_fphex): Determine rounding using get_rounding_mode and
24086 * stdio-common/tst-printf-round.c (struct hex_test): New
24088 (hex_tests): New variable.
24089 (test_hex_in_one_mode): New function.
24090 (do_test): Also run tests for hex float output.
24092 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24094 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24095 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24096 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24097 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24098 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24099 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24100 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24101 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24103 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24105 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24106 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24107 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24108 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24110 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24113 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24115 * elf/tst-rtld-load-self.sh: New test.
24116 * elf/Makefile: Run it.
24118 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24120 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24121 (tst-writev-ENV): Remove.
24122 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24124 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24126 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24128 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24130 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24132 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24134 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24135 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24136 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24139 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24142 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24143 * config.make.in (have-cpp-asm-debuginfo): Removed.
24144 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24145 * configure: Regenerated.
24147 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24150 * stdio-common/printf_fp.c: Include <stdbool.h> and
24152 (___printf_fp): Determine rounding using get_rounding_mode and
24154 * stdio-common/tst-printf-round.c: New file.
24155 * stdio-common/Makefile (tests): Add tst-printf-round.
24156 (link-libm): New variable.
24157 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24159 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24162 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24163 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24165 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24168 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24170 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24171 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24172 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24173 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24175 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24178 * include/rounding-mode.h: New file.
24179 * sysdeps/generic/get-rounding-mode.h: Likewise.
24180 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24181 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24182 (MAX_VALUE): New macro.
24183 (MIN_VALUE): Likewise.
24184 (overflow_value): New function.
24185 (underflow_value): Likewise.
24186 (round_and_return): Use overflow_value and underflow_value to
24187 determine return values in overflow and underflow cases. Use
24188 round_away to determine rounding depending on rounding mode.
24189 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24190 determine return values in overflow and underflow cases.
24191 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24192 (struct test_results): New structure.
24193 (struct test): Use struct test_results to store expected results
24194 for all rounding modes.
24195 (TEST): Include expected results for all rounding modes.
24196 (test_in_one_mode): New function.
24197 (do_test): Use test_in_one_mode to compute and check results.
24198 Check results for all rounding modes.
24199 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24202 2012-12-09 Allan McRae <allan@archlinux.org>
24204 * sysdeps/i386/fpu/libm-test-ulps: Update
24206 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24208 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24209 (_G_int32_t): Likewise.
24210 (_G_uint16_t): Likewise.
24211 (_G_uint32_t): Likewise.
24212 (_G_HAVE_BOOL): Likewise.
24213 (_G_HAVE_ATEXIT): Likewise.
24214 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24215 (_G_HAVE_IO_FILE_OPEN): Likewise.
24216 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24217 (_G_int32_t): Likewise.
24218 (_G_uint16_t): Likewise.
24219 (_G_uint32_t): Likewise.
24220 (_G_HAVE_BOOL): Likewise.
24221 (_G_HAVE_ATEXIT): Likewise.
24222 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24223 (_G_HAVE_IO_FILE_OPEN): Likewise.
24224 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24225 (_G_int32_t): Likewise.
24226 (_G_uint16_t): Likewise.
24227 (_G_uint32_t): Likewise.
24228 (_G_HAVE_BOOL): Likewise.
24229 (_G_HAVE_ATEXIT): Likewise.
24230 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24231 (_G_HAVE_IO_FILE_OPEN): Likewise.
24233 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24235 * csu/libc-tls.c: Update copyright years.
24237 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24239 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24240 [!_G_USING_THUNKS]: Remove conditional code.
24241 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24242 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24244 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24245 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24246 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24247 (_G_VTABLE_LABEL_PREFIX): Likewise.
24248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24249 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24250 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24251 (_G_VTABLE_LABEL_PREFIX): Likewise.
24252 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24253 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24254 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24255 (_G_VTABLE_LABEL_PREFIX): Likewise.
24256 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24258 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24260 * libio/Makefile: Include ../Makeconfig before tests.
24261 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24262 only if $(build-shared) is yes.
24264 * iconv/gconv_db.c: Update copyright years.
24266 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24268 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24269 unwind info if defined PIC. Fix special cases description.
24270 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24272 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24274 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24276 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24278 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24280 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24283 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24284 (LDLIBS-tst-chk4): This.
24285 (LDFLAGS-tst-chk5): Renamed to ...
24286 (LDLIBS-tst-chk5): This.
24287 (LDFLAGS-tst-chk6): Renamed to ...
24288 (LDLIBS-tst-chk6): This.
24289 (LDFLAGS-tst-lfschk4): Renamed to ...
24290 (LDLIBS-tst-lfschk4): This.
24291 (LDFLAGS-tst-lfschk5): Renamed to ...
24292 (LDLIBS-tst-lfschk5): This.
24293 (LDFLAGS-tst-lfschk6): Renamed to ...
24294 (LDLIBS-tst-lfschk6): This.
24296 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24297 on $(common-objpfx)soversions.mk.
24299 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24302 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24305 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24307 * malloc/arena.c (arena_get_retry): New function that gets
24308 another arena for the caller to try its request on.
24309 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24310 current arena cannot fulfill the request.
24311 (__libc_memalign): Likewise.
24312 (__libc_memalign): Likewise.
24313 (__libc_pvalloc): Likewise.
24314 (__libc_calloc): Likewise.
24316 2012-09-05 John Tobey <john.tobey@gmail.com>
24319 * manual/arith.texi (Operations on Complex): Fix description
24320 of carg branch cut.
24322 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24325 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24329 * manual/memory.texi (Memory): Make order of menu items match
24332 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24334 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24335 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24336 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24338 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24340 * csu/libc-tls.c (static_dtv): Renamed to ...
24341 (_dl_static_dtv): This. Make it global.
24342 (_dl_initial_dtv): Removed.
24343 (__libc_setup_tls): Updated.
24344 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24345 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24348 2012-09-06 Petr Machata <pmachata@redhat.com>
24350 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24351 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24352 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24353 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24355 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24358 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24359 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24362 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24365 * Makeconfig (link-static-before-libc): Replace $(+prector)
24367 (link-static-after-libc): Replace $(+postctor) with
24369 (link-bounded): Replace $(+prector)/$(+postctor) with
24370 $(+prectorT)/$(+postctorT).
24371 (+prectorT): New macro.
24372 (+postctorT): Likewise.
24374 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24376 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24377 (round_str): Handle values above the maximum for IBM long double
24379 * stdlib/tst-strtod-round.c (tests): Regenerated.
24381 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24383 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24385 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24386 zarch_nohighgprs around the zarch optimized routines.
24387 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24388 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24392 2012-09-05 David S. Miller <davem@davemloft.net>
24394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24396 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24397 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24398 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24399 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24402 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24404 * malloc/arena.c: Fold copyright years.
24405 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24407 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24409 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24411 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24413 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24415 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24417 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24418 change internal state upon failure.
24420 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24422 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24423 * malloc/memusage.c (mmap): Likewise.
24424 (mmap64, mremap): Likewise. Adjust name in comment.
24426 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24428 * libio/fileops.c: Fix typos in comments.
24429 * libio/oldfileops.c: Likewise.
24430 * libio/wfileops.c: Likewise.
24432 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24435 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24436 (tst-malloc-usable-ENV): Set environment for test case.
24437 * malloc/hooks.c (malloc_check_get_size): New function to get
24439 * malloc/malloc.c (musable): Use malloc_check_get_size.
24440 * malloc/tst-malloc-usable.c: New test case.
24442 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24444 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24446 2012-09-05 Allan McRae <allan@archlinux.org>
24449 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24450 determine header location.
24451 * configure: Regenerated.
24453 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24455 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24457 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24458 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24460 (test): Regenerate.
24462 2012-09-04 David S. Miller <davem@davemloft.net>
24464 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24466 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24468 2012-09-04 Florian Weimer <fweimer@redhat.com>
24470 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24473 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24475 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24478 * libio/iogetdelim.c: Include <limits.h>.
24479 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24480 + len + 1 would overflow.
24482 2012-09-03 Andreas Jaeger <aj@suse.de>
24484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24485 * sysdeps/i386/fpu/libm-test-ulps: Update.
24487 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24489 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24490 Add s_sinf-sse2, s_conf-sse2.
24492 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24493 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24494 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24495 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24497 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24498 for using routine as __sinf_ia32.
24499 Use macro for function declaration and weak_alias.
24500 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24501 for using routine as __cosf_ia32.
24502 Use macro for function declaration and weak_alias.
24504 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24505 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24507 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24508 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24511 * math/libm-test.inc (cos_test): Add more test cases.
24512 (sin_test): Likewise.
24513 (sincos_test): Likewise.
24515 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24518 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24520 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24522 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24525 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24526 first element of the GOT.
24527 (elf_machine_load_address): Return the difference between
24528 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24530 2012-09-01 Allan McRae <allan@archlinux.org>
24533 * configure.in (AWK): Require gawk version 3.0 or later.
24534 * configure: Regenerated.
24536 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24538 * sysdeps/unix/sysv/linux/kernel-features.h
24539 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24541 [__NR_clock_getres]: Make code unconditional.
24542 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24543 (clock_getcpuclockid): Remove code left unreachable by removal of
24545 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24546 code unconditional.
24547 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24548 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24549 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24550 Make code unconditional.
24551 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24552 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24553 * sysdeps/unix/sysv/linux/clock_settime.c
24554 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24556 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24557 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24559 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24562 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24563 scripts/test-installation.pl.
24565 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24566 and $ld_so_version if it is set.
24568 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24572 failure if reading from procfs failed.
24573 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24575 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24577 * sysdeps/unix/sysv/linux/kernel-features.h
24578 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24579 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24580 Remove conditional code.
24581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24582 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24583 Remove conditional code.
24584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24585 * sysdeps/unix/sysv/linux/i386/fxstat.c
24586 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24588 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24591 * sysdeps/unix/sysv/linux/i386/lxstat.c
24592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24594 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24595 Remove conditional code.
24596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24597 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24598 Remove conditional code.
24599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24600 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24601 <kernel-features.h>.
24602 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24604 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24605 Remove conditional code.
24606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24607 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24608 Remove conditional.
24610 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24613 * NEWS: Add fixed bug number.
24615 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24618 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24619 underflowing exponent in case of negative sign.
24620 * stdlib/tst-strtod-round-data: Add more tests.
24621 * stdlib/tst-strtod-round.c (tests): Regenerated.
24624 * stdlib/strtod_l.c (NDIG): Remove.
24625 (HEXNDIG): Likewise.
24626 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24627 smallest representable value.
24628 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24629 lie within an exact representation of 1/2 ulp of the result.
24630 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24632 (TENS_P9_IDX): Define unconditionally.
24633 (TENS_P9_SIZE): Likewise.
24634 (TENS_P10_IDX): Likewise.
24635 (TENS_P10_SIZE): Likewise.
24636 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24637 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24638 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24639 entries for 10^2^13 and 10^2^14.
24640 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24641 (TENS_P13_IDX): Define.
24642 (TENS_P13_SIZE): Likewise.
24643 (TENS_P14_IDX): Likewise.
24644 (TENS_P14_SIZE): Likewise.
24645 (_fpioconst_pow10): Change array size to
24646 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24648 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24649 1024]: Add entries for 10^2^13 and 10^2^14.
24650 [LAST_POW10 > _LAST_POW10]: Remove #error.
24651 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24652 (_fpioconst_pow10): Change array size to
24653 FPIOCONST_POW10_ARRAY_SIZE.
24654 * stdlib/gen-fpioconst.c: New file.
24655 * stdlib/gen-tst-strtod-round.c: Likewise.
24656 * stdlib/tst-strtod-round-data: Likewise.
24657 * stdlib/tst-strtod-round.c: Likewise.
24658 * stdlib/Makefile (tests): Add tst-strtod-round.
24661 * stdlib/strtod_l.c: Include <stdint.h>.
24662 (NDEBUG): Do not define.
24663 (round_and_return): Change EXPONENT parameter to type intmax_t.
24664 Rearrange calculations to avoid internal overflow possibilities.
24665 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24666 Rearrange calculations to avoid internal overflow possibilities.
24667 Assert that number fits inside MPNSIZE limbs.
24668 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24669 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24670 calculations and add assertions to avoid internal overflow
24671 possibilities. Add casts to avoid signed/unsigned operations.
24672 * stdlib/tst-strtod-overflow.c: New file.
24673 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24675 2012-08-25 Marek Polacek <polacek@redhat.com>
24677 * time/time.h: Fix some typos in comments.
24679 2012-08-23 Roland McGrath <roland@hack.frob.com>
24681 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24682 * posix/tst-rfc3484-2.c: Likewise.
24683 * posix/tst-rfc3484-3.c: Likewise.
24685 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24687 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24688 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24690 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24693 #include of fxstatat64.c.
24695 2012-08-22 Roland McGrath <roland@hack.frob.com>
24697 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24698 * shadow/getspent_r.c: Likewise.
24699 * shadow/getspnam.c: Likewise.
24700 * shadow/getspnam_r.c: Likewise.
24701 * gshadow/getsgent.c: Likewise.
24702 * gshadow/getsgent_r.c: Likewise.
24703 * gshadow/getsgnam.c: Likewise.
24704 * gshadow/getsgnam_r.c: Likewise.
24705 * inet/getnetbyad.c: Likewise.
24706 * inet/getnetbyad_r.c: Likewise.
24707 * inet/getnetbynm.c: Likewise.
24708 * inet/getnetbynm_r.c: Likewise.
24709 * inet/getnetent.c: Likewise.
24710 * inet/getnetent_r.c: Likewise.
24711 * inet/getproto.c: Likewise.
24712 * inet/getproto_r.c: Likewise.
24713 * inet/getprtent.c: Likewise.
24714 * inet/getprtent_r.c: Likewise.
24715 * inet/getprtname.c: Likewise.
24716 * inet/getprtname_r.c: Likewise.
24717 * inet/getrpcbyname.c: Likewise.
24718 * inet/getrpcbyname_r.c: Likewise.
24719 * inet/getrpcbynumber.c: Likewise.
24720 * inet/getrpcbynumber_r.c: Likewise.
24721 * inet/getrpcent.c: Likewise.
24722 * inet/getrpcent_r.c: Likewise.
24723 * inet/getaliasent.c: Likewise.
24724 * inet/getaliasent_r.c: Likewise.
24725 * inet/getaliasname.c: Likewise.
24726 * inet/getaliasname_r.c: Likewise.
24727 * nscd/getgrgid_r.c: Likewise.
24728 * nscd/getgrnam_r.c: Likewise.
24729 * nscd/gethstbyad_r.c: Likewise.
24730 * nscd/gethstbynm3_r.c: Likewise.
24731 * nscd/getpwnam_r.c: Likewise.
24732 * nscd/getpwuid_r.c: Likewise.
24733 * nscd/getsrvbynm_r.c: Likewise.
24734 * nscd/getsrvbypt_r.c: Likewise.
24735 * nscd/gai.c: Likewise.
24737 * configure.in (build_nscd): New substituted variable, set
24738 by --disable-build-nscd and defaults to $use_nscd.
24739 * configure: Regenerated.
24740 * config.make.in (build-nscd): New substituted variable.
24741 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24742 Change conditional to require [$(build-nscd) = yes] as well.
24743 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24746 * configure.in (use_nscd): New substituted variable, set by
24747 --disable-nscd. If enabled, define USE_NSCD.
24748 * configure: Regenerated.
24749 * config.h.in: Add USE_NSCD.
24750 * config.make.in (use-nscd): New substituted variable.
24751 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24752 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24753 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24754 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24755 (CFLAGS-getgrnam_r.c): Likewise.
24756 (CFLAGS-initgroups.c): Likewise.
24757 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24758 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24760 * inet/getnetgrent_r.c
24761 (nscd_setnetgrent): New function, broken out of ...
24762 (setnetgrent): ... here. Call it.
24763 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24764 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24765 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24766 * nscd/Makefile (routines, aux): Move definitions after include of
24767 Makeconfig. Conditionalize on [$(use-nscd) != no].
24768 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24769 Conditionalize on [USE_NSCD].
24770 (is_nscd, nscd_init_cb): Likewise.
24771 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24772 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24773 * nss/nss_db/db-init.c: Likewise.
24774 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24776 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24777 (make_request): Use it.
24778 (cache_valid_p): New function.
24779 (__check_pf): Use it.
24780 * NEWS: Add item for --disable-nscd.
24782 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24784 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24785 to support sed >= 4.2.1-20-ga9bf076.
24786 * configure: Regenerated.
24788 2012-08-22 Roland McGrath <roland@hack.frob.com>
24790 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24791 Conditionalize whole body on [IREL].
24793 2012-08-22 Jeff Law <law@redhat.com>
24796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24797 if the family is PF_UNSPEC.
24799 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24801 * Makerules (lib-version): Rename from V.
24802 (install-lib-nosubdir): Change V to lib-version.
24804 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24807 * powerpc32/power6/wcschr.c: New file.
24808 * powerpc32/power6/wcscpy.c: New file.
24809 * powerpc32/power6/wcsrchr.c: New file.
24810 * powerpc64/power6/wcschr.c: New file.
24811 * powerpc64/power6/wcscpy.c: New file.
24812 * powerpc64/power6/wcsrchr.c: New file.
24814 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24816 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24817 (two_way_short_needle): Use it.
24818 * string/strstr.c (AVAILABLE1_USES_J): Define.
24819 * string/strcasestr.c: Likewise.
24821 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24823 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24826 * NEWS: Add an entry.
24827 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24828 define their defaults.
24829 (two_way_short_needle): Detect end-of-string on-the-fly.
24830 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24831 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24832 * string/bug-strcasestr1.c: New test.
24833 * string/Makefile: Run it.
24835 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24838 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24839 the first character.
24841 2012-08-21 Roland McGrath <roland@hack.frob.com>
24843 * csu/elf-init.c (__libc_csu_irel): Function removed.
24844 * csu/libc-start.c (apply_irel): New function.
24845 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24847 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24849 * sysdeps/unix/sysv/linux/kernel-features.h
24850 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24851 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24852 <kernel-features.h>.
24853 [__NR_fadvise64_64]: Make code unconditional.
24854 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24855 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24856 !__NR_fadvise64_64)]: Likewise.
24857 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24858 !__NR_fadvise64_64))]: Likewise.
24859 [__NR_fadvise64]: Make code unconditional.
24860 [!__NR_fadvise64]: Remove conditional code.
24861 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24862 <kernel-features.h>.
24863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24868 not include <kernel-features.h>.
24869 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24871 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24873 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24874 include <kernel-features.h>.
24875 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24877 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24880 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24883 slight instruction rearrangements per scrollpipe analysis.
24884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24886 2012-08-20 Roland McGrath <roland@hack.frob.com>
24888 * manual/syslog.texi (syslog; vsyslog, closelog):
24889 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24890 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24892 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24893 DSOCAPS to match condition on defining it.
24895 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24897 * sysdeps/unix/sysv/linux/kernel-features.h
24898 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24900 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24901 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24909 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24910 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24912 * sysdeps/unix/sysv/linux/kernel-features.h
24913 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24914 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24916 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24917 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24918 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24919 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24920 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24921 Make code unconditional.
24922 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24923 (__mmap64) [!__NR_mmap2]: Likewise.
24924 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24925 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24926 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24928 [__NR_mmap2]: Make code unconditional.
24929 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24930 (__mmap64) [!__NR_mmap2]: Likewise.
24932 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24934 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24936 2012-08-18 Andreas Jaeger <aj@suse.de>
24938 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24940 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24942 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24943 * include/unistd.h (__have_sock_cloexec): Likewise.
24944 (__have_pipe2): Likewise.
24945 (__have_dup3): Likewise.
24947 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24950 * include/unistd.h (__have_pipe2): Change define into an extern int.
24951 (__have_dup3): Likewise.
24952 * socket/have_sock_cloexec.c: Include fcntl.h.
24953 (__have_pipe2): New variable.
24954 (__have_dup3): Likewise.
24956 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24958 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24960 2012-08-17 Marek Polacek <polacek@redhat.com>
24962 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24963 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24965 2012-08-17 Roland McGrath <roland@hack.frob.com>
24967 * configure.in: Add AC_SUBST for sysheaders.
24968 * configure: Regenerated.
24969 * config.make.in (sysheaders): New substituted variable.
24971 * sysdeps/unix/mkfifo.c: Moved ...
24972 * sysdeps/posix/mkfifo.c: ... here.
24973 * sysdeps/unix/mkfifoat.c: Moved ...
24974 * sysdeps/posix/mkfifoat.c: ... here.
24976 * sysdeps/unix/utime.c: Moved ...
24977 * sysdeps/posix/utime.c: ... here.
24979 * sysdeps/unix/time.c: Moved ...
24980 * sysdeps/posix/time.c: ... here.
24981 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24982 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24984 * sysdeps/unix/nice.c: Moved ...
24985 * sysdeps/posix/nice.c: ... here.
24987 * sysdeps/unix/alarm.c: Moved ...
24988 * sysdeps/posix/alarm.c: ... here.
24990 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24992 2012-08-17 Jeff Law <law@redhat.com>
24994 * intl/Makefile (codeset_mo): New variable.
24995 ($(codeset_mo)): New target.
24996 (tst-codeset.out): Depend on that. Remove explicit rule.
24997 (tst-gettext3.out, tst-gettext5.out): Likewise.
24998 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24999 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25000 * intl/tst-codeset.sh: Remove.
25001 * intl/tst-gettext3.sh: Likewise.
25002 * intl/tst-gettext5.sh: Likewise.
25004 2012-08-17 Roland McGrath <roland@hack.frob.com>
25006 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25007 * sysdeps/unix/syscalls.list: ... here.
25009 * sysdeps/posix/getaddrinfo.c
25010 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25011 (gaiconf_init, gaiconf_reload): Use them.
25012 [!_STATBUF_ST_NSEC]
25013 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25014 Define using time_t rather than struct timespec.
25016 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25017 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25019 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25021 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25022 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25025 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25026 __libc_cleanup_push argument.
25028 * bits/param.h: New file.
25029 * misc/sys/param.h: New file.
25030 * include/sys/param.h: New file.
25031 * misc/Makefile (headers): Add bits/param.h.
25032 * sysdeps/generic/sys/param.h: File removed.
25033 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25034 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25035 * sysdeps/mach/hurd/bits/param.h: New file.
25036 * sysdeps/mach/hurd/sys/param.h: File removed.
25038 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25041 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25043 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25044 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25047 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25048 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25049 rather than -D_IO_MTSAFE_IO conditionally.
25050 * stdio-common/Makefile (CPPFLAGS): Likewise.
25051 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25052 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25053 Use $(libio-mtsafe).
25054 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25055 of -D_IO_MTSAFE_IO.
25056 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25057 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25058 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25059 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25060 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25061 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25062 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25063 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25064 (CFLAGS-fread_u_chk.c): Likewise.
25065 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25066 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25067 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25068 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25069 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25070 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25071 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25072 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25073 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25075 * libio/Makefile: Test [$(libc-reentrant) = yes]
25076 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25079 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25080 * sysdeps/pthread/configure: File removed.
25081 * sysdeps/pthread/Makeconfig: New file.
25082 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25083 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25085 2012-08-16 Gary Benson <gbenson@redhat.com>
25087 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25088 unmapping the first object in a namespace.
25090 2012-08-16 Roland McGrath <roland@hack.frob.com>
25092 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25093 (__internal_setnetgrent): ... this. Add internal_function to
25094 definition. Add libc_hidden_def.
25095 (setnetgrent): Update caller.
25096 (internal_endnetgrent): Renamed to ...
25097 (__internal_endnetgrent): ... this. Add internal_function to
25098 definition. Add libc_hidden_def.
25099 (endnetgrent): Update caller.
25100 (internal_getnetgrent_r): Renamed to ...
25101 (__internal_getnetgrent_r): ... this. Add internal_function to
25102 definition. Add libc_hidden_def.
25103 (__getnetgrent_r): Update caller.
25104 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25106 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25108 * stdlib/longlong.h: Update from GCC.
25110 2012-08-16 Roland McGrath <roland@hack.frob.com>
25112 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25113 on _QL, which is set by umul_ppmm but never used.
25114 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25115 variables, which are set by GMP macros but never used.
25116 * stdio-common/_itowa.c (_itowa): Likewise.
25117 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25118 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25120 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25122 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25123 struct La_sh_regs is not constant.
25124 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25125 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25126 and struct La_sparc64_regs are not constant.
25128 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25130 * sysdeps/unix/sysv/linux/kernel-features.h
25131 (__ASSUME_POSIX_TIMERS): Remove.
25132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25134 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25135 Make code unconditional.
25136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25137 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25138 Make code unconditional.
25139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25140 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25141 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25143 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25144 Make code unconditional.
25145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25146 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25147 (__libc_missing_posix_timers): Remove.
25149 2012-08-15 Roland McGrath <roland@hack.frob.com>
25151 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25152 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25154 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25156 * elf/dl-sym.c: Include <stdlib.h>.
25158 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25159 constants, which avoids warnings in 32-bit builds.
25161 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25162 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25164 * misc/lseek.c: File moved to ...
25165 * io/lseek.c: ... here.
25167 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25169 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25170 shifting LEN more than 31 bits at once.
25172 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25175 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25176 segmentation fault for a case of two empty input strings.
25177 * string/test-strncasecmp.c (check1): Renamed to...
25178 (bz12205): ...this.
25179 (bz14195): Add new testcase for two empty input strings and N > 0.
25180 (test_main): Call new testcase, adapt for renamed function.
25182 2012-08-15 Andreas Jaeger <aj@suse.de>
25185 * crypt/md5test2.c: New test, based on test supplied by Serge
25186 Belyshev <belyshev@depni.sinp.msu.ru>.
25187 * crypt/Makefile (xtests): Add md5test-giant..
25188 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25190 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25193 * crypt/md5.c (md5_process_block): Don't assume the buffer
25194 length is less than 2**32.
25195 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25196 length is less than 2**64.
25198 2012-08-15 Roland McGrath <roland@hack.frob.com>
25200 * string/str-two-way.h: Include <sys/param.h>.
25201 (MAX): Macro removed.
25203 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25204 Move #define and #undef of memmove to just before and after
25205 including <string.h>.
25207 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25208 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25209 and after including <string.h>. Move declarations of
25210 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25211 to before #include "string/memmove.c".
25213 * include/dirent.h: Declare __getdirentries.
25215 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25216 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25218 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25220 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25221 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25222 * sysdeps/i386/configure: Regenerated.
25223 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25224 STABS_CURRENT_FILE, and STABS_FUN.
25225 (END): Remove call to STABS_FUN_END.
25226 (STABS_CURRENT_FILE1): Delete.
25227 (STABS_CURRENT_FILE): Likewise.
25228 (STABS_FUN): Likewise.
25229 (STABS_FUN_END): Likewise.
25230 (STABS_FUN2): Likewise.
25231 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25232 * sysdeps/x86_64/configure: Regenerated.
25234 2012-08-14 Roland McGrath <roland@hack.frob.com>
25236 * elf/dl-open.c: Include <atomic.h>.
25237 * elf/dl-lookup.c: Likewise.
25239 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25241 * sysdeps/unix/sysv/linux/kernel-features.h
25242 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25243 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25245 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25247 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25248 condition on __ASSUME_CLONE_THREAD_FLAGS.
25250 2012-08-14 Andreas Jaeger <aj@suse.de>
25252 * sysdeps/i386/fpu/libm-test-ulps: Update.
25254 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25256 * include/atomic.h (atomic_exchange_and_add): Split into ...
25257 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25260 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25264 2012-08-13 Jeff Law <law@redhat.com>
25266 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25267 null byte in the output string.
25269 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25271 * sysdeps/unix/sysv/linux/kernel-features.h
25272 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25273 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25274 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25275 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25276 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25277 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25278 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25280 2012-08-09 Jeff Law <law@redhat.com>
25283 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25284 When avoid_arena is set, don't retry in the that arena. Pick the
25285 next one, whatever it might be.
25286 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25287 (arena_lock): Pass in new parameter to arena_get2.
25288 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25290 (__libc_malloc): Unify retrying after main arena failure with
25291 __libc_memalign version.
25292 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25294 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25297 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25298 to __redirect_strstr.
25299 (__strstr_sse42): Use typeof __redirect_strstr.
25300 (__strstr_ia32): Likewise.
25301 (__libc_strstr): New prototype.
25302 (strstr): Renamed to ...
25303 (__libc_strstr): This.
25304 (strstr): New strong alias of __libc_strstr.
25305 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25306 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25309 (__libc_time): New prototype.
25310 (time_ifunc): Replace time with __libc_time.
25311 (time): New strong alias and hidden definition of __libc_time.
25312 (__GI_time): Remove strong alias.
25313 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25314 Include <stddef.h>.
25315 (memmove): Redefined to __redirect_memmove.
25316 (__memmove_sse2): Use typeof __redirect_memmove.
25317 (__memmove_ssse3): Likewise.
25318 (__memmove_ssse3_back): Likewise.
25319 (__libc_memmove): New prototype.
25320 (memmove): Renamed to ...
25321 (__libc_memmove): This.
25322 (memmove): New strong alias of __libc_memmove.
25324 2012-08-08 Mark Salter <msalter@redhat.com>
25327 (R_MN10300_TLS_GD): Define.
25328 (R_MN10300_TLS_LD): Likewise.
25329 (R_MN10300_TLS_LDO): Likewise.
25330 (R_MN10300_TLS_GOTIE): Likewise.
25331 (R_MN10300_TLS_IE): Likewise.
25332 (R_MN10300_TLS_LE): Likewise.
25333 (R_MN10300_TLS_DTPMOD): Likewise.
25334 (R_MN10300_TLS_DTPOFF): Likewise.
25335 (R_MN10300_TLS_TPOFF): Likewise.
25336 (R_MN10300_SYM_DIFF): Likewise.
25337 (R_MN10300_ALIGN): Likewise.
25338 (R_MN10300_NUM): Update.
25340 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25345 2012-08-08 Roland McGrath <roland@hack.frob.com>
25347 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25349 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25350 sysdeps/unix -> sysdeps/posix move.
25351 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25353 2012-08-07 Allan McRae <allan@archlinux.org>
25356 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25357 (SUNOS_CPP): Likewise.
25358 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25360 (open_input): Call CPP using execvp.
25362 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25364 * sysdeps/unix/sysv/linux/kernel-features.h
25365 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25366 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25367 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25368 (__ASSUME_WAITID_SYSCALL): Likewise.
25369 * sysdeps/unix/sysv/linux/dl-execstack.c
25370 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25371 code unconditional.
25372 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25374 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25375 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25376 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25378 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25380 [__ASSUME_WAITID_SYSCALL]: Likewise.
25381 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25383 2012-08-07 Roland McGrath <roland@hack.frob.com>
25385 * sysdeps/unix/closedir.c: Renamed to ...
25386 * sysdeps/posix/closedir.c: ... here.
25387 * sysdeps/unix/dirfd.c: Renamed to ...
25388 * sysdeps/posix/dirfd.c: ... here.
25389 * sysdeps/unix/dirstream.h: Renamed to ...
25390 * sysdeps/posix/dirstream.h: ... here.
25391 * sysdeps/unix/fdopendir.c: Renamed to ...
25392 * sysdeps/posix/fdopendir.c: ... here.
25393 * sysdeps/unix/opendir.c: Renamed to ...
25394 * sysdeps/posix/opendir.c: ... here.
25395 * sysdeps/unix/readdir.c: Renamed to ...
25396 * sysdeps/posix/readdir.c: ... here.
25397 * sysdeps/unix/readdir_r.c: Renamed to ...
25398 * sysdeps/posix/readdir_r.c: ... here.
25399 * sysdeps/unix/rewinddir.c: Renamed to ...
25400 * sysdeps/posix/rewinddir.c: ... here.
25401 * sysdeps/unix/seekdir.c: Renamed to ...
25402 * sysdeps/posix/seekdir.c: ... here.
25403 * sysdeps/unix/telldir.c: Renamed to ...
25404 * sysdeps/posix/telldir.c: ... here.
25405 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25406 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25407 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25408 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25410 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25411 * bits/fcntl.h: ... here.
25413 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25415 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25416 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25417 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25418 (struct flock): Move l_start, l_len to the beginning.
25419 Use __pid_t for l_pid.
25420 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25421 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25422 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25423 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25424 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25425 [__USE_LARGEFILE64] (struct flock64): New type.
25426 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25428 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25429 * bits/dirent.h: ... here.
25431 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25432 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25434 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25437 Change from 2.6.0 to 2.6.16.
25438 * sysdeps/unix/sysv/linux/configure: Regenerated.
25439 * sysdeps/unix/sysv/linux/kernel-features.h
25440 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25441 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25443 (__ASSUME_UTIMES): Likewise.
25444 (__ASSUME_CLONE_STOPPED): Remove.
25445 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25446 architectures, not kernel version.
25447 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25448 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25449 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25450 (__ASSUME_WAITID_SYSCALL): Likewise.
25451 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25452 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25453 * README: State 2.6.16 as minimum Linux kernel version. Do not
25454 refer to older versions.
25456 2012-08-06 Roland McGrath <roland@hack.frob.com>
25458 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25459 Define alphasort64 as an alias.
25460 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25461 Define versionsort64 as an alias.
25462 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25463 Define scandir64 as an alias.
25464 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25465 Define scandirat64 as an alias.
25466 * dirent/alphasort64.c (alphasort64):
25467 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25468 * dirent/versionsort64.c: Likewise.
25469 * dirent/scandir64.c: Likewise.
25470 * dirent/scandirat64.c: Likewise.
25471 * sysdeps/wordsize-64/alphasort.c: File removed.
25472 * sysdeps/wordsize-64/alphasort64.c: File removed.
25473 * sysdeps/wordsize-64/scandir.c: File removed.
25474 * sysdeps/wordsize-64/scandir64.c: File removed.
25475 * sysdeps/wordsize-64/scandirat.c: File removed.
25476 * sysdeps/wordsize-64/scandirat64.c: File removed.
25477 * sysdeps/wordsize-64/versionsort.c: File removed.
25478 * sysdeps/wordsize-64/versionsort64.c: File removed.
25479 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25480 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25481 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25482 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25483 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25484 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25486 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25488 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25490 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25492 [defined __arch64__ || defined __sparcv9]
25493 (__INO_T_MATCHES_INO64_T): New macro.
25494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25495 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25496 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25497 * sysdeps/unix/sysv/linux/bits/dirent.h
25498 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25499 (_DIRENT_MATCHES_DIRENT64): New macro.
25501 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25502 Define lockf64 as an alias.
25503 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25504 Define fseeko64 as an alias.
25505 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25506 Define ftello64 as an alias.
25507 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25508 Define _IO_fgetpos64 and fgetpos64 as aliases.
25509 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25510 Define _IO_fsetpos64 and fsetpos64 as aliases.
25511 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25512 Conditionalize body on this.
25513 * libio/fseeko64.c: Likewise.
25514 * libio/ftello64.c: Likewise.
25515 * libio/iofgetpos64.c: Likewise.
25516 * libio/iofsetpos64.c: Likewise.
25517 * sysdeps/wordsize-64/lockf.c: File removed.
25518 * sysdeps/wordsize-64/lockf64.c: File removed.
25519 * sysdeps/wordsize-64/fseeko.c: File removed.
25520 * sysdeps/wordsize-64/fseeko64.c: File removed.
25521 * sysdeps/wordsize-64/ftello.c: File removed.
25522 * sysdeps/wordsize-64/ftello64.c: File removed.
25523 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25524 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25525 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25526 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25527 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25528 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25529 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25530 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25531 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25532 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25533 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25534 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25535 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25536 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25538 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25540 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25542 [defined __arch64__ || defined __sparcv9]
25543 (__OFF_T_MATCHES_OFF64_T): New macro.
25544 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25545 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25547 (__OFF_T_MATCHES_OFF64_T): New macro.
25549 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25551 * stdlib/secure-getenv.c (__secure_getenv): Replace
25552 GLIBC_2_16 with GLIBC_2_17.
25554 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25556 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25557 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25559 2012-08-03 David S. Miller <davem@davemloft.net>
25561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25563 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25567 (__ASSUME_CORRECT_SI_PID): Likewise.
25568 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25569 (__ASSUME_TMPFS_NAME): Likewise.
25570 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25571 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25572 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25573 (HAVE_AUX_SECURE): Make definition unconditional.
25574 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25575 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25577 2012-08-03 Roland McGrath <roland@hack.frob.com>
25579 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25580 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25581 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25582 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25583 __eloop_threshold instead of SYMLOOP_MAX.
25585 * sysdeps/generic/eloop-threshold.h: New file.
25586 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25588 * elf/chroot_canon.c (chroot_canon): Likewise.
25590 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25594 Change to 2.6.0 everywhere.
25595 * sysdeps/unix/sysv/linux/configure: Regenerated.
25596 * sysdeps/unix/sysv/linux/kernel-features.h
25597 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25598 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25600 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25601 (__ASSUME_FUTEX_REQUEUE): Remove.
25602 (__ASSUME_STATFS64): Define unconditionally.
25603 (__ASSUME_AT_SECURE): Likewise.
25604 (__ASSUME_CORRECT_SI_PID): Likewise.
25605 (__ASSUME_TGKILL): Define without depending on kernel version for
25607 (__ASSUME_UTIMES): Likewise.
25608 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25610 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25611 (__ASSUME_TMPFS_NAME): Likewise.
25612 * README: Update reference to Linux kernel versions.
25614 2012-08-02 Marek Polacek <polacek@redhat.com>
25617 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25618 libc_cv_asm_type_prefix with %.
25619 * configure: Regenerated.
25620 * include/libc-symbols.h: Remove comment about
25621 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25622 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25623 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25624 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25625 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25626 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25627 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25628 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25629 * elf/tst-unique2mod1.c: Likewise.
25630 * elf/tst-unique1mod2.c: Likewise.
25631 * elf/tst-unique1mod1.c: Likewise.
25632 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25633 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25634 Replace ASM_TYPE_DIRECTIVE with .type.
25635 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25636 * sysdeps/i386/sysdep.h: Likewise.
25637 * sysdeps/x86_64/sysdep.h: Likewise.
25638 * sysdeps/sh/sysdep.h: Likewise.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25640 Do not define ASM_TYPE_DIRECTIVE.
25641 * sysdeps/powerpc/sysdep.h: Likewise.
25642 * sysdeps/powerpc/powerpc32/sysdep.h:
25643 Replace ASM_TYPE_DIRECTIVE with .type.
25644 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25645 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25646 * sysdeps/i386/fpu/e_powf.S: Likewise.
25647 * sysdeps/i386/fpu/e_expl.S: Likewise.
25648 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25649 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25650 * sysdeps/i386/fpu/e_pow.S: Likewise.
25651 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25652 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25653 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25654 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25655 * sysdeps/i386/fpu/e_log2.S: Likewise.
25656 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25657 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25658 * sysdeps/i386/fpu/e_powl.S: Likewise.
25659 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25660 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25661 * sysdeps/i386/fpu/e_logl.S: Likewise.
25662 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25663 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25664 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25666 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25667 * sysdeps/i386/fpu/e_log.S: Likewise.
25668 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25669 * sysdeps/i386/fpu/e_logf.S: Likewise.
25670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25672 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25673 * sysdeps/i386/fpu/e_log10.S: Likewise.
25674 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25675 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25676 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25677 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25678 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25680 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25681 * sysdeps/i386/i686/strtok.S: Likewise.
25682 * sysdeps/i386/i386-mcount.S: Likewise.
25683 * sysdeps/i386/strtok.S: Likewise.
25684 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25685 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25687 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25688 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25689 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25690 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25691 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25693 * sysdeps/x86_64/_mcount.S: Likewise.
25694 * sysdeps/x86_64/strtok.S: Likewise.
25695 * sysdeps/sh/_mcount.S: Likewise.
25697 2012-08-01 Roland McGrath <roland@hack.frob.com>
25699 * libio/iofopen.c: Include <fcntl.h>.
25700 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25701 (_IO_fopen64, fopen64): Define as aliases.
25702 * libio/iofopen64.c: Include <fcntl.h>.
25703 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25704 Conditionalize body on this.
25705 * sysdeps/wordsize-64/iofopen.c: File removed.
25706 * sysdeps/wordsize-64/iofopen64.c: File removed.
25708 2012-08-01 Marek Polacek <polacek@redhat.com>
25710 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25711 Use dlfcn directly instead of a variable.
25712 (binfmt-subdir): Do not define.
25715 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25718 Remove all definitions.
25719 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25720 <kernel-features.h>.
25721 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25722 (miss_F_GETOWN_EX): Remove all definitions.
25723 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25725 [!__ASSUME_FCNTL64]: Remove conditional code.
25726 [__ASSUME_FCNTL64]: Make code unconditional.
25727 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25728 <kernel-features.h>.
25729 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25730 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25731 (lockf64) [__NR_fcntl64]: Make code unconditional.
25732 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25734 * sysdeps/unix/sysv/linux/kernel-features.h
25735 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25736 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25737 Make code unconditional.
25738 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25739 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25741 [__NR_vfork]: Make code unconditional.
25742 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25743 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25745 [__NR_vfork]: Make code unconditional.
25746 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25747 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25749 2012-08-01 Roland McGrath <roland@hack.frob.com>
25751 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25752 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25754 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25755 Define mkstemp64 as an alias.
25756 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25757 Define mkstemps64 as an alias.
25758 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25759 Define mkostemp64 as an alias.
25760 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25761 Define mkostemps64 as an alias.
25762 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25763 Conditionalize body on this.
25764 * misc/mkostemp64.c: Likewise.
25765 * misc/mkostemps64.c: Likewise.
25766 * misc/mkstemps64.c: Likewise.
25767 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25768 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25769 * sysdeps/wordsize-64/mkostemp.c: File removed.
25770 * sysdeps/wordsize-64/mkstemp.c: File removed.
25771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25777 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25778 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25779 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25780 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25782 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25783 compat_symbol macros from <shlib-compat.h> rather than the underlying
25784 default_symbol_version and symbol_version macros, so that DEFAULT
25785 lines in shlib-versions are respected.
25786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25788 2012-08-01 Florian Weimer <fweimer@redhat.com>
25790 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25791 Declare with warn_unused_result.
25792 (setgid, setregid, setegid, setresgid): Likewise.
25793 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25795 * WUR-REPORT: Remove set*id functions.
25797 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25799 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25801 2012-07-31 Roland McGrath <roland@hack.frob.com>
25804 * include/sys/socket.h (__libc_accept, __libc_accept4):
25805 Add attribute_hidden.
25806 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25808 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25810 * inet/getnetgrent_r.c (setup): Likewise.
25812 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25814 2012-07-31 David S. Miller <davem@davemloft.net>
25816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25818 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25821 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25822 value between 1.0 and 2.0 and smaller part has absolute value less
25824 * math/s_clog10.c (__clog10): Likewise.
25825 * math/s_clog10f.c (__clog10f): Likewise.
25826 * math/s_clog10l.c (__clog10l): Likewise.
25827 * math/s_clogf.c (__clogf): Likewise.
25828 * math/s_clogl.c (__clogl): Likewise.
25829 * math/libm-test.inc (clog_test): Add more tests.
25830 (clog10_test): Likewise.
25831 * sysdeps/i386/fpu/libm-test-ulps: Update.
25832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25834 2012-07-31 Florian Weimer <fweimer@redhat.com>
25836 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25837 Exit with zero in case no suitable GID is found, and write a
25838 message to standard error.
25840 2012-07-30 Roland McGrath <roland@hack.frob.com>
25842 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25844 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25845 (MAXPATHLEN): Removed.
25846 (NOGROUP, NODEV): New macros.
25847 (setbit, clrbit, isset, isclr): New macros.
25848 (howmany, roundup, powerof2): New macros.
25849 (DEV_BSIZE): New macro.
25851 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25852 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25854 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25855 definition on [!__NO_LONG_DOUBLE_MATH].
25857 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25858 PTR_MANGLE and PTR_DEMANGLE.
25860 * socket/accept4.c (accept4): Rename to __libc_accept4.
25861 Define accept4 as a weak alias.
25863 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25864 on [_DIRENT_HAVE_D_TYPE].
25865 * io/ftw.c (ftw_dir): Likewise.
25867 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25869 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25871 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25872 Use the BSD numbers rather than the arbitrary ones we had.
25873 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25874 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25875 (SIGXCPU, SIGXFSZ): New macros.
25878 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25879 initializer on [_LIBC_REENTRANT].
25881 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25882 definitions inside [_POSIX_MAPPED_FILES].
25884 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25886 * dirent/opendir.c: Include <fcntl.h>.
25888 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25889 (__libc_getspecific): Likewise.
25890 (__libc_key_create): Likewise.
25892 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25893 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25894 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25895 (tmpfile64): Define as alias.
25896 * sysdeps/wordsize-64/tmpfile.c: File removed.
25897 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25901 * stdio-common/vfscanf.c: Include <stdbool.h>.
25902 * nss/makedb.c: Likewise.
25903 * stdio-common/_i18n_number.h: Likewise.
25904 * argp/argp-help.c: Likewise.
25905 * posix/wordexp.c: Likewise.
25906 * sysdeps/posix/spawni.c: Likewise.
25907 * nss/nss_files/files-initgroups.c: Likewise.
25908 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25909 * nss/nss_files/files-initgroups.c: Likewise.
25910 * nss/nss_db/db-netgrp.c: Likewise.
25911 * nss/nss_db/db-initgroups.c: Likewise.
25912 * io/fchmodat.c: Include <sys/stat.h>.
25914 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25915 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25917 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25920 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25921 Add multiple inclusion protection.
25923 2012-07-27 David S. Miller <davem@davemloft.net>
25925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25927 2012-07-27 Gary Benson <gbenson@redhat.com>
25930 * elf/rtld.c: Include <stap-probe.h>.
25931 (dl_main): Added static probes "init_start" and "init_complete".
25932 * elf/dl-load.c: Include <stap-probe.h>.
25933 (lose): Take new parameter "nsid".
25934 Added static probe "map_failed".
25935 (_dl_map_object_from_fd): Pass namespace id to lose.
25936 Added static probe "map_start".
25937 (open_verify): Pass namespace id to lose.
25938 * elf/dl-open.c: Include <stap-probe.h>.
25939 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25940 and "reloc_complete".
25941 * elf/dl-close.c: Include <stap-probe.h>.
25942 (_dl_close_worker): Added static probes "unmap_start" and
25944 * elf/rtld-debugger-interface.txt: New file documenting the above.
25946 2012-07-26 Roland McGrath <roland@hack.frob.com>
25948 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25949 rather than a string variable.
25950 * sunrpc/rpc_main.c (h_output): Likewise.
25951 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25953 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25955 * inet/check_native.c: New file.
25957 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25960 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25961 if larger part has absolute value 1.0.
25962 * math/s_clog10.c (__clog10): Likewise.
25963 * math/s_clog10f.c (__clog10f): Likewise.
25964 * math/s_clog10l.c (__clog10l): Likewise.
25965 * math/s_clogf.c (__clogf): Likewise.
25966 * math/s_clogl.c (__clogl): Likewise.
25967 * math/libm-test.inc (clog_test): Add more tests.
25968 (clog10_test): Likewise.
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25973 (pltexit): Likewise.
25974 (La_regs): Likewise.
25975 (La_retval): Likewise.
25976 (int_retval): Likewise.
25977 Update #error for removed macros to refer only to definitions in
25979 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25981 (pltexit): Likewise.
25982 (La_regs): Likewise.
25983 (La_retval): Likewise.
25984 (int_retval): Likewise.
25985 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25987 (pltexit): Likewise.
25988 (La_regs): Likewise.
25989 (La_retval): Likewise.
25990 (int_retval): Likewise.
25991 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25993 (pltexit): Likewise.
25994 (La_regs): Likewise.
25995 (La_retval): Likewise.
25996 (int_retval): Likewise.
25997 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25999 (pltexit): Likewise.
26000 (La_regs): Likewise.
26001 (La_retval): Likewise.
26002 (int_retval): Likewise.
26003 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26005 (pltexit): Likewise.
26006 (La_regs): Likewise.
26007 (La_retval): Likewise.
26008 (int_retval): Likewise.
26009 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26011 (pltexit): Likewise.
26012 (La_regs): Likewise.
26013 (La_retval): Likewise.
26014 (int_retval): Likewise.
26015 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26016 macro definitions in tst-audit.h.
26017 * sysdeps/i386/tst-audit.h: New file.
26018 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26019 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26020 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26021 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26022 * sysdeps/sh/tst-audit.h: Likewise.
26023 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26024 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26025 * sysdeps/x86_64/tst-audit.h: Likewise.
26027 2012-07-26 Andreas Jaeger <aj@suse.de>
26029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26032 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26033 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26034 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26036 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26037 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26038 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26040 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26043 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26045 (si_call_addr, si_syscall, si_arch): Define new macro.
26046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26048 (si_call_addr, si_syscall, si_arch): Define new marcro.
26049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26051 (si_call_addr, si_syscall, si_arch): Define new macro.
26052 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26054 (si_call_addr, si_syscall, si_arch): Define new macro.
26056 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26060 Change to 2.4.21 where previously 2.4.1.
26061 * sysdeps/unix/sysv/linux/configure: Regenerated.
26062 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26063 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26064 Linux kernel version.
26065 (__ASSUME_STD_AUXV): Remove.
26066 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26068 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26069 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26070 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26071 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26072 (__ASSUME_NETLINK_SUPPORT): Likewise.
26073 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26074 (__no_netlink_support): Remove conditional definition.
26075 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26077 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26078 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26079 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26080 (if_nameindex_ioctl): Remove.
26081 (if_nameindex_netlink): Do not handle __no_netlink_support.
26082 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26084 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26085 Remove conditional code.
26086 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26088 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26090 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26091 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26092 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26094 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26095 [!__ASSUME_STD_AUXV]: Remove conditional code.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26097 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26098 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26100 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26101 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26103 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26105 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26106 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26108 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26110 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26113 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26116 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26117 code unconditional.
26118 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26120 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26122 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26125 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26127 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26130 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26131 code unconditional.
26132 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26134 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26136 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26139 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26140 code unconditional.
26141 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26143 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26145 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26148 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26150 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26151 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26153 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26154 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26155 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26156 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26157 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26158 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26159 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26160 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26161 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26162 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26163 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26164 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26166 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26168 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26170 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26171 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26174 2012-07-25 Florian Weimer <fweimer@redhat.com>
26176 * Versions.def: Add GLIBC_2.17.
26177 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26178 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26179 Introduce __libc_secure_getenv.
26180 * stdlib/Versions (2.17): Add secure_getenv
26181 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26182 * stdlib/secure-getenv.c: Rename __secure_getenv to
26183 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26184 symbol __secure_getenv for GLIBC_2.0.
26185 * stdlib/tst-secure-getenv.c: New.
26186 * stdlib/Makefile (tests): Add testcase.
26187 * manual/startup.texi (Environment Access): Document
26189 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26190 __libc_secure_getenv.
26191 * inet/ruserpass.c (ruserpass): Likewise.
26192 * malloc/mtrace.c (mtrace): Likewise.
26193 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26194 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26195 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26196 * sysdeps/posix/tempname.c: Likewise. Evaluate
26197 HAVE_SECURE_GETENV.
26198 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26199 __secure_getenv to __libc_secure_getenv.
26200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26213 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26215 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26216 (struct La_i86_retval): Likewise.
26217 (struct La_x86_64_regs): Likewise.
26218 (struct La_x86_64_retval): Likewise.
26219 (struct La_x32_regs): Likewise.
26220 (struct La_x32_retval): Likewise.
26221 (struct La_ppc32_regs): Likewise.
26222 (struct La_ppc32_retval): Likewise.
26223 (struct La_ppc64_regs): Likewise.
26224 (struct La_ppc64_retval): Likewise.
26225 (struct La_sh_regs): Likewise.
26226 (struct La_sh_retval): Likewise.
26227 (struct La_s390_32_regs): Likewise.
26228 (struct La_s390_32_retval): Likewise.
26229 (struct La_s390_64_regs): Likewise.
26230 (struct La_s390_64_retval): Likewise.
26231 (struct La_sparc32_regs): Likewise.
26232 (struct La_sparc32_retval): Likewise.
26233 (struct La_sparc64_regs): Likewise.
26234 (struct La_sparc64_retval): Likewise.
26235 (struct audit_ifaces): Remove architecture-specific pltenter and
26237 * sysdeps/i386/ldsodefs.h: New file.
26238 * sysdeps/powerpc/ldsodefs.h: Likewise.
26239 * sysdeps/s390/ldsodefs.h: Likewise.
26240 * sysdeps/sh/ldsodefs.h: Likewise.
26241 * sysdeps/sparc/ldsodefs.h: Likewise.
26242 * sysdeps/x86_64/ldsodefs.h: Likewise.
26244 2012-07-25 Marek Polacek <polacek@redhat.com>
26247 * math/libm-test.inc (yn_test): Add another test.
26248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26249 to ERANGE when the result is +-Inf.
26250 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26251 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26252 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26253 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26255 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26257 * conform/data/time.h-data (NULL): Use macro-constant. Require
26259 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26261 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26263 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26265 * configure.in <sysdeps resolving>: Correct printing
26267 * configure: Regenerate.
26269 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26271 * math/w_ilogb.c: Include <limits.h>.
26272 * math/w_ilogbl.c: Likewise.
26274 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26276 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26277 va_copy. Document allowing for unavailable va_copy only as
26278 pre-C99 compatibility.
26279 * manual/string.texi (Copying and Concatenation): Use va_copy
26280 instead of __va_copy in concat example.
26282 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26284 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26285 (__sendto): Use create_address_port. Initialize APORT and deallocate
26288 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26289 with O_NOLINK passed to __file_name_lookup.
26291 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26292 with O_NOLINK passed to __file_name_lookup.
26294 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26295 negative N or less than NGIDS.
26297 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26298 type to string_t. Set ERANGE as errno and return it if NAME is not big
26299 enough. Use memcpy instead of strncpy.
26301 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26303 * elf/Makefile (check-data): Remove.
26304 (localplt.data): New vpath directive.
26305 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26306 instead of $(check-data).
26307 * scripts/data/localplt-generic.data: Move to ...
26308 * sysdeps/generic/localplt.data: ... here.
26309 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26311 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26314 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26317 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26320 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26323 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26326 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26330 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26332 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26333 PPC32 and PPC64 files.
26334 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26335 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26337 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26339 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26340 __makecontext_ret to ...
26341 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26342 ... here and call exit if uc_link is NULL. New file.
26343 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26344 __makecontext_ret.S.
26345 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26346 __makecontext_ret to ...
26347 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26348 ... here and call exit if uc_link is NULL. New file.
26349 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26350 __makecontext_ret.S.
26352 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26354 * elf/elf.h (R_390_IRELATIVE): New definition.
26355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26356 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26357 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26359 (elf_machine_lazy_rel): Likewise.
26360 * sysdeps/s390/dl-irel.h: New file.
26361 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26362 * sysdeps/s390/s390-64/memset.S: New asm code.
26363 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26364 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26365 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26366 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26367 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26368 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26370 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26371 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26372 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26373 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26374 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26375 * sysdeps/s390/s390-32/memset.S: New asm code.
26376 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26378 2012-07-17 Marek Polacek <polacek@redhat.com>
26381 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26382 * sysdeps/s390/s390-64/configure.in: Likewise.
26383 * sysdeps/sparc/configure.in: Likewise.
26384 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26385 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26386 * sysdeps/i386/configure.in: Likewise.
26387 * sysdeps/x86_64/configure.in: Likewise.
26388 * sysdeps/sh/configure.in: Likewise.
26389 * sysdeps/s390/s390-32/configure: Regenerated.
26390 * sysdeps/s390/s390-64/configure: Likewise.
26391 * sysdeps/x86_64/configure: Likewise.
26392 * sysdeps/sh/configure: Likewise.
26393 * sysdeps/powerpc/powerpc64/configure: Likewise.
26394 * sysdeps/powerpc/powerpc32/configure: Likewise.
26395 * sysdeps/sparc/configure: Likwise.
26396 * sysdeps/i386/configure: Likewise.
26398 * elf/dl-open.c: Comment fixes.
26400 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26402 * Makefile [CXX] (check-data): Remove.
26403 [CXX] (c++-types.data): New vpath directive.
26404 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26405 vpath. Do not allow for C++ type data being missing.
26406 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26407 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26408 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26409 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26410 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26411 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26412 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26415 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26418 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26421 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26424 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26427 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26430 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26433 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26436 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26437 definitions to architecture-specific files.
26438 (TLS_IE): Likewise.
26439 (TLS_LD): Likewise.
26440 (TLS_GD): Likewise.
26441 * sysdeps/i386/tls-macros.h: New file.
26442 * sysdeps/powerpc/tls-macros.h: Likewise.
26443 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26444 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26445 * sysdeps/sh/tls-macros.h: Likewise.
26446 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26447 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26448 * sysdeps/x86_64/tls-macros.h: Likewise.
26450 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26452 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26453 zero value for regular exit case.
26455 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26456 (__start_context): Preserve zero value for regular exit case.
26458 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26459 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26461 * manual/setjmp.texi (setcontext): Clarify normal process
26462 termination when uc_link is the null pointer.
26463 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26466 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26468 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26469 preprocessor. Test for each exception mask separately.
26471 2012-07-16 Andreas Jaeger <aj@suse.de>
26473 * po/ru.po: Update from translation team.
26475 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26477 * conform/data/string.h-data (NULL): Use macro-constant. Require
26479 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26480 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26481 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26482 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26485 2012-07-13 Andreas Jaeger <aj@suse.de>
26487 * po/fr.po: Update from translation team.
26489 2012-07-12 Marek Polacek <polacek@redhat.com>
26492 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26493 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26496 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26500 Change to 2.4.1 where previously 2.4.0.
26501 * sysdeps/unix/sysv/linux/configure: Regenerated.
26502 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26503 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26505 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26506 (__ASSUME_AT_CLKTCK): Remove.
26507 (__ASSUME_AT_PAGESIZE): Likewise.
26508 (__ASSUME_AT_XID): Likewise.
26509 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26510 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26511 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26513 (HAVE_AUX_PAGESIZE): Likewise.
26514 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26515 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26516 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26518 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26522 the temporary buffer used to invoke __gethostbyname2_r,
26523 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26524 host_data / struct gaih_addrtuple.
26525 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26526 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26527 header file nss/nsswitch.h.
26528 * nss/nsswitch.h (global scope): Add definition of implementation
26529 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26530 resolv/nss_dns/dns-host.c).
26532 2012-07-11 Andreas Jaeger <aj@suse.de>
26534 * po/fr.po: Update from translation team.
26536 * po/sv.po: Update from translation team
26537 * po/fr.po: Another update from translation team.
26539 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26541 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26542 for subnormals or multiply small sinh result by itself.
26543 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26546 2012-07-11 David S. Miller <davem@davemloft.net>
26548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26550 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26553 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26554 (INTERNAL_MARK): Shift it here.
26556 2012-07-10 Marek Polacek <polacek@redhat.com>
26559 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26560 libc_cv_asm_global_directive with .globl.
26561 * configure: Regenerated.
26562 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26564 * sysdeps/i386/configure: Regenerated.
26565 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26567 * sysdeps/x86_64/configure: Regenerated.
26568 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26569 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26570 * elf/tst-unique2mod2.c: Likewise.
26571 * elf/tst-unique2mod1.c: Likewise.
26572 * elf/tst-unique1mod2.c: Likewise.
26573 * elf/tst-unique1mod1.c: Likewise.
26574 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26575 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26577 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26578 * sysdeps/mach/sysdep.h: Likewise.
26579 * sysdeps/i386/sysdep.h: Likewise.
26580 * sysdeps/i386/i386-mcount.S: Likewise.
26581 * sysdeps/x86_64/_mcount.S: Likewise.
26582 * sysdeps/x86_64/sysdep.h: Likewise.
26583 * sysdeps/sh/_mcount.S: Likewise.
26584 * sysdeps/sh/sysdep.h: Likewise.
26585 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26587 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26588 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26589 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26590 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26591 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26592 * locale/localeinfo.h: Likewise.
26593 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26594 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26596 2012-07-09 Roland McGrath <roland@hack.frob.com>
26599 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26601 * manual/message.texi (The Uniforum approach): Likewise.
26602 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26603 (glibc iconv Implementation): Likewise.
26605 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26608 * math/s_clog.c (__clog): Avoid scaling a value down where that
26609 could result in underflow.
26610 * math/s_clog10.c (__clog10): Likewise.
26611 * math/s_clog10f.c (__clog10f): Likewise.
26612 * math/s_clog10l.c (__clog10l): Likewise.
26613 * math/s_clogf.c (__clogf): Likewise.
26614 * math/s_clogl.c (__clogl): Likewise.
26615 * math/libm-test.inc (clog_test): Add more tests.
26616 (clog10_test): Likewise.
26617 * sysdeps/i386/fpu/libm-test-ulps: Update.
26618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26620 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26623 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26624 by 7 not 8 to examine high bit of fractional part.
26627 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26628 for call to __mcount_internal.
26629 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26630 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26631 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26633 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26636 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26637 approximation for values within 0x1p-13f of an odd multiple of
26639 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26640 exception. Add more tests.
26641 * sysdeps/i386/fpu/libm-test-ulps: Update.
26644 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26645 inputs and return -1 for them. Do not check for +Inf in case not
26646 reachable for +Inf.
26647 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26648 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26649 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26650 and return -1 for them. Do not check for +Inf in case not
26651 reachable for +Inf.
26652 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26655 and return -1 for them. Do not check for +Inf in case not
26656 reachable for +Inf.
26657 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26658 spurious underflow.
26659 * sysdeps/i386/fpu/libm-test-ulps: Update.
26660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26662 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26664 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26666 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26670 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26671 could result in spurious underflow. Scale down values above
26672 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26673 * math/s_csqrtf.c (__csqrtf): Likewise.
26674 * math/s_csqrtl.c (__csqrtl): Likewise.
26675 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26676 spurious underflow.
26677 * sysdeps/i386/fpu/libm-test-ulps: Update.
26678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26680 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26682 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26684 * catgets/xopen-msg.awk: New file.
26685 * catgets/xopen-msg.sed: Removed.
26687 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26689 * intl/po2test.awk: New file.
26690 * intl/po2test.sed: Removed.
26692 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26695 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26696 or multiply small sinh result by itself.
26697 * math/s_ctanf.c (__ctanf): Likewise.
26698 * math/s_ctanh.c (__ctanh): Likewise.
26699 * math/s_ctanhf.c (__ctanhf): Likewise.
26700 * math/s_ctanhl.c (__ctanhl): Likewise.
26701 * math/s_ctanl.c (__ctanl): Likewise.
26702 * math/libm-test.inc (ctan_test_tonearest): New function.
26703 (ctan_test_towardzero): Likewise.
26704 (ctan_test_downward): Likewise.
26705 (ctan_test_upward): Likewise.
26706 (ctanh_test_tonearest): Likewise.
26707 (ctanh_test_towardzero): Likewise.
26708 (ctanh_test_downward): Likewise.
26709 (ctanh_test_upward): Likewise.
26710 (main): Call these new functions.
26711 * sysdeps/i386/fpu/libm-test-ulps: Update.
26712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26714 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26716 * .gitignore: Delete /ports entry.
26718 2012-07-03 Andreas Jaeger <aj@suse.de>
26720 * po/bg.po: Update from translation team.
26721 * po/cs.po: Likewise.
26722 * po/de.po: Likewise.
26723 * po/hr.po: Likewise.
26724 * po/nl.pl: Likewise.
26725 * po/pl.po: Likewise.
26726 * po/vi.po: Likewise.
26728 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26730 * Makeconfig [!+link] (+link-before-libc): New variable.
26731 [!+link] (+link-after-libc): Likewise.
26732 [!+link] (+link-tests): Likewise.
26733 [!+link] (+link): Define in terms of $(+link-before-libc) and
26734 $(+link-after-libc).
26735 [!+link-static] (+link-static-before-libc): New variable.
26736 [!+link-static] (+link-static-after-libc): Likewise.
26737 [!+link-static] (+link-static-tests): Likewise.
26738 [!+link-static] (+link-static): Define in terms of
26739 $(+link-static-before-libc) and $(+link-static-after-libc).
26740 [build-shared] (link-libc-before-gnulib): New variable.
26741 [build-shared] (link-libc-tests): Likewise.
26742 [build-shared] (link-libc): Define in terms of
26743 $(link-libc-before-gnulib).
26744 [!build-shared] (link-libc-tests): New variable.
26745 (link-libc-static-tests): New variable.
26746 [!gnulib] (gnulib-arch): New variable.
26747 [!gnulib] (gnulib-tests): Likewise.
26748 [!gnulib] (static-gnulib-arch): Likewise.
26749 [!gnulib] (static-gnulib-tests): Likewise.
26750 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26751 Define with "=" instead of ":=".
26752 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26753 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26754 * Rules (binaries-all-notests): New variable.
26755 (binaries-all-tests): Likewise.
26756 (binaries-static-notests): Likewise.
26757 (binaries-static-tests): Likewise.
26758 (binaries-all): Define using $(binaries-all-notests) and
26759 $(binaries-all-tests).
26760 (binaries-static): Define using $(binaries-static-notests) and
26761 $(binaries-static-tests).
26762 (binaries-shared-tests): New variable.
26763 (binaries-shared-notests): Likewise.
26764 (binaries-shared): Remove variable.
26765 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26766 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26767 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26768 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26769 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26770 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26771 * elf/Makefile (sln-modules): New variable.
26772 (extra-objs): Add $(sln-modules:=.o).
26773 (ldconfig-modules): Add static-stubs.
26774 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26775 * elf/static-stubs.c: New file.
26778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26779 by 7 not 8 to examine high bit of fractional part. Use volatile
26780 variables when splitting into final array of floats if
26781 __FLT_EVAL_METHOD__ != 0.
26782 * math/libm-test.inc (cos_test): Add another test.
26783 (sin_test): Likewise.
26784 * sysdeps/i386/fpu/libm-test-ulps: Update.
26787 * math/libm-test.inc (cosh_test): Add more tests.
26789 * version.h (RELEASE): Set to "development".
26790 (VERSION): Set to "2.16.90".
26792 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26794 * NEWS: Update copyright. Remove last-updated date.
26795 Mention math library bug fixes and timezone data changes.
26796 * README: Mention GNU/Hurd, x32, and HPPA support status.
26798 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26800 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26802 2012-06-27 Andreas Jaeger <aj@suse.de>
26804 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26806 2012-06-25 Andreas Jaeger <aj@suse.de>
26808 * sysdeps/s390/fpu/libm-test-ulps: Update.
26810 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26811 Thomas Schwinge <thomas@codesourcery.com>
26813 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26814 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26818 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26820 * sysdeps/mach/start.c: Remove file.
26821 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26822 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26823 * sysdeps/sh/init-first.c: Likewise.
26825 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26826 registers for frame unwinding purposes, add CFI directives.
26827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26828 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26829 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26832 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26833 __fortify_fail returning.
26834 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26836 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26837 sysdeps/sh/____longjmp_chk.S.
26838 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26839 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26840 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26841 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26843 * sysdeps/sh/abort-instr.h: New file.
26844 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26845 process in case exit returns.
26847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26848 initialize the GOT register before use.
26850 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26851 calculation of ARGC > 4.
26853 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26854 meaningful names to some local labels.
26856 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26857 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26859 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26860 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26861 (__arch_compare_and_exchange_val_16_acq): Likewise.
26862 (__arch_compare_and_exchange_val_32_acq): Likewise.
26863 (atomic_exchange_and_add): Fix gUSA sequence.
26864 (atomic_add): Likewise.
26865 (atomic_add_negative): Likewise.
26866 (atomic_add_zero): Likewise.
26867 (atomic_bit_test_set): Likewise.
26869 2012-06-22 Andreas Schwab <schwab@redhat.com>
26872 * include/link.h (struct link_map): Add l_free_initfini.
26873 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26875 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26876 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26877 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26880 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26882 * configure.in: Use AC_LANG_SOURCE.
26883 * configure: Regenerate.
26885 2012-06-22 Roland McGrath <roland@hack.frob.com>
26887 * configure.in (libc_cv_localstatedir): New substituted variable.
26888 * configure: Regenerated.
26889 * config.make.in (localstatedir): New variable, substituted from
26890 libc_cv_localstatedir.
26891 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26892 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26893 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26894 * sysdeps/gnu/configure: Regenerated.
26896 2012-06-21 Jeff Law <law@redhat.com>
26899 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26900 free. Simplify list management for _LIBC case.
26902 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26906 Clear sign bit of 64-bit integer value before comparing against
26909 * sysdeps/mach/configure: Regenerated.
26911 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26914 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26916 2012-06-21 Jeff Law <law@redhat.com>
26919 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26920 uint16_t for elements in the "seen" array to avoid char overflows.
26921 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26922 * elf/dl-open.c (dl_open_worker): Likewise.
26924 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26926 * scripts/list-sources.sh: Scan PORTS for translations.
26927 * po/libc.pot: Regenerated.
26929 2012-06-21 Andreas Jaeger <aj@suse.de>
26932 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26934 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26935 * bits/byteswap-16.h (__bswap_16): Likewise.
26936 * bits/byteswap.h (__bswap_constant_16): Likewise.
26938 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26941 * sysdeps/i386/fpu_control.h: Removed.
26942 * sysdeps/x86_64/fpu_control.h: Moved to ...
26943 * sysdeps/x86/fpu_control.h: Here.
26945 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26946 (_FPU_SETCW): Likewise.
26948 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26951 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26952 * sysdeps/x86/fpu/bits/mathinline.h: This.
26953 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26957 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26958 functions if __x86_64__ is defined.
26960 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26962 * string/endian.h: Add !__ASSEMBLER__ condition for including
26963 conversion interfaces.
26965 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26969 of ABS(x) in calculating zero to negative powers other than odd
26971 * math/libm-test.inc (pow_test): Add more tests.
26973 2012-06-15 Andreas Jaeger <aj@suse.de>
26975 * manual/contrib.texi (Contributors): Update entry of Liubov
26976 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26979 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26981 * string/string.h: Add __wur to GNU version of strerror_r.
26983 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26986 * string/Makefile (tests): Add tst-strtok_r.
26987 * string/tst-strtok_r.c: New file.
26988 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26989 RAX_LP/RDX_LP on SAVE_PTR.
26991 2012-06-14 Roland McGrath <roland@hack.frob.com>
26993 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26995 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26997 * libm_test.inc (csqrt_test): Allow more spurious underflow
26999 (j0_test): Likewise.
27000 (j1_test): Likewise.
27001 (y0_test): Likewise.
27002 (y1_test): Likewise.
27004 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27006 * po/Makefile (libc.pot): Use UTF-8 charset.
27008 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27011 Suppress sign-conversion warning from FD_SET.
27012 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27013 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27014 not unsigned long int.
27015 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27017 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27021 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27022 __extern_always_inline instead of __extern_inline.
27023 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27024 (__signbit): Likewise.
27025 (__signbitl): Support C++ namespace.
27026 (lrintf): New inline function.
27028 (llrintf): Likewise.
27029 (llrint): Likewise.
27039 (floorf): Likewise.
27040 (nearbyint): Likewise.
27041 (nearbyintf): Likewise.
27043 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27045 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27046 non-default versions.
27048 2012-06-11 Roland McGrath <roland@hack.frob.com>
27051 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27053 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27055 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27056 (FE_UPWARD, FE_DOWNWARD): Don't define.
27057 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27058 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27060 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27062 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27063 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27065 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27067 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27069 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27070 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27072 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27075 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27076 * sysdeps/i386/fpu/Implies: New file.
27077 * sysdeps/x86_64/fpu/Implies: Likewise.
27078 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27079 * sysdeps/x86/fpu/bits/fenv.h: This.
27081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27084 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27087 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27088 character 0xffff that matches the last element of the
27091 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27096 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27099 values higher than 25.6283.
27101 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27103 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27104 subnormal exponent extraction and add some __builtin_expect.
27105 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27106 Fix for subnormal mantissa calculation.
27108 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27110 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27111 cpu2 is -1 and errno is not ENOSYS.
27113 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27116 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27117 * sysdeps/x86/bits/string.h: This.
27118 * sysdeps/x86_64/bits/string.h: Removed.
27120 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27121 if not compiling for x86-64, but compiling for >= i486.
27123 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27124 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27126 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27127 New macro from Linux kernel 3.4.0.
27128 (FP_XSTATE_MAGIC2): Likewise.
27129 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27130 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27131 (struct _fpx_sw_bytes): New struct.
27132 (struct _xsave_hdr): Likewise.
27133 (struct _ymmh_state): Likewise.
27134 (struct _xstate): Likewise.
27136 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27137 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27138 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27139 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27140 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27141 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27143 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27144 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27145 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27146 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27147 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27148 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27150 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27153 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27154 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27155 (sysdep_headers): Include sys/platform/ppc.h.
27156 * sysdeps/powerpc/test-gettimebase.c: Test for
27157 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27158 * manual/Makefile (appendices): Include platform.texi.
27159 * manual/contrib.texi (Contributors): Update @node pointers.
27160 * manual/maint.texi (Maintenance): Likewise.
27161 (Platform): New node.
27162 * manual/platform.texi: New file. Document the new features.
27164 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27165 Jakub Jelinek <jakub@redhat.com>
27168 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27169 where __builtin_expect is unavailable.
27171 2012-06-03 David S. Miller <davem@davemloft.net>
27173 * stdlib/longlong.h: Updated from GCC.
27175 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27178 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27179 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27182 (GLIBC_2.16): Likewise.
27184 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27186 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27188 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27191 (default-abi): New variable.
27192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27193 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27195 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27197 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27199 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27202 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27203 definition. Document in comment.
27205 2012-06-01 David S. Miller <davem@davemloft.net>
27207 * stdlib/longlong.h: Updated from GCC.
27209 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27212 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27213 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27214 sys/debugreg.h sys/io.h here.
27215 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27216 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27218 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27219 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27220 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27221 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27222 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27223 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27225 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27226 Define only if __x86_64__ is defined.
27228 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27231 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27232 Use int64_t for variable i.
27233 * math/libm-test.inc (fmod_test): Add more tests.
27235 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27236 z computation is not scheduled after fetestexcept.
27237 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27238 Use math_force_eval instead of asm to ensure calculation scheduled
27239 before exception test.
27240 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27241 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27243 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27246 computation is not scheduled after fetestexcept.
27248 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27251 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27252 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27254 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27256 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27257 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27259 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27262 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27264 (__WCHAR_MIN): Support __WORDSIZE == 64.
27265 (__WCHAR_MAX): Likewise.
27267 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27268 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27272 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27275 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27276 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27279 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27281 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27282 Defined to 1 if __x86_64__ isn't defined.
27283 (_STAT_VER_LINUX_OLD): New.
27284 (st_atime): Remove duplicate.
27285 (st_mtime): Likewise.
27286 (st_ctime): Likewise.
27288 2012-05-31 David S. Miller <davem@davemloft.net>
27290 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27293 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27295 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27299 * elf/dl-reloc.c: Include <_itoa.h>.
27300 (_dl_reloc_bad_type): Remove use of INTUSE.
27301 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27302 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27303 * stdio-common/psiginfo.c (psiginfo): Likewise.
27304 * stdio-common/psignal.c (psignal): Likewise.
27305 * string/strsignal.c (strsignal): Likewise.
27306 * include/signal.h (_sys_siglist): Declare hidden proto.
27307 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27308 INTVARDEF with libc_hidden_data_def.
27309 * stdio-common/itoa-udigits.c: Likewise.
27310 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27311 (_itoa_lower_digits_internal): Remove declaration.
27312 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27313 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27314 (_sys_sigabbrev_internal): Remove aliases.
27315 (_sys_siglist): Define hidden alias.
27317 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27322 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27325 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27326 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27328 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27329 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27330 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27331 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27333 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27335 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27337 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27347 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27349 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27351 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27352 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27353 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27354 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27355 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27356 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27358 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27359 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27361 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27362 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27366 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27368 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27369 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27371 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27373 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27374 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27375 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27377 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27379 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27381 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27383 * math/math.h (M_El): Use two more decimal places.
27384 (M_LOG2El): Likewise.
27385 (M_LOG10El): Likewise.
27386 (M_LN2l): Likewise.
27387 (M_LN10l): Likewise.
27389 (M_PI_2l): Likewise.
27390 (M_PI_4l): Likewise.
27391 (M_1_PIl): Likewise.
27392 (M_2_PIl): Likewise.
27393 (M_2_SQRTPIl): Likewise.
27394 (M_SQRT2l): Likewise.
27395 (M_SQRT1_2l): Likewise.
27397 2012-05-31 David S. Miller <davem@davemloft.net>
27399 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27400 values between float registers.
27401 * sysdeps/sparc/sparc64/memset.S: Likewise.
27402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27404 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27406 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27407 -D_FORTIFY_SOURCE=1.
27408 (CPPFLAGS-tst-longjmp_chk.c): Define.
27409 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27410 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27411 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27412 CFLAGS-tst-wchar-h.c.
27414 2012-05-31 Marek Polacek <polacek@redhat.com>
27417 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27418 __endmntent_internal): Remove declaration.
27419 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27420 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27421 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27423 2012-05-30 David S. Miller <davem@davemloft.net>
27425 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27426 (___Q_simulate_exceptions): Use real FP ops rather than writing
27428 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27431 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27434 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27435 * sysdeps/x86/bits/xtitypes.h: This.
27437 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27438 * sysdeps/x86/bits/wordsize.h: This.
27440 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27441 * sysdeps/x86/bits/huge_vall.h: This.
27443 * sysdeps/i386/bits/select.h: Removed.
27444 * sysdeps/x86_64/bits/select.h: Renamed to ...
27445 * sysdeps/x86/bits/select.h: This.
27447 * sysdeps/i386/bits/setjmp.h: Removed.
27448 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27449 * sysdeps/x86/bits/setjmp.h: This.
27451 * sysdeps/i386/bits/mathdef.h: Removed.
27452 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27453 * sysdeps/x86/bits/mathdef.h: This.
27455 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27458 * include/sys/socket.h (__connect_internal)
27459 (__libc_sa_len_internal): Remove declaration.
27460 (__connect, __libc_sa_len): Declare hidden_proto.
27461 (SA_LEN): Remove use of INTUSE.
27462 * socket/connect.c: Add libc_hidden_def.
27463 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27464 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27465 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27467 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27468 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27469 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27470 of adding _internal alias.
27472 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27475 * sysdeps/i386/bits/link.h: Removed.
27476 * sysdeps/i386/bits/linkmap.h: Likewise.
27477 * sysdeps/x86_64/bits/link.h: Renamed to ...
27478 * sysdeps/x86/bits/link.h: This.
27479 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27480 * sysdeps/x86/bits/linkmap.h: This.
27482 * sysdeps/i386/bits/endian.h: Removed.
27483 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27484 * sysdeps/x86/bits/endian.h: This.
27486 * sysdeps/i386/bits/byteswap.h: Removed.
27487 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27488 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27489 * sysdeps/x86/bits/byteswap.h: This.
27490 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27491 * sysdeps/x86/bits/byteswap-16.h: This.
27492 * sysdeps/i386/Implies: Add x86.
27493 * sysdeps/x86_64/Implies: Likewise.
27495 2012-05-30 David S. Miller <davem@davemloft.net>
27497 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27498 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27499 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27500 (FP_TRAPPING_EXCEPTIONS): Define.
27501 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27502 (FP_TRAPPING_EXCEPTIONS): Define.
27503 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27504 subnormals only when inexact has been signalled or underflow
27505 exceptions are enabled.
27506 (_FP_PACK_CANONICAL): Likewise.
27508 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27512 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27514 2012-05-30 Richard Henderson <rth@twiddle.net>
27516 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27517 with #ifndef NOT_IN_libc.
27519 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27520 marked to avoid plt entry.
27522 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27525 * Makeconfig (default-abi): New macro.
27526 (abi-includes): Likewise.
27527 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27528 $(abi-$(default-abi)-lib-soname) for soname if defined.
27529 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27531 * Makefile (installed-stubs): Likewise.
27532 * include/stubs-biarch.h: Removed.
27533 * scripts/lib-names.awk: Only handle one library at a time.
27534 * scripts/soversions.awk: Remove WORDSIZE support.
27535 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27537 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27539 (syscall-list-default-condition): Likewise.
27540 (syscall-list-default-condition): Likewise.
27541 (syscall-list-includes): Likewise.
27542 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27543 syscall-list-* with abi-*. Handle undefined abi-variants.
27544 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27545 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27546 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27547 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27548 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27549 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27551 (syscall-list-32-options): Likewise.
27552 (syscall-list-32-condition): Likewise.
27553 (syscall-list-64-options): Likewise.
27554 (syscall-list-64-condition): Likewise.
27555 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27557 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27560 (abi-64-ld-soname): New macro.
27561 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27562 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27565 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27566 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27568 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27570 * sysdeps/unix/sysv/linux/kernel-features.h
27571 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27572 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27573 include <kernel-features.h>.
27574 [!__NR_ftruncate64]: Remove conditional code.
27575 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27576 [__NR_ftruncate64]: Make code unconditional.
27577 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27578 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27579 include <kernel-features.h>.
27580 [!__NR_ftruncate64]: Remove conditional code.
27581 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27582 [__NR_ftruncate64]: Make code unconditional.
27583 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27585 include <kernel-features.h>.
27586 [!__NR_ftruncate64]: Remove conditional code.
27587 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27588 [__NR_ftruncate64]: Make code unconditional.
27589 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27591 include <kernel-features.h>.
27592 [!__NR_ftruncate64]: Remove conditional code.
27593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27594 [__NR_ftruncate64]: Make code unconditional.
27595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27597 * configure.in (libc_cv_fpie): Weaken to a compile test using
27598 LIBC_TRY_CC_OPTION.
27599 * configure: Regenerated.
27601 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27616 2012-05-27 David S. Miller <davem@davemloft.net>
27618 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27620 (__Q_simulate_exceptions): Return void. Change to simulate
27621 exceptions by writing into the %fsr.
27622 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27623 (__Qp_handle_exceptions): Likewise.
27625 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27626 __Qp_handle_exceptions.
27627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27628 __Qp_handle_exceptions.
27629 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27630 as unused and give dummy FP_RND_NEAREST initializer.
27631 (FP_INHIBIT_RESULTS): Define.
27632 (___Q_simulate_exceptions): Update declaration.
27633 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27635 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27636 as unused and give dummy FP_RND_NEAREST initializer.
27637 (__Qp_handle_exceptions): Update declaration.
27638 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27641 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27643 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27644 the temporary FPU control word.
27645 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27646 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27647 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27648 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27649 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27650 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27651 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27652 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27653 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27654 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27657 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27659 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27662 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27664 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27665 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27666 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27667 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27669 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27670 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27673 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27675 * po/h.po: Update from translation team.
27677 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27679 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27681 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27682 handling of denormals.
27683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27684 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27685 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27692 2012-05-26 Marek Polacek <polacek@redhat.com>
27695 * math/libm-test.inc (fma_test): Don't always expect underflow
27698 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27701 * elf/tst-execstack.c: Include stackinfo.h.
27702 (do_test): Adjust test case to ensure that pthread_getattr_np
27703 behaviour remains the same after marking stack executable.
27705 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27707 * sysdeps/unix/sysv/linux/kernel-features.h
27708 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27709 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27711 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27712 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27713 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27715 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27716 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27718 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27720 * configure.in: Define the default includes to being none.
27721 * configure: Regenerated.
27723 2012-05-25 Roland McGrath <roland@hack.frob.com>
27725 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27726 * sysdeps/x86_64/setjmp.S: Likewise.
27727 * sysdeps/i386/bsd-setjmp.S: Likewise.
27728 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27729 * sysdeps/i386/setjmp.S: Likewise.
27730 * sysdeps/i386/__longjmp.S: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27732 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27734 * include/stap-probe.h: New file.
27735 * configure.in: Handle --enable-systemtap.
27736 * configure: Regenerated.
27737 * config.h.in (USE_STAP_PROBE): New #undef.
27738 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27739 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27740 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27742 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27746 to 2.4.0 where earlier.
27747 * sysdeps/unix/sysv/linux/configure: Regenerated.
27748 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27749 <kernel-features.h>.
27750 [__ASSUME_32BITUIDS]: Make code unconditional.
27751 [!__ASSUME_32BITUIDS]: Remove conditional code.
27752 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27753 <kernel-features.h>.
27754 [__ASSUME_32BITUIDS]: Make code unconditional.
27755 [!__ASSUME_32BITUIDS]: Remove conditional code.
27756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27757 [__ASSUME_32BITUIDS]: Make code unconditional.
27758 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27759 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27760 <kernel-features.h>.
27761 [__ASSUME_32BITUIDS]: Make code unconditional.
27762 [!__ASSUME_32BITUIDS]: Remove conditional code.
27763 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27764 <kernel-features.h>.
27765 [__ASSUME_32BITUIDS]: Make code unconditional.
27766 [!__ASSUME_32BITUIDS]: Remove conditional code.
27767 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27768 <kernel-features.h>.
27769 [__ASSUME_32BITUIDS]: Make code unconditional.
27770 [!__ASSUME_32BITUIDS]: Remove conditional code.
27771 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27772 <kernel-features.h>.
27773 [__ASSUME_32BITUIDS]: Make code unconditional.
27774 [!__ASSUME_32BITUIDS]: Remove conditional code.
27775 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27776 <kernel-features.h>.
27777 [__ASSUME_32BITUIDS]: Make code unconditional.
27778 [!__ASSUME_32BITUIDS]: Remove conditional code.
27779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27780 <kernel-features.h>.
27781 [__ASSUME_32BITUIDS]: Make code unconditional.
27782 [!__ASSUME_32BITUIDS]: Remove conditional code.
27783 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27784 <kernel-features.h>.
27785 [__ASSUME_32BITUIDS]: Make code unconditional.
27786 [!__ASSUME_32BITUIDS]: Remove conditional code.
27787 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27788 <kernel-features.h>.
27789 [__ASSUME_32BITUIDS]: Make code unconditional.
27790 [!__ASSUME_32BITUIDS]: Remove conditional code.
27791 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27792 <kernel-features.h>.
27793 [__ASSUME_32BITUIDS]: Make code unconditional.
27794 [!__ASSUME_32BITUIDS]: Remove conditional code.
27795 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27796 <kernel-features.h>.
27797 [__ASSUME_32BITUIDS]: Make code unconditional.
27798 [!__ASSUME_32BITUIDS]: Remove conditional code.
27799 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27800 <kernel-features.h>.
27801 [__NR_setresgid] (__setresgid): Do not declare.
27802 [__ASSUME_32BITUIDS]: Make code unconditional.
27803 [!__ASSUME_32BITUIDS]: Remove conditional code.
27804 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27805 <kernel-features.h>.
27806 [__NR_setresuid] (__setresuid): Do not declare.
27807 [__ASSUME_32BITUIDS]: Make code unconditional.
27808 [!__ASSUME_32BITUIDS]: Remove conditional code.
27809 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27810 <kernel-features.h>.
27811 [__ASSUME_32BITUIDS]: Make code unconditional.
27812 [!__ASSUME_32BITUIDS]: Remove conditional code.
27813 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27814 <kernel-features.h>.
27815 [__ASSUME_32BITUIDS]: Make code unconditional.
27816 [!__ASSUME_32BITUIDS]: Remove conditional code.
27817 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27818 <kernel-features.h>.
27819 [__ASSUME_32BITUIDS]: Make code unconditional.
27820 [!__ASSUME_32BITUIDS]: Remove conditional code.
27821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27822 <kernel-features.h>.
27823 [__ASSUME_32BITUIDS]: Make code unconditional.
27824 [!__ASSUME_32BITUIDS]: Remove conditional code.
27825 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27826 <kernel-features.h>.
27827 [__ASSUME_32BITUIDS]: Make code unconditional.
27828 [!__ASSUME_32BITUIDS]: Remove conditional code.
27829 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27830 <kernel-features.h>.
27831 [__ASSUME_32BITUIDS]: Make code unconditional.
27832 [!__ASSUME_32BITUIDS]: Remove conditional code.
27833 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27834 <kernel-features.h>.
27835 [__ASSUME_32BITUIDS]: Make code unconditional.
27836 [!__ASSUME_32BITUIDS]: Remove conditional code.
27837 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27838 <kernel-features.h>.
27839 [__ASSUME_32BITUIDS]: Make code unconditional.
27840 [!__ASSUME_32BITUIDS]: Remove conditional code.
27841 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27842 <kernel-features.h>.
27843 [__ASSUME_32BITUIDS]: Make code unconditional.
27844 [!__ASSUME_32BITUIDS]: Remove conditional code.
27845 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27846 <kernel-features.h>.
27847 [__ASSUME_32BITUIDS]: Make code unconditional.
27848 [!__ASSUME_32BITUIDS]: Remove conditional code.
27849 * sysdeps/unix/sysv/linux/kernel-features.h
27850 (__ASSUME_SETRESUID_SYSCALL): Remove.
27851 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27852 (__ASSUME_32BITUIDS): Likewise.
27853 (__ASSUME_LDT_WORKS): Likewise.
27854 (__ASSUME_O_DIRECTORY): Likewise.
27855 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27856 architecture but not kernel version.
27857 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27858 (__ASSUME_MMAP2_SYSCALL): Likewise.
27859 (__ASSUME_STAT64_SYSCALL): Likewise.
27860 (__ASSUME_IPC64): Likewise.
27861 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27862 <kernel-features.h>.
27863 [__ASSUME_32BITUIDS]: Make code unconditional.
27864 [!__ASSUME_32BITUIDS]: Remove conditional code.
27865 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27866 <kernel-features.h>.
27867 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27869 132096]: Remove conditional code.
27870 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27871 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27872 <kernel-features.h>.
27873 [__ASSUME_32BITUIDS]: Make code unconditional.
27874 [!__ASSUME_32BITUIDS]: Remove conditional code.
27875 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27876 <kernel-features.h>.
27877 [__ASSUME_32BITUIDS]: Make code unconditional.
27878 [!__ASSUME_32BITUIDS]: Remove conditional code.
27879 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27880 <kernel-features.h>.
27881 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27883 (__setresgid): Do not declare.
27884 [__ASSUME_32BITUIDS]: Make code unconditional.
27885 [!__ASSUME_32BITUIDS]: Remove conditional code.
27886 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27887 <kernel-features.h>.
27888 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27890 (__setresuid): Do not declare.
27891 [__ASSUME_32BITUIDS]: Make code unconditional.
27892 [!__ASSUME_32BITUIDS]: Remove conditional code.
27893 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27894 <kernel-features.h>.
27895 [__ASSUME_32BITUIDS]: Make code unconditional.
27896 [!__ASSUME_32BITUIDS]: Remove conditional code.
27897 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27898 <kernel-features.h>.
27899 [__ASSUME_32BITUIDS]: Make code unconditional.
27900 [!__ASSUME_32BITUIDS]: Remove conditional code.
27902 2012-05-25 Richard Henderson <rth@twiddle.net>
27904 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27905 dl_hwcap to ifunc resolver.
27906 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27908 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27909 dl_hwcap to ifunc resolver.
27910 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27912 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27915 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27916 for |x| <= 2**-26, not 2**-57.
27917 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27920 2012-05-24 Jeff Law <law@redhat.com>
27922 * stdio-common/Makefile (tests): Add bug25.
27923 * stdio-common/bug25.c: New test.
27925 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27928 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27929 multiple of MALLOC_ALIGNMENT in size.
27930 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27932 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27934 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27936 (FILENAME_MAX): Use macro-int-constant.
27937 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27938 (_IOFBF): Use macro-int-constant.
27939 (_IOLBF): Likewise.
27940 (_IONBF): Likewise.
27941 (SEEK_CUR): Likewise.
27942 (SEEK_END): Likewise.
27943 (SEEK_SET): Likewise.
27944 (TMP_MAX): Likewise.
27945 (EOF): Use macro-int-constant. Require < 0.
27946 (NULL): Use macro-constant. Require == 0.
27947 (stdin): Require type to be FILE *.
27948 (stdout): Likewise.
27949 (stderr): Likewise.
27950 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27951 macro-int-constant.
27952 (EXIT_SUCCESS): Likewise.
27953 (NULL): Use macro-constant. Require == 0.
27954 (RAND_MAX): Use macro-int-constant.
27955 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27956 [C99-based standards] (strtof): Require function.
27957 [C99-based standards] (strtold): Likewise.
27958 [C99-based standards] (strtoll): Likewise.
27959 [C99-based standards] (strtoull): Likewise.
27960 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27961 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27962 [ISO || ISO99 || ISO11] (math.h): Likewise.
27963 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27964 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27967 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27970 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27971 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27972 * intl/dgettext.c (DCGETTEXT): Likewise.
27973 * intl/gettext.c (DCGETTEXT): Likewise.
27974 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27975 * posix/regex_internal.h (gettext): Likewise.
27976 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27977 Remove declaration.
27978 * include/argz.h (__argz_count_internal)
27979 (__argz_stringify_internal): Remove declaration.
27980 (__argz_count, __argz_stringify): Declare hidden proto.
27981 * intl/dcgettext.c: Remove use of INTDEF.
27982 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27983 * string/argz-stringify.c: Likewise.
27984 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27985 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27986 Declare hidden proto.
27987 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27988 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27989 Declare hidden proto.
27990 * include/stdio.h (__asprintf_internal): Don't declare.
27991 (__asprintf): Don't define as macro. Declare hidden proto.
27992 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27993 (__fsetlocking): Declare hidden proto.
27994 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27995 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27997 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27998 (_IO_setlinebuf): Remove use of INTUSE.
27999 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28000 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28001 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28002 Remove declaration.
28003 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28004 (_IO_do_flush): Remove use of INTUSE.
28005 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28006 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28007 (_IO_adjust_column, _IO_least_wmarker)
28008 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28009 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28010 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28011 (_IO_default_doallocate, _IO_wdefault_doallocate)
28012 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28013 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28014 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28015 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28016 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28017 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28018 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28019 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28020 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28021 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28022 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28023 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28024 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28026 (_IO_flush_all_internal, _IO_adjust_column_internal)
28027 (_IO_default_uflow_internal, _IO_default_finish_internal)
28028 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28029 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28030 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28031 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28032 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28033 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28034 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28035 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28036 (_IO_file_close_internal, _IO_file_close_it_internal)
28037 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28038 (_IO_file_init_internal, _IO_file_attach_internal)
28039 (_IO_file_fopen_internal, _IO_file_read_internal)
28040 (_IO_file_sync_internal, _IO_file_seek_internal)
28041 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28042 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28043 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28044 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28045 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28046 (_IO_list_all_internal, _IO_link_in_internal)
28047 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28048 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28049 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28050 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28051 (_IO_do_write_internal, _IO_padn_internal)
28052 (_IO_getline_info_internal, _IO_getline_internal)
28053 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28054 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28055 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28056 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28057 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28058 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28059 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28060 with libc_hidden_ver, remove use of INTUSE.
28061 * libio/genops.c: Likewise.
28062 * libio/freopen.c: Likewise.
28063 * libio/freopen64.c: Likewise.
28064 * libio/iofclose.c: Likewise.
28065 * libio/iofdopen.c: Likewise.
28066 * libio/iofflush.c: Likewise.
28067 * libio/iofflush_u.c: Likewise.
28068 * libio/iofgets.c: Likewise.
28069 * libio/iofgets_u.c: Likewise.
28070 * libio/iofopen.c: Likewise.
28071 * libio/iofopncook.c: Likewise.
28072 * libio/iofread.c: Likewise.
28073 * libio/iofread_u.c: Likewise.
28074 * libio/ioftell.c: Likewise.
28075 * libio/iofwrite.c: Likewise.
28076 * libio/iogetline.c: Likewise.
28077 * libio/iogets.c: Likewise.
28078 * libio/iogetwline.c: Likewise.
28079 * libio/iopadn.c: Likewise.
28080 * libio/iopopen.c: Likewise.
28081 * libio/ioseekoff.c: Likewise.
28082 * libio/ioseekpos.c: Likewise.
28083 * libio/iosetbuffer.c: Likewise.
28084 * libio/iosetvbuf.c: Likewise.
28085 * libio/ioungetc.c: Likewise.
28086 * libio/ioungetwc.c: Likewise.
28087 * libio/iovdprintf.c: Likewise.
28088 * libio/iovsprintf.c: Likewise.
28089 * libio/iovsscanf.c: Likewise.
28090 * libio/memstream.c: Likewise.
28091 * libio/obprintf.c: Likewise.
28092 * libio/oldfileops.c: Likewise.
28093 * libio/oldiofclose.c: Likewise.
28094 * libio/oldiofdopen.c: Likewise.
28095 * libio/oldiofopen.c: Likewise.
28096 * libio/oldiopopen.c: Likewise.
28097 * libio/oldstdfiles.c: Likewise.
28098 * libio/putc.c: Likewise.
28099 * libio/setbuf.c: Likewise.
28100 * libio/setlinebuf.c: Likewise.
28101 * libio/stdfiles.c: Likewise.
28102 * libio/strops.c: Likewise.
28103 * libio/vasprintf.c: Likewise.
28104 * libio/vscanf.c: Likewise.
28105 * libio/vsnprintf.c: Likewise.
28106 * libio/vswprintf.c: Likewise.
28107 * libio/wfiledoalloc.c: Likewise.
28108 * libio/wfileops.c: Likewise.
28109 * libio/wgenops.c: Likewise.
28110 * libio/wmemstream.c: Likewise.
28111 * libio/wstrops.c: Likewise.
28112 * libio/__fpurge.c: Likewise.
28113 * libio/__fsetlocking.c: Likewise.
28114 * assert/assert.c: Likewise.
28115 * debug/fgets_chk.c: Likewise.
28116 * debug/fgets_u_chk.c: Likewise.
28117 * debug/fread_chk.c: Likewise.
28118 * debug/fread_u_chk.c: Likewise.
28119 * debug/gets_chk.c: Likewise.
28120 * debug/obprintf_chk.c: Likewise.
28121 * debug/vasprintf_chk.c: Likewise.
28122 * debug/vdprintf_chk.c: Likewise.
28123 * debug/vsnprintf_chk.c: Likewise.
28124 * debug/vsprintf_chk.c: Likewise.
28125 * malloc/mtrace.c: Likewise.
28126 * misc/error.c: Likewise.
28127 * misc/syslog.c: Likewise.
28128 * stdio-common/asprintf.c: Likewise.
28129 * stdio-common/fxprintf.c: Likewise.
28130 * stdio-common/getw.c: Likewise.
28131 * stdio-common/isoc99_fscanf.c: Likewise.
28132 * stdio-common/isoc99_scanf.c: Likewise.
28133 * stdio-common/isoc99_vfscanf.c: Likewise.
28134 * stdio-common/isoc99_vscanf.c: Likewise.
28135 * stdio-common/isoc99_vsscanf.c: Likewise.
28136 * stdio-common/printf-prs.c: Likewise.
28137 * stdio-common/printf_fp.c: Likewise.
28138 * stdio-common/printf_fphex.c: Likewise.
28139 * stdio-common/printf_size.c: Likewise.
28140 * stdio-common/putw.c: Likewise.
28141 * stdio-common/scanf.c: Likewise.
28142 * stdio-common/sprintf.c: Likewise.
28143 * stdio-common/tmpfile.c: Likewise.
28144 * stdio-common/vfprintf.c: Likewise.
28145 * stdio-common/vfscanf.c: Likewise.
28146 * stdlib/strfmon_l.c: Likewise.
28147 * sunrpc/openchild.c: Likewise.
28148 * sunrpc/xdr_stdio.c: Likewise.
28149 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28150 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28152 2012-05-24 Roland McGrath <roland@hack.frob.com>
28154 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28156 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28157 in the third column, to generate for the shared library an IFUNC
28158 that uses _dl_vdso_vsym.
28159 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28160 * Makeconfig (object-suffixes-noshared): New variable.
28162 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28163 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28164 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28165 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28168 * include/sys/time.h (__gettimeofday): Remove macro.
28169 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28170 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28172 (__gettimeofday): Add libc_hidden_def.
28173 (gettimeofday): Add libc_hidden_weak.
28174 * sysdeps/mach/gettimeofday.c: Likewise.
28175 * sysdeps/posix/gettimeofday.c: Likewise.
28176 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28177 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28179 (__gettimeofday_internal): Remove strong_alias.
28180 (__gettimeofday): Add libc_hidden_def.
28181 (gettimeofday): Add libc_hidden_weak.
28182 * sysdeps/unix/syscalls.list (gettimeofday):
28183 Remove __gettimeofday_internal alias.
28185 2012-05-24 Daniel Jacobowitz <drow@false.org>
28186 H.J. Lu <hongjiu.lu@intel.com>
28189 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28190 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28191 (largebin_index_32_big): New.
28192 (largebin_index): Use it for 16-byte alignment.
28193 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28194 correction with front_misalign.
28196 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28224 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28225 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28227 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28231 * math/libm-test.inc (exp_test): Add test from bug 14036.
28232 (pow_test): Add test from bug 10846.
28234 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28236 (special_function): Do not include flags in test name.
28237 (parse_args): Likewise.
28238 * sysdeps/i386/fpu/libm-test-ulps: Update.
28239 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28240 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28241 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28244 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28246 * math/libm-test.inc ("Philosophy"): Update comment about
28248 (UNDERFLOW_EXCEPTION): New macro.
28249 (UNDERFLOW_EXCEPTION_OK): Likewise.
28250 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28251 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28252 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28253 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28254 (INVALID_EXCEPTION_OK): Update value.
28255 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28256 (OVERFLOW_EXCEPTION_OK): Likewise.
28257 (IGNORE_ZERO_INF_SIGN): Likewise.
28258 (test_exceptions): Handle underflow exceptions.
28259 (acos_test): Update for underflow exception expectations.
28260 (cexp_test): Likewise.
28261 (clog_test): Likewise.
28262 (clog10_test): Likewise.
28263 (csqrt_test): Likewise.
28264 (ctan_test): Likewise.
28265 (ctanh_test): Likewise.
28266 (exp_test): Likewise.
28267 (exp10_test): Likewise.
28268 (exp2_test): Likewise.
28269 (expm1_test): Likewise.
28270 (fma_test): Likewise.
28271 (j0_test): Likewise.
28272 (jn_test): Likewise.
28273 (nexttoward_test): Likewise.
28274 (pow_test): Likewise.
28275 (scalbn_test): Likewise.
28276 (scalbln_test): Likewise.
28277 (tan_test): Likewise.
28278 (y1_test): Likewise.
28279 * sysdeps/i386/fpu/libm-test-ulps: Update.
28280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28282 2012-05-23 David S. Miller <davem@davemloft.net>
28284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28285 (__libc_sigaction): Remove unused local variables.
28287 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28289 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28291 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28293 mktime: avoid signed integer overflow
28294 * time/mktime.c (__mktime_internal): Do not mishandle the case
28295 where diff == INT_MIN.
28297 mktime: simplify computation of average
28298 * time/mktime.c (ranged_convert): Use new time_t_avg function
28299 instead of rolling our own (probably-slower) code.
28301 mktime: do not assume signed right shift propagates sign bit
28302 * time/mktime.c (isdst_differ): New static function.
28303 (__mktime_internal): No need to normalize tm_isdst now.
28304 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28307 mktime: merge another wrapv change from gnulib
28308 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28309 from some compilers.
28311 mktime: remove incorrect attempt at unusual arithmetics
28312 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28313 The code didn't really work on such machines anyway.
28314 (TYPE_MINIMUM): Assume two's complement.
28315 (twos_complement_arithmetic): Verify that long_int and time_t
28316 are two's complement (or unsigned, in the latter case).
28318 mktime: check signed shifts on long_int and time_t, too
28319 * time/mktime.c (SHR): Check that shifts work as desired
28320 on the types long_int and time_t too, as SHR is used on
28323 mktime: do not assume 'long' is wide enough
28324 * time/mktime.c (verify): Move decl up.
28325 (long_int): New type.
28326 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28327 to remove assumption in the code that 'long' is wide enough to
28328 store year values. This assumption is not true on x32 and on
28329 some non-glibc platforms.
28331 mktime: merge wrapv change from gnulib
28332 * time/mktime.c (WRAPV): New macro.
28333 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28334 (guess_time_tm, __mktime_internal): Do not assume that signed
28335 integer overflow wraps around; modern compilers generate code
28336 where this assumption is no longer valid.
28338 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28340 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28341 Replace "jmp L(pseudo_end)" with "ret".
28342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28345 2012-05-23 Andreas Jaeger <aj@suse.de>
28347 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28348 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28350 2012-05-23 Andreas Jaeger <aj@suse.de>
28351 Maximilian Attems <max@stro.at>
28353 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28356 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28358 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28359 code so that pseudo_end is just ret and the stack pointer is
28360 correct also for static library in error case.
28362 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28364 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28365 move to syscalls.list.
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28371 * manual/install.texi (Running make install): Do not mention Linux
28372 kernel version for which pt_chown is not needed.
28373 (Linux): Do not mention problems with nscd with 2.0 kernels.
28374 * INSTALL: Regenerated.
28376 2012-05-23 Andreas Jaeger <aj@suse.de>
28378 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28379 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28381 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28382 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28383 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28385 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28389 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28391 * sysdeps/unix/sysv/linux/bits/in.h
28392 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28394 2012-05-22 Roland McGrath <roland@hack.frob.com>
28396 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28397 (PREPARE_VERSION): Just use assert instead, it will be elided
28398 under [NDEBUG] anyway.
28400 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28402 * sysdeps/unix/sysv/linux/Makefile: Include
28403 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28404 (sysdep_routines): Remove sysctl.
28405 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28406 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28407 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28408 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28409 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28411 2012-05-22 Andreas Jaeger <aj@suse.de>
28413 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28414 that pseudo_end is just ret and the stack pointer is correct also
28415 for static library in error case.
28417 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28420 * nss/nsswitch.c (defconfig_entries): New variable.
28421 (__nss_database_lookup): Don't leak defconfig entries.
28422 (nss_parse_service_list): Don't leak on error paths.
28423 (free_database_entries): New function.
28424 (free_defconfig): New function.
28425 (free_mem): Move common code to free_database_entries.
28427 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28431 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28433 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28434 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28437 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28438 (INTERNAL_SYSCALL_TYPES): Likewise.
28439 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28440 (LOAD_REGS_TYPES_[1-6]): Likewise.
28441 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28442 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28444 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28447 copysignl for GLIBC_2_0.
28448 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28449 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28451 logbl for GLIBC_2_0.
28452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28453 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28455 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28458 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28460 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28463 * time/mktime.c: Update copyright years.
28465 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28467 mktime: merge comment-quoting-style change from gnulib
28468 * time/mktime.c: Quote 'like this' in comments.
28469 The GNU coding standards suggest that we no longer quote `like this',
28470 as "`" and "'" are typically rendered asymmetrically nowadays.
28471 The typical gnulib style is to quote 'like this' when quoting
28472 code, and "like this" when quoting English.
28474 * time/mktime.c (compile-command): Add "-I.".
28476 mktime: merge mktime-internal.h change from gnulib
28477 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28479 mktime: merge time_r change from gnulib
28480 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28482 mktime: merge DEBUG change from gnulib
28483 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28484 case system <time.h> has a #define.
28486 mktime: merge <sys/types.h> change from gnulib
28487 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28488 since <time.t> is now guaranteed to define time_t.
28490 mktime: merge HAVE_CONFIG_H change from gnulib
28491 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28493 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28498 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28500 (struct rusage): Use anonymous union to pad each field to
28503 2012-05-21 David S. Miller <davem@davemloft.net>
28505 * Makefules (o-iterator): Remove .s cases.
28506 (compile-command.s): Delete.
28507 (COMPILE.s): Delete.
28508 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28510 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28512 * configure.in (libc_cv_predef_stack_protector): Only consider
28513 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28514 * configure: Regenerated.
28516 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28519 New macro. Use R*LP on int and pointer.
28520 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28521 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28522 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28523 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28525 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28526 [__WORDSIZE_TIME64_COMPAT32] instead of
28527 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28528 (struct utmp): Likewise.
28529 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28530 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28532 (__WORDSIZE_TIME64_COMPAT32): This.
28533 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28534 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28535 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28536 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28537 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28538 (__WORDSIZE_TIME64_COMPAT32): New macro.
28540 2012-05-21 Andreas Jaeger <aj@suse.de>
28542 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28543 only if [SHARED]. Add prototype for __wcschr_ia32.
28545 2012-05-21 Roland McGrath <roland@hack.frob.com>
28547 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28548 of %rbp unmolested in the jmp_buf while mangling the low bits.
28549 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28550 unmolested high bits of %rbp while demangling the low bits.
28551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28553 2012-05-21 Andreas Jaeger <aj@suse.de>
28555 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28556 * sunrpc/svc_simple.c: Use it for registerrpc.
28557 * sunrpc/xcrypt.c: Use it for passwd2des.
28559 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28561 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28563 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28564 Don't define if [__SYSCALL_WORDSIZE != 32].
28565 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28568 2012-05-21 Bruno Haible <bruno@clisp.org>
28569 Andreas Jaeger <aj@suse.de>
28571 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28572 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28573 inptr and inend for must_buffer_ch.
28574 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28575 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28576 * stdio-common/Makefile (tests): Remove bug15.
28577 (bug15-ENV): Remove macro.
28578 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28581 2012-05-19 Andreas Jaeger <aj@suse.de>
28582 Roland McGrath <roland@hack.frob.com>
28584 * manual/contrib.texi: Completely rewritten. It contains now an
28585 alphabetical list of contributors and their contributions.
28587 2012-05-21 Richard Henderson <rth@twiddle.net>
28589 * misc/getauxval.c (__getauxval): Use unsigned long int.
28590 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28591 (getauxval): Use unsigned long int.
28593 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28595 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28597 2012-05-21 Roland McGrath <roland@hack.frob.com>
28599 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28600 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28601 __alignof__ (long double).
28603 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28607 2012-05-20 Richard Henderson <rth@twiddle.net>
28609 * misc/getauxval.c: New file.
28610 * misc/sys/auxv.h: New file.
28611 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28612 (routines): Add getauxval.
28613 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28614 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28615 * elf/dl-sysdep.c (_dl_auxv): Remove.
28616 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28617 * elf/dl-support.c (_dl_auxv): New variable.
28618 (_dl_aux_init): Initialize it.
28619 * manual/startup.texi (Auxiliary Vector): New node.
28620 * sysdeps/generic/bits/hwcap.h: New file.
28621 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28622 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28623 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28624 * sysdeps/sparc/sysdep.h: ... here. Include it.
28625 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28626 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28638 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28642 2012-05-19 David S. Miller <davem@davemloft.net>
28644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28646 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28649 * math/s_ccosh.c: Include <float.h>
28650 (__ccosh): Avoid internal overflow calculating sinh and cosh
28651 values before multiplying by sin and cos values.
28652 * math/s_ccoshf.c: Likewise.
28653 * math/s_ccoshl.c: Likewise.
28654 * math/s_csin.c: Likewise.
28655 * math/s_csinf.c: Likewise.
28656 * math/s_csinl.c: Likewise.
28657 * math/s_csinh.c: Likewise.
28658 * math/s_csinhf.c: Likewise.
28659 * math/s_csinhl.c: Likewise.
28660 * math/libm-test.inc (ccos_test): Add more tests.
28661 (ccosh_test): Likewise.
28662 (csin_test): Likewise.
28663 (csinh_test): Likewise.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28667 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28669 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28670 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28672 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28674 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28676 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28677 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28678 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28679 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28680 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28681 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28682 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28683 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28684 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28685 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28686 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28687 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28688 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28689 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28690 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28691 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28692 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28693 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28694 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28695 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28696 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28697 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28698 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28699 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28700 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28701 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28702 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28703 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28704 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28705 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28706 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28708 2012-05-18 Andreas Jaeger <aj@suse.de>
28710 * csu/.gitignore: Delete.
28712 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28714 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28715 (timex): Use __syscall_slong_t.
28717 2012-05-18 Andreas Jaeger <aj@suse.de>
28718 Carlos O'Donell <carlos_odonell@mentor.com>
28720 * manual/install.texi (Configuring and compiling): Update
28721 description about files modified in the source directory.
28722 * INSTALL: Regenerated.
28724 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28726 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28727 value. Use "or" to set return value to -1.
28728 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28729 negate return value.
28731 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28733 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28734 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28735 failure if the compiler has Graphite support disabled.
28736 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28738 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28739 CFLAGS-memmove.c): Likewise.
28740 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28743 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28745 * sysdeps/x86_64/x32/_itoa.h: New file.
28747 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28748 getdents system call only if kernel and user dirents have the
28749 same d_ino and d_off.
28751 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28752 LLONG_MAX != LONG_MAX.
28753 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28754 (_fitoa_word): Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28763 include <bits/wordsize.h>. Check __x86_64__ instead of
28765 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28766 if __x86_64__ is defined. Use anonymous union on fpstate.
28768 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28771 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28773 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28774 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28776 Refer to _rtld_local_ro instead of _rtld_global_ro.
28777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28779 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28781 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28783 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28784 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28785 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28787 * sysdeps/powerpc/powerpc32/dl-machine.c
28788 (__elf_machine_runtime_setup) [PROF]: Don't reference
28791 2012-05-18 Andreas Jaeger <aj@suse.de>
28793 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28794 function only available for GCCs before 3.4 since GCC 3.4
28795 introduced a builtin.
28797 (llrintf): Likewise.
28798 (llrint): Likewise.
28805 (nearbyint): Likewise.
28806 (nearbyintf): Likewise.
28810 (floorf): Likewise.
28812 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28814 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28815 on both fields and cast pointer to __syscall_ulong_t.
28817 * bits/types.h (__fsword_t): New type.
28818 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28819 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28821 (__FSWORD_T_TYPE): Likewise.
28822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28823 (__FSWORD_T_TYPE): Likewise.
28824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28825 (__FSWORD_T_TYPE): Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28827 (__FSWORD_T_TYPE): Likewise.
28828 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28829 __SWORD_TYPE with __fsword_t.
28830 (statfs64): Likewise.
28832 2012-05-17 David S. Miller <davem@davemloft.net>
28834 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28836 2012-05-17 Andreas Jaeger <aj@suse.de>
28838 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28841 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28845 2012-05-17 Andreas Jaeger <aj@suse.de>
28847 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28850 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28852 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28854 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28856 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28857 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28859 2012-05-17 Andreas Jaeger <aj@suse.de>
28860 Carlos O'Donell <carlos_odonell@mentor.com>
28863 * sysdeps/x86_64/multiarch/init-arch.h
28864 (bit_YMM_Usable): Rename to...
28865 (bit_AVX_Usable): ... this.
28866 (bit_FMA4_Usable): New macro.
28867 (bit_XMM_state): New macro.
28868 (bit_YMM_state): New macro.
28869 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28870 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28871 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28872 (CPUID_OSXSAVE): New macro.
28873 (CPUID_AVX): New macro.
28874 (CPUID_FMA4): New macro.
28875 (index_YMM_Usable): Rename to...
28876 (index_AVX_Usable): ... this.
28877 (HAS_AVX): Use HAS_ARCH_FEATURE.
28878 (HAS_FMA4): Likewise.
28879 (HAS_YMM_USABLE): Remove.
28880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28881 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28883 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28884 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28885 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28886 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28887 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28889 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28891 * math/libm-test.c: Support platforms without multiple rounding modes.
28892 * math/bug-nextafter.c: Support platforms without FP exceptions.
28893 * math/bug-nexttoward.c: Likewise.
28894 * math/test-fenv.c: Likewise.
28895 * math/test-misc.c: Likewise.
28896 * stdlib/bug-getcontext.c: Likewise.
28898 2012-05-17 Andreas Jaeger <aj@suse.de>
28900 * manual/examples/search.c (critter_cmp): Change signature to
28902 * manual/string.texi (Collation Functions): Likewise.
28904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28906 * bits/types.h: Fold copyright years.
28907 * bits/typesizes.h: Likewise.
28908 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28912 * time/time.h: Likewise.
28914 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28917 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28918 in instead of returning them. Return void.
28919 (__libc_mallinfo): Accumulate over all arenas.
28920 (__malloc_stats): Adjust for change in int_mallinfo interface.
28922 2012-05-16 Roland McGrath <roland@hack.frob.com>
28925 * configure.in (NM): Add AC_CHECK_TOOL for it.
28926 (libc_extra_cflags): New substituted variable.
28927 Check for -fstack-protector being used implicitly.
28928 * configure: Regenerated.
28929 * config.make.in (config-extra-cflags): New variable,
28930 gets @libc_extra_cflags@.
28931 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28934 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28935 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28936 * configure: Regenerated.
28937 * config.make.in (CPPUNDEFS): New substituted variable.
28938 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28939 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28940 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28942 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28944 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28945 (mq_attr): Use __syscall_slong_t.
28947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28949 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28950 Check __x86_64__ instead of __WORDSIZE.
28951 (_STAT_VER_LINUX): Likewise.
28952 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28953 __syscall_ulong_t and __syscall_slong_t.
28954 (stat64): Likewise.
28956 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28958 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28960 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28962 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28966 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28969 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28970 include <bits/wordsize.h>. Check __x86_64__ instead of
28972 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28974 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28977 include <bits/wordsize.h>. Check __x86_64__ instead of
28979 (user_regs_struct): Use "__extension__ unsigned long long"
28980 instead of "unsigned long" if __x86_64__ is defined.
28981 (user): Likewise. Pad after pointer field if __ILP32__ is
28984 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28986 * configure.in (makeinfo): Require version 4.5 or later. Allow
28988 * configure: Regenerated.
28989 * manual/install.texi (texinfo): Increase version requirement to
28991 * INSTALL: Regenerated.
28993 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28997 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28999 * sysdeps/x86_64/x32/ffs.c: New file.
29001 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29003 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29004 defined. Use __syscall_ulong_t.
29005 (shminfo): Use __syscall_ulong_t.
29006 (shm_info): Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29011 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29013 (msgqnum_t): Use __syscall_ulong_t.
29014 (msglen_t): Likewise.
29015 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29018 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29019 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29023 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29024 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29026 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29029 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29030 include <bits/wordsize.h>. Check __x86_64__ instead of
29033 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29034 "unsigned long long int" if __x86_64__ is defined.
29035 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29037 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29038 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29039 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29041 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29043 (GET_PC): Cast to uintptr_t first.
29044 (GET_FRAME): Likewise.
29045 (GET_STACK): Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29052 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29059 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29068 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29070 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29071 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29074 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29075 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29077 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29079 * Makerules (+depfiles): Also collect depfiles from .oS in
29081 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29082 .oS, $(libnldbl-routines)).
29084 * Makerules (native-compile-mkdep-flags): Define.
29085 * sunrpc/Makefile (extra-objs): Add $(addprefix
29086 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29087 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29088 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29089 calling $(make-target-directory).
29091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29093 * bits/types.h (__snseconds_t): Removed.
29094 * time/time.h (struct timespec): Replace __snseconds_t with
29096 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29097 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29100 (__SNSECONDS_T_TYPE): Likewise.
29101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29102 (__SNSECONDS_T_TYPE): Likewise.
29103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29104 (__SNSECONDS_T_TYPE): Likewise.
29106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29108 * sysdeps/mach/hurd/bits/typesizes.h
29109 (__SYSCALL_SLONG_TYPE): New macro.
29110 (__SYSCALL_ULONG_TYPE): Likewise.
29112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29114 * bits/types.h (__syscall_slong_t): New type.
29115 (__syscall_ulong_t): Likewise.
29117 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29118 (__SYSCALL_ULONG_TYPE): Likewise.
29119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29120 (__SYSCALL_SLONG_TYPE): Likewise.
29121 (__SYSCALL_ULONG_TYPE): Likewise.
29122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29123 (__SYSCALL_SLONG_TYPE): Likewise.
29124 (__SYSCALL_ULONG_TYPE): Likewise.
29125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29126 (__SYSCALL_SLONG_TYPE): Likewise.
29127 (__SYSCALL_ULONG_TYPE): Likewise.
29129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29131 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29132 Add sigaltstack-offsets.sym.
29133 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29134 <sigaltstack-offsets.h>.
29135 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29136 longjmp_msg pointer.
29137 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29138 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29140 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29142 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29144 * elf/stackguard-macros.h: Remove file.
29145 * sysdeps/generic/stackguard-macros.h: New file.
29146 * sysdeps/i386/stackguard-macros.h: Likewise.
29147 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29148 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29149 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29150 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29151 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29152 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29153 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29154 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29155 <elf/stackguard-macros.h>.
29158 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29159 __aligned__ in attribute.
29160 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29161 (gregset_t): Likewise.
29163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29165 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29166 * sysdeps/x86_64/64/Implies-after: Here. New file.
29167 * sysdeps/x86_64/x32/Implies-after: New file.
29169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29171 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29172 and access return value for _dl_profile_fixup. Use R10_LP to
29175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29177 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29181 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29182 * sysdeps/x86_64/x32/sysdep.h: New file.
29184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29186 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29187 * sysdeps/x86_64/setjmp.S: Likewise.
29189 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29192 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29193 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29195 remove unused global constant.
29197 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29199 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29200 include of <not-cancel.h>.
29202 2012-05-15 Roland McGrath <roland@hack.frob.com>
29204 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29206 2012-05-15 Jeff Law <law@redhat.com>
29207 Andreas Jaeger <aj@suse.de>
29210 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29212 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29213 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29214 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29215 code changing __hst_map_handle.map.
29217 2012-05-15 Roland McGrath <roland@hack.frob.com>
29219 * configure.in (sysnames): Look for Implies-before and Implies-after
29221 * configure: Regenerated.
29223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29225 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29226 8-byte data alignment with LP_SIZE alignment.
29228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29230 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29235 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29240 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29241 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29247 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29248 (stackinfo_sub_sp): Likewise.
29250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29252 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29267 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29271 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29272 into R11_LP and load __x86_64_shared_cache_size_half into
29275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29277 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29280 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29282 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29288 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29289 powerpc32/power7/fpu/s_logb.c via #include.
29290 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29291 powerpc32/power7/fpu/s_logbf.c via #include.
29292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29293 powerpc32/power7/fpu/s_logbl.c via #include.
29295 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29297 * README.libm: Remove file.
29299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29301 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29302 count for x32. Use R*_LP and omit operand-size suffix.
29304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29306 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29307 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29308 * sysdeps/x86_64/x32/shlib-versions: New file.
29310 2012-05-14 Roland McGrath <roland@hack.frob.com>
29312 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29313 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29314 Use _dl_fatal_printf instead.
29316 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29318 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29319 set if not set by the user. Do not allow for being unset.
29320 * sysdeps/unix/sysv/linux/configure: Regenerated.
29322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29325 the `q' suffix from lea and replace .quad with ASM_ADDR.
29327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29330 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29332 (PTR_DEMANGLE): Likewise.
29334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29336 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29338 (ASM_ADDR): Likewise.
29339 (RAX_LP): Likewise.
29340 (RBP_LP): Likewise.
29341 (RBX_LP): Likewise.
29342 (RCX_LP): Likewise.
29343 (RDI_LP): Likewise.
29344 (RSI_LP): Likewise.
29345 (RSP_LP): Likewise.
29348 (R10_LP): Likewise.
29349 (R10_LP): Likewise.
29350 (R11_LP): Likewise.
29351 (R12_LP): Likewise.
29352 (R13_LP): Likewise.
29353 (R14_LP): Likewise.
29354 (R15_LP): Likewise.
29356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29358 * sysdeps/x86_64/x32/dl-machine.h: New file.
29360 2012-05-14 Andreas Jaeger <aj@suse.de>
29362 * manual/Makefile (subdir): Remove export of subdir.
29363 (all): Remove target.
29364 (.PHONY): Remove all from list.
29365 (mkinstalldirs): Remove.
29366 (.PHONY): Remove installdirs from list.
29367 ($(inst_infodir)/libc.info): Use make-target-directory.
29368 (installdirs): Remove.
29369 (subdir_%): Remove.
29370 (glibc-targets): Remove.
29373 ($(objpfx)stubs ../po/manual.pot): Remove.
29374 ($(objpfx)stamp%): Remove.
29375 (make-target-directory): Remove.
29376 (subdir_install): Remove.
29377 (routines): Remove.
29384 * manual/.gitignore: Remove, it's not needed anymore.
29385 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29387 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29389 (texis): Renamed to $(objpfx)texis.
29390 (texis-path): New, contains path to generated files.
29391 (chapters.%): Use texis-path for complete path, add extra argument
29393 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29394 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29395 (summary,texi, stamp-summary): Use complete path of
29396 files. Generate files in build dir.
29397 (dir-add.texi): Build in build dir.
29398 (libm-err.texi,stamp-libm-err): Likewise.
29399 (version.texi, stamp-version): Likewise.
29400 (.%c.texi): Likewise.
29401 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29402 (mostlyclean): Remove target.
29403 (realclean): Remove target.
29404 (generated): Add new variable with contents from mostlyclean and
29405 realclean, remove entries duplicated in common-mostlyclean, add
29406 stamp-libm-err and stamp-version.
29407 (generated-dirs): Add libc directory.
29408 ($(inst_infodir)/libc.info): Install files from build dir.
29410 * manual/install.texi (Configuring and compiling): Adjust since
29411 the info files are not part of the tar ball anymore.
29413 2012-05-14 Andreas Jaeger <aj@suse.de>
29415 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29418 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29422 to 2.2.0 where earlier.
29423 * sysdeps/unix/sysv/linux/configure: Regenerated.
29424 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29425 Remove conditional code.
29426 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29427 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29428 Remove conditional code.
29429 [!__NR_lchown]: Likewise.
29430 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29431 [__NR_lchown]: Likewise.
29432 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29433 comment referencing __ASSUME_LCHOWN_SYSCALL.
29434 * sysdeps/unix/sysv/linux/i386/sigaction.c
29435 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29436 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29437 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29438 Remove conditional code.
29439 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29440 (__protocol_available): Remove #if 0 code.
29441 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29443 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29444 * sysdeps/unix/sysv/linux/kernel-features.h
29445 (__ASSUME_GETCWD_SYSCALL): Don't define.
29446 (__ASSUME_REALTIME_SIGNALS): Likewise.
29447 (__ASSUME_PREAD_SYSCALL): Likewise.
29448 (__ASSUME_PWRITE_SYSCALL): Likewise.
29449 (__ASSUME_POLL_SYSCALL): Likewise.
29450 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29451 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29453 (__ASSUME_SIOCGIFNAME): Don't define.
29454 (__ASSUME_MSG_NOSIGNAL): Likewise.
29455 (__ASSUME_SENDFILE): Define unconditionally.
29456 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29457 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29459 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29460 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29461 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29462 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29464 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29465 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29490 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29491 Remove conditional code.
29492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29493 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29494 Remove conditional code.
29495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29497 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29498 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29499 Remove conditional code.
29500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29501 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29502 Remove conditional code.
29503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29504 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29505 Remove conditional code.
29506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29507 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29508 Remove conditional code.
29509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29510 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29511 Remove conditional code.
29512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29513 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29514 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29516 * sysdeps/unix/sysv/linux/sigaction.c
29517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29519 * sysdeps/unix/sysv/linux/sigpending.c
29520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/sigprocmask.c
29523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29525 * sysdeps/unix/sysv/linux/sigsuspend.c
29526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29529 (__libc_missing_rt_sigs): Remove.
29530 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29531 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29532 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29533 Remove conditional code.
29534 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29535 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29538 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29539 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29540 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29542 2012-05-14 Andreas Jaeger <aj@suse.de>
29544 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29545 it's not used in glibc.
29546 (__coshm1): Likewise.
29547 (__acosh1p): Likewise.
29550 * manual/string.texi (Copying and Concatenation): Add missing
29551 variable in concat example.
29552 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29558 __builtin_clzl with __builtin_clzll.
29560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29563 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29566 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29568 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29569 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29570 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29571 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29573 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29575 * NEWS: Update ia64 info.
29577 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29579 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29582 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29584 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29585 * sysdeps/unix/syscalls.list (dup3): Likewise.
29586 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29587 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29589 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29591 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29592 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29594 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29596 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29598 (TLS_IE): Use mov/add instead of movq/addq to load thread
29600 (TLS_GD_PREFIX): New.
29603 2012-05-11 David S. Miller <davem@davemloft.net>
29605 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29606 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29607 (_FPU_SETCW): Likewise.
29609 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29611 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29612 is 32-byte aligned.
29614 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29617 * iconvdata/gb18030.c: Update tables.
29618 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29619 characters specially.
29620 (BODY for TO_LOOP): Add encoding of missing ranges.
29622 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29625 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29626 * sysdeps/mach/hurd/dup3.c: Likewise.
29627 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29628 * sysdeps/powerpc/memmove.c:: Likewise.
29630 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29633 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29635 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29637 * elf/elf.h (R_X86_64_RELATIVE64): New.
29638 (R_X86_64_NUM): Updated.
29639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29640 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29641 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29642 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29643 tst-quad1pie tst-quad2pie
29644 (modules-names): Add tst-quadmod1 tst-quadmod2.
29645 ($(objpfx)tst-quad1): New dependency.
29646 ($(objpfx)tst-quad2): Likewise.
29647 ($(objpfx)tst-quad1pie): Likewise.
29648 ($(objpfx)tst-quad2pie): Likewise.
29649 * sysdeps/x86_64/tst-quad1.c: New file.
29650 * sysdeps/x86_64/tst-quad1pie.c: New file.
29651 * sysdeps/x86_64/tst-quad2.c: Likewise.
29652 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29653 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29654 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29655 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29656 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29660 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29661 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29662 * streams/stropts.h (t_scalar_t): Define type.
29664 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29665 (_PATH_PRESERVE): Set to "/var/lib".
29666 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29668 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29671 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29672 if __dir_mkfile succeeded.
29674 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29675 checking for _hurd_dtablesize. Unlock it right after having
29676 finished _hurd_dtable allocation.
29678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29680 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29681 * sysdeps/mach/hurd/configure: Regenerated.
29682 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29683 special-casing to...
29684 * sysdeps/gnu/configure.in: ... this new file.
29685 * sysdeps/unix/sysv/linux/configure: Regenerated.
29686 * sysdeps/gnu/configure: New generated file.
29688 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29689 for Linux: use nsec instead of usec, as well as:
29690 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29691 members of type struct timespec.
29692 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29694 (struct stat64): Likewise.
29695 (_STATBUF_ST_NSEC): New macro.
29696 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29698 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29699 __strtoul_internal rather than strtoul.
29701 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29703 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29708 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29709 which preserves existing values.
29710 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29712 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29714 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29715 TIMEOUT values. Return EINVAL for NFDS values either negative or
29716 greater than FD_SETSIZE.
29718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29720 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29721 allocated, call __vm_protect to finish enabling the existing space, and
29722 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29723 allocate the remainder.
29725 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29727 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29728 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29732 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29733 sysdeps/mach/hurd/readlink.c.
29735 * posix/tst-sysconf.c (posix_options): Only use
29736 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29737 _POSIX_SYNCHRONIZED_IO when they are defined
29738 * sysdeps/mach/hurd/bits/posix_opt.h:
29739 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29740 (_XOPEN_REALTIME): Undefine macro.
29741 (_XOPEN_REALTIME_THREADS): Undefine macro.
29742 (_XOPEN_SHM): Undefine macro.
29743 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29745 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29747 (_POSIX_ASYNC_IO): Undefine macro.
29748 (_POSIX_PRIORITIZED_IO): Undefine macro.
29749 (_POSIX_SPIN_LOCKS): Define macro to -1.
29751 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29752 SA_NODEFER, SA_RESETHAND.
29753 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29754 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29759 * elf/Makefile (pldd-modules): Define unconditionally.
29761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29763 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29767 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29768 Return ENOENT when name is empty.
29769 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29773 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29775 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29779 Fix mlock in all cases except non-readable pages.
29780 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29781 instead of VM_PROT_ALL as parameter to __vm_wire function.
29783 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29784 (__mkdir): When path is `/', just fail with EEXIST.
29785 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29787 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29789 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29790 <sys/uio.h> (for writev).
29791 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29792 and <sys/param.h> (for MIN).
29794 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29796 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29797 REQUESTED_TIME. Properly set the remaining time and return EINTR
29800 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29802 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29803 Depend on against $(link-rpcuserlibs).
29805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29807 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29808 (__libc_stack_end): Do not use attribute_relro.
29809 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29810 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29811 to libthread-provided value.
29812 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29818 * bits/libc-lock.h (__libc_once_get): New macro.
29819 * sysdeps/mach/bits/libc-lock.h: Likewise.
29820 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29822 instead of using implementation details.
29824 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29825 * libio/freopen.c: Likewise.
29826 * libio/freopen64.c: Likewise.
29827 * misc/syslog.c: Likewise.
29828 * nscd/connections.c: Likewise.
29829 * nscd/netgroupcache.c: Likewise.
29830 * sysdeps/posix/getcwd.c: Likewise.
29832 2012-05-10 Roland McGrath <roland@hack.frob.com>
29834 * math/w_ilogbf.c: Add #include <limits.h>.
29836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29838 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29839 path instead of returning without unlocking.
29841 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29842 immediate-write ioctls.
29843 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29847 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29848 __builtin_frame_address instead of making assumptions about the
29849 location of the return address relative to DATA. Force early load of
29850 the return address.
29851 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29852 __builtin_frame_address.
29855 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29856 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29857 implement dup3 and do some further code clean-ups.
29858 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29859 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29863 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29865 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29866 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29867 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29868 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29869 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29872 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29873 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29874 when handler == SIG_ERR, not when handler != SIG_ERR.
29876 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29878 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29879 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29882 accept4 for GNU Hurd.
29883 * include/sys/socket.h (__libc_accept4): New prototype.
29884 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29885 to implement __libc_accept4.
29886 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29888 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29890 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29891 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29892 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29893 signal-defines.sym.
29895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29897 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29901 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29902 assertion on O_CLOEXEC flag.
29903 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29904 * hurd/intern-fd.c: Likewise.
29905 * hurd/port2fd.c: Likewise.
29907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29910 * bits/in.h (IPV6_PKTINFO): Define new macro.
29911 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29913 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29918 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29920 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29921 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29923 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29924 * math/libm-test.inc (logb_test) : Additional logb tests.
29926 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29927 Andreas Jaeger <aj@suse.de>
29929 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29930 * configure: Regenerated.
29931 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29932 * config.make.in (link-obsolete-rpc): New substituted variable.
29933 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29934 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29935 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29936 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29937 so that libc.a contains the symbols.
29938 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29939 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29940 * sunrpc/auth_none.c: Likewise.
29941 * sunrpc/auth_unix.c: Likewise.
29942 * sunrpc/authdes_prot.c: Likewise.
29943 * sunrpc/authuxprot.c: Likewise.
29944 * sunrpc/clnt_gen.c: Likewise.
29945 * sunrpc/clnt_perr.c: Likewise.
29946 * sunrpc/clnt_raw.c: Likewise.
29947 * sunrpc/clnt_simp.c: Likewise.
29948 * sunrpc/clnt_tcp.c: Likewise.
29949 * sunrpc/clnt_udp.c: Likewise.
29950 * sunrpc/clnt_unix.c: Likewise.
29951 * sunrpc/des_crypt.c: Likewise.
29952 * sunrpc/des_soft.c: Likewise.
29953 * sunrpc/get_myaddr.c: Likewise.
29954 * sunrpc/key_call.c: Likewise.
29955 * sunrpc/key_prot.c: Likewise.
29956 * sunrpc/netname.c: Likewise.
29957 * sunrpc/pm_getmaps.c: Likewise.
29958 * sunrpc/pm_getport.c: Likewise.
29959 * sunrpc/pmap_clnt.c: Likewise.
29960 * sunrpc/pmap_prot.c: Likewise.
29961 * sunrpc/pmap_prot2.c: Likewise.
29962 * sunrpc/pmap_rmt.c: Likewise.
29963 * sunrpc/publickey.c: Likewise.
29964 * sunrpc/rpc_cmsg.c: Likewise.
29965 * sunrpc/rpc_common.c: Likewise.
29966 * sunrpc/rpc_dtable.c: Likewise.
29967 * sunrpc/rpc_prot.c: Likewise.
29968 * sunrpc/rpc_thread.c: Likewise.
29969 * sunrpc/rtime.c: Likewise.
29970 * sunrpc/svc.c: Likewise.
29971 * sunrpc/svc_auth.c: Likewise.
29972 * sunrpc/svc_raw.c: Likewise.
29973 * sunrpc/svc_run.c: Likewise.
29974 * sunrpc/svc_tcp.c: Likewise.
29975 * sunrpc/svc_udp.c: Likewise.
29976 * sunrpc/svc_unix.c: Likewise.
29977 * sunrpc/svcauth_des.c: Likewise.
29978 * sunrpc/xcrypt.c: Likewise.
29979 * sunrpc/xdr.c: Likewise.
29980 * sunrpc/xdr_array.c: Likewise.
29981 * sunrpc/xdr_float.c: Likewise.
29982 * sunrpc/xdr_intXX_t.c: Likewise.
29983 * sunrpc/xdr_mem.c: Likewise.
29984 * sunrpc/xdr_rec.c: Likewise.
29985 * sunrpc/xdr_ref.c: Likewise.
29986 * sunrpc/xdr_sizeof.c: Likewise.
29987 * sunrpc/xdr_stdio.c: Likewise.
29989 2012-05-10 Roland McGrath <roland@hack.frob.com>
29991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29992 change. Update copyright years.
29994 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29996 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29998 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29999 Joseph Myers <joseph@codesourcery.com>
30000 Paul Pluzhnikov <ppluzhnikov@google.com>
30003 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30005 [cross-compiling] (extra-libs): Likewise.
30006 [cross-compiling] (extra-libs-others): Likewise.
30007 [cross-compiling] (librpcsvc-routines): Likewise.
30008 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30009 [cross-compiling] (omit-deps): Likewise.
30010 (sunrpc-CPPFLAGS): New variable.
30011 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30012 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30013 (cross-rpcgen-objs): New variable.
30014 (extra-objs): Append $(cross-rpcgen-objs).
30015 ($(cross-rpcgen-objs)): New rule.
30016 ($(objpfx)cross-rpcgen): Likewise.
30017 (rpcgen-cmd): Define to use $(built-program-file). Expand
30019 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30020 ($(objpfx)x%.stmp): Likewise.
30021 * sunrpc/proto.h [IS_IN_build] (_): Define.
30022 [IS_IN_build] (_libc_intl_domainname): Likewise.
30024 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30027 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30028 and R_X86_64_TPOFF64.
30030 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30032 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30033 sysdeps/unix/sysv/syscalls.list.
30036 * sysdeps/unix/sysv/syscalls.list: Remove file.
30038 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30041 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30042 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30043 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30044 (__LC_IDENTIFICATION): Make these macros useful in #if
30045 expressions, as required by C99.
30047 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30049 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30050 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30053 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30055 * stdlib/longlong.h: Updated from GCC.
30057 2012-05-09 Andreas Jaeger <aj@suse.de>
30059 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30060 default is first entry.
30061 (run_mode): Set type.
30062 (main): Remove informal message about syslog.
30063 (options): Fix typo.
30066 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30069 (llrintf): Likewise.
30070 (llrint): Likewise.
30073 (nearbyint): Likewise.
30074 (nearbyintf): Likewise.
30076 2012-05-09 Andreas Jaeger <aj@suse.de>
30077 Pedro Alves <palves@redhat.com>
30079 * nscd/nscd.c (run_mode): Use enum.
30080 (main): Cleanup coding style issue.
30082 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30083 Andreas Jaeger <aj@suse.de>
30085 * nscd/nscd.c (go_background): Replaced with...
30086 (run_mode): ... this.
30087 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30088 (options): Add -F --foreground.
30089 (main): Implement it.
30090 (parse_opt): Parse it.
30092 2012-05-09 Andreas Jaeger <aj@suse.de>
30095 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30096 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30097 -Wconversion warning.
30098 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30101 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30103 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30105 (LC_ALL): Use macro-int-constant.
30106 (LC_COLLATE): Likewise.
30107 (LC_CTYPE): Likewise.
30108 (LC_MESSAGES): Likewise.
30109 (LC_MONETARY): Likewise.
30110 (LC_NUMERIC): Likewise.
30111 (LC_TIME): Likewise.
30112 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30113 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30115 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30117 [C99-based standards] (float_t): Expect type.
30118 [C99-based standards] (double_t): Expect type.
30119 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30121 [C99-based standards] (HUGE_VALL): Likewise.
30122 [C99-based standards] (INFINITY): Likewise.
30123 [C99-based standards] (NAN): Likewise.
30124 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30125 [C99-based standards] (FP_NAN): Likewise.
30126 [C99-based standards] (FP_NORMAL): Likewise.
30127 [C99-based standards] (FP_SUBNORMAL): Likewise.
30128 [C99-based standards] (FP_ZERO): Likewise.
30129 [C99-based standards] (FP_FAST_FMA): Use
30130 optional-macro-int-constant. Specify type. Require == 1.
30131 [C99-based standards] (FP_FAST_FMAF): Likewise.
30132 [C99-based standards] (FP_FAST_FMAL): Likewise.
30133 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30134 [C99-based standards] (FP_ILOGBNAN): Likewise.
30135 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30137 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30138 [C99-based standards] (math_errhandling): Specify type.
30139 [ISO99 || ISO11] (signgam): Do not allow.
30140 [non-C99-based standards] (copysignf): Do not allow.
30141 [non-C99-based standards] (exp2f): Likewise.
30142 [non-C99-based standards] (log2f): Likewise.
30143 [non-C99-based standards] (modff): Allow.
30144 [non-C99-based standards] (erff): Do not allow.
30145 [non-C99-based standards] (erfcf): Likewise.
30146 [non-C99-based standards] (gammaf): Likewise.
30147 [non-C99-based standards] (hypotf): Likewise.
30148 [non-C99-based standards] (j0f): Likewise.
30149 [non-C99-based standards] (j1f): Likewise.
30150 [non-C99-based standards] (jnf): Likewise.
30151 [non-C99-based standards] (lgammaf): Likewise.
30152 [non-C99-based standards] (tgammaf): Likewise.
30153 [non-C99-based standards] (y0f): Likewise.
30154 [non-C99-based standards] (y1f): Likewise.
30155 [non-C99-based standards] (ynf): Likewise.
30156 [non-C99-based standards] (isnanf): Likewise.
30157 [non-C99-based standards] (acoshf): Likewise.
30158 [non-C99-based standards] (asinhf): Likewise.
30159 [non-C99-based standards] (atanhf): Likewise.
30160 [non-C99-based standards] (cbrtf): Likewise.
30161 [non-C99-based standards] (expm1f): Likewise.
30162 [non-C99-based standards] (ilogbf): Likewise.
30163 [non-C99-based standards] (log1pf): Likewise.
30164 [non-C99-based standards] (logbf): Likewise.
30165 [non-C99-based standards] (nextafterf): Likewise.
30166 [non-C99-based standards] (remainderf): Likewise.
30167 [non-C99-based standards] (rintf): Likewise.
30168 [non-C99-based standards] (scalbf): Likewise.
30169 [non-C99-based standards] (copysignl): Likewise.
30170 [non-C99-based standards] (exp2l): Likewise.
30171 [non-C99-based standards] (log2l): Likewise.
30172 [non-C99-based standards] (modfl): Allow.
30173 [non-C99-based standards] (erfl): Do not allow.
30174 [non-C99-based standards] (erfcl): Likewise.
30175 [non-C99-based standards] (gammal): Likewise.
30176 [non-C99-based standards] (hypotl): Likewise.
30177 [non-C99-based standards] (j0l): Likewise.
30178 [non-C99-based standards] (j1l): Likewise.
30179 [non-C99-based standards] (jnl): Likewise.
30180 [non-C99-based standards] (lgammal): Likewise.
30181 [non-C99-based standards] (tgammal): Likewise.
30182 [non-C99-based standards] (y0l): Likewise.
30183 [non-C99-based standards] (y1l): Likewise.
30184 [non-C99-based standards] (ynl): Likewise.
30185 [non-C99-based standards] (isnanl): Likewise.
30186 [non-C99-based standards] (acoshl): Likewise.
30187 [non-C99-based standards] (asinhl): Likewise.
30188 [non-C99-based standards] (atanhl): Likewise.
30189 [non-C99-based standards] (cbrtl): Likewise.
30190 [non-C99-based standards] (expm1l): Likewise.
30191 [non-C99-based standards] (ilogbl): Likewise.
30192 [non-C99-based standards] (log1pl): Likewise.
30193 [non-C99-based standards] (logbl): Likewise.
30194 [non-C99-based standards] (nextafterl): Likewise.
30195 [non-C99-based standards] (remainderl): Likewise.
30196 [non-C99-based standards] (rintl): Likewise.
30197 [non-C99-based standards] (scalbl): Likewise.
30198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30199 [non-C99-based standards] (FP_*): Do not allow.
30200 [C99-based standards] (FP_*): Change to
30201 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30202 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30204 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30205 (SIG_ERR): Likewise.
30206 [X/Open-based standards] (SIG_HOLD): Likewise.
30207 (SIG_IGN): Likewise.
30208 (SIGABRT): Use macro-int-constant. Specify type. Require
30210 (SIGFPE): Likewise.
30211 (SIGILL): Likewise.
30212 (SIGINT): Likewise.
30213 (SIGSEGV): Likewise.
30214 (SIGTER): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30233 [X/Open-based standards] (SIGTRAP): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30236 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30237 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30238 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30241 2012-05-08 Ian Wienand <ianw@vmware.com>
30244 * time/tzset.c (__tzset_parse_tz): Update default rules for
30245 daylight time changes in the Energy Policy Act of 2005.
30247 2012-05-09 Andreas Jaeger <aj@suse.de>
30250 * elf/ldconfig.c (parse_conf): Change string to make clear that
30251 ldconfig only issued a warning if ld.so.conf does not exist.
30253 2012-05-08 David S. Miller <davem@davemloft.net>
30255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30256 movxtod instead of popping the value on the stack.
30258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30260 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30262 * config.h.in: Add HAVE_ARM_PCS_VFP.
30264 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30267 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30268 checking but the checks are disabled for any reason.
30270 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30272 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30273 and ELF64_R_TYPE with ELFW(R_TYPE).
30275 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30277 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30278 (ulimit): Likewise.
30280 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30281 (settimeofday): Likewise.
30283 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30285 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30286 a struct th_u2 inside the union, and move tu_block/tu_code into
30287 a new th_u3 union of tu_block/tu_code inside of that. Move
30288 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30289 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30290 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30291 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30292 (th_stuff): Change to th_u1.tu_stuff.
30294 (th_msg): Change to th_u1.th_u2.tu_data.
30296 2012-05-07 David S. Miller <davem@davemloft.net>
30298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30301 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30302 (SETUP_PIC_REG): Use it.
30303 (SETUP_PIC_REG_LEAF): Use it.
30305 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30309 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30311 (EXPL_FINITE): Likewise.
30312 (FLDLOG): Likewise.
30313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30314 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30316 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30318 (EXPL_FINITE): Likewise.
30319 (FLDLOG): Likewise.
30320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30321 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30323 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30324 test of -max_value argument for long double.
30325 * sysdeps/i386/fpu/libm-test-ulps: Update.
30326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30328 2012-05-06 David S. Miller <davem@davemloft.net>
30330 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30331 quad soft-float symbols whose references which are compiler
30333 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30335 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30339 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30341 (EXPL_FINITE): Likewise.
30342 (FLDLOG): Likewise.
30345 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30346 Adjust comments for base varying.
30347 (__expl_finite): Change alias to EXPL_FINITE.
30348 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30350 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30351 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30353 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30354 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30356 (EXPL_FINITE): Likewise.
30357 (FLDLOG): Likewise.
30360 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30361 Adjust comments for base varying.
30362 (__expl_finite): Change alias to EXPL_FINITE.
30363 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30368 * math/libm-test.inc (check_float_internal): Correct ulp
30369 calculation for subnormal expected results.
30371 2012-05-06 Andreas Jaeger <aj@suse.de>
30373 * Makeconfig (+math-flags): New, set to -frounding-math.
30374 (+cflags): Add +math-flags so that all of glibc gets compiled with
30377 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30379 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30381 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30387 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30388 (__ieee754_expl): Allow for and saturate large arguments.
30389 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30390 (u_threshold): Likewise.
30391 (__exp): Call __ieee754_exp before checking for overflow and
30393 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30394 (u_threshold): Likewise.
30395 (__expf): Call __ieee754_expf before checking for overflow and
30397 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30398 (u_threshold): Likewise.
30399 (__expl): Call __ieee754_expl before checking for overflow and
30401 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30402 (__ieee754_expl): Allow for and saturate large arguments.
30403 * math/libm-test.inc (exp_test): Add another test. Do not allow
30404 missing overflow exception on overflow.
30405 (expm1_test): Do not allow missing overflow exception on overflow.
30407 * sysdeps/i386/fpu/e_expl.c: Move to ...
30408 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30409 rather than using inline asm.
30410 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30411 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30412 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30414 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30417 (signal): Likewise.
30421 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30423 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30424 sysdeps/unix/common/syscalls.list.
30425 (fchmod): Likewise.
30426 (fchown): Likewise.
30427 (ftruncate): Likewise.
30428 (getrusage): Likewise.
30429 (gettimeofday): Likewise.
30430 (setpgid): Likewise.
30431 (setregid): Likewise.
30432 (setreuid): Likewise.
30433 (sigaction): Likewise.
30434 (truncate): Likewise.
30435 (vhangup): Likewise.
30436 * sysdeps/unix/common/syscalls.list: Remove file.
30437 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30438 * sysdeps/unix/sysv/linux/Implies: Likewise.
30440 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30448 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30451 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30454 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30460 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30463 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30466 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30470 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30474 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30477 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30481 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30485 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30487 * sysdeps/unix/common/bits/dirent.h: Remove file.
30488 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30490 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30491 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30492 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30493 * sysdeps/unix/bsd/isatty.c: Likewise.
30494 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30495 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30496 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30498 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30501 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30502 long double comparison inaccuracies.
30503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30506 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30508 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30511 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30514 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30515 nonzero digits before rounding a hex value.
30516 * stdlib/tst-strtod.c (tests): Add another test.
30518 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30520 * sysdeps/s390/fpu/libm-test-ulps: Update.
30522 2012-05-03 Andreas Jaeger <aj@suse.de>
30524 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30525 does not get optimized out.
30526 (malloc_opt_barrier): New.
30528 2012-05-03 Andreas Jaeger <aj@suse.de>
30529 Roland McGrath <roland@hack.frob.com>
30531 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30532 intermediate file deletion.
30533 (generated): Add .symlist files.
30535 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30538 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30539 Redirect under this condition.
30540 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30541 [__USE_GNU] (__dprintf_chk): Not under this condition.
30542 [__USE_GNU] (__vdprintf_chk): Likewise.
30543 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30544 under this condition.
30545 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30546 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30547 [__USE_XOPEN2K8] (vdprintf): Likewise.
30548 [__USE_GNU] (__dprintf_chk): Not under this condition.
30549 [__USE_GNU] (__vdprintf_chk): Likewise.
30550 [__USE_GNU] (dprintf): Likewise.
30551 [__USE_GNU] (vdprintf): Likewise.
30553 2012-05-03 Roland McGrath <roland@hack.frob.com>
30555 * elf/Makefile (common-generated): Set this instead of generated for
30556 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30557 $(all-built-dso)-derived lists.
30559 2012-05-03 Andreas Jaeger <aj@suse.de>
30561 * sysdeps/i386/fpu/libm-test-ulps: Update.
30564 * FAQ.in: Likewise.
30565 * scripts/gen-FAQ.pl: Likewise.
30566 * manual/install.texi (Installation): Point to online location of
30568 * Makefile (files-for-dist): Remove FAQ.
30571 2012-05-02 Allan McRae <allan@archlinux.org>
30573 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30574 (LDFLAGS-reldepmod5.so): Likewise.
30575 (LDFLAGS-reldep6mod1.so): Likewise.
30576 (LDFLAGS-reldep6mod4.so): Likewise.
30577 (LDFLAGS-reldep8mod3.so): Likewise.
30578 (LDFLAGS-unload4mod1.so): Likewise.
30579 (LDFLAGS-unload4mod2.so): Likewise.
30580 (LDFLAGS-tst-initorder): Likewise.
30581 (LDFLAGS-tst-initordera2.so): Likewise.
30582 (LDFLAGS-tst-initordera3.so): Likewise.
30583 (LDFLAGS-tst-initordera4.so): Likewise.
30584 (LDFLAGS-tst-initorderb2.so): Likewise.
30585 (LDFLAGS-noload): Likewise.
30586 (LDFLAGS-next): Likewise.
30587 (LDFLAGS-order2mod1.so): Likewise.
30588 (LDFLAGS-order2mod2.so): Likewise.
30589 (LDFLAGS-tst-initorder2): Likewise.
30590 (LDFLAGS-tst-initorder2a.so): Likewise.
30591 (LDFLAGS-tst-initorder2b.so): Likewise.
30592 (LDFLAGS-tst-initorder2c.so): Likewise.
30593 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30595 2012-05-02 David S. Miller <davem@davemloft.net>
30597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30599 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30602 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30604 2012-05-02 Andreas Jaeger <aj@suse.de>
30606 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30607 since we manipulate rounding mode.
30608 (CPPFLAGS-test-idouble.c): Likewise.
30609 (CPPFLAGS-test-ifloat.c): Likewise.
30610 (CFLAGS-test-ldouble.c): Likewise.
30611 (CFLAGS-test-double.c): Likewise.
30612 (CFLAGS-test-float.c): Likewise.
30613 (CFLAGS-test-misc.c): Likewise.
30614 (CFLAGS-test-test-fenv.c): Likewise.
30616 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30621 comparisons to determine direction to adjust input.
30623 2012-05-01 Roland McGrath <roland@hack.frob.com>
30625 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30626 output to the target.
30628 * scripts/localplt.awk: New file.
30629 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30630 (check-localplt-CFLAGS): Variable removed.
30631 ($(all-built-dso:=.jmprel)): New static pattern rule.
30632 (generated): Add those targets.
30633 (localplt-built-dso): New variable.
30634 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30636 * elf/check-localplt.c: File removed.
30638 * scripts/check-execstack.awk: New file.
30639 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30640 (check-execstack-CFLAGS): Variable removed.
30641 ($(objpfx)check-execstack.h): Target removed.
30642 ($(objpfx)execstack-default): New target.
30643 (generated): Add that instead of check-execstack.h.
30644 ($(all-built-dso:=.phdr)): New static pattern rule.
30645 (generated): Add those targets.
30646 * elf/check-execstack.c: File removed.
30648 * scripts/check-textrel.awk: New file.
30649 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30650 (check-textrel-CFLAGS): Variable removed.
30651 (all-built-dso): Use := to define.o
30652 ($(all-built-dso:=.dyn)): New static pattern rule.
30653 (generated): Add those targets.
30654 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30655 * config.make.in (READELF): New substituted variable.
30656 * elf/check-textrel.c: File removed.
30658 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30660 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30662 * conform/data/ctype.h-data [C99-based standards] (isblank):
30664 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30665 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30667 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30668 Specify type. Require positive value.
30669 (EILSEQ): Likewise.
30670 (ERANGE): Likewise.
30671 [ISO || POSIX] (EILSEQ): Do not expect.
30672 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30673 Specify type. Require positive value.
30674 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30748 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30749 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30750 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30752 (FLT_ROUNDS): Expect as macro, not constant.
30753 (FLT_MANT_DIG): Use macro-int-constant.
30754 (DBL_MANT_DIG): Likewise.
30755 (LDBL_MANT_DIG): Likewise.
30756 (FLT_DIG): Likewise.
30757 (DBL_DIG): Likewise.
30758 (LDBL_DIG): Likewise.
30759 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30760 (DBL_MIN_EXP): Likewise.
30761 (LDBL_MIN_EXP): Likewise.
30762 (FLT_MAX_EXP): Use macro-int-constant.
30763 (DBL_MAX_EXP): Likewise.
30764 (LDBL_MAX_EXP): Likewise.
30765 (FLT_MAX_10_EXP): Likewise.
30766 (DBL_MAX_10_EXP): Likewise.
30767 (LDBL_MAX_10_EXP): Likewise.
30768 (FLT_MAX): Use macro-constant.
30769 (DBL_MAX): Likewise.
30770 (LDBL_MAX): Likewise.
30771 (FLT_EPSILON): Use macro-constant. Give upper bound.
30772 (DBL_EPSILON): Likewise.
30773 (LDBL_EPSILON): Likewise.
30774 (FLT_MIN): Likewise.
30775 (DBL_MIN): Likewise.
30776 (LDBL_MIN): Likewise.
30777 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30778 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30779 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30780 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30781 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30782 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30783 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30784 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30785 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30786 [ISO11] (FLT_TRUE_MIN): Likewise.
30787 [ISO11] (LDBL_TRUE_MIN): Likewise.
30788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30789 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30790 (SCHAR_MIN): Use macro-int-constant. Specify type.
30791 (SCHAR_MAX): Likewise.
30792 (UCHAR_MAX): Likewise.
30793 (CHAR_MIN): Likewise.
30794 (CHAR_MAX): Likewise.
30795 (MB_LEN_MAX): Use macro-int-constant.
30796 (SHRT_MIN): Use macro-int-constant. Specify type.
30797 (SHRT_MAX): Likewise.
30798 (USHRT_MAX): Likewise.
30799 (INT_MAX): Likewise.
30800 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30802 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30804 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30806 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30807 bound negative. Suffix upper bound with "L".
30808 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30810 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30812 [C99-based standards] (LLONG_MAX): Likewise.
30813 [C99-based standards] (ULLONG_MAX): Likewise.
30814 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30816 [ISO11] (max_align_t): Require type.
30817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30819 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30820 from $CFLAGS, without defining away __attribute__ calls.
30821 (checknamespace): Use $CFLAGS_namespace.
30823 * conform/conformtest.pl (@keywords): Only include C99 keywords
30824 for standards based on C99 or C11.
30826 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30828 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30831 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30832 usability of symbols in #if.
30834 * conform/conformtest.pl: If macro or constant types start
30835 "promoted:", expect the symbol to be of the following type
30836 promoted by the integer promotions.
30838 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30839 in one place. Also handle "macro-constant".
30841 * conform/conformtest.pl: Only accept expected macro values with
30842 "==". Parse all "macro" lines in one place.
30843 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30845 * conform/conformtest.pl: Handle braced types on "constant" lines
30846 instead of handling "typed-constant".
30847 * conform/data/signal.h-data: Use "constant" instead of
30850 * conform/conformtest.pl: Handle "optional-" at start of lines in
30851 one place rather than duplicating several cases. Handle each
30852 format of "macro" line with initial "optional-".
30854 * conform/conformtest.pl: Only accept expected constant or
30855 optional-constant values with "==". Parse all "constant" lines in
30856 one place. Parse all "optional-constant" lines in one place.
30857 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30858 * conform/data/fmtmsg.h-data: Likewise.
30859 * conform/data/netinet/in.h-data: Likewise.
30860 * conform/data/tar.h-data: Likewise.
30861 * conform/data/limits.h-data: Use "==" form on "constant" and
30862 "optional-constant" lines.
30864 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30865 Use -std=c99 for XOPEN2K.
30866 (@knownproblems): Remove.
30867 (newtoken): Don't check %isknown.
30869 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30870 Do not expect macro.
30871 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30883 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30884 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30901 [XPG3] (acosh): Likewise.
30902 [XPG3] (asinh): Likewise.
30903 [XPG3] (atanh): Likewise.
30904 [XPG3] (cbrt): Likewise.
30905 [XPG3] (expm1): Likewise.
30906 [XPG3] (ilogb): Likewise.
30907 [XPG3] (log1p): Likewise.
30908 [XPG3] (logb): Likewise.
30909 [XPG3] (nextafter): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30912 [XPG3] (remainder): Likewise.
30913 [XPG3] (rint): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30921 [UNIX98 || XOPEN2K] (scalb): Expect.
30922 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30923 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31060 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31061 _XOPEN_SOURCE_EXTENDED for XPG4.
31063 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31065 * Makeconfig (localtime): Remove variable.
31066 (inst_localtime-file): Likewise.
31068 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31089 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31093 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31094 comparisons to determine direction to adjust input.
31095 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31096 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31097 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31099 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31106 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31108 * math/libm-test.inc (nexttoward_test): Add more tests.
31110 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31114 in version GLIBC_2.1, not GLIBC_2.0.
31115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31118 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31121 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31123 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31124 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31125 * math/libm-test.inc (acos_test): Add more tests.
31126 (asin_test): Likewise.
31127 * sysdeps/i386/fpu/libm-test-ulps: Update.
31128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31133 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31134 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31135 * math/libm-test.inc (acos_test_tonearest): New function.
31136 (acos_test_towardzero): Likewise.
31137 (acos_test_downward): Likewise.
31138 (acos_test_upward): Likewise.
31139 (asin_test_tonearest): Likewise.
31140 (asin_test_towardzero): Likewise.
31141 (asin_test_downward): Likewise.
31142 (asin_test_upward): Likewise.
31143 (main): Call the new functions.
31144 * sysdeps/i386/fpu/libm-test-ulps: Update.
31145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31149 * math/e_exp10.c: Include <float.h>.
31150 (__ieee754_exp10): Handle underflow here rather than multiplying
31151 large negative argument by M_LN10.
31152 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31154 * math/e_exp10l.c: Include <float.h>.
31155 (__ieee754_exp10l): Handle underflow here rather than multiplying
31156 large negative argument by M_LN10l.
31157 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31158 spurious overflow exception on underflow.
31160 2012-04-29 Marek Polacek <polacek@redhat.com>
31162 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31163 (__fortify_function): New macro.
31164 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31165 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31166 __extern_always_inline.
31167 * libio/bits/stdio2.h: Likewise.
31168 * libio/bits/stdio.h: Likewise.
31169 * string/string.h: Likewise.
31170 * string/bits/string3.h: Likewise.
31171 * include/stdio.h: Likewise.
31172 * stdlib/bits/stdlib.h: Likewise.
31173 * stdlib/stdlib.h: Likewise.
31174 * rt/bits/mqueue2.h: Likewise.
31175 * rt/mqueue.h: Likewise.
31176 * posix/bits/unistd.h: Likewise.
31177 * posix/unistd.h: Likewise.
31178 * io/bits/poll2.h: Likewise.
31179 * io/bits/fcntl2.h: Likewise.
31180 * io/fcntl.h: Likewise.
31181 * io/sys/poll.h: Likewise.
31182 * misc/bits/syslog.h: Likewise.
31183 * misc/bits/syslog-ldbl.h: Likewise.
31184 * misc/sys/syslog.h: Likewise.
31185 * socket/bits/socket2.h: Likewise.
31186 * socket/sys/socket.h: Likewise.
31187 * debug/tst-chk1.c: Likewise.
31188 * wcsmbs/bits/wchar2.h: Likewise.
31189 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31190 * wcsmbs/wchar.h: Likewise.
31192 2012-04-29 Andreas Jaeger <aj@suse.de>
31194 * Makerules (tests): Remove enable-check-abi protection.
31195 (check-abi-warn): Remove.
31196 (check-abi-%): Remove check-abi-warn usage.
31198 * configure.in: Remove check-abi configure option.
31199 * configure: Regenerated.
31200 * config.make.in (enable-check-abi): Remove.
31202 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31205 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31206 double functions to double *_finite functions.
31209 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31210 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31212 * stdio-common/Makefile (tests): Add tst-sprintf3.
31213 * stdio-common/tst-sprintf3.c: New file.
31215 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31216 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31218 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31220 * conform/conformtest.pl: Remove duplicate typed-constant
31223 2012-04-28 David S. Miller <davem@davemloft.net>
31225 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31226 (check-abi-%): Remove AWK script prerequisite and explicit
31228 (check-abi): Rewrite to just diff the symlist with the abilist.
31229 (config-tls, config-abi-config): Delete, no longer used.
31230 (update-abi-%): Remove AWK script and explicit abilist directory.
31231 (update-abi): Rewrite to simply compare and conditionally copy the
31232 symlist and the sysdep abilist file. Remove update-abi-config
31234 * abilist/ld.abilist: Remove.
31235 * abilist/libBrokenLocale.abilist: Remove.
31236 * abilist/libanl.abilist: Remove.
31237 * abilist/libcrypt.abilist: Remove.
31238 * abilist/libdl.abilist: Remove.
31239 * abilist/librt.abilist: Remove.
31240 * abilist/libthread_db.abilist: Remove.
31241 * abilist/libutil.abilist: Remove.
31242 * scripts/extract-abilist.awk: Remove.
31243 * scripts/merge-abilist.awk: Remove.
31244 * sysdeps/generic/libcidn.abilist: New file.
31245 * sysdeps/generic/libnss_compat.abilist: New file.
31246 * sysdeps/generic/libnss_db.abilist: New file.
31247 * sysdeps/generic/libnss_dns.abilist: New file.
31248 * sysdeps/generic/libnss_files.abilist: New file.
31249 * sysdeps/generic/libnss_hesiod.abilist: New file.
31250 * sysdeps/generic/libnss_nis.abilist: New file.
31251 * sysdeps/generic/libnss_nisplus.abilist: New file.
31252 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31253 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31254 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31256 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31257 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31258 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31259 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31260 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31261 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31262 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31263 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31264 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31266 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31267 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31268 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31269 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31271 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31272 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31273 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31274 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31275 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31276 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31278 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31279 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31280 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31282 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31385 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31386 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31387 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31390 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31391 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31392 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31393 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31394 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31395 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31396 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31397 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31398 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31450 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31452 * conform/conformtest.pl: Fix typo in handling typed-constant from
31455 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31457 * README: Cut down references to pre-2.6 Linux kernels and
31458 Linuxthreads. Update lists of configurations in libc and ports
31459 and sort alphabetically. Say "or newer" with Linux kernel version
31462 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31464 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31467 * math/libm-test.inc (logb_test_downward): New test to expose
31468 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31471 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31474 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31476 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31477 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31479 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31481 * sysdeps/unix/i386/brk.S: Remove file.
31482 * sysdeps/unix/i386/dl-brk.S: Likewise.
31483 * sysdeps/unix/i386/pipe.S: Likewise.
31484 * sysdeps/unix/i386/sigreturn.S: Likewise.
31485 * sysdeps/unix/i386/syscall.S: Likewise.
31486 * sysdeps/unix/i386/vfork.S: Likewise.
31487 * sysdeps/unix/i386/wait.S: Likewise.
31489 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31490 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31492 * configure.in (arm*-none*): Do not allow without
31493 --enable-hacker-mode.
31494 (netbsd*): Remove case setting base_os.
31495 (386bsd*): Likewise.
31496 (freebsd*): Likewise.
31499 (sunos*): Likewise.
31500 (ultrix*): Likewise.
31501 (newsos*): Likewise.
31502 (dynix*): Likewise.
31508 (minix*): Likewise.
31509 (irix4*): Likewise.
31510 (irix6*): Likewise.
31511 (solaris[2-9]*): Likewise.
31513 * configure: Regenerated.
31515 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31518 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31519 overflow or cancellation in calculating denominator.
31520 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31521 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31522 down expression to avoid unexpected rounding in newer GCCs.
31523 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31525 2012-04-26 David S. Miller <davem@davemloft.net>
31527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31528 long-double compat symbols.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31543 2012-04-25 David S. Miller <davem@davemloft.net>
31545 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31546 HWCAP_* values only after the memory barriers have been defined.
31547 (atomic_full_barrier): Define.
31548 (atomic_read_barrier): Define.
31549 (atomic_write_barrier): Define.
31551 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31553 * shlib-versions: Add libgcc_s version information.
31554 * sysdeps/generic/libgcc_s.h: Remove.
31555 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31557 * sysdeps/gnu/unwind-resume.c: Likewise.
31558 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31560 2012-04-25 David S. Miller <davem@davemloft.net>
31562 * sysdeps/unix/sparc/brk.S: Delete.
31563 * sysdeps/unix/sparc/dl-brk.S: Delete.
31564 * sysdeps/unix/sparc/pipe.S: Delete.
31565 * sysdeps/unix/sparc/sysdep.S: Delete.
31566 * sysdeps/unix/sparc/sysdep.h: Delete.
31567 * sysdeps/unix/sparc/vfork.S: Delete.
31568 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31569 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31571 ret_ERRVAL, r0, r1, MOVE): Define.
31572 (JUMPTARGET): Remove.
31573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31574 sysdeps/unix/sparc/sysdep.h
31575 (ENTRY, END): Remove.
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31578 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31580 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31581 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31584 * timezone/README: Update upstream location and email address for
31586 * timezone/zdump.c: Update from tzcode 2012b.
31587 * timezone/zic.c: Likewise.
31589 * configure.in (libc_cv_as_needed): Remove test.
31590 * configure: Regenerated.
31591 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31592 conditional definition.
31593 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31594 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31595 * config.make.in (have-as-needed): Remove variable.
31597 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31598 Paul Pluzhnikov <ppluzhnikov@google.com>
31600 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31603 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31605 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31606 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31607 * sysdeps/sh/strlen.S: Likewise.
31609 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31611 * sysdeps/unix/fork.S: Remove file.
31612 * sysdeps/unix/i386/fork.S: Likewise.
31613 * sysdeps/unix/sparc/fork.S: Likewise.
31615 * sysdeps/unix/system.c: Remove file.
31616 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31618 * sysdeps/unix/getegid.S: Remove file.
31619 * sysdeps/unix/geteuid.S: Likewise.
31621 2012-04-24 Roland McGrath <roland@hack.frob.com>
31623 * scripts/check-localplt.awk: New file.
31624 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31626 * scripts/data/localplt-generic.data: Add a comment.
31628 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31629 NODE when __dir_mkfile failed.
31630 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31631 Reported by Ludovic Courtès <ludo@gnu.org>.
31633 2012-04-24 Andreas Jaeger <aj@suse.de>
31635 * Makerules (common-clean): Also remove gen-as-const-headers
31638 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31640 * Makerules (native-compile): Do not change working directory for
31641 build. Use $(OUTPUT_OPTION) in command.
31642 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31644 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31647 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31648 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31649 * math/libm-test.inc (floor_test): Add more tests.
31650 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31652 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31654 * sysdeps/unix/getdents.c: Remove file.
31655 * sysdeps/unix/sysv/getdents.c: Likewise.
31656 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31658 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31659 sysdeps/unix/mman/syscalls.list.
31661 (mprotect): Likewise.
31663 (munmap): Likewise.
31664 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31665 * sysdeps/unix/mman/syscalls.list: Remove.
31666 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31668 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31669 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31670 * configure: Regenerated.
31671 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31672 $(libgcc_s_suffix).
31673 * config.make.in (libgcc_s_suffix): Remove variable.
31675 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31677 * sysdeps/unix/sysv/gethostname.c: Move to ...
31678 * sysdeps/posix/gethostname.c: ... here.
31680 * sysdeps/unix/execve.S: Remove file.
31682 * sysdeps/unix/_exit.S: Remove file.
31684 2012-04-23 Andreas Jaeger <aj@suse.de>
31687 * manual/Makefile: Remove make dist support, there's no
31688 need for a stand-alone documentation tar ball.
31689 (TEXI2DVI): Define always, it's not in Makeconfig.
31692 (edition): Removed.
31693 (glibc-doc-$(edition).tar): Removed
31697 (ETAGS): Remove, it's in Makeconfig.
31698 (move-if-change): Remove, it's in Makeconfig.
31700 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31703 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31704 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31705 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31706 (strtod_l, strtof_l, strtold_l): Remove __wur.
31707 It is not necessarily an error to ignore strtol's return value.
31708 One can reliably look at the stored endptr to decide whether
31709 the number had valid syntax.
31711 2012-04-21 Andreas Jaeger <aj@suse.de>
31714 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31716 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31718 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31719 * sysdeps/unix/sysv/Versions: Remove file.
31721 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31726 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31730 version from __vm86.
31732 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/unix/common/lxstat.c: Remove file.
31735 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31737 * sysdeps/unix/sysv/Makefile: Remove file.
31739 * sysdeps/unix/sysv/direct.h: Remove file.
31741 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31742 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31743 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31744 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31745 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31746 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31747 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31749 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31751 * sysdeps/unix/xmknod.c: Remove file.
31752 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31754 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31756 * sysdeps/unix/sysv/i386/time.S: Remove file.
31758 * sysdeps/unix/fxstat.c: Remove file.
31759 * sysdeps/unix/xstat.c: Likewise.
31760 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31762 * sysdeps/unix/sysv/sigaction.c: Remove file.
31764 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31765 (sysdep_headers): Remove variable.
31766 [termio.h not in sysdep_headers] (generated): Likewise.
31767 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31768 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31769 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31770 * sysdeps/unix/sysv/tcflow.c: Likewise.
31771 * sysdeps/unix/sysv/tcflush.c: Likewise.
31772 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31773 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31774 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31775 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31776 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31778 * sysdeps/unix/siglist.c: Remove file.
31780 * sysdeps/unix/getppid.S: Remove file.
31782 * sysdeps/unix/mkdir.c: Remove file.
31783 * sysdeps/unix/rmdir.c: Likewise.
31785 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31787 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31789 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31790 errlist-compat value.
31792 2012-04-18 David S. Miller <davem@davemloft.net>
31794 * sysdeps/generic/memcopy.h (reg_char): Delete.
31795 * debug/strcat_chk.c: Use char, not reg_char.
31796 * debug/strcpy_chk.c: Likewise.
31797 * debug/strncat_chk.c: Likewise.
31798 * debug/strncpy_chk.c: Likewise.
31799 * string/memchr.c: Likewise.
31800 * string/memrchr.c: Likewise.
31801 * string/rawmemchr.c: Likewise.
31802 * string/strcat.c: Likewise.
31803 * string/strchr.c: Likewise.
31804 * string/strchrnul.c: Likewise.
31805 * string/strcmp.c: Likewise.
31806 * string/strcpy.c: Likewise.
31807 * string/strncat.c: Likewise.
31808 * string/strncmp.c: Likewise.
31809 * string/strncpy.c: Likewise.
31811 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31813 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31814 __builtin_memcopy is called when src and dest ranges are known to not
31817 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31819 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31820 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31821 fwd_align_merge macro call.
31822 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31823 bwd_align_merge macro call.
31824 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31826 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31828 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31829 bwd_align_merge macros.
31830 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31831 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31834 2012-04-18 David S. Miller <davem@davemloft.net>
31836 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31838 2012-04-18 Andreas Jaeger <aj@suse.de>
31841 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31842 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31843 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31845 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31846 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31847 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31849 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31850 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31851 Adjust for changed ldbl-128 files.
31853 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31854 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31857 2012-04-17 David S. Miller <davem@davemloft.net>
31859 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31861 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31863 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31864 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31865 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31866 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31867 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31868 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31870 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31873 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31874 * math/libm-test.inc: Add ilogb errno and exception tests.
31875 * math/w_ilogb.c: New file: ilogb wrapper.
31876 * math/w_ilogbf.c: New file: ilogbf wrapper.
31877 * math/w_ilogbl.c: New file: ilogbl wrapper.
31878 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31879 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31880 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31881 exception being thrown with 0.0 as argument.
31882 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31883 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31884 exception being thrown with 0.0 as argument.
31885 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31886 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31887 exception being thrown with 0.0 as argument.
31888 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31889 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31890 exception being thrown with 0.0 as argument.
31891 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31892 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31893 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31894 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31895 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31896 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31897 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31898 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31899 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31901 2012-04-17 Petr Baudis <pasky@ucw.cz>
31903 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31906 2012-04-16 Marek Polacek <polacek@redhat.com>
31908 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31910 2012-04-16 Marek Polacek <polacek@redhat.com>
31912 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31913 operands of fdivp instruction.
31915 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31917 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31918 * elf/tst-auditmod3b.c: Likewise.
31919 * elf/tst-auditmod4b.c: Likewise.
31920 * elf/tst-auditmod5b.c: Likewise.
31921 * elf/tst-auditmod6b.c: Likewise.
31922 * elf/tst-auditmod6c.c: Likewise.
31923 * elf/tst-auditmod7b.c: Likewise.
31924 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31925 * sysdeps/x86_64/preconfigure.in: Likewise.
31926 * sysdeps/x86_64/preconfigure: Regenerated.
31928 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31933 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31936 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31938 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31941 * locale/iso-639.def: Fix gl language name. Spotted by
31944 2012-04-12 Roland McGrath <roland@hack.frob.com>
31947 * libio/libio.h (__io_write_fn): Update comment.
31949 2012-04-12 Petr Baudis <pasky@ucw.cz>
31952 * stdio.texi (Hook Functions): The user provided writer function
31953 is not allowed to return -1.
31955 2012-04-11 David S. Miller <davem@davemloft.net>
31957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31959 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31961 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31962 Add a leading slash to rtkaio.
31964 2012-04-11 Jim Meyering <meyering@redhat.com>
31967 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31968 It is not necessarily an error to ignore fwrite's return
31969 value. One can reliably use ferror to test for errors after
31972 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31974 * bits/types.h (__snseconds_t): New type.
31975 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31977 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31979 (__SNSECONDS_T_TYPE): Likewise.
31980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31981 (__SNSECONDS_T_TYPE): Likewise.
31982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31983 (__SNSECONDS_T_TYPE): Likewise.
31985 2012-04-10 Andreas Jaeger <aj@suse.de>
31988 * manual/time.texi (Processor Time): Return type of times is
31989 elapsed real time since an arbitrary point in the past.
31990 (CPU Time): Move CLK_TCK from here...
31991 (Processor Time): ...to here. Correct description.
31992 * manual/conf.texi (Constants for Sysconf): Correct description of
31995 2012-04-10 David S. Miller <davem@davemloft.net>
31998 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31999 where the is a gap between DT_REL(A) and DT_JMPREL.
32001 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32003 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32004 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32005 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32007 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32009 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32010 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32011 (dl_main): Handle --inhibit-cache.
32012 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32014 * elf/dl-load.c (_dl_map_object): Use it.
32015 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32017 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32020 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32021 (__ieee754_powl): Saturate large exponents rather than testing for
32022 overflow of y*log2(x).
32023 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32024 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32028 * math/s_ctan.c: Include <float.h>.
32029 (__ctan): Avoid internal overflow or cancellation in calculating
32031 * math/s_ctanf.c: Likewise.
32032 * math/s_ctanl.c: Likewise.
32033 * math/s_ctanh.c: Likewise.
32034 * math/s_ctanhf.c: Likewise.
32035 * math/s_ctanhl.c: Likewise.
32036 * math/libm-test.inc (ctan_test): Add more tests.
32037 (ctanh_test): Likewise.
32038 * sysdeps/i386/fpu/libm-test-ulps: Update.
32039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32041 2012-04-09 Andreas Jaeger <aj@suse.de>
32044 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32045 is an optional BSD extension.
32048 * manual/stdio.texi (Opening Streams): Document additional fopen
32051 2012-04-09 Roland McGrath <roland@hack.frob.com>
32053 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32054 %eax without telling the compiler.
32056 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32059 * manual/install.texi: Use sourceware.org.
32061 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32064 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32065 (__ieee754_pow): Generate overflow and underflow using huge*huge
32066 and tiny*tiny rather than just returning constant infinity or zero
32067 for large exponents.
32068 * math/libm-test.inc (pow_test): Require overflow exceptions for
32069 applicable cases of large exponents.
32072 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32073 (__ieee754_pow): Use iterative multiplication algorithm only for
32074 integer exponents with absolute value below 1024. Check for odd
32075 integer exponents when using algorithm for real exponents.
32076 * math/libm-test.inc (pow_test): Add more tests.
32077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32079 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32082 * math/libm-test.inc (exp_test): Do not allow overflow exception
32085 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32088 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32089 instead of __kernel_standard_f.
32091 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32093 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32094 * sysdeps/x86_64/memset_chk.S: Likewise.
32096 2012-04-08 Andreas Jaeger <aj@suse.de>
32099 * manual/startup.texi (Environment Access): Describe return value
32100 for putenv and setenv.
32103 * manual/filesys.texi (Directory Entries): Add description for
32107 * manual/filesys.texi (Directory Entries): Clarify that it's file
32108 system not operating system in the description of DT_UNKNOWN.
32111 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32113 2012-04-08 Stephen Compall <s11@member.fsf.org>
32116 * manual/llio.texi (Opening and Closing Files): Add cross
32117 reference to explain mode argument.
32119 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32121 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32122 * sysdeps/x86_64/memset_chk.S: Likewise.
32124 2012-04-07 David S. Miller <davem@davemloft.net>
32126 * elf/elf.h (R_SPARC_WDISP10): Define.
32127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32129 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32130 R_SPARC_SIZE64 and R_SPARC_H34.
32132 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32134 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32135 conditions and remove no longer applicable assertion.
32137 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32139 * bits/byteswap.h: Include <features.h>.
32140 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32141 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32143 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32145 * bits/byteswap.h (__bswap_16): Removed.
32146 Include <bits/byteswap-16.h> to get __bswap_16.
32147 * sysdeps/i386/bits/byteswap.h: Likewise.
32148 * sysdeps/s390/bits/byteswap.h: Likewise.
32149 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32150 * bits/byteswap-16.h: New file.
32151 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32152 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32153 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32154 * string/Makefile (headers): Add bits/byteswap-16.h.
32156 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32159 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32161 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32162 * nss/tst-nss-static.c: New.
32164 2012-04-06 Robert Millan <rmh@gnu.org>
32167 * manual/llio.texi (File Position Primitive): lseek
32168 refers to WHENCE when it really means OFFSET.
32170 2012-04-06 Andreas Jaeger <aj@suse.de>
32172 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32173 strncmp declarations.
32175 * abilist/libc.abilist: Add __poll and __ppoll.
32177 2012-04-05 David S. Miller <davem@davemloft.net>
32179 * scripts/check-local-headers.sh: Accept a host triplet in the
32180 path matched by the exclude regexp.
32182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32184 * sysdeps/powerpc/powerpc32/dl-machine.h
32185 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32186 * sysdeps/s390/s390-32/dl-machine.h
32187 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32188 * sysdeps/sparc/sparc32/dl-machine.h
32189 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32190 * sysdeps/sparc/sparc64/dl-machine.h
32191 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32193 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32195 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32196 undefined symbol errors.
32198 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32201 2012-04-05 Michael Matz <matz@suse.de>
32204 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32206 2012-04-05 Andreas Jaeger <aj@suse.de>
32209 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32212 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32214 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32215 which ROUND is no valid rounding mode.
32217 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32219 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32221 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32223 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32225 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32226 an exception using FPU order intentionally.
32228 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32230 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32231 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32232 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32233 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32235 2012-04-05 Simon Josefsson <simon@josefsson.org>
32238 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32239 EINVAL when BUFLEN is too smal.
32241 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32244 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32245 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32247 2012-04-03 Andreas Jaeger <aj@suse.de>
32250 * manual/setjmp.texi (System V contexts): Fix sentence.
32253 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32254 New macro for this case.
32255 [!__GNUC__] (__bswap_64): New inline function for this case.
32256 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32257 * bits/byteswap.h: Likewise.
32258 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32259 ull, guard with __GLIBC_HAVE_LONG_LONG.
32261 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32262 __GLIBC_HAVE_LONG_LONG.
32264 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32265 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32267 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32270 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32271 inptr and inend, rather than using last_ch.
32273 2012-04-02 David S. Miller <davem@davemloft.net>
32275 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32276 * stdio-common/printf-parse.h (read_int): Change return type to
32277 'int', return -1 on INT_MAX overflow.
32278 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32279 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32280 overflows INT_MAX. Check for overflow of in-format-string precision
32281 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32282 SIZE_MAX not INT_MAX for integer overflow test.
32283 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32284 skip the construct in the format string but do not record anything.
32285 * stdio-common/bug22.c: Adjust to test both width/prevision
32286 INT_MAX overflow as well as total length INT_MAX overflow. Check
32287 explicitly for proper errno values.
32289 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32291 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32293 * string/test-strcmp.c [! WIDE]: Likewise.
32294 * time/tst-mktime2.c: Likewise for INT_MAX.
32295 * string/test-string.h: #include <sys/param.h> for MIN.
32297 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32298 * sysdeps/i386/init-first.c (init): Likewise.
32299 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32300 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32301 * sysdeps/sh/init-first.c (init): Likewise.
32303 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32305 * po/ru.po: Update from translation team.
32306 * po/vi.po: Likewise.
32308 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32310 * resolv/nss_dns/dns-host.c: Merge copyright years.
32312 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32315 Optimize memcpy with prefetch if
32316 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32317 src, dst pointers have unequal 16 byte alignments.
32319 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32322 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32323 from a CNAME entry and return the minimum ttl for the query.
32324 (gaih_getanswer_slice): Likewise.
32326 2012-03-30 Jeff Law <law@redhat.com>
32328 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32330 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32331 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32333 * resolv/nss_dns/dns-host.c: Update copyright year.
32335 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32337 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32338 requests to save a system call. Fix check that all bytes are sent.
32340 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32341 comments for sendmmsg.
32343 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32346 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32347 with only 1 character between 0x0041 and 0x01b0.
32348 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32349 * wcsmbs/tst-mbsnrtowcs.c: New file.
32351 2012-03-29 David S. Miller <davem@davemloft.net>
32353 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32354 small copies by hand.
32356 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32359 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32360 _nss_compat_initgroups_dyn): Fall back to malloc/free
32361 for large group memberships.
32363 2012-03-28 David S. Miller <davem@davemloft.net>
32365 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32366 that branches into memcpy.
32367 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32368 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32369 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32370 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32373 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32374 implementation too.
32375 * sysdeps/sparc/mempcpy.S: New file.
32377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32378 the IFUNC routine in the libc case.
32379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32381 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32382 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32383 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32384 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32385 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32386 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32387 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32388 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32390 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32391 loop to 256 bytes instead of 64 bytes and fix test signedness.
32393 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32394 * sysdeps/sparc/sparc32/Makefile: rather than here...
32395 * sysdeps/sparc/sparc64/Makefile: and here.
32397 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32399 * malloc/mallocbug.c: Avoid warnings about unused variables.
32401 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32404 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32405 in the right place. Discard and retry query if response is
32406 larger than input buffer size.
32408 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32413 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32414 x for large integer exponent.
32415 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32416 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32417 sign of result as needed afterwards.
32418 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32419 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32420 result for underflowing pow the same as for overflow.
32421 (__kernel_standard_l): Handle powl overflow and underflow here
32422 rather than calling __kernel_standard.
32423 * math/libm-test.inc (pow_test): Add more tests.
32438 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32439 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32440 (__kernel_standard_l): New function.
32441 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32443 * math/w_acosl.c (__acosl): Likewise.
32444 * math/w_asinl.c (__asinl): Likewise.
32445 * math/w_atan2l.c (__atan2l): Likewise.
32446 * math/w_atanhl.c (__atanhl): Likewise.
32447 * math/w_coshl.c (__coshl): Likewise.
32448 * math/w_exp10l.c (__exp10l): Likewise.
32449 * math/w_exp2l.c (__exp2l): Likewise.
32450 * math/w_fmodl.c (__fmodl): Likewise.
32451 * math/w_hypotl.c (__hypotl): Likewise.
32452 * math/w_j0l.c (__j0l, __y0l): Likewise.
32453 * math/w_j1l.c (__j1l, __y1l): Likewise.
32454 * math/w_jnl.c (__jnl, __ynl): Likewise.
32455 * math/w_lgammal.c (__lgammal): Likewise.
32456 * math/w_log10l.c (__log10l): Likewise.
32457 * math/w_log2l.c (__log2l): Likewise.
32458 * math/w_logl.c (__logl): Likewise.
32459 * math/w_powl.c (__powl): Likewise.
32460 * math/w_remainderl.c (__remainderl): Likewise.
32461 * math/w_scalbl.c (sysv_scalbl): Likewise.
32462 * math/w_sinhl.c (__sinhl): Likewise.
32463 * math/w_sqrtl.c (__sqrtl): Likewise.
32464 * math/w_tgammal.c (__tgammal): Likewise.
32465 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32466 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32467 * math/libm-test.inc (acos_test): Add more tests.
32468 (acosh_test): Likewise.
32469 (asin_test): Likewise.
32470 (atanh_test): Likewise.
32471 (exp_test): Likewise.
32472 (exp10_test): Likewise.
32473 (exp2_test): Likewise.
32474 (expm1_test): Likewise.
32475 (lgamma_test): Likewise.
32476 (log_test): Likewise.
32477 (log10_test): Likewise.
32478 (log1p_test): Likewise.
32479 (log2_test): Likewise.
32480 (pow_test): Do not allow some spurious overflow exceptions.
32481 (sqrt_test): Add more tests.
32482 (tgamma_test): Likewise.
32483 (y0_test): Likewise.
32484 (y1_test): Likewise.
32485 (yn_test): Likewise.
32487 2012-03-27 Anton Blanchard <anton@samba.org>
32489 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32491 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32495 2012-03-27 David S. Miller <davem@davemloft.net>
32497 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32499 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32500 have-as-vis3 check.
32502 2012-03-27 Andreas Jaeger <aj@suse.de>
32504 * sysdeps/x86_64/elf/configure.in: Moved to ...
32505 * sysdeps/x86_64/configure.in: ... here.
32506 * sysdeps/x86_64/elf/start.S: Moved to ...
32507 * sysdeps/x86_64/start.S: ... here.
32508 * sysdeps/x86_64/elf/configure: Delete.
32510 * sysdeps/x86_64/configure.in: Merge contents from
32511 sysdeps/i386/configure.in (without i686 check).
32513 * sysdeps/i386/elf/Versions: Merge into ...
32514 * sysdeps/i386/Versions: ... this.
32515 * sysdeps/i386/elf/Versions: Delete file.
32516 * sysdeps/i386/elf/start.S: Moved to ...
32517 * sysdeps/i386/start.S: ...here.
32518 * sysdeps/i386/elf/configure.in: Merge into...
32519 * sysdeps/i386/configure.in: ...here.
32520 * sysdeps/i386/elf/configure.in: Delete file.
32521 * sysdeps/i386/elf/configure: Delete file.
32523 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32524 * debug/backtracesyms.c: ... here.
32525 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32526 * debug/backtracesymsfd.c: ... here.
32527 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32528 * sysdeps/generic/ifunc-sel.h: ... here.
32530 * sysdeps/unix/i386/start.c: Delete file.
32531 * sysdeps/unix/sparc/start.c: Delete file.
32532 * sysdeps/unix/start.c: Delete file.
32534 * sysdeps/sh/elf/configure.in: Moved to ...
32535 * sysdeps/sh/configure.in: ... here.
32536 * sysdeps/sh/elf/start.S: Moved to ...
32537 * sysdeps/sh/start.S: ... here.
32538 * sysdeps/sh/elf/configure: Delete file.
32540 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32541 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32542 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32543 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32544 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32545 * sysdeps/powerpc/powerpc64/start.S: here.
32546 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32547 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32548 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32549 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32550 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32552 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32553 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32554 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32555 * sysdeps/powerpc/powerpc32/start.S: ... here.
32556 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32557 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32558 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32560 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32561 * sysdeps/powerpc/ifunc-sel.h: ... here.
32562 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32563 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32565 * sysdeps/sparc/elf/configure.in: Moved to ...
32566 * sysdeps/sparc/configure.in: ... here.
32567 * sysdeps/sparc/elf/configure: Delete file.
32568 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32569 * sysdeps/sparc/sparc32/start.S: ... here.
32570 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32571 * sysdeps/sparc/sparc64/start.S: ... here.
32572 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32573 * sysdeps/sparc/sparc32/Makefile: ... this.
32574 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32575 * sysdeps/sparc/sparc64/Makefile: ... this.
32577 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32578 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32579 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32580 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32581 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32582 * sysdeps/s390/s390-32/setjmp.S: ... here.
32583 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32584 * sysdeps/s390/s390-32/configure.in: ... here.
32585 * sysdeps/s390/s390-32/elf/configure: Delete file.
32586 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32587 * sysdeps/s390/s390-32/start.S: ... here.
32589 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32590 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32591 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32592 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32593 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32594 * sysdeps/s390/s390-64/setjmp.S: ... here.
32595 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32596 * sysdeps/s390/s390-64/configure.in: ... here
32597 * sysdeps/s390/s390-64/elf/configure: Delete file.
32598 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32599 * sysdeps/s390/s390-64/start.S: ... here.
32600 * sysdeps/s390/s390-64/elf/configure: Delete.
32602 * configure.in: Remove support for elf directories in sysdeps.
32604 * configure: Regenerated.
32605 * sysdeps/i386/configure: Regenerated.
32606 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32607 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32608 * sysdeps/s390/s390-32/configure: Regenerated.
32609 * sysdeps/s390/s390-64/configure: Regenerated.
32610 * sysdeps/sh/configure: Regenerated.
32611 * sysdeps/sparc/configure: Regenerated.
32612 * sysdeps/x86_64/configure: Regenerated.
32614 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32619 denormal result into account.
32621 2012-03-25 Roland McGrath <roland@hack.frob.com>
32623 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32624 Reported by Allan McRae <allan@archlinux.org>.
32626 2012-03-23 Jeff Law <law@redhat.com>
32628 * nss/getnssent.c (__nss_getent): Fix typo.
32630 2012-03-23 David S. Miller <davem@davemloft.net>
32632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32634 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32636 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32637 to pad to uint64_t for each field.
32638 (dl_tls_index): Replace unsigned long with uint64_t.
32640 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32641 Paul Pluzhnikov <ppluzhnikov@google.com>
32644 * grp/Makefile (otherlibs): Don't set it.
32645 * inet/Makefile (otherlibs): Likewise.
32646 * login/Makefile (otherlibs): Likewise.
32647 * nscd/Makefile (otherlibs): Likewise.
32648 * posix/Makefile (otherlibs): Likewise.
32649 * pwd/Makefile (otherlibs): Likewise.
32650 * rt/Makefile (otherlibs): Likewise.
32651 * sunrpc/Makefile (otherlibs): Likewise.
32652 * nss/Makefile (otherlibs): Likewise.
32653 Add libnss_files to routines and static-only-routines.
32654 ($(objpfx)getent): Remove rule.
32655 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32656 static-only-routines.
32658 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32661 * math/s_cexp.c: Include <float.h>.
32662 (__cexp): Handle exp result overflowing not necessarily
32663 overflowing both real and imaginary parts of result.
32664 * math/s_cexpf.c: Likewise.
32665 * math/s_cexpl.c: Likewise.
32666 * math/libm-test.inc (cexp_test): Add more tests.
32667 * sysdeps/i386/fpu/libm-test-ulps: Update.
32668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32670 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32672 * include/link.h (ELFW): New macro.
32673 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32674 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32676 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32678 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32681 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32683 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32685 (struct La_x32_retval): Likewise.
32687 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32689 * sysdeps/x86_64/preconfigure.in: New file.
32690 * sysdeps/x86_64/preconfigure: New generated file.
32692 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32695 * math/e_exp2l.c: Include <float.h>.
32696 (__ieee754_exp2l): Handle overflow and underflow cases
32697 separately. Only pass fractional part of argument to
32699 * math/libm-test.inc (exp2_test): Add more tests.
32701 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32702 negating x to take absolute value.
32703 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32708 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32709 computing low part if x was negated.
32710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32712 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32714 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32715 la_x32_gnu_pltexit.
32716 (pltexit): Cast int_retval to ptrdiff_t.
32717 * elf/tst-auditmod3b.c: Likewise.
32718 * elf/tst-auditmod4b.c: Likewise.
32719 * elf/tst-auditmod5b.c: Likewise.
32720 * elf/tst-auditmod6b.c: Likewise.
32721 * elf/tst-auditmod6c.c: Likewise.
32722 * elf/tst-auditmod7b.c: Likewise.
32724 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32725 and x32_gnu_pltexit.
32727 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32728 __ELF_NATIVE_CLASS.
32729 (La_x32_regs): New macro.
32730 (La_x32_retval): Likewise.
32731 (la_x32_gnu_pltenter): New function prototype.
32732 (la_x32_gnu_pltexit): Likewise.
32734 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32741 * configure.in (libc_cv_cc_nofma): Check for option to disable
32742 generation of FMA instructions.
32743 * configure: Regenerate.
32744 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32745 * sysdeps/ieee754/dbl-64/Makefile: New file.
32746 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32747 Remove brandred-fma4.
32748 (CFLAGS-brandred-fma4.c): Remove.
32749 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32752 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32755 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32757 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32758 LLONG_MAX != LONG_MAX.
32759 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32760 (_fitoa_word): Likewise.
32761 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32762 LLONG_MAX != LONG_MAX.
32763 * stdio-common/_itowa.h: Include <_itoa.h>.
32764 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32765 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32766 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32767 only if not defined.
32768 (_ITOA_WORD_TYPE): Likewise.
32769 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32770 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32772 2012-03-21 David S. Miller <davem@davemloft.net>
32774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32776 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32779 of x86_64 when setting libc_cv_slibdir, libdir and
32781 * sysdeps/unix/sysv/linux/configure: Regenerated.
32783 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32785 * manual/lang.texi (Old Varargs): Remove section.
32786 (How Variadic): Update menu.
32787 (va_start): Do not mention varargs.h.
32789 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32790 Joseph Myers <joseph@codesourcery.com>
32792 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32794 * configure: Regenerated.
32796 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32798 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32799 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32802 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32805 * Makefile (files-for-dist): Remove NOTES.
32806 (NOTES): Remove rule.
32807 * README: Don't refer to NOTES.
32808 * manual/creature.texi: Don't include macros.texi.
32809 * manual/intro.texi (creature.texi): Remove comment referring to
32812 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32813 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32814 * configure: Regenerated.
32815 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32816 LIBC_TRY_CC_OPTION.
32817 (libc_cv_as_i686): Likewise.
32818 (libc_cv_cc_avx): Likewise.
32819 (libc_cv_cc_sse2avx): Likewise.
32820 (libc_cv_cc_fma4): Likewise.
32821 (libc_cv_cc_novzeroupper): Likewise.
32822 * sysdeps/i386/configure: Regenerated.
32825 * sysdeps/i386/fpu/s_cexp.S: Remove.
32826 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32827 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32828 * math/libm-test.inc (cexp_test): Add more tests.
32829 * sysdeps/i386/fpu/libm-test-ulps: Update.
32830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32832 2012-03-21 Allan McRae <allan@archlinux.org>
32834 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32836 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32839 * math/w_exp2.c: Do not include <float.h>.
32840 (o_threshold, u_threshold): Remove.
32841 (__exp2): Calculate result before checking finiteness and calling
32843 * math/w_exp2f.c: Likewise.
32844 * math/w_exp2l.c: Likewise.
32845 * math/libm-test.inc (exp2_test): Require overflow exception for
32849 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32850 range of signed 64-bit integers before using fistpll. Remove
32851 checks for whether integers fit in mantissa bits.
32852 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32853 the range of signed 32-bit integers before using fistpl. Remove
32854 checks for whether integers fit in mantissa bits.
32855 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32856 (__ieee754_powl): Test for y outside the range of signed 64-bit
32857 integers before using fistpll. Reduce 64-bit values to 63-bit
32859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32860 divide-by-zero is raised for zero to large negative powers.
32861 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32862 (__ieee754_powl): Test for y outside the range of signed 64-bit
32863 integers before using fistpll. Reduce 64-bit values to 63-bit
32865 * math/libm-test.inc (pow_test): Add more tests.
32867 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32869 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32870 <stdio-common/_itoa.h>.
32871 * debug/segfault.c: Likewise.
32872 * elf/dl-cache.c: Likewise.
32873 * elf/dl-minimal.c: Likewise.
32874 * elf/dl-misc.c: Likewise.
32875 * elf/dl-sysdep.c: Likewise.
32876 * elf/dl-version.c: Likewise.
32877 * elf/rtld.c: Likewise.
32878 * hurd/hurdsock.c: Likewise.
32879 * hurd/lookup-retry.c: Likewise.
32880 * malloc/malloc.c: Likewise.
32881 * malloc/mtrace.c: Likewise.
32882 * nscd/nscd_getgr_r.c: Likewise.
32883 * nscd/nscd_getpw_r.c: Likewise.
32884 * nscd/nscd_getserv_r.c: Likewise.
32885 * posix/getopt_init.c: Likewise.
32886 * posix/wordexp.c: Likewise.
32887 * stdio-common/_itoa.c: Likewise.
32888 * stdio-common/printf_fphex.c: Likewise.
32889 * stdio-common/vfprintf.c: Likewise.
32890 * string/_strerror.c: Likewise.
32891 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32892 * sysdeps/i386/i686/hp-timing.h: Likewise.
32893 * sysdeps/mach/_strerror.c: Likewise.
32894 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32895 * sysdeps/mach/hurd/sethostid.c: Likewise.
32896 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32897 * sysdeps/mach/xpg-strerror.c: Likewise.
32898 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32900 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32901 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32902 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32903 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32904 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32905 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32906 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32907 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32908 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32909 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32910 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32911 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32912 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32913 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32914 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32915 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32916 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32917 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32918 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32920 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32922 * stdio-common/_itoa.h: Moved to ...
32923 * sysdeps/generic/_itoa.h: Here.
32925 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32927 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32928 instead of "_itoa.h" and "_itowa.h".
32929 * stdio-common/vfprintf.: Likewise.
32931 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32935 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32936 (__signbit): Likwise.
32937 (llrintf): Likwise.
32940 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32945 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32947 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32948 OVERFLOW_EXCEPTION_OK.
32949 * math/libm-test.inc ("Philosophy"): Update comment about
32951 (OVERFLOW_EXCEPTION): Define.
32952 (OVERFLOW_EXCEPTION_OK): Likewise.
32953 (INVALID_EXCEPTION_OK): Renumber.
32954 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32955 (IGNORE_ZERO_INF_SIGN): Likewise.
32956 (test_exceptions): Handle FE_OVERFLOW.
32957 (exp10_test): Expect overflow exceptions.
32958 (exp2_test): Likewise.
32959 (expm1_test): Likewise.
32960 (nextafter_test): Likewise.
32961 (pow_test): Likewise.
32962 (scalbn_test): Likewise.
32963 (scalbln_test): Likewise.
32965 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32967 * sysdeps/x86_64/bits/atomic.h
32968 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32970 (atomic_exchange_acq): Likewise.
32971 (__arch_exchange_and_add_body): Likewise.
32972 (__arch_add_body): Likewise.
32973 (atomic_add_negative): Likewise.
32974 (atomic_add_zero): Likewise.
32976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32978 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32979 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32981 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32984 Check __x86_64__ instead of __WORDSIZE.
32986 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32988 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32990 2012-03-19 David S. Miller <davem@davemloft.net>
32992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32994 * sysdeps/sparc/fpu/fenv_private.h: New file.
32995 * sysdeps/sparc/fpu/math_private.h: Use it.
32996 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32998 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32999 (libc_feholdexcept_setroundl): Remove.
33000 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33002 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33003 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33007 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33008 int64_t instead of long int.
33009 (INSERT_WORDS64): Likwise.
33011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33014 _Unwind_GetCFA return to _Unwind_Ptr first.
33016 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33019 * math/s_clog.c: Include <float.h>.
33020 (__clog): Scale large or subnormal inputs.
33021 * math/s_clogf.c: Likewise.
33022 * math/s_clogl.c: Likewise.
33023 * math/s_clog10.c: Include <float.h>.
33024 (M_LOG10_2): Define.
33025 (__clog10): Scale large or subnormal inputs.
33026 * math/s_clog10f.c: Likewise.
33027 * math/s_clog10l.c: Likewise.
33028 * math/libm-test.inc (clog_test): Add more tests.
33029 (clog10_test): Likewise.
33030 * sysdeps/i386/fpu/libm-test-ulps: Update.
33031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33034 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33036 * math/libm-test.inc (atan2_test): Add another test.
33038 * Makerules (common-objdir-compile): Remove.
33039 * sysdeps/unix/Makefile (config-generated): Do not add
33040 $(unix-generated) to variable.
33041 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33042 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33044 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33046 [generic bits/local_lim.h] (before-compile): Do not append to
33048 [generic bits/local_lim.h] (common-generated): Likewise.
33049 [generic sys/param.h] (before-compile): Do not append to variable.
33050 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33051 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33052 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33053 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33055 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33056 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33057 [generic sys/param.h] ($(addprefix
33058 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33059 [generic sys/param.h] (common-generated): Do not append to
33061 [generic sys/param.h] (sysdep_headers): Likewise.
33062 [generic bits/errno.h] (before-compile): Do not append to
33064 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33066 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33067 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33068 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33069 [generic bits/errno.h] (common-generated): Do not append to
33071 [generic bits/ioctls.h] (before-compile): Do not append to
33073 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33075 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33076 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33077 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33079 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33080 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33081 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33082 [generic bits/ioctls.h] (common-generated): Do not append to
33084 [generic sys/syscall.h] (syscall.h): Remove variable.
33085 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33087 [generic sys/syscall.h] (before-compile): Do not append to
33089 [generic sys/syscall.h] (common-generated): Likewise.
33090 * sysdeps/unix/errnos-tmpl.c: Remove file.
33091 * sysdeps/unix/errnos.awk: Likewise.
33092 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33093 * sysdeps/unix/ioctls.awk: Likewise.
33094 * sysdeps/unix/mk-local_lim.c: Likewise.
33095 * sysdeps/unix/snarf-ioctls: Likewise.
33097 2012-03-19 Richard Henderson <rth@twiddle.net>
33099 * sysdeps/i386/fpu/fenv_private.h: New file.
33100 * sysdeps/i386/fpu/math_private.h: Use it.
33101 (math_opt_barrier, math_force_eval): Remove.
33102 (libc_feholdexcept_setround_53bit): Remove.
33103 (libc_feupdateenv_53bit): Remove.
33104 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33105 (math_opt_barrier, math_force_eval): Remove.
33106 (libc_feholdexcept): Remove.
33107 (libc_feholdexcept_setround): Remove.
33108 (libc_fetestexcept, libc_fesetenv): Remove.
33109 (libc_feupdateenv_test): Remove.
33110 (libc_feupdateenv, libc_feholdsetround): Remove.
33111 (libc_feresetround): Remove.
33113 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33114 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33116 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33117 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33118 (libc_feupdateenv_testl): New.
33119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33120 (libc_feupdateenv_testf): New.
33121 (libc_feupdateenv): Use libc_feupdateenv_test.
33122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33123 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33125 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33126 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33127 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33128 (libc_feresetround_noex): New.
33129 (libc_feresetround_noexf): New.
33130 (libc_feresetround_noexl): New.
33131 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33132 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33133 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33134 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33139 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33140 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33141 SET_RESTORE_ROUND_NOEX.
33142 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33143 SET_RESTORE_ROUND_NOEXF.
33144 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33145 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33146 (libc_feholdsetroundf): New.
33147 (libc_feresetround, libc_feresetroundf): New.
33149 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33150 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33151 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33153 * sysdeps/generic/math_private.h: Include <fenv.h>.
33154 (default_libc_feholdexcept): New.
33155 (default_libc_feholdexcept_setround): New.
33156 (default_libc_fesetenv, default_libc_feupdateenv): New.
33157 (libc_feholdexcept): Only define if undefined.
33158 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33159 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33160 (libc_feholdexcept_setroundl): Likewise.
33161 (libc_feholdexcept_setround_53bit): Likewise.
33162 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33163 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33164 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33165 (libc_feupdateenv_53bit): Likewise.
33166 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33167 (libc_feholdexcept): Convert from macro to inline function.
33168 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33169 (libc_fesetenv, libc_feupdateenv): Likewise.
33171 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33172 not previously defined.
33173 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33174 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33175 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33176 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33177 * sysdeps/ieee754/flt-32/math_private.h: New file.
33178 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33179 math_private.h below SET_FLOAT_WORD.
33180 (__isnan, __isinf_ns, __finite): Remove.
33181 (__isnanf, __isinf_nsf, __finitef): Remove.
33183 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33187 2012-03-17 David S. Miller <davem@davemloft.net>
33190 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33193 2012-03-16 David S. Miller <davem@davemloft.net>
33195 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33199 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33201 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33202 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33203 sysdep_routines when subdir is sysvipc.
33204 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33205 __getshmlba helper.
33207 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33211 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33216 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33217 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33218 (__lround): Renamed to ...
33219 (__llround): This. Replace long int with long long int.
33220 Define lround functions as aliases of llround functions.
33221 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33225 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33226 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33227 adresses to uintptr_t. Replace "long int" and "unsigned long
33228 int" with "greg_t" on va_arg.
33230 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33232 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33233 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33235 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33236 Move e_machine check before EI_CLASS check. Handle x32
33237 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33238 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33239 SKIP_EM_IA_64 and include
33240 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33242 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33243 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33244 (add_system_dir): New macro.
33246 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33247 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33249 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33260 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33262 * math/w_j0f.c (j0f): Likewise.
33264 * math/w_j0l.c (__j0l): Likewise.
33266 * math/w_j1.c (j1): Likewise.
33268 * math/w_j1f.c (j1f): Likewise.
33270 * math/w_j1l.c (__j1l): Likewise.
33272 * math/w_jn.c (jn): Likewise.
33274 * math/w_jnf.c (jnf): Likewise.
33276 * math/w_jnl.c (__jnl): Likewise.
33278 * math/libm-test.inc (j0_test): Add more tests.
33279 (j1_test): Likewise.
33280 (jn_test): Likewise. Add trailing semicolon to existing test.
33281 (y0_test): Likewise.
33282 (y1_test): Likewise.
33283 * sysdeps/i386/fpu/libm-test-ulps: Update.
33284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33289 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33290 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33292 (__tanl): Set errno for infinite argument.
33293 * sysdeps/i386/fpu/mptan.c: Remove.
33294 * sysdeps/i386/fpu/s_tan.S: Likewise.
33295 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33296 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33297 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33298 * math/libm-test.inc (tan_test): Add more tests and enable more
33299 tests for double and long double.
33300 * sysdeps/i386/fpu/libm-test-ulps: Update.
33301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33303 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33305 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33306 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33308 2012-03-16 Roland McGrath <roland@hack.frob.com>
33310 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33311 * configure.in: Use it for both main tree and add-ons.
33312 * configure: Regenerated.
33314 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33316 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33318 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33320 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33324 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33325 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33326 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33327 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33330 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33332 != 0 for prec == 2.
33333 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33334 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33335 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33336 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33337 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33338 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33339 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33340 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33341 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33342 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33343 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33344 * math/libm-test.inc (cos_test): Add more tests and enable more
33345 tests for long double.
33346 (sin_test): Likewise.
33347 (sincos_test): Likewise.
33348 * sysdeps/i386/fpu/libm-test-ulps: Update.
33349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351 2012-03-16 David S. Miller <davem@davemloft.net>
33353 * sysdeps/sparc/fpu/math_private.h: New file.
33355 2012-03-15 David S. Miller <davem@davemloft.net>
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33371 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33372 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33374 * sysdeps/sparc/sparc-ifunc.h: New file.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33420 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33422 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33426 2012-03-15 Andreas Jaeger <aj@suse.de>
33429 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33430 ieee754/flt-32 implementation for sin, cos and sincos.
33431 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33432 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33433 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33434 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33435 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33436 ieee754/flt-32 implementation for tan.
33438 * math/libm-test.inc (cos_test): Enable some large input tests for
33440 (sin_test): Likewise.
33441 (sincos_test): Likewise.
33442 (tan_test): Add tests for large input.
33444 * sysdeps/i386/fpu/libm-test-ulps: Update.
33446 2012-03-15 Andreas Jaeger <aj@suse.de>
33449 * math/libm-test.inc (cos_test): Add more test cases.
33450 (sin_test): Likewise.
33451 (sincos_test): Likewise.
33453 2012-03-15 Andreas Jaeger <aj@suse.de>
33456 * math/libm-test.inc (cos_test): Add a test case for large input
33458 (sin_test): Likewise.
33459 (sincos_test): Likewise.
33461 2012-03-15 Andreas Jaeger <aj@suse.de>,
33462 Joseph Myers <joseph@codesourcery.com>
33465 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33466 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33467 * sysdeps/i386/fpu/branred.c: Likewise.
33468 * sysdeps/i386/fpu/dosincos.c: Likewise.
33469 * sysdeps/i386/fpu/mpa.c: Likewise.
33470 * sysdeps/i386/fpu/s_cos.S: Likewise.
33471 * sysdeps/i386/fpu/s_sin.S: Likewise.
33472 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33473 * sysdeps/i386/fpu/sincos32.c: Likewise.
33475 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33477 (libc_feupdateenv_53bit): Define.
33478 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33480 (libc_feupdateenv_53bit): Define.
33482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33483 53 bit (without extend i386 double precision).
33485 * math/libm-test.inc (sincos_test): Add tests for large input.
33489 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33491 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33495 2012-03-15 David S. Miller <davem@davemloft.net>
33497 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33498 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33499 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33500 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33525 fmin/fmax sysdep routines.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33528 2012-03-14 David S. Miller <davem@davemloft.net>
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33602 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33607 * sysdeps/sparc/configure.in: New file.
33608 * sysdeps/sparc/configure: Generate.
33609 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33610 * configure: Regenerate.
33611 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33612 * config.make.in (have-as-vis3): New.
33613 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33614 available use -Av9d instead of -Av9a.
33615 * sysdeps/sparc/sparc64/Makefile: Likewise.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33631 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33632 fzeros/fnegs to load 0x80000000 into a float register instead of
33634 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33636 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33640 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33641 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33642 ($(inst_includedir)/bits/syscall.h): Remove rule.
33643 ($(objpfx)bits/syscall.d): Include instead of
33644 $(objpfx)syscall-list.d.
33645 (generated): Change syscall-list.h and syscall-list.d to
33646 bits/syscall.h and bits/syscall.d.
33648 2012-03-14 Roland McGrath <roland@hack.frob.com>
33651 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33653 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33656 * math/s_csqrt.c: Include <float.h>.
33657 (__csqrt): Scale large or subnormal inputs.
33658 * math/s_csqrtf.c: Likewise.
33659 * math/s_csqrtl.c: Likewise.
33660 * math/libm-test.inc (csqrt_test): Add more tests.
33661 * sysdeps/i386/fpu/libm-test-ulps: Update.
33662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33665 * math/libm-test.inc (hypot_test): Add more tests.
33667 2012-03-13 David S. Miller <davem@davemloft.net>
33670 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33671 double-precision for the calculation instead of scaling.
33673 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33675 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33676 manipulate bits before adding and subtracting TWO52[sx].
33677 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33678 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33680 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33682 2012-03-13 David S. Miller <davem@davemloft.net>
33684 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33685 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33687 rtld-global-offsets.h
33688 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33693 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33695 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33696 'err' in the ifdef scope in which it is actually used.
33698 * nss/nss_db/db-init.c: Include string.h
33700 2012-03-12 David S. Miller <davem@davemloft.net>
33702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33703 masking out of the most significant byte of random value used.
33704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33705 Fix coding style in previous change.
33707 * sysdeps/unix/sysv/linux/kernel-features.h
33708 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33709 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33711 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33714 2012-03-11 David S. Miller <davem@davemloft.net>
33716 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33717 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33718 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33719 for 'resultvar' otherwise things get truncated on 64-bit.
33721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33722 Fix masking out of the most significant byte of random value used.
33724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33726 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33730 2012-03-09 David S. Miller <davem@davemloft.net>
33732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33733 variables with appropriate CPP guards.
33734 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33735 frame pointer, not the stack pointer. Correct layout comments. Fix test
33736 on resulting framesize and the management of the outregs buffer for pltexit.
33737 Preserve floating point return values across _dl_call_pltexit call.
33738 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33739 framesize and the management of the outregs buffer for pltexit.
33740 Preserve floating point return values across _dl_call_pltexit
33742 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33743 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33744 (print_exit): Fix format string for return register value.
33746 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33748 * sunrpc/Makefile (others): Add rpcgen.
33749 ($(objpfx)rpcgen): Remove special build rule and dependency on
33751 * sunrpc/rpcgen.c: New file.
33753 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33756 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33757 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33758 * sysdeps/i386/crti.S: Likewise.
33759 * sysdeps/i386/crtn.S: Likewise.
33760 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33761 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33763 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33764 * sysdeps/sh/crti.S: Likewise.
33765 * sysdeps/sh/crtn.S: Likewise.
33766 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33769 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33771 * locale/programs/locfile-kw.gperf: Likewise.
33772 * locale/programs/charmap-kw.h: Regenerated.
33773 * locale/programs/locfile-kw.h: Likewise.
33776 * intl/plural.y: Replace FSF snail mail address with URL.
33777 * intl/plural.c: Regenerated.
33779 2012-03-09 Richard Henderson <rth@twiddle.net>
33781 * include/math_private.h: Remove file.
33782 * math/math_private.h: Move file ...
33783 * sysdeps/generic/math_private.h: ... here.
33785 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33786 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33787 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33789 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33790 and <math_private.h>.
33791 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33792 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33793 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33794 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33795 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33879 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33880 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33882 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33884 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33885 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33886 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33887 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33888 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33889 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33891 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33892 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33893 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33894 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33896 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33897 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33898 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33899 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33901 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33902 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33903 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33904 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33905 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33906 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33907 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33909 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33911 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33912 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33914 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33915 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33916 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33917 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33919 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33920 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33921 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33922 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33923 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33924 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33925 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33927 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33928 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33929 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33930 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33932 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33934 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33935 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33936 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33937 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33938 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33939 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33940 * sysdeps/ieee754/k_standard.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34054 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34056 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34063 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34091 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34101 * sysdeps/ieee754/s_lib_version.c: Likewise.
34102 * sysdeps/ieee754/s_matherr.c: Likewise.
34103 * sysdeps/ieee754/s_signgam.c: Likewise.
34104 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34105 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34106 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34107 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34108 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34109 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34110 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34111 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34112 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34113 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34114 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34115 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34116 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34117 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34118 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34119 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34121 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34126 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34128 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34129 * sunrpc/rpc_main.c: Likewise.
34130 * sunrpc/rpc_svcout.c: Likewise.
34132 2012-03-09 David S. Miller <davem@davemloft.net>
34134 * include/math_private.h: New file.
34136 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34138 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34139 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34140 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34141 from <bits/socket_type.h>.
34142 (enum __socket_type): Don't define here.
34143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34145 bits/socket_type.h.
34148 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34149 checking __USE_GNU.
34151 * Makerules ($(inst_includedir)/%.h): New rule.
34152 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34153 (install-others): Remove variable setting.
34154 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34156 2012-03-08 Richard Henderson <rth@twiddle.net>
34158 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34159 from macro to inline function; merge with the
34160 !__LIBC_INTERNAL_MATH_INLINES version.
34161 (__ieee754_sqrtf): Likewise.
34163 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34164 to inline function.
34165 (__rintf, __floor, __floorf): Likewise.
34167 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34168 macro to inline function.
34169 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34172 not <math/math_private.h>.
34174 2012-03-08 David S. Miller <davem@davemloft.net>
34176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34178 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34180 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34182 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34184 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34185 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34187 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34189 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34190 be defined individually, they must be defined as a block. Define
34191 S for printing a string instead of hidint the different by using a
34192 macro for adding the 'l'.
34193 * stdio-common/tst-fphex-wide.c: Adjust.
34195 2012-03-07 Marek Polacek <polacek@redhat.com>
34197 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34199 2012-03-08 Marek Polacek <polacek@redhat.com>
34202 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34203 * stdio-common/tst-fphex.c: Define a few macros to make the
34204 test reusable. Use them.
34205 * stdio-common/tst-fphex-wide.c: New file.
34207 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34210 * manual/macros.texi (gnusystems): New macro.
34211 (nongnusystems): Likewise.
34212 (gnulinuxhurdsystems): Likewise.
34213 (gnuhurdsystems): Likewise..
34214 (gnulinuxsystems): Likewise.
34215 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34216 variants of the GNU system, not "GNU system".
34217 * manual/conf.texi: Likewise.
34218 * manual/errno.texi: Likewise. Update example of errno macro
34220 * manual/filesys.texi: Likewise.
34221 (getumask): Document as specific to GNU/Hurd.
34222 * manual/install.texi: Likewise. Reword some references to
34224 * manual/intro.texi: Likewise.
34225 * manual/io.texi: Likewise.
34226 (File Name Portability): Detail which constraints are inapplicable
34227 to all GNU systems and which are only inapplicable to GNU/Hurd.
34228 * manual/job.texi: Likewise.
34229 * manual/llio.texi: Likewise.
34230 (O_NOCTTY): Document as present on GNU/Linux.
34231 * manual/maint.texi: Likewise.
34232 * manual/memory.texi: Likewise.
34233 * manual/pattern.texi: Likewise.
34234 * manual/pipe.texi: Likewise.
34235 * manual/process.texi: Likewise.
34236 * manual/resource.texi: Likewise.
34237 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34239 * manual/setjmp.texi: Likewise.
34240 * manual/signal.texi: Likewise.
34241 * manual/startup.texi: Likewise.
34242 * manual/stdio.texi: Likewise.
34243 * manual/terminal.texi: Likewise.
34244 (ONLCR): Document as POSIX.
34245 (OXTABS): Document availability on GNU/Linux as XTABS.
34246 (ONOEOT): Document availability separately from other bits.
34247 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34248 * manual/time.texi: Likewise.
34249 * manual/users.texi: Likewise.
34250 * INSTALL: Regenerated.
34251 * sysdeps/gnu/errlist.c: Regenerated.
34253 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34254 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34255 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34257 * configure: Regenerated.
34259 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34261 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34262 default includes instead of AC_HEADER_CHECK.
34263 * sysdeps/i386/configure: Regenerated.
34266 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34267 * math/s_cacoshf.c (__cacoshf): Likewise.
34268 * math/s_cacoshl.c (__cacoshl): Likewise.
34269 * math/s_casinh.c (__casinh): Set signs of result from argument.
34270 * math/s_casinhf.c (__casinhf): Likewise.
34271 * math/s_casinhl.c (__casinhl): Likewise.
34272 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34273 (casinh_test): Add more tests.
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34277 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34279 * po/zh_TW.po: Update from translation team.
34281 * login/Makefile (distribute): Remove variable.
34282 * catgets/Makefile: Likewise.
34283 * mach/Makefile: Likewise.
34284 * malloc/Makefile: Likewise.
34285 * misc/Makefile: Likewise.
34286 * iconv/Makefile: Likewise.
34287 * nscd/Makefile: Likewise.
34288 * hurd/Makefile: Likewise.
34289 * manual/Makefile: Likewise.
34290 * locale/Makefile: Likewise.
34291 * intl/Makefile: Likewise.
34292 * conform/Makefile: Likewise.
34293 * nss/Makefile: Likewise.
34294 * time/Makefile: Likewise.
34295 * soft-fp/Makefile: Likewise.
34296 * dirent/Makefile: Likewise.
34297 * gmon/Makefile: Likewise.
34298 * po/Makefile: Likewise.
34299 * rt/Makefile: Likewise.
34300 * socket/Makefile: Likewise.
34301 * math/Makefile: Likewise.
34302 * signal/Makefile: Likewise.
34303 * debug/Makefile: Likewise.
34304 * elf/Makefile: Likewise.
34305 * timezone/Makefile: Likewise.
34306 * stdlib/Makefile: Likewise.
34307 * iconvdata/Makefile: Likewise.
34308 * sunrpc/Makefile: Likewise.
34309 * io/Makefile: Likewise.
34310 * argp/Makefile: Likewise.
34311 * inet/Makefile: Likewise.
34312 * hesiod/Makefile: Likewise.
34313 * grp/Makefile: Likewise.
34314 * csu/Makefile: Likewise.
34315 * wctype/Makefile: Likewise.
34316 * crypt/Makefile: Likewise.
34317 * libio/Makefile: Likewise.
34318 * string/Makefile: Likewise.
34319 * nis/Makefile: Likewise.
34320 * resolv/Makefile: Likewise.
34321 * stdio-common/Makefile: Likewise.
34322 * wcsmbs/Makefile: Likewise.
34323 * dlfcn/Makefile: Likewise.
34324 * posix/Makefile: Likewise.
34327 * timezone/Makefile: Don't install timezone files, just the programs
34330 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34332 * nss/databases.def: Add missing gshadow entry.
34334 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34336 2012-03-06 Marek Polacek <polacek@redhat.com>
34339 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34340 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34341 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34342 * stdio-common/tst-long-dbl-fphex.c: New file.
34344 2012-03-06 David S. Miller <davem@davemloft.net>
34346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34347 (set_obp_int): New function.
34348 (get_obp_int): New function.
34349 (__get_clockfreq_via_dev_openprom): Likewise.
34350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34351 Avoid unused variable warnings on 'val' and use builtin_expect.
34352 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34354 (INLINE_CLONE_SYSCALL): Likewise.
34356 2012-03-05 David S. Miller <davem@davemloft.net>
34358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34360 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34365 only for |x| >= 40.
34366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34368 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34371 Replace gettimeofday with __vdso_gettimeofday.
34373 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34374 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34375 __vdso_clock_gettime and __vdso_getcpu.
34377 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34378 time with __vdso_time.
34380 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34382 * manual/lang.texi (size_t): Note types to which size_t may be
34383 equivalent with the GNU C Library, but do not describe when
34384 differences between them are significant.
34386 2012-03-05 Andreas Jaeger <aj@suse.de>
34388 * sysdeps/i386/fpu/libm-test-ulps: Update.
34390 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34393 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34394 (__ieee754_pow): Save and restore rounding mode and use
34395 round-to-nearest for main computations.
34396 * math/libm-test.inc (pow_test_tonearest): New function.
34397 (pow_test_towardzero): Likewise.
34398 (pow_test_downward): Likewise.
34399 (pow_test_upward): Likewise.
34400 (main): Call the new functions.
34401 * sysdeps/i386/fpu/libm-test-ulps: Update.
34402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34405 * math/libm-test.inc (cosh_test_tonearest): New function.
34406 (cosh_test_towardzero): Likewise.
34407 (cosh_test_downward): Likewise.
34408 (cosh_test_upward): Likewise.
34409 (sinh_test_tonearest): Likewise.
34410 (sinh_test_towardzero): Likewise.
34411 (sinh_test_downward): Likewise.
34412 (sinh_test_upward): Likewise.
34413 (main): Call the new functions.
34414 * sysdeps/i386/fpu/libm-test-ulps: Update.
34415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34417 2012-03-05 Tom de Vries <tom@codesourcery.com>
34419 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34420 default stack guard is set in last bytes.
34421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34423 2012-03-05 Kees Cook <keescook@chromium.org>
34425 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34428 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34429 possibly allocate from heap instead of stack.
34430 * stdio-common/bug-vfprintf-nargs.c: New file.
34431 * stdio-common/Makefile (tests): Add nargs overflow test.
34433 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34437 2012-03-03 Marek Polacek <polacek@redhat.com>
34439 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34440 * math/math_private.h: Likewise.
34441 * stdlib/tst-strtod.c: Likewise.
34442 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34443 * sysdeps/x86_64/bits/atomic.h: Likewise.
34445 2012-03-02 David S. Miller <davem@davemloft.net>
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34451 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34452 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34453 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34454 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34456 2012-03-02 Roland McGrath <roland@hack.frob.com>
34459 * manual/examples/README: New file, says the example source files
34460 can be used under GPL>=2.
34461 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34462 line containing just "*/".
34463 * manual/examples/add.c: Add copyright header (GPL>=2).
34464 * manual/examples/argp-ex1.c: Likewise.
34465 * manual/examples/argp-ex2.c: Likewise.
34466 * manual/examples/argp-ex3.c: Likewise.
34467 * manual/examples/argp-ex4.c: Likewise.
34468 * manual/examples/atexit.c: Likewise.
34469 * manual/examples/db.c: Likewise.
34470 * manual/examples/dir.c: Likewise.
34471 * manual/examples/dir2.c: Likewise.
34472 * manual/examples/execinfo.c: Likewise.
34473 * manual/examples/filecli.c: Likewise.
34474 * manual/examples/filesrv.c: Likewise.
34475 * manual/examples/fmtmsgexpl.c: Likewise.
34476 * manual/examples/genpass.c: Likewise.
34477 * manual/examples/inetcli.c: Likewise.
34478 * manual/examples/inetsrv.c: Likewise.
34479 * manual/examples/isockad.c: Likewise.
34480 * manual/examples/longopt.c: Likewise.
34481 * manual/examples/memopen.c: Likewise.
34482 * manual/examples/memstrm.c: Likewise.
34483 * manual/examples/mkfsock.c: Likewise.
34484 * manual/examples/mkisock.c: Likewise.
34485 * manual/examples/mygetpass.c: Likewise.
34486 * manual/examples/pipe.c: Likewise.
34487 * manual/examples/popen.c: Likewise.
34488 * manual/examples/rprintf.c: Likewise.
34489 * manual/examples/search.c: Likewise.
34490 * manual/examples/select.c: Likewise.
34491 * manual/examples/setjmp.c: Likewise.
34492 * manual/examples/sigh1.c: Likewise.
34493 * manual/examples/sigusr.c: Likewise.
34494 * manual/examples/stpcpy.c: Likewise.
34495 * manual/examples/strdupa.c: Likewise.
34496 * manual/examples/strftim.c: Likewise.
34497 * manual/examples/strncat.c: Likewise.
34498 * manual/examples/subopt.c: Likewise.
34499 * manual/examples/swapcontext.c: Likewise.
34500 * manual/examples/termios.c: Likewise.
34501 * manual/examples/testopt.c: Likewise.
34502 * manual/examples/testpass.c: Likewise.
34503 * manual/examples/timeval_subtract.c: Likewise.
34506 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34508 * manual/timeval_subtract.c.texi: ... here, new file.
34510 2012-03-02 David S. Miller <davem@davemloft.net>
34512 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34514 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34517 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34518 (__sin): Save and restore rounding mode and use round-to-nearest
34519 for all computations.
34520 (__cos): Save and restore rounding mode and use round-to-nearest
34521 for all computations.
34522 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34524 (tan): Save and restore rounding mode and use round-to-nearest for
34526 * math/libm-test.inc (cos_test_tonearest): New function.
34527 (cos_test_towardzero): Likewise.
34528 (cos_test_downward): Likewise.
34529 (cos_test_upward): Likewise.
34530 (sin_test_tonearest): Likewise.
34531 (sin_test_towardzero): Likewise.
34532 (sin_test_downward): Likewise.
34533 (sin_test_upward): Likewise.
34534 (tan_test_tonearest): Likewise.
34535 (tan_test_towardzero): Likewise.
34536 (tan_test_downward): Likewise.
34537 (tan_test_upward): Likewise.
34538 (main): Call the new functions.
34539 * sysdeps/i386/fpu/libm-test-ulps: Update.
34540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34543 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34544 small n, then large n, before computing and testing k+n.
34545 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34550 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34551 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34558 * math/libm-test.inc (scalbn_test): Add more tests.
34559 (scalbln_test): Likewise.
34561 * manual/filesys.texi (mode_t): Describe constraints on size and
34562 signedness, not exact equivalence to a particular type.
34564 (ino64_t): Likewise.
34566 (nlink_t): Likewise.
34567 (blkcnt_t): Likewise.
34568 (blkcnt64_t): Likewise.
34569 * manual/llio.texi (off_t): Likewise.
34572 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34573 (__ieee754_exp): Save and restore rounding mode and use
34574 round-to-nearest for all computations.
34575 * math/libm-test.inc (exp_test_tonearest): New function.
34576 (exp_test_towardzero): Likewise.
34577 (exp_test_downward): Likewise.
34578 (exp_test_upward): Likewise.
34579 (main): Call the new functions.
34580 * sysdeps/i386/fpu/libm-test-ulps: Update.
34581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34583 2012-03-01 Chris Demetriou <cgd@google.com>
34585 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34586 have predictable order.
34588 2012-03-01 David S. Miller <davem@davemloft.net>
34590 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34592 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34594 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34595 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34597 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34598 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34599 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34601 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34602 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34603 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34604 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34605 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34610 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34613 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34614 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34615 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34616 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34617 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34620 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34621 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34622 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34623 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34626 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34627 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34629 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34630 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34631 * sysdeps/sparc/elf/configure: Regenerated.
34633 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34635 * configure.in (AS, LD): Require binutils 2.20 or later.
34636 * configure: Regenerated.
34637 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34638 as required minimum version.
34639 * INSTALL: Regenerated.
34643 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34644 before squaring exponent.
34645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34646 bottom long double and 27 bits of top long double before squaring
34648 * math/libm-test.inc (erfc_test): Add more tests.
34649 * sysdeps/i386/fpu/libm-test-ulps: Update.
34650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34653 2012-03-01 Kai Tietz <ktietz@redhat.com>
34655 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34656 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34657 containing bit-fields.
34658 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34659 * soft-fp/single.h (_FP_UNION_S): Likewise.
34660 * soft-fp/double.h (_FP_UNION_D): Likewise.
34662 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34665 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34666 not include ../strcmp.S.
34667 [USE_AS_STRNCASECMP_L]: Likewise.
34668 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34669 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34670 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34671 (__strncasecmp_l_ia32): Define as alias to
34672 __strncasecmp_l_nonascii.
34675 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34676 * sysdeps/i386/fpu/libm-test-ulps: Update.
34677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34679 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34682 2012-02-29 Jeff Law <law@redhat.com>
34684 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34685 out of bounds read.
34687 2012-02-29 Marek Polacek <polacek@redhat.com>
34690 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34691 * elf/Makefile: Add rules to run tst-unused-dep.out.
34693 2012-02-28 David S. Miller <davem@davemloft.net>
34695 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34696 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34699 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34700 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34702 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34704 * math/libm-test.inc (llround_test): Move one test from
34705 lround_test. Use TEST_f_L in moved test.
34706 (lround_test): Move misplaced test to llround_test. Add testcase
34709 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34711 * sysdeps/x86_64/fpu/e_expf.S: New file.
34712 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34714 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34717 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34718 of remain_len that may cause incomplete multi-byte character and
34720 * posix/bug-regex33.c: New file.
34721 * posix/Makefile (tests): Add bug-regex33.
34723 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34725 * manual/macros.texi: New file.
34726 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34727 * manual/libc.texinfo: Include macros.texi.
34728 * manual/creatute.texi: Likewise.
34729 * manual/install.texi: Likewise.
34730 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34731 @glibcadj{} in references to the GNU C Library.
34732 * manual/charset.texi: Likewise.
34733 * manual/conf.texi: Likewise.
34734 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34735 when not using those macros.
34736 * manual/creature.texi: Likewise.
34737 * manual/crypt.texi: Likewise.
34738 * manual/errno.texi: Likewise.
34739 * manual/filesys.texi: Likewise.
34740 * manual/header.texi: Likewise.
34741 * manual/install.texi: Likewise.
34742 * manual/intro.texi: Likewise.
34743 * manual/io.texi: Likewise.
34744 * manual/job.texi: Likewise.
34745 * manual/lang.texi: Likewise.
34746 * manual/libc.texiinfo: Likewise.
34747 * manual/llio.texi: Likewise.
34748 * manual/locale.texi: Likewise.
34749 * manual/maint.texi: Likewise.
34750 * manual/math.texi: Likewise.
34751 * manual/memory.texi: Likewise.
34752 * manual/message.texi: Likewise.
34753 * manual/nss.texi: Likewise.
34754 * manual/pattern.texi: Likewise.
34755 * manual/process.texi: Likewise.
34756 * manual/resource.texi: Likewise.
34757 * manual/search.texi: Likewise.
34758 * manual/setjmp.texi: Likewise.
34759 * manual/signal.texi: Likewise.
34760 * manual/socket.texi: Likewise.
34761 * manual/startup.texi: Likewise.
34762 * manual/stdio.texi: Likewise.
34763 * manual/string.texi: Likewise.
34764 * manual/sysinfo.texi: Likewise.
34765 * manual/syslog.texi: Likewise.
34766 * manual/terminal.texi: Likewise.
34767 * manual/time.texi: Likewise.
34768 * manual/users.texi: Likewise.
34769 * INSTALL: Regenerated.
34770 * NOTES: Regenerated.
34771 * sysdeps/gnu/errlist.c: Regenerated.
34773 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34775 * include/dirent.h: Include <dirstream.h> before
34778 2012-02-28 David S. Miller <davem@davemloft.net>
34780 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34781 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34782 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34785 2012-02-27 David S. Miller <davem@davemloft.net>
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34789 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34790 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34793 frame pointer instead of stack pointer relative arg slot.
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34798 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34801 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34803 2012-02-27 David S. Miller <davem@davemloft.net>
34805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34811 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34812 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34814 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34816 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34817 later. Allow versions 5-9.
34818 * configure: Regenerated.
34819 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34820 required minimum version and 4.6 as recommended version. Do not
34821 mention bugs in GCC 2.7 and 2.8.
34822 * INSTALL: Regenerated.
34824 2012-02-27 David S. Miller <davem@davemloft.net>
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34830 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34831 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34832 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34833 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34836 manipulate bits before adding and subtracting TWO112[sx].
34837 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34839 2012-02-27 Roland McGrath <roland@hack.frob.com>
34842 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34843 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34844 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34845 being in POSIX, because they are in 1003.1-2008.
34847 * rt/tst-aio.c: Include <fcntl.h>.
34848 * rt/tst-aio7.c: Likewise.
34849 * rt/tst-aio64.c: Likewise.
34851 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34853 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34855 * manual/install.texi (--with-headers): Describe headers as
34856 interface headers, not private headers.
34857 (Specific advice for GNU/Linux systems): Describe use of headers
34858 from "make headers_install", not private headers from older
34860 * INSTALL: Regenerated.
34861 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34863 * sysdeps/unix/sysv/linux/configure: Regenerated.
34865 * manual/llio.texi (fclean): Remove documentation.
34867 * manual/Makefile (libc-texi-generated): New variable. Include
34869 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34870 $(libc-texi-generated), not duplicated list of files.
34871 (version.texi, stamp-version): New rules.
34872 (realclean): Remove $(libc-texi-generated), not individual files
34873 from that list. Do not remove dir-add.texinfo.
34874 * manual/libc.texinfo: Comment out uses of edition numbers and
34875 references to printed manual. Remove last-updated dates.
34876 (EDITION): Comment out.
34878 (VERSION, UPDATED): Remove.
34879 (version.texi): Include.
34881 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34883 * sysdeps/posix/spawni.c: Include <signal.h>.
34884 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34885 * sysdeps/pthread/aio_fsync.c: Likewise.
34887 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34889 * conform/Makefile (tests): Run only when not cross-compiling and
34890 when fast-check is not defined.
34892 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34893 * conform/data/limits.h-data: Fixes for POSIX2008.
34894 * conform/run-conformtest.sh: Run all tests.
34895 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34897 * include/bits/dlfcn.h: Likewise.
34898 * include/langinfo.h: Likewise.
34899 * include/monetary.h: Likewise.
34900 * include/sys/poll.h: Likewise.
34902 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34904 * posix/spawn.h: Define __need_sigset_t.
34905 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34906 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34907 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34908 to get sigevent_t only.
34909 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34910 only for __USE_GNU.
34911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34912 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34913 process_vm_writev only for __USE_GNU.
34914 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34916 * conform/Makefile: For now ignore errors from run-conformtest.
34917 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34918 POSIX to avoid namespace pollution. Don't prepend headers.
34919 * conform/data/aio.h-data: Fixes for POSIX testing.
34920 * conform/data/fcntl.h-data: Likewise.
34921 * conform/data/glob.h-data: Likewise.
34922 * conform/data/grp.h-data: Likewise.
34923 * conform/data/pthread.h-data: Likewise.
34924 * conform/data/pwd.h-data: Likewise.
34925 * conform/data/signal.h-data: Likewise.
34926 * conform/data/spawn.h-data: Likewise.
34927 * conform/data/stdio.h-data: Likewise.
34928 * conform/data/stdlib.h-data: Likewise.
34929 * conform/data/stropts.h-data: Likewise.
34930 * conform/data/sys/mman.h-data: Likewise.
34931 * conform/data/sys/stat.h-data: Likewise.
34932 * conform/data/sys/types.h-data: Likewise.
34933 * conform/data/sys/wait.h-data: Likewise.
34934 * conform/data/time.h-data: Likewise.
34935 * conform/data/unistd.h-data: Likewise.
34936 * conform/data/utime.h-data: Likewise.
34938 * io/sys/stat.h: fchmod was always in POSIX.
34939 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34940 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34941 * rt/aio.h: Define __need_timespec before including <time.h>.
34942 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34943 struct. Add forward declaration of pthread_attr_t and use it in
34945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34947 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34948 always remove CLK_TCK definition.
34950 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34952 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34954 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34956 * conform/run-conformtest.sh: New file.
34957 * conform/Makefile: Run run-conformtest for tests.
34958 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34961 * conform/data/uchar.h-data: New file.
34962 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34963 * conform/data/arpa/inet.h-data: Likewise.
34964 * conform/data/assert.h-data: Likewise.
34965 * conform/data/complex.h-data: Likewise.
34966 * conform/data/cpio.h-data: Likewise.
34967 * conform/data/ctype.h-data: Likewise.
34968 * conform/data/dirent.h-data: Likewise.
34969 * conform/data/dlfcn.h-data: Likewise.
34970 * conform/data/errno.h-data: Likewise.
34971 * conform/data/fcntl.h-data: Likewise.
34972 * conform/data/float.h-data: Likewise.
34973 * conform/data/fmtmsg.h-data: Likewise.
34974 * conform/data/fnmatch.h-data: Likewise.
34975 * conform/data/ftw.h-data: Likewise.
34976 * conform/data/glob.h-data: Likewise.
34977 * conform/data/grp.h-data: Likewise.
34978 * conform/data/iconv.h-data: Likewise.
34979 * conform/data/inttypes.h-data: Likewise.
34980 * conform/data/langinfo.h-data: Likewise.
34981 * conform/data/libgen.h-data: Likewise.
34982 * conform/data/limits.h-data: Likewise.
34983 * conform/data/locale.h-data: Likewise.
34984 * conform/data/math.h-data: Likewise.
34985 * conform/data/monetary.h-data: Likewise.
34986 * conform/data/mqueue.h-data: Likewise.
34987 * conform/data/ndbm.h-data: Likewise.
34988 * conform/data/net/if.h-data: Likewise.
34989 * conform/data/netdb.h-data: Likewise.
34990 * conform/data/netinet/in.h-data: Likewise.
34991 * conform/data/nl_types.h-data: Likewise.
34992 * conform/data/poll.h-data: Likewise.
34993 * conform/data/pthread.h-data: Likewise.
34994 * conform/data/pwd.h-data: Likewise.
34995 * conform/data/regex.h-data: Likewise.
34996 * conform/data/sched.h-data: Likewise.
34997 * conform/data/search.h-data: Likewise.
34998 * conform/data/semaphore.h-data: Likewise.
34999 * conform/data/setjmp.h-data: Likewise.
35000 * conform/data/signal.h-data: Likewise.
35001 * conform/data/spawn.h-data: Likewise.
35002 * conform/data/stdarg.h-data: Likewise.
35003 * conform/data/stdio.h-data: Likewise.
35004 * conform/data/stdlib.h-data: Likewise.
35005 * conform/data/string.h-data: Likewise.
35006 * conform/data/strings.h-data: Likewise.
35007 * conform/data/stropts.h-data: Likewise.
35008 * conform/data/sys/ipc.h-data: Likewise.
35009 * conform/data/sys/mman.h-data: Likewise.
35010 * conform/data/sys/msg.h-data: Likewise.
35011 * conform/data/sys/resource.h-data: Likewise.
35012 * conform/data/sys/select.h-data: Likewise.
35013 * conform/data/sys/sem.h-data: Likewise.
35014 * conform/data/sys/shm.h-data: Likewise.
35015 * conform/data/sys/socket.h-data: Likewise.
35016 * conform/data/sys/stat.h-data: Likewise.
35017 * conform/data/sys/statvfs.h-data: Likewise.
35018 * conform/data/sys/time.h-data: Likewise.
35019 * conform/data/sys/timeb.h-data: Likewise.
35020 * conform/data/sys/times.h-data: Likewise.
35021 * conform/data/sys/types.h-data: Likewise.
35022 * conform/data/sys/uio.h-data: Likewise.
35023 * conform/data/sys/un.h-data: Likewise.
35024 * conform/data/sys/utsname.h-data: Likewise.
35025 * conform/data/sys/wait.h-data: Likewise.
35026 * conform/data/syslog.h-data: Likewise.
35027 * conform/data/tar.h-data: Likewise.
35028 * conform/data/termios.h-data: Likewise.
35029 * conform/data/utime.h-data: Likewise.
35030 * conform/data/utmpx.h-data: Likewise.
35031 * conform/data/varargs.h-data: Likewise.
35032 * conform/data/wchar.h-data: Likewise.
35033 * conform/data/wctype.h-data: Likewise.
35034 * conform/data/wordexp.h-data: Likewise.
35036 * include/stropts.h: New file.
35037 * include/uchar.h: New file.
35038 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35039 * include/assert.h: Likewise.
35040 * include/ctype.h: Likewise.
35041 * include/dirent.h: Likewise.
35042 * include/dlfcn.h: Likewise.
35043 * include/fcntl.h: Likewise.
35044 * include/fnmatch.h: Likewise.
35045 * include/glob.h: Likewise.
35046 * include/grp.h: Likewise.
35047 * include/libio.h: Likewise.
35048 * include/locale.h: Likewise.
35049 * include/math.h: Likewise.
35050 * include/net/if.h: Likewise.
35051 * include/netdb.h: Likewise.
35052 * include/netinet/in.h: Likewise.
35053 * include/pthread.h: Likewise.
35054 * include/pwd.h: Likewise.
35055 * include/regex.h: Likewise.
35056 * include/sched.h: Likewise.
35057 * include/search.h: Likewise.
35058 * include/setjmp.h: Likewise.
35059 * include/signal.h: Likewise.
35060 * include/stdio.h: Likewise.
35061 * include/stdlib.h: Likewise.
35062 * include/string.h: Likewise.
35063 * include/sys/cdefs.h: Likewise.
35064 * include/sys/mman.h: Likewise.
35065 * include/sys/msg.h: Likewise.
35066 * include/sys/resource.h: Likewise.
35067 * include/sys/select.h: Likewise.
35068 * include/sys/socket.h: Likewise.
35069 * include/sys/stat.h: Likewise.
35070 * include/sys/statvfs.h: Likewise.
35071 * include/sys/time.h: Likewise.
35072 * include/sys/times.h: Likewise.
35073 * include/sys/uio.h: Likewise.
35074 * include/sys/utsname.h: Likewise.
35075 * include/sys/wait.h: Likewise.
35076 * include/termios.h: Likewise.
35077 * include/time.h: Likewise.
35078 * include/ulimit.h: Likewise.
35079 * include/unistd.h: Likewise.
35080 * include/utime.h: Likewise.
35081 * include/wchar.h: Likewise.
35082 * include/wctype.h: Likewise.
35083 * include/wordexp.h: Likewise.
35085 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35087 * time/time.h: TIME_UTC must be a macro.
35088 Make timespec_get available for ISO C11 only as well.
35090 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35092 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35093 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35095 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35097 * configure.in: Use -o not -a in test for unsupported multi-arch.
35099 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35101 * manual/texinfo.tex: Update to version 2012-01-19.16.
35103 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35105 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35107 2012-02-24 Roland McGrath <roland@hack.frob.com>
35110 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35111 * manual/fdl-1.3.texi: New file.
35112 * manual/fdl-1.1.texi: File removed.
35115 * manual/libc.texinfo (FDL_VERSION): New @set.
35116 Use it for mention of FDL in cover text.
35117 (Documentation License): Use it in @include file name.
35119 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35120 Roland McGrath <roland@hack.frob.com>
35123 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35124 not LONG_LONG_MAX and LONG_LONG_MIN.
35125 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35126 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35128 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35130 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35134 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35135 manipulate bits before adding and subtracting TWO23[sx].
35136 * math/libm-test.inc (nearbyint_test): Add more tests.
35138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35141 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35142 bits before adding and subtracting TWO23[sx].
35143 * math/libm-test.inc (rint_test): Add more tests.
35144 (rint_test_tonearest): Likewise.
35145 (rint_test_towardzero): Likewise.
35146 (rint_test_downward): Likewise.
35147 (rint_test_upward: Likewise.
35149 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35152 * include/stdc-predef.h: New file. Extracted from features.h.
35153 * include/features.h: Include stdc-predef.h.
35154 * Makefile (headers): Add stdc-predef.h.
35155 * CONFORMANCE (Compiler limitations): Update.
35157 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35159 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35161 2012-02-21 David S. Miller <davem@davemloft.net>
35163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35164 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35166 2012-02-20 David S. Miller <davem@davemloft.net>
35168 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35169 using a normal save/restore sequence, rather than allocating a
35170 dummy stack frame just to store a frame pointer and restore.
35171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35173 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35175 * manual/install.texi: Fix stray word in line-wrapped comment.
35177 2012-02-20 David S. Miller <davem@davemloft.net>
35179 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35180 both binutils and gcc support GOTDATA.
35182 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35183 "rd %pc" in the PIC register setup sequences.
35185 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35186 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35187 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35188 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35189 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35194 (SYSCALL_ERROR_HANDLER): Likewise.
35195 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35196 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35198 (SYSCALL_ERROR_HANDLER): Likewise.
35200 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35201 (HAVE_GCC_GOTDATA): New.
35202 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35203 relocation support in both binutils and gcc.
35204 * sysdeps/sparc/elf/configure: Regenerate.
35206 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35207 * sysdeps/sparc/sparc32/elf/configure: Delete.
35208 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35209 * sysdeps/sparc/sparc64/elf/configure: Delete.
35210 * sysdeps/sparc/elf/configure.in: New file.
35211 * sysdeps/sparc/elf/configure: Generate.
35213 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35214 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35215 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35216 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35217 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35221 * manual/install.texi: Do not mention specific glibc version
35223 * manual/libc.texinfo (VERSION, UPDATED): Update.
35224 (@copying): Use @copyright{} and range of years.
35226 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35229 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35230 [crti.S not in sysdirs] (generated): Do not append.
35231 [crti.S not in sysdirs] (omit-deps): Likewise.
35232 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35233 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35234 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35235 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35236 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35238 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35239 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35240 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35241 * csu/defs.awk: Remove file.
35242 * sysdeps/generic/initfini.c: Likewise.
35243 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35245 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35248 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35250 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35251 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35252 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35253 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35255 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35257 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35258 (__EPOLL_PACKED): Define to empty if not defined by
35260 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35264 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35266 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35267 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35268 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35269 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35271 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35275 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35277 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35281 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35284 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35287 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35289 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35291 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35292 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35294 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35296 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35299 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35301 * math/w_acos.c: Use non-signaling floating-point comparisons.
35302 * math/w_acosf.c: Likewise.
35303 * math/w_acosh.c: Likewise.
35304 * math/w_acoshf.c: Likewise.
35305 * math/w_acoshl.c: Likewise.
35306 * math/w_acosl.c: Likewise.
35307 * math/w_asin.c: Likewise.
35308 * math/w_asinf.c: Likewise.
35309 * math/w_asinl.c: Likewise.
35310 * math/w_atanh.c: Likewise.
35311 * math/w_atanhf.c: Likewise.
35312 * math/w_atanhl.c: Likewise.
35313 * math/w_exp2.c: Likewise.
35314 * math/w_exp2f.c: Likewise.
35315 * math/w_exp2l.c: Likewise.
35316 * math/w_j0.c: Likewise.
35317 * math/w_j0f.c: Likewise.
35318 * math/w_j0l.c: Likewise.
35319 * math/w_j1.c: Likewise.
35320 * math/w_j1f.c: Likewise.
35321 * math/w_j1l.c: Likewise.
35322 * math/w_jn.c: Likewise.
35323 * math/w_jnf.c: Likewise.
35324 * math/w_log.c: Likewise.
35325 * math/w_log10.c: Likewise.
35326 * math/w_log10f.c: Likewise.
35327 * math/w_log10l.c: Likewise.
35328 * math/w_log2.c: Likewise.
35329 * math/w_log2f.c: Likewise.
35330 * math/w_log2l.c: Likewise.
35331 * math/w_logf.c: Likewise.
35332 * math/w_logl.c: Likewise.
35333 * math/w_sqrt.c: Likewise.
35334 * math/w_sqrtf.c: Likewise.
35335 * math/w_sqrtl.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35339 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35340 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35342 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35345 * manual/string.texi (strnlen): Use correct parameter name in
35346 equivalent expression.
35348 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35351 * manual/users.texi (seteuid): Consistently use neweuid for
35354 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35357 * manual/nss.texi (Services in the NSS configuration): Correct
35358 list of services in example configuration file.
35360 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35363 * manual/arith.texi: Remove statements about negative zero
35364 behaving identically to zero.
35366 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35369 * manual/install.texi: Do not document upgrading from libc5.
35371 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35374 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35376 2012-02-18 David S. Miller <davem@davemloft.net>
35378 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35379 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35380 %o7 across the call.
35381 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35384 SETUP_PIC_REG_LEAF.
35385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35386 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35387 * sysdeps/sparc/crtn.S: Likewise.
35389 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35391 * aout/Makefile: Remove.
35393 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35396 * manual/examples/argp-ex1.c (main): Format definition in GNU
35398 * manual/examples/argp-ex2.c (main): Likewise.
35399 * manual/examples/argp-ex3.c (main): Likewise.
35400 * manual/examples/argp-ex4.c (main): Likewise.
35401 * manual/examples/longopt.c (main): Use new-style prototype
35403 * manual/examples/strncat.c (main): Specify return type and use
35404 (void) for arguments.
35405 * manual/examples/subopt.c (main): Use char **argv argument.
35407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35410 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35413 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35416 * manual/string.texi (strchr): Change when strchrnul is
35419 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35422 * manual/locale.texi (setlocale): Document LOCPATH.
35424 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35427 * manual/process.texi (execle): Move @dots{} before last argument.
35429 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35432 * manual/charset.texi (Generic Charset Conversion): Fix typo
35433 (LC_TYPE -> LC_CTYPE).
35435 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35438 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35439 (scalbnf): Likewise.
35440 (scalbnl): Likewise.
35441 (scalbln): Likewise.
35442 (scalblnf): Likewise.
35443 (scalblnl): Likewise.
35444 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35445 (vwarnx): Likewise.
35448 * manual/filesys.texi (telldir): Use braces around return type.
35449 * manual/llio.texi (mmap): Add space after comma.
35450 (mmap64): Likewise.
35451 * manual/math.texi (jn): Use @var{} on parameter names.
35457 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35459 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35461 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35462 (sched_get_priority_max): Likewise.
35463 * manual/signal.texi (sigvec): Add space after comma.
35464 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35466 (if_indextoname): Likewise.
35467 (if_freenameindex): Likewise.
35468 (sendto): Use ',' instead of '.' in prototype.
35469 * manual/startup.texi (syscall): Use @dots{} instead of literal
35471 * manual/stdio.texi (__fpending): Separate initial words of
35472 paragraph from @deftypefun line.
35473 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35475 (vsyslog): Use @var{} on parameter names.
35476 * manual/terminal.texi (stty): Use @var{} on parameter names.
35477 * manual/users.texi (getutmp): Use @var{} on parameter names.
35478 (getutmpx): Likewise.
35480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35483 * manual/stdio.texi (fopen): Fix typos in description of
35486 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35489 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35490 get clock_id definition.
35492 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35495 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35496 (madvise): Cast every argument to void on its own.
35498 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35501 * manual/startup.texi (Exit Status): Fix typo.
35503 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35506 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35507 * manual/examples/argp-ex2.c: Likewise.
35508 * manual/examples/argp-ex3.c: Likewise.
35510 2012-02-16 Richard Henderson <rth@redhat.com>
35512 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35513 * sysdeps/s390/s390-32/initfini.c: Remove.
35514 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35515 * sysdeps/s390/s390-64/initfini.c: Remove.
35517 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35519 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35520 compiler output for sysdeps/generic/initfini.c.
35521 * sysdeps/sh/elf/initfini.c: Remove file.
35523 2012-02-16 David S. Miller <davem@davemloft.net>
35526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35528 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35529 * sysdeps/sparc/crti.S: New file.
35530 * sysdeps/sparc/crtn.S: New file.
35531 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35532 * sysdeps/sparc/sparc64/Makefile: Likewise.
35534 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35537 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35539 2012-02-15 Roland McGrath <roland@hack.frob.com>
35542 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35544 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35545 (write, read, close): Likewise.
35546 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35548 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35550 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35551 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35552 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35553 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35555 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35559 2012-02-14 Marek Polacek <polacek@redhat.com>
35561 * sysdeps/x86_64/crti.S: New file.
35562 * sysdeps/x86_64/crtn.S: New file.
35563 * sysdeps/x86_64/elf/initfini.c: Remove file.
35565 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35567 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35568 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35569 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35570 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35572 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35576 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35578 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35579 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35580 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35581 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35583 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35587 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35589 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35590 __feraiseexcept instead of feraiseexcept.
35592 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35593 nanosleep invocations.
35594 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35595 strings, and add error checking for a nanosleep invocations.
35597 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35599 Replace FSF snail mail address with URLs, as per GNU coding standards.
35600 Most of the snail mail addresses were wrong anyway, and omitting
35601 them makes the source code easier to maintain. Almost all of the
35602 changes are to license notices and to locale LC_IDENTIFICATION
35603 addresses, except for this one:
35604 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35605 not its snail mail address.
35607 2012-02-09 Richard Henderson <rth@twiddle.net>
35609 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35610 of kernel-features.h.
35612 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35614 2012-02-08 Marek Polacek <polacek@redhat.com>
35616 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35617 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35618 * sysdeps/gnu/_G_config.h: Likewise.
35619 * sysdeps/generic/_G_config.h: Likewise.
35621 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35623 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35627 * sysdeps/powerpc/powerpc32/crti.S: New file.
35628 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35629 * sysdeps/powerpc/powerpc64/crti.S: New file.
35630 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35632 * Makeconfig (have-initfini): Don't set.
35633 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35634 * configure.in (nopic_initfini): Don't substitute.
35635 * config.h.in (HAVE_INITFINI): Don't #undef.
35636 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35637 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35639 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35641 Support crti.S and crtn.S provided directly by architectures.
35642 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35643 [crti.S in sysdirs] (omit-deps): Likewise.
35644 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35645 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35646 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35647 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35648 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35649 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35650 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35651 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35652 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35653 compiler output for sysdeps/generic/initfini.c.
35654 * sysdeps/i386/elf/Makefile: Remove file.
35655 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35657 2012-02-07 Marek Polacek <polacek@redhat.com>
35659 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35660 * sysdeps/gnu/_G_config.h: Likewise.
35661 * sysdeps/mach/hurd/_G_config.h: Likewise.
35663 2012-02-07 Marek Polacek <polacek@redhat.com>
35665 * math/Makefile (tests): Add tst-CMPLX2.
35666 * math/tst-CMPLX2.c: New file.
35668 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35670 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35672 * math/libm-test.inc (jn_test): Add missing L suffix.
35674 2012-02-06 Marek Polacek <polacek@redhat.com>
35676 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35677 * sysdeps/i386/fpu/e_powf.S: Likewise.
35678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35679 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35681 * sysdeps/i386/fpu/e_pow.S: Likewise.
35682 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35683 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35684 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35685 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35686 * sysdeps/i386/fpu/e_log2.S: Likewise.
35687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35688 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35689 * sysdeps/i386/fpu/e_powl.S: Likewise.
35690 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35693 * sysdeps/i386/fpu/e_logl.S: Likewise.
35694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35695 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35696 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35697 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35698 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35700 * sysdeps/i386/fpu/e_log.S: Likewise.
35701 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35703 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35704 * sysdeps/i386/fpu/e_logf.S: Likewise.
35705 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35706 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35707 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35708 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35709 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35710 * sysdeps/i386/fpu/e_log10.S: Likewise.
35711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35716 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35717 * sysdeps/i386/asm-syntax.h: Likewise.
35718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35719 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35720 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35721 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35722 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35727 * sysdeps/powerpc/sysdep.h: Likewise.
35728 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35729 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35731 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35734 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35736 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35738 * sysdeps/i386/sysdep.h: Include <features.h>.
35739 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35742 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35744 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35746 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35751 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35752 (SETUP_PIC_REG): Use GET_PC_THUNK.
35753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35756 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35758 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35759 for non-PIC compilation.
35760 (SETUP_PIC_REG): Add .p2align directive.
35761 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35762 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35777 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35779 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35780 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35789 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35791 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35793 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35794 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35795 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35796 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35798 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35800 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35801 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35803 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35805 * math/tst-CMPLX.c: Include <stdio.h>.
35807 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35809 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35812 * sysdeps/sparc/bits/mathdef.h: Likewise.
35814 2012-01-31 Marek Polacek <polacek@redhat.com>
35816 * libio/libio.h: Don't define _PARAMS.
35817 * locale/programs/config.h: Don't define PARAMS.
35818 * stdlib/strtol_l.c: Likewise.
35819 (__strtol_l): Remove PARAMS from the prototype.
35821 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35823 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35824 names. Just use the correct names. Remove unnecessary wrapper
35826 * malloc/arena.c: Likewise.
35827 * malloc/hooks.c: Likewise.
35829 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35830 ARENA_TEST says not to. Simplify test for creation of a new arena.
35831 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35833 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35835 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35837 (update_get_addr): New function.
35838 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35839 GET_ADDR_MODULE parameter.
35841 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35843 * crypt/cert.c: Remove __STDC__ conditionals.
35844 * crypt/crypt-entry.c: Likewise.
35845 * crypt/crypt_util.c: Likewise.
35846 * libio/filedoalloc.c: Likewise.
35847 * libio/fileops.c: Likewise.
35848 * libio/genops.c: Likewise.
35849 * libio/iofclose.c: Likewise.
35850 * libio/iofdopen.c: Likewise.
35851 * libio/iofopen.c: Likewise.
35852 * libio/iofopen64.c: Likewise.
35853 * libio/iogetdelim.c: Likewise.
35854 * libio/iopopen.c: Likewise.
35855 * libio/obprintf.c: Likewise.
35856 * libio/oldfileops.c: Likewise.
35857 * libio/oldiofclose.c: Likewise.
35858 * libio/oldiofdopen.c: Likewise.
35859 * libio/oldiofopen.c: Likewise.
35860 * libio/oldiopopen.c: Likewise.
35861 * libio/wfiledoalloc.c: Likewise.
35862 * libio/wgenops.c: Likewise.
35863 * locale/programs/xmalloc.c: Likewise.
35864 * misc/syslog.c: Likewise.
35865 * stdio-common/xbug.c: Likewise.
35866 * string/memchr.c: Likewise.
35867 * string/memcmp.c: Likewise.
35868 * string/memrchr.c: Likewise.
35869 * string/rawmemchr.c: Likewise.
35870 * sysdeps/posix/getcwd.c: Likewise.
35871 * time/strftime_l.c: Likewise.
35873 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35875 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35876 * config.make.in (config-cflags-sse2avx): Define.
35877 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35880 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35882 * scripts/config.guess: Update from upstream config git repository.
35883 * scripts/config.sub: Likewise.
35885 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35887 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35889 (R_TILEPRO_*, R_TILEGX_*): New macros.
35891 * scripts/firstversions.awk: Fix bug in version range handling.
35893 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35895 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35897 * include/sys/epoll.h: New file.
35898 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35901 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35903 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35904 Avoid unnecessary __WORDSIZE == 64 test.
35905 (fmaxf): Use VEX format if possible.
35910 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35911 * math/math_private.h: Remove libc_fegetround* and
35913 * sysdeps/i386/configure.in: Check for -msse2avx.
35914 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35915 also if SSE2AVX is defined.
35916 Remove libc_fegetround* and libc_fesetround*.
35917 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35918 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35922 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35927 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35929 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35931 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35933 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35935 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35938 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35940 * Makeconfig (libm): Define.
35941 * elf/Makefile: Add rules to build and run tst-relsort1.
35942 * elf/tst-relsort1.c: New file.
35943 * elf/tst-relsort1mod1.c: New file.
35944 * elf/tst-relsort1mod2.c: New file.
35946 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35948 * math/s_ldexp.c: Remove __STDC__ conditionals.
35949 * math/s_ldexpf.c: Likewise.
35950 * math/s_ldexpl.c: Likewise.
35951 * math/s_nextafter.c: Likewise.
35952 * math/s_nexttowardf.c: Likewise.
35953 * math/s_significand.c: Likewise.
35954 * math/s_significandf.c: Likewise.
35955 * math/s_significandl.c: Likewise.
35956 * math/w_jnl.c: Likewise.
35957 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35958 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35959 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35960 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35961 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35963 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35964 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35965 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35966 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35967 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35968 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35969 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35971 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35972 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35973 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35974 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35979 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35981 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35993 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35994 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35996 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35997 * sysdeps/ieee754/k_standard.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36072 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36073 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36077 * sysdeps/ieee754/s_matherr.c: Likewise.
36078 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36079 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36080 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36081 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36083 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36085 * crypt/md5.h: Remove __STDC__ conditionals.
36086 * libio/libioP.h: Likewise.
36087 * locale/programs/config.h: Likewise.
36088 * sysdeps/generic/sysdep.h: Likewise.
36089 * sysdeps/i386/asm-syntax.h: Likewise.
36090 * sysdeps/s390/asm-syntax.h: Likewise.
36091 * sysdeps/unix/sysdep.h: Likewise.
36092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36095 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36097 * libio/libio.h: Remove __STDC__ conditionals.
36098 * malloc/obstack.h: Likewise.
36099 * math/complex.h: Likewise.
36100 * math/math.h: Likewise.
36101 * sysdeps/generic/_G_config.h: Likewise.
36102 * sysdeps/gnu/_G_config.h: Likewise.
36103 * sysdeps/mach/hurd/_G_config.h: Likewise.
36104 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36105 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36106 * sysdeps/sparc/bits/mathdef.h: Likewise.
36108 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36112 Clean up HAS_* macros.
36113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36114 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36118 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36119 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36120 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36124 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36126 * elf/tst-unique3.cc (gets): Remove declaration.
36127 * elf/tst-unique3lib.cc (gets): Likewise.
36128 * elf/tst-unique3lib2.cc (gets): Likewise.
36129 * elf/tst-unique4.cc (gets): Likewise.
36131 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36133 * include/stdio.h: Add C++ protection. Add gets declarations and
36135 * debug/tst-chk1.c: Don't declare gets here.
36136 * stdio-common/tst-gets.c: Likewise.
36138 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36140 * posix/glob: Remove directory.
36142 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36144 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36146 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36148 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36149 of the non-standard EPFNOSUPPORT.
36151 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36153 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36154 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36155 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36157 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36159 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36161 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36163 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36165 * nscd/grpcache.c (cache_addgr): Likewise.
36166 * nscd/hstcache.c (cache_addhst): Likewise.
36167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36168 * nscd/pwdcache.c (cache_addpw): Likewise.
36169 * nscd/servicescache.c (cache_addserv): Likewise.
36171 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36173 * malloc/malloc.c: Various cleanups.
36174 * malloc/hooks.c: Likewise.
36176 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36177 * stdlib/bug-fmtmsg1.c: New file.
36179 * stdlib/fmtmsg.c (init): Add missing unlock.
36180 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36182 2012-01-12 Marek Polacek <polacek@redhat.com>
36184 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36187 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36189 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36191 macro to ensure uniqueness of label name.
36192 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36193 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36195 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36197 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36199 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36200 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36204 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36206 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36208 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36209 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36212 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36215 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36219 * math/bits/math-finite.h: Add ldexp support.
36221 2012-01-10 Marek Polacek <polacek@redhat.com>
36223 * locale/programs/localedef.h (show_archive_content): Add noreturn
36226 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36228 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36230 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36232 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36234 * io/Makefile (headers): Add bits/poll2.h.
36236 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36239 typo #include statement.
36241 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36243 * include/sys/cdefs.h: Define __attribute_alloc_size.
36244 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36245 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36246 * elf/pldd.c: Likewise.
36247 * iconv/iconv_charmap.c: Likewise.
36248 * iconv/iconvconfig.c: Likewise.
36249 * iconv/strtab.c: Likewise.
36250 * locale/programs/locale.c: Likewise.
36251 * locale/programs/localedef.h: Likewise.
36252 * locale/programs/simple-hash.c: Likewise.
36253 * nscd/nscd.h: Likewise.
36254 * nss/makedb.c: Likewise.
36255 * sysdeps/generic/ldconfig.h: Likewise.
36256 * locale/programs/localedef.c: Remove xmalloc prototype.
36257 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36259 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36261 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36264 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36266 * math/Makefile (tests): Add tst-CMPLX.
36267 * math/tst-CMPLX.c: New file.
36269 * math/complex.h (CMPLXL): Fix typo.
36271 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36272 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36274 * debug/tst-chk1.c: Add poll and ppoll tests.
36275 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36276 * include/sys/poll.h: Add hidden proto for ppoll.
36277 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36278 * sysdeps/mach/hurd/ppoll.c: Likewise.
36279 * io/ppoll.c: Likewise.
36280 * debug/poll_chk.c: New file.
36281 * debug/ppoll_chk.c: New file.
36282 * include/bits/poll2.h: New file.
36283 * io/bits/poll2.h: New file.
36286 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36288 * configure.in: static is always set to yes. Remove.
36289 * config.make.in: Don't set build-static.
36290 * Makeconfig: Remove use of build-static.
36291 * dlfcn/Makefile: Likewise.
36292 * elf/Makefile: Likewise.
36293 * math/Makefile: Likewise.
36294 * misc/Makefile: Likewise.
36295 * nptl/Makefile: Likewise.
36296 * sysdeps/mach/hurd/Makefile: Likewise.
36298 * configure.in: PWD_P is not used anymore.
36299 * config.make.in: Remove PWD_P entry.
36301 * configure.in: Remove last remnants of RANLIB.
36302 No need to check for signed size_t anymore.
36303 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36305 Remove __builtin_expect test because we require at least gcc 3.4.
36306 * aclocal.m4: Likewise.
36308 * wcsmbs/mbrtoc16.c: Implement using towc function.
36309 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36310 * wcsmbs/wcsmbsload.c: Likewise.
36311 * iconv/gconv_simple.c: Likewise.
36312 * iconv/gconv_int.h: Likewise.
36313 * iconv/gconv_builtin.h: Likewise.
36314 * iconv/iconv_prog.c: Remove CHAR16 handling.
36316 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36318 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36320 * configure.in: Remove --with-elf and --enable-bounded options.
36321 Dont set base_machine for ia64. More non-ELF conditions removed.
36322 Remove testing and setting of leading underscore information.
36323 * config.make.in (build-bounded): Set to no.
36324 * config.h.in: Remove NO_UNDERSCORES entry.
36325 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36327 * csu/start.c: Remove !NO_UNDERSCORE code.
36328 * locale/localeinfo.h: Likewise.
36329 * sysdeps/generic/machine-gmon.h: Likewise.
36330 * sysdeps/generic/sysdep.h: Likewise.
36331 * sysdeps/i386/sysdep.h: Likewise.
36332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36333 * sysdeps/mach/sysdep.h: Likewise.
36334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36336 * sysdeps/sh/sysdep.h: Likewise.
36337 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36338 * sysdeps/unix/i386/sysdep.S: Likewise.
36339 * sysdeps/unix/sparc/start.c: Likewise.
36340 * sysdeps/unix/sparc/sysdep.S: Likewise.
36341 * sysdeps/unix/sparc/sysdep.h: Likewise.
36342 * sysdeps/unix/start.c: Likewise.
36343 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36344 * sysdeps/x86_64/sysdep.h: Likewise.
36346 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36349 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36351 * argp/argp-fmtstream.h: Use const instead __const.
36352 * argp/argp.h: Likewise.
36353 * assert/assert.h: Likewise.
36354 * bits/fenv.h: Likewise.
36355 * bits/sched.h: Likewise.
36356 * bits/sigset.h: Likewise.
36357 * bits/sigthread.h: Likewise.
36358 * catgets/nl_types.h: Likewise.
36359 * conform/data/pthread.h-data: Likewise.
36360 * crypt/crypt-private.h: Likewise.
36361 * crypt/crypt.h: Likewise.
36362 * crypt/crypt_util.c: Likewise.
36363 * ctype/ctype.h: Likewise.
36364 * debug/execinfo.h: Likewise.
36365 * debug/mbsnrtowcs_chk.c: Likewise.
36366 * debug/mbsrtowcs_chk.c: Likewise.
36367 * debug/wcsnrtombs_chk.c: Likewise.
36368 * debug/wcsrtombs_chk.c: Likewise.
36369 * debug/wcstombs_chk.c: Likewise.
36370 * dirent/dirent.h: Likewise.
36371 * dlfcn/dlfcn.h: Likewise.
36372 * elf/neededtest4.c: Likewise.
36373 * grp/grp.h: Likewise.
36374 * gshadow/gshadow.h: Likewise.
36375 * iconv/gconv.h: Likewise.
36376 * iconv/gconv_int.h: Likewise.
36377 * iconv/gconv_simple.c: Likewise.
36378 * iconv/iconv.h: Likewise.
36379 * iconv/loop.c: Likewise.
36380 * iconv/skeleton.c: Likewise.
36381 * include/aio.h: Likewise.
36382 * include/aliases.h: Likewise.
36383 * include/argz.h: Likewise.
36384 * include/arpa/inet.h: Likewise.
36385 * include/assert.h: Likewise.
36386 * include/dirent.h: Likewise.
36387 * include/dlfcn.h: Likewise.
36388 * include/execinfo.h: Likewise.
36389 * include/fcntl.h: Likewise.
36390 * include/fenv.h: Likewise.
36391 * include/glob.h: Likewise.
36392 * include/grp.h: Likewise.
36393 * include/libintl.h: Likewise.
36394 * include/mntent.h: Likewise.
36395 * include/netdb.h: Likewise.
36396 * include/pwd.h: Likewise.
36397 * include/rpc/netdb.h: Likewise.
36398 * include/sched.h: Likewise.
36399 * include/search.h: Likewise.
36400 * include/shadow.h: Likewise.
36401 * include/signal.h: Likewise.
36402 * include/stdio.h: Likewise.
36403 * include/stdlib.h: Likewise.
36404 * include/string.h: Likewise.
36405 * include/sys/socket.h: Likewise.
36406 * include/sys/stat.h: Likewise.
36407 * include/sys/statfs.h: Likewise.
36408 * include/sys/statvfs.h: Likewise.
36409 * include/sys/syslog.h: Likewise.
36410 * include/sys/time.h: Likewise.
36411 * include/sys/uio.h: Likewise.
36412 * include/time.h: Likewise.
36413 * include/unistd.h: Likewise.
36414 * include/utmp.h: Likewise.
36415 * include/wchar.h: Likewise.
36416 * include/wctype.h: Likewise.
36417 * inet/aliases.h: Likewise.
36418 * inet/arpa/inet.h: Likewise.
36419 * inet/netinet/ether.h: Likewise.
36420 * inet/netinet/in.h: Likewise.
36421 * intl/libintl.h: Likewise.
36422 * io/bits/fcntl2.h: Likewise.
36423 * io/fcntl.h: Likewise.
36424 * io/ftw.h: Likewise.
36425 * io/sys/poll.h: Likewise.
36426 * io/sys/stat.h: Likewise.
36427 * io/sys/statfs.h: Likewise.
36428 * io/sys/statvfs.h: Likewise.
36429 * io/utime.h: Likewise.
36430 * libio/bits/stdio.h: Likewise.
36431 * libio/bits/stdio2.h: Likewise.
36432 * libio/libio.h: Likewise.
36433 * libio/libioP.h: Likewise.
36434 * libio/stdio.h: Likewise.
36435 * locale/lc-ctype.c: Likewise.
36436 * locale/locale.h: Likewise.
36437 * login/utmp.h: Likewise.
36438 * malloc/arena.c: Likewise.
36439 * malloc/malloc.c: Likewise.
36440 * malloc/malloc.h: Likewise.
36441 * malloc/mcheck.c: Likewise.
36442 * malloc/mtrace.c: Likewise.
36443 * math/bits/mathcalls.h: Likewise.
36444 * math/fenv.h: Likewise.
36445 * math/math_private.h: Likewise.
36446 * misc/bits/error.h: Likewise.
36447 * misc/bits/syslog.h: Likewise.
36448 * misc/err.h: Likewise.
36449 * misc/error.h: Likewise.
36450 * misc/fstab.h: Likewise.
36451 * misc/mntent.h: Likewise.
36452 * misc/regexp.h: Likewise.
36453 * misc/search.h: Likewise.
36454 * misc/sgtty.h: Likewise.
36455 * misc/sys/mman.h: Likewise.
36456 * misc/sys/syslog.h: Likewise.
36457 * misc/sys/uio.h: Likewise.
36458 * misc/sys/xattr.h: Likewise.
36459 * misc/ttyent.h: Likewise.
36460 * nis/rpcsvc/ypclnt.h: Likewise.
36461 * nss/nss.h: Likewise.
36462 * posix/bits/unistd.h: Likewise.
36463 * posix/fnmatch.h: Likewise.
36464 * posix/glob.h: Likewise.
36465 * posix/sched.h: Likewise.
36466 * posix/spawn.h: Likewise.
36467 * posix/sys/wait.h: Likewise.
36468 * posix/unistd.h: Likewise.
36469 * posix/wordexp.h: Likewise.
36470 * pwd/pwd.h: Likewise.
36471 * resolv/netdb.h: Likewise.
36472 * resource/sys/resource.h: Likewise.
36473 * rt/aio.h: Likewise.
36474 * rt/bits/mqueue2.h: Likewise.
36475 * rt/mqueue.h: Likewise.
36476 * shadow/shadow.h: Likewise.
36477 * signal/signal.h: Likewise.
36478 * socket/send.c: Likewise.
36479 * socket/sendto.c: Likewise.
36480 * socket/sys/socket.h: Likewise.
36481 * stdio-common/printf.h: Likewise.
36482 * stdlib/bits/stdlib.h: Likewise.
36483 * stdlib/fmtmsg.h: Likewise.
36484 * stdlib/monetary.h: Likewise.
36485 * stdlib/stdlib.h: Likewise.
36486 * stdlib/ucontext.h: Likewise.
36487 * streams/stropts.h: Likewise.
36488 * string/argz.h: Likewise.
36489 * string/bits/string2.h: Likewise.
36490 * string/string.h: Likewise.
36491 * string/strings.h: Likewise.
36492 * sunrpc/rpc/auth.h: Likewise.
36493 * sunrpc/rpc/auth_des.h: Likewise.
36494 * sunrpc/rpc/clnt.h: Likewise.
36495 * sunrpc/rpc/netdb.h: Likewise.
36496 * sunrpc/rpc/pmap_clnt.h: Likewise.
36497 * sunrpc/rpc/xdr.h: Likewise.
36498 * sysdeps/generic/inttypes.h: Likewise.
36499 * sysdeps/generic/net/if.h: Likewise.
36500 * sysdeps/generic/sys/swap.h: Likewise.
36501 * sysdeps/gnu/net/if.h: Likewise.
36502 * sysdeps/gnu/utmpx.h: Likewise.
36503 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36504 * sysdeps/i386/i486/bits/string.h: Likewise.
36505 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36506 * sysdeps/s390/bits/string.h: Likewise.
36507 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36508 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36509 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36510 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36511 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36512 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36513 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36514 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36515 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36516 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36517 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36518 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36519 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36520 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36521 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36522 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36523 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36527 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36528 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36529 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36530 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36531 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36532 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36533 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36535 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36536 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36537 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36538 * sysvipc/sys/ipc.h: Likewise.
36539 * sysvipc/sys/msg.h: Likewise.
36540 * sysvipc/sys/sem.h: Likewise.
36541 * sysvipc/sys/shm.h: Likewise.
36542 * termios/termios.h: Likewise.
36543 * time/sys/time.h: Likewise.
36544 * time/time.h: Likewise.
36545 * wcsmbs/bits/wchar2.h: Likewise.
36546 * wcsmbs/uchar.h: Likewise.
36547 * wcsmbs/wchar.h: Likewise.
36548 * wctype/wctype.h: Likewise.
36551 * Makeconfig: Remove all but ELF support including AIX support.
36552 * Makerules: Likewise.
36553 * config.h.in: Likewise.
36554 * config.make.in: Likewise.
36555 * configure: Likewise.
36556 * configure.in: Likewise.
36557 * csu/Makefile: Likewise.
36558 * csu/version.c: Likewise.
36559 * debug/Makefile: Likewise.
36560 * dlfcn/Makefile: Likewise.
36561 * elf/Makefile: Likewise.
36562 * extra-lib.mk: Likewise.
36563 * iconv/Makefile: Likewise.
36564 * include/libc-symbols.h: Likewise.
36565 * include/shlib-compat.h: Likewise.
36566 * resolv/Makefile: Likewise.
36567 * resolv/res_libc.c: Likewise.
36568 * rt/Makefile: Likewise.
36569 * sysdeps/i386/asm-syntax.h: Likewise.
36570 * sysdeps/i386/sysdep.h: Likewise.
36571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36572 * sysdeps/mach/sysdep.h: Likewise.
36573 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36574 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36575 * sysdeps/s390/asm-syntax.h: Likewise.
36576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36578 * sysdeps/sh/sysdep.h: Likewise.
36579 * sysdeps/unix/sparc/sysdep.h: Likewise.
36580 * sysdeps/wordsize-32/divdi3.c: Likewise.
36581 * sysdeps/x86_64/sysdep.h: Likewise.
36583 * argp/Versions: Remove _argp_unlock_xxx.
36586 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36587 * abilist/libBrokenLocale.abilist: Likewise.
36588 * abilist/libanl.abilist: Likewise.
36589 * abilist/libc.abilist: Likewise.
36590 * abilist/libcrypt.abilist: Likewise.
36591 * abilist/libdl.abilist: Likewise.
36592 * abilist/libm.abilist: Likewise.
36593 * abilist/libnsl.abilist: Likewise.
36594 * abilist/libpthread.abilist: Likewise.
36595 * abilist/libresolv.abilist: Likewise.
36596 * abilist/librt.abilist: Likewise.
36597 * abilist/libthread_db.abilist: Likewise.
36598 * abilist/libutil.abilist: Likewise.
36599 * abilist/libnss_db.abilist: New file.
36601 * scripts/abilist.awk: Add support for indirect functions.
36603 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36605 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36607 * shlib-versions: Remove entries for ports architectures.
36609 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36611 * elf/stackguard-macros.h: Remove support for IA-64.
36612 * elf/tst-auditmod1.c: Likewise.
36613 * sysdeps/generic/ldsodefs.h: Likewise.
36615 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36616 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36620 * configure.in: Remove --enable-omitfp support.
36622 * config.make.in: Likewise.
36623 * Makeconfig: Likewise.
36624 * manual/install.texi: Likewise.
36626 In case anyone cares, the IA-64 architecture could move to ports.
36627 * sysdeps/ia64/*: Removed.
36628 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36629 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36632 * configure.in: Remove entries for unsupported architectures.
36635 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36636 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36638 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36639 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36640 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36641 fall back to using wcrtomb.
36642 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36643 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36645 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36646 * wcsmbs/tst-c16c32-1.c: New file.
36648 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36651 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36653 * elf/tst-unique3.cc: Add explicit declaration of gets.
36654 * elf/tst-unique3lib.cc: Likewise.
36655 * elf/tst-unique3lib2.cc: Likewise.
36656 * elf/tst-unique4.cc: Likewise.
36658 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36660 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36663 * assert/assert.h (static_assert): Don't define for C++.
36664 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36665 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36667 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36669 * iconv/loop.c (single loop): Fix assertion in storing of
36672 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36674 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36676 * posix/getconf.c: Update copyright year.
36677 * nss/getent.c: Likewise.
36678 * nss/makedb.c: Likewise.
36679 * iconv/iconvconfig.c: Likewise.
36680 * iconv/iconv_prog.c: Likewise.
36681 * elf/ldconfig.c: Likewise.
36682 * elf/pldd.c: Likewise.
36683 * elf/sotruss.ksh: Likewise.
36684 * catgets/gencat.c: Likewise.
36685 * csu/version.c: Likewise.
36686 * elf/ldd.bash.in: Likewise.
36687 * elf/sprof.c (print_version): Likewise.
36688 * locale/programs/locale.c: Likewise.
36689 * locale/programs/localedef.c: Likewise.
36690 * login/programs/pt_chown.c: Likewise.
36691 * nscd/nscd.c (print_version): Likewise.
36692 * debug/xtrace.sh: Likewise.
36693 * malloc/memusage.sh: Likewise.
36694 * malloc/mtrace.pl: Likewise.
36695 * debug/catchsegv.sh: Likewise.
36697 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36699 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36702 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36705 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36706 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36708 * iconv/gconv_int.h: Likewise.
36709 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36710 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36711 from libc for GLIBC_2.16.
36712 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36713 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36714 * wcsmbs/uchar.h: Really define mbstate_t.
36715 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36716 * wcsmbs/c16rtomb.c: New file.
36717 * wcsmbs/mbrtoc16.c: New file.
36718 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36719 for C/POSIX locale.
36720 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36721 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36723 * wcsmbs/wchar.h: Add missing __restrict.
36725 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36728 * time/Makefile (routines): Add timespec_get.
36729 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36730 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36731 timespec for ISO C11.
36732 * time/timespec_get.c: New file.
36733 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36734 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36737 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36738 * stdlib/stdlib.h: Declare aligned_alloc.
36739 * Versions.def: Add GLIBC_2.16 for libc.
36740 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36743 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36746 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36750 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36753 * assert/assert.h (static_assert): Define.
36755 * version.h: Update for 2.16 development version.
36758 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36761 * version.h (RELEASE): Bump for 2.15 release.
36762 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36764 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36765 Patch by Marek Polacek <mpolacek@redhat.com>.
36767 * bits/byteswap.h: Protect long long constants with __extension__.
36768 * sysdeps/i386/bits/byteswap.h: Likewise.
36769 * sysdeps/ia64/bits/byteswap.h: Likewise.
36770 * sysdeps/s390/bits/byteswap.h: Likewise.
36771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36773 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36777 destination buffer.
36778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36780 2011-12-23 Marek Polacek <polacek@redhat.com>
36782 * elf/dl-addr.c (determine_info): Add inline keyword.
36783 * elf/tst-auditmod4b.c (check_avx): Likewise.
36784 * elf/tst-auditmod6b.c (check_avx): Likewise.
36785 * elf/tst-auditmod6c.c (check_avx): Likewise.
36786 * elf/tst-auditmod7b.c (check_avx): Likewise.
36788 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36790 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36793 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36797 processing for last bytes.
36799 2011-08-06 Bruno Haible <bruno@clisp.org>
36802 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36803 U+0385, not to U+1FEE.
36806 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36807 entry for U+00A5 U+0301.
36809 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36812 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36813 buffer for the output is too small.
36815 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36819 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36820 SSE flags if possible.
36822 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36826 processing for last bytes.
36828 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36830 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36831 (syscall-list-default-options, syscall-list-default-condition)
36832 (syscall-list-includes): Define.
36833 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36834 list of ABIs and options and #if conditions for each ABI. Do not
36835 handle common syscalls between ABIs specially.
36836 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36838 (syscall-list-variants, syscall-list-32bit-options)
36839 (syscall-list-32bit-condition, syscall-list-64bit-options)
36840 (syscall-list-64bit-condition): Define.
36841 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36842 (syscall-list-variants, syscall-list-32bit-options)
36843 (syscall-list-32bit-condition, syscall-list-64bit-options)
36844 (syscall-list-64bit-condition): Define.
36845 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36847 (syscall-list-variants, syscall-list-32bit-options)
36848 (syscall-list-32bit-condition, syscall-list-64bit-options)
36849 (syscall-list-64bit-condition): Define.
36850 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36852 (syscall-list-variants, syscall-list-32bit-options)
36853 (syscall-list-32bit-condition, syscall-list-64bit-options)
36854 (syscall-list-64bit-condition): Define.
36856 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36858 * locale/iso-639.def: Add brx entry.
36861 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36862 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36864 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36865 __feraiseexcept_renamed.
36867 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36870 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36871 EPOLLET with unsigned values.
36872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36873 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36875 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36876 to large cancellation.
36877 * math/s_cacoshf.c: Likewise.
36878 * math/s_cacoshl.c: Likewise.
36880 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36884 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36885 * math/s_cacoshf.c: Likewise.
36886 * math/s_cacoshl.c: Likewise.
36888 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36891 * iconv/gconv.h: Define __GCONV_SWAP.
36892 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36893 * iconvdata/utf-16.c: Likewise.
36894 * iconvdata/utf-32.c: Likewise.
36896 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36900 numerator after shifting it by one limb.
36902 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36904 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36905 under [__USE_EXTERN_INLINES].
36907 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36910 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36912 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36914 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36915 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36917 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36918 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36919 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36920 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36921 for strncasecmp/strncasecmp_l compilation.
36922 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36923 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36925 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36928 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36934 * time/tzfile.c (__tzfile_read): Check values from file header.
36936 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36938 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36939 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36940 * powerpc/powerpc32/dl-start.S: Likewise.
36941 * powerpc/powerpc32/elf/start.S: Likewise.
36942 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36943 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36944 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36945 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36946 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36947 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36948 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36949 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36950 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36951 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36952 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36953 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36954 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36955 * powerpc/powerpc32/memset.S: Likewise.
36956 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36957 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36958 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36959 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36960 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36961 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36962 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36963 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36964 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36965 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36966 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36967 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36968 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36970 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36972 * math/libm-test.inc: Added more nearbyint tests.
36973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36978 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36980 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36983 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36985 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36986 Add wcscpy-ssse3 wcscpy-c.
36987 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36988 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36989 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36990 * sysdeps/x86_64/wcschr.S: New file.
36991 * sysdeps/x86_64/wcsrchr.S: New file.
36992 * string/test-strcmp.c: Remove checking of wcscmp function for
36994 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36995 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36996 wcsrchr-sse2 wcsrchr-c.
36997 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36998 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36999 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37000 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37001 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37002 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37003 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37004 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37006 * wcsmbc/wcschr.c (WCSCHR): New macro.
37008 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37010 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37011 * wcsmbs/test-wcsrchr.c: New file.
37012 * string/test-strrchr.c: Add wcsrchr support.
37014 * wcsmbs/test-wcscpy.c: New file.
37015 * string/test-strcpy.c: Add wcscpy support.
37018 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37020 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37023 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37026 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37028 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37030 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37031 Minor optimizations.
37033 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37034 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37035 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37037 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37039 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37040 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37041 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37042 for gcc to avoid warnings.
37043 * inet/Makefile (tests): Add tst-checks.
37044 * inet/tst-checks.c: New file.
37046 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37049 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37052 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37053 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37055 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37057 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37059 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37062 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37064 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37066 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37067 conditional on GCC version.
37068 (__arch_compare_and_exchange_val_8_acq)
37069 (__arch_compare_and_exchange_val_16_acq)
37070 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37071 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37072 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37074 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37076 * sysdeps/sh/backtrace.c: New file.
37078 2011-12-02 Andreas Schwab <schwab@redhat.com>
37080 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37083 2011-12-01 Andreas Schwab <schwab@redhat.com>
37085 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37086 falling back to utime.
37088 2011-11-30 Andreas Schwab <schwab@redhat.com>
37090 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37091 expectations for float.
37093 2011-11-29 Andreas Schwab <schwab@redhat.com>
37095 * locale/weight.h (findidx): Add parameter len.
37096 * locale/weightwc.h (findidx): Likewise.
37097 * posix/fnmatch_loop.c (FCT): Adjust caller.
37098 * posix/regcomp.c (build_equiv_class): Likewise.
37099 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37100 * posix/regexec.c (check_node_accept_bytes): Likewise.
37101 * string/strcoll_l.c (STRCOLL): Likewise.
37102 * string/strxfrm_l.c (STRXFRM): Likewise.
37104 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37106 * Makefile.in: Remove CVSOPT handling.
37107 * configure.in: Remove use of AC_REVISION.
37108 * iconvdata/Makefile (distribute): No need to filter out CVS.
37109 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37112 2011-11-16 Andreas Schwab <schwab@redhat.com>
37114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37115 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37116 [USE_AS_STRNCASECMP_L]: Likewise.
37117 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37118 NO_TLS_DIRECT_SEG_REFS.
37119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37120 Fix argument offsets for non-PIC.
37121 [USE_AS_STRNCASECMP_L]: Likewise.
37122 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37123 NO_TLS_DIRECT_SEG_REFS.
37125 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37127 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37129 * locale/loadlocale.c (_nl_load_locale): Likewise.
37131 2011-11-15 Andreas Schwab <schwab@redhat.com>
37133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37134 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37136 (SYSCALL_GETTIME): Set errno on error.
37138 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37139 count references to noai6ai_cached.
37141 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37143 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37145 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37146 FD_CLOEXEC for /proc/self/maps.
37148 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37149 FD_CLOEXEC for /proc/meminfo.
37151 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37154 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37155 FD_CLOEXEC for given file.
37157 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37159 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37160 FD_CLOEXEC for /etc/hosts.
37161 (_gethtent): Likewise.
37163 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37165 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37166 cancellation and set FD_CLOEXEC for /etc/netgroup.
37168 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37169 reading /etc/publickey.
37171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37172 allow cancellation when reading /etc/group.
37174 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37176 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37178 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37179 when using data file.
37181 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37183 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37184 (write_nis_obj): Use "c" and "e" in fopen.
37186 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37188 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37190 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37192 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37194 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37197 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37199 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37201 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37203 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37204 file parsing and set FD_CLOEXEC.
37206 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37208 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37210 2011-11-14 Andreas Schwab <schwab@redhat.com>
37212 * malloc/arena.c (arena_get2): Don't call reused_arena when
37213 _int_new_arena failed.
37215 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37217 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37218 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37223 to compile strcasecmp and strncasecmp.
37224 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37225 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37229 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37231 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37232 locale-defines.sym to gen-as-const-headers.
37233 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37234 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37236 to compile strcasecmp and strncasecmp.
37237 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37238 strcasecmp_l and strncasecmp_l.
37239 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37240 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37241 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37242 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37243 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37244 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37245 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37246 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37247 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37248 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37249 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37251 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37253 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37254 result of SYSDEP_GETTIME_CPU to retval.
37255 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37256 parameter list to macro. Remove trailing semicolon. Adjust users.
37258 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37261 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37263 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37265 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37266 from unused variable.
37268 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37270 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37273 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37276 * sunrpc/rpc_prot.c (rejected): Fix case value.
37278 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37279 unsigned long long int to avoid warnings in shift.
37281 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37283 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37286 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37287 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37288 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37290 * nis/nis_table.c (nis_list): Use variable of correct type for
37291 result of __follow_path call.
37293 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37295 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37296 of math functions ceil, trunc, floor, round, and sqrt, when
37297 avaliable on the platform.
37298 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37301 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37302 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37304 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37306 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37307 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37309 2011-11-11 Roland McGrath <roland@hack.frob.com>
37311 * include/unistd.h: Fix __readlink return type.
37312 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37314 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37316 * stdlib/ucontext.h: Undo last change for makecontext.
37318 2011-11-11 Andreas Schwab <schwab@redhat.com>
37320 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37322 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37323 * setjmp/setjmp.h: Mark functions as non-leaf.
37324 * setjmp/bits/setjmp2.h: Likewise.
37325 * stdlib/ucontext.h: Likewise.
37327 2011-11-10 Andreas Schwab <schwab@redhat.com>
37329 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37330 (reused_arena): Don't check arena limit.
37331 (arena_get2): Atomically check arena limit.
37333 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37335 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37336 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37341 2011-11-07 Andreas Schwab <schwab@redhat.com>
37343 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37344 handler when locking.
37346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37347 Fix size of allocated buffer.
37349 2011-11-04 Andreas Schwab <schwab@redhat.com>
37352 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37353 declarations for long double functions.
37354 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37356 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37358 2011-11-03 Andreas Schwab <schwab@redhat.com>
37360 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37363 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37366 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37368 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37370 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37372 * include/alloca.h (stackinfo_alloca_round): Define.
37373 (extend_alloca): Use it.
37374 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37375 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37378 * scripts/check-local-headers.sh: Ignore libaudit.h.
37380 * nscd/Makefile (extra-objs): Make recursively expanded.
37382 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37384 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37387 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37388 * posix/tst-rfc3484-2.c: Likewise.
37389 * posix/tst-rfc3484-3.c: Likewise.
37391 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37393 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37395 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37396 process_vm_writev from libc using GLIBC_2.15 version.
37398 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37400 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37402 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37405 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37408 * nss/getent.c (initgroups_keys): Show error message in case no group
37411 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37412 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37413 __bump_nl_timestamp.
37414 * nscd/connections (nscd_init): When host database is served open
37415 netlink socket and request notification about configuration changes.
37416 (main_loop_poll): Track netlink file descriptor and bump timestamp
37417 in case data becomes available.
37418 (main_loop_epoll): Likewise.
37419 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37420 (database_pers_head): Add extra_data fileds.
37421 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37422 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37423 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37426 in6ai data, call __free_in6ai.
37427 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37428 Add -DHAVE_NETLINK.
37429 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37430 interface information. Reuse previous data if netlink timestamp
37432 (__bump_nl_timestamp): New function.
37433 (__free_in6ai): New function.
37435 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37437 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37438 close_not_cancel_no_status here.
37439 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37441 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37444 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37447 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37448 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37449 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37451 2011-07-03 Andreas Jaeger <aj@suse.de>
37454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37455 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37456 * math/libm-test.inc (sin_test): Add test case.
37458 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37461 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37462 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37464 * elf/chroot_canon.c (chroot_canon): Cleanups.
37466 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37469 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37472 * string/test-strchr.c: Make usable for strchrnul testing.
37473 * string/test-strchrnul.c: New file.
37474 * string/Makefile (strop-tests): Add strchrnul.
37476 * po/it.po: Update from translation team.
37477 * po/es.po: Likewise.
37479 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37481 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37482 the three constants needed as parameters. Drop the others.
37483 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37484 __m128i_strloadu_tolower.
37485 Create and initialize variable zero and use it in all the places
37486 where _mm_setzero_si128 was used.
37488 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37489 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37490 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37491 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37493 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37494 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37495 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37496 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37497 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37498 __mpranred, __mptan.
37499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37503 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37504 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37506 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37507 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37509 2011-10-28 Andreas Schwab <schwab@redhat.com>
37511 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37512 redefine if SHARED.
37513 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37516 wide char related routines to wcsmbs subdir.
37518 2011-10-27 Andreas Schwab <schwab@redhat.com>
37521 * misc/sys/cdefs.h (__THROWNL): Define.
37522 * posix/unistd.h: Use __THREADNL instead of __THREAD
37523 for memory synchronization functions.
37525 2011-10-26 Roland McGrath <roland@hack.frob.com>
37528 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37530 * manual/stdio.texi (Obstack Streams): Node removed.
37532 2011-10-26 Andreas Schwab <schwab@redhat.com>
37534 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37535 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37536 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37538 * math/math_private.h (math_force_eval): Allow non-addressable
37540 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37542 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37544 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37545 file is not needed.
37547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37556 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37559 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37563 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37570 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37572 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37574 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37576 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37577 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37579 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37580 place. Use VEX encoding when compiling for AVX.
37582 2011-10-25 Andreas Schwab <schwab@redhat.com>
37584 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37585 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37587 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37589 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37591 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37592 useless if() expression.
37593 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37605 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37607 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37609 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37611 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37613 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37615 2011-10-25 Andreas Schwab <schwab@redhat.com>
37617 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37621 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37623 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37624 .text section. Avoid duplicate constants.
37625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37635 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37637 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37640 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37642 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37649 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37651 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37656 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37657 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37658 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37659 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37660 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37661 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37663 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37664 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37665 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37666 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37667 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37668 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37669 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37671 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37673 * sysdeps/x86_64/dla.h: Move to ...
37674 * sysdeps/x86_64/fpu/dla.h: ...here.
37675 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37676 situations. Use __builtin_fma only for gcc 4.6 and up.
37678 * config.make.in: Add have-mfma4 entry.
37679 * configure.in: Substitute libc_cv_cc_fma4.
37680 * math/Makefile (dbl-only-routines): Add sincostab.
37681 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37682 Use __sincostab not sincos.
37683 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37690 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37691 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37692 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37693 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37695 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37696 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37698 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37699 define aliases when function name is a macro.
37700 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37701 sysdeps/ieee754/dbl-64/sincos.tbl.
37702 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37703 fma4-enabled routines.
37704 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37727 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37731 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37732 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37733 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37735 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37746 2011-10-24 Andreas Schwab <schwab@redhat.com>
37748 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37750 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37754 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37756 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37758 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37759 Remove unused variable magic_bits.
37760 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37762 * string/strnlen.c: Define and use STRNLEN macro.
37763 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37764 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37766 * wcsmbs/wcslen.c: Define and use WCSLEN.
37767 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37768 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37769 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37770 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37771 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37772 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37773 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37775 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37778 strnlen-sse2-no-bsf.
37779 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37781 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37782 Add strnlen support.
37783 (USE_AS_STRNLEN): New macro.
37784 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37785 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37786 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37787 * sysdeps/x86_64/wcslen.S: New file.
37789 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37791 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37792 XMM-moves are used for copying on small sizes.
37794 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37796 * wcsmbs/Makefile (strop-tests): Add wcschr.
37797 * wcsmbs/test-wcschr.c: New file.
37798 * string/test-strchr.c: Update.
37799 Add wcschr support.
37802 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37804 * wcsmbs/Makefile (strop-tests): Add wcslen.
37805 * wcsmbs/test-wcslen.c: New file.
37806 * string/test-strlen.c: Update.
37807 Add wcslen support.
37810 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37812 * po/it.po: Update from translation team.
37814 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37816 * sysdeps/x86_64/wcscmp.S: Update.
37817 Fix wrong comparison semantics.
37818 wcscmp shall use signed comparison not unsigned.
37819 Don't use substraction to avoid overflow bug.
37820 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37821 * wcsmbc/wcscmp.c: Likewise.
37822 * string/test-strcmp.c: Likewise.
37823 Add new tests to check cases with negative values.
37825 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37827 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37828 * sysdeps/x86_64/dla.h: ...here. New file.
37829 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37839 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37842 __ynl_finite aliases.
37844 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37848 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37850 [DLA_FMA] (EMULV): Use DLA_FMA.
37851 [DLA_FMA] (MUL12): Use EMULV.
37852 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37853 that are not needed.
37854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37862 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37864 * math/s_nan.c: Undef __nan.
37865 * math/s_nanf.c: Undef __nanf.
37866 * math/s_nanl.c: Undef __nanl.
37867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37870 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37872 * math/s_catan.c: Add branch predictions.
37873 * math/s_catanf.c: Likewise.
37874 * math/s_catanh.c: Likewise.
37875 * math/s_catanhf.c: Likewise.
37876 * math/s_catanhl.c: Likewise.
37877 * math/s_catanl.c: Likewise.
37878 * math/s_cexp.c: Likewise.
37879 * math/s_cexpf.c: Likewise.
37880 * math/s_cexpl.c: Likewise.
37881 * math/s_clog.c: Likewise.
37882 * math/s_clog10.c: Likewise.
37883 * math/s_clog10f.c: Likewise.
37884 * math/s_clog10l.c: Likewise.
37885 * math/s_clogf.c: Likewise.
37886 * math/s_clogl.c: Likewise.
37887 * math/s_csqrt.c: Likewise.
37888 * math/s_csqrtf.c: Likewise.
37889 * math/s_csqrtl.c: Likewise.
37890 * math/s_ctanf.c: Likewise.
37891 * math/s_ctanh.c: Likewise.
37892 * math/s_ctanhf.c: Likewise.
37893 * math/s_ctanhl.c: Likewise.
37894 * math/s_ctanl.c: Likewise.
37896 * math/math_private.h: Define __nan, __nanf, __nanl.
37897 * math/s_cacosh.c: Include <math_private.h>.
37898 * math/s_cacoshl.c: Likewise.
37899 * math/s_casinh.c: Likewise.
37900 * math/s_casinhf.c: Likewise.
37901 * math/s_casinhl.c: Likewise.
37902 * math/s_ccos.c: Rely entire on ccosh.
37903 * math/s_ccosf.c: Rely entire on ccoshf.
37904 * math/s_ccosl.c: Rely entirely on ccoshl.
37905 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37906 Remove tests for FE_INVALID.
37907 * math/s_ccoshf.c: Likewise.
37908 * math/s_ccoshl.c: Likewise.
37909 * math/s_csin.c: Likewise.
37910 * math/s_csinf.c: Likewise.
37911 * math/s_csinh.c Likewise.
37912 * math/s_csinhf.c: Likewise.
37913 * math/s_csinhl.c: Likewise.
37914 * math/s_csinl.c: Likewise.
37915 * math/s_ctan.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37917 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37920 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37923 compilation problems.
37925 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37928 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37930 * sysdeps/i386/configure.in: Test for -mfma4 option.
37931 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37932 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37933 COMMON_CPUID_INDEX_80000001.
37934 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37935 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37936 use it if FMA3 is not supported.
37937 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37939 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37940 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37942 2011-10-20 Andreas Schwab <schwab@redhat.com>
37945 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37946 it would create a cycle with a link time dependency.
37948 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37950 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37952 * string/Makefile (strop-tests): Add rawmemchr.
37953 * string/test-rawmemchr.c: New file.
37955 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37957 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37958 when compiling str{,n}casecmp and when AVX is available. Hook up
37959 new optimized code in initializers.
37961 2011-10-19 Andreas Schwab <schwab@redhat.com>
37963 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37964 __feraiseexcept instead of feraiseexcept.
37966 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37968 * math/math_private.h: Define defaults for libc_fetestexcept and
37970 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37971 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37973 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37974 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37975 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37976 libc_fetestexcept and libc_feupdateenv.
37978 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37979 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37980 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37981 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37982 libc_feholdexcept_setround.
37984 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37985 Add s_nearbyint-c and s_nearbyintf-c.
37986 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37987 nearbyintf inlines.
37988 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37990 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37993 * math/math_private.h: Define defaults for libc_fegetround,
37994 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37995 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37996 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37998 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37999 standard functions.
38000 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38001 Remove comments and hacks for old compiler versions.
38002 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38003 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38004 libc_feholdexceptl.
38006 2011-10-18 Andreas Schwab <schwab@redhat.com>
38008 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38009 (__feraiseexcept_renamed): Add __NTH.
38010 (feraiseexcept): Add __NTH. Rename local variables to fix
38011 namespace violations.
38013 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38015 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38017 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38019 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38020 recently added interfaces.
38021 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38023 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38024 about macro parameter expansion.
38026 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38027 __NO_MATH_INLINES is defined. Cleanups.
38029 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38030 and __floorf is target has SSE4.1.
38031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38032 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38036 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38038 (floorf): Likewise.
38040 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38042 2011-10-17 Andreas Schwab <schwab@redhat.com>
38044 * misc/sys/cdefs.h: Fix last change.
38046 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38049 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38051 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38053 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38060 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38063 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38064 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38065 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38066 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38068 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38069 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38070 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38071 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38072 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38073 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38074 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38076 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38077 ceil, ceilf, floor, floorf.
38079 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38080 Perform IRELATIVE relocations last.
38082 * elf/do-rel.h: Add another parameter nrelative, replacing the
38083 local variable with the same name. Change name of the function
38084 to end in Rel or Rela (uppercase).
38085 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38086 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38087 elf_dynamic_do_##reloc function.
38089 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38091 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38092 is sufficient, at least on modern CPUs.
38094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38096 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38097 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38099 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38101 * math/bits/math-finite.h: Add entries for exp.
38102 * math/e_expl.c: Add __*_finite alias.
38103 * sysdeps/i386/fpu/e_exp.S: Likewise.
38104 * sysdeps/i386/fpu/e_expf.S: Likewise.
38105 * sysdeps/i386/fpu/e_expl.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38111 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38112 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38114 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38115 is sufficient, at least on modern CPUs.
38117 * ctype/ctype-info.c (__ctype_init): Define.
38118 * include/ctype.h (__ctype_init): Declare.
38119 (__ctype_b_loc): The variable is always initialized.
38120 (__ctype_toupper_loc): Likewise.
38121 (__ctype_tolower_loc): Likewise.
38122 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38123 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38125 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38127 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38129 * configure.in: Also look in $cxxmachine/include for C++ system
38132 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38134 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38135 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38136 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38137 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38138 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38139 (USE_AS_WMEMCMP): New macro.
38141 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38142 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38143 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38144 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38146 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38147 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38149 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38150 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38151 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38152 (USE_AS_WMEMCMP): New macro.
38153 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38154 * sysdeps/string/test-memcmp.c: Update.
38155 Fix simple_wmemcmp.
38157 * wcsmbs/wmemcmp.c: Update.
38158 (WMEMCMP): New macro.
38161 2011-10-12 Andreas Jaeger <aj@suse.de>
38164 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38166 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38168 * libio/iofwide.c (do_length): Avoid warning.
38170 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38172 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38174 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38176 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38177 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38178 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38179 * sysdeps/i386/i686/fpu/e_log.S: New file.
38180 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38181 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38183 * ctype/ctype.h: Add support for inlined isXXX functions when
38184 compiling C++ code.
38186 2011-10-14 Andreas Schwab <schwab@redhat.com>
38188 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38190 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38192 2011-10-13 Roland McGrath <roland@hack.frob.com>
38195 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38197 2011-10-13 Andreas Schwab <schwab@redhat.com>
38199 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38200 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38203 * sysdeps/x86_64/memrchr.S: Check for zero size.
38205 * string/stratcliff.c: Add memrchr tests.
38207 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38210 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38211 rawmemchr-sse2 rawmemchr-sse2-bsf.
38212 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38213 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38214 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38215 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38216 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38217 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38218 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38219 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38220 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38221 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38222 * string/memrchr.c (MEMRCHR): New macro.
38224 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38226 Add integration with gcc's -ffinite-math-only and optimize wrapper
38228 * Versions.def: Define GLIBC_2.15 version for libm.
38229 * math/Makefile (headers): Add bits/math-finite.h.
38230 * math/bits/math-finite.h: New file.
38231 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38232 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38233 * math/e_acoshl.c: Add __*_finite alias.
38234 * math/e_acosl.c: Likewise.
38235 * math/e_asinl.c: Likewise.
38236 * math/e_atan2l.c: Likewise.
38237 * math/e_atanhl.c: Likewise.
38238 * math/e_coshl.c: Likewise.
38239 * math/e_exp10.c: Likewise.
38240 * math/e_exp10f.c: Likewise.
38241 * math/e_exp10l.c: Likewise.
38242 * math/e_exp2l.c: Likewise.
38243 * math/e_fmodl.c: Likewise.
38244 * math/e_gammal_r.c: Likewise.
38245 * math/e_hypotl.c: Likewise.
38246 * math/e_j0l.c: Likewise.
38247 * math/e_j1l.c: Likewise.
38248 * math/e_jnl.c: Likewise.
38249 * math/e_lgammal_r.c: Likewise.
38250 * math/e_log10l.c: Likewise.
38251 * math/e_log2l.c: Likewise.
38252 * math/e_logl.c: Likewise.
38253 * math/e_powl.c: Likewise.
38254 * math/e_sinhl.c: Likewise.
38255 * math/e_sqrtl.c: Likewise.
38256 * math/e_scalb.c: Completely rewritten and optimized.
38257 * math/e_scalbf.c: Likewise.
38258 * math/e_scalbl.c: Likewise.
38259 * math/w_acos.c: Likewise.
38260 * math/w_acosf.c: Likewise.
38261 * math/w_acosl.c: Likewise.
38262 * math/w_acosh.c: Likewise.
38263 * math/w_acoshf.c: Likewise.
38264 * math/w_acoshl.c: Likewise.
38265 * math/w_asin.c: Likewise.
38266 * math/w_asinf.c: Likewise.
38267 * math/w_asinl.c: Likewise.
38268 * math/w_atan2.c: Likewise.
38269 * math/w_atan2f.c: Likewise.
38270 * math/w_atan2l.c: Likewise.
38271 * math/w_atanh.c: Likewise.
38272 * math/w_atanhf.c: Likewise.
38273 * math/w_atanhl.c: Likewise.
38274 * math/w_exp10.c: Likewise.
38275 * math/w_exp10f.c: Likewise.
38276 * math/w_exp10l.c: Likewise.
38277 * math/w_fmod.c: Likewise.
38278 * math/w_fmodf.c: Likewise.
38279 * math/w_fmodl.c: Likewise.
38280 * math/w_j0.c: Likewise.
38281 * math/w_j0f.c: Likewise.
38282 * math/w_j0l.c: Likewise.
38283 * math/w_j1.c: Likewise.
38284 * math/w_j1f.c: Likewise.
38285 * math/w_j1l.c: Likewise.
38286 * math/w_jn.c: Likewise.
38287 * math/w_jnf.c: Likewise.
38288 * math/w_log.c: Likewise.
38289 * math/w_logf.c: Likewise.
38290 * math/w_logl.c: Likewise.
38291 * math/w_log10.c: Likewise.
38292 * math/w_log10f.c: Likewise.
38293 * math/w_log10l.c: Likewise.
38294 * math/w_log2.c: Likewise.
38295 * math/w_log2f.c: Likewise.
38296 * math/w_log2l.c: Likewise.
38297 * math/w_pow.c: Likewise.
38298 * math/w_powf.c: Likewise.
38299 * math/w_powl.c: Likewise.
38300 * math/w_remainder.c: Likewise.
38301 * math/w_remainderf.c: Likewise.
38302 * math/w_remainderl.c: Likewise.
38303 * math/w_scalb.c: Likewise.
38304 * math/w_scalbf.c: Likewise.
38305 * math/w_scalbl.c: Likewise.
38306 * math/w_sqrt.c: Likewise.
38307 * math/w_sqrtf.c: Likewise.
38308 * math/w_sqrtl.c: Likewise.
38309 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38310 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38312 * math/math_private.h: Declare __kernel_standard_f.
38313 * math/w_cosh.c: Remove cruft and optimize a bit.
38314 * math/w_coshf.c: Likewise.
38315 * math/w_coshl.c: Likewise.
38316 * math/w_exp2.c: Likewise.
38317 * math/w_exp2f.c: Likewise.
38318 * math/w_exp2l.c: Likewise.
38319 * math/w_hypot.c: Likewise.
38320 * math/w_hypotf.c: Likewise.
38321 * math/w_hypotl.c: Likewise.
38322 * math/w_lgamma.c: Likewise.
38323 * math/w_lgamma_r.c: Likewise.
38324 * math/w_lgammaf.c: Likewise.
38325 * math/w_lgammaf_r.c: Likewise.
38326 * math/w_lgammal.c: Likewise.
38327 * math/w_lgammal_r.c: Likewise.
38328 * math/w_sinh.c: Likewise.
38329 * math/w_sinhf.c: Likewise.
38330 * math/w_sinhl.c: Likewise.
38331 * math/w_tgamma.c: Likewise.
38332 * math/w_tgammaf.c: Likewise.
38333 * math/w_tgammal.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38336 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38337 Minor optimizations. Pretty printing. Remove cruft.
38338 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38339 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38340 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38341 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38342 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38343 * sysdeps/i386/fpu/e_asin.S: Likewise.
38344 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38345 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38346 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38347 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38348 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38349 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38351 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38352 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38353 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38354 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38355 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38356 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38357 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38358 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38359 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38360 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38361 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38362 * sysdeps/i386/fpu/e_log.S: Likewise.
38363 * sysdeps/i386/fpu/e_log10.S: Likewise.
38364 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38366 * sysdeps/i386/fpu/e_log2.S: Likewise.
38367 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38368 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38369 * sysdeps/i386/fpu/e_logf.S: Likewise.
38370 * sysdeps/i386/fpu/e_logl.S: Likewise.
38371 * sysdeps/i386/fpu/e_pow.S: Likewise.
38372 * sysdeps/i386/fpu/e_powf.S: Likewise.
38373 * sysdeps/i386/fpu/e_powl.S: Likewise.
38374 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38375 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38376 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38377 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38378 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38379 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38380 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38381 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38382 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38404 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38410 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38424 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38468 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38471 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38474 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38475 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38476 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38477 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38478 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38479 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38480 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38481 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38482 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38483 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38484 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38485 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38486 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38489 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38491 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38493 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38494 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38495 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38496 (__isnanf): Likewise.
38497 (__isinf_ns): Likewise.
38498 (__isinf_nsf): Likewise.
38499 (__finite): Likewise.
38500 (__finitef): Likewise.
38501 (__ieee754_sqrt): Define as macro.
38502 (__ieee754_sqrtf): Define as macro.
38503 (__ieee754_sqrtl): Define as macro.
38504 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38506 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38507 __FINITE_MATH_ONLY__ consistent.
38508 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38510 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38512 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38515 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38517 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38519 * po/ja.po: Update from translation team.
38521 2011-10-08 Roland McGrath <roland@hack.frob.com>
38523 * locale/programs/locarchive.c (prepare_address_space): New function.
38524 (create_archive, enlarge_archive, open_archive): Use it.
38526 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38527 inside [SHARED], where it is used.
38529 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38531 * nss/getent.c (netgroup_keys): Remove unused variable.
38532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38534 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38536 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38537 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38540 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38541 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38542 * math/Makefile (libm-calls): Add s_isinf_ns.
38543 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38544 * math/multc3.c: Likewise.
38545 * math/s_casin.c: Likewise.
38546 * math/s_casinf.c: Likewise.
38547 * math/s_casinl.c: Likewise.
38548 * math/s_ccos.c: Likewise.
38549 * math/s_ccosf.c: Likewise.
38550 * math/s_ccosl.c: Likewise.
38551 * math/s_ctan.c: Likewise.
38552 * math/s_ctanf.c: Likewise.
38553 * math/s_ctanh.c: Likewise.
38554 * math/s_ctanhf.c: Likewise.
38555 * math/s_ctanhl.c: Likewise.
38556 * math/s_ctanl.c: Likewise.
38557 * math/w_fmod.c: Likewise.
38558 * math/w_fmodf.c: Likewise.
38559 * math/w_fmodl.c: Likewise.
38560 * math/w_remainder.c: Likewise.
38561 * math/w_remainderf.c: Likewise.
38562 * math/w_remainderl.c: Likewise.
38563 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38564 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38565 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38567 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38568 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38569 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38570 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38572 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38574 * stdio-common/printf_fphex.c: Likewise.
38575 * stdio-common/printf_size.c: Likewise.
38577 * math/e_exp10.c: Include math_private.h using <...> not "...".
38578 * math/e_exp10f.c: Likewise.
38579 * math/e_exp10l.c: Likewise.
38580 * math/e_exp2l.c: Likewise.
38581 * math/e_j0l.c: Likewise.
38582 * math/e_j1l.c: Likewise.
38583 * math/e_jnl.c: Likewise.
38584 * math/e_lgammal_r.c: Likewise.
38585 * math/e_rem_pio2l.c: Likewise.
38586 * math/e_scalb.c: Likewise.
38587 * math/e_scalbf.c: Likewise.
38588 * math/e_scalbl.c: Likewise.
38589 * math/k_cosl.c: Likewise.
38590 * math/k_sinl.c: Likewise.
38591 * math/k_tanl.c: Likewise.
38592 * math/s_cacoshf.c: Likewise.
38593 * math/s_catan.c: Likewise.
38594 * math/s_catanf.c: Likewise.
38595 * math/s_catanh.c: Likewise.
38596 * math/s_catanhf.c: Likewise.
38597 * math/s_catanhl.c: Likewise.
38598 * math/s_catanl.c: Likewise.
38599 * math/s_ccosh.c: Likewise.
38600 * math/s_ccoshf.c: Likewise.
38601 * math/s_ccoshl.c: Likewise.
38602 * math/s_cexp.c: Likewise.
38603 * math/s_cexpf.c: Likewise.
38604 * math/s_cexpl.c: Likewise.
38605 * math/s_clog.c: Likewise.
38606 * math/s_clog10.c: Likewise.
38607 * math/s_clog10f.c: Likewise.
38608 * math/s_clog10l.c: Likewise.
38609 * math/s_clogf.c: Likewise.
38610 * math/s_clogl.c: Likewise.
38611 * math/s_csin.c: Likewise.
38612 * math/s_csinf.c: Likewise.
38613 * math/s_csinh.c: Likewise.
38614 * math/s_csinhf.c: Likewise.
38615 * math/s_csinhl.c: Likewise.
38616 * math/s_csinl.c: Likewise.
38617 * math/s_csqrt.c: Likewise.
38618 * math/s_csqrtf.c: Likewise.
38619 * math/s_csqrtl.c: Likewise.
38620 * math/s_ctan.c: Likewise.
38621 * math/s_ctanf.c: Likewise.
38622 * math/s_ctanh.c: Likewise.
38623 * math/s_ctanhf.c: Likewise.
38624 * math/s_ctanhl.c: Likewise.
38625 * math/s_ctanl.c: Likewise.
38626 * math/s_ldexp.c: Likewise.
38627 * math/s_ldexpf.c: Likewise.
38628 * math/s_ldexpl.c: Likewise.
38629 * math/s_significand.c: Likewise.
38630 * math/s_significandf.c: Likewise.
38631 * math/s_significandl.c: Likewise.
38632 * math/w_acos.c: Likewise.
38633 * math/w_acosf.c: Likewise.
38634 * math/w_acosh.c: Likewise.
38635 * math/w_acoshf.c: Likewise.
38636 * math/w_acoshl.c: Likewise.
38637 * math/w_acosl.c: Likewise.
38638 * math/w_asin.c: Likewise.
38639 * math/w_asinf.c: Likewise.
38640 * math/w_asinl.c: Likewise.
38641 * math/w_atan2.c: Likewise.
38642 * math/w_atan2f.c: Likewise.
38643 * math/w_atan2l.c: Likewise.
38644 * math/w_atanh.c: Likewise.
38645 * math/w_atanhf.c: Likewise.
38646 * math/w_atanhl.c: Likewise.
38647 * math/w_cosh.c: Likewise.
38648 * math/w_coshf.c: Likewise.
38649 * math/w_coshl.c: Likewise.
38650 * math/w_dremf.c: Likewise.
38651 * math/w_exp10.c: Likewise.
38652 * math/w_exp10f.c: Likewise.
38653 * math/w_exp10l.c: Likewise.
38654 * math/w_exp2.c: Likewise.
38655 * math/w_exp2f.c: Likewise.
38656 * math/w_fmod.c: Likewise.
38657 * math/w_fmodf.c: Likewise.
38658 * math/w_fmodl.c: Likewise.
38659 * math/w_hypot.c: Likewise.
38660 * math/w_hypotf.c: Likewise.
38661 * math/w_hypotl.c: Likewise.
38662 * math/w_j0.c: Likewise.
38663 * math/w_j0f.c: Likewise.
38664 * math/w_j0l.c: Likewise.
38665 * math/w_j1.c: Likewise.
38666 * math/w_j1f.c: Likewise.
38667 * math/w_j1l.c: Likewise.
38668 * math/w_jn.c: Likewise.
38669 * math/w_jnf.c: Likewise.
38670 * math/w_jnl.c: Likewise.
38671 * math/w_lgamma.c: Likewise.
38672 * math/w_lgamma_r.c: Likewise.
38673 * math/w_lgammaf.c: Likewise.
38674 * math/w_lgammaf_r.c: Likewise.
38675 * math/w_lgammal.c: Likewise.
38676 * math/w_lgammal_r.c: Likewise.
38677 * math/w_log.c: Likewise.
38678 * math/w_log10.c: Likewise.
38679 * math/w_log10f.c: Likewise.
38680 * math/w_log10l.c: Likewise.
38681 * math/w_log2.c: Likewise.
38682 * math/w_log2f.c: Likewise.
38683 * math/w_log2l.c: Likewise.
38684 * math/w_logf.c: Likewise.
38685 * math/w_logl.c: Likewise.
38686 * math/w_pow.c: Likewise.
38687 * math/w_powf.c: Likewise.
38688 * math/w_powl.c: Likewise.
38689 * math/w_remainder.c: Likewise.
38690 * math/w_remainderf.c: Likewise.
38691 * math/w_remainderl.c: Likewise.
38692 * math/w_scalb.c: Likewise.
38693 * math/w_scalbf.c: Likewise.
38694 * math/w_scalbl.c: Likewise.
38695 * math/w_sinh.c: Likewise.
38696 * math/w_sinhf.c: Likewise.
38697 * math/w_sinhl.c: Likewise.
38698 * math/w_sqrt.c: Likewise.
38699 * math/w_sqrtf.c: Likewise.
38700 * math/w_sqrtl.c: Likewise.
38701 * math/w_tgamma.c: Likewise.
38702 * math/w_tgammaf.c: Likewise.
38703 * math/w_tgammal.c: Likewise.
38705 * po/ja.po: Update from translation team.
38707 2011-09-29 Andreas Jaeger <aj@suse.de>
38710 * sunrpc/netname.c (netname2host): Fix logic.
38714 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38716 * math/w_remainder.c (__remainder): Likewise.
38717 * math/w_remainderf.c (__remainderf): Likewise.
38718 * math/libm-test.inc (remainder_test): Add test cases.
38720 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38722 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38725 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38727 * string/test-memcmp.c: Avoid unncessary #defines.
38728 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38730 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38732 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38733 Use new sse2 version for core i3 - i7 as it's faster
38734 than sse42 version.
38735 (bit_Prefer_PMINUB_for_stringop): New.
38736 * sysdeps/x86_64/rawmemchr.S: Update.
38737 Replace with faster SSE2 version.
38738 * sysdeps/x86_64/memrchr.S: New file.
38739 * sysdeps/x86_64/memchr.S: Update.
38740 Replace with faster SSE2 version.
38742 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38744 * elf/dl-load.c (lose): Add cast to avoid warning.
38746 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38748 * po/ca.po: Update from translation team.
38750 * inet/getnetgrent_r.c: Hook up nscd.
38751 * nscd/Makefile (routines): Add nscd_netgroup.
38752 (nscd-modules): Add netgroupcache.
38753 (CFLAGS-netgroupcache.c): Define.
38754 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38755 (cache_search): Add const to second parameter.
38756 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38758 (dbs): Add netgrdb entry.
38759 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38760 (verify_persistent_db): Handle netgrdb.
38761 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38762 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38764 (netgroup_response_header): Define.
38765 (innetgroup_response_header): Define.
38766 (datahead): Add netgroup_response_header and innetgroup_response_header
38768 * nscd/nscd.conf: Add entries for netgroup cache.
38769 * nscd/nscd.h (dbtype): Add netgrdb.
38770 (_PATH_NSCD_NETGROUP_DB): Define.
38771 (netgroup_iov_disabled): Declare.
38772 (xmalloc, xcalloc, xrealloc): Move declarations here.
38773 (cache_search): Adjust prototype.
38774 Add netgroup-related prototypes.
38775 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38776 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38777 (__nscd_innetgr): Declare.
38778 * nscd/selinux.c (perms): Use access_vector_t as element type and
38779 add netgroup-related initializers.
38780 * nscd/netgroupcache.c: New file.
38781 * nscd/nscd_netgroup.c: New file.
38782 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38783 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38784 For four parameters use innetgr.
38785 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38786 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38787 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38788 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38790 * nscd/connections.c (register_traced_file): Don't register file
38791 for disabled databases.
38793 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38795 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38797 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38798 from tree and freeing node.
38800 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38802 * nss/nsswitch.c (__nss_database_lookup): Handle
38803 nss_parse_service_list out of memory case.
38805 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38807 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38808 out of memory case.
38810 2011-10-04 Andreas Schwab <schwab@redhat.com>
38812 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38813 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38815 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38816 elf_machine_rela, elf_machine_lazy_rel.
38817 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38818 (ELF_DYNAMIC_DO_REL): Likewise.
38819 (ELF_DYNAMIC_DO_RELA): Likewise.
38820 (ELF_DYNAMIC_RELOCATE): Likewise.
38821 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38822 to ELF_DYNAMIC_DO_REL.
38823 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38824 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38825 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38828 skip_ifunc, don't call ifunc function if non-zero.
38829 (elf_machine_rela): Likewise.
38830 (elf_machine_lazy_rel): Likewise.
38831 (elf_machine_lazy_rela): Likewise.
38832 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38833 (elf_machine_lazy_rel): Likewise.
38834 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38836 (elf_machine_lazy_rel): Likewise.
38837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38839 (elf_machine_lazy_rel): Likewise.
38840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38841 (elf_machine_lazy_rel): Likewise.
38842 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38843 (elf_machine_lazy_rel): Likewise.
38844 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38845 (elf_machine_lazy_rel): Likewise.
38846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38847 (elf_machine_lazy_rel): Likewise.
38848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38849 (elf_machine_lazy_rel): Likewise.
38850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38851 (elf_machine_lazy_rel): Likewise.
38853 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38855 * nss/nss_files/files-init.c (_nss_files_init): Use static
38856 initialization for all the *_traced_file variables.
38858 2011-09-28 Andreas Schwab <schwab@redhat.com>
38860 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38862 2011-09-27 Roland McGrath <roland@hack.frob.com>
38865 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38867 2011-09-27 Andreas Schwab <schwab@redhat.com>
38869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38870 Reread the line before reparsing it.
38872 2011-09-26 Andreas Schwab <schwab@redhat.com>
38874 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38876 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38877 Maxim Kuvyrkov <maxim@codesourcery.com>
38878 Joseph Myers <joseph@codesourcery.com>
38880 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38881 if needed for __stack_chk_guard.
38883 2011-09-19 Roland McGrath <roland@hack.frob.com>
38885 * sysdeps/posix/spawni.c (script_execute): Always define it.
38886 It will be optimized away if unused.
38887 (maybe_script_execute): New function.
38888 (__spawni): Call it.
38890 * Makerules: Don't include tls.make.
38891 (config-tls): Always set to thread.
38892 * tls.make.c: File removed.
38894 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38896 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38897 * config.make.in (CPPFLAGS-config): New substituted variable.
38899 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38901 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38904 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38905 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38907 2011-09-15 Roland McGrath <roland@hack.frob.com>
38909 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38910 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38912 (CALL_FAIL): Likewise.
38913 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38914 (CALL_FAIL): Macro removed.
38915 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38917 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38919 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38920 for __FINITE_MATH_ONLY__ == 1.
38922 2011-09-15 Andreas Schwab <schwab@redhat.com>
38924 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38925 __ieee754_sqrt instead of sqrt.
38926 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38927 __ieee754_sqrtf instead of sqrtf.
38928 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38929 __floorf instead of floorf.
38930 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38931 __floorf, __truncf instead of floorf, truncf.
38933 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38935 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38937 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38938 __extern_always_inline.
38939 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38942 2011-09-14 Andreas Schwab <schwab@redhat.com>
38944 * elf/rtld.c (dl_main): Also relocate in dependency order when
38945 doing symbol dependency testing.
38947 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38950 Always define `refsym'.
38952 2011-09-13 Andreas Schwab <schwab@redhat.com>
38954 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38955 (__FD_ELT): Renamed from __FDELT.
38956 * misc/bits/select2.h (__FD_ELT): Likewise.
38957 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38958 __FD_MASK instead of __FDELT, __FDMASK.
38959 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38961 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38964 * elf/Makefile (gen-ldd): Fix pattern.
38966 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38967 (init_tls): Likewise.
38969 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38971 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38973 2011-09-12 Andreas Schwab <schwab@redhat.com>
38975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38976 `struct cmsghdr *' instead of `void *'.
38977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38980 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38982 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38984 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38985 ldd_rewrite_script.
38987 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38989 * configure.in: Remove --with-tls option.
38990 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38991 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38992 out in case it is missing.
38993 * sysdeps/ia64/elf/configure.in: Likewise.
38994 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38995 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38996 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38997 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38998 * sysdeps/sh/elf/configure.in: Likewise.
38999 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39000 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39001 * sysdeps/x86_64/elf/configure.in: Likewise.
39002 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39003 * sysdeps/mach/hurd/tls.h: Likewise.
39006 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39009 * configure.in: Fix use of AC_INIT.
39011 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39013 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39015 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39017 * malloc/hooks.c: Likewise.
39020 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39021 variables statically.
39022 (narenas): Initialize.
39023 (list_lock): Initialize.
39024 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39025 initializtion of main_arena and list_lock. Small cleanups.
39026 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39027 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39028 Add initializers to main_arena and mp_.
39029 (malloc_state): Remove pagesize member. Change all users to use
39032 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39033 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39034 is always initialized.
39036 * malloc/malloc.c: Removed unused configurations and dead code.
39037 * malloc/arena.c: Likewise.
39038 * malloc/hooks.c: Likewise.
39039 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39041 * include/tls.h: Removed. USE___THREAD must always be defined.
39042 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39043 * elf/dl-libc.c: Likewise.
39044 * elf/dl-tsd.c: Likewise.
39045 * include/errno.h: Likewise.
39046 * include/netdb.h: Likewise.
39047 * include/resolv.h: Likewise.
39048 * inet/herrno-loc.c: Likewise.
39049 * inet/herrno.c: Likewise.
39050 * malloc/arena.c: Likewise.
39051 * malloc/hooks.c: Likewise.
39052 * malloc/malloc.c: Likewise.
39053 * resolv/res-state.c: Likewise.
39054 * resolv/res_libc.c: Likewise.
39055 * sysdeps/i386/dl-machine.h: Likewise.
39056 * sysdeps/ia64/dl-machine.h: Likewise.
39057 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39059 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39060 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39061 * sysdeps/sh/dl-machine.h: Likewise.
39062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39063 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39064 * sysdeps/unix/i386/sysdep.S: Likewise.
39065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39066 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39067 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39071 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39075 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39076 * sysdeps/x86_64/dl-machine.h: Likewise.
39077 * tls.make.c: Likewise.
39079 * configure.in: Remove --with-__thread option. Make tests for
39080 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39081 tls_model attribute fail if no support is available. Remove
39083 * Makeconfig: Adjust for dropped configure option. All features are
39085 * Makerules: Likewise.
39086 * Versions.def: Likewise.
39087 * argp/argp-fmtstream.c: Likewise.
39088 * argp/argp-fmtstream.h: Likewise.
39089 * argp/argp-help.c: Likewise.
39090 * assert/assert.c: Likewise.
39091 * config.h.in: Likewise.
39092 * config.make.in: Likewise.
39093 * configure: Likewise.
39094 * configure.in: Likewise.
39095 * csu/Versions: Likewise.
39096 * csu/init.c: Likewise.
39097 * elf/tst-audit2.c: Likewise.
39098 * elf/tst-tls10.c: Likewise.
39099 * elf/tst-tls10.h: Likewise.
39100 * elf/tst-tls11.c: Likewise.
39101 * elf/tst-tls12.c: Likewise.
39102 * elf/tst-tls14.c: Likewise.
39103 * elf/tst-tlsmod11.c: Likewise.
39104 * elf/tst-tlsmod12.c: Likewise.
39105 * elf/tst-tlsmod13.c: Likewise.
39106 * elf/tst-tlsmod13a.c: Likewise.
39107 * elf/tst-tlsmod14a.c: Likewise.
39108 * elf/tst-tlsmod15b.c: Likewise.
39109 * elf/tst-tlsmod16a.c: Likewise.
39110 * elf/tst-tlsmod16b.c: Likewise.
39111 * elf/tst-tlsmod7.c: Likewise.
39112 * elf/tst-tlsmod8.c: Likewise.
39113 * elf/tst-tlsmod9.c: Likewise.
39114 * gmon/gmon.c: Likewise.
39115 * grp/fgetgrent_r.c: Likewise.
39116 * grp/putgrent.c: Likewise.
39117 * hurd/fopenport.c: Likewise.
39118 * include/libc-symbols.h: Likewise.
39119 * include/tls.h: Likewise.
39120 * intl/gettextP.h: Likewise.
39121 * intl/loadinfo.h: Likewise.
39122 * locale/global-locale.c: Likewise.
39123 * locale/localeinfo.h: Likewise.
39124 * mach/devstream.c: Likewise.
39125 * malloc/arena.c: Likewise.
39126 * malloc/set-freeres.c: Likewise.
39127 * misc/err.c: Likewise.
39128 * misc/getttyent.c: Likewise.
39129 * misc/mntent_r.c: Likewise.
39130 * posix/getopt.c: Likewise.
39131 * posix/wordexp.c: Likewise.
39132 * pwd/fgetpwent_r.c: Likewise.
39133 * resolv/Versions: Likewise.
39134 * resolv/res_hconf.c: Likewise.
39135 * shadow/fgetspent_r.c: Likewise.
39136 * shadow/putspent.c: Likewise.
39137 * stdio-common/printf_fphex.c: Likewise.
39138 * stdio-common/tmpfile.c: Likewise.
39139 * stdlib/abort.c: Likewise.
39140 * stdlib/fmtmsg.c: Likewise.
39141 * sunrpc/auth_unix.c: Likewise.
39142 * sunrpc/clnt_perr.c: Likewise.
39143 * sunrpc/clnt_tcp.c: Likewise.
39144 * sunrpc/clnt_udp.c: Likewise.
39145 * sunrpc/clnt_unix.c: Likewise.
39146 * sunrpc/openchild.c: Likewise.
39147 * sunrpc/svc_simple.c: Likewise.
39148 * sunrpc/svc_tcp.c: Likewise.
39149 * sunrpc/svc_udp.c: Likewise.
39150 * sunrpc/svc_unix.c: Likewise.
39151 * sunrpc/xdr.c: Likewise.
39152 * sunrpc/xdr_array.c: Likewise.
39153 * sunrpc/xdr_rec.c: Likewise.
39154 * sunrpc/xdr_ref.c: Likewise.
39155 * sunrpc/xdr_stdio.c: Likewise.
39157 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39159 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39161 2011-07-03 Andreas Jaeger <aj@suse.de>
39163 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39164 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39165 regenerate with gen-libm-tests.pl.
39167 2010-05-12 Petr Baudis <pasky@suse.cz>
39170 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39171 around j0() zero points by switching to j1().
39172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39181 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39184 Patch in part by Pavel Roskin <proski@gnu.org>.
39187 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39189 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39190 Free memory block if necessary.
39193 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39194 be NULL. Don't lock in this case.
39196 2011-09-09 Roland McGrath <roland@hack.frob.com>
39198 * elf/elf.h (ELFOSABI_GNU): New macro.
39199 (ELFOSABI_LINUX): Define to that.
39201 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39203 * string/strncat.c (strncat): Undef the symbol in case it has been
39204 defined in bits/string.h.
39206 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39208 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39213 2011-08-17 Andreas Jaeger <aj@suse.de>
39215 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39217 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39218 Ian Lance Taylor <iant@google.com>
39220 * math/libm-test.inc (lround_test): New testcase.
39221 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39223 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39225 * Makefile: Remove support for automatic cvs check-ins.
39226 * Makerules: Likewise.
39227 * config.make.in: Likewise.
39228 * configure.in: Likewise.
39229 * intl/Makefile: Likewise.
39230 * locale/Makefile: Likewise.
39231 * po/Makefile: Likewise.
39232 * posix/Makefile: Likewise.
39233 * sysdeps/gnu/Makefile: Likewise.
39234 * sysdeps/mach/hurd/Makefile: Likewise.
39235 * sysdeps/sparc/sparc32/Makefile: Likewise.
39238 * posix/Makefile (bug-regex32-ENV): Define.
39239 Patch by John Stanley <jpsinthemix@verizon.net>.
39241 * misc/Makefile (headers): Add bits/select2.h.
39242 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39243 * misc/bits/select2.h: New file.
39244 * include/bits/select2.h: New file.
39245 * debug/Makefile (routines): Add fdelt_chk.
39246 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39247 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39249 * debug/fdelt_chk.c: New file.
39251 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39252 * wcsmbs/test-wmemcmp.c: Likewise.
39253 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39254 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39256 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39258 * string/Makefile (strop-tests): Add memcmp.
39259 * string/test-wmemcmp.c: New file.
39260 * string/test-memcmp.c: Add wmemcmp support.
39262 2011-09-08 Roland McGrath <roland@hack.frob.com>
39265 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39268 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39269 garbage value in a __mach_port_mod_refs call in the cases of the
39270 task-self and thread-self ports.
39272 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39274 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39276 2011-09-08 Andreas Schwab <schwab@redhat.com>
39278 * elf/dl-load.c (lose): Check for non-null L.
39280 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39282 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39284 * elf/dl-libc.c (dlerror_run): Pass back error code from
39288 * elf/dl-load.c (lose): Free l_origin if it is valid.
39290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39292 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39293 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39294 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39296 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39297 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39299 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39301 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39302 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39303 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39304 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39305 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39306 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39307 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39308 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39309 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39310 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39312 2011-08-15 Alan Modra <amodra@gmail.com>
39315 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39316 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39317 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39318 ppc_mcount to static-only-routines.
39319 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39321 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39322 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39324 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39326 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39327 for finite and infinity parameters.
39329 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39332 and add nop instructions for throughput optimization.
39333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39335 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39338 aligned copy for power7 with vector-scalar instructions.
39339 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39341 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39346 2011-09-07 Andreas Schwab <schwab@redhat.com>
39349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39352 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39354 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39355 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39356 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39357 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39360 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39362 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39363 Forgot to demangle the pointer.
39365 * sysdeps/i386/sysdep.h: Define atom_text_section.
39366 * sysdeps/x86_64/sysdep.h: Likewise.
39367 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39368 section with atom_text_section.
39369 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39371 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39373 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39376 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39377 already be defined. Change to take two parameters and don't assign
39378 result to variable. Adjust all users.
39379 Define INTERNAL_GETTIME if not already defined.
39380 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39383 HAVE_CLOCK_GETTIME_VSYSCALL.
39384 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39387 gettimeofday vsyscall, just use time.
39389 2011-09-06 Andreas Schwab <schwab@redhat.com>
39391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39394 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39396 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39400 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39402 syscall if possible.
39404 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39406 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39407 e_ident. Don't pass to find_mapsXX.
39408 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39410 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39413 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39414 * sysdeps/x86_64/multiarch/strchr.S: Update.
39415 Check bit_slow_BSF bit.
39416 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39418 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39420 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39423 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39425 (tryshell): Define.
39426 (__spawni): Change last parameter to be flag. Test
39427 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39428 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39429 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39430 * posix/spawni.c: Likewise.
39431 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39432 * posix/spawnp.c: Likewise. Change normal version to use
39433 SPAWN_XFLAGS_USE_PATH.
39434 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39435 SPAWN_XFLAGS_TRY_SHELL.
39438 * posix/glob.h: Remove gcc 1.x support.
39441 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39443 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39446 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39448 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39449 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39450 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39455 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39457 * sysdeps/x86_64/wcscmp.S: New file.
39459 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39460 wcscmp-c wcscmp-sse2
39461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39462 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39464 * wcsmbs/wcscmp.c: Allow renaming.
39466 2011-09-05 David S. Miller <davem@davemloft.net>
39468 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39469 stack slot, rather than the struct return pointer slot.
39470 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39471 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39475 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39477 * po/ja.po: Update from translation team.
39480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39481 kernel in 64-bit binaries.
39483 2011-09-01 David S. Miller <davem@davemloft.net>
39485 * elf/elf.h (HWCAP_SPARC_*): Move to..
39486 * sysdeps/sparc/sysdep.h: this new file and add new values.
39487 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39488 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39489 _DL_HWCAP_COUNT to 24.
39490 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39492 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39493 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39494 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39496 instead of magic constants.
39497 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39499 2011-08-31 David S. Miller <davem@davemloft.net>
39501 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39503 Reimplement to do errno handling inline.
39504 (SYSCALL_ERROR_HANDLER): New macro.
39505 (__SYSCALL_STRING): Do not do errno handling in asm.
39506 (__CLONE_SYSCALL_STRING): Delete.
39507 (__INTERNAL_SYSCALL_STRING): Delete.
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39509 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39510 (PSEUDO): Reimplement to do errno handling inline.
39511 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39512 (SYSCALL_ERROR_HANDLER): New macro.
39513 (__SYSCALL_STRING): Do not do errno handling in asm.
39514 (__CLONE_SYSCALL_STRING): Delete.
39515 (__INTERNAL_SYSCALL_STRING): Delete.
39516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39517 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39519 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39520 (inline_syscall*): Add 'err' argument.
39521 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39522 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39523 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39524 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39526 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39527 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39529 2011-08-30 Andreas Schwab <schwab@redhat.com>
39531 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39533 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39535 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39538 2011-08-24 David S. Miller <davem@davemloft.net>
39540 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39542 2011-08-24 Andreas Schwab <schwab@redhat.com>
39544 * elf/Makefile: Add rules to build and run unload8 test.
39545 * elf/unload8.c: New file.
39546 * elf/unload8mod1.c: New file.
39547 * elf/unload8mod1x.c: New file.
39548 * elf/unload8mod2.c: New file.
39549 * elf/unload8mod3.c: New file.
39551 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39554 2011-08-23 David S. Miller <davem@davemloft.net>
39556 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39557 subtract stack bias.
39558 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39559 %sp not %fp in calculations.
39560 (_JMPBUF_UNWINDS_ADJ): Likewise.
39562 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39563 (aio_suspend): Call it to force an exception region around the
39564 AIO_MISC_WAIT() invocation.
39566 2011-08-23 Andreas Schwab <schwab@redhat.com>
39568 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39571 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39573 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39575 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39576 and <dl-machine.h>.
39577 (Elf64_FuncDesc): Remove.
39579 2011-08-22 David S. Miller <davem@davemloft.net>
39581 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39582 sigaltstack check, add missing cfi directives.
39583 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39584 missing cfi directives, and sigaltstack handling.
39586 2011-08-16 Andreas Schwab <schwab@redhat.com>
39589 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39590 object is seen twice.
39591 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39593 * elf/Makefile (distribute): Add tst-initorder2.c.
39594 (tests): Add tst-initorder2.
39595 (modules-names): Add tst-initorder2a tst-initorder2b
39596 tst-initorder2c tst-initorder2d. Add rules to build them.
39597 ($(objpfx)tst-initorder2.out): New rule.
39598 * elf/tst-initorder2.c: New file.
39599 * elf/tst-initorder2.exp: New file.
39601 2011-08-22 Andreas Schwab <schwab@redhat.com>
39603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39605 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39606 dependencies back to end of function.
39608 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39609 $(elfobjdir)/ld.so.
39611 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39614 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39616 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39617 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39618 of __vdso_gettimeofday.
39619 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39620 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39622 (_libc_vdso_platform_setup): Remove initialization of
39623 __vdso_gettimeofday and __vdso_time.
39625 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39627 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39628 and fgetc_unlocked.
39629 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39632 * elf/dl-open.c (add_to_global): Report additions to the global scope
39633 for LD_DEBUG=scopes.
39634 (dl_open_worker): Also print scope of newly loaded dependencies.
39635 (_dl_show_scope): Indicate if there is no scope.
39638 * stdio-common/Makefile (tests): Add bug24.
39639 * stdio-common/bug24.c: New file.
39641 2011-08-19 Andreas Jaeger <aj@suse.de>
39644 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39645 non-existant file when using close-on-exec mode.
39647 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39650 the very first instruction.
39652 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39653 the CFI state in the end.
39654 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39655 inclusion of dl-trampoline.h.
39656 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39658 2011-08-19 Andreas Schwab <schwab@redhat.com>
39660 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39661 expectations for long double.
39663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39664 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39666 2011-08-14 David S. Miller <davem@davemloft.net>
39668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39669 artificual limit depends upon the system page size.
39671 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39673 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39674 * resolv/Makefile: Define CFLAGS-libresolv.
39676 2011-08-17 Andreas Schwab <schwab@redhat.com>
39678 * nss/makedb.c (compute_tables): Make variables used in nested
39681 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39683 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39684 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39685 if buffer was too small.
39687 * elf/pldd.c (main): Attach to all threads in the process.
39688 Rewrite /proc handling to use *at functions.
39690 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39692 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39693 specifies first scope to show.
39694 (dl_open_worker): Update callers. Move printing scope of new
39695 object to before the relocation.
39696 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39697 * sysdeps/generic/ldsodefs.h: Update declaration.
39699 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39700 string for the scope number.
39702 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39704 * nscd/servicescache.c (cache_addserv): Make sure written is always
39707 2011-08-14 Roland McGrath <roland@hack.frob.com>
39709 * sysdeps/i386/i486/bits/atomic.h
39710 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39711 statement expression, so as to suppress "set but not used" warning.
39712 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39714 * string/strncat.c (STRNCAT): Use prototype definition.
39716 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39717 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39719 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39720 (localedef-modules): Add localedef.
39721 (locale-modules): Add locale.
39723 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39724 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39725 to avoid a warning.
39727 2011-08-14 David S. Miller <davem@davemloft.net>
39729 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39730 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39732 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39734 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39735 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39736 * elf/rtld.c (dl_main): Set l_name of vDSO.
39737 Call _dl_show_scope when DL_DEBUG_SCOPES.
39738 (process_dl_debug): Recognize scopes flag and also set it for all.
39739 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39740 Declare _dl_show_scope.
39742 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39743 (do_dlopen): Pass caller_dlopen to dl_open.
39744 (__libc_dlopen_mode): Initialize caller_dlopen.
39746 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39747 of libc. Make tolower call locale-independent. Optimize a bit by
39748 using isdigit instead of isalnum.
39749 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39751 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39753 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39754 was a dependency or dynamically loaded.
39756 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39758 * intl/l10nflist.c: Allow architecture-specific pop function.
39759 * sysdeps/x86_64/l10nflist.c: New file.
39761 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39764 2011-08-10 Andreas Schwab <schwab@redhat.com>
39766 * include/dirent.h: Add libc_hidden_proto for scandirat and
39767 scandirat64. Don't declare __scandirat64.
39768 * dirent/scandirat.c: Add libc_hidden_def.
39769 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39770 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39772 2011-08-10 David S. Miller <davem@davemloft.net>
39774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39778 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39780 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39782 * Versions.def [libc]: Add GLIBC_2.15.
39783 * dirent/Makefile (routines): Add scandirat and scandirat64.
39784 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39786 * dirent/dirent.h: Declare scandirat and scandirat64.
39787 * dirent/scandirat.c: New file.
39788 * dirent/scandirat64.c: New file.
39789 * sysdeps/wordsize-64/scandirat.c: New file.
39790 * sysdeps/wordsize-64/scandirat64.c: New file.
39791 * dirent/opendir.c: Define opendirat.
39792 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39794 * dirent/scandir64.c: Adjust for scandir.c change.
39795 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39796 __scandirat64, and __scandir_cancel_handler.
39797 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39798 additional parameter and use openat instead of open (outside of ld.so).
39799 Add new __opendir as wrapper around __opendirat.
39800 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39801 here without requiring old scandirat implementation.
39803 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39805 * dirent/scandir.c (cancel_handler): Renamed to
39806 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39807 defined. Adjust users.
39808 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39809 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39811 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39813 * string/test-string.h (IMPL): Use __STRING to expand name and then
39816 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39819 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39821 * string/Makefile: Update.
39822 (strop-tests): Append strncat.
39823 * string/test-wcscmp.c: New file.
39824 New comprehensive test for wcscmp.
39825 * string/test-strcmp.c: Update.
39826 (WIDE): New define.
39828 2011-07-22 Andreas Schwab <schwab@redhat.com>
39830 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39833 2011-07-26 Andreas Schwab <schwab@redhat.com>
39835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39836 encoding to ACE if AI_IDN.
39838 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39841 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39846 Fix overflow bug in strncat.
39847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39849 * string/test-strncat.c: Update.
39850 Add new tests for checking overflow bugs.
39852 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39855 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39856 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39857 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39858 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39859 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39860 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39861 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39862 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39865 (USE_AS_STRCAT): Define.
39866 Add strcat and strncat support.
39867 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39869 2011-07-25 Andreas Schwab <schwab@redhat.com>
39871 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39872 __n bigger than INT_MAX+1.
39873 (__strncmp_g): Likewise.
39875 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39877 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39878 * libio/stido.h: Likewise.
39880 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39885 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39892 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39897 (_dl_x86_64_save_sse): Likewise.
39899 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39903 (_dl_x86_64_save_sse): Likewise.
39905 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39907 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39909 2011-07-21 Andreas Schwab <schwab@redhat.com>
39911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39913 (_dl_x86_64_save_sse): Use correct AVX check.
39915 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39918 bug in strncpy/strncat.
39919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39921 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39923 * string/tester.c (test_strcat): Add tests for different alignments
39924 of source and destination.
39925 (test_strncat): Likewise.
39927 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39930 * posix/glob.c (glob): Check passed in values before using them in
39931 expressions to avoid some overflows.
39932 (glob_in_dir): Likewise.
39935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39936 check for AVX enablement so that we don't crash with old kernels and
39938 * elf/tst-audit4.c: Add same checks here.
39939 * elf/tst-audit6.c: Likewise.
39941 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39943 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39945 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39947 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39949 * po/cs.po: Update from translation team.
39950 * po/bg.po: Likewise.
39952 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39954 * misc/sys/cdefs.h: Add support for const attribute.
39955 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39956 to gnu_dev_{major,minor,makedev} functions.
39958 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39960 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39962 2011-07-20 Andreas Schwab <schwab@redhat.com>
39964 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39967 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39970 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39971 register in order to avoid conflicts with the soft frame pointer
39972 being held in r11 when necessary.
39973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39974 (INTERNAL_VSYSCALL_NCS): Likewise.
39976 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39978 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39979 * elf/dl-fini.c (_dl_fini): Adjust caller.
39980 * elf/dl-close.c (_dl_close_worker): Likewise.
39981 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39983 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39985 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39986 "aux_cache->nlibs < 0".
39988 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39989 in the reload-count case.
39991 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39994 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39995 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39996 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39997 * sysdeps/x86_64/multiarch/strcat.S: New file.
39998 * sysdeps/x86_64/multiarch/strncat.S: New file.
39999 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40001 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40002 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40003 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40004 (USE_AS_STRCAT): Define.
40005 Add strcat and strncat support.
40006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40008 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40009 * string/strncat.c: Update.
40010 (USE_AS_STRNCAT): Define.
40011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40012 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40014 * sysdeps/x86_64/multiarch/init-arch.h
40015 (bit_Prefer_PMINUB_for_stringop): New.
40016 (index_Prefer_PMINUB_for_stringop): Likewise.
40017 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40018 bit_Prefer_PMINUB_for_stringop.
40020 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40022 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40024 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40025 of casting of buffer.
40026 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40027 buffer32 and buffer64.
40028 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40029 writes instead of casting of buffer.
40030 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40032 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40035 2011-07-19 Andreas Schwab <schwab@redhat.com>
40037 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40039 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40041 * nscd/nscd.c (termination_handler): Don't do anything for a database
40042 if it has not yet been initialized.
40044 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40046 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40048 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40050 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40052 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40054 * po/nl.po: Update from translation team.
40055 * po/sv.po: Likewise.
40057 2011-07-16 Roland McGrath <roland@hack.frob.com>
40059 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40060 now disallowed by GCC.
40062 * configure.in (use-default-link): Default to yes if a test -shared
40063 link meets our qualifications.
40064 * configure: Regenerated.
40066 * config.make.in (output-format): New variable.
40067 * configure.in: Check for ld --print-output-format support.
40068 * configure: Regenerated.
40069 * Makerules ($(common-objpfx)format.lds)
40070 [$(output-format) != unknown]: Just use $(output-format),
40071 instead of the linker-script munging.
40073 2011-07-14 Roland McGrath <roland@hack.frob.com>
40075 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40076 of $(common-objpfx)shlib.lds.
40077 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40079 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40080 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40082 * configure.in (-z relro check): Adjust test code to add a large
40083 writable data section after it.
40084 * configure: Regenerated.
40086 2011-07-11 Roland McGrath <roland@hack.frob.com>
40088 * configure.in (-z relro check): Fix test code to make the variable
40090 * configure: Regenerated.
40092 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40094 * nscd/nscd.h (struct traced_file): Define.
40095 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40096 elements. Add traced_files.
40097 (inotify_fd): Declare.
40098 (register_traced_file): Declare.
40099 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40100 (inotify_fd): Export.
40101 (resolv_conf_descr): Remove.
40102 (nscd_init): Move inotify descriptor creation to main.
40103 Don't register files for notification here.
40104 (register_traced_file): New function.
40105 (invalidate_cache): Don't use reset_res to determine whether to call
40106 res_init, go through the list of registered files.
40107 (main_loop_poll): The inotify descriptors are now stored in the
40108 structures for the traced files.
40109 (main_loop_epoll): Likewise
40110 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40111 to __nss_disable_nscd.
40112 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40113 for a database anymore. Check the records for all the registered
40115 * nss/Makefile (libnss_files-routines): Add files-init.
40116 (libnss_db-routines): Add db-init.
40117 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40118 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40119 * nss/nss_db/db-init.c: New file.
40120 * nss/nss_files/files-init.c: New file.
40121 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40122 __nss_lookup_function.
40123 (__nss_lookup_function): Call nss_load_library.
40124 (nss_load_all_libraries): New function.
40125 (__nss_disable_nscd): Take parameter with callback function for files
40126 to register. Set is_nscd. Load all the DSOs for the NSS modules
40127 used for the cached services.
40128 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40129 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40130 options for features to all the files in nscd.
40132 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40134 2011-07-10 Roland McGrath <roland@hack.frob.com>
40136 * csu/elf-init.c (__libc_csu_init): Comment typo.
40138 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40140 * po/pl.po: Update from translation team.
40141 * po/ja.po: Likewise.
40142 * po/ru.po: Likewise.
40143 * po/ko.po: Likewise.
40144 * po/fr.po: Likewise.
40146 2011-07-09 Roland McGrath <roland@hack.frob.com>
40148 * configure.in (.ctors/.dtors header and trailer check):
40149 Use an empirical test on a built program.
40150 * configure: Regenerated.
40152 * configure.in (-z relro check): Use an empirical test on a built DSO.
40153 Detect, but do not require, on ia64.
40154 * configure: Regenerated.
40156 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40157 Update tests that use readelf to use $READELF instead.
40158 * configure: Regenerated.
40160 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40162 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40163 if the result is not used.
40165 2011-07-05 Andreas Jaeger <aj@suse.de>
40168 * stdlib/tst-strtod.c: Add testcase.
40170 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40172 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40173 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40174 The latter has a higher limit. Take additional parameter to pass to
40176 (__pathconf): Pass file to __statfs_link_max.
40177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40179 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40183 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40186 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40187 (__statfs_filesize_max): Likewise.
40188 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40190 2011-07-05 Andreas Jaeger <aj@suse.de>
40192 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40194 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40196 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40198 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40201 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40203 * Makefile (strop-tests): Add strncat.
40204 * string/test-strncat.c: New file.
40206 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40208 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40210 2011-06-21 Andreas Jaeger <aj@suse.de>
40212 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40213 Copy rule from iconvdata/Makefile.
40215 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40218 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40219 but no long options are defined, just return 'W'.
40221 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40224 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40226 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40228 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40230 (innetgr): Likewise.
40232 2011-07-05 Roland McGrath <roland@hack.frob.com>
40234 * config.make.in (install_root): Default to $(DESTDIR).
40236 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40238 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40240 2011-07-02 Roland McGrath <roland@hack.frob.com>
40242 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40244 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40245 containing directory rather than embedding absolute directory names.
40247 * scripts/check-local-headers.sh: Rewritten using awk.
40248 Match by word, not by line. Print error messages for matches.
40249 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40251 * Makerules [shlib-lds-flags empty]:
40252 ($(common-objpfx)libc_pic.opts): New target.
40253 ($(common-objpfx)libc_pic.os.clean): New target.
40254 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40256 * config.make.in (OBJCOPY): New variable.
40257 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40258 * configure: Regenerated.
40260 * config.make.in (use-default-link): New variable.
40261 * configure.in (use_default_link): Grok --with-default-link to set it.
40262 * configure: Regenerated.
40263 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40264 (shlib-lds, shlib-lds-flags): Define to empty.
40266 * Makerules (shlib-lds): New variable.
40267 (shlib-lds-flags): New variable.
40268 (build-shlib, build-moduile, build-module-asneeded): Use it.
40269 ($(common-objpfx)libc.so): Use $(shlib-lds).
40270 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40271 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40273 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40274 DT_FLAGS/DT_FLAGS_1 with zero flags.
40276 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40277 linker script munging.
40279 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40281 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40283 * crypt/sha512.c (sha512_process_block): Perform total addition using
40284 128-bit if possible.
40285 (__sha512_finish_ctx): Likewise.
40286 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40288 * crypt/sha256.c (SWAP64): Define.
40289 (sha256_process_block): Perform total addition using 64-bit if
40291 (__sha256_finish_ctx): Likewise.
40293 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40295 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40297 * nscd/hstcache.c (cache_addhst): Likewise.
40298 * nscd/grpcache.c (cache_addgr): Likewise.
40299 * nscd/aicache.c (addhstaiX): Likewise
40300 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40302 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40304 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40305 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40306 * nscd/hstcache.c (cache_addhst): Likewise.
40307 * nscd/grpcache.c (cache_addgr): Likewise.
40308 * nscd/aicache.c (addhstaiX): Likewise
40310 2011-07-01 Andreas Schwab <schwab@redhat.com>
40312 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40313 domain only when needed.
40315 2011-06-30 Andreas Schwab <schwab@redhat.com>
40317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40318 is always restored.
40320 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40322 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40323 are re-adding the entry.
40324 * nscd/servicescache.c (cache_addserv): Likewise.
40326 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40328 * sysdeps/generic/dl-irel.h: fix protection against multiple
40330 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40332 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40335 * malloc/memusage.sh: Fix quoting in message.
40336 * debug/xtrace.sh: Likewise.
40338 * configure.in: Remove support for --experimental-malloc option, make
40340 * config.make.in: Likewise.
40341 * malloc/Makefile: Likewise.
40343 2011-06-27 Andreas Schwab <schwab@redhat.com>
40345 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40346 two-byte characters.
40348 2011-06-27 Roland McGrath <roland@hack.frob.com>
40350 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40351 AC_CACHE_CHECK invocation.
40352 * configure: Regenerated.
40354 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40356 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40359 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40360 bit from old_res_options.
40362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40364 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40365 value type for setfct.
40367 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40370 __gettimeofday instead of gettimeofday.
40372 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40374 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40376 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40378 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40380 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40383 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40386 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40387 strcpy-sse2-unaligned strncpy-sse2-unaligned
40388 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40389 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40390 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40391 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40392 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40395 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40396 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40397 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40398 (STRCPY): Support SSE2 and SSSE3 versions.
40400 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40403 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40404 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40405 kernels which artificially limit size of requests.
40407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40410 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40411 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40412 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40413 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40414 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40415 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40416 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40417 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40419 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40420 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40421 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40422 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40423 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40425 Enable unaligned load optimization for Intel Core i3, i5 and i7
40427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40429 (index_Fast_Unaligned_Load): Define.
40430 (HAS_FAST_UNALIGNED_LOAD): Define.
40432 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40434 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40436 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40439 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40440 until it is clear that the information is realy needed.
40441 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40443 2011-06-22 Andreas Schwab <schwab@redhat.com>
40445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40447 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40450 /sys/devices/system/cpu/online if it is usable.
40452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40453 reading the information from the /proc filesystem to once a second.
40455 2011-06-21 Andreas Jaeger <aj@suse.de>
40457 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40458 NULL after inclusion of kernel headers.
40460 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40462 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40463 calls to internal_setent.
40466 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40467 addresses using gethostbyname4_r ignore IPv4 addresses.
40469 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40470 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40472 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40474 2011-06-20 David S. Miller <davem@davemloft.net>
40476 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40478 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40480 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40481 (elf_irel): Use it.
40482 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40483 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40484 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40485 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40486 * sysdeps/x86_64/dl-irel.h: Likewise.
40488 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40489 * elf/dl-sym.c: Likewise.
40491 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40493 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40494 need to dereference resplen2.
40496 2011-06-14 Andreas Schwab <schwab@redhat.com>
40498 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40500 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40502 * Makeconfig: Define vardbdir and inst_vardbdir.
40503 * nss/Makefile: Add rules to install db-Makefile.
40505 * nss/nss_db/db-XXX.c: Cleanup.
40507 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40508 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40510 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40511 * nss/makedb.c: Implement -g option to specify that value strings
40512 are generated and should not be added to table iterated over for
40514 * nss/nss_db/db-initgroups.c: New file.
40516 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40519 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40520 (internal_getgrouplist): Adjust to name change.
40521 Update use_initgroups_entry if this is not the first call.
40522 * nss/databases.def: Add initgroups entry.
40524 * nss/makedb.c (compute_tables): Check result of multiple hash table
40525 sizes to minimize maximum chain length.
40527 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40529 * Versions.def: Add entry for libnss_db.
40530 * shlib-versions: Likewise.
40531 * nss/Makefile: Add rules to build libnss_db.
40532 * nss/Versions: Add libnss_db information. Organize libnss_files
40534 * nss/db-Makefile: Add gshadow support. Change rules for the new
40535 makedb progra. Some minor improvements to generate smaller files.
40536 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40538 * nss/makedb.c: ...here.
40539 Improve database format to be smaller and require less memory at
40541 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40543 * nss/nss_db/db-netgrp.c: Likewise.
40544 * nss/nss_db/db-open.c: Likewise.
40545 * nss/nss_files/flies-XXX.x: Adjust comments.
40546 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40547 * nss/nss_files/files-grp.c: Likewise.
40548 * nss/nss_files/files-hosts.c: Likewise.
40549 * nss/nss_files/files-network.c: Likewise.
40550 * nss/nss_files/files-proto.c: Likewise.
40551 * nss/nss_files/files-pwd.c: Likewise.
40552 * nss/nss_files/files-rpc.c: Likewise.
40553 * nss/nss_files/files-service.c: Likewise.
40554 * nss/nss_files/files-sgrp.c: Likewise.
40555 * nss/nss_files/files-spwd.c: Likewise.
40556 * nss/nss_db/db-alias.c: Removed.
40557 * nss/nss_db/dummy-db.h: Removed.
40559 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40561 * nss/makedb.c: Rewritten to not use database library.
40562 * nss/Makefile: Update to build new makedb program.
40564 2011-06-14 Andreas Jaeger <aj@suse.de>
40566 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40567 memset declaration.
40569 2011-06-10 Andreas Schwab <schwab@redhat.com>
40571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40574 2011-06-10 Roland McGrath <roland@hack.frob.com>
40576 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40577 * elf/Makefile ($(objpfx)ld.so): Likewise.
40579 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40580 Don't list ld.so twice in dependencies.
40582 * posix/bug-regex31.c: Include <stdlib.h>.
40584 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40586 * nis/nss_compat/compat-spwd.c
40587 (getspent_next_nss_netgr): Remove unused variable.
40588 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40590 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40591 nonmembers" output to use the right array.
40593 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40595 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40597 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40598 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40599 * catgets/gencat.c (read_input_file): Likewise.
40600 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40602 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40603 variable definition inside #if's controlling its use.
40605 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40607 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40609 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40611 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40614 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40616 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40617 * configure: Regenerated.
40619 * Makerules: Revert last change.
40620 * elf/Makefile: Likewise.
40622 2011-06-09 Roland McGrath <roland@hack.frob.com>
40624 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40625 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40626 (reloc-link): Likewise.
40628 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40630 * elf/Makefile: Add rules to build pldd.
40631 * elf/pldd.c: New file.
40632 * elf/pldd-xx.c: New file.
40634 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40636 * version.h: Update for 2.15 development version.
40638 2011-06-07 David S. Miller <davem@davemloft.net>
40640 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40643 elf_machine_lazy_rel): Likewise.
40644 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40645 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40646 elf_machine_lazy_rel): Likewise.
40647 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40648 dl_hwcap via passed in argument.
40649 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40652 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40654 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40656 2011-06-06 Roland McGrath <roland@hack.frob.com>
40659 * manual/fdl-1.1.texi: New file, verbatim from:
40660 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40661 * manual/lgpl-2.1.texi: New file, verbatim from:
40662 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40663 * manual/Makefile (licenses): New variable, list those new file names.
40665 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40667 * manual/fdl.texi: File removed.
40668 * manual/lesser.texi: File removed.
40669 * manual/libc.texinfo (Copying, Documentation License):
40670 Use new @include file names, put @appendix directive before @include.
40672 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40675 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40676 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40677 (mq_open): Add __NTH.
40679 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40682 Assume Intel Core i3/i5/i7 processor if AVX is available.
40684 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40689 2011-05-31 Andreas Schwab <schwab@redhat.com>
40691 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40692 memory. Use alloca_account. Fix memory leak when retrying.
40694 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40696 * version.h (RELEASE): Bump for 2.14 release.
40697 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40699 * config.make.in (RANLIB): Remove entry.
40701 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40703 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40704 (libc.pot): Work around missing support for .ksh extension in xgettext.
40707 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40708 if both request failed.
40709 (send_dg): In case of server errors clear resplen or *resplen2.
40712 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40713 when there are multiple maps.
40714 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40715 (_dl_fini): Remove test here.
40717 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40719 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40722 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40723 bit from old_res_options.
40724 (gaih_inet): Likewise.
40727 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40730 * resolv/res_init.c (res_setoptions): Make the code more compact.
40733 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40737 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40739 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40742 * malloc/malloc.h: Declare malloc hook variables as volatile.
40744 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40748 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40749 raise in the comment.
40750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40751 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40752 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40754 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40757 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40758 grow the buffers more if it already has to be sufficient.
40759 (build_wcs_upper_buffer): Likewise.
40760 * posix/regexec.c (check_matching): Likewise.
40761 (clean_state_log_if_needed): Likewise.
40762 (extend_buffers): Don't enlarge buffers beyond size of the input
40764 Patches mostly by Emil Wojak <emil@wojak.eu>.
40765 * posix/bug-regex32.c: New file.
40766 * posix/Makefile (tests): Add bug-regex32.
40768 * locale/findlocale.c (_nl_find_locale): Return right away if
40769 _nl_explode_name failed.
40770 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40772 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40774 * debug/xtrace.sh: Unify messages.
40775 * malloc/memusage.sh: Likewise.
40778 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40779 time symbol from vDSO. Substitute with vsyscall if not available.
40780 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40784 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40785 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40786 Add sendmmsg and internal_sendmmsg.
40787 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40788 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40789 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40791 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40792 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40795 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40798 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40799 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40805 * iconvdata/Makefile (tests): Add bug-iconv9.
40806 * iconvdata/bug-iconv9.c: New file.
40808 2011-05-27 Andreas Schwab <schwab@redhat.com>
40811 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40813 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40816 (struct user_regs_struct): Change intcs field back to cs.
40818 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40820 * po/ja.po: Update from translation team.
40822 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40825 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40826 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40828 2011-05-20 Andreas Schwab <schwab@redhat.com>
40830 * stdlib/longlong.h: Update from GCC.
40832 2011-05-23 Andreas Schwab <schwab@redhat.com>
40834 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40836 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40837 Add parameter name.
40838 (__sysconf): Pass it down.
40840 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40843 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40846 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40847 add in in __libc_use_alloca calls. Adjust callers.
40848 (glob): Use malloc in some situations.
40850 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40851 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40854 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40856 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40857 and CLOCK_BOOTTIME_ALARM.
40860 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40863 * string/_strerror.c (__strerror_r): Print negative errors as signed
40867 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40868 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40869 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40871 * configure.in: Fix typo in redirection and correct removal of test
40872 files in two cases.
40875 * locale/setlocale.c (new_composite_name): Fix test to check for
40876 identical name of all categories.
40879 * libio/filedoalloc.c (local_isatty): New function.
40880 (_IO_file_doallocate): Use local_isatty.
40881 * stdio-common/perror.c (perror): In case a new stream is used
40882 forward the stream error.
40883 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40886 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40891 * include/alloca.h (extend_alloca_account): Define.
40894 * posix/regex.h: Fix comments with documentation of user-accessible
40895 fields after compilation and describe correct free'ing of pattern
40896 after re_compile_pattern.
40897 Patch by Reuben Thomas <rrt@sc3d.org>.
40899 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40901 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40902 and -mno-altivec to prevent the compiler from using Altivec and/or
40903 VSX instructions when the corresponding registers are not available.
40905 2011-05-19 Andreas Schwab <schwab@redhat.com>
40907 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40909 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40911 * libio/freopen.c (freopen): Use __dup2, not dup2.
40912 * libio/freopen64.c (freopen64): Likewise.
40914 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40917 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40918 * math/Makefile (tests): Add test-powl.
40919 (CFLAGS-test-powl.c): Define.
40920 * math/test-powl.c: New file.
40922 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40924 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40926 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40929 * iconvdata/gb18030.c: Update to GB18020-2005.
40931 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40933 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40934 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40935 Patch by Aharon Robbins <arnold@skeeve.com>.
40938 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40942 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40943 through underflows.
40946 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40947 point to strings before performing equality test for error_one_per_line
40951 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40954 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40955 (struct user_fpregs_struct): Avoid __uint*_t types.
40958 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40959 symbol info. Use it instead of calling _dl_addr locally.
40960 (lock_and_info): New function.
40961 (tr_freehook): Call lock_and_info and pass symbol info as additional
40962 parameter to tr_where.
40963 (tr_mallochook): Likewise.
40964 (tr_reallochook): Likewise.
40965 (tr_memalignhook): Likewise.
40967 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40968 used and couldn't be at all thread-safe.
40970 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40972 * libio/freopen.c (freopen): Don't close old file descriptor
40973 before the new one is opened. Instead dup the new file descriptor
40974 to the old one after the new stream is created.
40975 * libio/freopen64.c (freopen64): Likewise.
40976 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40977 * libio/fileops.c (_IO_new_file_close_it): Handle new
40978 _IO_FLAGS2_NOCLOSE flag.
40979 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40980 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40981 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40982 _IO_FLAGS2_NOCLOSE flag.
40983 * include/unistd.h: Add hidden_proto for dup3.
40984 Define __have_dup3.
40985 * io/dup3.c: Define hidden symbol.
40986 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40989 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40990 when an incomplete long option is used.
40991 * posix/tst-getopt_long1.c: New file.
40992 * posix/Makefile (tests): Add tst-getopt_long1.
40995 * scripts/config.guess: Update from autoconf-2.68.
40996 * scripts/config.sub: Likewise.
40999 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41001 (has_cpuclock): ...this. New function.
41002 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41003 macro here based on has_cpuclock code.
41006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41007 First byte (not low byte) is now always NUL.
41008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41011 Use non-cancelable interfaces.
41014 * locale/iso-639.def: Add entry for Sorani.
41017 * include/stdlib.h: Move include protection to the right place.
41018 Define abort_msg_s. Declare __abort_msg with it.
41019 * stdlib/abort.c (__abort_msg): Adjust type.
41020 * assert/assert.c (__assert_fail_base): New function. Majority
41021 of code from __assert_fail. Allocate memory for __abort_msg with
41023 (__assert_fail): Now call __assert_fail_base.
41024 * assert/assert-perr.c: Remove bulk of implementation. Use
41025 __assert_fail_base.
41026 * include/assert.hL Declare __assert_fail_base.
41027 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41029 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41031 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41035 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41036 until all modules are registered in the DTV.
41037 * elf/Makefile: Add rules to build and run tst-tls19.
41038 * elf/tst-tls19.c: New file.
41039 * elf/tst-tls19mod1.c: New file.
41040 * elf/tst-tls19mod2.c: New file.
41041 * elf/tst-tls19mod3.c: New file.
41042 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41045 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41049 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41050 two-byte sequence errors.
41051 * iconvdata/Makefile (tests): Add bug-iconv8.
41052 * iconvdata/bug-iconv8.c: New file.
41055 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41058 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41061 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41062 (dummy_getcfa): New function.
41063 (init): Get _Unwind_GetCFA address, use dummy if not found.
41064 (backtrace_helper): In recursion check, also check whether CFA changes.
41065 (__backtrace): Completely initialize arg.
41067 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41068 storing incomplete byte sequence in state object. Avoid testing for
41069 guaranteed too small input if we know there is enough data available.
41071 2011-05-11 Andreas Schwab <schwab@redhat.com>
41073 * Makeconfig (+link-pie): Indent.
41074 * Rules (binaries-pie): Define if $(have-fpie) and
41076 (binaries-shared): Also filter out $(binaries-pie).
41077 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41078 * nscd/Makefile (others-pie): Add nscd.
41079 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41080 ($(objpfx)nscd): Remove command override.
41081 * login/Makefile (others-pie): Add pt_chown.
41082 ($(objpfx)pt_chown): Remove command override.
41083 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41084 remove command overrides.
41086 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41088 * libio/tst_putwc.c: Fix error messages.
41091 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41092 currently writing and seek to current position when not.
41093 * libio/Makefile (tests): Add bug-fclose1.
41094 * libio/bug-fclose1.c: New file.
41096 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41099 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41100 don't set DF_1_NODELETE here.
41101 (do_lookup_x): When entering new entry test for copy relocation
41102 and if necessary set DF_1_NODELETE flag.
41103 * elf/tst-unique4.cc: New file.
41104 * elf/tst-unique4.h: New file.
41105 * elf/tst-unique4lib.cc: New file.
41106 * elf/Makefile: Add rules to build and run tst-unique4.
41107 Patch by Piotr Bury <pbury@goahead.com>.
41109 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41112 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41115 * misc/mntent_r.c (addmntent): Flush the stream after the output
41118 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41119 (is_trusted_path_normalize): Skip initial colon. Append slash
41120 to empty buffer. Duplicate is_trusted_path code but allow
41121 constructed patch to be prefix.
41122 (is_dst): Allow $ORIGIN followed by /.
41123 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41124 Correct testing of result of is_trusted_path_normalize
41125 (decompose_rpath): Fix warning.
41127 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41130 * grp/initgroups.c (internal_getgrouplist): When we found the service
41131 list through the initgroups entry in nsswitch.conf do not always
41132 continue on a successful lookup. Don't always use the
41133 __nss_group_database value if it is set.
41134 * nss/nsswitch.conf (initgroups): Change action for successful db
41135 lookup to continue for compatibility.
41137 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41140 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41142 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41144 * iconvdata/tst-tables.sh: Likewise.
41145 * iconvdata/cp770.c: New file.
41146 * iconvdata/cp771.c: New file.
41147 * iconvdata/cp772.c: New file.
41148 * iconvdata/cp773.c: New file.
41149 * iconvdata/cp774.c: New file.
41150 * iconvdata/testdata/CP770: New file.
41151 * iconvdata/testdata/CP770..UTF8: New file.
41152 * iconvdata/testdata/CP771: New file.
41153 * iconvdata/testdata/CP771..UTF8: New file.
41154 * iconvdata/testdata/CP772: New file.
41155 * iconvdata/testdata/CP772..UTF8: New file.
41156 * iconvdata/testdata/CP773: New file.
41157 * iconvdata/testdata/CP773..UTF8: New file.
41158 * iconvdata/testdata/CP774: New file.
41159 * iconvdata/testdata/CP774..UTF8: New file.
41161 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41163 * iconvdata/gen-8bit-gap.sh: Likewise.
41164 * iconvdata/gen-8bit.sh: Likewise.
41166 * locale/iso-639.def: Add ary entry.
41169 * locale/C-translit.h.in: Add U20A1 transliteration.
41172 * locale/iso-639.def: Add wae entry.
41173 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41176 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41180 * locale/C-translit.h.in: Add entry for U20B9.
41181 Patch by pravin.d.s@gmail.com.
41183 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41186 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41187 ENAMETOOLONG use generic getcwd.
41188 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41189 in rtld. Use *stat64.
41190 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41191 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41192 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41193 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41194 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41195 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41196 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41197 __fstatat64 macros.
41198 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41199 * dirent/rewinddir.c: Add libc_hidden_def.
41200 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41201 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41203 * include/dirent.h (__alloc_dir): Add flags parameter.
41204 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41205 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41207 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41208 from fdopendir if O_CLOEXEC is already set.
41210 2011-03-15 Alan Modra <amodra@gmail.com>
41212 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41213 l_tls_firstbyte_offset non-zero. Save padding offset in
41214 l_tls_firstbyte_offset for later use.
41215 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41216 freeing static tls block.
41218 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41220 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41221 where #ifdef was intended. The intent is to prevent ARG_MAX from
41222 being defined by the kernel headers.
41224 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41227 * resolv/resolv.h: Define RES_NOTLDQUERY.
41228 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41229 no-tld-query and set RES_NOTLDQUERY.
41230 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41231 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41232 modern BIND to search name as TLD unless forbidden.
41234 2011-05-07 Petr Baudis <pasky@suse.cz>
41235 Ulrich Drepper <drepper@gmail.com>
41238 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41239 (is_trusted_path): ...to here.
41240 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41241 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41242 using is_trusted_path_normalize() in setuid scripts.
41244 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41247 __BEGIN/__END_DECLS.
41249 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41252 NSS_STATUS_NOTFOUND if no record was found.
41254 2011-05-05 Andreas Schwab <schwab@redhat.com>
41256 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41257 (headers-not-in-tirpc): Remove rpc/netdb.h
41258 * resolv/netdb.h: Revert last change.
41260 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41262 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41263 circular dependency between libgcc.a and libc.a.
41265 2011-05-05 Andreas Schwab <schwab@redhat.com>
41267 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41268 * nis/Makefile: Don't install rpcsvc/*.
41269 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41270 instead of <rpc/types.h>.
41271 (MAXHOSTNAMELEN): Define.
41273 2011-05-03 Andreas Schwab <schwab@redhat.com>
41275 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41277 2011-04-28 Maciej Babinski <mbabinski@google.com>
41280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41281 gethostbyname4_r when IPv6 results are possible.
41283 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41286 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41287 _PC_PIPE_BUF handling.
41289 2011-04-30 Bruno Haible <bruno@clisp.org>
41292 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41293 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41295 * inet/getnameinfo.c (getnameinfo): Likewise.
41297 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41299 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41300 to groups setting in database lookup.
41301 * nss/nsswitch.conf: Add initgroups entry.
41303 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41306 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41308 Patch by Eric Blake <eblake@redhat.com>.
41310 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41312 * sunrpc/Makefile (need-export-routines): Add svc_run.
41313 (routines): Remove svc_run.
41314 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41315 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41316 * sunrpc/svc_run.c (svc_run): Likewise.
41317 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41319 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41322 problem in reallocation in last patch.
41324 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41326 * sunrpc/Makefile: Move inclusion of Rules.
41328 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41330 * nss/nss_files/files-initgroups.c: New file.
41331 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41332 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41333 _nss_files_initgroups_dyn.
41335 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41337 * elf/elf.h (R_ARM_IRELATIVE): Define.
41339 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41341 * po/ru.po: Update from translation team.
41343 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41345 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41348 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41351 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41352 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41357 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41361 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41365 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41368 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41370 * stdlib/bug-getcontext.c: New file.
41371 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41373 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41375 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41376 instructions into .machine "z9-109".
41377 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41378 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41380 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41382 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41383 between environment variables and auxiliary vector.
41385 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41387 * Makefile: Add rules to build linkobj/libc.so.
41388 * include/libc-symbols.h: Define libc_hidden_nolink.
41389 * include/rpc/auth.h: Mark functions which are to be hidden.
41390 * include/rpc/auth_des.h: Likewise.
41391 * include/rpc/auth_unix.h: Likewise.
41392 * include/rpc/clnt.h: Likewise.
41393 * include/rpc/des_crypt.h: Likewise.
41394 * include/rpc/key_prot.h: Likewise.
41395 * include/rpc/pmap_clnt.h: Likewise.
41396 * include/rpc/pmap_prot.h: Likewise.
41397 * include/rpc/pmap_rmt.h: Likewise.
41398 * include/rpc/rpc_msg.h: Likewise.
41399 * include/rpc/svc.h: Likewise.
41400 * include/rpc/svc_auth.h: Likewise.
41401 * include/rpc/xdr.h: Likewise.
41402 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41403 * nss/Makefile: Likewise.
41404 * sunrpc/Makefile: Don't install headers. Build library with normal
41405 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41406 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41407 for the compat linking library. Remove use of INTDEF/INTUSE.
41408 * sunrpc/auth_none.c: Likewise.
41409 * sunrpc/auth_unix.c: Likewise.
41410 * sunrpc/authdes_prot.c: Likewise.
41411 * sunrpc/authuxprot.c: Likewise.
41412 * sunrpc/clnt_gen.c: Likewise.
41413 * sunrpc/clnt_perr.c: Likewise.
41414 * sunrpc/clnt_raw.c: Likewise.
41415 * sunrpc/clnt_simp.c: Likewise.
41416 * sunrpc/clnt_tcp.c: Likewise.
41417 * sunrpc/clnt_udp.c: Likewise.
41418 * sunrpc/clnt_unix.c: Likewise.
41419 * sunrpc/des_crypt.c: Likewise.
41420 * sunrpc/des_soft.c: Likewise.
41421 * sunrpc/get_myaddr.c: Likewise.
41422 * sunrpc/key_call.c: Likewise.
41423 * sunrpc/key_prot.c: Likewise.
41424 * sunrpc/netname.c: Likewise.
41425 * sunrpc/pm_getmaps.c: Likewise.
41426 * sunrpc/pm_getport.c: Likewise.
41427 * sunrpc/pmap_clnt.c: Likewise.
41428 * sunrpc/pmap_prot.c: Likewise.
41429 * sunrpc/pmap_prot2.c: Likewise.
41430 * sunrpc/pmap_rmt.c: Likewise.
41431 * sunrpc/publickey.c: Likewise.
41432 * sunrpc/rpc_cmsg.c: Likewise.
41433 * sunrpc/rpc_common.c: Likewise.
41434 * sunrpc/rpc_dtable.c: Likewise.
41435 * sunrpc/rpc_prot.c: Likewise.
41436 * sunrpc/rpc_thread.c: Likewise.
41437 * sunrpc/rtime.c: Likewise.
41438 * sunrpc/svc.c: Likewise.
41439 * sunrpc/svc_auth.c: Likewise.
41440 * sunrpc/svc_authux.c: Likewise.
41441 * sunrpc/svc_raw.c: Likewise.
41442 * sunrpc/svc_run.c: Likewise.
41443 * sunrpc/svc_simple.c: Likewise.
41444 * sunrpc/svc_tcp.c: Likewise.
41445 * sunrpc/svc_udp.c: Likewise.
41446 * sunrpc/svc_unix.c: Likewise.
41447 * sunrpc/svcauth_des.c: Likewise.
41448 * sunrpc/xcrypt.c: Likewise.
41449 * sunrpc/xdr.c: Likewise.
41450 * sunrpc/xdr_array.c: Likewise.
41451 * sunrpc/xdr_float.c: Likewise.
41452 * sunrpc/xdr_intXX_t.c: Likewise.
41453 * sunrpc/xdr_mem.c: Likewise.
41454 * sunrpc/xdr_rec.c: Likewise.
41455 * sunrpc/xdr_ref.c: Likewise.
41456 * sunrpc/xdr_sizeof.c: Likewise.
41457 * sunrpc/xdr_stdio.c: Likewise.
41459 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41462 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41463 * sysdeps/ia64/dl-tls.h: Likewise.
41464 * sysdeps/powerpc/dl-tls.h: Likewise.
41465 * sysdeps/s390/dl-tls.h: Likewise.
41466 * sysdeps/sh/dl-tls.h: Likewise.
41467 * sysdeps/sparc/dl-tls.h: Likewise.
41468 * sysdeps/x86_64/dl-tls.h: Likewise.
41469 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41471 2011-03-14 Andreas Schwab <schwab@redhat.com>
41473 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41474 rpath element also skip the following colon.
41475 (expand_dynamic_string_token): Add is_path parameter and pass
41476 down to DL_DST_REQUIRED and _dl_dst_substitute.
41477 (decompose_rpath): Call expand_dynamic_string_token with
41478 non-zero is_path. Ignore empty rpaths.
41479 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41482 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41487 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41490 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41491 Patch by Filipe David Manana <fdmanana@apache.org>.
41493 2011-04-07 Andreas Schwab <schwab@redhat.com>
41495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41496 Maintain aligned stack.
41497 (CHECK_RSP): Remove unused macro.
41499 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41501 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41502 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41504 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41506 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41508 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41510 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41513 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41514 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41515 * sysdeps/x86_64/memmove.c: New file.
41516 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41517 (memcpy): Renamed to ...
41518 (__new_memcpy): This.
41519 (memcpy): Provide GLIBC_2_14 memcpy.
41520 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41521 (memcpy): Provide GLIBC_2_2_5 memcpy.
41523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41526 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41528 2011-03-30 Andreas Schwab <schwab@redhat.com>
41530 * misc/syncfs.c: New file.
41531 * misc/Makefile (routines): Add syncfs.
41532 * posix/unistd.h: Declare syncfs.
41533 * sysdeps/unix/syscalls.list: Add syncfs.
41535 2011-04-01 Andreas Schwab <schwab@redhat.com>
41537 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41544 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41549 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41550 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41553 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41557 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41558 sync_file_range.c with -fexceptions.
41559 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41560 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41561 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41562 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41563 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41564 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41566 sync_file_range as cancellation point
41567 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41568 now a wrapper around __call_sync_file_range with cancellation handling.
41569 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41570 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41571 function name to __call_sync_file_range.
41572 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41573 Add call_sync_file_range.
41575 2011-04-01 Andreas Schwab <schwab@redhat.com>
41577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41580 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41582 * iconv/iconv.h: Fix typo in comment.
41583 * io/fcntl.h: Likewise.
41584 * libio/stdio.h: Likewise.
41585 * posix/spawn.h: Likewise.
41586 * posix/unistd.h: Likewise.
41587 * stdlib/stdlib.h: Likewise.
41588 * time/time.h: Likewise.
41589 * wcsmbs/wchar.h: Likewise.
41591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41592 open_by_handle): Add.
41593 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41594 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41595 Augment a few comments.
41596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41601 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41604 * io/fcntl.h (AT_EMPTY_PATH): Define.
41606 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41608 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41609 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41610 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41612 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41613 * Versions.def: Add GLIBC_2.14.
41614 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41617 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41619 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41621 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41623 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41626 * string/test-strncmp.c (do_page_test): New function.
41627 (check2): Likewise.
41628 (test_main): Call check2.
41629 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41631 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41635 Handle cache information in CPU leaf 4.
41636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41638 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41641 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41642 character representation.
41643 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41645 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41648 END(__isnan) to END(__isnanf) to match function entry point/label
41649 EALIGN(__isnanf,...).
41651 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41653 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41655 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41658 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41659 copy from the symbol referenced in the relocation to initialize the
41661 Patch by Piotr Bury <pbury@goahead.com>.
41662 * elf/Makefile: Add rules to build and tst-unique3.
41663 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41664 * elf/tst-unique3.cc: New file.
41665 * elf/tst-unique3.h: New file.
41666 * elf/tst-unique3lib.cc: New file.
41667 * elf/tst-unique3lib2.cc: New file.
41669 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41671 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41673 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41674 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41677 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41679 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41680 to-be-loaded object along a path to loader is ld.so.
41682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41683 Ulrich Drepper <drepper@gmail.com>
41685 * sysdeps/x86_64/memset.S: After aligning destination, code
41686 branches to different locations depending on the value of
41687 misalignment, when multiarch is enabled. Fix this.
41689 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41691 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41692 Set _x86_64_preferred_memory_instruction for AMD processsors.
41693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41694 Set bit_Prefer_SSE_for_memop for AMD processors.
41696 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41698 * libio/fmemopen.c (fmemopen): Optimize a bit.
41700 2011-03-03 Andreas Schwab <schwab@redhat.com>
41702 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41704 2011-03-03 Roland McGrath <roland@redhat.com>
41706 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41708 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41710 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41711 __bzero_ultra1 instead of __memset_ultra1.
41713 2011-02-23 Andreas Schwab <schwab@redhat.com>
41714 Ulrich Drepper <drepper@gmail.com>
41717 * include/link.h (struct link_map): Add l_orig_initfini.
41718 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41719 returning unsuccessfully.
41720 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41721 close of a file loaded at startup, restore the original l_initfini
41723 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41724 list, store the pointer.
41725 * elf/Makefile ($(objpfx)noload-mem): New rule.
41726 (noload-ENV): Define.
41727 (tests): Add $(objpfx)noload-mem.
41728 * elf/noload.c: Include <memcheck.h>.
41729 (main): Call mtrace. Close all opened handles.
41731 2011-02-17 Andreas Schwab <schwab@redhat.com>
41734 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41735 dependencies are missing.
41737 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41739 Fix __if_freereq crash: Unlike the generic version which uses free,
41741 * sysdeps/mach/hurd/ifreq.h: New file.
41743 2011-01-27 Petr Baudis <pasky@suse.cz>
41744 Ulrich Drepper <drepper@gmail.com>
41747 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41748 to extend_alloca().
41749 * stdio-common/bug23.c: New file.
41750 * stdio-common/Makefile (tests): Add bug23.
41752 2010-09-28 Andreas Schwab <schwab@redhat.com>
41753 Ulrich Drepper <drepper@gmail.com>
41756 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41757 before performing relro protection. At old place add assertion
41758 to make sure nothing changed.
41760 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41761 Glauber de Oliveira Costa <glommer@gmail.com>
41763 * elf/elf.h: Add new ARM TLS relocs.
41765 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41768 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41770 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41772 * sysdeps/wordsize-64/tst-writev.c: New file.
41774 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41776 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41777 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41778 insns in _dl_start to prevent a TOC reference before relocs are
41781 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41784 * Makeconfig: Remove RANLIB definition.
41785 * Makerules: Don't use RANLIB.
41786 * aclocal.m4: Remove ranlib test.
41787 * configure.in: No need to check for ranlib.
41788 * elf/rtld-Rules: Don't use RANLIB.
41790 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41792 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41794 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41795 inclusion protection macro.
41797 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41798 SIGRTMIN and SIGRTMAX and print information in that case only when
41799 SIGRTMIN is defined.
41801 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41803 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41804 arginfo fn returning -1.
41806 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41807 and thousands string is zero terminated.
41809 2011-02-03 Andreas Schwab <schwab@redhat.com>
41811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41812 sysdeps/unix/sysv/linux/bits/socket.h.
41814 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41816 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41817 (__CPU_COUNT): Remove old macros.
41818 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41819 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41820 (__CPU_ALLOC, __CPU_FREE): Add macros.
41821 (__sched_cpualloc, __sched_cpufree): Add declarations.
41823 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41825 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41826 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41827 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41828 (readdhstai): Return value of addhstaiX call.
41829 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41830 (addgrbyX): Return value returned by cache_addgr.
41831 (readdgrbyname): Return value returned by addgrbyX.
41832 (readdgrbygid): Likewise.
41833 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41834 (addpwbyX): Return value returned by cache_addpw.
41835 (readdpwbyname): Return value returned by addhstbyX.
41836 (readdpwbyuid): Likewise.
41837 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41838 (addservbyX): Return value returned by cache_addserv.
41839 (readdservbyname): Return value returned by addservbyX:
41840 (readdservbyport): Likewise.
41841 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41842 (addhstbyX): Return value returned by cache_addhst.
41843 (readdhstbyname): Return value returned by addhstbyX.
41844 (readdhstbyaddr): Likewise.
41845 (readdhstbynamev6): Likewise.
41846 (readdhstbyaddrv6): Likewise.
41847 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41848 (readdinitgroups): Return value returned by addinitgroupsX.
41849 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41850 (prune_cache): Keep track of timeout value of re-added entries.
41851 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41852 * nscd/nscd.h: Adjust prototypes of readd* functions.
41854 2011-02-04 Roland McGrath <roland@redhat.com>
41856 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41857 (nis_stats): Likewise.
41858 * nis/nis_modify.c (nis_modify): Likewise.
41859 * nis/nis_remove.c (nis_remove): Likewise.
41860 * nis/nis_add.c (nis_add): Likewise.
41862 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41864 * posix/fnmatch_loop.c: Add some consts.
41866 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41868 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41871 * config.make.in (config-cflags-novzeroupper): Define.
41872 * configure.in: Substitute libc_cv_cc_novzeroupper.
41873 * elf/Makefile (AVX-CFLAGS): Define.
41874 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41875 (CFLAGS-tst-auditmod4a.c): Likewise.
41876 (CFLAGS-tst-auditmod4b.c): Likewise.
41877 (CFLAGS-tst-auditmod6b.c): Likewise.
41878 (CFLAGS-tst-auditmod6c.c): Likewise.
41879 (CFLAGS-tst-auditmod7b.c): Likewise.
41880 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41882 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41884 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41885 function to the callback.
41886 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41888 2011-02-02 Andreas Schwab <schwab@redhat.com>
41890 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41893 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41896 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41898 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41900 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41903 * elf/Makefile: Add rules to build and run new test.
41904 * elf/tst-initorder.c: New file.
41905 * elf/tst-initorder.exp: New file.
41906 * elf/tst-initordera1.c: New file.
41907 * elf/tst-initordera2.c: New file.
41908 * elf/tst-initordera3.c: New file.
41909 * elf/tst-initordera4.c: New file.
41910 * elf/tst-initorderb1.c: New file.
41911 * elf/tst-initorderb2.c: New file.
41912 * elf/tst-order-a1.c: New file.
41913 * elf/tst-order-a2.c: New file.
41914 * elf/tst-order-a3.c: New file.
41915 * elf/tst-order-a4.c: New file.
41916 * elf/tst-order-b1.c: New file.
41917 * elf/tst-order-b2.c: New file.
41918 * elf/tst-order-main.c: New file.
41919 New test case by George Gensure <werkt0@gmail.com>.
41921 2010-10-01 Andreas Schwab <schwab@redhat.com>
41923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41924 decoding ACE if AI_CANONIDN.
41926 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41928 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41930 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41932 * version.h (RELEASE): Bump for 2.13 release.
41933 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41935 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41937 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41939 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41944 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41946 * posix/getconf.c: Update copyright year.
41947 * catgets/gencat.c: Likewise.
41948 * csu/version.c: Likewise.
41949 * debug/catchsegv.sh: Likewise.
41950 * debug/xtrace.sh: Likewise.
41951 * elf/ldconfig.c: Likewise.
41952 * elf/ldd.bash.in: Likewise.
41953 * elf/sprof.c (print_version): Likewise.
41954 * iconv/iconv_prog.c: Likewise.
41955 * iconv/iconvconfig.c: Likewise.
41956 * locale/programs/locale.c: Likewise.
41957 * locale/programs/localedef.c: Likewise.
41958 * malloc/memusage.sh: Likewise.
41959 * malloc/mtrace.pl: Likewise.
41960 * nscd/nscd.c (print_version): Likewise.
41961 * nss/getent.c: Likewise.
41963 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41964 PF_CAIF, and PF_ALG.
41965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41967 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41969 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41970 (modules-names): Use them.
41971 (ifunc-test-modules, ifunc-pie-tests): Define.
41972 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41973 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41974 (test-extras): Likewise.
41975 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41976 $(compile-command.c).
41977 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41978 (all-built-dso): Define.
41979 (check-textrel.out, check-execstack.out): Depend on it.
41981 * configure.in: Don't override --enable-multi-arch.
41983 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41986 * nscd/hstcache.c (tryagain): Define.
41987 (cache_addhst): Return tryagain not notfound for temporary errors.
41988 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41991 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41994 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41995 to make the syscall.
41996 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41999 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42000 and fall back to matching as normal character if the string ends before
42001 the matching ']' is found. This is what POSIX requires.
42002 * posix/testfnm.c: Adjust test result.
42003 * posix/globtest.sh: Adjust test result. Add new test.
42004 * posix/tst-fnmatch.input: Likewise.
42005 * posix/tst-fnmatch2.c: Add new test.
42007 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42009 * elf/Makefile (check-execstack): Revert last change. Depend on
42011 (check-execstack.h): New target.
42012 (generated): Add check-execstack.h.
42013 * elf/check-execstack.c: Include "check-execstack.h".
42014 (main): Revert last change.
42015 (handle_file): Return zero if GNU_STACK is absent and
42016 DEFAULT_STACK_PERMS doesn't include PF_X.
42018 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42020 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42021 in child fails because the descriptor is already closed.
42022 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42023 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42024 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42027 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42031 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42032 temporary buffer used to handle multi lookups locally.
42033 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42035 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42037 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42040 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42042 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42043 alignment for SSE2.
42045 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42048 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42049 characters. When rounding increased number of integer digits recompute
42051 * stdio-common/tst-grouping.c: New file.
42052 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42054 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42056 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42057 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42059 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42061 * bits/select.h: Likewise.
42063 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42065 * po/ja.po: Update from translation team.
42067 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42070 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42071 implementation just like for lxstat, fxstatat, et al.
42073 2010-12-27 Jim Meyering <meyering@redhat.com>
42076 * posix/regexec.c (build_trtable): Return failure indication upon
42077 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42079 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42082 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42083 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42084 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42088 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42091 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42092 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42094 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42096 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42097 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42098 script has SORT_BY_INIT_PRIORITY.
42099 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42100 NO_CTORS_DTORS_SECTIONS is defined.
42101 * elf/soinit.c: Likewise.
42102 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42103 NO_CTORS_DTORS_SECTIONS is defined.
42104 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42105 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42106 * sysdeps/sh/init-first.c: Likewise.
42107 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42109 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42111 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42112 always use the slow path.
42114 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42116 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42117 similar rule which adds the sysdep directories to the header search in
42118 order to pick up the correct platform stackinfo.h.
42119 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42120 perform test if it is, otherwise return successfully without testing.
42121 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42122 DEFAULT_STACK_PERMS define in stackinfo.h.
42123 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42124 defined in stackinfo.h.
42125 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42126 DEFAULT_STACK_PERMS defined in stackinfo.h.
42127 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42128 * sysdeps/ia64/stackinfo.h: Likewise.
42129 * sysdeps/s390/stackinfo.h: Likewise.
42130 * sysdeps/sh/stackinfo.h: Likewise.
42131 * sysdeps/sparc/stackinfo.h: Likewise.
42132 * sysdeps/x86_64/stackinfo.h: Likewise.
42133 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42134 PF_X for powerpc64. Retain PF_X for powerpc32.
42136 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42138 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42140 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42141 GETDENTS_64BIT_ALIGNED.
42143 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42145 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42147 2010-12-10 Andreas Schwab <schwab@redhat.com>
42149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42153 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42155 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42156 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42158 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42161 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42164 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42166 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42168 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42170 * po/it.po: Update from translation team.
42172 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42177 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42179 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42181 2010-11-24 Andreas Schwab <schwab@redhat.com>
42183 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42185 (gaih_getanswer_slice): Likewise.
42187 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42191 2010-05-31 Petr Baudis <pasky@suse.cz>
42194 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42195 silently even in the chroot mode.
42197 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42199 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42200 last patch a bit. Pretty printing
42202 2010-05-31 Petr Baudis <pasky@suse.cz>
42205 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42206 initialization of skip_initgroups_dyn.
42208 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42210 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42213 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42215 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42217 2010-11-11 Andreas Schwab <schwab@redhat.com>
42219 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42220 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42221 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42222 ($(objpfx)tst-fnmatch-mem): New rule.
42223 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42224 * posix/tst-fnmatch.c (main): Call mtrace.
42226 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42229 Support Intel processor model 6 and model 0x2c.
42231 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42236 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42239 * string/test-strncasecmp.c (check_result): New function.
42240 (do_one_test): Use it.
42241 (check1): New function.
42242 (test_main): Use it.
42243 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42244 Support strcasecmp and strncasecmp.
42246 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42249 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42252 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42254 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42258 * sysdeps/x86_64/multiarch/bzero.S: New file.
42259 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42260 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42261 * sysdeps/x86_64/multiarch/memset.S: New file.
42262 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42264 Set bit_Prefer_SSE_for_memop for Intel processors.
42265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42267 (index_Prefer_SSE_for_memop): Define.
42268 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42270 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42272 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42273 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42275 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42278 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42279 (__x86_64_raw_data_cache_size_half): Likewise.
42280 (__x86_64_raw_shared_cache_size): Likewise.
42281 (__x86_64_raw_shared_cache_size_half): Likewise.
42283 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42284 (__x86_64_raw_data_cache_size_half): Likewise.
42285 (__x86_64_raw_shared_cache_size): Likewise.
42286 (__x86_64_raw_shared_cache_size_half): Likewise.
42287 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42288 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42289 and __x86_64_raw_shared_cache_size_half. Round
42290 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42291 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42292 to multiple of 256 bytes.
42294 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42298 of inacessible symlinks. Verify result of symlink before returning it.
42299 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42300 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42302 2010-10-28 Erich Ritz <erichritz@gmail.com>
42304 * math/math.h (isinf): Fix typo in comment.
42306 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42308 * po/da.po: Update from translation team.
42310 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42312 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42313 is added to the list.
42315 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42316 Ulrich Drepper <drepper@gmail.com>
42318 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42319 the global list here. Move code to...
42320 (_dl_add_to_namespace_list): ...here. New function.
42321 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42322 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42323 * elf/dl-load.c (lose): Don't remove the element from the list.
42324 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42325 (_dl_map_object): Likewise.
42327 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42330 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42331 into all bytes of SSE register.
42332 Patch by Richard Li <richardpku@gmail.com>.
42334 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42337 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42340 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42342 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42343 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42345 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42350 2010-10-22 Andreas Schwab <schwab@redhat.com>
42352 * include/dlfcn.h (__RTLD_SECURE): Define.
42353 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42354 mode & __RTLD_SECURE instead.
42355 (open_path): Rename preloaded parameter to secure.
42356 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42357 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42358 * elf/dl-deps.c (openaux): Likewise.
42359 * elf/rtld.c (struct map_args): Remove is_preloaded.
42360 (map_doit): Don't use it.
42361 (dl_main): Likewise.
42362 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42363 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42365 2010-09-09 Andreas Schwab <schwab@redhat.com>
42367 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42368 (sysd-rules-targets): Remove duplicates.
42369 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42370 rtld-%.$o dependency.
42372 2010-10-18 Andreas Schwab <schwab@redhat.com>
42374 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42375 _dl_map_object do it.
42377 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42379 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42380 fast fma builtins, define the macros in the C99 standard.
42381 (FP_FAST_FMAF): Likewise.
42382 (FP_FAST_FMAL): Likewise.
42383 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42385 * bits/mathdef.h: Update copyright year.
42386 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42388 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42390 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42391 builtins, define the macros in the C99 standard.
42392 (FP_FAST_FMAF): Likewise.
42393 (FP_FAST_FMAL): Likewise.
42394 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42396 (FP_FAST_FMAF): Likewise.
42398 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42401 * math/libm-test.inc (fma_test): Some new testcases.
42402 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42403 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42404 y and infinite z. Do multiplication by C already in long double.
42405 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42407 y and infinite z. Do bitwise or of inexact bit into u.d.
42408 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42409 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42410 * sysdeps/i386/fpu/s_fma.S: Removed.
42411 * sysdeps/i386/fpu/s_fmal.S: Removed.
42413 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42416 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42418 computation is not scheduled after fetestexcept. Fix value
42419 of minimum denormal long double.
42421 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42424 * math/libm-test.inc (fma_test): Add some more tests.
42425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42428 2010-10-15 Andreas Schwab <schwab@redhat.com>
42430 * scripts/data/localplt-s390-linux-gnu.data: New file.
42431 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42433 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42436 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42437 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42439 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42441 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42443 if one of x and y is very large and the other is subnormal.
42444 * sysdeps/s390/fpu/s_fmaf.c: New file.
42445 * sysdeps/s390/fpu/s_fma.c: New file.
42446 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42447 * sysdeps/powerpc/fpu/s_fma.S: New file.
42448 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42449 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42450 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42452 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42455 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42457 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42458 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42459 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42460 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42461 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42462 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42465 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42468 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42469 * posix/bug-regex31.input: Add test case.
42471 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42473 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42474 * posix/bug-regex31.input: New file.
42477 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42478 (parse_sub_exp): Fix last change, use postorder.
42480 * posix/bug-regex31.c: New file.
42481 * posix/Makefile: Add rules to build and run bug-regex31.
42483 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42486 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42489 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42490 to have entries in sys_siglist.
42493 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42496 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42499 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42500 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42501 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42502 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42503 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42504 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42505 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42506 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42507 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42508 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42509 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42510 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42511 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42512 * math/ftestexcept.c (fetestexcept): Likewise.
42513 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42514 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42515 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42516 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42517 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42518 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42519 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42521 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42524 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42527 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42529 * string/bug-strstr1.c: New file.
42530 * string/Makefile: Add rules to build and run bug-strstr1.
42532 2010-10-05 Eric Blake <eblake@redhat.com>
42535 * string/str-two-way.h (two_way_long_needle): Always clear memory
42536 when skipping input due to the shift table.
42538 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42541 * malloc/mcheck.c: Handle large requests.
42544 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42545 for strncmp and strncasecmp.
42546 * string/stratcliff.c: Add tests for strcmp and strncmp.
42547 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42549 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42551 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42554 2010-09-30 Andreas Jaeger <aj@suse.de>
42556 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42557 (CGROUP_SUPER_MAGIC): Define.
42558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42559 Handle btrfs and cgroup file systems.
42560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42563 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42565 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42566 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42568 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42571 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42572 trying to locate the ELF header.
42574 2010-09-27 Andreas Schwab <schwab@redhat.com>
42577 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42578 Mask out sign-bit copies when constructing f_fsid.
42580 2010-09-24 Petr Baudis <pasky@suse.cz>
42582 * debug/stack_chk_fail_local.c: Add missing licence exception.
42583 * debug/warning-nop.c: Likewise.
42585 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42587 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42588 implementing getdents64 using getdents syscall, set d_type if
42589 __ASSUME_GETDENTS32_D_TYPE.
42591 2010-09-16 Andreas Schwab <schwab@redhat.com>
42593 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42594 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42596 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42599 * posix/unistd.h: Undo change of feature selection for ftruncate from
42602 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42604 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42607 2010-09-20 Andreas Schwab <schwab@redhat.com>
42609 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42611 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42613 2010-09-14 Andreas Schwab <schwab@redhat.com>
42615 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42616 variables after CHECK_SP call.
42617 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42619 2010-09-13 Andreas Schwab <schwab@redhat.com>
42620 Ulrich Drepper <drepper@redhat.com>
42622 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42623 re-relocationg ld.so.
42624 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42625 _dl_init_paths call.
42626 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42629 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42631 * resolv/res_init.c (__res_vinit): Count the default server we added.
42633 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42634 Ulrich Drepper <drepper@redhat.com>
42637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42638 (____longjmp_chk): Use %ebx for saving value across system call.
42641 2010-09-06 Andreas Schwab <schwab@redhat.com>
42643 * manual/Makefile: Don't mix pattern rules with normal rules.
42645 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42647 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42649 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42650 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42651 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42652 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42656 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42659 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42660 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42662 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42664 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42665 * sysdeps/x86_64/addmul_1.S: Likewise.
42666 * sysdeps/x86_64/lshift.S: Likewise.
42667 * sysdeps/x86_64/mul_1.S: Likewise.
42668 * sysdeps/x86_64/rshift.S: Likewise.
42669 * sysdeps/x86_64/sub_n.S: Likewise.
42670 * sysdeps/x86_64/submul_1.S: Likewise.
42672 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42674 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42675 Define __sched_param instead of SCHED_* and sched_param when
42676 <bits/sched.h> is included with __need_schedparam defined.
42677 * bits/sched.h [__need_schedparam]
42678 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42679 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42680 (__defined_schedparam): Define to 1.
42681 (__sched_param): New structure, identical to sched_param.
42682 (__need_schedparam): Undefine.
42684 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42687 (epoll_create1): Declare.
42689 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42691 2010-08-31 Andreas Schwab <schwab@redhat.com>
42694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42695 shifting retval into place.
42697 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42699 * nis/rpcsvc/nis.h: Update copyright notice.
42700 * nis/rpcsvc/nis.x: Likewise.
42701 * nis/rpcsvc/nis_callback.h: Likewise.
42702 * nis/rpcsvc/nis_callback.x: Likewise.
42703 * nis/rpcsvc/nis_object.x: Likewise.
42704 * nis/rpcsvc/nis_tags.h: Likewise.
42705 * nis/rpcsvc/yp.h: Likewise.
42706 * nis/rpcsvc/yp.x: Likewise.
42707 * nis/rpcsvc/ypupd.h: Likewise.
42708 * nis/yp_xdr.c: Likewise.
42709 * nis/ypupdate_xdr.c: Likewise.
42711 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42712 mainly the body of pmap_getport. Add parameters to specify timeouts.
42713 (pmap_getport): Use __libc_rpc_getport.
42714 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42715 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42716 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42718 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42723 2010-08-27 Roland McGrath <roland@redhat.com>
42725 * sysdeps/i386/i686/multiarch/Makefile
42726 (CFLAGS-varshift.c): New variable.
42728 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42730 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42731 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42735 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42737 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42739 * sysdeps/x86_64/strlen.S: Unroll the loop.
42740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42741 strlen-sse2 strlen-sse2-bsf.
42742 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42743 __strlen_no_bsf if bit_Slow_BSF is set.
42744 (__strlen_sse42): Removed.
42745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42746 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42748 2010-08-25 Roland McGrath <roland@redhat.com>
42750 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42751 * sysdeps/x86_64/multiarch/varshift.c: New file.
42752 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42753 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42754 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42755 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42757 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42760 strlen-sse2 strlen-sse2-bsf.
42761 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42762 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42763 (__strlen_sse2): Removed.
42764 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42767 bit_Slow_BSF for Atom.
42768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42769 (index_Slow_BSF): Define.
42770 (HAS_SLOW_BSF): Define.
42772 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42775 * resolv/res_init.c (__res_vinit): When no server address at all
42776 is given default to loopback.
42778 2010-08-24 Roland McGrath <roland@redhat.com>
42780 * configure.in: Remove config-name.h generation.
42781 * configure: Regenerated.
42782 * config-name.in: File removed.
42783 * scripts/config-uname.sh: New file.
42784 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42785 ($(objdir)config-name.h): New target.
42787 * sunrpc/rpc_parse.h: Avoid nested comment.
42789 2010-08-24 Richard Henderson <rth@redhat.com>
42790 Ulrich Drepper <drepper@redhat.com>
42791 H.J. Lu <hongjiu.lu@intel.com>
42793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42795 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42796 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42797 _mm_alignr_epi8 with _mm_loadu_si128.
42798 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42799 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42800 (__m128i_shift_right): Removed.
42801 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42802 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42803 * sysdeps/x86_64/multiarch/varshift.h: New file.
42804 * sysdeps/x86_64/multiarch/varshift.S: New file.
42806 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42808 * configure.in: Move assembler checks to before sysdep dir checking.
42810 2010-08-20 Petr Baudis <pasky@suse.cz>
42812 * LICENSES: Sync the sunrpc license.
42814 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42816 * sunrpc/auth_des.c: Update copyright notice once again.
42817 * sunrpc/auth_none.c: Likewise.
42818 * sunrpc/auth_unix.c: Likewise.
42819 * sunrpc/authdes_prot.c: Likewise.
42820 * sunrpc/authuxprot.c: Likewise.
42821 * sunrpc/bindrsvprt.c: Likewise.
42822 * sunrpc/clnt_gen.c: Likewise.
42823 * sunrpc/clnt_perr.c: Likewise.
42824 * sunrpc/clnt_raw.c: Likewise.
42825 * sunrpc/clnt_simp.c: Likewise.
42826 * sunrpc/clnt_tcp.c: Likewise.
42827 * sunrpc/clnt_udp.c: Likewise.
42828 * sunrpc/clnt_unix.c: Likewise.
42829 * sunrpc/des_crypt.c: Likewise.
42830 * sunrpc/des_soft.c: Likewise.
42831 * sunrpc/get_myaddr.c: Likewise.
42832 * sunrpc/getrpcport.c: Likewise.
42833 * sunrpc/key_call.c: Likewise.
42834 * sunrpc/key_prot.c: Likewise.
42835 * sunrpc/openchild.c: Likewise.
42836 * sunrpc/pm_getmaps.c: Likewise.
42837 * sunrpc/pm_getport.c: Likewise.
42838 * sunrpc/pmap_clnt.c: Likewise.
42839 * sunrpc/pmap_prot.c: Likewise.
42840 * sunrpc/pmap_prot2.c: Likewise.
42841 * sunrpc/pmap_rmt.c: Likewise.
42842 * sunrpc/rpc/auth.h: Likewise.
42843 * sunrpc/rpc/auth_unix.h: Likewise.
42844 * sunrpc/rpc/clnt.h: Likewise.
42845 * sunrpc/rpc/des_crypt.h: Likewise.
42846 * sunrpc/rpc/key_prot.h: Likewise.
42847 * sunrpc/rpc/netdb.h: Likewise.
42848 * sunrpc/rpc/pmap_clnt.h: Likewise.
42849 * sunrpc/rpc/pmap_prot.h: Likewise.
42850 * sunrpc/rpc/pmap_rmt.h: Likewise.
42851 * sunrpc/rpc/rpc.h: Likewise.
42852 * sunrpc/rpc/rpc_des.h: Likewise.
42853 * sunrpc/rpc/rpc_msg.h: Likewise.
42854 * sunrpc/rpc/svc.h: Likewise.
42855 * sunrpc/rpc/svc_auth.h: Likewise.
42856 * sunrpc/rpc/types.h: Likewise.
42857 * sunrpc/rpc/xdr.h: Likewise.
42858 * sunrpc/rpc_clntout.c: Likewise.
42859 * sunrpc/rpc_cmsg.c: Likewise.
42860 * sunrpc/rpc_common.c: Likewise.
42861 * sunrpc/rpc_cout.c: Likewise.
42862 * sunrpc/rpc_dtable.c: Likewise.
42863 * sunrpc/rpc_hout.c: Likewise.
42864 * sunrpc/rpc_main.c: Likewise.
42865 * sunrpc/rpc_parse.c: Likewise.
42866 * sunrpc/rpc_parse.h: Likewise.
42867 * sunrpc/rpc_prot.c: Likewise.
42868 * sunrpc/rpc_sample.c: Likewise.
42869 * sunrpc/rpc_scan.c: Likewise.
42870 * sunrpc/rpc_scan.h: Likewise.
42871 * sunrpc/rpc_svcout.c: Likewise.
42872 * sunrpc/rpc_tblout.c: Likewise.
42873 * sunrpc/rpc_util.c: Likewise.
42874 * sunrpc/rpc_util.h: Likewise.
42875 * sunrpc/rpcinfo.c: Likewise.
42876 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42877 * sunrpc/rpcsvc/key_prot.x: Likewise.
42878 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42879 * sunrpc/rpcsvc/mount.x: Likewise.
42880 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42881 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42882 * sunrpc/rpcsvc/rex.x: Likewise.
42883 * sunrpc/rpcsvc/rstat.x: Likewise.
42884 * sunrpc/rpcsvc/rusers.x: Likewise.
42885 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42886 * sunrpc/rpcsvc/spray.x: Likewise.
42887 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42888 * sunrpc/rtime.c: Likewise.
42889 * sunrpc/svc.c: Likewise.
42890 * sunrpc/svc_auth.c: Likewise.
42891 * sunrpc/svc_authux.c: Likewise.
42892 * sunrpc/svc_raw.c: Likewise.
42893 * sunrpc/svc_run.c: Likewise.
42894 * sunrpc/svc_simple.c: Likewise.
42895 * sunrpc/svc_tcp.c: Likewise.
42896 * sunrpc/svc_udp.c: Likewise.
42897 * sunrpc/svc_unix.c: Likewise.
42898 * sunrpc/svcauth_des.c: Likewise.
42899 * sunrpc/xcrypt.c: Likewise.
42900 * sunrpc/xdr.c: Likewise.
42901 * sunrpc/xdr_array.c: Likewise.
42902 * sunrpc/xdr_float.c: Likewise.
42903 * sunrpc/xdr_mem.c: Likewise.
42904 * sunrpc/xdr_rec.c: Likewise.
42905 * sunrpc/xdr_ref.c: Likewise.
42906 * sunrpc/xdr_sizeof.c: Likewise.
42907 * sunrpc/xdr_stdio.c: Likewise.
42909 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42912 2010-08-19 Andreas Schwab <schwab@redhat.com>
42914 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42916 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42918 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42919 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42921 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42922 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42923 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42924 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42925 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42927 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42928 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42929 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42930 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42931 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42933 2010-07-26 Anton Blanchard <anton@samba.org>
42935 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42936 * malloc/arena.c (heap_trim): Likewise.
42938 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42940 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42943 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42945 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42947 * sysdeps/i386/elf/Makefile: New file.
42949 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42951 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42952 from fanotify_init.
42953 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42956 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42958 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42960 * sysdeps/multiarch/strcmp.S: Likewise.
42962 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42964 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42965 strncase_l-nonascii.
42966 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42967 Add strncase_l-ssse3.
42968 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42969 * sysdeps/x86_64/strcmp.S: Likewise.
42970 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42971 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42972 * sysdeps/x86_64/strncase.S: New file.
42973 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42974 * sysdeps/x86_64/strncase_l.S: New file.
42975 * string/Makefile (strop-tests): Add strncasecmp.
42976 * string/test-strncasecmp.c: New file.
42978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42981 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42982 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42984 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42986 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42988 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42990 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42991 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42992 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42994 2010-05-01 Alan Modra <amodra@gmail.com>
42996 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42997 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42998 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42999 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43000 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43001 tidying. Don't tail-call __sigjmp_save for static lib.
43002 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43004 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43005 (CALL_MCOUNT): Add eh info, and nop after bl.
43006 (TAIL_CALL_SYSCALL_ERROR): New macro.
43007 (PSEUDO_RET): Use it.
43008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43009 Correct save location of integer regs and cr.
43010 (_dl_profile_resolve): Correct cr save location. Delete nops
43011 after bl when SHARED. Reduce cfi size a little by better
43012 placement of cfi directives.
43013 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43014 make a stack frame. Instead use parm save area as a temp.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43016 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43018 Don't make a stack frame for parent, use parm save area.
43019 Increase child stack frame to 112 bytes. Don't save unused reg,
43020 and adjust reg usage. Set up cfi on error recovery and
43021 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43023 (__makecontext): Add dummy nop after jump to exit.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43025 Use correct parm save area and cr save, reduce stack frame.
43026 Correct cfi for possible PSEUDO_RET frame setup.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43028 Branch to local label emitted by PSEUDO_RET rather than
43031 2010-08-12 Andreas Schwab <schwab@redhat.com>
43034 * locale/programs/locale.c (print_assignment): New function.
43035 (show_locale_vars): Use it.
43037 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43039 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43041 (struct statfs64): Likewise.
43042 (_STATFS_F_FLAGS): Define.
43043 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43045 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43046 (ST_VALID): Define locally.
43047 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43048 __statvfs_getflags, use the provided value.
43049 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43050 __ASSUME_STATFS_F_FLAGS.
43052 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43054 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43055 Add sys/fanotify.h.
43056 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43057 fanotify_mask for GLIBC_2.13.
43058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43059 fanotify_init and fanotify_mark.
43060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43061 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43063 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43065 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43066 prlimit64 for GLIBC_2.13.
43067 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43069 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43072 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43073 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43074 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43077 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43080 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43081 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43083 * nss/Makefile: Add rules to build and run tst-nss-test1.
43084 * shlib-versions: Add entry for libnss_test1.
43085 * nss/nss_test1.c: New file.
43086 * nss/tst-nss-test1.c: New file.
43088 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43089 (__nss_configure_lookup): Set appropriate entry in
43090 __nss_configure_lookup to true.
43091 * nss/nsswitch.h: Define enum with indeces of databases in
43092 databases and __nss_database_custom arrays. Declare
43093 __nss_database_custom.
43094 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43095 to avoid using nscd when custom rules are installed.
43096 * nss/getXXbyYY_r.c: Likewise.
43097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43099 * nss/nss_files/files-parse.c: Whitespace fixes.
43101 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43104 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43105 * posix/fnmatch_loop.c: Likewise.
43107 2010-07-17 Andi Kleen <ak@linux.intel.com>
43109 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43110 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43111 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43112 * Versions.def [GLIBC_2.13]: Add.
43114 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43116 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43117 Also fail if tpwd after pwuid call is NULL.
43119 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43121 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43122 when converting to ms.
43124 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43126 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43127 EOPNOTSUPP errors with ENOTTY.
43128 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43129 EOPNOTSUPP errors with ENOTTY.
43131 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43133 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43134 Add strcasecmp_l-ssse3.
43135 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43137 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43138 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43139 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43141 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43143 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43145 * string/Makefile (strop-tests): Add strcasecmp.
43146 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43147 strcasecmp_l-nonascii.
43148 (gen-as-const-headers): Add locale-defines.sym.
43149 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43150 * sysdeps/x86_64/strcasecmp.S: New file.
43151 * sysdeps/x86_64/strcasecmp_l.S: New file.
43152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43153 * sysdeps/x86_64/locale-defines.sym: New file.
43154 * string/test-strcasecmp.c: New file.
43156 * string/test-strcasestr.c: Test both ends of the range of characters.
43157 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43159 2010-07-29 Roland McGrath <roland@redhat.com>
43162 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43164 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43166 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43169 2010-07-27 Andreas Schwab <schwab@redhat.com>
43171 * manual/memory.texi (Malloc Tunable Parameters): Document
43174 2010-07-26 Roland McGrath <roland@redhat.com>
43177 * configure.in (-fgnu89-inline check): Set and substitute
43178 gnu89_inline, not libc_cv_gnu89_inline.
43179 * configure: Regenerated.
43180 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43182 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43184 * string/test-strnlen.c: New file.
43185 * string/Makefile (strop-tests): Add strnlen.
43186 * string/tester.c (test_strnlen): Add a few more test cases.
43187 * string/tst-strlen.c: Better error reporting.
43189 * sysdeps/x86_64/strnlen.S: New file.
43191 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43194 lower-latency instructions.
43196 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43198 * string/test-strcasestr.c: New file.
43199 * string/test-strstr.c: New file.
43200 * string/Makefile (strop-tests): Add strstr and strcasestr.
43201 * string/str-two-way.h: Don't undefine MAX.
43202 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43204 2010-07-21 Andreas Schwab <schwab@redhat.com>
43206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43207 strcasestr-nonascii.
43208 (CFLAGS-strcasestr-nonascii.c): Define.
43209 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43210 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43211 Remove unused attribute.
43213 2010-07-20 Roland McGrath <roland@redhat.com>
43215 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43216 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43217 ld.so.cache was broken. With it, there is no way to disable dsocaps
43218 like LD_HWCAP_MASK can disable hwcaps.
43220 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43222 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43224 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43226 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43227 call in strcasestr.
43228 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43229 __strcasestr_sse42_nonascii.
43230 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43231 strcasestr-nonascii.c.
43232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43234 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43236 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43238 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43239 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43241 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43243 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43246 2010-07-06 Andreas Schwab <schwab@redhat.com>
43249 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43252 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43254 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43255 _PC_PIPE_BUF using F_GETPIPE_SZ.
43257 2010-07-05 Roland McGrath <roland@redhat.com>
43259 * manual/arith.texi (Rounding Functions): Fix rint description
43260 implicit in round description.
43262 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43264 * elf/Makefile: Fix linking for a few tests to make recent linker
43267 2010-06-30 Andreas Schwab <schwab@redhat.com>
43269 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43270 $(common-objpfx)libc_nonshared.a.
43272 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43274 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43275 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43276 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43277 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43278 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43279 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43280 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43281 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43296 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43297 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43298 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43299 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43300 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43301 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43302 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43303 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43304 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43305 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43306 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43307 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43323 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43325 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43326 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43327 * string/memmove.c (memmove): Renamed to ...
43328 (MEMMOVE): ...this. Default to memmove.
43329 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43330 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43333 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43334 mempcpy-ssse3-back memmove-ssse3-back.
43335 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43338 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43339 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43340 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43341 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43342 * sysdeps/x86_64/multiarch/memmove.c: New file.
43343 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43344 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43345 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43346 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43347 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43350 (index_Fast_Copy_Backward): Define.
43351 (HAS_ARCH_FEATURE): Define.
43352 (HAS_FAST_REP_STRING): Define.
43353 (HAS_FAST_COPY_BACKWARD): Define.
43355 2010-06-21 Andreas Schwab <schwab@redhat.com>
43357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43358 Restore proper fallback handling.
43360 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43363 * posix/group_member.c (__group_member): Correct checking loop.
43365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43366 OOM in getpwuid_r correctly. Return error number when the caller
43367 should return, otherwise -1.
43368 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43369 call returning > 0 value.
43370 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43372 2010-06-07 Andreas Schwab <schwab@redhat.com>
43374 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43375 libc_nonshared.a from targets in modules-names.
43377 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43379 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43382 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43384 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43385 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43389 2010-06-02 Andreas Schwab <schwab@redhat.com>
43391 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43393 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43395 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43402 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43404 2010-06-14 Roland McGrath <roland@redhat.com>
43406 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43408 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43410 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43411 __REDIRECT followed by __THROW.
43412 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43413 * posix/getopt.h (getopt): Likewise.
43415 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43417 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43418 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43419 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43421 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43422 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43424 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43426 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43428 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43432 Properly check family and model.
43434 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43436 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43438 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43440 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43442 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43444 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43447 2010-05-19 Andreas Schwab <schwab@redhat.com>
43449 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43452 2010-05-21 Andreas Schwab <schwab@redhat.com>
43454 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43455 and internal_recvmmsg.
43456 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43457 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43458 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43459 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43461 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43462 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43463 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43465 2010-05-20 Andreas Schwab <schwab@redhat.com>
43467 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43469 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43471 POWER7 optimizations.
43472 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43473 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43475 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43477 * version.h: Update for 2.13 development version.
43479 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43481 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43482 exceptions. Return 0.
43484 2010-05-07 Roland McGrath <roland@redhat.com>
43486 * elf/ldconfig.c (main): Add a const.
43488 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43490 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43491 (args_options): Add no-idn option.
43492 (ahosts_keys_int): Add idn_flags to ai_flags.
43493 (parse_option): Handle 'i' option to clear idn_flags.
43495 * malloc/malloc.c (_int_free): Possible race in the most recently
43496 added check. Only act on the data if no current modification
43499 See ChangeLog.17 for earlier changes.