1 2014-05-01 Steve Ellcey <sellcey@mips.com>
3 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5 * iconvdata/big5.c (ONE_DIRECTION): Define.
6 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19 * iconvdata/gbk.c (ONE_DIRECTION): Define.
20 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
24 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33 * iconvdata/iso646.c (ONE_DIRECTION): Define.
34 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38 * iconvdata/johab.c (ONE_DIRECTION): Define.
39 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
43 * iconvdata/tscii.c (ONE_DIRECTION): Define.
44 * iconvdata/uhc.c (ONE_DIRECTION): Define.
45 * iconvdata/unicode.c (ONE_DIRECTION): Define.
46 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50 2014-05-01 Roland McGrath <roland@hack.frob.com>
52 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53 (_IO_JUMPS_OFFSET): Define to 0.
55 * nptl/sysdeps/pthread/bits/libc-lock.h
56 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
57 (__libc_lock_define_initialized_recursive): Always define using
58 initializer. Modern compilers treat uninitialized (implicit zero) and
59 explicit zero initializers the same (i.e. put the datum in bss).
61 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
63 * nscd/nscd-client.h: Include <string.h>.
65 2014-05-01 David S. Miller <davem@davemloft.net>
68 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
69 multiple zero bytes exist at the end of a string.
70 Reported by Aurelien Jarno <aurelien@aurel32.net>
72 * string/test-strcmp.c (check): Add explicit test for situations where
73 there are multiple zero bytes after the first.
75 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
78 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
79 when compiling wprintf.
80 * stdio-common/tstdiomisc.c (t3): New function.
83 2014-05-01 Steve Ellcey <sellcey@mips.com>
85 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
86 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
87 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
88 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
90 2014-05-01 Steve Ellcey <sellcey@mips.com>
92 * stdlib/longlong.h: Updated from GCC.
94 2014-05-01 Will Newton <will.newton@linaro.org>
95 Bernard Ogden <bernie.ogden@linaro.org>
97 * NEWS: Update fixed bug list.
100 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
102 2014-04-30 David S. Miller <davem@davemloft.net>
104 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
105 (libc_feholdexcept_setround_sparc_ctx): New function.
106 (libc_fesetenv_sparc_ctx): Likewise.
107 (libc_feupdateenv_sparc_ctx): Likewise.
108 (libc_feholdsetround_sparc_ctx): Likewise.
109 (libc_feholdexcept_setround_ctx): Define.
110 (libc_feholdexcept_setroundf_ctx): Likewise.
111 (libc_feholdexcept_setroundl_ctx): Likewise.
112 (libc_fesetenv_ctx): Likewise.
113 (libc_fesetenvf_ctx): Likewise.
114 (libc_fesetenvl_ctx): Likewise.
115 (libc_feupdateenv_ctx): Likewise.
116 (libc_feupdateenvf_ctx): Likewise.
117 (libc_feupdateenvl_ctx): Likewise.
118 (libc_feresetround_ctx): Likewise.
119 (libc_feresetroundf_ctx): Likewise.
120 (libc_feresetroundl_ctx): Likewise.
121 (libc_feholdsetround_ctx): Likewise.
122 (libc_feholdsetroundf_ctx): Likewise.
123 (libc_feholdsetroundl_ctx): Likewise.
125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
126 with __USE_GNU instead of XOPEN cpp guards.
128 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
132 with XOPEN cpp guards.
134 2014-04-30 Julian Brown <julian@codesourcery.com>
137 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
140 2014-04-30 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
145 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
146 * sysdeps/unix/sysv/linux/configure: Regenerated.
147 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
148 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
149 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
150 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
151 * README: Update reference to required Linux kernel version.
152 * manual/install.texi (Linux): Update reference to required Linux
153 kernel headers version.
154 * INSTALL: Regenerated.
156 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
158 [POSIX] (limits.h): Likewise.
159 [POSIX] (math.h): Likewise.
160 [POSIX] (sys/wait.h): Likewise.
161 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
163 [POSIX] (stddef.h): Do not allow header inclusion.
165 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
169 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
171 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
172 Return immediately after lll_futex_wake.
174 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
177 * nscd/nscd-client.h (datahead_init_common): Initialize entire
179 (datahead_init_pos): Call datahead_init_common early.
180 (datahead_init_neg): Likewise.
182 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
183 datahead_init_neg): New functions.
184 * nscd/aicache.c (addhstaiX): Use them.
185 * nscd/grpcache.c (cache_addgr): Likewise.
186 * nscd/hstcache.c (cache_addhst): Likewise.
187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
188 * nscd/netgroupcache.c (do_notfound): Likewise.
189 (addgetnetgrentX): Likewise.
190 (addinnetgrX): Likewise.
191 * nscd/pwdcache.c (cache_addpw): Likewise.
192 * nscd/servicescache.c (cache_addserv): Likewise.
194 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
195 Atsushi Onoe <atsushi@onoe.org>
200 * resolv/res_query.c (__libc_res_nsearch): Return if at least
201 one response is valid.
202 * resolv/res_send.c (send_dg): Check for validity of other
203 response if the current response is a referral.
205 2014-04-29 Steve Ellcey <sellcey@mips.com>
207 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
209 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
212 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
213 Always divide by positive zero when computing -Inf result.
214 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
215 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
217 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
220 FPSCR if value do not change.
221 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
222 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
223 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
224 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
225 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
226 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
229 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
231 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
232 * sysdeps/unix/sysv/linux/hppa: Move directory from
233 ports/systeps/unix/sysv/linux/hppa.
234 * README: Update listing for hppa-*-linux-gnu.
236 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
239 * manual/stdio.texi (Hook functions): Fix types of stream hook
242 * socket/sys/socket.h: Fix typo in comment.
244 2014-04-28 Wilco <wdijkstr@arm.com>
246 * sysdeps/arm/fenv_private.h: New file.
247 * sysdeps/arm/math_private.h: New file.
248 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
250 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
252 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
254 (La_x86_64_retval): Likewise.
256 2014-04-24 Ian Bolton <ian.bolton@arm.com>
258 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
259 fpsr if value didn't change.
260 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
261 to fpcr if value didn't change.
262 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
263 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
264 fpsr or fpcr if value didn't change.
265 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
266 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
267 fpcr if value didn't change.
268 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
269 to fpsr if value didn't change.
271 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
273 * nptl/tst-sem3.c: Use test-skeleton.c
274 (main): Rename to do_test. Use return instead of
276 * nptl/tst-sem4.c: Use test-skeleton.c
277 (main): Rename to do_test.
279 2014-04-22 David S. Miller <davem@davemloft.net>
281 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
282 (struct sigaction): New struct member __glibc_reserved0, change
283 type of sa_flags to int.
285 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
287 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
288 (COUNT_LEADING_ZEROS_0): Define for AArch64.
290 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
292 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
293 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
295 2014-04-22 Will Newton <will.newton@linaro.org>
296 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
298 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
299 (__longjmp): Add longjmp and longjmp_target SystemTap
301 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
302 (__sigsetjmp): Add setjmp SystemTap probe.
304 2014-04-17 Carlos O'Donell <carlos@redhat.com>
306 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
309 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
311 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
313 * sysdeps/powerpc/fpu/fenv_private.h
314 (libc_feholdexcept_setroundl_ctx): Define to
315 libc_feholdexcept_setround_ppc_ctx.
316 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
317 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
318 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
319 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
321 2014-04-17 Ian Bolton <ian.bolton@arm.com>
323 * sysdeps/aarch64/math-tests.h: New file.
325 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
327 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
330 Check and set bit_AVX2_Usable.
331 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
333 (bit_AVX2): Likewise.
334 (index_AVX2_Usable): Likewise.
335 (CPUID_AVX2): Likewise.
336 (HAS_AVX2): Likewise.
338 2014-04-17 Will Newton <will.newton@linaro.org>
340 * manual/setjmp.texi (System V contexts): Add note that
341 calling setcontext on a context created by a call to a
342 signal handler is undefined. Update text to note that
343 setcontext from a signal handler is possible but not
347 * stdlib/tst-setcontext.c: Include signal.h.
348 (main): Check that the signal stack before and
349 after swapcontext is the same.
351 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
352 Re-implement to restore registers in user code and avoid
353 rt_sigreturn system call.
355 2014-04-17 Wilco <wdijkstr@arm.com>
357 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
358 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
359 * math/test-fenv.c: Skip exception trap tests on targets which only
360 support non-stop mode.
362 2014-04-17 Ian Bolton <ian.bolton@arm.com>
363 Wilco Dijkstra <wilco.dijkstra@arm.com>
365 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
366 (libc_feholdsetround_aarch64_ctx)
367 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
368 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
369 (libc_feresetround_ctx, libc_feresetroundf_ctx)
370 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
371 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
372 (libc_feresetround_noexl_ctx): Define.
374 2014-04-16 Richard Henderson <rth@redhat.com>
376 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
378 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
381 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
382 const from the non-libc, non-ldso copy.
384 * sysdeps/alpha/libm-test-ulps: Regenerate.
386 2014-04-16 Ian Bolton <ian.bolton@arm.com>
387 Wilco Dijkstra <wilco.dijkstra@arm.com>
389 * sysdeps/aarch64/fpu/math_private.h: New file.
391 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
393 * sysdeps/aarch64/libm-test-ulps: Regenerate.
395 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
397 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
398 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
400 Intel MPX bound registers before _dl_profile_fixup.
401 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
402 registers after _dl_profile_fixup. Save and restore bound
403 registers bnd0/bnd1 when calling _dl_call_pltexit.
404 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
405 (LR_BND_OFFSET): Likewise.
406 (LRV_BND0_OFFSET): Likewise.
407 (LRV_BND1_OFFSET): Likewise.
409 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
411 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
413 * sysdeps/mach/hurd/i386/tls.h: ... here.
414 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
415 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
418 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
420 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
422 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
426 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
429 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
430 * sysdeps/s390/configure: Regenerate.
433 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
434 Set round-to-nearest internally to reduce error accumulation.
436 2014-04-16 Alan Modra <amodra@gmail.com>
440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
441 * math/libm-test.inc (frexp_test_data): Add tests.
442 * NEWS: Update fixed bug list.
444 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
446 * benchtests/Makefile: Depend on libraries in build directory.
447 (bench-math): Separate out math tests.
448 (bench-pthread): Separate out pthread tests.
449 (bench): Include math and pthread tests.
451 2014-04-14 Carlos O'Donell <carlos@redhat.com>
454 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
455 _dl_debug_initialize.
457 * configure.ac: Remove SELinux header check.
458 * configure: Regenerate.
459 * nscd/selinux.c (perms): Array of const char* to permission names.
460 (nscd_request_avc_has_perm): Call security_deny_unknown to find
461 default policy. Call string_to_security_class and string_to_av_perm to
462 translate strings. Enforce default policy and call avs_has_perm with
463 results of translated strings.
465 2014-04-13 David S. Miller <davem@davemloft.net>
467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
469 2014-04-12 Allan McRae <allan@archlinux.org>
472 * manual/string.texi (Collation Functions): Fix qsort argument
474 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
476 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
478 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
479 Make the test a no-op if there are no exceptions defined.
481 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
483 * elf/Makefile (tests): make tst-dlopen-aout conditional on
484 enable-hardcoded-path-in-tests
486 2014-04-11 Will Newton <will.newton@linaro.org>
488 * benchtests/Makefile (extra-objs): Add json-lib.o.
489 (bench-func): Tidy up JSON output.
490 * benchtests/bench-skeleton.c: Include json-lib.h.
491 (main): Use JSON library functions to do output of
493 * benchtests/bench-timing-type.c (main): Output the
494 timing type simply, leaving formatting to the user.
495 * benchtests/json-lib.c: New file.
496 * benchtests/json-lib.h: Likewise.
498 2014-04-11 Torvald Riegel <triegel@redhat.com>
501 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
502 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
503 memory barriers. Add comments.
504 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
505 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
506 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
507 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
508 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
509 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
511 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
513 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
514 * sysdeps/s390/s390-64/configure.ac: ... this ...
515 * sysdeps/s390/configure.ac: ... to here.
516 * sysdeps/s390/s390-32/configure: Delete file.
517 * sysdeps/s390/s390-64/configure: Delete file.
518 * sysdeps/s390/configure: Regenerate.
520 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
522 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
524 2014-04-11 Will Newton <will.newton@linaro.org>
526 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
527 to zero if it is not defined elsewhere. (mtrim): Test
528 the value of MALLOC_DEBUG with #if rather than #ifdef.
530 2014-04-10 Torvald Riegel <triegel@redhat.com>
532 * benchtests/pthread_once-inputs: New file.
533 * benchtests/pthread_once-source.c: New file.
534 * benchtests/README: Update documentation.
536 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
537 H.J. Lu <hongjiu.lu@intel.com>
539 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
540 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
541 * sysdeps/x86_64/configure: Regenerated.
542 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
544 (REGISTER_SAVE_RAX): Likewise.
545 (REGISTER_SAVE_RCX): Likewise.
546 (REGISTER_SAVE_RDX): Likewise.
547 (REGISTER_SAVE_RSI): Likewise.
548 (REGISTER_SAVE_RDI): Likewise.
549 (REGISTER_SAVE_R8): Likewise.
550 (REGISTER_SAVE_R9): Likewise.
551 (REGISTER_SAVE_BND0): Likewise.
552 (REGISTER_SAVE_BND1): Likewise.
553 (REGISTER_SAVE_BND2): Likewise.
554 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
555 bound registers when calling _dl_fixup.
557 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
559 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
560 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
562 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
563 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
564 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
565 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
566 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
567 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
568 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
570 2014-04-09 Peter Brett <peter@peter-b.co.uk>
573 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
574 pathconf(_PC_NAME_MAX).
576 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
580 (__PTHREAD_SPINS): Move definition to ...
581 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
582 (__PTHREAD_SPINS): ... here.
583 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
584 (__PTHREAD_SPIN): Likewise.
585 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
586 (__PTHREAD_SPIN): Likewise.
587 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
588 (__PTHREAD_SPIN): Likewise.
589 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
590 (__PTHREAD_SPIN): Likewise.
591 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
592 (__PTHREAD_SPIN): Likewise.
593 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
594 (__PTHREAD_SPIN): Likewise.
595 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
596 (__PTHREAD_SPIN): Likewise.
597 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
598 (__PTHREAD_SPIN): Likewise.
599 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
600 (__PTHREAD_SPIN): Likewise.
601 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
602 (__PTHREAD_SPIN): Likewise.
603 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
604 (__PTHREAD_SPIN): Likewise.
605 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
606 (__PTHREAD_SPIN): Likewise.
608 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
609 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
610 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
611 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
613 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
614 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
615 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
616 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
618 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
619 strlen symbol for non multi-arch builds.
620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
621 missing hidden_def and weak_alias.
623 2014-04-08 Carlos O'Donell <carlos@redhat.com>
625 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
627 2014-04-07 Will Newton <will.newton@linaro.org>
629 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
630 and contents. [!_LIBC] Remove #ifndef and contents.
631 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
632 * string/memccpy.c (__memccpy): Use ANSI prototype.
633 * string/memfrob.c (memfrob): Likewise.
634 * string/strcoll.c (STRCOLL): Likewise.
635 * string/strlen.c (strlen): Likewise.
636 * string/strtok.c (STRTOK): Likewise.
637 * string/strcat.c: Remove unused #include of memcopy.h.
638 (strcat): Use ANSI prototype.
639 * string/strchr.c: Remove unused #include of memcopy.h.
640 (strchr): Use ANSI prototype.
641 * string/strcmp.c: Remove unused #include of memcopy.h.
642 (strcmp): Use ANSI prototype.
643 * string/strcpy.c: Remove unused #include of memcopy.h.
644 (strcpy): Use ANSI prototype.
646 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
649 * config.make.in (config-extra-cppflags): Set it from
651 * configure.ac (libc_extra_cflags): Make it accumulate over
653 (libc_extra_cppflags): New flag.
654 * configure. Regenerate.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
656 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
657 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
661 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
662 result for FE_DOWNWARD rounding mode.
663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
667 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
669 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
670 in function argument name.
672 2014-04-03 David Svoboda <svoboda@cert.org>
675 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
678 2014-04-03 Roland McGrath <roland@hack.frob.com>
680 * elf/dl-unmap-segments.h: New file.
681 * sysdeps/generic/ldsodefs.h
682 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
683 * elf/dl-close.c: Include <dl-unmap-segments.h>.
684 * elf/dl-fptr.c: Likewise.
685 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
686 * sysdeps/aarch64/tlsdesc.c: Likewise.
687 * sysdeps/arm/tlsdesc.c: Likewise.
688 * sysdeps/i386/tlsdesc.c: Likewise.
689 * sysdeps/tile/dl-runtime.c: Likewise.
690 * sysdeps/x86_64/tlsdesc.c: Likewise.
691 * elf/dl-load.h: New file.
692 * elf/dl-load.c: Include it.
693 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
694 Macros moved to dl-load.h.
695 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
696 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
697 Use _dl_unmap_segments in place of __munmap.
698 Break out segment-mapping loop into ...
699 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
701 2014-04-03 Will Newton <will.newton@linaro.org>
703 * elf/dl-lookup.c (do_lookup_x): Remove comment
704 referring to nested function and move variable
705 declarations down to before first use.
707 2014-04-02 Joseph Myers <joseph@codesourcery.com>
711 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
713 * math/s_catanf.c (__catanf): Likewise.
714 * math/s_catanh.c (__catanh): Likewise.
715 * math/s_catanhf.c (__catanhf): Likewise.
716 * math/s_catanhl.c (__catanhl): Likewise.
717 * math/s_catanl.c (__catanl): Likewise.
718 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
719 by positive zero when computing -Inf result.
720 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
721 (catanh_test): Likewise.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
726 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
727 instead of using underflowing value in computing result.
728 * math/s_clog10.c (__clog10): Likewise.
729 * math/s_clog10f.c (__clog10f): Likewise.
730 * math/s_clog10l.c (__clog10l): Likewise.
731 * math/s_clogf.c (__clogf): Likewise.
732 * math/s_clogl.c (__clogl): Likewise.
733 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
734 (clog10_test): Likewise.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
738 2014-04-02 Alan Modra <amodra@gmail.com>
741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
742 output when value is near a power of two. Use int64_t for lx and
743 remove casts. Use decimal rather than hex exponent constants.
744 Don't use long double multiplication when double will suffice.
745 * math/libm-test.inc (nextafter_test_data): Add tests.
746 * NEWS: Add 16739 and 16786 to bug list.
748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
750 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
752 2014-04-01 Will Newton <will.newton@linaro.org>
754 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
755 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
757 2014-04-01 Florian Weimer <fweimer@redhat.com>
760 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
761 * nptl/tst-setuid2.c: New file.
762 * nptl/Makefile (xtests): Add tst-setuid2.
764 2014-04-01 Alan Modra <amodra@gmail.com>
767 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
769 2014-03-31 Joseph Myers <joseph@codesourcery.com>
773 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
774 set errno as appropriate.
775 * math/w_scalbf.c (__scalbf): Likewise.
776 * math/w_scalbl.c (__scalbl): Likewise.
777 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
778 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
779 * math/libm-test.inc (scalb_test_data): Add errno expectations.
783 * math/w_atan2.c: Include <errno.h>.
784 (__atan2): Set errno for result underflowing to zero.
785 * math/w_atan2f.c: Include <errno.h>.
786 (__atan2f): Set errno for result underflowing to zero.
787 * math/w_atan2l.c: Include <errno.h>.
788 (__atan2l): Set errno for result underflowing to zero.
789 * math/auto-libm-test-in: Don't allow missing errno for some atan2
791 * math/auto-libm-test-out: Regenerated.
793 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
795 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
796 Encode instruction correctly in little endian.
797 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
801 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
806 2014-03-31 Joseph Myers <joseph@codesourcery.com>
809 * sysdeps/unix/sysv/linux/kernel-features.h
810 [__sparc__ && !__arch64__ && !__sparc_v9__]
811 (__ASSUME_SET_ROBUST_LIST): Do not define.
812 [__sparc__ && !__arch64__ && !__sparc_v9__]
813 (__ASSUME_FUTEX_LOCK_PI): Likewise.
814 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
817 (__ASSUME_FUTEX_LOCK_PI): Undefine.
818 (__ASSUME_REQUEUE_PI): Likewise.
819 (__ASSUME_SET_ROBUST_LIST): Likewise.
820 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
821 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
824 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
826 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
828 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
830 * sysdeps/unix/sysv/linux/mips/kernel-features.h
831 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
833 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
834 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
840 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
842 2014-03-31 Will Newton <will.newton@linaro.org>
844 * benchtests/Makefile (bench): Add ffs and ffsll to list
846 * benchtests/ffs-inputs: New file.
847 * benchtests/ffsll-inputs: Likewise.
849 2014-03-29 Joseph Myers <joseph@codesourcery.com>
852 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
853 too large before casting to int.
854 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
855 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
856 * math/libm-test.inc (scalb_test_data): Add more tests.
858 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
860 * benchtests/Makefile (DETAILED_OPT): New make option.
861 (bench-func): Run benchmark program with -d if DETAILED_OPT is
863 * benchtests/bench-skeleton.c: Include stdbool.h.
864 (main): Store and print timings per input.
865 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
866 member to each argument value.
867 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
868 (_print_arg_data): Initialize per-input timing to 0.
870 * benchtests/Makefile (timing-type): New binary.
871 (bench-clean): Also remove bench-timing-type.
872 (bench): New target for timing-type.
873 (bench-func): Print output in JSON format.
874 * benchtests/bench-skeleton.c (main): Print output in JSON
876 * benchtests/bench-timing-type.c: New file.
877 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
878 (TIMING_PRINT_STATS): Remove.
879 * benchtests/scripts/bench.py (_print_arg_data): Store variant
882 * benchtests/bench-modf.c: Remove.
883 * benchtests/modf-inputs: New inputs file.
885 2014-03-28 Joseph Myers <joseph@codesourcery.com>
888 * math/s_clog10.c (M_PI_LOG10E): New macro.
889 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
890 imaginary parts are 0.
891 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
892 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
893 imaginary parts are 0.
894 * math/s_clog10l.c (M_PI_LOG10El): New macro.
895 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
896 imaginary parts are 0.
897 * math/libm-test.inc (clog10_test_data): Update expected results
898 for when real and imaginary parts are 0.
900 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
902 * elf/dl-load.c: Finish conversion of __builtin_expect into
905 2014-03-27 Joseph Myers <joseph@codesourcery.com>
908 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
909 1+x for argument with exponent below -67.
910 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
912 * math/auto-libm-test-in: Add more tests of exp.
913 * math/auto-libm-test-out: Regenerated.
915 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
918 * inet/getnetgrent_r.c (get_nonempty_val): New function.
919 (nscd_getnetgrent): Use it.
922 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
925 2014-03-27 Andi Kleen <ak@linux.intel.com>
927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
928 (lll_robust_lock, lll_cond_lock, lll_timedlock)
929 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
930 (lll_robust_unlock): Remove out of line section. Use cfi
932 (LLL_STUB_UNWIND_INFO*): Remove.
933 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
934 (lll_robust_lock, lll_cond_lock, lll_timedlock)
935 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
936 (lll_robust_unlock): Remove out of line section. Use cfi
938 (LLL_STUB_UNWIND_INFO*): Remove.
940 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
943 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
946 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
948 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
950 2014-03-26 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
955 * math/test-fenv-preserve.c: New file.
956 * math/Makefile (tests): Add test-fenv-preserve.
958 2014-03-26 Will Newton <will.newton@linaro.org>
960 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
962 2014-03-25 Roland McGrath <roland@hack.frob.com>
964 * scripts/versionlist.awk: Partition the version sets and emit all
965 GLIBC_* (sorted) before all others (sorted).
967 2014-03-25 Joseph Myers <joseph@codesourcery.com>
969 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
972 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
977 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
982 2014-03-25 Andreas Schwab <schwab@suse.de>
984 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
985 label to be used after in6ailist is initialized.
987 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
990 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
992 2014-03-25 Joseph Myers <joseph@codesourcery.com>
996 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
998 (fp_formats): Update initializers.
999 (init_fp_formats): Initialize new field.
1000 (output_for_one_input_case): Allow underflow for results up to
1002 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1003 * math/auto-libm-test-in: Don't mark some underflows from asin and
1005 * math/auto-libm-test-out: Regenerated.
1006 * sysdeps/i386/fpu/libm-test-ulps: Update.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1009 2014-03-25 Andreas Schwab <schwab@suse.de>
1011 * libio/Makefile (tst-ftell-partial-wide-ENV)
1012 (tst-ftell-active-handler-ENV): Define.
1014 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1016 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1018 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1020 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1022 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1025 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1026 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1028 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1031 * elf/dl-load.c (open_verify): Add mode parameter.
1032 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1033 (open_path): Change from boolean 'secure' to complete flag 'mode'
1034 (_dl_map_object): Adjust.
1035 * elf/Makefile (tests): Add tst-dlopen-aout.
1036 * elf/tst-dlopen-aout.c: New test.
1038 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1041 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1042 (struct stat): Rename member pad0 to __glibc_reserved0.
1045 * sysdeps/s390/s390-32/bits/wordsize.h
1046 (__WORDSIZE32_SIZE_ULONG): New define.
1047 * sysdeps/s390/s390-64/bits/wordsize.h
1048 (__WORDSIZE32_SIZE_ULONG): Likewise.
1049 * sysdeps/generic/stdint.h (SIZE_MAX):
1050 Define as UL if __WORDSIZE32_SIZE_ULONG.
1053 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1054 (__glibc_reserved0): New variable.
1055 (sa_flags): Change type to int.
1057 * posix/Makefile (before-compile): Use += before-compile instead
1060 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1061 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1063 2014-03-20 Andreas Schwab <schwab@suse.de>
1066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1067 non-matching result from nscd.
1069 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1071 * scripts/bench.py: Moved to ...
1072 * benchtests/scripts/bench.py: ... here.
1073 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1075 2014-03-24 Andreas Schwab <schwab@suse.de>
1078 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1079 alloca_account and account alloca use for struct in6ailist.
1081 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1085 rounding mode to recompute results that overflow to infinity or
1087 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1089 * math/auto-libm-test-out: Regenerated.
1090 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1091 (ccosh_test): Likewise.
1092 (csin_test_data): Use plus_oflow.
1093 (csin_test): Use ALL_RM_TEST.
1094 (csinh_test_data): Use plus_oflow.
1095 (csinh_test): Use ALL_RM_TEST.
1096 * sysdeps/i386/fpu/libm-test-ulps: Update.
1097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1099 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1101 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1102 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1103 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1106 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1108 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1109 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1110 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1111 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1113 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1114 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1116 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1120 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1122 * scripts/bench.pl: Remove file.
1123 * scripts/bench.py: New benchmark script.
1124 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1125 * benchtests/README: Mention python dependency.
1126 * scripts/pylintrc: New file.
1127 * scripts/pylint: New file.
1129 * bits/mathdef.h: Use #ifdef instead of #if.
1130 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1131 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1132 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1133 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1134 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1135 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1137 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1140 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1142 and strpbrk-ppc64 objects.
1143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1144 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1145 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1146 multiarch strpbrk for POWER7.
1147 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1148 multiarch strpbrk for PPC64.
1149 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1151 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1154 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1156 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1157 (atan_test): Likewise.
1158 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1159 (atanh_test): Use ALL_RM_TEST.
1160 (atan2_test_data): Likewise.
1161 (cabs_test): Likewise.
1162 (cacosh_test): Likewise.
1163 (carg_test): Likewise.
1164 (casin_test): Likewise.
1165 (casinh_test): Likewise.
1166 (cbrt_test): Likewise.
1167 (csqrt_test): Likewise.
1168 (erf_test): Likewise.
1169 (erfc_test): Likewise.
1170 (pow10_test): Likewise.
1171 (exp2_test): Likewise.
1172 (hypot_test): Likewise.
1173 (j0_test): Likewise.
1174 (j1_test): Likewise.
1175 (lgamma_test): Likewise.
1176 (gamma_test): Likewise.
1177 (sincos_test): Likewise.
1178 (tanh_test): Likewise.
1179 (y0_test): Likewise.
1180 (y1_test): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1186 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1188 and strcspn-ppc64 objects.
1189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1190 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1191 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1192 multiarch strcspn for POWER7.
1193 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1194 multiarch strcspn for PPC64.
1195 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1197 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1200 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1202 * math/gen-libm-test.pl (generate_testfile): Expect only function
1203 name as argument to AUTO_TESTS_* and pass results for all rounding
1204 modes to parse_args.
1205 (parse_auto_input): Separate inputs of automatic tests from
1206 outputs before storing in %auto_tests.
1207 * math/libm-test.inc (acos_test_data): Update call to
1209 (acos_test): Use ALL_RM_TEST.
1210 (acos_tonearest_test_data): Remove.
1211 (acos_test_tonearest): Likewise.
1212 (acos_towardzero_test_data): Likewise.
1213 (acos_test_towardzero): Likewise.
1214 (acos_downward_test_data): Likewise.
1215 (acos_test_downward): Likewise.
1216 (acos_upward_test_data): Likewise.
1217 (acos_test_upward): Likewise.
1218 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1219 (asin_test_data): Likewise.
1220 (asin_test): Use ALL_RM_TEST.
1221 (asin_tonearest_test_data): Remove.
1222 (asin_test_tonearest): Likewise.
1223 (asin_towardzero_test_data): Likewise.
1224 (asin_test_towardzero): Likewise.
1225 (asin_downward_test_data): Likewise.
1226 (asin_test_downward): Likewise.
1227 (asin_upward_test_data): Likewise.
1228 (asin_test_upward): Likewise.
1229 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1230 (atan_test_data): Likewise.
1231 (atanh_test_data): Likewise.
1232 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1233 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1234 (carg_test_data): Likewise.
1235 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1236 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1237 (ccosh_test_data): Likewise.
1238 (cexp_test_data): Likewise.
1239 (clog_test_data): Likewise.
1240 (clog10_test_data): Likewise.
1241 (cos_test_data): Update call to AUTO_TESTS_f_f.
1242 (cos_test): Use ALL_RM_TEST.
1243 (cos_tonearest_test_data): Remove.
1244 (cos_test_tonearest): Likewise.
1245 (cos_towardzero_test_data): Likewise.
1246 (cos_test_towardzero): Likewise.
1247 (cos_downward_test_data): Likewise.
1248 (cos_test_downward): Likewise.
1249 (cos_upward_test_data): Likewise.
1250 (cos_test_upward): Likewise.
1251 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1252 (cosh_test): Use ALL_RM_TEST.
1253 (cosh_tonearest_test_data): Remove.
1254 (cosh_test_tonearest): Likewise.
1255 (cosh_towardzero_test_data): Likewise.
1256 (cosh_test_towardzero): Likewise.
1257 (cosh_downward_test_data): Likewise.
1258 (cosh_test_downward): Likewise.
1259 (cosh_upward_test_data): Likewise.
1260 (cosh_test_upward): Likewise.
1261 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1262 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1263 (ctan_test_data): Likewise.
1264 (ctan_test): Use ALL_RM_TEST.
1265 (ctan_tonearest_test_data): Remove.
1266 (ctan_test_tonearest): Likewise.
1267 (ctan_towardzero_test_data): Likewise.
1268 (ctan_test_towardzero): Likewise.
1269 (ctan_downward_test_data): Likewise.
1270 (ctan_test_downward): Likewise.
1271 (ctan_upward_test_data): Likewise.
1272 (ctan_test_upward): Likewise.
1273 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1274 (ctanh_test): Use ALL_RM_TEST.
1275 (ctanh_tonearest_test_data): Remove.
1276 (ctanh_test_tonearest): Likewise.
1277 (ctanh_towardzero_test_data): Likewise.
1278 (ctanh_test_towardzero): Likewise.
1279 (ctanh_downward_test_data): Likewise.
1280 (ctanh_test_downward): Likewise.
1281 (ctanh_upward_test_data): Likewise.
1282 (ctanh_test_upward): Likewise.
1283 (erf_test_data): Update call to AUTO_TESTS_f_f.
1284 (erfc_test_data): Likewise.
1285 (exp_test_data): Likewise.
1286 (exp_test): Use ALL_RM_TEST.
1287 (exp_tonearest_test_data): Remove.
1288 (exp_test_tonearest): Likewise.
1289 (exp_towardzero_test_data): Likewise.
1290 (exp_test_towardzero): Likewise.
1291 (exp_downward_test_data): Likewise.
1292 (exp_test_downward): Likewise.
1293 (exp_upward_test_data): Likewise.
1294 (exp_test_upward): Likewise.
1295 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1296 (exp10_test): Use ALL_RM_TEST.
1297 (exp10_tonearest_test_data): Remove.
1298 (exp10_test_tonearest): Likewise.
1299 (exp10_towardzero_test_data): Likewise.
1300 (exp10_test_towardzero): Likewise.
1301 (exp10_downward_test_data): Likewise.
1302 (exp10_test_downward): Likewise.
1303 (exp10_upward_test_data): Likewise.
1304 (exp10_test_upward): Likewise.
1305 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1306 (expm1_test_data): Likewise.
1307 (expm1_test): Use ALL_RM_TEST.
1308 (expm1_tonearest_test_data): Remove.
1309 (expm1_test_tonearest): Likewise.
1310 (expm1_towardzero_test_data): Likewise.
1311 (expm1_test_towardzero): Likewise.
1312 (expm1_downward_test_data): Likewise.
1313 (expm1_test_downward): Likewise.
1314 (expm1_upward_test_data): Likewise.
1315 (expm1_test_upward): Likewise.
1316 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1317 (fma_test): Use ALL_RM_TEST.
1318 (fma_towardzero_test_data): Remove.
1319 (fma_test_towardzero): Likewise.
1320 (fma_downward_test_data): Likewise.
1321 (fma_test_downward): Likewise.
1322 (fma_upward_test_data): Likewise.
1323 (fma_test_upward): Likewise.
1324 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1325 (j0_test_data): Update call to AUTO_TESTS_f_f.
1326 (j1_test_data): Likewise.
1327 (jn_test_data): Update call to AUTO_TESTS_if_f.
1328 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1329 (log_test_data): Update call to AUTO_TESTS_f_f.
1330 (log10_test_data): Likewise.
1331 (log1p_test_data): Likewise.
1332 (log2_test_data): Likewise.
1333 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1334 (pow_tonearest_test_data): Likewise.
1335 (sin_test_data): Update call to AUTO_TESTS_f_f.
1336 (sin_test): Use ALL_RM_TEST.
1337 (sin_tonearest_test_data): Remove.
1338 (sin_test_tonearest): Likewise.
1339 (sin_towardzero_test_data): Likewise.
1340 (sin_test_towardzero): Likewise.
1341 (sin_downward_test_data): Likewise.
1342 (sin_test_downward): Likewise.
1343 (sin_upward_test_data): Likewise.
1344 (sin_test_upward): Likewise.
1345 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1346 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1347 (sinh_test): Use ALL_RM_TEST.
1348 (sinh_tonearest_test_data): Remove.
1349 (sinh_test_tonearest): Likewise.
1350 (sinh_towardzero_test_data): Likewise.
1351 (sinh_test_towardzero): Likewise.
1352 (sinh_downward_test_data): Likewise.
1353 (sinh_test_downward): Likewise.
1354 (sinh_upward_test_data): Likewise.
1355 (sinh_test_upward): Likewise.
1356 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1357 (sqrt_test): Use ALL_RM_TEST.
1358 (sqrt_tonearest_test_data): Remove.
1359 (sqrt_test_tonearest): Likewise.
1360 (sqrt_towardzero_test_data): Likewise.
1361 (sqrt_test_towardzero): Likewise.
1362 (sqrt_downward_test_data): Likewise.
1363 (sqrt_test_downward): Likewise.
1364 (sqrt_upward_test_data): Likewise.
1365 (sqrt_test_upward): Likewise.
1366 (tan_test_data): Update call to AUTO_TESTS_f_f.
1367 (tan_test): Use ALL_RM_TEST.
1368 (tan_tonearest_test_data): Remove.
1369 (tan_test_tonearest): Likewise.
1370 (tan_towardzero_test_data): Likewise.
1371 (tan_test_towardzero): Likewise.
1372 (tan_downward_test_data): Likewise.
1373 (tan_test_downward): Likewise.
1374 (tan_upward_test_data): Likewise.
1375 (tan_test_upward): Likewise.
1376 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1377 (tgamma_test_data): Likewise.
1378 (y0_test_data): Likewise.
1379 (y1_test_data): Likewise.
1380 (yn_test_data): Update call to AUTO_TESTS_if_f.
1381 (main): Do not call removed functions.
1383 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1385 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1386 (ldexp_test_data): Remove.
1387 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1389 (scalb_test): Use ALL_RM_TEST.
1391 2014-03-19 Andreas Schwab <schwab@suse.de>
1393 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1395 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1399 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1402 (__ASSUME_PREADV): Undefine.
1403 (__ASSUME_PWRITEV): Likewise.
1405 2014-03-18 Roland McGrath <roland@hack.frob.com>
1407 * bits/mman-linux.h: Add comment about non-Linux use.
1408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1409 bits/mman-linux.h resting place.
1411 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1412 * bits/mman-linux.h: ... here.
1414 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416 * conform/conformtest.pl: Add standard definition when calling C
1417 preprocessor on data files.
1418 (checknamespace): Remove unused variable.
1420 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1422 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1423 minus_oflow, plus_uflow and minus_uflow in expected results.
1424 * math/libm-test.inc (scalbn_test_data): Add more tests of
1425 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1427 (scalbn_test): Use ALL_RM_TEST.
1428 (scalbln_test_data): Add more tests of negative arguments. Use
1429 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1430 (scalbln_test): Use ALL_RM_TEST.
1432 2014-03-18 Roland McGrath <roland@hack.frob.com>
1434 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1436 2014-03-18 Will Newton <will.newton@linaro.org>
1438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1441 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1443 * Makerules [!subdir] (check-abi): Exit with error status if a
1446 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1448 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1449 for rint. Include results for all rounding modes.
1450 (nearbyint_test): Use ALL_RM_TEST.
1451 (rint_test_data): Include all tests used for nearbyint.
1453 2014-03-17 Will Newton <will.newton@linaro.org>
1455 * nptl/sysdeps/pthread/pthread.h: Revert previous
1458 * sysdeps/generic/ldsodefs.h: Revert previous
1461 * libio/genops.c: Revert previous change.
1462 * libio/libioP.h: Likewise.
1463 * stdio-common/vfprintf.c: Likewise.
1465 * sysdeps/generic/math_private.h: Revert previous
1468 * sysdeps/generic/math_private.h: Check whether
1469 HAVE_RM_CTX is defined with #ifdef rather
1472 * argp/argp-fmtstream.h: Check whether
1473 __STRICT_ANSI__ is defined with #ifdef rather
1475 * argp/argp.h: Likewise.
1477 * libio/genops.c: Check whether
1478 _IO_JUMPS_OFFSET is defined with #ifdef rather
1480 * libio/libioP.h: Likewise.
1481 * stdio-common/vfprintf.c: Likewise.
1483 * sysdeps/generic/ldsodefs.h: Check whether
1484 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1487 * nptl/sysdeps/pthread/pthread.h: Check
1488 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1491 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1493 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1495 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1499 * libio/fileops.c (_IO_file_open): Seek to end of file but
1500 don't cache the offset.
1501 (get_file_offset): Remove function.
1502 (do_ftell): Use cached offset when available.
1503 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1504 don't cache the offset.
1505 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1507 (do_one_test): Call it.
1508 (do_ftell_test): Fix up expected old offset for a+ mode.
1509 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1512 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1513 up test status with function return status.
1514 (do_write_test): Likewise.
1515 (do_append_test): Likewise.
1517 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1518 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1521 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1523 * math/gen-libm-test.pl (parse_args): Handle results specified for
1524 each rounding mode separately.
1525 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1526 tests and results from lrint_tonearest_test_data,
1527 lrint_towardzero_test_data, lrint_downward_test_data and
1528 lrint_upward_test_data.
1529 (lrint_test): Use ALL_RM_TEST.
1530 (lrint_tonearest_test_data): Remove.
1531 (lrint_test_tonearest): Likewise.
1532 (lrint_towardzero_test_data): Likewise.
1533 (lrint_test_towardzero): Likewise.
1534 (lrint_downward_test_data): Likewise.
1535 (lrint_test_downward): Likewise.
1536 (lrint_upward_test_data): Likewise.
1537 (lrint_test_upward): Likewise.
1538 (llrint_test_data): Merge in per-rounding-mode tests and results
1539 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1540 llrint_downward_test_data and llrint_upward_test_data.
1541 (llrint_test): Use ALL_RM_TEST.
1542 (llrint_tonearest_test_data): Remove.
1543 (llrint_test_tonearest): Likewise.
1544 (llrint_towardzero_test_data): Likewise.
1545 (llrint_test_towardzero): Likewise.
1546 (llrint_downward_test_data): Likewise.
1547 (llrint_test_downward): Likewise.
1548 (llrint_upward_test_data): Likewise.
1549 (llrint_test_upward): Likewise.
1550 (rint_test_data): Merge in per-rounding-mode tests and results
1551 from rint_tonearest_test_data, rint_towardzero_test_data,
1552 rint_downward_test_data and rint_upward_test_data. Add
1553 per-rounding-mode results for tests not in those arrays.
1554 (rint_test): Use ALL_RM_TEST.
1555 (rint_tonearest_test_data): Remove.
1556 (rint_test_tonearest): Likewise.
1557 (rint_towardzero_test_data): Likewise.
1558 (rint_test_towardzero): Likewise.
1559 (rint_downward_test_data): Likewise.
1560 (rint_test_downward): Likewise.
1561 (rint_upward_test_data): Likewise.
1562 (rint_test_upward): Likewise.
1563 (main): Don't call removed functions.
1565 2014-03-14 Roland McGrath <roland@hack.frob.com>
1567 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1568 "Compiled on ..." crapola. It is anti-useful.
1570 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1572 * scripts/evaluate-test.sh: Handle fourth argument to determine
1573 whether test run should stop on failure.
1574 * Makeconfig (stop-on-test-failure): New variable.
1575 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1576 $(stop-on-test-failure).
1577 * Makefile (tests): Give a summary of results from testing and
1578 exit with failure status if they include an ERROR or FAIL.
1580 * manual/install.texi (Configuring and compiling): Mention
1581 stop-on-test-failure=y.
1582 * INSTALL: Regenerated.
1584 2014-03-14 Roland McGrath <roland@hack.frob.com>
1586 * scripts/versionlist.awk: New file.
1587 * Makerules [$(build-shared) = yes]
1588 (postclean-generated): Add Versions.def, not Versions.def.v and
1590 ($(common-objpfx)Versions.def.v.i): Target removed.
1591 ($(common-objpfx)Versions.def): New target.
1592 ($(common-objpfx)Versions.all): Depend on that rather that
1593 $(common-objpfx)Versions.def.v.
1594 * Versions.def: File removed.
1596 * Makeconfig (+gccwarn): Add -Wundef.
1597 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1598 a dl-sysdep.h breaking its contract.
1599 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1600 * include/stackinfo.h: New file.
1601 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1602 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1603 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1604 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1605 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1606 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1607 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1608 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1609 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1610 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1611 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1612 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1613 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1614 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1615 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1617 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1622 * math/libm-test.inc (round_test_data): Add more tests.
1625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1627 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1630 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1632 * math/libm-test.inc (ceil_test_data): Add more tests.
1634 * math/libm-test.inc (trunc_test_data): Add more tests related to
1637 2014-03-14 Roland McGrath <roland@hack.frob.com>
1639 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1640 with #if rather than #ifdef.
1641 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1643 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1645 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1646 first. Disable AVX-512 GCC support if assembler doesn't support
1648 * sysdeps/x86_64/configure: Regenerated.
1650 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1652 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1653 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1654 (__old_pthread_attr_setstack): Likewise.
1655 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1656 [!_STACK_GROWS_DOWN]: Likewise.
1658 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1660 * config.make.in (have-bash2): Delete.
1661 * configure.ac (libc_cv_have_bash2): Delete.
1662 * configure: Regenerate.
1663 * elf/Makefile (common-ldd-rewrite): Rename to ...
1664 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1665 (sh-ldd-rewrite): Delete.
1666 (bash-ldd-rewrite): Delete.
1667 (have-bash2): Delete checks.
1668 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1671 * config.make.in (have-ksh): Delete.
1673 * configure.ac (libc_cv_have_ksh): Delete.
1674 * configure: Regenerate.
1676 * elf/Makefile: Delete $(have-ksh) check.
1677 ($(objpfx)sotruss): Change KSH to BASH.
1678 * elf/sotruss.ksh: Rename to ...
1679 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1680 function style to match POSIX. Drop ksh vim mode setting.
1682 * manual/time.texi (Specifying the Time Zone with TZ): Change
1683 Tuesday to Thursday.
1685 * debug/tst-longjmp_chk2.c: Update header comment.
1686 (stackoverflow_handler): Add comment. Call assert on pass value.
1688 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1690 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1691 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1692 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1693 (La_x86_64_vector): Add zmm.
1694 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1695 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1696 ($(objpfx)tst-audit10): New target.
1697 ($(objpfx)tst-audit10.out): Likewise.
1698 (tst-audit10-ENV): New.
1699 (AVX512-CFLAGS): Likewise.
1700 (CFLAGS-tst-audit10.c): Likewise.
1701 (CFLAGS-tst-auditmod10a.c): Likewise.
1702 (CFLAGS-tst-auditmod10b.c): Likewise.
1703 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1704 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1705 * sysdeps/x86_64/configure: Regenerated.
1706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1707 AVX-512 zmm register support.
1708 (_dl_x86_64_save_sse): Likewise.
1709 (_dl_x86_64_restore_sse): Likewise.
1710 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1711 size vector registers.
1712 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1713 (ZMM_SIZE): Likewise.
1714 * sysdeps/x86_64/tst-audit10.c: New file.
1715 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1716 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1718 2014-03-13 Roland McGrath <roland@hack.frob.com>
1720 * configure.ac (HAVE_EHDR_START): New check.
1721 * configure: Regenerated.
1722 * config.h.in (HAVE_EHDR_START): New #undef.
1723 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1724 assuming the lowest-addressed segment maps the start of the file.
1726 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1728 * INSTALL: Regenerated.
1730 2014-03-13 Will Newton <will.newton@linaro.org>
1732 * manual/setjmp.texi (System V contexts): Improve
1733 clarity and grammar of documentation.
1735 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1738 * elf/Makefile (tests): Add tst-pie2.
1739 (tests-pie): Add tst-pie2.
1740 * elf/tst-pie2.c: New file.
1741 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1743 * elf/rtld.c (map_doit): Load executable as lt_executable.
1744 (dl_main): Likewise.
1746 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1750 (__ASSUME_PSELECT): Undefine.
1752 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1756 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1758 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1759 selector for static builds.
1761 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1764 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1767 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1770 IFUNC selector for static builds.
1772 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/mips/math_private.h [__mips_hard_float]
1775 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1776 libc_feresetround_mips_ctx.
1777 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1778 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1779 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1782 * math/s_nextafter.c (__nextafter): Do not return value from
1783 overflowing computation.
1784 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1785 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1790 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1791 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1793 2014-03-11 Roland McGrath <roland@hack.frob.com>
1795 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1796 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1797 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1798 the new mov targetting sp.
1800 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1804 Define it for static builds as well.
1805 (NO_BZERO_IMPL): Likewise.
1807 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1809 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1810 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1811 multiarch strspn for PPC64.
1812 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1813 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1815 (__libc_ifunc_impl_list): Likewise.
1816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1817 multiarch optimizations
1818 * string/strspn.c (strspn): Using macro to redefine symbol name.
1820 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1821 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1824 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1825 multiarch strncat for PPC64.
1826 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1827 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1829 (__libc_ifunc_impl_list): Likewise.
1830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1831 multiarch optimizations
1833 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1836 * nscd/nscd.service: Make service type forking.
1838 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1840 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1841 sign in non default rounding modes.
1842 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1844 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1846 * math/libm-test.inc (ALL_RM_TEST): New macro.
1847 (ceil_test): Use ALL_RM_TEST.
1848 (cimag_test): Likewise.
1849 (conj_test): Likewise.
1850 (copysign_test): Likewise.
1851 (cproj_test): Likewise.
1852 (creal_test): Likewise.
1853 (fabs_test): Likewise.
1854 (floor_test): Likewise.
1855 (fmax_test): Likewise.
1856 (fmin_test): Likewise.
1857 (fmod_test): Likewise.
1858 (fpclassify_test): Likewise.
1859 (frexp_test): Likewise.
1860 (ilogb_test): Likewise.
1861 (isfinite_test): Likewise.
1862 (finite_test): Likewise.
1863 (isgreater_test): Likewise.
1864 (isgreaterequal_test): Likewise.
1865 (isinf_test): Likewise.
1866 (isless_test): Likewise.
1867 (islessequal_test): Likewise.
1868 (islessgreater_test): Likewise.
1869 (isnan_test): Likewise.
1870 (isnormal_test): Likewise.
1871 (issignaling_test): Likewise.
1872 (isunordered_test): Likewise.
1873 (logb_test): Likewise.
1874 (logb_downward_test_data): Remove.
1875 (logb_test_downward): Likewise.
1876 (lround_test): Use ALL_RM_TEST.
1877 (llround_test): Likewise.
1878 (modf_test): Likewise.
1879 (nexttoward_test): Likewise.
1880 (remainder_test): Likewise.
1881 (drem_test): Likewise.
1882 (remainder_tonearest_test_data): Likewise.
1883 (remainder_test_tonearest): Likewise.
1884 (drem_test_tonearest): Likewise.
1885 (remainder_towardzero_test_data): Likewise.
1886 (remainder_test_towardzero): Likewise.
1887 (drem_test_towardzero): Likewise.
1888 (remainder_downward_test_data): Likewise.
1889 (remainder_test_downward): Likewise.
1890 (drem_test_downward): Likewise.
1891 (remainder_upward_test_data): Likewise.
1892 (remainder_test_upward): Likewise.
1893 (drem_test_upward): Likewise.
1894 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1895 (round_test): Use ALL_RM_TEST.
1896 (signbit_test): Likewise.
1897 (trunc_test): Likewise.
1898 (significand_test): Likewise.
1899 (main): Don't call removed functions.
1901 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1904 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1906 (ILL_ILLOPN): Likewise.
1907 (ILL_ILLADR): Likewise.
1908 (ILL_ILLTRP): Likewise.
1909 (ILL_PRVOPC): Likewise.
1910 (ILL_PRVREG): Likewise.
1911 (ILL_COPROC): Likewise.
1912 (ILL_BADSTK): Likewise.
1913 (FPE_INTDIV): Likewise.
1914 (FPE_INTOVF): Likewise.
1915 (FPE_FLTDIV): Likewise.
1916 (FPE_FLTOVF): Likewise.
1917 (FPE_FLTUND): Likewise.
1918 (FPE_FLTRES): Likewise.
1919 (FPE_FLTINV): Likewise.
1920 (FPE_FLTSUB): Likewise.
1921 (SEGV_MAPERR): Likewise.
1922 (SEGV_ACCERR): Likewise.
1923 (BUS_ADRALN): Likewise.
1924 (BUS_ADRERR): Likewise.
1925 (BUS_OBJERR): Likewise.
1926 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1927 (TRAP_TRACE): Likewise.
1928 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1930 (CLD_KILLED): Likewise.
1931 (CLD_DUMPED): Likewise.
1932 (CLD_TRAPPED): Likewise.
1933 (CLD_STOPPED): Likewise.
1934 (CLD_CONTINUED): Likewise.
1935 (POLL_IN): Likewise.
1936 (POLL_OUT): Likewise.
1937 (POLL_MSG): Likewise.
1938 (POLL_ERR): Likewise.
1939 (POLL_PRI): Likewise.
1940 (POLL_HUP): Likewise.
1941 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1943 (ILL_ILLOPN): Likewise.
1944 (ILL_ILLADR): Likewise.
1945 (ILL_ILLTRP): Likewise.
1946 (ILL_PRVOPC): Likewise.
1947 (ILL_PRVREG): Likewise.
1948 (ILL_COPROC): Likewise.
1949 (ILL_BADSTK): Likewise.
1950 (FPE_INTDIV): Likewise.
1951 (FPE_INTOVF): Likewise.
1952 (FPE_FLTDIV): Likewise.
1953 (FPE_FLTOVF): Likewise.
1954 (FPE_FLTUND): Likewise.
1955 (FPE_FLTRES): Likewise.
1956 (FPE_FLTINV): Likewise.
1957 (FPE_FLTSUB): Likewise.
1958 (SEGV_MAPERR): Likewise.
1959 (SEGV_ACCERR): Likewise.
1960 (BUS_ADRALN): Likewise.
1961 (BUS_ADRERR): Likewise.
1962 (BUS_OBJERR): Likewise.
1963 (BUS_MCEERR_AR): Likewise.
1964 (BUS_MCEERR_AO): Likewise.
1965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1966 (TRAP_TRACE): Likewise.
1967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1969 (CLD_KILLED): Likewise.
1970 (CLD_DUMPED): Likewise.
1971 (CLD_TRAPPED): Likewise.
1972 (CLD_STOPPED): Likewise.
1973 (CLD_CONTINUED): Likewise.
1974 (POLL_IN): Likewise.
1975 (POLL_OUT): Likewise.
1976 (POLL_MSG): Likewise.
1977 (POLL_ERR): Likewise.
1978 (POLL_PRI): Likewise.
1979 (POLL_HUP): Likewise.
1980 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1981 (ILL_ILLOPN): Likewise.
1982 (ILL_ILLADR): Likewise.
1983 (ILL_ILLTRP): Likewise.
1984 (ILL_PRVOPC): Likewise.
1985 (ILL_PRVREG): Likewise.
1986 (ILL_COPROC): Likewise.
1987 (ILL_BADSTK): Likewise.
1988 (FPE_INTDIV): Likewise.
1989 (FPE_INTOVF): Likewise.
1990 (FPE_FLTDIV): Likewise.
1991 (FPE_FLTOVF): Likewise.
1992 (FPE_FLTUND): Likewise.
1993 (FPE_FLTRES): Likewise.
1994 (FPE_FLTINV): Likewise.
1995 (FPE_FLTSUB): Likewise.
1996 (SEGV_MAPERR): Likewise.
1997 (SEGV_ACCERR): Likewise.
1998 (BUS_ADRALN): Likewise.
1999 (BUS_ADRERR): Likewise.
2000 (BUS_OBJERR): Likewise.
2001 (BUS_MCEERR_AR): Likewise.
2002 (BUS_MCEERR_AO): Likewise.
2003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2004 (TRAP_TRACE): Likewise.
2005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2007 (CLD_KILLED): Likewise.
2008 (CLD_DUMPED): Likewise.
2009 (CLD_TRAPPED): Likewise.
2010 (CLD_STOPPED): Likewise.
2011 (CLD_CONTINUED): Likewise.
2012 (POLL_IN): Likewise.
2013 (POLL_OUT): Likewise.
2014 (POLL_MSG): Likewise.
2015 (POLL_ERR): Likewise.
2016 (POLL_PRI): Likewise.
2017 (POLL_HUP): Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2020 (ILL_ILLOPN): Likewise.
2021 (ILL_ILLADR): Likewise.
2022 (ILL_ILLTRP): Likewise.
2023 (ILL_PRVOPC): Likewise.
2024 (ILL_PRVREG): Likewise.
2025 (ILL_COPROC): Likewise.
2026 (ILL_BADSTK): Likewise.
2027 (ILL_BADIADDR): Likewise.
2028 (ILL_BREAK): Likewise.
2029 (FPE_INTDIV): Likewise.
2030 (FPE_INTOVF): Likewise.
2031 (FPE_FLTDIV): Likewise.
2032 (FPE_FLTOVF): Likewise.
2033 (FPE_FLTUND): Likewise.
2034 (FPE_FLTRES): Likewise.
2035 (FPE_FLTINV): Likewise.
2036 (FPE_FLTSUB): Likewise.
2037 (FPE_DECOVF): Likewise.
2038 (FPE_DECDIV): Likewise.
2039 (FPE_DECERR): Likewise.
2040 (FPE_INVASC): Likewise.
2041 (FPE_INVDEC): Likewise.
2042 (SEGV_MAPERR): Likewise.
2043 (SEGV_ACCERR): Likewise.
2044 (SEGV_PSTKOVF): Likewise.
2045 (BUS_ADRALN): Likewise.
2046 (BUS_ADRERR): Likewise.
2047 (BUS_OBJERR): Likewise.
2048 (BUS_MCEERR_AR): Likewise.
2049 (BUS_MCEERR_AO): Likewise.
2050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2051 (TRAP_TRACE): Likewise.
2052 (TRAP_BRANCH): Likewise.
2053 (TRAP_HWBKPT): Likewise.
2054 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2056 (CLD_KILLED): Likewise.
2057 (CLD_DUMPED): Likewise.
2058 (CLD_TRAPPED): Likewise.
2059 (CLD_STOPPED): Likewise.
2060 (CLD_CONTINUED): Likewise.
2061 (POLL_IN): Likewise.
2062 (POLL_OUT): Likewise.
2063 (POLL_MSG): Likewise.
2064 (POLL_ERR): Likewise.
2065 (POLL_PRI): Likewise.
2066 (POLL_HUP): Likewise.
2067 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2068 (ILL_ILLOPN): Likewise.
2069 (ILL_ILLADR): Likewise.
2070 (ILL_ILLTRP): Likewise.
2071 (ILL_PRVOPC): Likewise.
2072 (ILL_PRVREG): Likewise.
2073 (ILL_COPROC): Likewise.
2074 (ILL_BADSTK): Likewise.
2075 (FPE_INTDIV): Likewise.
2076 (FPE_INTOVF): Likewise.
2077 (FPE_FLTDIV): Likewise.
2078 (FPE_FLTOVF): Likewise.
2079 (FPE_FLTUND): Likewise.
2080 (FPE_FLTRES): Likewise.
2081 (FPE_FLTINV): Likewise.
2082 (FPE_FLTSUB): Likewise.
2083 (SEGV_MAPERR): Likewise.
2084 (SEGV_ACCERR): Likewise.
2085 (BUS_ADRALN): Likewise.
2086 (BUS_ADRERR): Likewise.
2087 (BUS_OBJERR): Likewise.
2088 (BUS_MCEERR_AR): Likewise.
2089 (BUS_MCEERR_AO): Likewise.
2090 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2091 (TRAP_TRACE): Likewise.
2092 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2094 (CLD_KILLED): Likewise.
2095 (CLD_DUMPED): Likewise.
2096 (CLD_TRAPPED): Likewise.
2097 (CLD_STOPPED): Likewise.
2098 (CLD_CONTINUED): Likewise.
2099 (POLL_IN): Likewise.
2100 (POLL_OUT): Likewise.
2101 (POLL_MSG): Likewise.
2102 (POLL_ERR): Likewise.
2103 (POLL_PRI): Likewise.
2104 (POLL_HUP): Likewise.
2105 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2106 (ILL_ILLOPN): Likewise.
2107 (ILL_ILLADR): Likewise.
2108 (ILL_ILLTRP): Likewise.
2109 (ILL_PRVOPC): Likewise.
2110 (ILL_PRVREG): Likewise.
2111 (ILL_COPROC): Likewise.
2112 (ILL_BADSTK): Likewise.
2113 (FPE_INTDIV): Likewise.
2114 (FPE_INTOVF): Likewise.
2115 (FPE_FLTDIV): Likewise.
2116 (FPE_FLTOVF): Likewise.
2117 (FPE_FLTUND): Likewise.
2118 (FPE_FLTRES): Likewise.
2119 (FPE_FLTINV): Likewise.
2120 (FPE_FLTSUB): Likewise.
2121 (SEGV_MAPERR): Likewise.
2122 (SEGV_ACCERR): Likewise.
2123 (BUS_ADRALN): Likewise.
2124 (BUS_ADRERR): Likewise.
2125 (BUS_OBJERR): Likewise.
2126 (BUS_MCEERR_AR): Likewise.
2127 (BUS_MCEERR_AO): Likewise.
2128 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2129 (TRAP_TRACE): Likewise.
2130 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2132 (CLD_KILLED): Likewise.
2133 (CLD_DUMPED): Likewise.
2134 (CLD_TRAPPED): Likewise.
2135 (CLD_STOPPED): Likewise.
2136 (CLD_CONTINUED): Likewise.
2137 (POLL_IN): Likewise.
2138 (POLL_OUT): Likewise.
2139 (POLL_MSG): Likewise.
2140 (POLL_ERR): Likewise.
2141 (POLL_PRI): Likewise.
2142 (POLL_HUP): Likewise.
2143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2144 (ILL_ILLOPN): Likewise.
2145 (ILL_ILLADR): Likewise.
2146 (ILL_ILLTRP): Likewise.
2147 (ILL_PRVOPC): Likewise.
2148 (ILL_PRVREG): Likewise.
2149 (ILL_COPROC): Likewise.
2150 (ILL_BADSTK): Likewise.
2151 (FPE_INTDIV): Likewise.
2152 (FPE_INTOVF): Likewise.
2153 (FPE_FLTDIV): Likewise.
2154 (FPE_FLTOVF): Likewise.
2155 (FPE_FLTUND): Likewise.
2156 (FPE_FLTRES): Likewise.
2157 (FPE_FLTINV): Likewise.
2158 (FPE_FLTSUB): Likewise.
2159 (SEGV_MAPERR): Likewise.
2160 (SEGV_ACCERR): Likewise.
2161 (BUS_ADRALN): Likewise.
2162 (BUS_ADRERR): Likewise.
2163 (BUS_OBJERR): Likewise.
2164 (BUS_MCEERR_AR): Likewise.
2165 (BUS_MCEERR_AO): Likewise.
2166 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2167 (TRAP_TRACE): Likewise.
2168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2170 (CLD_KILLED): Likewise.
2171 (CLD_DUMPED): Likewise.
2172 (CLD_TRAPPED): Likewise.
2173 (CLD_STOPPED): Likewise.
2174 (CLD_CONTINUED): Likewise.
2175 (POLL_IN): Likewise.
2176 (POLL_OUT): Likewise.
2177 (POLL_MSG): Likewise.
2178 (POLL_ERR): Likewise.
2179 (POLL_PRI): Likewise.
2180 (POLL_HUP): Likewise.
2181 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2182 (ILL_ILLOPN): Likewise.
2183 (ILL_ILLADR): Likewise.
2184 (ILL_ILLTRP): Likewise.
2185 (ILL_PRVOPC): Likewise.
2186 (ILL_PRVREG): Likewise.
2187 (ILL_COPROC): Likewise.
2188 (ILL_BADSTK): Likewise.
2189 (ILL_DBLFLT): Likewise.
2190 (ILL_HARDWALL): Likewise.
2191 (FPE_INTDIV): Likewise.
2192 (FPE_INTOVF): Likewise.
2193 (FPE_FLTDIV): Likewise.
2194 (FPE_FLTOVF): Likewise.
2195 (FPE_FLTUND): Likewise.
2196 (FPE_FLTRES): Likewise.
2197 (FPE_FLTINV): Likewise.
2198 (FPE_FLTSUB): Likewise.
2199 (SEGV_MAPERR): Likewise.
2200 (SEGV_ACCERR): Likewise.
2201 (BUS_ADRALN): Likewise.
2202 (BUS_ADRERR): Likewise.
2203 (BUS_OBJERR): Likewise.
2204 (BUS_MCEERR_AR): Likewise.
2205 (BUS_MCEERR_AO): Likewise.
2206 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2207 (TRAP_TRACE): Likewise.
2208 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2210 (CLD_KILLED): Likewise.
2211 (CLD_DUMPED): Likewise.
2212 (CLD_TRAPPED): Likewise.
2213 (CLD_STOPPED): Likewise.
2214 (CLD_CONTINUED): Likewise.
2215 (POLL_IN): Likewise.
2216 (POLL_OUT): Likewise.
2217 (POLL_MSG): Likewise.
2218 (POLL_ERR): Likewise.
2219 (POLL_PRI): Likewise.
2220 (POLL_HUP): Likewise.
2221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2222 (ILL_ILLOPN): Likewise.
2223 (ILL_ILLADR): Likewise.
2224 (ILL_ILLTRP): Likewise.
2225 (ILL_PRVOPC): Likewise.
2226 (ILL_PRVREG): Likewise.
2227 (ILL_COPROC): Likewise.
2228 (ILL_BADSTK): Likewise.
2229 (FPE_INTDIV): Likewise.
2230 (FPE_INTOVF): Likewise.
2231 (FPE_FLTDIV): Likewise.
2232 (FPE_FLTOVF): Likewise.
2233 (FPE_FLTUND): Likewise.
2234 (FPE_FLTRES): Likewise.
2235 (FPE_FLTINV): Likewise.
2236 (FPE_FLTSUB): Likewise.
2237 (SEGV_MAPERR): Likewise.
2238 (SEGV_ACCERR): Likewise.
2239 (BUS_ADRALN): Likewise.
2240 (BUS_ADRERR): Likewise.
2241 (BUS_OBJERR): Likewise.
2242 (BUS_MCEERR_AR): Likewise.
2243 (BUS_MCEERR_AO): Likewise.
2244 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2245 (TRAP_TRACE): Likewise.
2246 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2248 (CLD_KILLED): Likewise.
2249 (CLD_DUMPED): Likewise.
2250 (CLD_TRAPPED): Likewise.
2251 (CLD_STOPPED): Likewise.
2252 (CLD_CONTINUED): Likewise.
2253 (POLL_IN): Likewise.
2254 (POLL_OUT): Likewise.
2255 (POLL_MSG): Likewise.
2256 (POLL_ERR): Likewise.
2257 (POLL_PRI): Likewise.
2258 (POLL_HUP): Likewise.
2259 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2260 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2263 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2264 before #include of <time.h>.
2265 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2266 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2267 (test-xfail-UNIX98/sched.h/conform): Likewise.
2269 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2271 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2272 error absence of trapping exception support.
2273 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2275 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2277 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2278 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2279 * timezone/Makefile (testdata): Move definition above include of
2281 (test-zones): New variable.
2282 (tests-special): Add zone files.
2283 (build-testdata): Use $(evaluate-test).
2285 * elf/Makefile (tests-special): Rename tests to end with .out.
2286 ($(objpfx)noload-mem): Likewise.
2287 ($(objpfx)tst-leaks1-mem): Likewise.
2288 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2289 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2290 $(objpfx)test-iconvconfig.out.
2291 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2292 set -e inside subshell and redirect output to file.
2293 * iconvdata/Makefile (generated): Rename tests to end with .out.
2295 (tests-special): Rename tests to end with .out.
2296 ($(objpfx)mtrace-tst-loading): Likewise.
2297 * intl/Makefile (generated): Likewise.
2298 (tests-special): Likewise.
2299 ($(objpfx)mtrace-tst-gettext): Likewise.
2300 * misc/Makefile (generated): Likewise.
2301 (tests-special): Likewise.
2302 ($(objpfx)tst-error1-mem): Likewise.
2303 * nptl/Makefile (tests-special): Likewise.
2304 ($(objpfx)tst-stack3-mem): Likewise.
2305 (generated): Likewise.
2306 * posix/Makefile (generated): Likewise.
2307 (tests-special): Likewise.
2308 (xtests-special): Likewise.
2309 ($(objpfx)tst-fnmatch-mem): Likewise.
2310 ($(objpfx)bug-regex2-mem): Likewise.
2311 ($(objpfx)bug-regex14-mem): Likewise.
2312 ($(objpfx)bug-regex21-mem): Likewise.
2313 ($(objpfx)bug-regex31-mem): Likewise.
2314 ($(objpfx)tst-vfork3-mem): Likewise.
2315 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2316 ($(objpfx)tst-pcre-mem): Likewise.
2317 ($(objpfx)tst-boost-mem): Likewise.
2318 ($(objpfx)bug-ga2-mem): Likewise.
2319 ($(objpfx)bug-glob2-mem): Likewise.
2320 * resolv/Makefile (generate): Likewise.
2321 (tests-special): Likewise.
2322 (xtests-special): Likewise.
2323 (generated): Likewise.
2324 ($(objpfx)mtrace-tst-leaks): Likewise.
2325 ($(objpfx)mtrace-tst-leaks2): Likewise.
2327 * scripts/merge-test-results.sh: New file.
2328 * Makefile (tests-special-notdir): New variable.
2329 (tests): Run merge-test-results.sh.
2331 * Rules (tests-special-notdir): New variable.
2332 (xtests-special-notdir): Likewise.
2333 (tests): Run merge-test-results.sh
2336 * Makeconfig (test-xfail-name): New variable.
2337 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2338 compute variable name for expected failures.
2339 * conform/Makefile (conformtest-headers-data): New variable.
2340 (conformtest-standards): Likewise.
2341 (conformtest-headers-ISO): Likewise.
2342 (conformtest-headers-ISO99): Likewise.
2343 (conformtest-headers-ISO11): Likewise.
2344 (conformtest-headers-POSIX): Likewise.
2345 (conformtest-headers-XPG3): Likewise.
2346 (conformtest-headers-XPG4): Likewise.
2347 (conformtest-headers-UNIX98): Likewise.
2348 (conformtest-headers-XOPEN2K): Likewise.
2349 (conformtest-headers-POSIX2008): Likewise.
2350 (conformtest-headers-XOPEN2K8): Likewise.
2351 (conformtest-header-list-base): Likewise.
2352 (conformtest-header-list-tests): Likewise.
2353 (conformtest-header-base): Likewise.
2354 (conformtest-header-tests): Likewise.
2355 (tests-special): Add $(conformtest-header-list-tests). If
2356 [$(fast-check) && !$(cross-compiling)], add
2357 $(conformtest-header-tests) instead of
2358 $(objpfx)run-conformtest.out.
2359 (generated): Add $(conformtest-header-list-base). If
2360 [$(fast-check) && !$(cross-compiling)], add
2361 $(conformtest-header-base). Remove previous setting.
2362 ($(conformtest-header-list-tests)): New target.
2363 (test-xfail-run-conformtest): Remove variable.
2364 ($(objpfx)run-conformtest.out): Remove target.
2365 (test-xfail-ISO11/complex.h/conform): New variable.
2366 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2367 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2368 (test-xfail-XPG3/varargs.h/conform): Likewise.
2369 (test-xfail-XPG4/varargs.h/conform): Likewise.
2370 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2371 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2372 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2373 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2374 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2375 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2376 (test-xfail-XPG3/ftw.h/conform): Likewise.
2377 (test-xfail-XPG3/grp.h/conform): Likewise.
2378 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2379 (test-xfail-XPG3/limits.h/conform): Likewise.
2380 (test-xfail-XPG3/pwd.h/conform): Likewise.
2381 (test-xfail-XPG3/search.h/conform): Likewise.
2382 (test-xfail-XPG3/signal.h/conform): Likewise.
2383 (test-xfail-XPG3/stdio.h/conform): Likewise.
2384 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2385 (test-xfail-XPG3/string.h/conform): Likewise.
2386 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2387 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2388 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2389 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2390 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2391 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2392 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2393 (test-xfail-XPG3/termios.h/conform): Likewise.
2394 (test-xfail-XPG3/time.h/conform): Likewise.
2395 (test-xfail-XPG3/unistd.h/conform): Likewise.
2396 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2397 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2398 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2399 (test-xfail-XPG4/netdb.h/conform): Likewise.
2400 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2401 (test-xfail-XPG4/signal.h/conform): Likewise.
2402 (test-xfail-XPG4/stdio.h/conform): Likewise.
2403 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2404 (test-xfail-XPG4/stropts.h/conform): Likewise.
2405 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2406 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2407 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2408 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2409 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2410 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2411 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2412 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2413 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2414 (test-xfail-XPG4/termios.h/conform): Likewise.
2415 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2416 (test-xfail-XPG4/unistd.h/conform): Likewise.
2417 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2418 (test-xfail-POSIX/sched.h/conform): Likewise.
2419 (test-xfail-POSIX/signal.h/conform): Likewise.
2420 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2421 (test-xfail-POSIX/tar.h/conform): Likewise.
2422 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2423 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2424 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2425 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2426 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2427 (test-xfail-UNIX98/sched.h/conform): Likewise.
2428 (test-xfail-UNIX98/signal.h/conform): Likewise.
2429 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2430 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2431 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2432 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2433 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2434 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2435 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2436 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2437 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2438 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2439 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2440 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2441 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2442 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2443 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2444 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2445 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2446 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2447 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2448 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2449 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2450 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2451 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2452 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2453 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2454 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2455 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2456 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2457 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2458 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2459 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2460 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2461 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2462 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2463 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2464 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2465 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2466 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2467 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2468 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2469 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2470 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2471 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2472 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2473 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2474 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2475 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2476 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2477 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2478 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2479 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2480 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2481 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2482 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2483 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2484 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2485 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2486 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2487 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2488 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2489 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2490 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2491 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2492 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2493 (conformtest-cc-flags): Likewise.
2494 ($(conformtest-header-tests): New target.
2495 * conform/check-header-lists.sh: New file.
2496 * conform/run-conformtest.sh: Remove.
2498 * conform/conformtest.pl: Allow ' and \ in values given for
2500 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2502 [POSIX] (sys/types.h): Likewise.
2503 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2505 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2507 * conform/data/signal.h-data (SIGIO): Remove expectation.
2508 [XPG3] (SIGBUS): Do not expect.
2509 [POSIX || XPG3] (SIGPOLL): Likewise.
2510 [POSIX || XPG3] (SIGPROF): Likewise.
2511 [POSIX || XPG3] (SIGSYS): Likewise.
2512 [XPG3] (SIGTRAP): Likewise.
2513 [POSIX || XPG3] (SIGURG): Likewise.
2514 [POSIX || XPG3] (SIGVTALRM): Likewise.
2515 [POSIX || XPG3] (SIGXCPU): Likewise.
2516 [POSIX || XPG3] (SIGXFSZ): Likewise.
2517 [POSIX] (SA_SIGINFO): Expect.
2518 [XPG3] (siginfo_t): Do not expect type or contents.
2519 [POSIX] (si_pid): Do not expect element.
2520 [POSIX] (si_uid): Likewise.
2521 [POSIX] (si_addr): Likewise.
2522 [POSIX] (si_status): Likewise.
2523 [POSIX] (si_band): Likewise.
2524 [XPG4] (si_value): Likewise.
2525 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2526 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2527 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2528 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2529 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2530 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2531 [POSIX || XPG3] (ILL_COPROC): Likewise.
2532 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2533 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2534 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2535 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2536 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2537 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2538 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2539 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2540 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2541 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2542 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2543 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2544 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2545 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2546 [POSIX || XPG3] (CLD_EXITED): Likewise.
2547 [POSIX || XPG3] (CLD_KILLED): Likewise.
2548 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2549 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2550 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2551 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2552 [POSIX || XPG3] (POLL_IN): Likewise.
2553 [POSIX || XPG3] (POLL_OUT): Likewise.
2554 [POSIX || XPG3] (POLL_MSG): Likewise.
2555 [POSIX || XPG3] (POLL_ERR): Likewise.
2556 [POSIX || XPG3] (POLL_PRI): Likewise.
2557 [POSIX || XPG3] (POLL_HUP): Likewise.
2558 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2559 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2560 (SIG*): Do not allow.
2561 [XPG3] (si_*): Likewise.
2562 [XPG3] (SI_*): Likewise.
2563 [XPG3 || XPG4] (sigev_*): Likewise.
2564 [XPG3 || XPG4] (SIGEV_*): Likewise.
2565 [XPG3 || XPG4] (sival_*): Likewise.
2566 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2567 [POSIX || XPG3] (BUS_*): Likewise.
2568 [POSIX || XPG3] (CLD_*): Likewise.
2569 [POSIX || XPG3] (FPE_*): Likewise.
2570 [POSIX || XPG3] (ILL_*): Likewise.
2571 [POSIX || XPG3] (POLL_*): Likewise.
2572 [POSIX || XPG3] (SEGV_*): Likewise.
2573 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2574 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2575 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2576 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2577 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2578 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2579 Specify type and value.
2580 (TVERSLEN): Likewise.
2581 (REGTYPE): Likewise.
2582 (AREGTYPE): Likewise.
2583 (LNKTYPE): Likewise.
2584 (SYMTYPE): Likewise.
2585 (CHRTYPE): Likewise.
2586 (BLKTYPE): Likewise.
2587 (DIRTYPE): Likewise.
2588 (FIFOTYPE): Likewise.
2589 (CONTTYPE): Likewise.
2594 (TUWRITE): Likewise.
2597 (TGWRITE): Likewise.
2600 (TOWRITE): Likewise.
2602 [POSIX] (TSVTX): Expect constant.
2604 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2606 * Makefile (tests): Change dependencies to ....
2607 (tests-special): ... additions to this variable.
2608 (tests): Depend on $(tests-special).
2609 * Makerules (check-abi-list): New variable.
2610 (check-abi): Depend on $(check-abi-list).
2611 [$(subdir) = elf] (tests-special): Add
2612 $(objpfx)check-abi-libc.out.
2613 [$(build-shared) = yes && subdir] (tests-special): Add
2615 [$(build-shared) = yes && subdir] (tests): Do not depend on
2617 * Rules (tests): Depend on $(tests-special).
2618 (xtests): Depend on $(xtests-special).
2619 * catgets/Makefile (tests): Change dependencies to ....
2620 (tests-special): ... additions to this variable.
2621 * conform/Makefile (tests): Change dependencies to ....
2622 (tests-special): ... additions to this variable.
2623 * elf/Makefile (tests): Change dependencies to ....
2624 (tests-special): ... additions to this variable.
2625 * grp/Makefile (tests): Change dependencies to ....
2626 (tests-special): ... additions to this variable.
2627 * iconv/Makefile (xtests): Change dependencies to ....
2628 (xtests-special): ... additions to this variable.
2629 * iconvdata/Makefile (tests): Change dependencies to ....
2630 (tests-special): ... additions to this variable.
2631 * intl/Makefile (tests): Change dependencies to ....
2632 (tests-special): ... additions to this variable. Also add
2633 $(objpfx)tst-gettext.out.
2634 * io/Makefile (tests): Change dependencies to ....
2635 (tests-special): ... additions to this variable.
2636 * libio/Makefile (tests): Change dependencies to ....
2637 (tests-special): ... additions to this variable.
2638 * malloc/Makefile (tests): Change dependencies to ....
2639 (tests-special): ... additions to this variable.
2640 * misc/Makefile (tests): Change dependencies to ....
2641 (tests-special): ... additions to this variable.
2642 * nptl/Makefile (tests): Change dependencies to ....
2643 (tests-special): ... additions to this variable.
2644 * nptl_db/Makefile (tests): Change dependencies to ....
2645 (tests-special): ... additions to this variable.
2646 * posix/Makefile (tests): Change dependencies to ....
2647 (tests-special): ... additions to this variable.
2648 (xtests): Change dependencies to ....
2649 (xtests-special): ... additions to this variable.
2650 * resolv/Makefile (tests): Change dependencies to ....
2651 (tests-special): ... additions to this variable.
2652 (xtests): Change dependencies to ....
2653 (xtests-special): ... additions to this variable.
2654 * stdio-common/Makefile (tests): Change dependencies to ....
2655 (tests-special): ... additions to this variable.
2656 (do-tst-unbputc): Remove target.
2657 (do-tst-printf): Likewise.
2658 * stdlib/Makefile (tests): Change dependencies to ....
2659 (tests-special): ... additions to this variable.
2660 * string/Makefile (tests): Change dependencies to ....
2661 (tests-special): ... additions to this variable.
2662 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2663 (tests-special): ... additions to this variable.
2665 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2667 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2669 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2670 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2672 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2673 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2674 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2675 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2676 * conform/data/libgen.h-data [XPG3]: Likewise.
2677 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2678 * conform/data/ndbm.h-data [XPG3]: Likewise.
2679 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2680 * conform/data/netdb.h-data [XPG3]: Likewise.
2681 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2682 * conform/data/poll.h-data [XPG3]: Likewise.
2683 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2684 * conform/data/strings.h-data [XPG3]: Likewise.
2685 * conform/data/stropts.h-data [XPG3]: Likewise.
2686 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2687 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2688 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2690 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2691 * conform/data/sys/time.h-data [XPG3]: Likewise.
2692 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2693 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2694 * conform/data/sys/un.h-data [XPG3]: Likewise.
2695 * conform/data/syslog.h-data [XPG3]: Likewise.
2696 * conform/data/ucontext.h-data [XPG3]: Likewise.
2697 * conform/data/utmpx.h-data [XPG3]: Likewise.
2698 * conform/data/varargs.h-data [UNIX98]: Enable file.
2700 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2702 * math/libm-test.inc (struct test_f_f_data): Move expected results
2703 into structure for each rounding mode.
2704 (struct test_ff_f_data): Likewise.
2705 (struct test_ff_f_data_nexttoward): Likewise.
2706 (struct test_fi_f_data): Likewise.
2707 (struct test_fl_f_data): Likewise.
2708 (struct test_if_f_data): Likewise.
2709 (struct test_fff_f_data): Likewise.
2710 (struct test_c_f_data): Likewise.
2711 (struct test_f_f1_data): Likewise.
2712 (struct test_fF_f1_data): Likewise.
2713 (struct test_ffI_f1_data): Likewise.
2714 (struct test_c_c_data): Likewise.
2715 (struct test_cc_c_data): Likewise.
2716 (struct test_f_i_data): Likewise.
2717 (struct test_ff_i_data): Likewise.
2718 (struct test_f_l_data): Likewise.
2719 (struct test_f_L_data): Likewise.
2720 (struct test_fFF_11_data): Likewise.
2722 (RM_FE_DOWNWARD): Likewise.
2723 (RM_FE_TONEAREST): Likewise.
2724 (RM_FE_TOWARDZERO): Likewise.
2725 (RM_FE_UPWARD): Likewise.
2726 (RUN_TEST_LOOP_f_f): Update references to expected results.
2727 (RUN_TEST_LOOP_2_f): Likewise.
2728 (RUN_TEST_LOOP_fff_f): Likewise.
2729 (RUN_TEST_LOOP_c_f): Likewise.
2730 (RUN_TEST_LOOP_f_f1): Likewise.
2731 (RUN_TEST_LOOP_fF_f1): Likewise.
2732 (RUN_TEST_LOOP_fI_f1): Likewise.
2733 (RUN_TEST_LOOP_ffI_f1): Likewise.
2734 (RUN_TEST_LOOP_c_c): Likewise.
2735 (RUN_TEST_LOOP_cc_c): Likewise.
2736 (RUN_TEST_LOOP_f_i): Likewise.
2737 (RUN_TEST_LOOP_f_i_tg): Likewise.
2738 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2739 (RUN_TEST_LOOP_f_b): Likewise.
2740 (RUN_TEST_LOOP_f_b_tg): Likewise.
2741 (RUN_TEST_LOOP_f_l): Likewise.
2742 (RUN_TEST_LOOP_f_L): Likewise.
2743 (RUN_TEST_LOOP_fFF_11): Likewise.
2744 * math/gen-libm-test.pl (parse_args): Output four copies of
2745 expected results for each test.
2747 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2748 (__ASSUME_UTIMES): Remove.
2749 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2750 (__ASSUME_UTIMES): Likewise.
2752 * math/gen-auto-libm-tests.c: Update comment on output format.
2753 (output_for_one_input_case): Generate before-rounding and
2754 after-rounding information as conditions on output flags not
2755 floating-point format.
2756 * math/auto-libm-test-out: Regenerated.
2757 * math/gen-libm-test.pl (cond_value): New function.
2758 (or_cond_value): Use cond_value.
2759 (generate_testfile): Handle conditional exceptions.
2761 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2763 * math/libm-test.inc (max_valid_error): New variable.
2764 (init_max_error): Take new argument specifying whether function
2765 results are exactly determined. Set max_valid_error and bound
2766 other variables for errors based on this argument.
2767 (set_max_error): Do not record results above max_valid_error.
2768 (check_float_internal): Only accept errors of up to 0.5ulps if
2769 also at most max_valid_error.
2770 (START): Take new argument EXACT and pass it to init_max_error.
2771 (acos_test): Update call to START.
2772 (acos_test_tonearest): Likewise.
2773 (acos_test_towardzero): Likewise.
2774 (acos_test_downward): Likewise.
2775 (acos_test_upward): Likewise.
2776 (acosh_test): Likewise.
2777 (asin_test): Likewise.
2778 (asin_test_tonearest): Likewise.
2779 (asin_test_towardzero): Likewise.
2780 (asin_test_downward): Likewise.
2781 (asin_test_upward): Likewise.
2782 (asinh_test): Likewise.
2783 (atan_test): Likewise.
2784 (atanh_test): Likewise.
2785 (atan2_test): Likewise.
2786 (cabs_test): Likewise.
2787 (cacos_test): Likewise.
2788 (cacosh_test): Likewise.
2789 (carg_test): Likewise.
2790 (casin_test): Likewise.
2791 (casinh_test): Likewise.
2792 (catan_test): Likewise.
2793 (catanh_test): Likewise.
2794 (cbrt_test): Likewise.
2795 (ccos_test): Likewise.
2796 (ccosh_test): Likewise.
2797 (ceil_test): Likewise.
2798 (cexp_test): Likewise.
2799 (cimag_test): Likewise.
2800 (clog_test): Likewise.
2801 (clog10_test): Likewise.
2802 (conj_test): Likewise.
2803 (copysign_test): Likewise.
2804 (cos_test): Likewise.
2805 (cos_test_tonearest): Likewise.
2806 (cos_test_towardzero): Likewise.
2807 (cos_test_downward): Likewise.
2808 (cos_test_upward): Likewise.
2809 (cosh_test): Likewise.
2810 (cosh_test_tonearest): Likewise.
2811 (cosh_test_towardzero): Likewise.
2812 (cosh_test_downward): Likewise.
2813 (cosh_test_upward): Likewise.
2814 (cpow_test): Likewise.
2815 (cproj_test): Likewise.
2816 (creal_test): Likewise.
2817 (csin_test): Likewise.
2818 (csinh_test): Likewise.
2819 (csqrt_test): Likewise.
2820 (ctan_test): Likewise.
2821 (ctan_test_tonearest): Likewise.
2822 (ctan_test_towardzero): Likewise.
2823 (ctan_test_downward): Likewise.
2824 (ctan_test_upward): Likewise.
2825 (ctanh_test): Likewise.
2826 (ctanh_test_tonearest): Likewise.
2827 (ctanh_test_towardzero): Likewise.
2828 (ctanh_test_downward): Likewise.
2829 (ctanh_test_upward): Likewise.
2830 (erf_test): Likewise.
2831 (erfc_test): Likewise.
2832 (exp_test): Likewise.
2833 (exp_test_tonearest): Likewise.
2834 (exp_test_towardzero): Likewise.
2835 (exp_test_downward): Likewise.
2836 (exp_test_upward): Likewise.
2837 (exp10_test): Likewise.
2838 (exp10_test_tonearest): Likewise.
2839 (exp10_test_towardzero): Likewise.
2840 (exp10_test_downward): Likewise.
2841 (exp10_test_upward): Likewise.
2842 (pow10_test): Likewise.
2843 (exp2_test): Likewise.
2844 (expm1_test): Likewise.
2845 (expm1_test_tonearest): Likewise.
2846 (expm1_test_towardzero): Likewise.
2847 (expm1_test_downward): Likewise.
2848 (expm1_test_upward): Likewise.
2849 (fabs_test): Likewise.
2850 (fdim_test): Likewise.
2851 (floor_test): Likewise.
2852 (fma_test): Likewise.
2853 (fma_test_towardzero): Likewise.
2854 (fma_test_downward): Likewise.
2855 (fma_test_upward): Likewise.
2856 (fmax_test): Likewise.
2857 (fmin_test): Likewise.
2858 (fmod_test): Likewise.
2859 (fpclassify_test): Likewise.
2860 (frexp_test): Likewise.
2861 (hypot_test): Likewise.
2862 (ilogb_test): Likewise.
2863 (isfinite_test): Likewise.
2864 (finite_test): Likewise.
2865 (isgreater_test): Likewise.
2866 (isgreaterequal_test): Likewise.
2867 (isinf_test): Likewise.
2868 (isless_test): Likewise.
2869 (islessequal_test): Likewise.
2870 (islessgreater_test): Likewise.
2871 (isnan_test): Likewise.
2872 (isnormal_test): Likewise.
2873 (issignaling_test): Likewise.
2874 (isunordered_test): Likewise.
2875 (j0_test): Likewise.
2876 (j1_test): Likewise.
2877 (jn_test): Likewise.
2878 (ldexp_test): Likewise.
2879 (lgamma_test): Likewise.
2880 (gamma_test): Likewise.
2881 (lrint_test): Likewise.
2882 (lrint_test_tonearest): Likewise.
2883 (lrint_test_towardzero): Likewise.
2884 (lrint_test_downward): Likewise.
2885 (lrint_test_upward): Likewise.
2886 (llrint_test): Likewise.
2887 (llrint_test_tonearest): Likewise.
2888 (llrint_test_towardzero): Likewise.
2889 (llrint_test_downward): Likewise.
2890 (llrint_test_upward): Likewise.
2891 (log_test): Likewise.
2892 (log10_test): Likewise.
2893 (log1p_test): Likewise.
2894 (log2_test): Likewise.
2895 (logb_test): Likewise.
2896 (logb_test_downward): Likewise.
2897 (lround_test): Likewise.
2898 (llround_test): Likewise.
2899 (modf_test): Likewise.
2900 (nearbyint_test): Likewise.
2901 (nextafter_test): Likewise.
2902 (nexttoward_test): Likewise.
2903 (pow_test): Likewise.
2904 (pow_test_tonearest): Likewise.
2905 (pow_test_towardzero): Likewise.
2906 (pow_test_downward): Likewise.
2907 (pow_test_upward): Likewise.
2908 (remainder_test): Likewise.
2909 (drem_test): Likewise.
2910 (remainder_test_tonearest): Likewise.
2911 (drem_test_tonearest): Likewise.
2912 (remainder_test_towardzero): Likewise.
2913 (drem_test_towardzero): Likewise.
2914 (remainder_test_downward): Likewise.
2915 (drem_test_downward): Likewise.
2916 (remainder_test_upward): Likewise.
2917 (drem_test_upward): Likewise.
2918 (remquo_test): Likewise.
2919 (rint_test): Likewise.
2920 (rint_test_tonearest): Likewise.
2921 (rint_test_towardzero): Likewise.
2922 (rint_test_downward): Likewise.
2923 (rint_test_upward): Likewise.
2924 (round_test): Likewise.
2925 (scalb_test): Likewise.
2926 (scalbn_test): Likewise.
2927 (scalbln_test): Likewise.
2928 (signbit_test): Likewise.
2929 (sin_test): Likewise.
2930 (sin_test_tonearest): Likewise.
2931 (sin_test_towardzero): Likewise.
2932 (sin_test_downward): Likewise.
2933 (sin_test_upward): Likewise.
2934 (sincos_test): Likewise.
2935 (sinh_test): Likewise.
2936 (sinh_test_tonearest): Likewise.
2937 (sinh_test_towardzero): Likewise.
2938 (sinh_test_downward): Likewise.
2939 (sinh_test_upward): Likewise.
2940 (sqrt_test): Likewise.
2941 (sqrt_test_tonearest): Likewise.
2942 (sqrt_test_towardzero): Likewise.
2943 (sqrt_test_downward): Likewise.
2944 (sqrt_test_upward): Likewise.
2945 (tan_test): Likewise.
2946 (tan_test_tonearest): Likewise.
2947 (tan_test_towardzero): Likewise.
2948 (tan_test_downward): Likewise.
2949 (tan_test_upward): Likewise.
2950 (tanh_test): Likewise.
2951 (tgamma_test): Likewise.
2952 (trunc_test): Likewise.
2953 (y0_test): Likewise.
2954 (y1_test): Likewise.
2955 (yn_test): Likewise.
2956 (significand_test): Likewise.
2958 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2959 individual tests in comment.
2960 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2961 (prev_max_error): New variable.
2962 (prev_real_max_error): Likewise.
2963 (prev_imag_max_error): Likewise.
2964 (compare_ulp_data): Don't refer to test names in comment.
2965 (find_test_ulps): Remove function.
2966 (find_function_ulps): Likewise.
2967 (find_complex_function_ulps): Likewise.
2968 (init_max_error): Take function name as argument. Look up ulps
2970 (print_ulps): Remove function.
2971 (print_max_error): Use prev_max_error instead of calling
2973 (print_complex_max_error): Use prev_real_max_error and
2974 prev_imag_max_error instead of calling find_complex_function_ulps.
2975 (check_float_internal): Take max_ulp parameter instead of calling
2976 find_test_ulps. Don't call print_ulps.
2977 (check_float): Update call to check_float_internal.
2978 (check_complex): Update calls to check_float_internal.
2979 (START): Pass argument to init_max_error.
2980 * math/gen-libm-test.pl (%results): Don't include "kind"
2982 (parse_ulps): Don't handle ulps of individual tests.
2983 (print_ulps_file): Likewise.
2984 (output_ulps): Likewise.
2985 * math/README.libm-test: Update.
2986 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2988 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2989 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2990 * sysdeps/arm/libm-test-ulps: Likewise.
2991 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2992 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2993 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2994 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2995 * sysdeps/microblaze/libm-test-ulps: Likewise.
2996 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2997 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2999 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3000 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3001 * sysdeps/sh/libm-test-ulps: Likewise.
3002 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3003 * sysdeps/tile/libm-test-ulps: Likewise.
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3006 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3008 * math/libm-test.inc (print_complex_max_error): Check separately
3009 whether real and imaginary errors are within allowed range and
3010 pass 0 to print_complex_function_ulps instead of value within
3013 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3015 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3017 (get_handles_fopen): Likewise.
3018 (do_write_test): Likewise.
3020 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3022 * libio/fileops.c (do_ftell): Use cached offset when
3024 * libio/iofwide.c (do_ftell_wide): Likewise.
3025 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3027 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3030 * libio/libioP.h (get_file_offset): New function.
3031 * libio/fileops.c (get_file_offset): Likewise.
3032 (do_ftell): Likewise.
3033 (_IO_new_file_seekoff): Split out ftell logic.
3034 * libio/wfileops.c (do_ftell_wide): Likewise.
3035 (_IO_wfile_seekoff): Split out ftell logic.
3036 * libio/tst-ftell-active-handler.c: New test case.
3037 * libio/Makefile (tests): Add it.
3039 2014-03-03 Roland McGrath <roland@hack.frob.com>
3041 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3042 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3044 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3047 * nscd/connections.c (nscd_init): Call do_exit.
3048 (start_threads): Call do_exit and notify_parent.
3049 (begin_drop_privileges): Call do_exit.
3050 (finish_drop_privileges): Likewise.
3051 * nscd/selinux.c (preserve_capabilities): Likewise.
3052 (install_real_capabilities): Likewise.
3053 (nscd_selinux_enabled): Likewise.
3054 (avc_create_thread): Likewise.
3055 (avc_alloc_lock): Likewise.
3056 (nscd_avc_init): Likewise.
3057 * nscd/nscd.c (parent_fd): New static variable.
3058 (main): Create a pipe between parent and child processes.
3059 Skip closing parent_fd.
3060 (monitor_child): New function.
3061 (do_exit): Likewise.
3062 (notify_parent): Likewise.
3063 * nscd/nscd.h (notify_parent): Likewise.
3064 (do_exit): Likewise.
3066 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3068 * malloc/malloc.c (__libc_calloc): Revert last change.
3070 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3074 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3076 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3080 (__libc_ifunc_impl_list): Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3082 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3083 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3084 * string/strrchr.c: Define STRRCHR.
3086 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3088 * benchtest/bench-strtok.c (simple_strtok): Delete.
3089 (strtok_string): Use as benchmark.
3090 * string/strtok (STRTOK): New macro.
3092 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3094 * manual/threads.texi: Add header and standard comments to all
3097 * elf/dl-lookup.c (check_match): New function.
3098 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3099 (do_lookup_x): Remove nested function check_match. Use non-nested
3100 function check_match.
3102 2014-02-28 Roland McGrath <roland@hack.frob.com>
3104 * csu/Makefile (generated, before-compile): Use += rather than =.
3105 * catgets/Makefile (generated, generated-dirs): Likewise.
3106 * debug/Makefile (generated): Likewise.
3107 * dlfcn/Makefile (generated): Likewise.
3108 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3109 * iconvdata/Makefile (before-compile, generated): Likewise.
3110 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3111 * libio/Makefile (generated): Likewise.
3112 * malloc/Makefile (generated): Likewise.
3113 * manual/Makefile (generated, generated-dirs): Likewise.
3114 * misc/Makefile (generated): Likewise.
3115 * posix/Makefile (generated): Likewise.
3116 * resolv/Makefile (generated): Likewise.
3117 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3118 * timezone/Makefile (generated, generated-dirs): Likewise.
3120 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3122 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3125 power8 implementation.
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3127 file: POWER8 llround ifunc implementation.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3129 (__lllround): Add POWER8 implementation.
3130 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3131 POWER8 llround implementation.
3133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3134 power8 implementation.
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3136 file: POWER8 llrint ifunc implementation.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3138 Add POWER8 implementation.
3139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3140 POWER8 llrint implementation.
3142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3143 power8 implementation.
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3145 file: POWER8 finite ifunc implementation.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3147 Add POWER8 implementation.
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3150 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3151 POWER8 finite implementation.
3152 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3155 power8 implementation.
3156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3157 file: POWER8 isinf ifunc implementation.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3159 POWER8 implementation.
3160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3162 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3163 isinf implementation.
3164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3167 (INIT_ARCH): Add hwcap2 initialization.
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3169 power8 implementation.
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3171 file: POWER8 isnan ifunc implementation.
3172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3173 POWER8 implementation.
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3177 isnan implementation.
3178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3180 2014-02-27 Joey Ye <joey.ye@arm.com>
3182 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3183 (_FP_NANFRAC_Q): Set to zero.
3185 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3188 * math/auto-libm-test-in: New test inputs.
3189 * math/auto-libm-test-out: Regenerate.
3190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3195 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3197 * scripts/evaluate-test.sh: Take new argument indicating whether
3198 failure is expected.
3199 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3200 indicating whether failure is expected.
3201 * conform/Makefile (test-xfail-run-conformtest): New variable.
3202 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3204 * posix/Makefile (test-xfail-annexc): New variable.
3205 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3207 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3209 * argp/Makefile: Include Makeconfig immediately after defining
3211 * assert/Makefile: Likewise.
3212 * benchtests/Makefile: Likewise.
3213 * catgets/Makefile: Likewise.
3214 * conform/Makefile: Likewise.
3215 * crypt/Makefile: Likewise.
3216 * csu/Makefile: Likewise.
3217 (all): Remove target.
3218 * ctype/Makefile: Include Makeconfig immediately after defining
3220 * debug/Makefile: Likewise.
3221 * dirent/Makefile: Likewise.
3222 * dlfcn/Makefile: Likewise.
3223 * gmon/Makefile: Likewise.
3224 * gnulib/Makefile: Likewise.
3225 * grp/Makefile: Likewise.
3226 * gshadow/Makefile: Likewise.
3227 * hesiod/Makefile: Likewise.
3228 * hurd/Makefile: Likewise.
3229 (all): Remove target.
3230 * iconvdata/Makefile: Include Makeconfig immediately after
3232 * inet/Makefile: Likewise.
3233 * intl/Makefile: Likewise.
3234 * io/Makefile: Likewise.
3235 * libio/Makefile: Likewise.
3236 (all): Remove target.
3237 * locale/Makefile: Include Makeconfig immediately after defining
3239 * login/Makefile: Likewise.
3240 * mach/Makefile: Likewise.
3241 (all): Remove target.
3242 * malloc/Makefile: Include Makeconfig immediately after defining
3244 (all): Remove target.
3245 * manual/Makefile: Include Makeconfig immediately after defining
3247 * math/Makefile: Likewise.
3248 * misc/Makefile: Likewise.
3249 * nis/Makefile: Likewise.
3250 * nss/Makefile: Likewise.
3251 * po/Makefile: Likewise.
3252 (all): Remove target.
3253 * posix/Makefile: Include Makeconfig immediately after defining
3255 * pwd/Makefile: Likewise.
3256 * resolv/Makefile: Likewise.
3257 * resource/Makefile: Likewise.
3258 * rt/Makefile: Likewise.
3259 * setjmp/Makefile: Likewise.
3260 * shadow/Makefile: Likewise.
3261 * signal/Makefile: Likewise.
3262 * socket/Makefile: Likewise.
3263 * soft-fp/Makefile: Likewise.
3264 * stdio-common/Makefile: Likewise.
3265 * stdlib/Makefile: Likewise.
3266 * streams/Makefile: Likewise.
3267 * string/Makefile: Likewise.
3268 * sunrpc/Makefile: Likewise.
3269 (all): Remove target.
3270 * sysvipc/Makefile: Include Makeconfig immediately after defining
3272 * termios/Makefile: Likewise.
3273 * time/Makefile: Likewise.
3274 * timezone/Makefile: Likewise.
3275 (all): Remove target.
3276 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3278 * wctype/Makefile: Likewise.
3280 2014-02-26 Steve Ellcey <sellcey@mips.com>
3282 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3283 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3284 (libc_feholdexcept_setround_mips): Ditto.
3285 (libc_feholdsetround): New.
3286 (libc_feholdsetroundf): New.
3287 (libc_feholdsetroundl): New.
3288 (libc_feupdateenv_test_mips): New.
3289 (libc_feupdateenv_test): New.
3290 (libc_feupdateenv_testf): New.
3291 (libc_feupdateenv_testl): New.
3292 (libc_feresetround): New.
3293 (libc_feresetroundf): New.
3294 (libc_feresetroundl): New.
3295 (libc_fetestexcept_mips): New.
3296 (libc_fetestexcept): New.
3297 (libc_fetestexceptf): New.
3298 (libc_fetestexceptl): New.
3300 (libc_feholdexcept_setround_mips_ctx): New.
3301 (libc_feholdexcept_setround_ctx): New.
3302 (libc_feholdexcept_setroundf_ctx): New.
3303 (libc_feholdexcept_setroundl_ctx): New.
3304 (libc_fesetenv_mips_ctx): New.
3305 (libc_fesetenv_ctx): New.
3306 (libc_fesetenv_ctxf): New.
3307 (libc_fesetenv_ctxl): New.
3308 (libc_feupdateenv_mips_ctx): New.
3309 (libc_feupdateenv_ctx): New.
3310 (libc_feupdateenvf_ctx): New.
3311 (libc_feupdateenvl_ctx): New.
3312 (libc_feholdsetround_mips_ctx): New.
3313 (libc_feholdsetround_ctx): New.
3314 (libc_feholdsetroundf_ctx): New.
3315 (libc_feholdsetroundl_ctx): New.
3316 (libc_feresetround_mips_ctx): New.
3317 (libc_feresetround_ctx): New.
3318 (libc_feresetroundf_ctx): New.
3319 (libc_feresetroundl_ctx): New.
3321 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3323 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3325 * manual/ipc.texi: New file.
3326 * manual/Makefile (chapters): Add ipc.
3327 * manual/job.texi: Add "Inter-Process Communication" to next.
3328 * manual/process.texi: Add "Inter-Process Communication" to prev.
3330 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3334 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3336 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3338 * manual/arith.texi: Fix spaces after sentences.
3339 * manual/charset.texi: Likewise.
3340 * manual/errno.texi: Likewise.
3341 * manual/install.texi: Likewise.
3342 * manual/llio.texi: Likewise.
3343 * manual/locale.texi: Likewise.
3344 * manual/maint.texi: Likewise.
3345 * manual/math.texi: Likewise.
3346 * manual/memory.texi: Likewise.
3347 * manual/message.texi: Likewise.
3348 * manual/probes.texi: Likewise.
3349 * manual/resource.texi: Likewise.
3350 * manual/signal.texi: Likewise.
3351 * manual/socket.texi: Likewise.
3352 * manual/stdio.texi: Likewise.
3353 * manual/string.texi: Likewise.
3354 * manual/time.texi: Likewise.
3355 * manual/users.texi: Likewise.
3357 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3360 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3361 _DEFAULT_SOURCE is defined.
3363 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3364 Carlos O'Donell <carlos@redhat.com>
3367 * elf/dl-tls.c (_dl_count_modids): New function.
3368 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3369 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3370 audit library and increment generation counter.
3371 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3372 * elf/tst-audit9.c: New file.
3373 * elf/tst-auditmod9a.c: New file.
3374 * elf/tst-auditmod9b.c: New file.
3375 * elf/Makefile: Add rules to build and run tst-audit9.
3377 2014-02-25 Florian Weimer <fweimer@redhat.com>
3380 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3382 2014-02-25 Will Newton <will.newton@linaro.org>
3384 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3385 (__longjmp): Restore sp and lr before restoring callee
3386 saved registers. Add longjmp and longjmp_target
3387 SystemTap probe point.
3388 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3389 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3390 Define to zero to match jmpbuf layout.
3391 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3392 (__sigsetjmp): Save sp and lr before saving callee
3393 saved registers. Add setjmp SystemTap probe point.
3395 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3397 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3399 2014-02-24 Andreas Schwab <schwab@suse.de>
3402 * elf/pldd.c (wait_for_ptrace_stop): New function.
3403 (main): Call it after attaching.
3405 2014-02-22 Roland McGrath <roland@hack.frob.com>
3407 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3408 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3409 Versions files is now verboten.
3410 * hurd/Versions (libc: GLIBC_2.0):
3411 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3412 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3413 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3414 * mach/Versions: Likewise.
3416 * csu/Versions: Remove unused %include.
3417 * resolv/Versions: Likewise.
3419 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3421 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3422 ($(objpfx)check-local-headers.out): Likewise.
3423 ($(objpfx)begin-end-check.out): Likewise.
3424 * Makerules (check-abi-%.out): Likewise.
3425 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3426 ($(objpfx)test2.cat): Likewise.
3427 ($(objpfx)de/libc.cat): Likewise.
3428 ($(objpfx)test-gencat.out): Likewise.
3429 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3430 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3431 ($(objpfx)noload-mem): Likewise.
3432 ($(objpfx)tst-pathopt.out): Likewise.
3433 ($(objpfx)tst-rtld-load-self.out): Likewise.
3434 ($(objpfx)tst-array1-cmp.out): Likewise.
3435 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3436 ($(objpfx)tst-array2-cmp.out): Likewise.
3437 ($(objpfx)tst-array3-cmp.out): Likewise.
3438 ($(objpfx)tst-array4-cmp.out): Likewise.
3439 ($(objpfx)tst-array5-cmp.out): Likewise.
3440 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3441 ($(objpfx)check-textrel.out): Likewise.
3442 ($(objpfx)check-execstack.out): Likewise.
3443 ($(objpfx)check-localplt.out): Likewise.
3444 ($(objpfx)order2-cmp.out): Likewise.
3445 ($(objpfx)tst-leaks1-mem): Likewise.
3446 ($(objpfx)tst-leaks1-static-mem): Likewise.
3447 ($(objpfx)tst-initorder-cmp.out): Likewise.
3448 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3449 ($(objpfx)tst-unused-dep.out): Likewise.
3450 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3451 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3452 * iconv/Makefile (test-iconvconfig): Likewise.
3453 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3454 ($(objpfx)iconv-test.out): Likewise.
3455 ($(objpfx)tst-tables.out): Likewise.
3456 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3457 ($(objpfx)tst-gettext.out): Likewise.
3458 ($(objpfx)tst-translit.out): Likewise.
3459 ($(objpfx)tst-gettext2.out): Likewise.
3460 ($(objpfx)tst-gettext4.out): Likewise.
3461 ($(objpfx)tst-gettext6.out): Likewise.
3462 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3463 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3464 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3465 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3466 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3467 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3468 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3469 ($(objpfx)wordexp-tst.out): Likewise.
3470 ($(objpfx)annexc.out): Likewise.
3471 ($(objpfx)tst-fnmatch-mem): Likewise.
3472 ($(objpfx)bug-regex2-mem): Likewise.
3473 ($(objpfx)bug-regex14-mem): Likewise.
3474 ($(objpfx)bug-regex21-mem): Likewise.
3475 ($(objpfx)bug-regex31-mem): Likewise.
3476 ($(objpfx)tst-vfork3-mem): Likewise.
3477 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3478 ($(objpfx)tst-pcre-mem): Likewise.
3479 ($(objpfx)tst-boost-mem): Likewise.
3480 ($(objpfx)tst-getconf.out): Likewise.
3481 ($(objpfx)bug-ga2-mem): Likewise.
3482 ($(objpfx)bug-glob2-mem): Likewise.
3483 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3484 ($(objpfx)mtrace-tst-leaks2): Likewise.
3485 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3486 ($(objpfx)tst-printf.out): Likewise.
3487 ($(objpfx)tst-setvbuf1.out): Likewise.
3488 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3489 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3490 ($(objpfx)tst-fmtmsg.out): Likewise.
3491 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3492 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3494 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3495 * bits/sigaction.h [__USE_MISC]: Likewise.
3496 * bits/waitstatus.h: Update #endif comments.
3497 * ctype/ctype.h: Likewise.
3498 * dirent/dirent.h: Likewise.
3499 [__USE_MISC]: Remove redundant conditionals.
3500 * grp/grp.h: Update #endif comments.
3501 [__USE_GNU]: Remove redundant conditionals.
3502 [__USE_MISC]: Likewise.
3503 * inet/netinet/in.h [__USE_GNU]: Likewise.
3504 * io/sys/stat.h [__USE_MISC]: Likewise.
3505 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3506 * libio/bits/stdio.h: Update #endif comments.
3507 [__USE_MISC]: Remove redundant conditionals.
3508 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3509 * libio/stdio.h: Update #endif comments.
3510 [__USE_MISC]: Remove redundant conditionals.
3511 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3512 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3513 * math/math.h: Update #else and #endif comments.
3514 [__USE_MISC]: Remove redundant conditionals.
3515 * misc/sys/uio.h: Update #endif comments.
3516 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3517 * posix/glob.h [__USE_MISC]: Likewise.
3518 * posix/sys/types.h: Update #endif comments.
3519 [__USE_MISC]: Remove redundant conditionals.
3520 * posix/sys/wait.h: Update #endif comments.
3521 [__USE_MISC]: Remove redundant conditionals.
3522 * posix/unistd.h: Update #endif comments.
3523 [__USE_MISC]: Remove redundant conditionals.
3524 * pwd/pwd.h [__USE_GNU]: Likewise.
3525 [__USE_MISC]: Likewise.
3526 * resolv/netdb.h [__USE_GNU]: Likewise.
3527 * signal/signal.h: Update #endif comments.
3528 [__USE_MISC]: Remove redundant conditionals.
3529 * stdlib/stdlib.h: Update #else and #endif comments.
3530 [__USE_MISC]: Remove redundant conditionals.
3531 [__USE_GNU]: Likewise.
3532 * string/bits/string2.h [__USE_MISC]: Likewise.
3533 * string/string.h: Update #endif comments.
3534 [__USE_MISC]: Remove redundant conditionals.
3535 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3537 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3538 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3539 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3541 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3545 [__USE_MISC]: Remove redundant conditionals.
3546 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3547 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3548 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3549 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3550 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3552 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3553 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3555 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3556 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3558 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3560 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3563 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3565 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3566 * sysdeps/x86/bits/string.h: Update #endif comments.
3567 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3569 * time/sys/time.h: Update #endif comments.
3570 * time/time.h: Likewise.
3571 [__USE_MISC]: Remove redundant conditionals.
3573 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3576 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3578 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3580 * Versions.def (librt): Add GLIBC_2.17.
3582 2014-02-21 Adam Conrad <adconrad@0c3.net>
3584 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3585 synonym for _SYS_AUXV_H to allow direct inclusion.
3586 * sysdeps/sparc/bits/hwcap.h: Likewise.
3587 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3588 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3589 * sysdeps/sparc/sysdep.h: Likewise.
3591 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3595 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3597 * benchtests/bench-strrchr.c: Print length instead of position.
3599 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3602 * sysdeps/unix/sysv/linux/kernel-features.h
3603 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3604 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3605 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3606 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3608 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3609 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3610 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3611 (__ASSUME_SENDMMSG): Define instead of using previous
3612 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3613 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3614 (__ASSUME_SENDMMSG_SYSCALL): Define.
3615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3616 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3619 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3622 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3624 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3625 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3626 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3627 [__ASSUME_SENDMMSG]: Change conditionals to
3628 [__ASSUME_SENDMMSG_SOCKETCALL].
3629 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3630 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3632 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3633 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3635 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3636 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3637 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3638 [!__ASSUME_SENDMMSG]: Change conditional to
3639 [!__ASSUME_SENDMMSG_SOCKETCALL].
3640 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3641 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3645 * sysdeps/unix/sysv/linux/kernel-features.h
3646 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3647 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3648 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3649 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3650 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3651 [__i386__ || __sparc__]
3652 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3653 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3654 (__ASSUME_RECVMMSG): Define instead of using previous
3655 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3656 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3657 (__ASSUME_RECVMMSG_SYSCALL): Define.
3658 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3659 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3661 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3662 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3664 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3665 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3667 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3668 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3669 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3670 [__ASSUME_RECVMMSG]: Change condition to
3671 [__ASSUME_RECVMMSG_SOCKETCALL].
3672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3673 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3675 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3679 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3680 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3681 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3682 [!__ASSUME_RECVMMSG]: Change condition to
3683 [!__ASSUME_RECVMMSG_SOCKETCALL].
3684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3685 (__ASSUME_RECVMMSG_SYSCALL): Define.
3688 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3689 __powerpc__ || __s390__ || __sh__ || __sparc__]
3690 (__ASSUME_SOCKETCALL): Define.
3691 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3692 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3693 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3694 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3695 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3696 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3697 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3698 (__ASSUME_ACCEPT4): Define instead of using previous
3699 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3700 __powerpc__ || __sparc__ || __s390__)] condition.
3701 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3702 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3703 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3704 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3705 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3706 [!__ASSUME_ACCEPT4]: Change condition to
3707 [!__ASSUME_ACCEPT4_SOCKETCALL].
3708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3709 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3710 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3712 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3713 __ASSUME_ACCEPT4_SYSCALL.
3714 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3715 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3716 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3717 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3718 __ASSUME_ACCEPT4_SYSCALL.
3719 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3720 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3721 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3722 [__ASSUME_ACCEPT4]: Change condition to
3723 [__ASSUME_ACCEPT4_SOCKETCALL].
3724 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3725 (__ASSUME_SOCKETCALL): Define.
3726 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3727 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3728 (__ASSUME_SOCKETCALL): Define.
3729 (__ASSUME_ACCEPT4): Remove.
3730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3732 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3733 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3735 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3736 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3738 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3740 (HWCAP_ARM_LPAE): Likewise.
3741 (HWCAP_ARM_EVTSTRM): Likewise.
3742 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3743 Add vpfd32, lpae and evtstrm.
3744 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3747 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3749 * math/auto-libm-test-in: Add tests of clog10.
3750 * math/auto-libm-test-out: Regenerated.
3751 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3752 * sysdeps/i386/fpu/libm-test-ulps: Update.
3753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3755 2014-02-18 Andreas Schwab <schwab@suse.de>
3758 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3759 Store non-zero if the second buffer was newly allocated.
3760 (send_dg): Likewise.
3761 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3762 to send_vc and send_dg.
3763 (res_nsend): Pass NULL for ansp2_malloced.
3764 * resolv/res_query.c (__libc_res_nquery): Add parameter
3765 answerp2_malloced and pass it down to __libc_res_nsend.
3766 (res_nquery): Pass additional NULL to __libc_res_nquery.
3767 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3768 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3769 second answer buffer if answerp2_malloced was set.
3770 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3771 (__libc_res_nquerydomain): Add parameter
3772 answerp2_malloced and pass it down to __libc_res_nquery.
3773 (res_nquerydomain): Pass additional NULL to
3774 __libc_res_nquerydomain.
3775 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3776 additional NULL to __libc_res_nsend and __libc_res_nquery.
3777 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3778 additional NULL to __libc_res_nsearch.
3779 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3780 parameter of __libc_res_nsearch to check for separately allocated
3782 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3784 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3785 additional NULL to __libc_res_nquery.
3786 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3788 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3789 * include/resolv.h: Update prototypes of __libc_res_nquery,
3790 __libc_res_nsearch, __libc_res_nsend.
3792 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3794 * math/auto-libm-test-in: Add tests of fma.
3795 * math/auto-libm-test-out: Regenerated.
3796 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3797 (fma_towardzero_test_data): Likewise.
3798 (fma_downward_test_data): Likewise.
3799 (fma_upward_test_data): Likewise.
3800 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3802 (rounding_modes): Add values for new field.
3803 (func_calc_method): Add value mpfr_fff_f.
3804 (func_calc_desc): Add mpfr_fff_f union field.
3805 (test_function): Add field exact_args.
3806 (FUNC): Add macro argument EXACT_ARGS.
3807 (FUNC_mpfr_f_f): Update call to FUNC.
3808 (FUNC_mpfr_f_f): Likewise.
3809 (FUNC_mpfr_ff_f): Likewise.
3810 (FUNC_mpfr_if_f): Likewise.
3811 (FUNC_mpc_c_f): Likewise.
3812 (FUNC_mpc_c_c): Likewise.
3813 (test_functions): Add fma. Update calls to FUNC.
3814 (handle_input_arg): Add argument exact_args.
3815 (add_test): Update call to handle_input_arg.
3816 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3817 (output_for_one_input_case): Update call to calc_generic_results.
3818 Recalculate exact zero results in each rounding mode.
3820 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3821 non-negative before setting low bit.
3822 * math/auto-libm-test-in: Mark one asin test possibly having
3824 * math/auto-libm-test-out: Regenerated.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3830 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3831 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3832 ports/sysdeps/unix/sysv/linux/microblaze.
3833 * README: Add missing listing for microblaze*-*-linux-gnu.
3835 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3837 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3838 * sysdeps/unix/sysv/linux/ia64: Move directory from
3839 ports/sysdeps/unix/sysv/linux/ia64.
3840 * README: Update listing for ia64-*-linux-gnu.
3842 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3843 Joseph Myers <joseph@codesourcery.com>
3845 * Makeconfig (test-name): New variable.
3846 (evaluate-test): Likewise.
3847 * Makerules (do-test-clean): Remove .test-result files.
3848 (common-mostlyclean): Likewise.
3849 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3850 * scripts/evaluate-test.sh: New file.
3852 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3854 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3855 separate $(objpfx)tst-fopenloc-cmp.out and
3856 $(objpfx)tst-fopenloc-mem.out targets.
3857 (tests): Update dependencies.
3858 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3859 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3860 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3861 (tst-rxspencer-no-utf8-ARGS): New variable.
3862 (tst-rxspencer-no-utf8-ENV): Likewise.
3863 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3864 instead of $(objpfx)tst-rxspencer-mem.
3865 ($(objpfx)tst-rxspencer-mem): Change target to
3866 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3867 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3868 * posix/tst-rxspencer-no-utf8.c: New file.
3870 * elf/Makefile ($(objpfx)order.out): Remove rule.
3871 [$(run-built-tests) = yes] (tests): Depend on
3872 $(objpfx)order-cmp.out.
3873 ($(objpfx)order-cmp.out): New rule.
3874 [$(run-built-tests) = yes] (tests): Depend on
3875 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3876 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3877 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3878 $(objpfx)tst-array5-static-cmp.out.
3879 ($(objpfx)tst-array1.out): Remove rule.
3880 ($(objpfx)tst-array1-cmp.out): New rule.
3881 ($(objpfx)tst-array1-static.out): Remove rule.
3882 ($(objpfx)tst-array1-static-cmp.out): New rule.
3883 ($(objpfx)tst-array2.out): Remove rule.
3884 ($(objpfx)tst-array2-cmp.out): New rule.
3885 ($(objpfx)tst-array3.out): Remove rule.
3886 ($(objpfx)tst-array3-cmp.out): New rule.
3887 ($(objpfx)tst-array4.out): Remove rule.
3888 ($(objpfx)tst-array4-cmp.out): New rule.
3889 ($(objpfx)tst-array5.out): Remove rule.
3890 ($(objpfx)tst-array5-cmp.out): New rule.
3891 ($(objpfx)tst-array5-static.out): Remove rule.
3892 ($(objpfx)tst-array5-static-cmp.out): New rule.
3893 [$(run-built-tests) = yes] (tests): Depend on
3894 $(objpfx)order2-cmp.out.
3895 ($(objpfx)order2.out): Remove rule.
3896 ($(objpfx)order2-cmp.out): New rule.
3897 ($(objpfx)tst-initorder.out): Remove rule.
3898 [$(run-built-tests) = yes] (tests): Depend on
3899 $(objpfx)tst-initorder-cmp.out.
3900 ($(objpfx)tst-initorder-cmp.out): New rule.
3901 ($(objpfx)tst-initorder2.out): Remove rule.
3902 [$(run-built-tests) = yes] (tests): Depend on
3903 $(objpfx)tst-initorder2-cmp.out.
3904 ($(objpfx)tst-initorder2-cmp.out): New rule.
3905 [$(run-built-tests) = yes] (tests): Depend on
3906 $(objpfx)tst-unused-dep-cmp.out.
3907 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3908 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3909 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3910 on $(objpfx)tst-setvbuf1-cmp.out.
3911 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3912 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3913 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3914 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3915 ($(objpfx)tst-svc.out): Remove rule.
3916 ($(objpfx)tst-svc-cmp.out): New rule.
3918 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3920 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3921 * ctype/ctype.h [__USE_MISC]: Likewise.
3922 * dirent/dirent.h [__USE_MISC]: Likewise.
3923 * grp/grp.h [__USE_MISC]: Likewise.
3924 * io/fcntl.h [__USE_MISC]: Likewise.
3925 * io/sys/stat.h [__USE_MISC]: Likewise.
3926 * libio/stdio.h [__USE_MISC]: Likewise.
3927 * posix/unistd.h [__USE_MISC]: Likewise.
3928 * pwd/pwd.h [__USE_MISC]: Likewise.
3929 * stdlib.h [__USE_MISC]: Likewise.
3930 * string/bits/string2.h [__USE_MISC]: Likewise.
3931 * string/string.h [__USE_MISC]: Likewise.
3932 * time/time.h [__USE_MISC]: Likewise.
3934 2014-02-13 Andreas Schwab <schwab@suse.de>
3937 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3938 second answer buffer if it was separately allocated.
3940 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/mips/math-tests.h: Include <features.h>.
3943 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3944 (ROUNDING_TESTS_long_double): Do not define.
3945 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3946 (EXCEPTION_TESTS_long_double): Likewise.
3947 * sysdeps/mips/mips64/libm-test-ulps: Update.
3949 * include/features.h (__USE_BSD): Remove macro definitions.
3950 (__USE_SVID): Likewise.
3951 (_BSD_SOURCE): Likewise.
3952 (_SVID_SOURCE): Likewise.
3953 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3954 from definition of _DEFAULT_SOURCE.
3955 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3957 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3958 * bits/mman.h [__USE_BSD]: Likewise.
3959 * bits/termios.h [__USE_BSD]: Likewise.
3960 * bits/waitstatus.h [__USE_BSD]: Likewise.
3961 * ctype/ctype.h [__USE_SVID]: Likewise.
3962 * dirent/dirent.h [__USE_BSD]: Likewise.
3963 * grp/grp.h [__USE_SVID]: Likewise.
3964 [__USE_BSD]: Likewise.
3965 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3966 * io/fcntl.h [__USE_BSD]: Likewise.
3967 * io/ftw.h [__USE_BSD]: Likewise.
3968 * io/sys/stat.h [__USE_BSD]: Likewise.
3969 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3970 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3971 * libio/stdio.h [__USE_SVID]: Likewise.
3972 [__USE_BSD]: Likewise.
3973 * math/math.h [__USE_SVID]: Likewise.
3974 [__USE_BSD]: Likewise.
3975 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3976 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3977 * misc/search.h [__USE_SVID]: Likewise.
3978 * misc/sys/mman.h [__USE_BSD]: Likewise.
3979 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3980 * misc/sys/uio.h [__USE_BSD]: Likewise.
3981 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3982 * posix/glob.h [__USE_BSD]: Likewise.
3983 * posix/regex.h [__USE_BSD]: Likewise.
3984 * posix/sys/types.h [__USE_BSD]: Likewise.
3985 [__USE_SVID]: Likewise.
3986 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3987 * posix/sys/wait.h [__USE_BSD]: Likewise.
3988 [__USE_SVID]: Likewise.
3989 * posix/unistd.h [__USE_BSD]: Likewise.
3990 [__USE_SVID]: Likewise.
3991 * pwd/pwd.h [__USE_SVID]: Likewise.
3992 * resolv/netdb.h [__USE_BSD]: Likewise.
3993 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3994 * signal/signal.h [__USE_BSD]: Likewise.
3995 [__USE_SVID]: Likewise.
3996 * socket/sys/socket.h [__USE_BSD]: Likewise.
3997 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3998 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3999 [__USE_SVID]: Likewise.
4000 * string/bits/string2.h [__USE_BSD]: Likewise.
4001 [__USE_SVID]: Likewise.
4002 * string/bits/string3.h [__USE_BSD]: Likewise.
4003 * string/endian.h [__USE_BSD]: Likewise.
4004 * string/string.h [__USE_SVID]: Likewise.
4005 [__USE_BSD]: Likewise.
4006 * string/strings.h [__USE_BSD]: Likewise.
4007 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4008 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4009 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4010 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4011 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4012 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4014 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4016 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4017 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4019 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4020 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4022 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4024 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4025 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4026 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4030 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4031 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4032 * termios/termios.h [__USE_BSD]: Likewise.
4033 * time/sys/time.h [__USE_BSD]: Likewise.
4034 * time/time.h [__USE_BSD]: Likewise.
4035 [__USE_SVID]: Likewise.
4037 * Makefile (subdir_targets): Remove subdir_lint.out.
4039 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4040 (do-tst-printf): Likewise.
4041 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4042 $(objpfx)tst-printf.out.
4044 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4046 * Makerules (check-abi-%): Change target to
4047 $(objpfx)check-abi-%.out.
4048 (check-abi target): Update dependencies.
4049 (check-abi-pattern variable): Redirect output of diff to $@.
4050 (check-abi variable): Likewise.
4051 * elf/Makefile (check-abi): Update dependencies.
4053 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4055 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4056 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4058 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4059 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4060 value has largest subnormal exponent.
4061 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4062 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4063 * sysdeps/aarch64/soft-fp/sfp-machine.h
4064 (_FP_TININESS_AFTER_ROUNDING): New macro.
4065 * sysdeps/alpha/soft-fp/sfp-machine.h
4066 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4067 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4069 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4070 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4071 * sysdeps/mips/soft-fp/sfp-machine.h
4072 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4073 * sysdeps/powerpc/soft-fp/sfp-machine.h
4074 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4075 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4077 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4078 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4079 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4080 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4081 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4084 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4090 2014-02-12 Richard Henderson <rth@redhat.com>
4092 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4093 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4094 * sysdeps/unix/sysv/linux/alpha: Move directory from
4095 ports/sysdeps/unix/sysv/linux/alpha.
4096 * README: Update listing for alpha-*-linux-gnu.
4098 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4100 * include/features.h: Update comment documenting feature test
4102 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4104 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4105 (_SVID_SOURCE): Likewise.
4106 (_DEFAULT_SOURCE): Update description of default features.
4107 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4109 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4110 (S_ISVTX): Likewise.
4111 * manual/math.texi (Mathematical Constants): Likewise.
4112 * manual/signal.texi (Interrupted Primitives): Likewise.
4113 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4114 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4115 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4116 Don't refer to _SVID_SOURCE in warning text.
4118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4120 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4122 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4123 * sysdeps/mips/dl-lookup.c: Remove.
4124 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4126 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4129 * math/auto-libm-test-in: Add testcase for expl.
4130 * math/auto-libm-test-out: Regenerate.
4131 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4132 calculation of unsafe.
4133 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4135 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4137 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4138 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4139 ports/sysdeps/unix/sysv/linux/aarch64.
4140 * README: Update listing for aarch64*-*-linux-gnu.
4142 2014-02-11 Will Newton <will.newton@linaro.org>
4144 * manual/probes.texi (Mathematical Function Probes): Use
4145 "triggered" instead of "hit".
4147 * manual/probes.texi (Internal Probes): Add documentation
4148 of setjmp, longjmp and longjmp_target probes.
4150 * include/stap-probe.h: Add comment about probe argument
4153 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4154 definition. (tr_where, tr_freehook, tr_mallochook,
4155 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4157 2014-02-11 David S. Miller <davem@davemloft.net>
4159 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4160 processing int_tests.
4162 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4165 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4166 * sysdeps/unix/sysv/linux/mips: Move directory from
4167 ports/sysdeps/unix/sysv/linux/mips.
4168 * README: Update listing for mips-*-linux-gnu and
4171 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4173 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4174 * sysdeps/unix/sysv/linux/m68k: Move directory from
4175 ports/sysdeps/unix/sysv/linux/m68k.
4176 * README: Update listing for m68k-*-linux-gnu.
4178 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4180 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4181 * sysdeps/unix/sysv/linux/generic: Move directory from
4182 ports/sysdeps/unix/sysv/linux/generic.
4183 * sysdeps/unix/sysv/linux/tile: Move directory from
4184 ports/sysdeps/unix/sysv/linux/tile.
4185 * README: Update listing for tile*-*-linux-gnu.
4187 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4189 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4191 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4192 * catgets/open_catalog.c (__open_catalog): Likewise.
4193 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4194 * debug/confstr_chk.c: Likewise.
4195 * debug/fread_chk.c (__fread_chk): Likewise.
4196 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4197 * debug/getgroups_chk.c: Likewise.
4198 * debug/mbsnrtowcs_chk.c: Likewise.
4199 * debug/mbsrtowcs_chk.c: Likewise.
4200 * debug/mbstowcs_chk.c: Likewise.
4201 * debug/memcpy_chk.c: Likewise.
4202 * debug/memmove_chk.c: Likewise.
4203 * debug/mempcpy_chk.c: Likewise.
4204 * debug/memset_chk.c: Likewise.
4205 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4206 * debug/strcat_chk.c (__strcat_chk): Likewise.
4207 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4208 * debug/strncat_chk.c (__strncat_chk): Likewise.
4209 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4210 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4211 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4212 * debug/wcpncpy_chk.c: Likewise.
4213 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4214 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4215 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4216 * debug/wcsncpy_chk.c: Likewise.
4217 * debug/wcsnrtombs_chk.c: Likewise.
4218 * debug/wcsrtombs_chk.c: Likewise.
4219 * debug/wcstombs_chk.c: Likewise.
4220 * debug/wmemcpy_chk.c: Likewise.
4221 * debug/wmemmove_chk.c: Likewise.
4222 * debug/wmempcpy_chk.c: Likewise.
4223 * debug/wmemset_chk.c: Likewise.
4224 * dirent/scandirat.c (SCANDIRAT): Likewise.
4225 * dlfcn/dladdr1.c (dladdr1): Likewise.
4226 * dlfcn/dladdr.c (dladdr): Likewise.
4227 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4228 * dlfcn/dlerror.c (__dlerror): Likewise.
4229 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4230 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4231 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4232 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4233 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4234 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4235 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4236 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4238 * elf/dl-conflict.c: Likewise.
4239 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4240 * elf/dl-dst.h: Likewise.
4241 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4242 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4243 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4244 * elf/dl-init.c (call_init, _dl_init): Likewise.
4245 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4246 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4247 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4249 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4251 * elf/dl-minimal.c (__libc_memalign): Likewise.
4252 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4253 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4254 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4255 * elf/dl-sym.c (do_sym): Likewise.
4256 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4257 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4258 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4259 * elf/dl-writev.h (_dl_writev): Likewise.
4260 * elf/ldconfig.c (search_dir): Likewise.
4261 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4262 (dl_main): Likewise.
4263 * elf/setup-vdso.h (setup_vdso): Likewise.
4264 * grp/compat-initgroups.c (compat_call): Likewise.
4265 * grp/fgetgrent.c (fgetgrent): Likewise.
4266 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4267 * grp/putgrent.c (putgrent): Likewise.
4268 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4270 * hurd/hurdinit.c: Likewise.
4271 * iconvdata/8bit-gap.c (struct): Likewise.
4272 * iconvdata/ansi_x3.110.c : Likewise.
4273 * iconvdata/big5.c : Likewise.
4274 * iconvdata/big5hkscs.c : Likewise.
4275 * iconvdata/cp1255.c: Likewise.
4276 * iconvdata/cp1258.c : Likewise.
4277 * iconvdata/cp932.c : Likewise.
4278 * iconvdata/euc-cn.c: Likewise.
4279 * iconvdata/euc-jisx0213.c : Likewise.
4280 * iconvdata/euc-jp.c: Likewise.
4281 * iconvdata/euc-jp-ms.c : Likewise.
4282 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4283 * iconvdata/gb18030.c : Likewise.
4284 * iconvdata/gbbig5.c (const): Likewise.
4285 * iconvdata/gbgbk.c: Likewise.
4286 * iconvdata/gbk.c : Likewise.
4287 * iconvdata/ibm1364.c : Likewise.
4288 * iconvdata/ibm930.c : Likewise.
4289 * iconvdata/ibm932.c: Likewise.
4290 * iconvdata/ibm933.c : Likewise.
4291 * iconvdata/ibm935.c : Likewise.
4292 * iconvdata/ibm937.c : Likewise.
4293 * iconvdata/ibm939.c : Likewise.
4294 * iconvdata/ibm943.c: Likewise.
4295 * iconvdata/iso_11548-1.c: Likewise.
4296 * iconvdata/iso-2022-cn.c : Likewise.
4297 * iconvdata/iso-2022-cn-ext.c : Likewise.
4298 * iconvdata/iso-2022-jp-3.c: Likewise.
4299 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4300 * iconvdata/iso-2022-kr.c : Likewise.
4301 * iconvdata/iso646.c (gconv_end): Likewise.
4302 * iconvdata/iso_6937-2.c : Likewise.
4303 * iconvdata/iso_6937.c : Likewise.
4304 * iconvdata/iso8859-1.c: Likewise.
4305 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4306 * iconvdata/shift_jisx0213.c : Likewise.
4307 * iconvdata/sjis.c : Likewise.
4308 * iconvdata/t.61.c : Likewise.
4309 * iconvdata/tcvn5712-1.c : Likewise.
4310 * iconvdata/tscii.c: Likewise.
4311 * iconvdata/uhc.c : Likewise.
4312 * iconvdata/unicode.c (gconv_end): Likewise.
4313 * iconvdata/utf-16.c (gconv_end): Likewise.
4314 * iconvdata/utf-32.c (gconv_end): Likewise.
4315 * iconvdata/utf-7.c (base64): Likewise.
4316 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4317 * iconv/gconv_close.c (__gconv_close): Likewise.
4318 * iconv/gconv_open.c (__gconv_open): Likewise.
4319 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4320 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4321 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4322 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4323 (ucs4le_internal_loop_single): Likewise.
4324 * iconv/iconv.c (iconv): Likewise.
4325 * iconv/iconv_close.c: Likewise.
4326 * iconv/loop.c (SINGLE): Likewise.
4327 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4328 * include/atomic.h: Likewise.
4329 * inet/inet6_option.c (option_alloc): Likewise.
4330 * intl/bindtextdom.c (set_binding_values): Likewise.
4331 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4332 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4333 * intl/localealias.c (read_alias_file): Likewise.
4334 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4335 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4336 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4337 * libio/fmemopen.c (fmemopen): Likewise.
4338 * libio/iofgets.c (_IO_fgets): Likewise.
4339 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4340 * libio/iofgetws.c (fgetws): Likewise.
4341 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4342 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4343 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4344 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4345 * locale/findlocale.c (_nl_find_locale): Likewise.
4346 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4347 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4349 * locale/setlocale.c (setlocale): Likewise.
4350 * login/programs/pt_chown.c (main): Likewise.
4351 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4352 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4353 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4354 (mmap, mmap64, mremap, munmap): Likewise.
4355 * math/e_exp2l.c: Likewise.
4356 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4357 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4358 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4359 * math/s_catan.c (__catan): Likewise.
4360 * math/s_catanf.c (__catanf): Likewise.
4361 * math/s_catanh.c (__catanh): Likewise.
4362 * math/s_catanhf.c (__catanhf): Likewise.
4363 * math/s_catanhl.c (__catanhl): Likewise.
4364 * math/s_catanl.c (__catanl): Likewise.
4365 * math/s_ccosh.c (__ccosh): Likewise.
4366 * math/s_ccoshf.c (__ccoshf): Likewise.
4367 * math/s_ccoshl.c (__ccoshl): Likewise.
4368 * math/s_cexp.c (__cexp): Likewise.
4369 * math/s_cexpf.c (__cexpf): Likewise.
4370 * math/s_cexpl.c (__cexpl): Likewise.
4371 * math/s_clog10.c (__clog10): Likewise.
4372 * math/s_clog10f.c (__clog10f): Likewise.
4373 * math/s_clog10l.c (__clog10l): Likewise.
4374 * math/s_clog.c (__clog): Likewise.
4375 * math/s_clogf.c (__clogf): Likewise.
4376 * math/s_clogl.c (__clogl): Likewise.
4377 * math/s_csin.c (__csin): Likewise.
4378 * math/s_csinf.c (__csinf): Likewise.
4379 * math/s_csinh.c (__csinh): Likewise.
4380 * math/s_csinhf.c (__csinhf): Likewise.
4381 * math/s_csinhl.c (__csinhl): Likewise.
4382 * math/s_csinl.c (__csinl): Likewise.
4383 * math/s_csqrt.c (__csqrt): Likewise.
4384 * math/s_csqrtf.c (__csqrtf): Likewise.
4385 * math/s_csqrtl.c (__csqrtl): Likewise.
4386 * math/s_ctan.c (__ctan): Likewise.
4387 * math/s_ctanf.c (__ctanf): Likewise.
4388 * math/s_ctanh.c (__ctanh): Likewise.
4389 * math/s_ctanhf.c (__ctanhf): Likewise.
4390 * math/s_ctanhl.c (__ctanhl): Likewise.
4391 * math/s_ctanl.c (__ctanl): Likewise.
4392 * math/w_pow.c: Likewise.
4393 * math/w_powf.c: Likewise.
4394 * math/w_powl.c: Likewise.
4395 * math/w_scalb.c (sysv_scalb): Likewise.
4396 * math/w_scalbf.c (sysv_scalbf): Likewise.
4397 * math/w_scalbl.c (sysv_scalbl): Likewise.
4398 * misc/error.c (error_tail): Likewise.
4399 * misc/pselect.c (__pselect): Likewise.
4400 * nis/nis_callback.c (__nis_create_callback): Likewise.
4401 * nis/nis_call.c (__nisfind_server): Likewise.
4402 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4403 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4404 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4405 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4406 * nis/nis_lookup.c (nis_lookup): Likewise.
4407 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4408 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4409 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4410 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4411 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4412 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4413 * nis/nss_compat/compat-initgroups.c (add_group)
4414 (internal_getgrent_r): Likewise.
4415 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4416 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4417 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4418 (internal_getspnam_r): Likewise.
4419 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4420 (_nss_nis_getaliasbyname_r): Likewise.
4421 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4422 (_nss_nis_getntohost_r): Likewise.
4423 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4424 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4425 (_nss_nis_getgrgid_r): Likewise.
4426 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4427 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4428 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4429 (_nss_nis_gethostbyname4_r): Likewise.
4430 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4431 (initgroups_netid): Likewise.
4432 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4433 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4434 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4435 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4436 (_nss_nis_getprotobynumber_r): Likewise.
4437 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4438 (_nss_nis_getsecretkey): Likewise.
4439 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4440 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4441 (_nss_nis_getpwuid_r): Likewise.
4442 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4443 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4444 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4445 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4446 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4447 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4448 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4450 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4451 (_nss_nisplus_getntohost_r): Likewise.
4452 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4453 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4454 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4455 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4457 * nis/nss_nisplus/nisplus-initgroups.c
4458 (_nss_nisplus_initgroups_dyn): Likewise.
4459 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4460 (_nss_nisplus_getnetbyaddr_r): Likewise.
4461 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4462 (_nss_nisplus_getprotobynumber_r): Likewise.
4463 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4464 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4465 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4467 * nis/nss_nisplus/nisplus-service.c
4468 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4469 (_nss_nisplus_getservbyport_r): Likewise.
4470 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4471 (_nss_nisplus_getspnam_r): Likewise.
4472 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4474 * nscd/aicache.c (addhstaiX): Likewise.
4475 * nscd/cache.c (cache_search, prune_cache): Likewise.
4476 * nscd/connections.c (register_traced_file, send_ro_fd)
4477 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4478 (main_loop_epoll): Likewise.
4479 * nscd/grpcache.c (addgrbyX): Likewise.
4480 * nscd/hstcache.c (addhstbyX): Likewise.
4481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4482 * nscd/mem.c (gc, mempool_alloc): Likewise.
4483 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4484 (addinnetgrX): Likewise.
4485 * nscd/nscd-client.h (__nscd_acquire_maplock)
4486 (__nscd_drop_map_ref): Likewise.
4487 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4488 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4489 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4491 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4493 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4494 (__nscd_get_map_ref): Likewise.
4495 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4496 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4498 * nscd/pwdcache.c (addpwbyX): Likewise.
4499 * nscd/selinux.c (preserve_capabilities): Likewise.
4500 * nscd/servicescache.c (addservbyX): Likewise.
4501 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4502 * posix/fnmatch.c (fnmatch): Likewise.
4503 * posix/getopt.c (_getopt_internal_r): Likewise.
4504 * posix/glob.c (glob, glob_in_dir): Likewise.
4505 * posix/wordexp.c (exec_comm_child): Likewise.
4506 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4507 (getanswer_r, gaih_getanswer_slice): Likewise.
4508 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4509 * resolv/res_init.c: Likewise.
4510 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4511 * resolv/res_query.c (__libc_res_nquery): Likewise.
4512 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4514 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4515 * stdio-common/perror.c (perror): Likewise.
4516 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4517 * stdio-common/tmpnam.c (tmpnam): Likewise.
4518 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4519 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4520 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4522 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4523 * stdlib/putenv.c (putenv): Likewise.
4524 * stdlib/setenv.c (__add_to_environ): Likewise.
4525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4526 * stdlib/strtol_l.c (INTERNAL): Likewise.
4527 * string/memmem.c (memmem): Likewise.
4528 * string/strerror.c (strerror): Likewise.
4529 * string/strnlen.c (__strnlen): Likewise.
4530 * string/test-memmem.c (simple_memmem): Likewise.
4531 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4532 * sunrpc/pm_getport.c (__get_socket): Likewise.
4533 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4534 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4535 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4536 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4538 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4540 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4541 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4542 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4543 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4545 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4547 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4548 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4550 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4551 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4553 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4554 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4555 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4556 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4557 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4560 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4562 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4564 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4566 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4567 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4568 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4569 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4570 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4573 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4574 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4576 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4577 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4581 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4583 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4589 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4591 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4592 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4593 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4594 * sysdeps/posix/sleep.c: Likewise.
4595 * sysdeps/posix/tempname.c: Likewise.
4596 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4597 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4599 * sysdeps/powerpc/powerpc32/dl-machine.h
4600 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4601 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4603 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4604 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4606 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4608 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4610 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4611 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4612 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4613 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4615 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4617 (elf_machine_lazy_rel): Likewise.
4618 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4620 (elf_machine_lazy_rel): Likewise.
4621 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4622 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4623 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4624 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4625 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4626 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4627 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4630 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4631 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4632 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4633 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4634 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4635 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4636 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4637 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4639 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4640 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4642 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4643 (__posix_fallocate64_l64): Likewise.
4644 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4645 (posix_fallocate): Likewise.
4646 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4648 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4650 (getifaddrs_internal): Likewise.
4651 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4653 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4654 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4655 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4656 (__posix_fallocate64_l64): Likewise.
4657 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4659 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4661 (__get_clockfreq): Likewise.
4662 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4663 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4664 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4667 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4668 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4669 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4671 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4672 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4673 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4674 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4675 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4676 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4677 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4679 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4680 (posix_fallocate): Likewise.
4681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4682 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4683 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4684 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4685 (elf_machine_rela, elf_machine_rela_relative)
4686 (elf_machine_lazy_rel): Likewise.
4687 * time/asctime.c (asctime_internal): Likewise.
4688 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4689 * time/tzset.c (__tzset_parse_tz): Likewise.
4690 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4691 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4692 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4693 * wcsmbs/wcsmbsload.h: Likewise.
4696 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4698 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4699 (arena_get2): Remove THREAD_STATS conditionals.
4700 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4701 (__malloc_stats, int): Likewise.
4703 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4705 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4706 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4708 * manual/setjmp.texi: Fix typos/grammar errors.
4710 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4711 Only return early when n is <= 0. Delete unused return statement.
4713 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4714 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4715 * debug/tst-longjmp_chk3.c: New file.
4717 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4718 (test_main): Replace code with set_fortify_handler call.
4719 * debug/test-strcpy_chk.c: Likewise.
4720 * debug/tst-chk1.c: Likewise.
4721 * debug/tst-longjmp_chk.c: Likewise.
4722 * test-skeleton.c: Include fcntl.h & paths.h
4723 (set_fortify_handler): Define.
4725 * debug/tst-longjmp_chk.c: Add header comment and include
4727 (do_test): Mark static.
4728 (TEST_FUNCTION): Define.
4730 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4731 (IP_PMTUDISC_INTERFACE): Likewise.
4732 (IP_MULTICAST_IF): Likewise.
4733 (IP_MULTICAST_TTL): Likewise.
4734 (IP_MULTICAST_LOOP): Likewise.
4735 (IP_ADD_MEMBERSHIP): Likewise.
4736 (IP_DROP_MEMBERSHIP): Likewise.
4737 (IP_UNBLOCK_SOURCE): Likewise.
4738 (IP_BLOCK_SOURCE): Likewise.
4739 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4740 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4741 (IP_MSFILTER): Likewise.
4742 (MCAST_JOIN_GROUP): Likewise.
4743 (MCAST_BLOCK_SOURCE): Likewise.
4744 (MCAST_UNBLOCK_SOURCE): Likewise.
4745 (MCAST_LEAVE_GROUP): Likewise.
4746 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4747 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4748 (MCAST_MSFILTER): Likewise.
4749 (IP_MULTICAST_ALL): Likewise.
4750 (IP_UNICAST_IF): Likewise.
4752 * timezone/Makefile: Delete $(have-ksh) check.
4753 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4754 * timezone/tzselect.ksh: Add +x mode bits.
4756 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4757 (ANON_INODE_FS_MAGIC): Likewise.
4758 (BDEVFS_MAGIC): Likewise.
4759 (BINFMTFS_MAGIC): Likewise.
4760 (BTRFS_TEST_MAGIC): Likewise.
4761 (CRAMFS_MAGIC_WEND): Likewise.
4762 (DEBUGFS_MAGIC): Likewise.
4763 (ECRYPTFS_SUPER_MAGIC): Likewise.
4764 (EXT3_SUPER_MAGIC): Likewise.
4765 (EXT4_SUPER_MAGIC): Likewise.
4766 (FUTEXFS_SUPER_MAGIC): Likewise.
4767 (HOSTFS_SUPER_MAGIC): Likewise.
4768 (HUGETLBFS_MAGIC): Likewise.
4769 (MINIX3_SUPER_MAGIC): Likewise.
4770 (MTD_INODE_FS_MAGIC): Likewise.
4771 (NILFS_SUPER_MAGIC): Likewise.
4772 (OPENPROM_SUPER_MAGIC): Likewise.
4773 (PIPEFS_MAGIC): Likewise.
4774 (PSTOREFS_MAGIC): Likewise.
4775 (QNX6_SUPER_MAGIC): Likewise.
4776 (RAMFS_MAGIC): Likewise.
4777 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4778 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4779 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4780 (SECURITYFS_MAGIC): Likewise.
4781 (SELINUX_MAGIC): Likewise.
4782 (SMACK_MAGIC): Likewise.
4783 (SOCKFS_MAGIC): Likewise.
4784 (SQUASHFS_MAGIC): Likewise.
4785 (STACK_END_MAGIC): Likewise.
4786 (TMPFS_MAGIC): Likewise.
4787 (USBDEVICE_SUPER_MAGIC): Likewise.
4788 (V9FS_MAGIC): Likewise.
4789 (XENFS_SUPER_MAGIC): Likewise.
4790 (CRAMFS_MAGIC): Fix typo in comment.
4791 (EXT2_SUPER_MAGIC): Update comment.
4792 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4794 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4796 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4797 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4798 * sysdeps/unix/sysv/linux/arm: Move directory from
4799 ports/sysdeps/unix/sysv/linux/arm.
4800 * README: Update listing for arm-*-linux-gnueabi.
4802 * README: Remove mention of am33.
4804 2014-02-07 Roland McGrath <roland@hack.frob.com>
4806 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4807 than the comma operator, to avoid "rhs of comma has no effect"
4809 (__sigfillset, __sigandset, __sigorset): Likewise.
4810 * include/signal.h (__sigemptyset): Likewise.
4811 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4813 2014-02-07 Allan McRae <allan@archlinux.org>
4815 * version.h (RELEASE): Set to "development".
4816 (VERSION): Set to "2.19.90"
4817 * NEWS: Add 2.20 section.
4819 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4822 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4824 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4826 * manual/contrib.texi: Update entry for Carlos O'Donell,
4827 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4829 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4831 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4833 * sysdeps/unix/sysv/linux/kernel-features.h
4834 [__LINUX_KERNEL_VERSION >= 0x020621]
4835 (__ASSUME_PROC_PID_TASK_COMM): Define.
4837 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4840 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4841 conversion when destination buffer does not have enough space.
4842 * libio/tst-ftell-partial-wide.c: New test case.
4843 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4845 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4846 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4847 Leonard and Allan McRae.
4849 2014-02-04 David S. Miller <davem@davemloft.net>
4851 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4854 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4883 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4886 * shlib-versions: Likewise.
4888 2014-02-04 Roland McGrath <roland@hack.frob.com>
4889 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4892 (abilist-pattern): New variable, set to %-le.abilist.
4894 * Makerules (abilist-pattern): New variable.
4895 (vpath): Use $(abilist-pattern) in place of %.abilist.
4896 (check-abi-% pattern rule): Likewise.
4897 (check-abi, update-abi): Likewise.
4899 2014-02-04 Eric Wong <normalperson@yhbt.net>
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4903 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4905 * manual/startup.texi: Add next, previous, and top entries for
4906 the `Program Arguments' and `Environment Variables' nodes.
4908 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4910 * manual/macros.texi: Add comments before MTASC-safety macros.
4912 * manual/users.texi: Document MTASC-safety properties.
4914 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4915 (pthread_getspecific, pthread_setspecific): Format with
4916 @deftypefun, and add @safety note.
4917 * manual/signal.texi: Move comments that analyze the above
4918 functions to their home place.
4920 2014-02-03 Allan McRae <allan@archlinux.org>
4922 * po/sl.po: Update Slovenian translation from translation project.
4924 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4926 * manual/time.texi (timegm): Add missing blank after @c.
4927 Reported by Joseph Myers <joseph@codesourcery.com>.
4929 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4931 * manual/check-safety.sh: New.
4932 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4934 * manual/terminal.texi: Document MTASC-safety properties.
4936 * manual/filesys.texi: Document MTASC-safety properties.
4938 * manual/errno.texi: Document MTASC-safety properties.
4940 * manual/intro.texi: Document safety identifiers and
4943 * manual/string.texi (wcstok): Fix prototype.
4944 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4946 * manual/time.texi: Document MTASC-safety properties.
4948 * manual/string.texi: Document MTASC-safety properties.
4950 * manual/threads.texi: Document MTASC-safety properties.
4952 * manual/stdio.texi: Document MTASC-safety properties.
4954 * manual/syslog.texi: Document MTASC-safety properties.
4956 * manual/sysinfo.texi: Document MTASC-safety properties.
4958 * manual/startup.texi: Document MTASC-safety properties.
4960 * manual/socket.texi: Document MTASC-safety properties.
4962 * manual/signal.texi: Document MTASC-safety properties.
4964 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4966 * manual/setjmp.texi: Document MTASC-safety properties.
4968 * manual/search.texi: Document MTASC-safety properties.
4970 * manual/resource.texi: Document MTASC-safety properties.
4972 * manual/process.texi: Document MTASC-safety properties.
4974 * manual/platform.texi: Document MTASC-safety properties.
4976 * manual/pipe.texi: Document MTASC-safety properties.
4978 * manual/pattern.texi: Document MTASC-safety properties.
4980 * manual/message.texi: Document MTASC-safety properties.
4983 * manual/memory.texi: Document MTASC-safety properties.
4985 * manual/math.texi: Document MTASC-safety properties.
4987 * manual/locale.texi: Document MTASC-safety properties.
4989 * manual/llio.texi: Document MTASC-safety properties.
4991 * manual/libdl.texi: New.
4993 * manual/lang.texi: Document MTASC-safety properties.
4995 * manual/job.texi: Document MTASC-safety properties.
4997 * manual/getopt.texi: Document MTASC-safety properties.
4999 * manual/ctype.texi: Document MTASC-safety properties.
5001 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5004 * csu/libc-tls.c (static_map): Remove variable.
5005 (__libc_setup_tls): Use main executable's link map for TLS data.
5006 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5007 casing for LM_ID_BASE and GL(dl_nns).
5008 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5009 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5010 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5011 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5012 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5014 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5017 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5019 * manual/debug.texi: Document MTASC-safety properties.
5021 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5024 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5025 of __x86_64__ when disabling x87 inline functions.
5027 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5029 * manual/charset.texi: Document MTASC-safety properties.
5031 * manual/crypt.texi: Document MTASC-safety properties.
5033 * manual/conf.texi: Document MTASC-safety properties.
5035 * manual/arith.texi: Document MTASC-safety properties.
5037 * manual/argp.texi: Document MTASC-safety properties.
5039 * manual/macros.texi: Introduce macros to document multi
5040 thread, asynchronous signal and asynchronous cancellation
5042 * manual/intro.texi: Introduce the properties themselves.
5044 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5046 * sysdeps/sh/sh4/Makefile: New file.
5048 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5050 * math/gen-libm-test.pl ($srcdir): New variable.
5051 ($auto_input): Use it.
5053 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5056 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5057 access beyond array bounds when parsing netgroups file.
5059 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5060 the old buffer before realloc.
5062 2014-01-27 Allan McRae <allan@archlinux.org>
5064 * po/fr.po: Update French translation from translation project.
5066 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5068 * sysdeps/sh/libm-test-ulps: Regenerate.
5070 2014-01-24 David S. Miller <davem@davemloft.net>
5072 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5074 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5076 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5077 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5079 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5082 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5083 string pointers after reallocation.
5085 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5087 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5088 __SH4A__ instead of __SH_FPU_ANY__.
5090 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5092 * sysdeps/sh/fpu_control.h: New file.
5093 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5094 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5095 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5096 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5097 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5098 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5099 * sysdeps/sh/sys/ucontext.h: Remove.
5100 * sysdeps/sh/sys: Remove directory.
5102 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5104 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5105 s390/sys/ucontext.h.
5106 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5109 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5112 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5114 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5118 Adjust the vDSO correctly for internal calls.
5119 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5121 2014-01-20 Allan McRae <allan@archlinux.org>
5123 * po/ca.po: Update Catalan translation from translation project.
5125 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5127 * sysdeps/s390/sotruss-lib.c: New file.
5129 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5133 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5134 local calls issues by not having a PLT stub required for IFUNC calls.
5135 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5137 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5139 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5140 * math/test-fpucw-static.c: Likewise.
5142 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5145 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5147 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5150 implementation for powerpc.
5152 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5155 * sysdeps/posix/system.c (__libc_system): Do not enable
5156 asynchronous cancellation.
5158 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5161 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5162 handling only for numbers special also in the IEEE case.
5164 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5166 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5168 2014-01-11 Allan McRae <allan@archlinux.org>
5170 * po/bg.po: Update Bulgarian translation from translation project.
5172 * po/de.po: Update German translation from translation project.
5174 2014-01-10 Roland McGrath <roland@hack.frob.com>
5176 * sysdeps/generic/gcc-compat.h: New file.
5178 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5180 * benchtests/asin-inputs: Correct slow inputs.
5181 * benchtests/acos-inputs: Likewise.
5183 2014-01-10 Allan McRae <allan@archlinux.org>
5185 * po:sv.po: Update Swedish translation from translation project.
5187 * po/vi.po: Update Vietnamese translation from translation project.
5189 * po/eo.po: Update Esperanto translation from translation project.
5191 * po/cs.po: Update Czech translation from translation project.
5193 * po/nl.po: Update Dutch translation from translation project.
5195 * po/pl.po: Update Polish translation from translation project.
5197 * po/ru.po: Update Russian translation from translation project.
5199 * po/uk.po: Update Ukrainian translation from translation project.
5201 2014-01-08 Brooks Moses <bmoses@google.com>
5203 * elf/dl-load.c: Fix comment typo.
5205 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5207 * po/header.pot: Rename to...
5208 * po/pot.header: ... this.
5209 * po/Makefile: Use pot.header.
5211 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5212 Maxim Kuvyrkov <maxim@kugelworks.com>
5215 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5216 SRC and DEST against LEN.
5218 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5223 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5225 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5229 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5232 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5233 for large positive arguments.
5235 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5237 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5239 * math/auto-libm-test-in: Mark various tests with
5240 xfail-rounding:ldbl-128ibm.
5241 * math/auto-libm-test-out: Regenerated.
5244 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5245 Increase overflow threshold.
5247 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5250 * stdio-common/vfprintf.c: Check for integer overflow.
5252 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5254 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5255 the first argument and return value of __tls_get_addr_internal.
5257 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5259 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5260 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5262 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5264 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5265 * sysdeps/s390/rtld-global-offsets.sym: New file.
5266 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5268 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5269 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5270 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5272 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5273 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5279 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5280 halfs of GPRs for high_gprs contexts.
5281 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5282 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5284 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5286 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5288 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5289 for high GPRs (uc_high_gprs) and for future extensions
5291 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5292 for future extensions (__reserved).
5293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5295 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5296 SC_HIGHGPRS offset definition.
5297 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5298 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5300 * Versions.def: Add GLIBC_2.19 for libpthread.
5301 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5302 siglongjmp for libpthread with GLIBC_2.19 symver.
5303 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5304 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5305 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5306 * sysdeps/s390/__longjmp.c: New file.
5307 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5308 * sysdeps/s390/longjmp.c: New file.
5309 * sysdeps/s390/setjmp.S: New file.
5310 * sysdeps/s390/sigjmp.S: New file.
5311 * sysdeps/s390/v1-longjmp.c: New file.
5312 * sysdeps/s390/v1-setjmp.h: New file.
5313 * sysdeps/s390/v1-sigjmp.c: New file.
5314 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5315 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5317 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5319 versioned symbols for ____longjmp_chk.
5320 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5330 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5331 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5332 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5333 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5334 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5335 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5336 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5337 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5338 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5339 * sysdeps/s390/rtld-__longjmp.c: New file.
5340 * sysdeps/s390/rtld-setjmp.S: New file.
5342 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5346 Return -__logl (x) for small positive arguments without evaluating
5349 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5351 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5353 (__ptrace_peeksiginfo_args): ... this.
5354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5358 2014-01-06 Allan McRae <allan@archlinux.org>
5360 * inet/netinet/in.h: Fix typo in comment.
5362 2014-01-05 Andreas Jaeger <aj@suse.de>
5364 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 2014-01-05 Allan McRae <allan@archlinux.org>
5368 * po/libc.pot: Regenerated.
5370 * malloc/memusagestat.c: Fix gettext call formatting.
5372 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5374 * nscd/nscd.c: Improve usage() output.
5376 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5378 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5379 * sysdeps/unix/sysv/linux/configure: Regenerated.
5380 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5381 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5383 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5386 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5387 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5389 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5391 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5392 extra tokens at end of #undef directive.
5393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5394 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5395 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5397 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5399 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5401 * math/auto-libm-test-in: Mark various tests with
5402 xfail-rounding:ldbl-128ibm.
5403 * math/auto-libm-test-out: Regenerated.
5405 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5409 numbers with subnormal high part when calculating exponent.
5412 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5416 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5418 (__ieee754_acoshl): Use __log1pl not __log1p.
5420 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5422 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5423 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5424 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5425 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5426 (reused_arena, arena_get2): Convert to GNU style.
5427 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5428 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5429 (memalign_check, __malloc_set_state): Likewise.
5430 * malloc/mallocbug.c (main): Likewise.
5431 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5432 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5433 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5434 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5435 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5436 (__posix_memalign, malloc_info): Likewise.
5437 * malloc/malloc.h: Likewise.
5438 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5439 (mallochook, memalignhook, reallochook, mabort): Likewise.
5440 * malloc/mcheck.h: Likewise.
5441 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5442 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5443 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5444 * malloc/morecore.c (__default_morecore): Likewise.
5445 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5446 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5447 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5448 (print_and_abort): Likewise.
5449 * malloc/obstack.h: Likewise.
5450 * malloc/set-freeres.c (__libc_freeres): Likewise.
5451 * malloc/tst-mallocstate.c (main): Likewise.
5452 * malloc/tst-mtrace.c (main): Likewise.
5453 * malloc/tst-realloc.c (do_test): Likewise.
5455 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5458 * nscd/netgroupcache.c (do_notfound): New function.
5459 (addgetnetgrentX): Use it.
5462 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5463 NSS_STATUS_NOTFOUND.
5465 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5467 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5470 2014-01-01 Allan McRae <allan@archlinux.org>
5472 * scripts/update-copyrights: Update configure input file suffix.
5474 * NEWS: Update copyright year.
5475 * catgets/gencat.c: Likewise.
5476 * csu/version.c: Likewise.
5477 * debug/catchsegv.sh: Likewise.
5478 * debug/pcprofiledump.c: Likewise.
5479 * debug/xtrace.sh: Likewise.
5480 * elf/ldconfig.c: Likewise.
5481 * elf/ldd.bash.in: Likewise.
5482 * elf/pldd.c: Likewise.
5483 * elf/sotruss.ksh: Likewise.
5484 * elf/sprof.c: Likewise.
5485 * iconv/iconv_prog.c: Likewise.
5486 * iconv/iconvconfig.c: Likewise.
5487 * locale/programs/locale.c: Likewise.
5488 * locale/programs/localedef.c: Likewise.
5489 * login/programs/pt_chown.c: Likewise.
5490 * malloc/memusage.sh: Likewise.
5491 * malloc/memusagestat.c: Likewise.
5492 * malloc/mtrace.pl: Likewise.
5493 * manual/libc.texinfo: Likewise.
5494 * nscd/nscd.c: Likewise.
5495 * nss/getent.c: Likewise.
5496 * nss/makedb.c: Likewise.
5497 * posix/getconf.c: Likewise.
5498 * scripts/test-installation.pl: Likewise.
5500 * All files with FSF copyright notices: Update copyright dates
5501 using scripts/update-copyrights.
5502 * intl/plural.c: Regenerated.
5503 * locale/programs/charmap-kw.h: Likewise.
5504 * locale/programs/locfile-kw.h: Likewise.
5506 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5508 * sysdeps/unix/sysv/linux/configure: Regenerated.
5509 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5510 the linux/fanotify.h header.
5511 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5512 HAVE_LINUX_FANOTIFY_H is defined.
5514 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5516 * benchtests/cos-inputs: New inputs.
5517 * benchtests/sin-inputs: Likewise.
5519 * benchtests/atan-inputs: New inputs. Fix name of multiple
5520 precision fallback inputs.
5522 * benchtests/atanh-inputs: New inputs.
5523 * benchtests/tanh-inputs: Likewise.
5525 * benchtests/acosh-inputs: New inputs.
5526 * benchtests/asinh-inputs: Likewise.
5528 * benchtests/cosh-inputs: New inputs.
5529 * benchtests/sinh-inputs: Likewise.
5531 * benchtests/acos-inputs: Add more inputs.
5532 * benchtests/asin-inputs: Likewise.
5534 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5537 * manual/arith.texi: Fix spelling.
5538 * manual/charset.texi: Likewise.
5539 * manual/errno.texi: Likewise.
5540 * manual/filesys.texi: Likewise.
5541 * manual/lang.texi: Likewise.
5542 * manual/llio.texi: Likewise.
5543 * manual/locale.texi: Likewise.
5544 * manual/message.texi: Likewise.
5545 * manual/resource.texi: Likewise.
5546 * manual/search.texi: Likewise.
5547 * manual/setjmp.texi: Likewise.
5548 * manual/stdio.texi: Likewise.
5549 * manual/string.texi: Likewise.
5550 * manual/sysinfo.texi: Likewise.
5551 * manual/time.texi: Likewise.
5553 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5555 * po/sl.po: New file.
5557 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5559 * .gitignore: Add core/.gdbinit/.gdb_history.
5561 2013-12-27 Allan McRae <allan@archlinux.org>
5564 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5565 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5567 2013-12-24 Brooks Moses <bmoses@google.com>
5569 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5570 all compilers that claim C++98 compliance, not just GCC.
5571 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5574 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5576 * NEWS: Restore accidentally deleted bug-fix entries.
5578 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5579 Ondřej Bílka <neleai@seznam.cz>
5582 * malloc/malloc.c (_int_free): Perform sanity check only if we
5585 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5588 * manual/stdio.texi (String Input Conversions): Clarify that character
5589 classes are not supported.
5591 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5595 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5599 Calculate results for small negative arguments directly rather
5600 than using reflection formula with special underflow handling.
5602 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5603 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5604 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5605 (fchflags): Likewise.
5607 (setlogin): Likewise.
5608 (sigaltstack): Likewise.
5611 (sigsetmask): Likewise.
5613 (waitpid): Likewise.
5614 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5615 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5617 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5618 * sysdeps/unix/bsd/Makefile: ... here.
5619 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5620 * sysdeps/unix/bsd/Versions: ... here.
5621 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5622 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5623 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5624 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5625 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5626 * sysdeps/unix/bsd/sigblock.c: ... here.
5627 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5628 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5629 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5630 * sysdeps/unix/bsd/sigvec.c: ... here.
5631 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5632 * sysdeps/unix/bsd/tcdrain.c: ... here.
5633 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5634 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5635 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5636 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5637 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5638 * sysdeps/unix/bsd/wait.c: ... here.
5639 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5640 * sysdeps/unix/bsd/wait3.c: ... here.
5641 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5642 * sysdeps/unix/bsd/waitpid.c: ... here.
5644 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5648 round-to-nearest for [!USE_AS_EXPM1L].
5649 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5650 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5651 more tests of exp and exp10. Expect some exp10 tests to miss
5652 exceptions or fail in directed rounding modes.
5653 * math/auto-libm-test-out: Regenerated.
5654 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5655 (exp10_test_tonearest): New function.
5656 (exp10_towardzero_test_data): New array.
5657 (exp10_test_towardzero): New function.
5658 (exp10_downward_test_data): New array.
5659 (exp10_test_downward): New function.
5660 (exp10_upward_test_data): New array.
5661 (exp10_test_upward): New function.
5662 (main): Call the new functions.
5663 * sysdeps/i386/fpu/libm-test-ulps: Update.
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5668 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5669 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5670 * math/auto-libm-test-out: Regenerated.
5671 * math/libm-test.inc (acosh_test_data): Add more tests.
5672 (atanh_test_data): Likewise.
5673 (ceil_test_data): Likewise.
5674 (copysign_test_data): Likewise.
5675 * sysdeps/i386/fpu/libm-test-ulps: Update.
5676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5678 * timezone/checktab.awk: Update from tzcode 2013i.
5679 * timezone/private.h: Likewise.
5680 * timezone/scheck.c: Likewise.
5681 * timezone/tzfile.h: Likewise.
5682 * timezone/tzselect.ksh: Likewise.
5683 * timezone/zdump.c: Likewise.
5684 * timezone/zic.c: Likewise.
5686 * math/auto-libm-test-in: Add tests of cpow.
5687 * math/auto-libm-test-out: Regenerated.
5688 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5689 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5691 (func_calc_desc): Add mpc_cc_c union field.
5692 (test_functions): Add cpow.
5693 (special_fill_2pi): New function.
5694 (special_real_inputs): Add 2pi.
5695 (calc_generic_results): Handle mpc_cc_c.
5696 * sysdeps/i386/fpu/libm-test-ulps: Update.
5697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5700 csqrt, ctan and ctanh.
5701 * math/auto-libm-test-out: Regenerated.
5702 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5703 (TEST_COND_x86): Likewise.
5704 (ccos_test_data): Use AUTO_TESTS_c_c.
5705 (ccosh_test_data): Likewise.
5706 (cexp_test_data): Likewise.
5707 (clog_test_data): Likewise.
5708 (csqrt_test_data): Likewise.
5709 (ctan_test_data): Likewise.
5710 (ctan_tonearest_test_data): Likewise.
5711 (ctan_towardzero_test_data): Likewise.
5712 (ctan_downward_test_data): Likewise.
5713 (ctan_upward_test_data): Likewise.
5714 (ctanh_test_data): Likewise.
5715 (ctanh_tonearest_test_data): Likewise.
5716 (ctanh_towardzero_test_data): Likewise.
5717 (ctanh_downward_test_data): Likewise.
5718 (ctanh_upward_test_data): Likewise.
5719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5721 (func_calc_desc): Add mpc_c_c union field.
5722 (FUNC_mpc_c_c): New macro.
5723 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5724 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5726 (special_fill_min_subnorm_p120): New function.
5727 (special_real_inputs): Add min_subnorm_p120.
5728 (calc_generic_results): Handle mpc_c_c.
5729 * sysdeps/i386/fpu/libm-test-ulps: Update.
5730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5732 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5734 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5735 (do_sin_slow): New functions.
5736 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5737 (cslow2, csloww1, csloww2): Use the new functions.
5739 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5740 Use M to change sign of result instead of X. Assume X is
5742 (csloww1): Likewise.
5746 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5753 (sloww1): Don't adjust sign of DX.
5754 (csloww1): Likewise.
5755 (sloww2): Use X directly and don't adjust sign of DX.
5756 (csloww2): Likewise.
5758 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5760 * math/auto-libm-test-in: Add tests of cabs and carg.
5761 * math/auto-libm-test-out: Regenerated.
5762 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5763 (carg_test_data): Likewise.
5764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5766 (func_calc_desc): Add mpc_c_f union field.
5767 (test_functions): Add cabs and carg.
5768 (calc_generic_results): Handle mpc_c_f.
5770 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5771 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5772 as a macro and a compat symbol.
5773 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5774 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5775 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5776 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5777 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5778 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5780 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5782 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5784 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5786 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5788 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5790 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5791 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5794 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5798 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5800 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5801 trailing whitespace removed.
5802 * scripts/config.guess: Update to version 2013-11-29.
5803 * scripts/config.sub: Update to version 2013-10-01.
5805 * math/auto-libm-test-in: Add tests of sincos.
5806 * math/auto-libm-test-out: Regenerated.
5807 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5810 (func_calc_desc): Add mpfr_f_11 union field.
5811 (test_functions): Add sincos.
5812 (calc_generic_results): Handle mpfr_f_11.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update.
5814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5816 2013-12-19 Andreas Schwab <schwab@suse.de>
5818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5821 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5822 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5824 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5826 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5827 * sysdeps/i386/fpu/libm-test-ulps: Update.
5828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5832 round-to-nearest mode when using frndint.
5833 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5834 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5837 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5839 * math/auto-libm-test-out: Regenerated.
5840 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5841 (TEST_COND_x86): Likewise.
5842 (expm1_tonearest_test_data): New array.
5843 (expm1_test_tonearest): New function.
5844 (expm1_towardzero_test_data): New array.
5845 (expm1_test_towardzero): New function.
5846 (expm1_downward_test_data): New array.
5847 (expm1_test_downward): New function.
5848 (expm1_upward_test_data): New array.
5849 (expm1_test_upward): New function.
5850 (main): Run the new test functions.
5851 * sysdeps/i386/fpu/libm-test-ulps: Update.
5852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854 * include/features.h: Update comment documenting feature test
5855 macros. Mention _DEFAULT_SOURCE in comment.
5856 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5857 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5858 _BSD_SOURCE and _SVID_SOURCE.
5859 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5860 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5861 !_SVID_SOURCE]: Likewise.
5862 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5863 (__USE_POSIX_IMPLICITLY): Define.
5864 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5865 (_POSIX_SOURCE): Undefine and redefine.
5866 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5867 (_POSIX_C_SOURCE): Likewise.
5868 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5869 (Feature Test Macros): Update documentation of default features.
5871 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5873 * benchtests/Makefile: Add bench-strtok.
5874 * benchtests/bench-strtok.c: New file: strtok benchtest.
5876 2013-12-19 Allan McRae <allan@archlinux.org>
5878 * manual/install.texi: Suppress menu for plain text output.
5879 * INSTALL: Regenerated.
5881 2013-12-18 Brooks Moses <bmoses@google.com>
5884 * misc/getauxval.c: Include errno.h.
5885 (__getauxval): Set errno to ENOENT if the requested type is not
5887 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5888 don't declare with __attribute_const__.
5889 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5890 * manual/startup.texi: Document that getauxval sets errno.
5892 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5894 * math/auto-libm-test-in: Add tests of jn and yn.
5895 * math/auto-libm-test-out: Regenerated.
5896 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5897 (yn_test_data): Likewise.
5898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5900 (func_calc_desc): Add mpfr_if_f union field.
5901 (FUNC_mpfr_if_f): New macro.
5902 (test_functions): Add jn and yn.
5903 (calc_generic_results): Assert type of second input for
5904 mpfr_ff_f. Handle mpfr_if_f.
5905 (output_for_one_input_case): Disable all checking for arguments
5906 fitting floating-point types in case of an integer argument.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5911 Don't expect fegetround reference in libm.so.
5913 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5915 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5916 $(config-cflags-nofma).
5918 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5920 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5921 * math/auto-libm-test-out: Regenerated.
5924 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5925 to determine exponent and adjust argument to have exponent of -1.
5926 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5928 * math/auto-libm-test-out: Regenerated.
5929 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5934 * manual/probes.texi: Remove cases when per-thread arenas are
5937 2013-12-18 Andreas Schwab <schwab@suse.de>
5939 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5940 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5941 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5942 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5943 * sysdeps/i386/i686/multiarch/Makefile: Update.
5944 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5946 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5948 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5949 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5951 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5954 Support TZ transition times < 00:00:00.
5955 This is needed for version-3 tz-format files; it supports time
5956 stamps past 2037 for America/Godthab (the only entry in the tz
5957 database for which this change is relevant).
5958 * manual/time.texi (TZ Variable): Document transition times
5959 from -167:59:59 through -00:00:01.
5960 * time/tzset.c (tz_rule): Time of day is now signed.
5961 (__tzset_parse_tz): Parse negative time of day.
5963 Document TZ transition times >= 25:00:00.
5964 * manual/time.texi (TZ Variable): Document transition times from
5965 25:00:00 through 167:59:59. These are already supported, and this
5966 support will help with version-3 tz-format files.
5968 * manual/time.texi (TZ Variable): Modernize North America example
5969 to reflect current (i.e., 2007-and-later) daylight saving rules.
5971 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5973 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5975 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5976 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5979 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5980 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5981 * sysdeps/unix/bsd/clock.c: Likewise.
5982 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5983 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5984 * sysdeps/unix/bsd/init-posix.c: Likewise.
5985 * sysdeps/unix/bsd/poll.c: Likewise.
5986 * sysdeps/unix/bsd/ptsname.c: Likewise.
5987 * sysdeps/unix/bsd/seekdir.c: Likewise.
5988 * sysdeps/unix/bsd/setegid.c: Likewise.
5989 * sysdeps/unix/bsd/seteuid.c: Likewise.
5990 * sysdeps/unix/bsd/setgid.c: Likewise.
5991 * sysdeps/unix/bsd/setrgid.c: Likewise.
5992 * sysdeps/unix/bsd/setruid.c: Likewise.
5993 * sysdeps/unix/bsd/setsid.c: Likewise.
5994 * sysdeps/unix/bsd/setuid.c: Likewise.
5995 * sysdeps/unix/bsd/sigaction.c: Likewise.
5996 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5997 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5998 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5999 * sysdeps/unix/bsd/telldir.c: Likewise.
6000 * sysdeps/unix/bsd/times.c: Likewise.
6001 * sysdeps/unix/bsd/usleep.c: Likewise.
6003 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6004 ($(objpfx)libbsd-compat.a): Remove rule.
6006 * include/features.h (__FAVOR_BSD): Do not define.
6007 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6008 features conflicting with POSIX.
6009 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6010 (_BSD_SOURCE): Remove description of not being a subset of other
6011 feature test macros.
6012 * manual/job.texi (getpgrp): Do not document BSD version.
6013 (getpgid): Do not document by reference to BSD getpgrp.
6014 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6015 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6016 * signal/signal.h [__FAVOR_BSD]: Likewise.
6017 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6018 instead of making contents conditional on [__FAVOR_BSD].
6019 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6021 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6025 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6028 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6029 values below 2**-450, not 2**-500.
6030 * math/auto-libm-test-in: Don't allow spurious underflow from
6032 * math/auto-libm-test-out: Regenerated.
6036 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6037 values of ha and hb and sort them after adjusting subnormal
6039 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6041 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6042 values of ea and eb and sort them after adjusting subnormal
6044 * math/auto-libm-test-in: Do not expect some hypot tests of
6045 subnormals to fail. Add more hypot tests.
6046 * math/auto-libm-test-out: Regenerated.
6048 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6051 * sysdeps/sh/s_fma.c: New file.
6052 * sysdeps/sh/s_fmaf.c: New file.
6053 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6055 * sysdeps/sh/Implies: Add sh/soft-fp.
6057 2013-12-16 Roland McGrath <roland@hack.frob.com>
6059 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6060 level of indirection to members `objname', `errstring', `malloced'.
6061 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6062 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6063 it as the __longjmp argument (just pass 1 instead).
6064 (_dl_catch_error): Initialize C with argument pointers and address of
6065 volatile local ERRCODE rather than copying values out of C at return.
6067 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6069 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6070 * math/auto-libm-test-out: Regenerated.
6071 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6072 (hypot_test_data): Likewise.
6073 (pow_test_data): Likewise.
6074 (pow_tonearest_test_data): Likewise.
6075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6077 (func_calc_desc): Add mpfr_ff_f union field.
6078 (FUNC_mpfr_ff_f): New macro.
6079 (test_functions): Add atan2, hypot and pow.
6080 (special_fill_min): New function.
6081 (special_fill_minus_min): Likewise.
6082 (special_fill_min_subnorm): Likewise.
6083 (special_fill_minus_min_subnorm): Likewise.
6084 (special_real_inputs): Add min, -min, min_subnorm and
6086 (calc_generic_results): Handle mpfr_ff_f.
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090 2013-12-16 Will Newton <will.newton@linaro.org>
6092 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6093 (Aligned Memory Blocks): Add documentation for aligned_alloc
6094 and suggest it as an alternative to posix_memalign.
6095 (Hooks for Malloc): Document __memalign_hook is also called
6096 for aligned_alloc. (Summary of Malloc): Add summary for
6097 aligned alloc. Document __memalign_hook is also called
6100 2013-12-16 Will Newton <will.newton@linaro.org>
6102 * manual/memory.texi (Malloc Examples): Clarify default
6103 alignment documentation. Suggest posix_memalign rather
6104 than memalign or valloc.
6105 (Aligned Memory Blocks): Remove suggestion to use memalign
6106 or valloc. Remove obsolete comment about BSD.
6107 Document memalign errno values and mark the function obsolete.
6108 Document posix_memalign returned error codes. Mark valloc
6109 as obsolete. (Hooks for Malloc): __memalign_hook is also
6110 called for posix_memalign and valloc.
6111 (Summary of Malloc): Add posix_memalign to function summary.
6112 __memalign_hook is also called for posix_memalign and valloc.
6114 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6116 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6120 (sloww): Use mynumber union. Expand ternary operator into
6122 (cslow): use mynumber union.
6124 2013-12-16 Allan McRae <allan@archlinux.org>
6126 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6127 * configure: Regenerated.
6129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6132 * configure.ac: Added --enable-maintainer-mode. Check for
6133 autoconf when enabled.
6134 * configure: Regenerated.
6136 * nscd/nscd.service: New file.
6137 * nscd/nscd.tmpfiles: New file.
6139 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6142 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6143 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6144 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6145 (strstr): Add __strstr_sse2_unaligned ifunc.
6146 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6147 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6148 (strcasestr): Remove __strcasestr_sse42 ifunc.
6149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6153 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6155 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6156 * sysdeps/sh/bits/fenv.h: ... here.
6157 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6159 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6161 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6164 hypotf multiarch implementations.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6168 multiarch hypot for PPC64.
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6172 multiarch hypotf for PPC64.
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6175 modff multiarch implementations.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6179 multiarch modf for PPC64.
6180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6183 multiarch modff for PPC64.
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6186 and logl multiarch implementations.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6190 multiarch logb for PPC64.
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6194 multiarch logb for PPC64.
6195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6198 multiarch logb for PPC64.
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6201 isinff multiarch implementation.
6202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6206 multiarch isinf for PPC64.
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6210 multiarch isinff for PPC64.
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6213 finitef multiarch implementation.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6218 multiarch finite for PPC64.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6222 multiarch finitef for PPC64.
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6225 lrint multiarch implementation.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6230 multiarch llrint for PPC64.
6231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6232 multiarch lrint for PPC64.
6234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6235 copysignf multiarch implementation.
6236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6241 multiarch copysign for PPC64.
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6243 multiarch copysignf for PPC64.
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6246 multiarch implementation.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6255 multiarch llround for PPC64.
6256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6257 multiarch trunc for PPC64.
6258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6259 multiarch truncf for PPC64.
6261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6262 multiarch implementation.
6263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6271 multiarch llround for PPC64.
6272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6273 multiarch round for PPC64.
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6275 multiarch roundf for PPC64.
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6278 multiarch implementation.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6287 multiarch llround for PPC64.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6289 multiarch floor for PPC64.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6291 multiarch floorf for PPC64.
6293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6294 multiarch implementation.
6295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6303 multiarch llround for PPC64.
6304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6305 multiarch ceil for PPC64.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6307 multiarch ceilf for PPC64.
6309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6310 multiarch implementation.
6311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6318 multiarch llround for PPC64.
6319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6320 multiarch lround for PPC64.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6323 multiarch implementation.
6324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6331 multiarch isnan for PPC64.
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6333 multiarch isnanf for PPC64.
6335 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6336 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6337 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6338 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6339 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6342 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6343 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6348 multiarch implementations.
6349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6350 (__libc_ifunc_impl_list): Likewise.
6351 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6353 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6354 multiarch stpcpy for PPC64.
6356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6357 multiarch implementations.
6358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Likewise.
6360 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6363 multiarch strcpy for PPC64.
6365 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6366 redefine function name.
6367 (_wordcopy_fwd_dest_aligned): Likewise.
6368 (_wordcopy_bwd_aligned): Likewise.
6369 (_wordcopy_bwd_dest_aligned): Likewise.
6370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6371 multiarch implementations.
6372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6377 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6378 multiarch wcscpy for PPC64.
6380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6381 multiarch implementations.
6382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6383 (__libc_ifunc_impl_list): Likewise.
6384 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6386 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6388 multiarch wcscpy for PPC64.
6390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6391 multiarch implementations.
6392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6393 (__libc_ifunc_impl_list): Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6396 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6397 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6398 multiarch wcsrchr for PPC64.
6400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6401 multiarch implementations.
6402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6403 (__libc_ifunc_impl_list): Likewise.
6404 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6405 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6408 multiarch wcschr for PPC64.
6410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6411 multiarch implementations.
6412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6413 (__libc_ifunc_impl_list): Likewise.
6414 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6415 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6416 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6417 multiarch strchrnul for PPC64.
6419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6422 (__libc_ifunc_impl_list): Likewise.
6423 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6432 (__libc_ifunc_impl_list): Likewise.
6433 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6440 multiarch implementations.
6441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6442 (__libc_ifunc_impl_list): Likewise.
6443 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6444 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6445 strncasecmp for PPC64.
6446 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6448 multiarch strncasecmp_l for PPC64.
6450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6451 multiarch implementations.
6452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6453 (__libc_ifunc_impl_list): Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6455 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6456 multiarch strcasecmp for PPC64.
6457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6459 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6460 multiarch strcasecmp_l for PPC64.
6462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6465 (__libc_ifunc_impl_list): Likewise.
6466 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6467 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6474 (__libc_ifunc_impl_list): Likewise.
6475 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6476 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6477 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6483 (__libc_ifunc_impl_list): Likewise.
6484 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6487 rawmemrchr for PPC64.
6489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6492 (__libc_ifunc_impl_list): Likewise.
6493 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6494 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6495 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6501 (__libc_ifunc_impl_list): Likewise.
6502 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6503 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6504 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6510 (__libc_ifunc_impl_list): Likewise.
6511 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6516 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6517 avoid cretion of __bzero symbol.
6518 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6520 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6522 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6525 multiarch implementations.
6526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6527 (__libc_ifunc_impl_list): Likewise.
6528 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6529 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6530 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6531 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6533 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6534 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6535 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6536 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6539 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6541 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6545 (__libc_ifunc_impl_list): Likewise.
6546 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6548 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6549 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6553 multiarch for POWER/PPC64.
6554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6559 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6562 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6565 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6566 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6567 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6568 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6569 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6570 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6571 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6572 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6573 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6574 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6575 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6576 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6577 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6578 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6579 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6588 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6592 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6594 * benchtests/Makefile (bench): Add exp2 and log2.
6595 (LDLIBS-bench-exp2): Add -lm.
6596 (LDLIBS-bench-log2): Likewise.
6597 * benchtests/exp2-inputs: New inputs file.
6598 * benchtests/log2-inputs: New inputs file.
6599 * benchtests/log-inputs: Add new inputs.
6600 * benchtests/tan-inputs: Likewise.
6602 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6604 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6606 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6607 (csloww2): ... from here.
6609 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6610 instead of structures.
6611 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6612 (POLYNOMIAL): Likewise.
6613 (TAYLOR_SLOW): Likewise.
6621 (bsloww1): Likewise.
6622 (bsloww2): Likewise.
6625 (csloww1): Likewise.
6626 (csloww2): Likewise.
6628 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6630 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6631 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6632 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6633 * malloc/hooks.c (realloc_check): Likewise.
6635 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6636 * malloc/arena.c: Remove PER_THREAD conditional.
6637 [!PER_THREAD]: Remove code.
6638 (ptmalloc_unlock_all2): Likewise.
6639 (ptmalloc_init): Likewise.
6640 (_int_new_arena): Likewise.
6641 (arena_get2): Likewise.
6642 * malloc/hooks.c (__malloc_get_state): Likewise.
6643 (__malloc_set_state): Likewise.
6644 * malloc/malloc.c: Likewise.
6645 (struct malloc_state): Likewise.
6646 (struct malloc_par): Likewise.
6647 (__libc_realloc): Likewise.
6648 (__libc_mallopt): Likewise.
6650 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6654 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6656 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6657 macro to a function. Check for zero perturb_byte.
6658 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6660 * malloc/malloc.c: (force_reg): Remove.
6661 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6662 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6663 force_reg by atomic_forced_read.
6664 * malloc/arena.c (ptmalloc_init): Likewise.
6665 * malloc/hooks.c (top_check): Likewise.
6667 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6671 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6675 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6677 * math/auto-libm-test-in: Add tests of lgamma.
6678 * math/auto-libm-test-out: Regenerated.
6679 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6680 (M_LOG_2_SQRT_PIl): Likewise.
6681 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6682 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6684 (func_calc_desc): Add mpfr_f_f1 union field.
6693 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6694 (test_functions): Add lgamma.
6695 (calc_generic_results): Handle mpfr_f_f1.
6696 * sysdeps/i386/fpu/libm-test-ulps: Update.
6697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6702 __mpn_add_n for PowerPC64/POWER7.
6703 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6704 __mpn_sub_n for PowerPC64/POWER7.
6706 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6707 __mpn_addmul_1 for PowerPC64.
6708 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6709 __mpn_submul_1 for PowerPC64.
6710 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6712 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6715 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6718 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6720 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6722 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6724 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6725 add multiarch folders.
6726 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6727 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6728 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6729 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6730 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6731 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6732 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6733 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6734 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6735 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6736 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6745 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6751 multiarch __ieee754_hypot for PowerPC32.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6757 multiarch __ieee754_hypotf for PowerPC32.
6759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6760 long_double_symbol only if __logbl is defined.
6761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6762 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6764 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6766 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6767 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6768 path for implementation.
6769 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6770 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6772 logb, and logbl multiarch implementations for PowerPC32.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6778 multiarch logb for PowerPC32.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6784 multiarch logbf for PowerPC32.
6785 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6789 multiarch logbl implementation for PowerPC32.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6792 and modff multiarch implementations.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6798 multiarch modf for PowerPC32.
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6804 multiarch modff for PowerPC32.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6807 and lrintf multiarch implementations.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6813 multiarch lrint for PowerPC32.
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6815 file: multiarch lrintf for PowerPC32.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6818 and lroundf multiarch implementations.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6826 multiarch lround for PowerPC32.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6828 file: multiarch lroundf for PowerPC32.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6831 copysign and copysignf multiarch implementations.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6837 file: multiarch copysign for PowerPC32.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6839 file: multiarch copysignf for PowerPC32.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6842 and truncf multiarch implementations.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6848 multiarch trunc for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6854 multiarch truncf for PowerPC32.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6857 and roundf multiarch implementations.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6863 multiarch round for PowerPC32.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6869 multiarch roundf for PowerPC32.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6872 and floorf multiarch implementations.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6878 multiarch floor for PowerPC32.
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6884 multiarch floorf for PowerPC32.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6887 and ceilf multiarch implementations.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6893 multiarch ceil for PowerPC32.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6899 multiarch ceilf for PowerPC32.
6901 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6903 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6906 and finitef multiarch implementations.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6912 multiarch finite for PowerPC32.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6916 file: multiarch finitef for PowerPC32.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6919 and isinff multiarch implementations.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6925 multiarch isinf for PowerPC32.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6929 multiarch isinff for PowerPC32.
6931 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6932 alias when __isnan is defined.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6934 and isnanf multiarch implementations.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6944 multiarch isnan for PowerPC32.
6945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6950 multiarch isnanf for PowerPC32.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6953 and sqrtf multiarch implementations.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6959 multiarch sqrt for PowerPC32.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6965 multiarch sqrtf for PowerPC32.
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6968 and llroundf multiarch implementations.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6976 file: multiarch llround for PowerPC32.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6978 file: multiarch llroundf for PowerPC32.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6981 multiarch PowerPC32 fpu implementations.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6987 multiarch llrint for PowerPC32.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7004 multiarch wordcopy for PPC32.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7008 (__libc_ifunc_impl_list): Likewise.
7009 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7010 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7011 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7012 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7013 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7014 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7016 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7024 multiarch wcscpy for PPC32.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7028 (__libc_ifunc_impl_list): Likewise.
7029 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7030 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7031 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7032 sysdeps/powerpc/power6/wcscpy.c.
7034 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7042 multiarch wcsrchr for PPC32.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7046 (__libc_ifunc_impl_list): Likewise.
7047 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7048 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7049 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7050 sysdeps/powerpc/power6/wcsrchr.c.
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7058 multiarch wcschr for PPc32.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7062 (__libc_ifunc_impl_list): Likewise.
7063 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7064 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7065 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7066 sysdeps/powerpc/power6/wcschr.c.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7072 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7073 file: multiarch strchr for PPC32.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7077 (__libc_ifunc_impl_list): Likewise.
7079 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7081 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7086 multiarch strchrnul for PPC32.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7090 (__libc_ifunc_impl_list): Likewise.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7095 multiarch strncasecmp for PPC32.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7099 multiarch strncasecmp_l for PPC32.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7101 strncasecmp multiarch objects.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7103 (__libc_ifunc_impl_list): Likewise.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7108 multiarch strncasecmp for PPC32.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7112 multiarch strcasecmp_l for PPC32.
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7116 (__libc_ifunc_impl_list): Likewise.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7123 multiarch strncmp for PPC32.
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7127 (__libc_ifunc_impl_list): Likewise.
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7130 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7137 (__libc_ifunc_impl_list): Likewise.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7147 (__libc_ifunc_impl_list): Likewise.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7154 multiarch rawmemchr for PPC32.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7158 (__libc_ifunc_impl_list): Likewise.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7162 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7165 file: memrchr multiarch for PPC32.
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7169 (__libc_ifunc_impl_list): Likewise.
7171 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7176 multiarch memchr for PPC32.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7180 (__libc_ifunc_impl_list): Likewise.
7182 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7188 file: multiarch mempcpy for PPC32.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7192 (__libc_ifunc_impl_list): Likewise.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7198 multiarch bzero for PPC32.
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7204 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7205 file: multiarch memset for PPC32.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7208 memset multiarch objects.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7210 (__libc_ifunc_impl_list): Likewise.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7221 (__libc_ifunc_impl_list): Likewise.
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7232 multiarch memcpy for PPC32.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7236 (__libc_ifunc_impl_list): Likewise.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7239 support multiarch for POWER/PPC32.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7244 Implies file to make multiarch folder appers before the fpu and
7245 default folder for power4 configuration.
7247 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7249 * scripts/bench.pl: Append volatile keyword to type.
7251 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7253 * sysdeps/sh/sotruss-lib.c: New file.
7254 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7256 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7260 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7263 * math/w_tgamma.c: Include <errno.h>.
7264 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7265 * math/w_tgammaf.c: Include <errno.h>.
7266 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7267 * math/w_tgammal.c: Include <errno.h>.
7268 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7269 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7270 underflow. Add more tgamma tests.
7271 * math/auto-libm-test-out: Regenerated.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7276 sin, sinh, tan, tanh, tgamma, y0 and y1.
7277 * math/auto-libm-test-out: Regenerated.
7278 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7279 (TEST_COND_x86): Likewise.
7280 (M_E2l): Remove macro.
7282 (M_2_SQRT_PIl): Likewise.
7283 (M_SQRT_PIl): Likewise.
7284 (M_1_DIV_El): Likewise.
7285 (log_test_data): Use AUTO_TESTS_f_f.
7286 (log10_test_data): Likewise.
7287 (log1p_test_data): Likewise.
7288 (log2_test_data): Likewise.
7289 (sin_test_data): Likewise.
7290 (sin_tonearest_test_data): Likewise.
7291 (sin_towardzero_test_data): Likewise.
7292 (sin_downward_test_data): Likewise.
7293 (sin_upward_test_data): Likewise.
7294 (sinh_test_data): Likewise.
7295 (sinh_tonearest_test_data): Likewise.
7296 (sinh_towardzero_test_data): Likewise.
7297 (sinh_downward_test_data): Likewise.
7298 (sinh_upward_test_data): Likewise.
7299 (tan_test_data): Likewise.
7300 (tan_tonearest_test_data): Likewise.
7301 (tan_towardzero_test_data): Likewise.
7302 (tan_downward_test_data): Likewise.
7303 (tan_upward_test_data): Likewise.
7304 (tanh_test_data): Likewise.
7305 (tgamma_test_data): Likewise.
7306 (y0_test_data): Likewise.
7307 (y1_test_data): Likewise.
7308 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7309 (special_real_inputs): Add pi/4.
7310 * sysdeps/i386/fpu/libm-test-ulps: Update.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7313 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7315 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7316 "longjmp_target" static probes.
7317 (__longjmp): Rename to __longjmp_symbol.
7318 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7319 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7320 on which longjmp to generate.
7321 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7322 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7324 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7325 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7326 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7328 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7329 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7331 __longjmp_symbol based on which __longjmp to generate.
7332 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7334 (setjmp): Rename to setjmp_symbol.
7335 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7336 (_setjmp): Rename to _setjmp_symbol.
7337 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7338 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7339 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7340 which setjmp to generate.
7341 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7342 "longjmp_target" static probes.
7344 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7346 * benchtests/README: Add note about output arguments.
7347 * benchtests/bench-sincos.c: Remove file.
7348 * benchtests/sincos-inputs: New file.
7349 * scripts/bench.pl: Identify output arguments and define
7350 static variables for them.
7352 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7355 * Makefile (INSTALL): Add install-plain.texi as the primary
7357 * manual/install-plain.texi: New file.
7358 * manual/install.texi: Include node directive only for
7359 non-plaintext output.
7361 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7363 * stdlib/longlong.h: Update from GCC.
7367 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7368 * math/w_j0f.c (y0f): Likewise.
7369 * math/w_j0l.c (__y0l): Likewise.
7370 * math/w_j1.c (y1): Likewise.
7371 * math/w_j1f.c (y1f): Likewise.
7372 * math/w_j1l.c (__y1l): Likewise
7373 * math/w_jn.c (yn): Likewise.
7374 * math/w_jnf.c (ynf): Likewise.
7375 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7376 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7377 value for Bessel function domain errors outside _SVID_ mode.
7378 Adjust sign of return value for yn (negative integer, 0).
7379 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7380 by zero in return for negative x and set sign appropriately for
7382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7384 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7385 expectations in error cases.
7386 (y1_test_data): Likewise.
7387 (yn_test_data): Likewise.
7388 * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7393 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7394 "64" to "64-v1". Add "64-v2".
7395 (abi-64-options): Rename to ...
7396 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7397 (abi-64-condition): Rename to ...
7398 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7399 (abi-64-ld-soname): Rename to ...
7400 (abi-64-v1-ld-soname): ... this.
7401 (abi-64-v2-options): Define.
7402 (abi-64-v2-condition): Likewise.
7403 (abi-64-v2-ld-soname): Likewise.
7404 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7405 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7410 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7411 Alan Modra <amodra@gmail.com>
7413 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7414 New versions for use with the ELFv2 ABI.
7415 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7416 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7418 (struct La_ppc64v2_retval): Likewise.
7419 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7420 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7421 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7422 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7423 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7424 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7425 Do not save or restore CR.
7426 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7427 (_dl_profile_resolve): Do no save or restore CR. Support extended
7428 return values for ELFv2 ABI. Fix location of FPR return registers.
7429 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7430 updated values for _CALL_ELF == 2.
7431 (La_regs, La_retval, int_retval): Likewise.
7433 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7435 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7436 (FRAME_MIN_SIZE_PARM): Likewise.
7437 (FRAME_BACKCHAIN): Likewise.
7438 (FRAME_CR_SAVE): Likewise.
7439 (FRAME_LR_SAVE): Likewise.
7440 (FRAME_TOC_SAVE): Likewise.
7441 (FRAME_PARM_SAVE): Likewise.
7442 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7443 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7444 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7445 (call_mcount_parm_offset): New macro.
7446 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7447 (PROF): Use symbolic stack frame offsets.
7448 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7449 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7450 Redefine in terms of FRAME_MIN_SIZE.
7451 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7452 (_dl_profile_resolve): Likewise. Update comment.
7453 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7454 symbols stack frame offsets.
7455 (__sigsetjmp): Likewise.
7456 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7457 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7458 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7459 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7462 (FRAME_BACKCHAIN): Remove.
7463 (FRAME_CR_SAVE): Likewise.
7464 (FRAME_LR_SAVE): Likewise.
7465 (FRAME_COMPILER_DW): Likewise.
7466 (FRAME_LINKER_DW): Likewise.
7467 (FRAME_TOC_SAVE): Likewise.
7468 (FRAME_PARM_SAVE): Likewise.
7469 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7470 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7471 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7473 (CHECK_SP): Use symbolic stack frame offsets.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7475 zone" instead of caller's parameter save area for temp storage.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7477 Likewise. Also, use symbolic stack frame offsets.
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7479 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7480 our own stack frame instead of the caller's.
7481 (__socket): Use symbolic stack frame offsets.
7483 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7484 Alan Modra <amodra@gmail.com>
7486 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7488 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7489 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7490 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7492 (elf_machine_fixup_plt): Call it.
7493 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7495 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7496 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7497 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7498 r2 before calling target.
7500 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7501 Alan Modra <amodra@gmail.com>
7503 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7504 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7505 versions of macros to support ELFv2 ABI.
7506 (LOCALENTRY): New macro.
7507 (ENTRY, EALIGN): Use it.
7508 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7509 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7510 fall through into ENTRY entry point.
7511 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7512 Only define if _CALL_ELF != 2.
7514 (elf_machine_matches_host): Verify ABI version matches.
7515 (RTLD_START): Use LOCALENTRY.
7516 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7517 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7518 (PLT_ENTRY_WORDS): New macro.
7519 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7520 (elf_machine_runtime_setup): Support ELFv2 ABI.
7521 (elf_machine_fixup_plt): Likewise.
7522 (elf_machine_plt_conflict): Likewise.
7523 (resolve_ifunc): Likewise.
7524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7528 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7530 (makecontext): Support ELFv2 ABI.
7531 * elf/elf.h (EF_PPC64_ABI): Define.
7533 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7535 * sysdeps/powerpc/powerpc64/sysdep.h
7536 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7537 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7538 (ENTRY) [ASSEMBLER]: ... but instead here ...
7539 (EALIGN) [ASSEMBLER]: ... and here.
7540 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7541 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7542 (ENTRY_2) [!ASSEMBLER]: Use it.
7543 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7544 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7545 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7546 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7547 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7549 Use PPC64_LOAD_FUNCPTR.
7551 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7553 2013-12-04 Alan Modra <amodra@gmail.com>
7555 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7556 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7557 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7558 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7561 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7562 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7563 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7564 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7565 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7567 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7570 (__makecontext): Fix incorrect CFI when backtracing out of
7571 context created via makecontext.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7573 (__setcontext): Fix incorrect CFI during switch to new context.
7574 (__novec_setcontext): Likewise.
7576 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7579 * time/strptime_l.c (__strptime_internal): Allow modifiers
7581 * time/tst-strptime.c (day_tests): Add testcase.
7583 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7585 * scripts/bench.pl: Skip over blank lines.
7587 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7590 * manual/time.texi (Calendar Time): Clarify what timezone functions
7593 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7597 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7599 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7601 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7602 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7603 * debug/memset_chk.c (__memset_chk): Likewise.
7604 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7605 * debug/strncpy_chk.c: Likewise.
7607 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7611 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7612 (__ieee754_exp): For possibly underflowing results, check size of
7613 result and force underflow exception if required.
7614 * math/auto-libm-test-in: Add more tests of exp.
7615 * math/auto-libm-test-out: Regenerated.
7616 * sysdeps/i386/fpu/libm-test-ulps: Update.
7617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7620 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7621 * math/w_exp2f.c (__exp2f): Likewise.
7622 * math/w_exp2l.c (__exp2l): Likewise.
7623 * math/auto-libm-test-in: Do not allow missing errno on exp2
7625 * math/auto-libm-test-out: Regenerated.
7627 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7630 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7631 handle filename validation.
7632 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7635 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7638 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7639 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7640 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7642 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7644 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7646 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7648 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7649 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7650 Add more erfc tests.
7651 * math/auto-libm-test-out: Regenerated.
7652 * sysdeps/i386/fpu/libm-test-ulps: Update.
7653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7655 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7656 exp2, expm1, j0 and j1.
7657 * math/auto-libm-test-out: Regenerated.
7658 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7659 (erfc_test_data): Likewise.
7660 (exp_test_data): Likewise.
7661 (exp_tonearest_test_data): Likewise.
7662 (exp_towardzero_test_data): Likewise.
7663 (exp_downward_test_data): Likewise.
7664 (exp_upward_test_data): Likewise.
7665 (exp10_test_data): Likewise.
7666 (exp2_test_data): Likewise.
7667 (expm1_test_data): Likewise.
7668 (j0_test_data): Likewise.
7669 (j1_test_data): Likewise.
7670 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7671 (input_flag_type): Add flag_xfail_rounding.
7672 (input_flags): Add xfail-rounding.
7673 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7674 (output_for_one_input_case): Handle flag_xfail_rounding.
7675 * sysdeps/i386/fpu/libm-test-ulps: Update.
7676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7678 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7681 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7684 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7687 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7688 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7689 (STAP_PROBE0): New macro.
7690 (STAP_PROBE1): Likewise.
7691 (STAP_PROBE2): Likewise.
7692 (STAP_PROBE3): Likewise.
7693 (STAP_PROBE4): Likewise.
7695 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7697 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7699 2013-12-02 Steve Ellcey <sellcey@mips.com>
7701 * benchtests/Makefile (bench): Add sqrt.
7702 (LDLIBS-bench-sqrt): New.
7703 * benchtests/sqrt-input: New.
7705 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7707 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7708 (GAIH_EAI): Likewise.
7709 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7710 (gaih_inet): Likewise.
7711 (getaddrinfo): Don't use GAIH_EAI.
7713 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7714 (struct gaih): Remove definition.
7716 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7718 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7719 Use HERRNOP directly.
7721 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7725 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7727 * math/gen-auto-libm-tests.c (test_functions): Add more
7728 single-argument functions.
7729 (special_fill_pi_2): New function.
7730 (special_fill_minus_pi_2): Likewise.
7731 (special_fill_pi_6): Likewise.
7732 (special_fill_minus_pi_6): Likewise.
7733 (special_fill_pi_3): Likewise.
7734 (special_fill_2pi_3): Likewise.
7735 (special_fill_e): Likewise.
7736 (special_fill_1_e): Likewise.
7737 (special_fill_e_minus_1): Likewise.
7738 (special_real_inputs): Add more special inputs.
7739 (output_for_one_input_case): Do not require ERANGE on underflow to
7740 zero if round-to-nearest result does not underflow to zero, unless
7741 exact results required.
7742 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7743 atan, atanh, cbrt, cos and cosh.
7744 * math/auto-libm-test-out: Regenerated.
7745 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7746 (acos_tonearest_test_data): Likewise.
7747 (acos_towardzero_test_data): Likewise.
7748 (acos_downward_test_data): Likewise.
7749 (acos_upward_test_data): Likewise.
7750 (acosh_test_data): Likewise.
7751 (asin_test_data): Likewise.
7752 (asin_tonearest_test_data): Likewise.
7753 (asin_towardzero_test_data): Likewise.
7754 (asin_upward_test_data): Likewise.
7755 (asinh_test_data): Likewise.
7756 (atan_test_data): Likewise.
7757 (atanh_test_data): Likewise.
7758 (cbrt_test_data): Likewise.
7759 (cos_test_data): Likewise.
7760 (cos_tonearest_test_data): Likewise.
7761 (cos_towardzero_test_data): Likewise.
7762 (cos_downward_test_data): Likewise.
7763 (cos_upward_test_data): Likewise.
7764 (cosh_test_data): Likewise.
7765 (cosh_tonearest_test_data): Likewise.
7766 (cosh_towardzero_test_data): Likewise.
7767 (cosh_downward_test_data): Likewise.
7768 (cosh_upward_test_data): Likewise.
7769 * sysdeps/i386/fpu/libm-test-ulps: Update.
7770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7772 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7775 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7776 * math/w_exp10f.c (__exp10f): Likewise.
7777 * math/w_exp10l.c (__exp10l): Likewise.
7778 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7779 errno settings in existing tests.
7782 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7783 precision control set to double precision.
7784 * sysdeps/i386/fpu/w_sqrt.c: New file.
7785 * math/auto-libm-test-in: Add more tests.
7786 * math/auto-libm-test-out: Update.
7788 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7789 (sqrt_test_tonearest): New function.
7790 (sqrt_towardzero_test_data): New variable.
7791 (sqrt_test_towardzero): New function.
7792 (sqrt_downward_test_data): New variable.
7793 (sqrt_test_downward): New function.
7794 (sqrt_upward_test_data): New variable.
7795 (sqrt_test_upward): New function.
7796 (main): Call the new functions.
7798 * math/gen-auto-libm-tests.c: New file.
7799 * math/auto-libm-test-in: Likewise.
7800 * math/auto-libm-test-out: New generated file.
7801 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7803 (%beautify): Add generated representations of zero.
7804 (top level): Set $auto_input and call parse_auto_input.
7805 (beautify): Remove trailing "f" from hex float constants.
7806 (parse_args): Handle XFAIL_TEST.
7807 (convert_condition): New function.
7808 (or_value): Likewise.
7809 (or_cond_value): Likewise.
7810 (generate_testfile): Handle AUTO_TESTS_* lines.
7811 (parse_auto_input): New function.
7812 * math/libm-test.inc (XFAIL_TEST): New macro.
7813 (ERRNO_UNCHANGED): Update value.
7814 (ERRNO_EDOM): Likewise.
7815 (ERRNO_ERANGE): Likewise.
7816 (IGNORE_RESULT): Likewise.
7817 (TEST_COND_flt_32): New macro.
7818 (TEST_COND_dbl_64): Likewise.
7819 (TEST_COND_ldbl_96_intel): Likewise.
7820 (TEST_COND_ldbl_96_m68k): Likewise.
7821 (TEST_COND_ldbl_128): Likewise.
7822 (TEST_COND_ldbl_128ibm): Likewise.
7823 (TEST_COND_long32): Likewise.
7824 (TEST_COND_long64): Likewise.
7825 (TEST_COND_before_rounding): Likewise.
7826 (TEST_COND_after_rounding): Likewise.
7827 (enable_test): Handle XFAIL_TEST flag.
7828 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7829 with finite results.
7830 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7833 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7837 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7838 __tls_get_addr_internal instead of __tls_get_offset in order to
7839 avoid GOT pointer dependency. Make rtld export
7840 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7841 __tls_get_addr since we are a __tls_get_offset platform.
7842 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7843 GOT pointer being set up before.
7844 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7846 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7848 * manual/math.texi (Errors in Math Functions): Document accuracy
7852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7853 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7869 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7870 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7871 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7872 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7873 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7875 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7877 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7879 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7880 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7881 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7882 atomic-feupdateenv and flt-rounds.
7883 * sysdeps/powerpc/nofpu/Versions (libc): Add
7884 __atomic_feholdexcept, __atomic_feclearexcept,
7885 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7886 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7887 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7888 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7889 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7894 * manual/arith.texi (FP Exceptions): Document that exceptions may
7895 not be raised when matherr is used.
7896 (Math Error Reporting): Document overflow in directed rounding
7897 modes. Document that errno may not be set when finite values are
7898 returned on overflow. Document intent to set errno on underflow
7899 only for underflow to zero.
7902 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7903 round-to-nearest then adjust result for other rounding modes.
7904 * include/fenv.h (fegetround): Use libm_hidden_proto.
7905 * math/fegetround.c (fegetround): Use libm_hidden_def.
7906 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7907 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7908 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7909 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7911 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7912 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7913 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7914 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7916 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7919 * nss/Versions (libnss_files): Add
7920 _nss_files_gethostbyname3_r.
7921 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7923 (HOST_DB_LOOKUP): Remove macro.
7924 (_nss_files_gethostbyname_r): Implement function without the
7925 HOST_DB_LOOKUP macro.
7926 (_nss_files_gethostbyname2_r): Likewise.
7928 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7930 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7932 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7934 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7935 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7938 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7940 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7941 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7942 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7943 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7944 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7945 __fe_nomask_env_priv and attribute_hidden.
7946 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7947 (libc_feupdateenv_test_ppc): Likewise.
7948 (libc_feresetround_ppc): Likewise.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7950 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7951 compat_symbol macro.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7953 (__fe_nomask_env): Likewise.
7954 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7956 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7958 * string/Makefile: Remove ifunc tests.
7959 * string/test-string.h: Define TEST_IFUNC.
7960 * string/test-bcopy-ifunc.c: Remove.
7961 * string/test-bzero-ifunc.c: Likewise.
7962 * string/test-memccpy-ifunc.c: Likewise.
7963 * string/test-memchr-ifunc.c: Likewise.
7964 * string/test-memcmp-ifunc.c: Likewise.
7965 * string/test-memcpy-ifunc.c: Likewise.
7966 * string/test-memmem-ifunc.c: Likewise.
7967 * string/test-memmove-ifunc.c: Likewise.
7968 * string/test-mempcpy-ifunc.c: Likewise.
7969 * string/test-memrchr-ifunc.c: Likewise.
7970 * string/test-memset-ifunc.c: Likewise.
7971 * string/test-rawmemchr-ifunc.c: Likewise.
7972 * string/test-stpcpy-ifunc.c: Likewise.
7973 * string/test-stpncpy-ifunc.c: Likewise.
7974 * string/test-strcasecmp-ifunc.c: Likewise.
7975 * string/test-strcasestr-ifunc.c: Likewise.
7976 * string/test-strcat-ifunc.c: Likewise.
7977 * string/test-strchr-ifunc.c: Likewise.
7978 * string/test-strchrnul-ifunc.c: Likewise.
7979 * string/test-strcmp-ifunc.c: Likewise.
7980 * string/test-strcpy-ifunc.c: Likewise.
7981 * string/test-strcspn-ifunc.c: Likewise.
7982 * string/test-strlen-ifunc.c: Likewise.
7983 * string/test-strncasecmp-ifunc.c: Likewise.
7984 * string/test-strncat-ifunc.c: Likewise.
7985 * string/test-strncmp-ifunc.c: Likewise.
7986 * string/test-strncpy-ifunc.c: Likewise.
7987 * string/test-strnlen-ifunc.c: Likewise.
7988 * string/test-strpbrk-ifunc.c: Likewise.
7989 * string/test-strrchr-ifunc.c: Likewise.
7990 * string/test-strspn-ifunc.c: Likewise.
7991 * string/test-strstr-ifunc.c: Likewise.
7993 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7995 * benchtests/Makefile: Remove ifunc tests.
7996 * benchtests/bench-string.h: Define TEST_IFUNC.
7997 * benchtests/bench-bcopy-ifunc.c: Remove.
7998 * benchtests/bench-bzero-ifunc.c: Likewise.
7999 * benchtests/bench-memccpy-ifunc.c: Likewise.
8000 * benchtests/bench-memchr-ifunc.c: Likewise.
8001 * benchtests/bench-memcmp-ifunc.c: Likewise.
8002 * benchtests/bench-memcpy-ifunc.c: Likewise.
8003 * benchtests/bench-memmem-ifunc.c: Likewise.
8004 * benchtests/bench-memmove-ifunc.c: Likewise.
8005 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8006 * benchtests/bench-memrchr-ifunc.c: Likewise.
8007 * benchtests/bench-memset-ifunc.c: Likewise.
8008 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8009 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8010 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8011 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8012 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8013 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8014 * benchtests/bench-strcat-ifunc.c: Likewise.
8015 * benchtests/bench-strchr-ifunc.c: Likewise.
8016 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8017 * benchtests/bench-strcmp-ifunc.c: Likewise.
8018 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8019 * benchtests/bench-strcpy-ifunc.c: Likewise.
8020 * benchtests/bench-strcspn-ifunc.c: Likewise.
8021 * benchtests/bench-strlen-ifunc.c: Likewise.
8022 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8023 * benchtests/bench-strncat-ifunc.c: Likewise.
8024 * benchtests/bench-strncmp-ifunc.c: Likewise.
8025 * benchtests/bench-strncpy-ifunc.c: Likewise.
8026 * benchtests/bench-strnlen-ifunc.c: Likewise.
8027 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8028 * benchtests/bench-strrchr-ifunc.c: Likewise.
8029 * benchtests/bench-strsep-ifunc.c: Likewise.
8030 * benchtests/bench-strspn-ifunc.c: Likewise.
8031 * benchtests/bench-strstr-ifunc.c: Likewise.
8033 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8035 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8037 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8039 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8040 * rt/aio.h: Likewise.
8041 * sysdeps/gnu/bits/utmp.h: Likewise.
8042 * sysdeps/gnu/bits/utmpx.h: Likewise.
8043 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8044 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8045 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8046 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8047 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8048 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8049 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8050 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8054 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8055 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8057 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8060 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8061 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8062 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8064 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8065 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8066 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8070 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8071 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8073 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8074 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8076 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8077 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8078 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8079 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8080 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8081 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8082 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8083 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8084 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8086 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8089 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8090 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8092 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8094 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8095 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8098 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8101 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8102 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8103 (__fesetround): Remove define.
8104 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8105 rounding and exceptions handling.
8106 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8107 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8108 (__fe_nomask_env): Likewise.
8109 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8110 __fegetround instead of fegetround.
8111 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8114 2013-11-21 Roland McGrath <roland@hack.frob.com>
8116 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8119 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8121 2013-11-21 Meador Inge <meadori@codesourcery.com>
8124 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8125 (encrypt_r): Likewise.
8126 * malloc/obstack.h (obstack_free): Likewise.
8127 * posix/unistd.h (encrypt): Likewise.
8129 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8131 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8132 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8133 DL_CALL_DT_FINI() that call the functions directly.
8134 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8135 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8136 * elf/dl-fini.c: Likewise.
8138 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8140 * malloc/hooks.c (memalign_check): Add alignment rounding.
8141 * malloc/malloc.c (_mid_memalign): New function.
8142 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8143 Implement by calling _mid_memalign.
8144 * manual/probes.texi (Memory Allocation Probes): Remove
8145 memory_valloc_retry and memory_pvalloc_retry.
8147 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8149 * locale/programs/locarchive.c (open_archive): Add const
8150 qualifier to ARCHIVEFNAME and copy default fname to
8154 * libio/tst-widetext.input: Rename Oriya to Odia.
8155 * locale/iso-639.def: Likewise.
8157 * manual/probes.texi (Mathematical Function Probes): Add
8158 documentation for sin, cos, asin and acos probes.
8159 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8160 (__sin32): Add slowasin probe.
8161 (__cos32): Add slowacos probe.
8162 (__mpsin): Add slowsin probe.
8163 (__mpcos): Add slowcos probe.
8165 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8168 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8169 thread-local __sim_exceptions_thread and global
8170 __sim_exceptions_global.
8171 (__sim_disabled_exceptions): Change to thread-local
8172 __sim_disabled_exceptions_thread and global
8173 __sim_disabled_exceptions_global.
8174 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8175 and global __sim_round_mode_global.
8176 (__simulate_exceptions): Use thread-local floating-point state and
8177 set global state from it as needed.
8178 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8179 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8180 __sim_round_mode_thread.
8181 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8182 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8183 and global __sim_exceptions_global.
8184 (__sim_disabled_exceptions): Change to thread-local
8185 __sim_disabled_exceptions_thread and global
8186 __sim_disabled_exceptions_global.
8187 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8188 and global __sim_round_mode_global.
8189 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8190 (SIM_SET_GLOBAL): Likewise.
8191 * sysdeps/powerpc/soft-fp/sfp-machine.h
8192 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8193 __sim_round_mode_thread.
8194 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8195 __sim_disabled_exceptions_thread.
8196 (__sim_exceptions): Change to __sim_exceptions_thread.
8197 (__sim_disabled_exceptions): Change to
8198 __sim_disabled_exceptions_thread.
8199 (__sim_round_mode): Change to __sim_round_mode_thread.
8200 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8201 thread-local floating-point state and set global state from it as
8203 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8204 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8205 (__sim_disabled_exceptions): Remove extern declaration.
8206 (feenableexcept): Use thread-local floating-point state and set
8207 global state from it as needed.
8208 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8210 (__sim_disabled_exceptions): Likewise.
8211 (__sim_round_mode): Likewise.
8212 (__fegetenv): Use thread-local floating-point state.
8213 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8214 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8215 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8216 floating-point state and set global state from it as needed.
8217 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8218 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8219 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8221 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8222 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8224 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8225 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8226 Use __sim_round_mode_thread.
8227 * math/test-fenv-tls.c: New file.
8228 * math/Makefile (tests): Add test-fenv-tls.
8229 ($(objpfx)test-fenv-tls): Depend on
8230 $(common-objpfx)nptl/libpthread.so.
8232 2013-11-19 Andreas Schwab <schwab@suse.de>
8234 * locale/programs/locale.c (show_info): Decode wordarray elements.
8235 * locale/categories.def (LC_MONETARY): Add element for
8236 _NL_MONETARY_CRNCYSTR.
8237 * locale/C-monetary.c (conversion_rate): New variable.
8238 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8241 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8243 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8244 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8246 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8248 * elf/Makefile (tst-auxv): New test.
8249 * elf/tst-auxv.c: New
8250 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8252 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8254 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8255 (hidden_proto): Caller changed.
8256 (hidden_tls_proto): New macro.
8257 (libc_hidden_tls_proto): Likewise.
8258 (rtld_hidden_tls_proto): Likewise.
8259 (libm_hidden_tls_proto): Likewise.
8260 (libresolv_hidden_tls_proto): Likewise.
8261 (librt_hidden_tls_proto): Likewise.
8262 (libdl_hidden_tls_proto): Likewise.
8263 (libnss_files_hidden_tls_proto): Likewise.
8264 (libnsl_hidden_tls_proto): Likewise.
8265 (libnss_nisplus_hidden_tls_proto): Likewise.
8266 (libutil_hidden_tls_proto): Likewise.
8268 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8271 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8272 (decompose_rpath): Defer expansion to fillin_rpath.
8273 (_dl_init_paths): Pass linkmap to fillin_rpath.
8275 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8277 * benchtests/Makefile: Add strsep.
8278 * benchtests/bench-strsep.c: New file: strsep benchtest.
8279 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8281 2013-11-18 Andreas Schwab <schwab@suse.de>
8283 * locale/programs/locale.c (show_info) [case byte]: Check for
8284 '\377' instead of '\177'.
8285 * locale/C-monetary.c (not_available): Always use "\377".
8286 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8287 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8288 detect unavailable sign_posn locale elements.
8289 * locale/localeconv.c (__localeconv): For grouping and
8290 mon_grouping handle "\177" and "\377" like no grouping.
8291 (INT_ELEM): New macro. Use it to set all numeric members.
8292 * locale/programs/ld-monetary.c (monetary_read)
8293 <tok_mon_grouping>: Normalize single -1 to the empty string.
8294 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8297 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8300 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8301 when we match (nil).
8302 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8304 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8306 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8307 (NO_TEST_INLINE): Update value.
8308 (ERRNO_UNCHANGED): Likewise.
8309 (ERRNO_EDOM): Likewise.
8310 (ERRNO_ERANGE): Likewise.
8311 (IGNORE_RESULT): Likewise.
8312 (check_float_internal): Check signs of NaN results if
8314 (check_complex): Pass TEST_NAN_SIGN flag through to second
8315 check_float_internal call.
8316 (copysign_test_data): Add tests with quiet NaNs as second
8317 argument. Use TEST_NAN_SIGN.
8318 (fabs_test_data): Add test of negative quiet NaN argument. Use
8320 (signbit_test_data): Add tests of quiet NaN argument.
8321 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8323 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8325 (parse_args): Handle function results specified as IGNORE.
8326 * math/libm-test.inc (IGNORE_RESULT): New macro.
8327 (check_float_internal): Do not check numerical result if flag
8329 (check_complex): Pass through IGNORE_RESULT to second
8330 check_float_internal call.
8331 (check_int): Do not check numerical result if flag IGNORE_RESULT
8333 (check_long): Likewise.
8334 (check_bool): Likewise.
8335 (check_longlong): Likewise.
8336 (lrint_test_data): Add tests of infinite and NaN arguments.
8337 (lrint_tonearest_test_data): Likewise.
8338 (lrint_towardzero_test_data): Likewise.
8339 (lrint_downward_test_data): Likewise.
8340 (lrint_upward_test_data): Likewise.
8341 (llrint_test_data): Likewise.
8342 (llrint_tonearest_test_data): Likewise.
8343 (llrint_towardzero_test_data): Likewise.
8344 (llrint_downward_test_data): Likewise.
8345 (llrint_upward_test_data): Likewise.
8346 (lround_test_data): Likewise.
8347 (llround_test_data): Likewise.
8349 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8350 (ERRNO_UNCHANGED): Update value.
8351 (ERRNO_EDOM): Likewise.
8352 (ERRNO_ERANGE): Likewise.
8353 (NO_TEST_INLINE_FLOAT): New macro.
8354 (NO_TEST_INLINE_DOUBLE): Likewise.
8355 (enable_test): New function.
8356 (RUN_TEST_f_f): Check enable_test before running test.
8357 (RUN_TEST_2_f): Likewise.
8358 (RUN_TEST_fff_f): Likewise.
8359 (RUN_TEST_c_f): Likewise.
8360 (RUN_TEST_f_f1): Likewise.
8361 (RUN_TEST_fF_f1): Likewise.
8362 (RUN_TEST_fI_f1): Likewise.
8363 (RUN_TEST_ffI_f1): Likewise.
8364 (RUN_TEST_c_c): Likewise.
8365 (RUN_TEST_cc_c): Likewise.
8366 (RUN_TEST_f_i): Likewise.
8367 (RUN_TEST_f_i_tg): Likewise.
8368 (RUN_TEST_ff_i_tg): Likewise.
8369 (RUN_TEST_f_b): Likewise.
8370 (RUN_TEST_f_b_tg): Likewise.
8371 (RUN_TEST_f_l): Likewise.
8372 (RUN_TEST_f_L): Likewise.
8373 (RUN_TEST_fFF_11): Likewise.
8374 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8376 (cosh_test_data): Likewise.
8377 (exp_test_data): Likewise.
8378 (expm1_test_data): Likewise.
8379 (hypot_test_data): Likewise.
8380 (pow_test_data): Likewise.
8381 (sinh_test_data): Likewise.
8382 (tanh_test_data): Likewise.
8383 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8386 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8387 tests with quiet NaN input and output.
8388 (acosh_test_data): Likewise.
8389 (asin_test_data): Likewise.
8390 (asinh_test_data): Likewise.
8391 (atan_test_data): Likewise.
8392 (atanh_test_data): Likewise.
8393 (atan2_test_data): Likewise.
8394 (cbrt_test_data): Likewise.
8395 (cos_test_data): Likewise.
8396 (cosh_test_data): Likewise.
8397 (erf_test_data): Likewise.
8398 (erfc_test_data): Likewise.
8399 (exp_test_data): Likewise.
8400 (exp10_test_data): Likewise.
8401 (exp2_test_data): Likewise.
8402 (expm1_test_data): Likewise.
8403 (hypot_test_data): Likewise.
8404 (j0_test_data): Likewise.
8405 (j1_test_data): Likewise.
8406 (jn_test_data): Likewise.
8407 (lgamma_test_data): Likewise.
8408 (log_test_data): Likewise.
8409 (log10_test_data): Likewise.
8410 (log1p_test_data): Likewise.
8411 (log2_test_data): Likewise.
8412 (pow_test_data): Likewise.
8413 (scalb_test_data): Likewise.
8414 (sin_test_data): Likewise.
8415 (sincos_test_data): Likewise.
8416 (sinh_test_data): Likewise.
8417 (tan_test_data): Likewise.
8418 (tanh_test_data): Likewise.
8419 (tgamma_test_data): Likewise.
8420 (y0_test_data): Likewise.
8421 (y1_test_data): Likewise.
8422 (yn_test_data): Likewise.
8425 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8426 argument being NaN and avoid computations with second argument in
8428 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8429 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8432 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8434 * locale/iso-639.def: Add Chitwani Tharu (the).
8436 2013-11-14 Andreas Schwab <schwab@suse.de>
8438 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8439 word instead of empty string.
8441 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8444 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8446 (__fe_nomask_env): Likewise.
8448 2013-11-13 Steve Ellcey <sellcey@mips.com>
8450 * benchtests/bench-timing.h: Include time.h.
8452 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8455 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8457 * sysdeps/unix/sysv/linux/configure: Regenerated.
8459 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8462 * stdlib/strtod_l.c (round_and_return): Do not consider
8463 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8464 exponent one less than half the least subnormal exponent.
8465 * stdlib/test-strtod-round-data: Add more tests.
8466 * stdlib/tst-strtod-round.c (tests): Regenerated.
8468 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8471 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8472 (__fe_mask_env): Likewise.
8473 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8474 libm_hidden_proto and add function prototype.
8475 (__fe_mask_env): Add function prototype.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8477 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8479 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8481 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8483 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8485 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8486 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8488 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8490 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8491 of htab_find_slot().
8493 2013-11-11 David S. Miller <davem@davemloft.net>
8496 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8497 symbol in the non-vis3 case in static builds.
8498 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8499 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8500 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8501 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8503 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8506 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8509 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8511 * benchtests/Makefile: Add bench-strtod.
8512 * benchtests/bench-strtod.c: New file: strtod benchtest
8514 2013-11-11 Andreas Schwab <schwab@suse.de>
8517 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8518 terminating NUL in key length.
8520 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8523 Add artificial ODP entry for vDSO symbol for PPC64.
8524 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8525 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8527 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8530 * nss/getent.c (services_keys): Recognize services starting with digit.
8532 2013-11-06 David S. Miller <davem@davemloft.net>
8535 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8536 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8538 2013-11-06 Will Newton <will.newton@linaro.org>
8540 * manual/memory.texi (Malloc Examples): Remove register
8541 keyword from examples.
8543 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8545 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8547 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8550 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8551 depending on [__GCC_IEC_559 > 0].
8552 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8553 depending on [__GCC_IEC_559_COMPLEX > 0].
8555 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8557 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8560 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8562 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8564 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8567 * malloc/malloc (malloc_info): Do not handle first bin as
8570 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8572 * locale/iso-639.def: Add Central Nahuatl (nhn).
8574 2013-11-01 Bruno Haible <bruno@clisp.org>
8577 * manual/math.texi (BSD Random): Specify range upper bound as
8580 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8582 * locale/iso-639.def: Add Meadow Mari (mhr).
8584 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8586 [BZ #14752], [BZ #15763]
8587 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8589 * rt/tst_shm.c: Add test for escaping directory.
8591 2013-10-31 Andreas Schwab <schwab@suse.de>
8594 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8595 followed by 'x' as part of digit sequence.
8596 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8598 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8601 * configure.ac: allow GNU Make 4.0 and greater.
8602 * configure: Regenerated.
8604 2013-10-30 Will Newton <will.newton@linaro.org>
8607 * malloc/hooks.c (memalign_check): Limit alignment to the
8608 maximum representable power of two.
8609 * malloc/malloc.c (__libc_memalign): Likewise.
8610 * malloc/tst-memalign.c (do_test): Add test for very
8611 large alignment values.
8612 * malloc/tst-posix_memalign.c (do_test): Likewise.
8614 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8617 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8618 (munmap_chunk): Likewise.
8619 (mremap_chunk): Likewise.
8621 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8624 * stdlib/div.c (div): Remove obsolete code.
8625 * stdlib/ldiv.c (ldiv): Likewise.
8626 * stdlib/lldiv.c (lldiv): Likewise.
8628 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8631 * nss/nss_files/files-XXX.c (get_contents_ret): New
8633 (get_contents): New function.
8634 (internal_getent): Use it. Expand size of LINEBUFLEN.
8636 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8638 * configure.in: Moved to ...
8639 * configure.ac: ... here. Change reference to configure.in
8641 * sysdeps/arm/preconfigure.ac: ... here.
8642 configure.in to configure.ac.
8643 * sysdeps/gnu/configure.in: Moved to ...
8644 * sysdeps/gnu/configure.ac: ... here.
8645 * sysdeps/i386/configure.in: Moved to ...
8646 * sysdeps/i386/configure.ac: ... here.
8647 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8648 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8649 * sysdeps/mach/configure.in: Moved to ...
8650 * sysdeps/mach/configure.ac: ... here.
8651 * sysdeps/mach/hurd/configure.in: Moved to ...
8652 * sysdeps/mach/hurd/configure.ac: ... here.
8653 * sysdeps/powerpc/configure.in: Moved to ...
8654 * sysdeps/powerpc/configure.ac: ... here.
8655 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8656 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8657 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8658 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8659 * sysdeps/s390/s390-32/configure.in: Moved to ...
8660 * sysdeps/s390/s390-32/configure.ac: ... here.
8661 * sysdeps/s390/s390-64/configure.in: Moved to ...
8662 * sysdeps/s390/s390-64/configure.ac: ... here.
8663 * sysdeps/sh/configure.in: Moved to ...
8664 * sysdeps/sh/configure.ac: ... here.
8665 * sysdeps/sparc/configure.in: Moved to ...
8666 * sysdeps/sparc/configure.ac: ... here.
8667 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8668 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8669 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8670 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8671 * sysdeps/x86_64/configure.in: Moved to ...
8672 * sysdeps/x86_64/configure.ac: ... here.
8673 * sysdeps/x86_64/preconfigure.in: Moved to ...
8674 * sysdeps/x86_64/preconfigure.ac: ... here.
8675 * aclocal.m4: Change reference to configure.in to configure.ac.
8676 * config.h.in: Likewise.
8677 * manual/install.texi: Likewise.
8678 * manual/maint.texi: Likewise.
8679 * Makefile: Likewise.
8680 * malloc/Makefile: Likewise.
8681 * nscd/Makefile: Likewise.
8682 * Makeconfig: Change reference to configure.in and
8683 preconfigure.in to configure.ac and preconfigure.ac
8685 * INSTALL: Regenerated.
8686 * configure: Likewise.
8687 * sysdeps/gnu/configure: Likewise.
8688 * sysdeps/i386/configure: Likewise.
8689 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8690 * sysdeps/mach/configure: Likewise.
8691 * sysdeps/mach/hurd/configure: Likewise.
8692 * sysdeps/powerpc/configure: Likewise.
8693 * sysdeps/powerpc/powerpc32/configure: Likewise.
8694 * sysdeps/powerpc/powerpc64/configure: Likewise.
8695 * sysdeps/s390/s390-32/configure: Likewise.
8696 * sysdeps/s390/s390-64/configure: Likewise.
8697 * sysdeps/sh/configure: Likewise.
8698 * sysdeps/sparc/configure: Likewise.
8699 * sysdeps/unix/sysv/linux/configure: Likewise.
8700 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8701 * sysdeps/x86_64/configure: Likewise.
8702 * sysdeps/x86_64/preconfigure: Likewise.
8704 2013-10-29 Andreas Schwab <schwab@suse.de>
8706 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8708 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8710 * benchtests/pow-inputs: Add new inputs.
8712 * benchtests/exp-inputs: Add new inputs.
8714 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8715 conditional check for return value.
8716 (__cos32): Likewise.
8718 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8720 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8721 to provide a boost for large inputs with word alignment.
8722 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8723 implementation based on optimized PPC64 strcpy.
8724 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8725 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8726 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8727 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8729 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8732 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8734 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8737 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8738 * time/tst-strptime.c (day_tests): Add testcase.
8740 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8743 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8745 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8748 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8749 MAP_FAILED on error.
8751 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8755 heap for large requests.
8757 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8760 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8761 result if the result has no associated interface.
8762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8763 interface for all 127.X.Y.Z addresses.
8765 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8767 * locale/iso-639.def: Add Ligurian (lij)
8769 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8772 * sunrpc/rpc_main.c: Document rpcgen -5.
8774 2013-10-19 Michael Stahl <mstahl@redhat.com>
8776 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8778 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8781 * posix/glob.c: Match only directories when trailing slash is present.
8782 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8783 (main): Add testcase.
8785 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8788 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8790 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8792 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8793 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8794 AUTH_DES and cindex for FIPS 140-2.
8795 (DES Encryption): Add cindex FIPS 46-3.
8797 * locale/locarchive.h (struct locarhandle): Add fname.
8798 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8799 if an optional argument was specified to --list-archive,
8801 * locale/programs/locarchive.c (show_archive_content): Take new
8802 argument fname and pass it via ah.fname to open_archive.
8803 * locale/programs/localedef.h: Update decl.
8804 (open_archive): If AH->fname is non-null, open that file
8805 rather than the default file name, and don't ignore ENOENT.
8806 (create_archive): Set AH.fname to NULL.
8807 (delete_locales_from_archive): Likewise.
8808 (add_locales_to_archive): Likewise.
8809 * locale/programs/locfile.c (write_all_categories): Likewise.
8811 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8812 Aldy Hernandez <aldyh@redhat.com>
8814 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8815 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8816 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8817 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8818 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8819 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8820 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8822 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8823 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8824 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8825 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8826 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8827 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8828 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8830 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8832 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8834 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8836 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8837 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8839 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8840 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8841 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8842 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8844 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8845 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8846 * sysdeps/powerpc/preconfigure: Likewise.
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8849 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8850 Replace contents of file by #include of <fenv_libc.h>.
8851 * sysdeps/powerpc/soft-fp/sfp-machine.h
8852 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8854 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8862 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8863 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8865 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8867 Allow copysignl PLT reference to be missing.
8869 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8870 Joseph Myers <joseph@codesourcery.com
8873 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8875 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8877 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8879 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8880 * elf/tst-tls1.c: Likewise.
8881 * elf/tst-tls10.h: Likewise.
8882 * elf/tst-tls14.c: Likewise.
8883 * elf/tst-tls2.c: Likewise.
8884 * elf/tst-tls3.c: Likewise.
8885 * elf/tst-tls4.c: Likewise.
8886 * elf/tst-tls5.c: Likewise.
8887 * elf/tst-tls6.c: Likewise.
8888 * elf/tst-tls7.c: Likewise.
8889 * elf/tst-tls8.c: Likewise.
8890 * elf/tst-tls9.c: Likewise.
8891 * elf/tst-tlsmod1.c: Likewise.
8892 * elf/tst-tlsmod13.c: Likewise.
8893 * elf/tst-tlsmod13a.c: Likewise.
8894 * elf/tst-tlsmod14a.c: Likewise.
8895 * elf/tst-tlsmod16a.c: Likewise.
8896 * elf/tst-tlsmod16b.c: Likewise.
8897 * elf/tst-tlsmod2.c: Likewise.
8898 * elf/tst-tlsmod3.c: Likewise.
8899 * elf/tst-tlsmod4.c: Likewise.
8900 * elf/tst-tlsmod5.c: Likewise.
8901 * elf/tst-tlsmod6.c: Likewise.
8903 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8906 * malloc/malloc.c: remove checks for statistics.
8908 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8911 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8912 * inet/tst-network.c: Add testcase.
8914 2013-10-17 Andreas Schwab <schwab@suse.de>
8917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8918 to determine canonical name.
8920 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8922 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8923 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8946 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8947 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8981 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8984 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8985 make result into a quiet NaN.
8987 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8989 * soft-fp/adddf3.c: Fix horizontal whitespace.
8990 * soft-fp/addsf3.c: Likewise.
8991 * soft-fp/addtf3.c: Likewise.
8992 * soft-fp/divdf3.c: Likewise.
8993 * soft-fp/divsf3.c: Likewise.
8994 * soft-fp/divtf3.c: Likewise.
8995 * soft-fp/double.h: Likewise.
8996 * soft-fp/eqdf2.c: Likewise.
8997 * soft-fp/eqsf2.c: Likewise.
8998 * soft-fp/eqtf2.c: Likewise.
8999 * soft-fp/extenddftf2.c: Likewise.
9000 * soft-fp/extended.h: Likewise.
9001 * soft-fp/extendsfdf2.c: Likewise.
9002 * soft-fp/extendsftf2.c: Likewise.
9003 * soft-fp/extendxftf2.c: Likewise.
9004 * soft-fp/fixdfdi.c: Likewise.
9005 * soft-fp/fixdfsi.c: Likewise.
9006 * soft-fp/fixdfti.c: Likewise.
9007 * soft-fp/fixsfdi.c: Likewise.
9008 * soft-fp/fixsfsi.c: Likewise.
9009 * soft-fp/fixsfti.c: Likewise.
9010 * soft-fp/fixtfdi.c: Likewise.
9011 * soft-fp/fixtfsi.c: Likewise.
9012 * soft-fp/fixtfti.c: Likewise.
9013 * soft-fp/fixunsdfdi.c: Likewise.
9014 * soft-fp/fixunsdfsi.c: Likewise.
9015 * soft-fp/fixunsdfti.c: Likewise.
9016 * soft-fp/fixunssfdi.c: Likewise.
9017 * soft-fp/fixunssfsi.c: Likewise.
9018 * soft-fp/fixunssfti.c: Likewise.
9019 * soft-fp/fixunstfdi.c: Likewise.
9020 * soft-fp/fixunstfsi.c: Likewise.
9021 * soft-fp/fixunstfti.c: Likewise.
9022 * soft-fp/floatdidf.c: Likewise.
9023 * soft-fp/floatdisf.c: Likewise.
9024 * soft-fp/floatditf.c: Likewise.
9025 * soft-fp/floatsidf.c: Likewise.
9026 * soft-fp/floatsisf.c: Likewise.
9027 * soft-fp/floatsitf.c: Likewise.
9028 * soft-fp/floattidf.c: Likewise.
9029 * soft-fp/floattisf.c: Likewise.
9030 * soft-fp/floattitf.c: Likewise.
9031 * soft-fp/floatundidf.c: Likewise.
9032 * soft-fp/floatundisf.c: Likewise.
9033 * soft-fp/floatunditf.c: Likewise.
9034 * soft-fp/floatunsidf.c: Likewise.
9035 * soft-fp/floatunsisf.c: Likewise.
9036 * soft-fp/floatunsitf.c: Likewise.
9037 * soft-fp/floatuntidf.c: Likewise.
9038 * soft-fp/floatuntisf.c: Likewise.
9039 * soft-fp/floatuntitf.c: Likewise.
9040 * soft-fp/fmadf4.c: Likewise.
9041 * soft-fp/fmasf4.c: Likewise.
9042 * soft-fp/fmatf4.c: Likewise.
9043 * soft-fp/gedf2.c: Likewise.
9044 * soft-fp/gesf2.c: Likewise.
9045 * soft-fp/getf2.c: Likewise.
9046 * soft-fp/ledf2.c: Likewise.
9047 * soft-fp/lesf2.c: Likewise.
9048 * soft-fp/letf2.c: Likewise.
9049 * soft-fp/muldf3.c: Likewise.
9050 * soft-fp/mulsf3.c: Likewise.
9051 * soft-fp/multf3.c: Likewise.
9052 * soft-fp/negdf2.c: Likewise.
9053 * soft-fp/negsf2.c: Likewise.
9054 * soft-fp/negtf2.c: Likewise.
9055 * soft-fp/op-1.h: Likewise.
9056 * soft-fp/op-2.h: Likewise.
9057 * soft-fp/op-4.h: Likewise.
9058 * soft-fp/op-8.h: Likewise.
9059 * soft-fp/op-common.h: Likewise.
9060 * soft-fp/quad.h: Likewise.
9061 * soft-fp/single.h: Likewise.
9062 * soft-fp/soft-fp.h: Likewise.
9063 * soft-fp/sqrtdf2.c: Likewise.
9064 * soft-fp/sqrtsf2.c: Likewise.
9065 * soft-fp/sqrttf2.c: Likewise.
9066 * soft-fp/subdf3.c: Likewise.
9067 * soft-fp/subsf3.c: Likewise.
9068 * soft-fp/subtf3.c: Likewise.
9069 * soft-fp/truncdfsf2.c: Likewise.
9070 * soft-fp/trunctfdf2.c: Likewise.
9071 * soft-fp/trunctfsf2.c: Likewise.
9072 * soft-fp/trunctfxf2.c: Likewise.
9073 * soft-fp/unorddf2.c: Likewise.
9074 * soft-fp/unordsf2.c: Likewise.
9075 * soft-fp/unordtf2.c: Likewise.
9077 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9079 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9080 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9082 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9084 * elf/dl-libc.c: Clear initfini list after freeing.
9086 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9088 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9089 * soft-fp/addsf3.c: Likewise.
9090 * soft-fp/addtf3.c: Likewise.
9091 * soft-fp/divdf3.c: Likewise.
9092 * soft-fp/divsf3.c: Likewise.
9093 * soft-fp/divtf3.c: Likewise.
9094 * soft-fp/double.h: Likewise.
9095 * soft-fp/eqdf2.c: Likewise.
9096 * soft-fp/eqsf2.c: Likewise.
9097 * soft-fp/eqtf2.c: Likewise.
9098 * soft-fp/extenddftf2.c: Likewise.
9099 * soft-fp/extended.h: Likewise.
9100 * soft-fp/extendsfdf2.c: Likewise.
9101 * soft-fp/extendsftf2.c: Likewise.
9102 * soft-fp/extendxftf2.c: Likewise.
9103 * soft-fp/fixdfdi.c: Likewise.
9104 * soft-fp/fixdfsi.c: Likewise.
9105 * soft-fp/fixdfti.c: Likewise.
9106 * soft-fp/fixsfdi.c: Likewise.
9107 * soft-fp/fixsfsi.c: Likewise.
9108 * soft-fp/fixsfti.c: Likewise.
9109 * soft-fp/fixtfdi.c: Likewise.
9110 * soft-fp/fixtfsi.c: Likewise.
9111 * soft-fp/fixtfti.c: Likewise.
9112 * soft-fp/fixunsdfdi.c: Likewise.
9113 * soft-fp/fixunsdfsi.c: Likewise.
9114 * soft-fp/fixunsdfti.c: Likewise.
9115 * soft-fp/fixunssfdi.c: Likewise.
9116 * soft-fp/fixunssfsi.c: Likewise.
9117 * soft-fp/fixunssfti.c: Likewise.
9118 * soft-fp/fixunstfdi.c: Likewise.
9119 * soft-fp/fixunstfsi.c: Likewise.
9120 * soft-fp/fixunstfti.c: Likewise.
9121 * soft-fp/floatdidf.c: Likewise.
9122 * soft-fp/floatdisf.c: Likewise.
9123 * soft-fp/floatditf.c: Likewise.
9124 * soft-fp/floatsidf.c: Likewise.
9125 * soft-fp/floatsisf.c: Likewise.
9126 * soft-fp/floatsitf.c: Likewise.
9127 * soft-fp/floattidf.c: Likewise.
9128 * soft-fp/floattisf.c: Likewise.
9129 * soft-fp/floattitf.c: Likewise.
9130 * soft-fp/floatundidf.c: Likewise.
9131 * soft-fp/floatundisf.c: Likewise.
9132 * soft-fp/floatunsidf.c: Likewise.
9133 * soft-fp/floatunsisf.c: Likewise.
9134 * soft-fp/floatuntidf.c: Likewise.
9135 * soft-fp/floatuntisf.c: Likewise.
9136 * soft-fp/floatuntitf.c: Likewise.
9137 * soft-fp/fmadf4.c: Likewise.
9138 * soft-fp/fmasf4.c: Likewise.
9139 * soft-fp/fmatf4.c: Likewise.
9140 * soft-fp/gedf2.c: Likewise.
9141 * soft-fp/gesf2.c: Likewise.
9142 * soft-fp/getf2.c: Likewise.
9143 * soft-fp/ledf2.c: Likewise.
9144 * soft-fp/lesf2.c: Likewise.
9145 * soft-fp/letf2.c: Likewise.
9146 * soft-fp/muldf3.c: Likewise.
9147 * soft-fp/mulsf3.c: Likewise.
9148 * soft-fp/multf3.c: Likewise.
9149 * soft-fp/negdf2.c: Likewise.
9150 * soft-fp/negsf2.c: Likewise.
9151 * soft-fp/negtf2.c: Likewise.
9152 * soft-fp/op-1.h: Likewise.
9153 * soft-fp/op-2.h: Likewise.
9154 * soft-fp/op-4.h: Likewise.
9155 * soft-fp/op-8.h: Likewise.
9156 * soft-fp/op-common.h: Likewise.
9157 * soft-fp/quad.h: Likewise.
9158 * soft-fp/single.h: Likewise.
9159 * soft-fp/soft-fp.h: Likewise.
9160 * soft-fp/sqrtdf2.c: Likewise.
9161 * soft-fp/sqrtsf2.c: Likewise.
9162 * soft-fp/sqrttf2.c: Likewise.
9163 * soft-fp/subdf3.c: Likewise.
9164 * soft-fp/subsf3.c: Likewise.
9165 * soft-fp/subtf3.c: Likewise.
9166 * soft-fp/truncdfsf2.c: Likewise.
9167 * soft-fp/trunctfdf2.c: Likewise.
9168 * soft-fp/trunctfsf2.c: Likewise.
9169 * soft-fp/trunctfxf2.c: Likewise.
9170 * soft-fp/unorddf2.c: Likewise.
9171 * soft-fp/unordsf2.c: Likewise.
9172 * soft-fp/unordtf2.c: Likewise.
9174 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9177 * misc/error.c (error_tail): Fix possible buffer overflow.
9179 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9182 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9185 2013-10-14 P. J. McDermott <pj@pehjota.net>
9188 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9189 testing pipefail option.
9191 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9193 * soft-fp/double.h: Indent preprocessor directives inside #if.
9194 * soft-fp/extended.h: Likewise.
9195 * soft-fp/op-2.h: Likewise.
9196 * soft-fp/op-4.h: Likewise.
9197 * soft-fp/op-common.h: Likewise.
9198 * soft-fp/quad.h: Likewise.
9199 * soft-fp/single.h: Likewise.
9200 * soft-fp/soft-fp.h: Likewise.
9202 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9204 * iconv/iconv_prog.c: Fix typos.
9205 * stdio-common/psiginfo-data.h: Likewise.
9207 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9210 * locale/setlocale.c: Fix typo.
9212 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9215 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9216 signaling NaN arguments.
9217 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9218 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9221 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9223 * soft-fp/gesf2.c (__gesf2): Likewise.
9224 * soft-fp/getf2.c (__getf2): Likewise.
9225 * soft-fp/ledf2.c (__ledf2): Likewise.
9226 * soft-fp/lesf2.c (__lesf2): Likewise.
9227 * soft-fp/letf2.c (__letf2): Likewise.
9229 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9230 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9231 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9232 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9233 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9234 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9235 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9236 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9237 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9238 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9239 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9240 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9241 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9242 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9243 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9244 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9245 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9246 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9247 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9248 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9249 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9250 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9251 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9252 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9253 * soft-fp/floattidf.c (__floattidf): Likewise.
9254 * soft-fp/floattisf.c (__floattisf): Likewise.
9255 * soft-fp/floattitf.c (__floattitf): Likewise.
9256 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9257 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9258 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9259 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9260 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9261 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9262 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9263 * soft-fp/gesf2.c (__gesf2): Likewise.
9264 * soft-fp/getf2.c (__getf2): Likewise.
9265 * soft-fp/ledf2.c (__ledf2): Likewise.
9266 * soft-fp/lesf2.c (__lesf2): Likewise.
9267 * soft-fp/letf2.c (__letf2): Likewise.
9269 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9270 Undefine and redefine.
9271 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9272 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9273 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9274 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9275 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9276 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9277 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9278 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9279 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9280 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9281 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9282 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9283 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9284 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9285 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9288 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9289 without decrementing exponent if mantissa >= that for the
9291 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9292 denominator, not >. Decrement exponent in < case instead of
9293 incrementing in >= case.
9294 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9295 without decrementing exponent if mantissa >= that for the
9298 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9299 computing saturated result for unsigned overflow.
9301 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 Jeff Law <law@redhat.com>
9304 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9305 (atan2Mp): Add systemtap probe marker.
9306 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9307 (__ieee754_log): Add systemtap probe marker.
9308 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9309 (atanMp): Add systemtap probe marker.
9310 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9311 (tanMp): Add systemtap probe marker.
9312 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9313 (__slowexp): Add systemtap probe marker.
9314 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9315 (__slowpow): Add systemtap probe marker.
9316 * manual/probes.texi: Document probes.
9318 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9321 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9323 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9325 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9326 written to buffer but not flushed.
9327 * libio/iofwrite_u.c: Likewise.
9328 * libio/iopadn.c: Return bytes returned even if EOF was
9330 * libio/iowpadn.c: Likewise.
9331 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9332 if _IO_padn does not write the whole buffer.
9333 [!COMPILE_WPRINTF] (PAD): Likewise.
9335 2013-10-10 David S. Miller <davem@davemloft.net>
9337 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9340 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9342 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9343 instead of FSF address.
9344 * soft-fp/fixdfti.c: Likewise.
9345 * soft-fp/fixsfti.c: Likewise.
9346 * soft-fp/fixtfti.c: Likewise.
9347 * soft-fp/fixunsdfti.c: Likewise.
9348 * soft-fp/fixunssfti.c: Likewise.
9349 * soft-fp/fixunstfti.c: Likewise.
9350 * soft-fp/floattidf.c: Likewise.
9351 * soft-fp/floattisf.c: Likewise.
9352 * soft-fp/floattitf.c: Likewise.
9353 * soft-fp/floatuntidf.c: Likewise.
9354 * soft-fp/floatuntisf.c: Likewise.
9355 * soft-fp/floatuntitf.c: Likewise.
9356 * soft-fp/trunctfxf2.c: Likewise.
9358 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9359 * soft-fp/fixdfti.c: Likewise.
9360 * soft-fp/fixsfti.c: Likewise.
9361 * soft-fp/fixtfti.c: Likewise.
9362 * soft-fp/fixunsdfti.c: Likewise.
9363 * soft-fp/fixunssfti.c: Likewise.
9364 * soft-fp/fixunstfti.c: Likewise.
9365 * soft-fp/floattidf.c: Likewise.
9366 * soft-fp/floattisf.c: Likewise.
9367 * soft-fp/floattitf.c: Likewise.
9368 * soft-fp/floatuntidf.c: Likewise.
9369 * soft-fp/floatuntisf.c: Likewise.
9370 * soft-fp/floatuntitf.c: Likewise.
9371 * soft-fp/trunctfxf2.c: Likewise.
9373 2013-10-10 David S. Miller <davem@davemloft.net>
9375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9377 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9379 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9380 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9381 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9382 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9383 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9384 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9385 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9388 for NaNs before doing comparisons on argument.
9389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9392 2013-10-10 Will Newton <will.newton@linaro.org>
9394 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9395 passed to _int_memalign does not overflow.
9397 2013-10-10 Torvald Riegel <triegel@redhat.com>
9399 * scripts/bench.pl: Add include-sources directive.
9400 * benchtests/README: Update documentation.
9402 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9404 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9405 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9406 instead of FP_INIT_ROUNDMODE.
9407 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9408 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9411 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9412 copy class of input value.
9413 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9414 not handle exceptions.
9415 * soft-fp/negsf2.c (__negsf2): Likewise.
9416 * soft-fp/negtf2.c (__negtf2): Likewise.
9417 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9419 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9421 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9422 semicolon. From Linux kernel.
9424 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9426 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9428 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9431 * manual/socket.texi: Added statement about buffer
9432 for gethostbyname2_r.
9434 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9436 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9437 Use .p2align directive instead, throughout.
9438 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9439 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9443 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9444 * sysdeps/x86_64/strchr.S: Likewise.
9445 * sysdeps/x86_64/strrchr.S: Likewise.
9447 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9449 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9451 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9453 * sysdeps/generic/math_private.h (__mpsin1): Remove
9455 (__mpcos1): Likewise.
9456 (__mpsin): New argument __range_reduce.
9457 (__mpcos): Likewise.
9458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9459 (slow): Use __mpsin and __mpcos.
9466 (bsloww1): Likewise.
9467 (bsloww2): Likewise.
9470 (csloww1): Likewise.
9471 (csloww2): Likewise.
9472 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9473 range_reduce. Merge in __mpsin1.
9474 (__mpcos): Likewise.
9476 (__mpcos1): Likewise.
9478 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9480 * locale/loadlocale.c (_nl_intern_locale_data): Use
9482 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9483 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9484 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9485 obstack data is appropriately aligned.
9486 (obstack_int32_grow_fast): Likewise.
9487 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9488 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9489 (add_locale_uint32_array): Likewise.
9491 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9493 * benchtests/Makefile: Remove ARGLIST and RET variables.
9494 ($(objpfx)bench-%.c): Pass only function name to the script.
9495 * benchtests/README: Update documentation.
9496 * benchtests/acos-inputs: Add new directives.
9497 * benchtests/acosh-inputs: Likewise.
9498 * benchtests/asin-inputs: Likewise.
9499 * benchtests/asinh-inputs: Likewise.
9500 * benchtests/atan-inputs: Likewise.
9501 * benchtests/atanh-inputs: Likewise.
9502 * benchtests/cos-inputs: Likewise.
9503 * benchtests/cosh-inputs: Likewise.
9504 * benchtests/exp-inputs: Likewise.
9505 * benchtests/log-inputs: Likewise.
9506 * benchtests/pow-inputs: Likewise.
9507 * benchtests/rint-inputs: Likewise.
9508 * benchtests/sin-inputs: Likewise.
9509 * benchtests/sinh-inputs: Likewise.
9510 * benchtests/tan-inputs: Likewise.
9511 * benchtests/tanh-inputs: Likewise.
9512 * scripts/bench.pl: Add support for new directives.
9514 2013-10-07 Alan Modra <amodra@gmail.com>
9516 * README: Fix careless merge.
9518 2013-10-05 Alan Modra <amodra@gmail.com>
9520 * NEWS: Mention powerpc64le support and bugs fixed.
9521 * README: Both big-endian and little-endian powerpc64 supported.
9523 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9525 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9526 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9527 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9528 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9530 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9532 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9535 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9537 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9538 Move -mhard-float appending from
9539 ports/sysdeps/powerpc/powerpc32/Makefile.
9540 [$(with-fp) = yes] (ASFLAGS): Likewise.
9541 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9542 * sysdeps/powerpc/nofpu: Move directory from
9543 ports/sysdeps/powerpc/nofpu.
9544 * sysdeps/powerpc/soft-fp: Move directory from
9545 ports/sysdeps/powerpc/soft-fp.
9546 * sysdeps/powerpc/powerpc32/405: Move directory from
9547 ports/sysdeps/powerpc/powerpc32/405.
9548 * sysdeps/powerpc/powerpc32/440: Move directory from
9549 ports/sysdeps/powerpc/powerpc32/440.
9550 * sysdeps/powerpc/powerpc32/464: Move directory from
9551 ports/sysdeps/powerpc/powerpc32/464.
9552 * sysdeps/powerpc/powerpc32/476: Move directory from
9553 ports/sysdeps/powerpc/powerpc32/476.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9555 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9557 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9559 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9561 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9563 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9564 * README: Update for powerpc-*-linux-gnu software floating point
9567 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9568 case to powerpc/powerpc32*.
9569 * sysdeps/unix/sysv/linux/configure: Regenerated.
9571 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9572 (_FPU_MASK_OM): Define as 0x04.
9573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9581 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9584 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9587 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9588 and setcontext_e500.
9590 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9592 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9594 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9596 * manual/threads.texi (Default Thread Attributes): Fix typo.
9598 2013-10-04 Will Newton <will.newton@linaro.org>
9600 * malloc/Makefile: Add tst-memalign.
9601 * malloc/tst-memalign.c: New file.
9603 * malloc/tst-posix_memalign.c: Add comments.
9604 (do_test): Add comments and call free on all potentially
9605 allocated pointers. Add space after cast.
9607 * malloc/tst-pvalloc.c: Add comments.
9608 (do_test): Add comments and call free on all potentially
9609 allocated pointers. Remove duplicate check for NULL pointer.
9610 Add space after cast.
9612 * malloc/tst-valloc.c: Add comments.
9613 (do_test): Add comments and call free on all potentially
9614 allocated pointers. Remove duplicate check for NULL pointer.
9615 Add space after cast.
9617 2013-10-04 Alan Modra <amodra@gmail.com>
9619 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9620 Use stdint types in rather than __attribute__((mode())).
9621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9623 2013-10-04 Alan Modra <amodra@gmail.com>
9625 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9626 Correct handling of unaligned relocs for little-endian.
9627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9629 2013-10-04 Alan Modra <amodra@gmail.com>
9631 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9632 * configure: Regenerate.
9633 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9634 * shlib-versions: Likewise.
9636 2013-10-04 Alan Modra <amodra@gmail.com>
9638 * string/tester.c (test_memrchr): Increment reported test cycle.
9640 2013-10-04 Alan Modra <amodra@gmail.com>
9642 * string/test-memcpy.c (do_one_test): When reporting errors, print
9643 string address and don't overrun end of string.
9645 2013-10-04 Alan Modra <amodra@gmail.com>
9647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9648 insrdi. Make better use of reg selection to speed exit slightly.
9649 Schedule entry path a little better. Remove useless "are we done"
9650 checks on entry to main loop. Handle wrapping around zero address.
9651 Correct main loop count. Handle single left-over word from main
9652 loop inline rather than by using loop_small. Remove extra word
9653 case in loop_small caused by wrong loop count. Add little-endian
9655 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9658 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9660 support. Avoid rlwimi.
9661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9663 2013-10-04 Alan Modra <amodra@gmail.com>
9665 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9667 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9668 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9671 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9672 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9674 2013-10-04 Alan Modra <amodra@gmail.com>
9676 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9677 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9679 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9680 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9685 use of regs. Use power7 mtocrf. Tidy function tails.
9687 2013-10-04 Alan Modra <amodra@gmail.com>
9689 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9690 Formatting. Consistently use rXXX register defines or rN defines.
9691 Use early exit labels that avoid restoring unused non-volatile regs.
9692 Make cr field use more consistent with rWORDn compares. Rename
9693 regs used as shift registers for unaligned loop, using rN defines
9694 for short lifetime/multiple use regs.
9695 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9697 addi 1,1,64 to pop stack frame. Simplify return value code.
9698 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9700 2013-10-04 Alan Modra <amodra@gmail.com>
9702 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9703 support. Correct typos, formatting. Optimize tail. Use insrdi
9705 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9706 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9707 little-endian support. Correct typos.
9708 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9710 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9711 in loop and entry code to keep "and." results.
9712 (strchr): Add little-endian support. Comment. Move cntlzd
9714 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9716 2013-10-04 Alan Modra <amodra@gmail.com>
9718 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9719 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9720 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9721 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9723 2013-10-04 Alan Modra <amodra@gmail.com>
9725 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9726 (rTMP): Define as r11.
9727 (strcmp): Add little-endian support. Optimise tail.
9728 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9729 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9730 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9732 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9736 2013-10-04 Alan Modra <amodra@gmail.com>
9738 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9739 little-endian support. Remove unnecessary "are we done" tests.
9740 Handle "s" wrapping around zero and extremely large "size".
9741 Correct main loop count. Handle single left-over word from main
9742 loop inline rather than by using small_loop. Correct comments.
9743 Delete "zero" tail, use "end_max" instead.
9744 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9746 2013-10-04 Alan Modra <amodra@gmail.com>
9748 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9749 support. Don't branch over align.
9750 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9751 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9752 support. Rearrange tmp reg use to suit. Comment.
9753 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9755 2013-10-04 Alan Modra <amodra@gmail.com>
9757 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9759 2013-10-04 Alan Modra <amodra@gmail.com>
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9762 conditional form of branch and link when obtaining pc.
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9765 2013-10-04 Alan Modra <amodra@gmail.com>
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9772 2013-10-04 Alan Modra <amodra@gmail.com>
9774 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9775 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9776 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9778 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9779 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9781 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9782 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9783 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9785 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9786 Alistair Popple <alistair@ozlabs.au.ibm.com>
9787 Alan Modra <amodra@gmail.com>
9790 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9791 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9792 _dl_hwcap access for little-endian.
9793 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9794 destroy vmx regs when saving unaligned.
9795 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9796 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9797 destroy vmx regs when saving unaligned.
9799 2013-10-04 Alan Modra <amodra@gmail.com>
9801 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9802 Don't use a union to pack hi/low value.
9804 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9806 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9808 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9810 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9811 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9812 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9814 2013-10-04 Alan Modra <amodra@gmail.com>
9816 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9817 constants to usual value for .cst8 section, and remove redundant
9819 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9820 constant for 0x1p52. Load little-endian words of double from
9821 correct stack offsets.
9823 2013-10-04 Alan Modra <amodra@gmail.com>
9825 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9826 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9827 words of double from correct stack offsets.
9828 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9829 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9832 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9833 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9835 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9836 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9837 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9838 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9840 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9842 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9843 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9844 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9846 2013-10-04 Alan Modra <amodra@gmail.com>
9848 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9849 64-bit int/double union.
9850 (_FPU_SETCW): Likewise.
9851 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9852 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9854 2013-10-04 Alan Modra <amodra@gmail.com>
9856 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9857 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9859 2013-10-04 Alan Modra <amodra@gmail.com>
9861 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9862 use vector int constants.
9863 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9865 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9867 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9868 array with long long.
9869 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9870 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9871 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9872 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9873 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9874 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9875 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9876 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9877 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9878 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9879 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9880 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9883 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9885 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9886 (__signbit): Likewise. Correct for little-endian.
9887 (__signbitl): Call __signbit.
9888 (lrint): Correct for little-endian.
9889 (lrintf): Call lrint.
9891 2013-10-04 Alan Modra <amodra@gmail.com>
9893 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9894 union 32-bit int array member with 64-bit int array.
9895 (t515, tm256): Double rather than long double.
9896 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9898 2013-10-04 Alan Modra <amodra@gmail.com>
9900 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9902 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9904 version of math_ldbl.h.
9906 2013-10-04 Alan Modra <amodra@gmail.com>
9908 [BZ #15734], [BZ #15735]
9909 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9910 all uses of ieee875 long double macros and unions. Simplify test
9911 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9912 ldbl_extract_mantissa value for ix,iy exponents. Properly
9913 normalize after ldbl_extract_mantissa, and don't add hidden bit
9914 already handled. Don't treat low word of ieee854 mantissa like
9915 low word of IBM long double and mask off bit when testing for
9917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9918 all uses of ieee875 long double macros and unions. Simplify tests
9919 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9920 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9921 two1022, instead use their values. Recognise that tests for large
9922 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9923 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9924 Rewrite all uses of ieee875 long double macros and unions. Simplify
9925 test for 0.0L and nan. Correct negation.
9926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9927 ieee875 long double macros and unions. Correct output for large
9928 magnitude x. Correct absolute value calculation.
9929 (__erfcl): Likewise.
9930 * math/libm-test.inc: Add tests for errors discovered in IBM long
9931 double versions of fmodl, remainderl, erfl and erfcl.
9933 2013-10-04 Alan Modra <amodra@gmail.com>
9935 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9936 all uses of ieee854 long double macros and unions. Simplify tests
9937 for long doubles that are fully specified by the high double.
9938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9940 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9941 Remove dead code too.
9942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9943 (__ieee754_ynl): Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9947 Remove dead code too.
9948 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9958 Comment on variable precision.
9959 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9962 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9966 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9968 2013-10-04 Alan Modra <amodra@gmail.com>
9970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9972 all uses of ieee854 long double macros and unions.
9973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9980 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9986 Simplify sign and nan test too.
9987 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9992 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10002 2013-10-04 Alan Modra <amodra@gmail.com>
10004 * stdio-common/printf_size.c (__printf_size): Don't use
10005 union ieee854_long_double in fpnum union.
10006 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10007 signbit macro to retrieve sign from long double.
10008 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10009 retrieve sign from long double.
10010 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10011 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10013 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10014 * math/test-misc.c (main): Don't use union ieee854_long_double.
10016 2013-10-04 Alan Modra <amodra@gmail.com>
10019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10020 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10021 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10022 calculation. Remove unnecessary test for denormal exponent.
10023 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10024 Correct handling of denormals. Avoid undefined shift behaviour.
10025 Correct normalisation of low mantissa when low double is denormal.
10026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10027 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10028 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10029 Correct normalisation of low mantissa. Test for overflow of high
10030 mantissa and normalise.
10031 (ldbl_nearbyint): Use more readable constant for two52.
10032 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10033 (__mpn_construct_long_double): Fix test for overflow of high
10034 mantissa and correct normalisation. Avoid undefined shift.
10036 2013-10-04 Alan Modra <amodra@gmail.com>
10038 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10039 (union ibm_extended_long_double): Define as an array of ieee754_double.
10040 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10041 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10042 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10043 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10052 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10054 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10055 page size instead of calling getpagesize.
10057 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10058 (LOCFILE_ALIGN_MASK): Likewise.
10059 (LOCFILE_ALIGN_UP): Likewise.
10060 (LOCFILE_ALIGNED_P): Likewise.
10061 * locale/programs/ld-collate.c (collate_output): Use the new
10062 macros instead of __alignof__ (int32_t).
10063 * locale/weight.h (findidx): Likewise.
10065 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10068 * manual/string.texi: Fix strncat and wcsncat.
10070 2013-10-03 Brooks Moses <bmoses@google.com>
10073 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10074 * Makerules: ...here, and adjust associated comments.
10076 2013-10-02 Will Newton <will.newton@linaro.org>
10078 * malloc/Makefile: Add tst-pvalloc.
10079 * malloc/tst-pvalloc.c: New file.
10081 2013-10-02 Will Newton <will.newton@linaro.org>
10083 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10084 improve test coverage.
10086 2013-10-02 Will Newton <will.newton@linaro.org>
10088 * malloc/Makefile: Add tst-posix_memalign.
10089 * malloc/tst-posix_memalign.c: New file.
10091 2013-10-01 Eric Blake <eblake@redhat.com>
10093 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10094 Use __THROWNL rather than __THROW on static functions.
10096 2013-09-30 Petr Machata <pmachata@redhat.com>
10098 * elf/elf.h (R_AARCH64_ABS16): New macro.
10099 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10100 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10101 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10102 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10103 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10104 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10105 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10106 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10107 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10108 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10109 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10110 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10111 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10112 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10113 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10114 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10115 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10116 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10117 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10118 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10119 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10120 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10121 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10122 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10123 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10124 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10125 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10126 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10127 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10128 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10129 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10130 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10131 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10132 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10133 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10134 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10135 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10136 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10137 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10138 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10139 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10140 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10141 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10142 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10143 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10144 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10145 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10146 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10147 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10148 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10149 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10150 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10151 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10152 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10153 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10154 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10155 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10156 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10157 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10158 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10159 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10160 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10161 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10162 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10163 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10164 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10165 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10166 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10167 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10168 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10169 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10170 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10171 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10172 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10173 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10174 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10175 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10176 (R_AARCH64_TLSDESC_LDR): Likewise.
10177 (R_AARCH64_TLSDESC_ADD): Likewise.
10178 (R_AARCH64_TLSDESC_CALL): Likewise.
10180 2013-09-30 Andreas Schwab <schwab@suse.de>
10183 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10184 the nss database lookup.
10185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10188 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10190 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10192 2013-09-28 P. J. McDermott <pj@pehjota.net>
10194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10195 ${Bash-specific parameter/pattern/string} parameter expansion.
10196 * sysdeps/unix/make-syscalls.sh: Likewise.
10198 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10200 * sysdeps/sh/stackguard-macros.h: New file.
10202 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10206 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10208 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10209 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10211 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10213 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10214 Fix thread ID register.
10216 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10218 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10219 [POSIX || UNIX98]: Require rather than permitting all symbols from
10221 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10222 element of struct sched_param.
10223 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10224 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10225 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10226 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10229 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10231 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10232 argument calculation.
10234 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10236 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10238 [POSIX] (pthread_attr_t): Do not require type.
10239 [POSIX] (pthread_cond_t): Likewise.
10240 [POSIX] (pthread_condattr_t): Likewise.
10241 [POSIX] (pthread_key_t): Likewise.
10242 [POSIX] (pthread_mutex_t): Likewise.
10243 [POSIX] (pthread_mutexattr_t): Likewise.
10244 [POSIX] (pthread_once_t): Likewise.
10245 [POSIX] (pthread_t): Likewise.
10246 [POSIX-based standards] (pthread_atfork): Expect function.
10248 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10249 Richard Sandiford <richard@codesourcery.com>
10251 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10252 (swap_endianness_p): New extern variable.
10253 (set_big_endian): New inline function.
10254 (maybe_swap_uint32): Likewise.
10255 (maybe_swap_uint32_array): Likewise.
10256 (maybe_swap_uint32_obstack): Likewise.
10257 * locale/programs/locfile.c: Include <stdbool.h>.
10258 (swap_endianness_p): New variable.
10259 (add_locale_uint32): Call maybe_swap_uint32.
10260 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10261 (write_locale_data): Call maybe_swap_uint32_array.
10262 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10264 (obstack_int32_grow_fast): Likewise.
10265 (output_weightwc): Call maybe_swap_uint32_obstack.
10266 (collate_output): Likewise.
10267 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10268 (OPT_LITTLE_ENDIAN): Likewise.
10269 (options): Add --little-endian and --big-endian options.
10270 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10271 * locale/programs/locarchive.c: Include "locfile.h".
10275 (create_archive): Use the new macros to access fields of
10276 structures directly mapped from or written to locale archives.
10277 (oldlocrecentcmp): Likewise.
10278 (enlarge_archive): Likewise.
10279 (insert_name): Likewise.
10280 (add_alias): Likewise.
10281 (add_locale): Likewise.
10282 (delete_locales_from_archive): Likewise.
10283 (show_archive_content): Likewise.
10284 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10287 2013-09-24 Roland McGrath <roland@hack.frob.com>
10289 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10290 http://www.gnu.org/doc/freemanuals.texi.
10291 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10293 2013-09-24 Will Newton <will.newton@linaro.org>
10295 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10298 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10300 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10303 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10305 * manual/threads.texi (POSIX Threads): Fix a typo.
10307 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10310 * string/tst-strcoll-overflow.c: New test case.
10311 * string/Makefile (xtests): Add tst-strcoll-overflow.
10312 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10313 cache if string sizes may cause integer overflow.
10316 * string/strcoll_l.c (coll_seq): New members rule, idx,
10317 save_idx and back_us.
10318 (get_next_seq_nocache): New function.
10319 (do_compare_nocache): New function.
10320 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10323 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10326 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10327 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10328 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10331 * elf/Makefile (tests): Add tst-ptrguard1.
10332 (tests-static): Add tst-ptrguard1-static.
10333 (tst-ptrguard1-ARGS): Define.
10334 (tst-ptrguard1-static-ARGS): Define.
10335 * elf/tst-ptrguard1.c: New file.
10336 * elf/tst-ptrguard1-static.c: New file.
10337 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10338 * sysdeps/i386/stackguard-macros.h: Likewise.
10339 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10340 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10341 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10342 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10343 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10344 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10346 2013-09-23 Hector Marco <hecmargi@upv.es>
10347 Ismael Ripoll <iripoll@disca.upv.es>
10348 Carlos O'Donell <carlos@redhat.com>
10351 * sysdeps/generic/stackguard-macros.h: Define
10352 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10353 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10354 Define __pointer_chk_guard_local.
10355 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10356 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10358 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10361 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10363 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10365 * include/string.h (__ffs): Declare as hidden.
10366 * string/ffs.c (__ffs): Define as hidden.
10367 * sysdeps/i386/ffs.c (__ffs): Likewise.
10368 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10369 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10370 * sysdeps/s390/ffs.c (__ffs): Likewise.
10371 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10373 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10375 * NEWS: Mention malloc probes.
10377 * malloc/arena.c (new_heap): New memory_heap_new probe.
10378 (grow_heap): New memory_heap_more probe.
10379 (shrink_heap): New memory_heap_less probe.
10380 (heap_trim): New memory_heap_free probe.
10381 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10382 (systrim): New memory_sbrk_less probe.
10383 * manual/probes.texi: Document them.
10385 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10386 * manual/probes.texi: Document it.
10388 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10389 (__libc_realloc): Add memory_realloc_retry probe.
10390 (__libc_memalign): Add memory_memalign_retry probe.
10391 (__libc_valloc): Add memory_valloc_retry probe.
10392 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10393 (__libc_calloc): Add memory_calloc_retry probe.
10394 * manual/probes.texi: Document them.
10396 * malloc/arena.c (get_free_list): Add probe
10397 memory_arena_reuse_free_list.
10398 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10399 and memory_arena_reuse.
10400 (arena_get2) [!PER_THREAD]: Likewise.
10401 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10402 memory_arena_reuse_realloc.
10403 * manual/probes.texi: Document them.
10405 * malloc/malloc.c (__libc_free): Add
10406 memory_mallopt_free_dyn_thresholds probe.
10407 (__libc_mallopt): Add multiple memory_mallopt probes.
10408 * manual/probes.texi: Document them.
10410 * malloc/malloc.c: Include stap-probe.h.
10411 (__libc_mallopt): Add memory_mallopt probe.
10412 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10413 * manual/probes.texi: New.
10414 * manual/Makefile (chapters): Add probes.
10415 * manual/threads.texi: Set next node.
10417 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10419 [BZ #15963, #13985]
10420 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10421 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10422 Add `Chinese' to `nan' entry name.
10424 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10427 (POLYNOMIAL): Likewise.
10428 (TAYLOR_SINCOS): Likewise.
10429 (TAYLOR_SLOW): Likewise.
10430 (__sin): Use TAYLOR_SINCOS.
10432 (slow): Use TAYLOR_SLOW.
10434 (bsloww): Likewise.
10435 (csloww): Likewise.
10437 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10439 * stdlib/strtod_l.c: Fix buffer overrun.
10441 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10443 * benchtests/Makefile (bench): Add sincos.
10444 * benchtests/bench-sincos.c: New file.
10446 * math/libm-test.inc (cos_test_data): New test inputs.
10447 (sin_test_data): Likewise.
10449 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10455 (sloww1): Likewise.
10456 (sloww2): Likewise.
10457 (bsloww1): Likewise.
10458 (bsloww2): Likewise.
10459 (cslow2): Likewise.
10460 (csloww1): Likewise.
10461 (csloww2): Likewise.
10463 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10472 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10474 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10475 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10476 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10477 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10478 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10479 * elf/cache.c (print_entry): Handle the new cache flags.
10481 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10482 Aldy Hernandez <aldyh@redhat.com>
10484 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10485 Change condition to [_SOFT_FLOAT].
10486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10498 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10501 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10504 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10507 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10508 (__longjmp): Use LOAD_GP to load saved GPRs.
10509 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10510 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10511 (__sigsetjmp): Use SAVE_GP to save GPRs.
10513 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10514 Do not append -msoft-float.
10515 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10517 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10519 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10521 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10524 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10525 (_FPU_GETCW): Use initial "__" on variable and field names but not
10526 on macro parameter name.
10527 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10528 parentheses around reference to macro parameter.
10530 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10532 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10534 (ctype_startup): Use uint32_t in cast and sizeof for
10537 2013-09-11 Jia Liu <proljc@gmail.com>
10539 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10541 [__FreeBSD__]: Likewise.
10543 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10546 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10547 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10548 (strchr): Remove __strchr_sse42 ifunc selection.
10549 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10550 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10552 2013-09-11 Will Newton <will.newton@linaro.org>
10554 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10555 parameter to RES. Remove hardcoded 1000 value.
10556 * benchtests/bench-skeleton.c (main): Pass RES parameter
10557 to TIMING_INIT and multiply result by 1000.
10559 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10563 2013-09-11 Andreas Schwab <schwab@suse.de>
10565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10567 (O_TMPFILE) [__USE_GNU]: Define.
10568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10571 2013-09-11 Will Newton <will.newton@linaro.org>
10574 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10577 2013-09-11 Will Newton <will.newton@linaro.org>
10580 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10583 2013-09-11 Will Newton <will.newton@linaro.org>
10586 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10589 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10591 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10597 2013-09-10 Allan McRae <allan@archlinux.org>
10600 * manual/arith.texi (Parsing of Floats): Clarify
10604 * manual/install.texi (Running make install): Mention
10606 * INSTALL: Regenerated.
10608 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10610 * csu/init-first.c (_init): Remove the !SHARED condition around
10611 FPU control word initialization.
10612 * elf/dl-support.c (_dl_fpu_control): New variable.
10613 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10614 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10615 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10616 * math/test-fpucw-static.c: New file.
10617 * math/test-fpucw-ieee.c: New file.
10618 * math/test-fpucw-ieee-static.c: New file.
10619 * math/Makefile (tests): Add `test-fpucw-ieee' and
10621 (tests-static): New variable.
10622 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10624 [($(build-shared),yes)]
10625 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10627 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10630 2013-09-09 Allan McRae <allan@archlinux.org>
10633 * manual/string.texi (Collation Functions): Fix typo in
10635 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10638 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10641 * libio/memstream.c (open_memstream): Fix memory leak.
10642 * libio/wmemstream.c (open_wmemstream): Likewise.
10645 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10647 2013-09-09 Will Newton <will.newton@linaro.org>
10649 * malloc/Makefile: Add tst-realloc to tests.
10650 * malloc/tst-realloc.c: New file.
10652 2013-09-09 Allan McRae <allan@archlinux.org>
10655 * COPYING: Update from GNU website to fix FSF address.
10656 * COPYING.LIB: Likewise.
10658 2013-09-06 David S. Miller <davem@davemloft.net>
10660 * po/zh_TW.po: Update Chinese (traditional) translation from
10661 translation project.
10663 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10664 Joseph Myers <joseph@codesourcery.com>
10666 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10668 (obstack_chunk_alloc): New macro.
10669 (obstack_chunk_free): Likewise.
10670 (record_offset): New function.
10671 (init_locale_data): Likewise.
10672 (align_locale_data): Likewise.
10673 (add_locale_empty): Likewise.
10674 (add_locale_raw_data): Likewise.
10675 (add_locale_raw_obstack): Likewise.
10676 (add_locale_string): Likewise.
10677 (add_locale_wstring): Likewise.
10678 (add_locale_uint32): Likewise.
10679 (add_locale_uint32_array): Likewise.
10680 (add_locale_char): Likewise.
10681 (start_locale_structure): Likewise.
10682 (end_locale_structure): Likewise.
10683 (start_locale_prelude): Likewise.
10684 (end_locale_prelude): Likewise.
10685 (write_locale_data): Take locale_file structure rather than an
10687 * locale/programs/locfile.h: Include "obstack.h".
10688 (struct locale_file): Change to store locale file contents instead
10690 (init_locale_data): New prototype.
10691 (align_locale_data): Likewise.
10692 (add_locale_empty): Likewise.
10693 (add_locale_raw_data): Likewise.
10694 (add_locale_raw_obstack): Likewise.
10695 (add_locale_string): Likewise.
10696 (add_locale_wstring): Likewise.
10697 (add_locale_uint32): Likewise.
10698 (add_locale_uint32_array): Likewise.
10699 (add_locale_char): Likewise.
10700 (start_locale_structure): Likewise.
10701 (end_locale_structure): Likewise.
10702 (start_locale_prelude): Likewise.
10703 (end_locale_prelude): Likewise.
10704 (write_locale_data): Update prototype.
10705 * locale/programs/3level.h (struct TABLE): Remove result field.
10706 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10707 Use new locale_file interface.
10708 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10709 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10710 * locale/programs/ld-address.c (address_output): Use new
10711 locale_file interface.
10712 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10714 (collate_finish): Don't call collseq_table_finalize.
10715 (collate_output): Use new locale_file interface.
10716 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10718 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10719 (TABLE): Move defines earlier in file.
10720 (ELEMENT): Likewise.
10721 (DEFAULT): Likewise.
10722 (wctrans_table_add): Move macro and inline function earlier in
10724 (struct wctype_table): Move type earlier in file.
10725 (add_locale_wctype_table): New static prototype.
10726 (struct locale_ctype_t): Use logical types instead of struct iovec
10727 pointers for members.
10728 (ctype_output): Use new locale_file interface.
10729 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10730 new locale_file interface.
10731 (allocate_arrays): Update for use of new locale_file interface.
10732 * locale/programs/ld-identification.c (identification_output): Use
10733 new locale_file interface.
10734 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10735 * locale/programs/ld-messages.c (messages_output): Likewise.
10736 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10737 * locale/programs/ld-name.c (name_output): Likewise.
10738 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10739 * locale/programs/ld-paper.c (paper_output): Likewise.
10740 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10741 * locale/programs/ld-time.c (time_output): Likewise.
10743 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10745 * benchtests/Makefile: Add memrchr benchmark.
10746 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10747 benchmark as memrchr.
10748 * benchtests/bench-memrchr-ifunc.c: New file.
10749 * benchtests/bench-memrchr.c: New file.
10751 2013-09-06 Will Newton <will.newton@linaro.org>
10753 * benchtests/Makefile (string-bench): Add memcpy.
10755 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10756 Cong Wang <amwang@redhat.com>
10759 * sysdeps/unix/sysv/linux/bits/in.h
10760 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10761 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10762 before __USE_KERNEL_IPV6_DEFS uses.
10763 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10765 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10766 sockaddr_in6, or ipv6_mreq.
10768 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10770 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10771 memory access for final bytes in some large inputs.
10772 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10774 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776 * string/test-memrchr.c: New file.
10777 * string/test-memrchr-ifunc.c: New file.
10778 * string/Makefile: Add new memrchr testcase.
10780 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10782 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10783 fanotify_init returns EPERM.
10785 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10787 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10789 (top level): Treat second token from macro or constant entries for
10790 allowed headers as allowed.
10791 * include/complex.h: Condition internal declarations on
10793 * include/fenv.h: Condition include of <stdbool.h> and internal
10794 declarations on [!_ISOMAC].
10796 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10799 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10801 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10803 * configure.in (--enable-versioning): Remove configure option.
10804 (libc_cv_asm_symver_directive): Remove configure test.
10805 (libc_cv_ld_version_script_option): Likewise.
10806 (VERSIONING): Remove variable and AC_SUBST.
10807 (DO_VERSIONING): Remove AC_DEFINE.
10808 * configure: Regenerated.
10809 * config.h.in (DO_VERSIONING): Remove macro.
10810 * Makerules [$(versioning) = yes]: Change conditionals to
10811 [$(build-shared) = yes].
10812 * config.make.in (versioning): Remove variable.
10813 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10814 [$(build-shared) = yes].
10815 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10816 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10817 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10818 [$(build-shared) = yes].
10819 * extra-lib.mk [$(versioning) = yes]: Likewise.
10820 * hurd/Makefile [$(versioning) = yes]: Likewise.
10821 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10823 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10825 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10826 [SHARED && !NO_HIDDEN].
10827 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10829 [SHARED && DO_VERSIONING]: Likewise..
10830 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10831 [$(build-shared) = yes].
10832 * manual/install.texi (--disable-versioning): Remove
10834 * INSTALL: Regenerated.
10835 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10837 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10838 [$(build-shared) = yes].
10839 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10840 * sysdeps/i386/i686/multiarch/strstr-c.c
10841 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10842 [SHARED && !NO_HIDDEN].
10843 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10844 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10845 * sysdeps/powerpc/powerpc32/dl-machine.c
10846 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10847 * sysdeps/powerpc/powerpc32/sysdep.h
10848 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10849 to [SHARED && PIC && !NO_HIDDEN].
10850 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10851 conditional to [SHARED].
10853 2013-09-04 Will Newton <will.newton@linaro.org>
10855 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10856 * benchtests/bench-string.h: Include bench-timing.h instead
10857 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10858 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10859 call to HP_TIMING_DIFF_INIT.
10860 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10861 instead of hp-timing.h macros.
10862 * benchtests/bench-memchr.c: Likewise.
10863 * benchtests/bench-memcmp.c: Likewise.
10864 * benchtests/bench-memcpy.c: Likewise.
10865 * benchtests/bench-memmem.c: Likewise.
10866 * benchtests/bench-memmove.c: Likewise.
10867 * benchtests/bench-memset.c: Likewise.
10868 * benchtests/bench-rawmemchr.c: Likewise.
10869 * benchtests/bench-strcasecmp.c: Likewise.
10870 * benchtests/bench-strcasestr.c: Likewise.
10871 * benchtests/bench-strcat.c: Likewise.
10872 * benchtests/bench-strchr.c: Likewise.
10873 * benchtests/bench-strcmp.c: Likewise.
10874 * benchtests/bench-strcpy.c: Likewise.
10875 * benchtests/bench-strcpy_chk.c: Likewise.
10876 * benchtests/bench-strlen.c: Likewise.
10877 * benchtests/bench-strncasecmp.c: Likewise.
10878 * benchtests/bench-strncat.c: Likewise.
10879 * benchtests/bench-strncmp.c: Likewise.
10880 * benchtests/bench-strncpy.c: Likewise.
10881 * benchtests/bench-strnlen.c: Likewise.
10882 * benchtests/bench-strpbrk.c: Likewise.
10883 * benchtests/bench-strrchr.c: Likewise.
10884 * benchtests/bench-strspn.c: Likewise.
10885 * benchtests/bench-strstr.c: Likewise.
10887 2013-09-04 Will Newton <will.newton@linaro.org>
10889 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10891 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10894 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10895 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10896 * math/libm-test.inc (lgamma_test_data): Add more tests.
10897 * sysdeps/i386/fpu/libm-test-ulps: Update.
10898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10900 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10902 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10906 Add strcmp-sse2-unaligned
10907 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10909 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10911 * Versions.def (libc): Add GLIBC_2.19.
10913 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10915 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10916 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10918 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10921 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10922 intermediate calculations in recurrence.
10923 (__ieee754_ynf): Likewise.
10924 * math/libm-test.inc (jn_test_data): Do not allow spurious
10925 underflow exception. Add more tests.
10926 (yn_test_data): Add more tests.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10930 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10932 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10934 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10936 * csu/init-first.c: Fix then/than typos.
10937 * locale/programs/ld-collate.c: Likewise.
10938 * locale/programs/linereader.h: Likewise.
10939 * manual/charset.texi: Likewise.
10940 * manual/filesys.texi: Likewise.
10941 * manual/stdio.texi: Likewise.
10942 * manual/string.texi: Likewise.
10943 * stdlib/fmtmsg.c: Likewise.
10944 * sysdeps/i386/stpncpy.S: Likewise.
10945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10946 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10948 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10950 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10952 * elf/dl-open.c: Fix typos.
10953 * iconvdata/gbbig5.c: Likewise.
10954 * iconvdata/iso-2022-jp.c: Likewise.
10955 * iconv/gconv_int.h: Likewise.
10956 * iconv/loop.c: Likewise.
10957 * nis/rpcsvc/nis.h: Likewise.
10958 * resolv/ns_name.c: Likewise.
10959 * stdio-common/vfscanf.c: Likewise.
10960 * streams/stropts.h: Likewise.
10961 * sunrpc/rpc_thread.c: Likewise.
10962 * sysdeps/i386/strpbrk.S: Likewise.
10963 * sysdeps/ieee754/k_standard.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10966 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10967 * sysdeps/mach/hurd/profil.c: Likewise.
10968 * sysdeps/s390/dl-procinfo.h: Likewise.
10969 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10972 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10975 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10977 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10980 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10982 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10983 aix specific files.
10984 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10985 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10986 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10987 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10988 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10989 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10990 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10991 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10993 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10994 Roland McGrath <roland@hack.frob.com>
10996 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10997 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10999 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11001 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11002 __executable_start symbol instead of _start.
11004 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11006 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11007 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11009 * sysdeps/gnu/ldsodefs.h: ... this new file.
11011 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11012 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11013 instead of ELFOSABI_LINUX.
11015 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11016 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11017 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11018 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11020 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11021 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11022 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11024 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11025 (ibm_extended_long_double): Add ieee_nan member.
11026 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11027 (do_test): New function.
11029 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11031 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11032 functions, renamed from truncdfsf_test, trunctfsf_test,
11034 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11036 (do_test): Run all these.
11038 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11040 * argp/argp-help.c: Fix typos.
11041 * argp/argp-parse.c: Likewise.
11042 * debug/backtracesyms.c: Likewise.
11043 * elf/elf.h: Likewise.
11044 * malloc/malloc.c: Likewise.
11045 * nis/nis_print.c: Likewise.
11046 * resolv/res_comp.c: Likewise.
11047 * stdlib/stdlib.h: Likewise.
11048 * sunrpc/clnt_tcp.c: Likewise.
11049 * sunrpc/clnt_udp.c: Likewise.
11050 * sunrpc/clnt_unix.c: Likewise.
11051 * sysdeps/unix/bsd/ptsname.c: Likewise.
11052 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11060 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11062 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11064 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11067 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11070 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11071 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11072 ($(objpfx)bug-dl-leaf): New rule.
11073 ($(objpfx)bug-dl-leaf.so): Likewise.
11074 ($(objpfx)bug-dl-leaf.out): Likewise.
11075 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11076 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11077 * dlfcn/bug-dl-leaf.c: New test.
11078 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11079 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11080 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11081 (dlclose): Likewise.
11082 (dlmopen): Likewise.
11084 2013-08-27 Roland McGrath <roland@hack.frob.com>
11086 * include/netdb.h [!_ISOMAC]:
11087 Don't include <tls.h>.
11088 (h_errno, __libc_h_errno): Move declaration and macros out of
11091 * include/resolv.h [_RESOLV_H_]:
11092 Don't include <tls.h>.
11093 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11094 * resolv/res_libc.c: Don't include <tls.h>.
11095 (_res): Use __attribute__ ((nocommon)) in place of
11096 __attribute__ ((section (".bss"))).
11098 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11099 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11101 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11103 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11104 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11106 * resolv/res_mkquery.c: Include <sys/time.h>.
11108 * inet/ifreq.c: Moved to ...
11109 * sysdeps/unix/ifreq.c: ... here.
11110 * inet/ifreq.c: New file, true stub version.
11112 * socket/sa_len.c: New file.
11113 * socket/Makefile (aux): Add it.
11114 * sysdeps/unix/sysv/linux/Makefile
11115 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11116 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11117 and #include <socket/sa_len.c>.
11118 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11119 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11121 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11122 * bits/socket.h: ... here.
11124 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11125 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11126 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11128 2013-08-27 Andreas Schwab <schwab@suse.de>
11131 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11132 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11133 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11134 * string/test-strcasecmp.c (test_main): Run tests in several
11136 * string/test-strncasecmp.c (test_main): Likewise.
11138 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11139 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11140 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11142 (__strncasecmp_ssse3) [PIC]: Likewise.
11144 2013-08-26 Roland McGrath <roland@hack.frob.com>
11146 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11148 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11149 instead of explicitly declaring xdecrypt.
11150 * nis/nss_nis/nis-publickey.c: Likewise.
11152 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11155 * nscd/aicache.c: Include res_hconf.h.
11156 (addhstaiX): Initialize res_hconf.
11158 2013-08-26 Andreas Schwab <schwab@suse.de>
11160 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11161 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11163 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 * nscd/aicache.c (addhstaiX): Fix indentation.
11167 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11169 * configure.ac: Quote $build_pt_chown test.
11170 * configure: Regenerated.
11172 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11175 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11176 * math/s_cexpf.c (__cexpf): Likewise.
11177 * math/s_cexpl.c (__cexpl): Likewise.
11178 * math/libm-test.inc (cexp_test_data): Correct expected return
11179 value for NaN + i0. Add another test.
11181 2013-08-22 David S. Miller <davem@davemloft.net>
11183 * po/ca.po: Update Catalan translation from translation project.
11184 * po/uk.po: Add Ukrainian translations from translation project.
11186 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11189 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11190 is infinite, not alongside NaN test.
11191 * math/s_fdimf.c (__fdimf): Likewise.
11192 * math/s_fdiml.c (__fdiml): Likewise.
11193 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11194 errno is unchanged.
11196 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11198 * argp/argp-help.c: Fix typos.
11199 * crypt/speeds.c: Likewise.
11200 * csu/check_fds.c: Likewise.
11201 * elf/dl-load.c: Likewise.
11202 * elf/dl-open.c: Likewise.
11203 * elf/reldep3.c: Likewise.
11204 * elf/reldep.c: Likewise.
11205 * elf/sprof.c: Likewise.
11206 * iconv/iconv_charmap.c: Likewise.
11207 * iconv/skeleton.c: Likewise.
11208 * iconv/strtab.c: Likewise.
11209 * io/lockf64.c: Likewise.
11210 * libio/libioP.h: Likewise.
11211 * resolv/gai_notify.c: Likewise.
11212 * resolv/ns_name.c: Likewise.
11213 * resolv/ns_samedomain.c: Likewise.
11214 * resolv/res_send.c: Likewise.
11215 * stdlib/random.c: Likewise.
11216 * sunrpc/rpc/xdr.h: Likewise.
11217 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11219 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11220 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11224 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11225 * sysdeps/mach/hurd/check_fds.c: Likewise.
11226 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11227 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11230 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11231 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11232 * sysdeps/pthread/aio_notify.c: Likewise.
11233 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11234 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11237 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11239 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11241 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11242 version if bit_Slow_SSE4_2 is set.
11243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11244 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11246 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11249 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11250 trampoline stack frame information.
11251 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11252 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11253 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11254 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11255 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11256 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11257 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11258 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11260 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11261 interrupting a syscall and set with option SA_SIGINFO.
11263 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11266 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11267 argument is infinite.
11268 * math/s_cprojf.c (__cprojf): Likewise.
11269 * math/s_cprojl.c (__cprojl): Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11271 * math/libm-test.inc (cproj_test_data): Add more tests.
11273 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11275 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11276 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11277 size. Use __ffs to determine corresponding shift.
11279 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11280 Roland McGrath <roland@hack.frob.com>
11282 * Makefile (INSTALL): Remove trailing blank lines from output of
11285 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11287 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11288 Align 32 bit compat elf_greg to 8 bytes.
11290 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11292 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11294 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11296 * string/strcoll_l.c (coll_seq): New structure.
11297 (get_next_seq_cached): New function.
11298 (get_next_seq): New function.
11299 (do_compare): New function.
11300 (STRCOLL): Use GNU style definition. Simplify implementation
11301 by using get_next_seq, get_next_seq_cached and do_compare.
11303 2013-08-16 Florian Weimer <fweimer@redhat.com>
11307 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11309 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11311 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11312 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11313 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11316 GETDENTS_64BIT_ALIGNED.
11317 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11318 * manual/filesys.texi (Reading/Closing Directory): Document
11319 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11321 * manual/conf.texi (Limits for Files): Add portability note to
11322 NAME_MAX, PATH_MAX.
11323 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11325 2013-08-13 Andreas Schwab <schwab@suse.de>
11328 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11330 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11331 LDBL_MAX_EXP >= 16384]: Add tests for it.
11333 2013-08-12 David S. Miller <davem@davemloft.net>
11335 * version.h (RELEASE): Set to "development".
11336 (VERSION): Set to "2.18.90".
11337 * NEWS: Add 2.19 section.
11339 2013-08-03 David S. Miller <davem@davemloft.net>
11341 * po/ko.po: Update Korean translation from translation project.
11343 2013-08-01 David S. Miller <davem@davemloft.net>
11345 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11346 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11349 2013-07-30 David S. Miller <davem@davemloft.net>
11351 * po/fr.po: Update French translation from translation project.
11353 2013-07-28 David S. Miller <davem@davemloft.net>
11355 * po/cs.po: Update Czech translation from translation project.
11357 * po/sv.po: Update Swedish translation from translation project.
11359 2013-07-27 David S. Miller <davem@davemloft.net>
11361 * po/eo.po: Update Esperanto translation from translation project.
11363 * po/vi.po: Update Vietnamese translation from translation project.
11365 * po/de.po: Update German translation from translation project.
11367 2013-07-26 David S. Miller <davem@davemloft.net>
11369 * po/bg.po: Update Bulgarian translation from translation project.
11371 * po/nl.po: Update Dutch translation from translation project.
11372 * po/pl.po: Update Polish translation from translation project.
11373 * po/ru.po: Update Russian translation from translation project.
11375 2013-07-24 David S. Miller <davem@davemloft.net>
11377 * po/libc.pot: Update.
11379 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11382 variable page size.
11383 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11385 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11387 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11389 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11391 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11392 Andreas Schwab <schwab@suse.de>
11393 Roland McGrath <roland@hack.frob.com>
11394 Joseph Myers <joseph@codesourcery.com>
11395 Carlos O'Donell <carlos@redhat.com>
11398 * config.h.in: Define HAVE_PT_CHOWN.
11399 * config.make.in (build-pt-chown): New variable.
11400 * configure.in (--enable-pt_chown): New configure option.
11401 * configure: Regenerate.
11402 * login/Makefile: Include Makeconfig. Build pt_chown only if
11403 build-pt-chown is enabled.
11404 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11405 pt_chown to fix pty ownership.
11406 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11408 * manual/install.texi (Configuring and compiling): Mention
11409 --enable-pt_chown. Add @findex for grantpt.
11410 * INSTALL: Regenerate.
11412 2013-07-20 David S. Miller <davem@davemloft.net>
11414 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11415 difference between 32-bit and 64-bit.
11417 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11420 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11421 Avoid system header dependency with -ffreestanding.
11422 ($(objpfx)bits/syscall%d): Likewise.
11424 2013-07-13 David S. Miller <davem@davemloft.net>
11426 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11427 underflows from atanl/atan2l due to bug 15319.
11428 (casinh_test_data): Likewise.
11430 2013-07-07 David S. Miller <davem@davemloft.net>
11432 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11434 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11436 * sysdeps/i386/fpu/libm-test-ulps: Update.
11437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11439 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11441 * configure.in (--enable-lock-elision): Fix message text.
11442 * INSTALL: Regenerate.
11443 * configure: Regenerate.
11445 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11449 2013-07-03 Andreas Jaeger <aj@suse.de>
11451 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11453 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11454 (ptrace_peeksiginfo_args): Add.
11455 (__ptrace_peeksiginfo_flags): Add.
11456 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11458 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11460 2013-07-03 Allan McRae <allan@archlinux.org>
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 2013-07-02 David S. Miller <davem@davemloft.net>
11466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11468 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11472 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477 2013-07-02 Andi Kleen <ak@linux.intel.com>
11479 * config.h.in (ENABLE_LOCK_ELISION): Add.
11480 * configure.in (--enable-lock-elision): Add option.
11481 * manual/install.texi: Document --enable lock elision.
11482 * configure: Regenerate
11483 * INSTALL: Regenerate.
11485 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11487 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11488 SSE4.2 strcasecmp for libc.a.
11489 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11491 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11494 * soft-fp/op-common.h (_FP_FMA): New macro.
11495 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11496 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11497 (_FP_MUL_MEAT_1_imm): ... here.
11498 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11499 (_FP_MUL_MEAT_1_wide): ... here.
11500 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11501 (_FP_MUL_MEAT_1_hard): ... here.
11502 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11503 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11504 (_FP_MUL_MEAT_2_wide): ... here.
11505 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11506 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11507 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11508 (_FP_MUL_MEAT_2_gmp): ... here.
11509 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11510 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11511 (_FP_MUL_MEAT_4_wide): ... here.
11512 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11513 (_FP_MUL_MEAT_4_gmp): ... here.
11514 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11515 (_FP_WFRACBITS_DW_S): Likewise.
11516 (_FP_WFRACXBITS_DW_S): Likewise.
11517 (_FP_HIGHBIT_DW_S): Likewise.
11518 (FP_FMA_S): Likewise.
11519 (_FP_FRAC_HIGH_DW_S): Likewise.
11520 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11521 (_FP_WFRACBITS_DW_D): Likewise.
11522 (_FP_WFRACXBITS_DW_D): Likewise.
11523 (_FP_HIGHBIT_DW_D): Likewise.
11524 (FP_FMA_D): Likewise.
11525 (_FP_FRAC_HIGH_DW_D): Likewise.
11526 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11527 (_FP_WFRACBITS_DW_E): Likewise.
11528 (_FP_WFRACXBITS_DW_E): Likewise.
11529 (_FP_HIGHBIT_DW_E): Likewise.
11530 (FP_FMA_E): Likewise.
11531 (_FP_FRAC_HIGH_DW_E): Likewise.
11532 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11533 (_FP_WFRACBITS_DW_Q): Likewise.
11534 (_FP_WFRACXBITS_DW_Q): Likewise.
11535 (_FP_HIGHBIT_DW_Q): Likewise.
11536 (FP_FMA_Q): Likewise.
11537 (_FP_FRAC_HIGH_DW_Q): Likewise.
11538 * soft-fp/fmasf4.c: New file.
11539 * soft-fp/fmadf4.c: Likewise.
11540 * soft-fp/fmatf4.c: Likewise.
11542 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11545 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11549 (index_Slow_SSE4_2): Likewise.
11550 (index_Prefer_PMINUB_for_stringop): Likewise.
11551 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11552 bit_Slow_SSE4_2 is set.
11553 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11554 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11556 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11558 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11559 rtld_global._dl_hwcap2.
11560 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11562 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11563 POWER8 feature descriptions defined in _dl_hwcap2.
11564 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11565 string handling for POWER8 feature bits.
11566 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11567 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11568 _dl_powerpc_cap_flags.
11569 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11570 * sysdeps/powerpc/rtld-global-offsets.sym
11571 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11572 _dl_hwcap2 in the rtld_global_ro structure.
11574 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11576 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11577 hardware capabilities in support of AT_HWCAP2.
11578 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11579 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11581 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11582 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11583 explicitly the unknown a_type display mechanism is used.
11584 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11585 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11587 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11588 to macro prototype for AT_HWCAP2 support.
11589 * sysdeps/i386/dl-procinfo.h: Likewise.
11590 * sysdeps/s390/dl-procinfo.h: Likewise.
11591 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11592 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11593 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11594 return -1 for unknown a_type display fallback.
11595 * sysdeps/sparc/dl-procinfo.h: Likewise.
11596 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11597 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11599 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11602 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11604 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11607 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11608 mprotect making __stack_prot writable.
11610 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11611 Joseph Myers <joseph@codesourcery.com>
11613 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11614 as being properly aligned.
11616 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11618 * dlfcn/modstatic5.c: New file.
11619 * dlfcn/tststatic5.c: New file.
11620 * dlfcn/Makefile (tests): Add tststatic5.
11621 (tests-static): Likewise.
11622 (modules-names): Add modstatic5.
11623 (tststatic5-ENV): New variable.
11624 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11627 * elf/dl-support.c (_dl_main_map): New variable.
11628 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11629 (_dl_nns, _dl_load_adds): Set to 1.
11630 (_dl_initial_searchlist): Refer to _dl_main_map.
11631 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11632 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11633 call to _dl_get_origin.
11634 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11636 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11637 * dlfcn/modstatic3.c: New file.
11638 * dlfcn/tststatic3.c: New file.
11639 * dlfcn/tststatic4.c: New file.
11640 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11641 (tests-static): Likewise.
11642 (modules-names): Add modstatic3.
11643 (tststatic3-ENV, tststatic4-ENV): New variables.
11644 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11645 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11647 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11649 * configure.in (CC): Require GCC version 4.4 or later.
11650 * configure: Regenerated.
11651 * manual/install.texi (Tools for Compilation): Update GCC version
11653 * INSTALL: Regenerated.
11655 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11658 * string/test-memcmp.c (check2): New.
11659 (main): Call check2.
11661 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11663 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11666 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11668 (dl_open_worker) [!SHARED]: ... here.
11670 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11672 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11674 2013-06-25 Richard Henderson <rth@redhat.com>
11676 * locale/programs/locarchive.c: Include <libc-internal.h>
11678 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11680 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11681 trailing whitespace removed.
11683 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11686 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11687 * locale/programs/locarchive.c: Include libc-mmap.h.
11688 (prepare_address_space): Take two new outputs (the mmap base and len).
11689 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11691 (create_archive): Declare new mmap base and len values for
11692 prepare_address_space, and store the result in ah.
11693 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11694 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11695 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11696 Declare new mmap base and len values for
11697 prepare_address_space, and store the result in new_ah.
11698 (open_archive): Declare new mmap base and len values for
11699 prepare_address_space, and store the result in ah.
11700 (close_archive): If ah->mmap_base is not NULL, use that and
11701 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11702 * sysdeps/generic/libc-mmap.h: New file.
11704 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11706 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11707 (ALIGN_UP): Likewise.
11708 (PTR_ALIGN_DOWN): Likewise.
11709 (PTR_ALIGN_UP): Likewise.
11711 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11713 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11714 entry mapped to PPC_PLATFORM_POWER8.
11715 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11717 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11718 (_dl_string_platform): Add case for exporting platform position for
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11721 search path to sysdeps/powerpc/powerpc32/power8 directory.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11723 search path to sysdeps/powerpc/powerpc64/power8 directory.
11724 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11725 power7 directories.
11726 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11727 power7 directories.
11729 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11731 * INSTALL: Regenerate.
11733 * nscd/connections.c (nscd_init): Fix comment.
11735 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11737 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11740 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11741 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11743 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11745 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11747 (DL_DST_REQ_STATIC): Remove macro.
11749 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11752 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11753 with a shift of 0 bits.
11755 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11757 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11760 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11763 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11765 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11767 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11768 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11769 accepts -fno-tree-loop-distribute-patterns.
11770 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11771 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11773 * string/memset.c (memset): Likewise.
11774 * string/test-memmove.c (simple_memmove): Disable loop transformation
11776 * string/test-memset.c (simple_memset): Likewise.
11777 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11778 * benchtests/bench-memset.c (simple_memset): Likewise.
11779 * configure: Regenerated.
11781 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11783 * math/test-misc.c (main): Ignore fesetround failure when failures
11784 of subsequent rounding tests would be ignored.
11787 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11788 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11789 * math/fegetenv.c (__fegetenv): Return 0.
11790 * math/fegetexcept.c (fegetexcept): Return 0.
11791 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11793 * math/feholdexcpt.c (feholdexcept): Return 0.
11794 * math/fesetenv.c (__fesetenv): Return 0.
11795 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11796 argument FE_TONEAREST.
11797 * math/feupdateenv.c (__feupdateenv): Return 0.
11798 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11800 2013-06-18 Roland McGrath <roland@hack.frob.com>
11802 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11803 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11804 ($(objpfx)rtld-%.os rules): Use them.
11806 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11808 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11811 2013-06-17 Roland McGrath <roland@hack.frob.com>
11813 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11814 length of target pattern, then descending length of dependency pattern.
11815 * configure.in (AWK): Require gawk 3.1.2 or newer.
11816 * manual/install.texi (Tools for Compilation): Say that we do.
11817 * configure: Regenerated.
11819 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11820 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11821 * scripts/sysd-rules.awk: ... this new script.
11822 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11823 than a glob-style pattern.
11825 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11827 * math/test-misc.c (main): Do not treat incorrectly rounded
11828 conversions as failure unless ROUNDING_TESTS passes.
11830 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11833 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11834 restore exception state around main square root computation, then
11835 check for inexactness explicitly.
11837 * math/libm-test.inc (fma_test_data): Add another test.
11839 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * manual/threads.texi (Non-POSIX Extensions): New document
11842 node. Document pthread_getattr_default_np and
11843 pthread_setattr_default_np.
11845 * Versions.def (libpthread): Add GLIBC_2.18.
11846 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11855 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11866 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11869 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11871 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11872 H.J. Lu <hjl.tools@gmail.com>
11875 * sysdeps/x86_64/rtld-memset.c: Remove file.
11876 * sysdeps/x86_64/rtld-memset.S: New file.
11878 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11880 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11881 (test_in_one_mode): Take arguments for whether the rounding mode
11882 is supported for each floating-point type.
11883 (do_test): Pass new arguments to test_in_one_mode using
11886 2013-06-13 Roland McGrath <roland@hack.frob.com>
11888 * posix/tst-waitid.c (do_test): Distinguish different instances of
11889 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11890 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11891 before entering the kernel for waitpid.
11893 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11895 * NEWS: Fix note on clock function precision. Text by Roland
11898 2013-06-13 Roland McGrath <roland@hack.frob.com>
11900 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11901 it into place only when and if the sanity check passes.
11903 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11905 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11906 output for whether conversion result is exact. Take argument
11907 indicating whether type is IBM long double.
11908 (round_for_all): Change need_exact field to ibm_ld.
11909 * stdlib/tst-strtod-round.c (struct exactness): New type.
11910 (struct test): Change bool ld_ok field to struct exactness exact.
11911 (TEST): Update all definitions for change to field.
11912 (tests): Regenerate array contents.
11913 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11914 field value. Check for IBM long double here.
11915 (do_test): Update calls to test_in_one_mode.
11917 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11920 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11921 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11923 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11927 generated by the compiler on loop optimizations.
11928 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11929 general definitions.
11931 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11933 * math/bug-nextafter.c: Include <math-tests.h>.
11934 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11936 * math/bug-nexttoward.c: Include <math-tests.h>.
11937 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11939 * math/test-misc.c: Include <math-tests.h>.
11940 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11943 2013-06-12 Andreas Jaeger <aj@suse.de>
11945 * po/ia.po: Update Interlingua translation from translation
11948 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * include/fenv.h: Include stdbool.h.
11951 (struct rm_ctx): New structure.
11952 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11954 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11955 (SET_RESTORE_ROUNDF): Likewise.
11956 (SET_RESTORE_ROUNDL): Likewise.
11957 (SET_RESTORE_ROUND_NOEX): Likewise.
11958 (SET_RESTORE_ROUND_NOEXF): Likewise.
11959 (SET_RESTORE_ROUND_NOEXL): Likewise.
11960 (SET_RESTORE_ROUND_53BIT): Likewise.
11961 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11962 (libc_feresetround_noexf_ctx): Likewise.
11963 (libc_feresetround_noexl_ctx): Likewise.
11964 (libc_feholdsetround_53bit_ctx): Likewise.
11965 (libc_feresetround_53bit_ctx): Likewise.
11966 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11967 (libc_feholdexcept_setround_sse_ctx): New function.
11968 (libc_fesetenv_sse_ctx): Likewise.
11969 (libc_feupdateenv_sse_ctx): Likewise.
11970 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11971 (libc_feholdexcept_setround_387_ctx): Likewise.
11972 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11973 (libc_feholdsetround_387_prec_ctx): Likewise.
11974 (libc_feholdsetround_387_ctx): Likewise.
11975 (libc_feholdsetround_387_53bit_ctx): Likewise.
11976 (libc_feholdsetround_sse_ctx): Likewise.
11977 (libc_feresetround_sse_ctx): Likewise.
11978 (libc_feresetround_387_ctx): Likewise.
11979 (libc_feupdateenv_387_ctx): Likewise.
11980 (libc_feholdexcept_setroundf_ctx): Define macro.
11981 (libc_fesetenvf_ctx): Likewise.
11982 (libc_feupdateenvf_ctx): Likewise.
11983 (libc_feholdsetroundf_ctx): Likewise.
11984 (libc_feresetroundf_ctx): Likewise.
11985 (libc_feholdexcept_setround_ctx): Likewise.
11986 (libc_fesetenv_ctx): Likewise.
11987 (libc_feupdateenv_ctx): Likewise.
11988 (libc_feholdsetround_ctx): Likewise.
11989 (libc_feresetround_ctx): Likewise.
11990 (libc_feholdexcept_setroundl_ctx): Likewise.
11991 (libc_feupdateenvl_ctx): Likewise.
11992 (libc_feholdsetroundl_ctx): Likewise.
11993 (libc_feresetroundl_ctx): Likewise.
11994 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11995 (libc_feresetround_53bit_ctx): Likewise.
11997 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11999 * locale/iso-639.def: Convert to UTF-8.
12001 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12003 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12004 (EXCEPTION_TESTS_double): Likewise.
12005 (EXCEPTION_TESTS_long_double): Likewise.
12006 (EXCEPTION_TESTS): Likewise.
12007 * math/libm-test.inc (test_exceptions): Only test exceptions if
12008 EXCEPTION_TESTS (FLOAT).
12010 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12012 * benchtests/Makefile (string-bench): Add strcpy_chk and
12014 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12015 * benchtests/bench-stpcpy_chk.c: New file.
12016 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12017 * benchtests/bench-strcpy_chk.c: New file.
12018 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12020 (do_test): Likewise.
12022 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12024 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12025 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12026 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12027 with tabs where appropriate.
12028 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12030 [PPC_PLATFORM_PPC440]: Likewise.
12031 [PPC_PLATFORM_PPC464]: Likewise.
12032 [PPC_PLATFORM_PPC476]: Likewise.
12033 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12034 ppc464, and ppc476 platform strings merging from ports/
12037 2013-06-11 Andreas Schwab <schwab@suse.de>
12040 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12041 (from_ucs4_idx): Regenerate.
12042 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12043 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12044 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12045 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12046 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12047 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12048 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12049 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12050 from FROM_LOOP and TO_LOOP specific macros.
12051 (BODY): Handle combining characters.
12052 * iconvdata/BIG5HKSCS.irreversible: Update.
12053 * iconvdata/BIG5HKSCS.precomposed: New file.
12054 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12056 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12058 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12060 * include/sys/time.h: Fix indentation and add copyright header.
12062 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12063 (do_test): Likewise.
12064 * string/test-memchr.c (do_one_test): Likewise.
12065 (do_test): Likewise.
12066 * string/test-memcmp.c (do_one_test): Likewise.
12067 (do_test): Likewise.
12068 * string/test-memcpy.c (do_one_test): Likewise.
12069 (do_test): Likewise.
12070 * string/test-memmem.c (do_one_test): Likewise.
12071 (do_test): Likewise.
12072 (do_random_tests): Likewise.
12073 * string/test-memmove.c (do_one_test): Likewise.
12074 (do_test): Likewise.
12075 * string/test-memset.c (do_one_test): Likewise.
12076 (do_test): Likewise.
12077 * string/test-rawmemchr.c (do_one_test): Likewise.
12078 (do_test): Likewise.
12079 * string/test-strcasecmp.c (do_one_test): Likewise.
12080 (do_test): Likewise.
12081 * string/test-strcasestr.c (do_one_test): Likewise.
12082 (do_test): Likewise.
12083 * string/test-strcat.c (do_one_test): Likewise.
12084 (do_test): Likewise.
12085 * string/test-strchr.c (do_one_test): Likewise.
12086 (do_test): Likewise.
12087 * string/test-strcmp.c (do_one_test): Likewise.
12088 (do_test): Likewise.
12089 * string/test-strcpy.c (do_one_test): Likewise.
12090 (do_test): Likewise.
12091 * string/test-string.h: Likewise.
12092 (test_init): Likewise.
12093 * string/test-strlen.c (do_one_test): Likewise.
12094 (do_test): Likewise.
12095 * string/test-strncasecmp.c (do_one_test): Likewise.
12096 (do_test): Likewise.
12097 * string/test-strncat.c (do_one_test): Likewise.
12098 (do_test): Likewise.
12099 * string/test-strncmp.c (do_one_test): Likewise.
12100 (do_test_limit): Likewise.
12101 (do_test): Likewise.
12102 * string/test-strncpy.c (do_one_test): Likewise.
12103 (do_test): Likewise.
12104 * string/test-strnlen.c (do_one_test): Likewise.
12105 (do_test): Likewise.
12106 * string/test-strpbrk.c (do_one_test): Likewise.
12107 (do_test): Likewise.
12108 * string/test-strrchr.c (do_one_test): Likewise.
12109 (do_test): Likewise.
12110 * string/test-strspn.c (do_one_test): Likewise.
12111 (do_test): Likewise.
12112 * string/test-strstr.c (do_one_test): Likewise.
12113 (do_test): Likewise.
12115 * benchtests/Makefile (string-bench): Add string benchmarks.
12116 * benchtests/bench-bcopy-ifunc.c: New file.
12117 * benchtests/bench-bcopy.c: New file.
12118 * benchtests/bench-bzero-ifunc.c: New file.
12119 * benchtests/bench-bzero.c: New file.
12120 * benchtests/bench-memccpy-ifunc.c: New file.
12121 * benchtests/bench-memccpy.c: New file.
12122 * benchtests/bench-memchr-ifunc.c: New file.
12123 * benchtests/bench-memchr.c: New file.
12124 * benchtests/bench-memcmp-ifunc.c: New file.
12125 * benchtests/bench-memcmp.c: New file.
12126 * benchtests/bench-memmem-ifunc.c: New file.
12127 * benchtests/bench-memmem.c: New file.
12128 * benchtests/bench-memmove-ifunc.c: New file.
12129 * benchtests/bench-memmove.c: New file.
12130 * benchtests/bench-mempcpy-ifunc.c: New file.
12131 * benchtests/bench-mempcpy.c: New file.
12132 * benchtests/bench-memset-ifunc.c: New file.
12133 * benchtests/bench-memset.c: New file.
12134 * benchtests/bench-rawmemchr-ifunc.c: New file.
12135 * benchtests/bench-rawmemchr.c: New file.
12136 * benchtests/bench-stpcpy-ifunc.c: New file.
12137 * benchtests/bench-stpcpy.c: New file.
12138 * benchtests/bench-stpncpy-ifunc.c: New file.
12139 * benchtests/bench-stpncpy.c: New file.
12140 * benchtests/bench-strcasecmp-ifunc.c: New file.
12141 * benchtests/bench-strcasecmp.c: New file.
12142 * benchtests/bench-strcasestr-ifunc.c: New file.
12143 * benchtests/bench-strcasestr.c: New file.
12144 * benchtests/bench-strcat-ifunc.c: New file.
12145 * benchtests/bench-strcat.c: New file.
12146 * benchtests/bench-strchr-ifunc.c: New file.
12147 * benchtests/bench-strchr.c: New file.
12148 * benchtests/bench-strchrnul-ifunc.c: New file.
12149 * benchtests/bench-strchrnul.c: New file.
12150 * benchtests/bench-strcmp-ifunc.c: New file.
12151 * benchtests/bench-strcmp.c: New file.
12152 * benchtests/bench-strcpy-ifunc.c: New file.
12153 * benchtests/bench-strcpy.c: New file.
12154 * benchtests/bench-strcspn-ifunc.c: New file.
12155 * benchtests/bench-strcspn.c: New file.
12156 * benchtests/bench-strlen-ifunc.c: New file.
12157 * benchtests/bench-strlen.c: New file.
12158 * benchtests/bench-strncasecmp-ifunc.c: New file.
12159 * benchtests/bench-strncasecmp.c: New file.
12160 * benchtests/bench-strncat-ifunc.c: New file.
12161 * benchtests/bench-strncat.c: New file.
12162 * benchtests/bench-strncmp-ifunc.c: New file.
12163 * benchtests/bench-strncmp.c: New file.
12164 * benchtests/bench-strncpy-ifunc.c: New file.
12165 * benchtests/bench-strncpy.c: New file.
12166 * benchtests/bench-strnlen-ifunc.c: New file.
12167 * benchtests/bench-strnlen.c: New file.
12168 * benchtests/bench-strpbrk-ifunc.c: New file.
12169 * benchtests/bench-strpbrk.c: New file.
12170 * benchtests/bench-strrchr-ifunc.c: New file.
12171 * benchtests/bench-strrchr.c: New file.
12172 * benchtests/bench-strspn-ifunc.c: New file.
12173 * benchtests/bench-strspn.c: New file.
12174 * benchtests/bench-strstr-ifunc.c: New file.
12175 * benchtests/bench-strstr.c: New file.
12177 * benchtests/Makefile: Disable parallel execution of targets.
12178 (string-bench): Add memcpy.
12179 (benchset): New variable to store a list of benchmark sets.
12180 (bench-func): Renamed from bench.
12181 (bench-set): New target.
12182 (bench): Depend on bench-func and bench-set.
12183 * benchtests/README: Add section on benchmark sets.
12184 * benchtests/bench-memcpy-ifunc.c: New file.
12185 * benchtests/bench-memcpy.c: New file.
12186 * benchtests/bench-string.h: New file.
12188 2013-06-11 Andreas Schwab <schwab@suse.de>
12191 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12192 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12193 values in the triple.
12194 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12195 terminator in the group key.
12197 2013-06-11 Andreas Jaeger <aj@suse.de>
12199 * po/zh_TW.po: Update Chinese (traditional) translation from
12200 translation project.
12202 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12204 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12205 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12206 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12207 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12208 (clock_getcpuclockid): Likewise.
12209 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12210 Add weak_alias and libc_hidden_def.
12211 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12212 * rt/clock_gettime.c (clock_gettime): Rename to
12213 __clock_gettime. Add weak_alias and libc_hidden_def.
12214 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12215 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12216 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12217 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12218 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12220 * rt/clock_settime.c (clock_settime): Rename to
12221 __clock_settime. Add weak_alias and libc_hidden_def.
12222 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12224 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12226 * mach/err_boot.sub: Remove trailing whitespace.
12227 * mach/err_ipc.sub: Likewise.
12228 * mach/err_mach.sub: Likewise.
12230 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12231 (ROUNDING_TESTS_double): Likewise.
12232 (ROUNDING_TESTS_long_double): Likewise.
12233 (ROUNDING_TESTS): Likewise.
12234 * math/libm-test.inc: Include <math-tests.h>.
12235 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12236 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12237 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12238 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12240 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12245 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12247 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12248 otherwise empty TRANS lines.
12249 * sysdeps/gnu/errlist.c: Regenerated.
12251 * catgets/gencat.c (error_print): Use (void) in function
12253 * crypt/crypt_util.c (__init_des): Likewise.
12254 * crypt/speeds.c (Stop): Likewise.
12256 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12257 * inet/ruserpass.c (token): Likewise.
12258 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12259 * intl/localealias.c (extend_alias_table): Likewise.
12260 * intl/plural-exp.c (init_germanic_plural): Likewise.
12261 * libio/fcloseall.c (__fcloseall): Likewise.
12262 * libio/genops.c (_IO_flush_all): Likewise.
12263 (_IO_flush_all_linebuffered): Likewise.
12264 (_IO_cleanup): Likewise.
12265 (_IO_iter_begin): Likewise.
12266 (_IO_iter_end): Likewise.
12267 (_IO_list_lock): Likewise.
12268 (_IO_list_unlock): Likewise.
12269 (_IO_list_resetlock): Likewise.
12270 * libio/getchar.c (getchar): Likewise.
12271 * libio/getchar_u.c (getchar_unlocked): Likewise.
12272 * libio/getwchar.c (getwchar): Likewise.
12273 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12274 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12275 * login/getpt.c (__getpt): Likewise.
12276 * login/tst-utmp.c (main): Likewise.
12277 * malloc/hooks.c (__malloc_check_init): Likewise.
12278 * malloc/malloc.c (__malloc_stats): Likewise.
12279 * malloc/mtrace.c (tr_break): Likewise.
12280 (mtrace): Likewise.
12281 (muntrace): Likewise.
12282 * misc/fstab.c (endfsent): Likewise.
12283 * misc/getclktck.c (__getclktck): Likewise.
12284 * misc/getdtsz.c (__getdtablesize): Likewise.
12285 * misc/gethostid.c (gethostid): Likewise.
12286 * misc/getpagesize.c (__getpagesize): Likewise.
12287 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12288 (__get_nprocs): Likewise.
12289 (__get_phys_pages): Likewise.
12290 (__get_avphys_pages): Likewise.
12291 * misc/getttyent.c (getttyent): Likewise.
12292 (setttyent): Likewise.
12293 (endttyent): Likewise.
12294 * misc/getusershell.c (getusershell): Likewise.
12295 (endusershell): Likewise.
12296 (setusershell): Likewise.
12297 (initshells): Likewise.
12298 * misc/hsearch.c (__hdestroy): Likewise.
12299 * misc/sync.c (sync): Likewise.
12300 * misc/syslog.c (closelog_internal): Likewise.
12301 (closelog): Likewise.
12302 * misc/ttyslot.c (ttyslot): Likewise.
12303 * misc/vhangup.c (vhangup): Likewise.
12304 * posix/fork.c (__fork): Likewise.
12305 * posix/getegid.c (__getegid): Likewise.
12306 * posix/geteuid.c (__geteuid): Likewise.
12307 * posix/getgid.c (__getgid): Likewise.
12308 * posix/getpid.c (__getpid): Likewise.
12309 * posix/getppid.c (__getppid): Likewise.
12310 * posix/getuid.c (__getuid): Likewise.
12311 * posix/pause.c (pause): Likewise.
12312 * posix/setpgrp.c (setpgrp): Likewise.
12313 * posix/setsid.c (__setsid): Likewise.
12314 * posix/test-vfork.c (noop): Likewise.
12315 * resolv/gethnamaddr.c (_endhtent): Likewise.
12316 (_gethtent): Likewise.
12317 (ht_endhostent): Likewise.
12318 (gethostent): Likewise.
12319 (dns_service): Likewise.
12320 * stdlib/drand48.c (drand48): Likewise.
12321 * stdlib/lrand48.c (lrand48): Likewise.
12322 * stdlib/mrand48.c (mrand48): Likewise.
12323 * stdlib/rand.c (rand): Likewise.
12324 * stdlib/random.c (__random): Likewise.
12325 * stdlib/setenv.c (clearenv): Likewise.
12326 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12327 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12328 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12329 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12330 (__get_nprocs): Likewise.
12331 (__get_phys_pages): Likewise.
12332 (__get_avphys_pages): Likewise.
12333 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12334 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12335 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12336 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12337 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12338 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12339 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12340 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12341 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12342 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12343 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12344 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12345 * sysdeps/posix/clock.c (clock): Likewise.
12346 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12347 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12348 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12349 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12350 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12352 (__get_nprocs_conf): Likewise.
12353 (__get_phys_pages): Likewise.
12354 (__get_avphys_pages): Likewise.
12355 * time/clock.c (clock): Likewise.
12356 * time/tzset.c (__tzname_max): Likewise.
12358 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12360 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12361 (__bswap_32): Do not use "register".
12362 * crypt/crypt.c (_ufc_doit_r): Likewise.
12363 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12364 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12365 * gmon/gmon.c (__monstartup): Likewise.
12366 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12367 * hurd/hurdmalloc.c (more_memory): Likewise.
12368 (malloc): Likewise.
12370 (realloc): Likewise.
12371 (malloc_fork_prepare): Likewise.
12372 (malloc_fork_parent): Likewise.
12373 (malloc_fork_child): Likewise.
12374 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12375 (_svcauth_des): Likewise.
12376 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12377 * inet/inet_net.c (inet_network): Likewise.
12378 * inet/inet_netof.c (inet_netof): Likewise.
12379 * inet/rcmd.c (__validuser2_sa): Likewise.
12380 * io/fts.c (fts_open): Likewise.
12381 (fts_load): Likewise.
12382 (fts_close): Likewise.
12383 (fts_read): Likewise.
12384 (fts_children): Likewise.
12385 (fts_build): Likewise.
12386 (fts_stat): Likewise.
12387 (fts_sort): Likewise.
12388 (fts_alloc): Likewise.
12389 (fts_lfree): Likewise.
12390 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12391 (_IO_file_xsgetn): Likewise.
12392 (_IO_file_xsgetn_mmap): Likewise.
12393 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12394 (_IO_cookie_write): Likewise.
12395 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12396 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12397 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12398 * malloc/obstack.c (_obstack_begin): Likewise.
12399 (_obstack_begin_1): Likewise.
12400 (_obstack_newchunk): Likewise.
12401 (_obstack_allocated_p): Likewise.
12402 (obstack_free): Likewise.
12403 (_obstack_memory_used): Likewise.
12404 * misc/getttyent.c (getttynam): Likewise.
12405 (getttyent): Likewise.
12408 * misc/getusershell.c (initshells): Likewise.
12409 * misc/syslog.c (__vsyslog_chk): Likewise.
12410 * misc/ttyslot.c (ttyslot): Likewise.
12411 * nis/nis_hash.c (__nis_hash): Likewise.
12412 * posix/fnmatch_loop.c (FCT): Likewise.
12413 * posix/getconf.c (print_all): Likewise.
12415 * posix/getopt.c (exchange): Likewise.
12416 * posix/glob.c (globfree): Likewise.
12417 (prefix_array): Likewise.
12418 (__glob_pattern_type): Likewise.
12419 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12420 (NS_GET32): Likewise.
12421 (NS_PUT16): Likewise.
12422 (NS_PUT32): Likewise.
12423 * resolv/gethnamaddr.c (getanswer): Likewise.
12424 (gethostbyname2): Likewise.
12425 (gethostbyaddr): Likewise.
12426 (_gethtent): Likewise.
12427 (_gethtbyname2): Likewise.
12428 (_gethtbyaddr): Likewise.
12429 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12430 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12431 * resolv/res_init.c (__res_vinit): Likewise.
12432 (net_mask): Likewise.
12433 * resolv/res_mkquery.c (outchar): Likewise.
12435 * stdio-common/printf_fp.c (outchar): Likewise.
12437 * stdio-common/printf_fphex.c (outchar): Likewise.
12439 * stdio-common/printf_size.c (outchar): Likewise.
12441 * stdio-common/test_rdwr.c (main): Likewise.
12442 * stdio-common/tfformat.c (matches): Likewise.
12443 * stdio-common/vfprintf.c (outchar): Likewise.
12444 (printf_unknown): Likewise.
12445 (buffered_vfprintf): Likewise.
12446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12447 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12448 (ReadFile): Likewise.
12449 * stdlib/qsort.c (SWAP): Likewise.
12450 (_quicksort): Likewise.
12451 * stdlib/setenv.c (__add_to_environ): Likewise.
12452 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12453 * stdlib/strtol_l.c (__strtol_l): Likewise.
12454 * stdlib/tst-strtod.c (main): Likewise.
12455 * stdlib/tst-strtol.c (main): Likewise.
12456 * stdlib/tst-strtoll.c (main): Likewise.
12457 * string/bits/string2.h (__strcmp_cc): Likewise.
12458 (__strcmp_cg): Likewise.
12459 (__strcspn_c1): Likewise.
12460 (__strcspn_c2): Likewise.
12461 (__strcspn_c3): Likewise.
12462 (__strspn_c1): Likewise.
12463 (__strspn_c2): Likewise.
12464 (__strspn_c3): Likewise.
12465 (__strsep_1c): Likewise.
12466 (__strsep_2c): Likewise.
12467 (__strsep_3c): Likewise.
12468 * string/memccpy.c (__memccpy): Likewise.
12469 * string/stpcpy.c (__stpcpy): Likewise.
12470 * string/strcmp.c (strcmp): Likewise.
12471 * string/strrchr.c (strrchr): Likewise.
12472 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12474 * sysdeps/mach/hurd/getcwd.c
12475 (_hurd_canonicalize_directory_name_internal): Likewise.
12476 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12477 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12478 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12479 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12480 Likewise, in both definitions.
12481 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12483 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12484 64] (__bswap_64): Likewise.
12485 * time/test_time.c (main): Likewise.
12486 * time/tzfile.c (__tzfile_read): Likewise.
12487 (__tzfile_compute): Likewise.
12488 * time/tzset.c (__tzset_parse_tz): Likewise.
12489 (tzset_internal): Likewise.
12490 (compute_change): Likewise.
12491 * wcsmbs/wcscat.c (__wcscat): Likewise.
12492 * wcsmbs/wcschr.c (wcschr): Likewise.
12493 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12494 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12495 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12496 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12497 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12498 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12499 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12500 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12501 * wcsmbs/wmemset.c (wmemset): Likewise.
12503 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12505 * scripts/config.guess: Update to version 2013-05-16.
12506 * scripts/config.sub: Update to version 2013-04-24.
12507 * scripts/install-sh: Update to version 2011-11-20.07.
12508 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12509 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12511 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12513 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12514 * elf/sln.c: Likewise.
12515 * hurd/hurd/ioctl.h: Likewise.
12516 * hurd/hurdmalloc.c: Likewise.
12517 * hurd/xattr.c: Likewise.
12518 * include/shlib-compat.h: Likewise.
12519 * inet/ruserpass.c: Likewise.
12520 * libio/iofgets_u.c: Likewise.
12521 * libio/iofgetws_u.c: Likewise.
12522 * locale/programs/ld-identification.c: Likewise.
12523 * locale/programs/ld-time.c: Likewise.
12524 * mach/msg-destroy.c: Likewise.
12525 * nss/nss_files/files-netgrp.c: Likewise.
12526 * resolv/res_data.c: Likewise.
12527 * soft-fp/op-1.h: Likewise.
12528 * soft-fp/op-2.h: Likewise.
12529 * soft-fp/op-4.h: Likewise.
12530 * soft-fp/op-common.h: Likewise.
12531 * stdio-common/printf_fphex.c: Likewise.
12532 * stdlib/strtod_l.c: Likewise.
12533 * sunrpc/rpc/clnt.h: Likewise.
12534 * sysdeps/generic/framestate.c: Likewise.
12535 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12536 * sysdeps/i386/bsd-setjmp.S: Likewise.
12537 * sysdeps/i386/__longjmp.S: Likewise.
12538 * sysdeps/i386/setjmp.S: Likewise.
12539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12557 * sysdeps/ieee754/support.c: Likewise.
12558 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12559 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12560 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12561 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12562 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12563 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12564 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12565 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12566 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12567 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12568 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12569 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12570 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12571 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12572 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12573 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12574 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12577 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12579 * posix/transbug.c: Remove executable mode.
12581 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12583 * crypt/speeds.c: Remove trailing whitespace.
12584 * dlfcn/default.c: Likewise.
12585 * elf/ifuncdep2.c: Likewise.
12586 * elf/ifuncmain1.c: Likewise.
12587 * elf/ifuncmain1vis.c: Likewise.
12588 * elf/testobj.h: Likewise.
12589 * elf/tst-stackguard1.c: Likewise.
12590 * gmon/sys/gmon.h: Likewise.
12591 * hurd/hurdmsg.c: Likewise.
12592 * hurd/new-fd.c: Likewise.
12593 * hurd/ports-get.c: Likewise.
12594 * iconvdata/ibm1008_420.c: Likewise.
12595 * inet/tst-getni1.c: Likewise.
12596 * inet/tst-getni2.c: Likewise.
12597 * libio/ioungetc.c: Likewise.
12598 * libio/wfiledoalloc.c: Likewise.
12599 * manual/libm-err-tab.pl: Likewise.
12600 * math/w_dremf.c: Likewise.
12601 * misc/ftruncate.c: Likewise.
12602 * posix/bug-glob2.c: Likewise.
12603 * posix/tst-pcre.c: Likewise.
12604 * posix/wait4.c: Likewise.
12605 * resolv/README: Likewise.
12606 * resolv/res_debug.h: Likewise.
12607 * resolv/tst-inet_ntop.c: Likewise.
12608 * setjmp/bug269-setjmp.c: Likewise.
12609 * soft-fp/extended.h: Likewise.
12610 * soft-fp/op-1.h: Likewise.
12611 * soft-fp/op-2.h: Likewise.
12612 * soft-fp/op-4.h: Likewise.
12613 * soft-fp/op-8.h: Likewise.
12614 * soft-fp/testit.c: Likewise.
12615 * stdio-common/bug16.c: Likewise.
12616 * stdlib/random.c: Likewise.
12617 * sunrpc/rpcsvc/rquota.x: Likewise.
12618 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12619 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12620 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12621 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12622 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12624 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12625 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12626 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12627 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12647 * sysdeps/ieee754/s_lib_version.c: Likewise.
12648 * sysdeps/mach/hurd/check_fds.c: Likewise.
12649 * sysdeps/mach/hurd/getsockname.c: Likewise.
12650 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12651 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12652 * sysdeps/powerpc/bits/link.h: Likewise.
12653 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12654 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12655 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12656 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12657 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12658 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12659 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12660 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12661 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12662 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12663 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12664 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12665 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12666 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12667 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12668 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12673 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12674 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12676 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12677 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12680 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12681 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12683 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12686 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12687 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12688 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12689 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12690 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12691 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12692 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12694 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12695 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12696 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12697 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12698 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12700 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12701 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12702 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12705 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12706 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12707 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12708 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12709 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12710 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12712 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12713 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12715 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12716 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12717 * sysdeps/powerpc/sysdep.h: Likewise.
12718 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12719 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12720 * sysdeps/sh/dl-trampoline.S: Likewise.
12721 * sysdeps/sh/memset.S: Likewise.
12722 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12723 * sysdeps/sh/strlen.S: Likewise.
12724 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12725 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12726 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12727 * sysdeps/sparc/sparc32/rem.S: Likewise.
12728 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12729 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12730 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12731 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12732 * sysdeps/sparc/sparc32/urem.S: Likewise.
12733 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12734 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12735 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12736 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12738 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12739 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12740 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12741 * sysdeps/unix/bsd/times.c: Likewise.
12742 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12743 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12747 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12749 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12751 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12752 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12753 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12754 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12755 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12756 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12757 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12758 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12759 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12760 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12761 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12762 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12763 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12764 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12765 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12766 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12767 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12768 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12770 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12771 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12772 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12773 * sysdeps/x86_64/strcspn.S: Likewise.
12775 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12777 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12778 generated file. Regenerate properly from gen-translit.pl.
12779 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12780 locale/C-translit.h.
12782 2013-06-05 Andreas Schwab <schwab@suse.de>
12785 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12786 week as 6 instead of -1.
12787 * time/tst-strptime.c (day_tests): Add test case.
12789 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12791 * sysdeps/generic/math_private.h
12792 (libc_feholdexcept_setround_53bit): Replace with
12793 libc_feholdsetround_53bit.
12794 (libc_feupdateenv_53bit): Replace with
12795 libc_feresetround_53bit.
12796 (SET_RESTORE_ROUND_53BIT): Adjust.
12798 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * string/test-strchrnul.c: Add copyright header.
12802 * posix/tst-getaddrinfo4.c: Increase test timeout.
12804 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12807 * math/libm-test.inc (MAX_EXP): Remove
12809 (ulp): Use MIN_EXP - MANT_DIG.
12810 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12812 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12814 * po/be.po: Revert last change.
12815 * po/zh_CN.po: Likewise.
12816 * po/header.pot: Likewise.
12818 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12820 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12821 link-libc-deps to empty as target-specific variable.
12822 * Makerules (link-libc-args): New variable.
12823 (libc-for-link): Likewise.
12824 (link-libc-deps): Likewise.
12825 (lib%.so): Depend on $(link-libc-deps). Link with
12827 (build-module): Link with $(link-libc-args).
12828 (build-module-asneeded): Likewise.
12829 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12831 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12832 target-specific variable.
12833 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12834 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12835 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12837 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12839 ($(objpfx)libpcprofile.so): Likewise.
12840 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12842 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12843 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12844 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12846 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12847 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12848 * login/Makefile ($(objpfx)libutil.so): Likewise.
12849 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12850 * math/Makefile ($(objpfx)libm.so): Likewise.
12851 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12852 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12853 variable instead of depending directly on libc.
12854 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12855 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12857 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12859 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12860 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12861 ($(objpfx)libanl.so): Likewise.
12862 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12864 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12866 * sysdeps/i386/fpu/Makefile: Remove file.
12867 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12868 ($(objpfx)libm.so): Remove dependency on ld.so.
12870 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12873 * nis/yp_xdr.c (XDRMAXNAME): Define.
12874 (XDRMAXRECORD): Define.
12875 (xdr_domainname): Use XDRMAXNAME.
12876 (xdr_mapname): Likewise.
12877 (xdr_peername): Likewise.
12878 (xdr_keydat): Use XDRMAXRECORD.
12879 (xdr_valdat): Likewise.
12881 2013-05-30 Jeff Law <law@redhat.com>
12884 * manual/errno.texi (ESTALE): Update to account for more than
12885 just NFS file systems.
12886 * sysdeps/gnu/errlist.c: Regenerated.
12888 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12891 * elf/Makefile (tests): Add tst-null-argv.
12892 (modules-names): Add tst-null-argv-lib.
12893 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12894 (tst-null-argv-ENV): Set environment for tst-null-argv.
12895 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12896 (RTLD_PROGNAME): New macro.
12897 * elf/tst-null-argv.c: New test case.
12898 * elf/tst-null-argv-lib.c: Library for test case.
12899 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12900 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12901 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12902 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12903 * elf/dl-init.c (call_init): Likewise.
12904 (_dl_init): Likewise.
12905 * elf/dl-load.c (print_search_path): Likewise.
12906 (_dl_map_object): Likewise.
12907 * elf/dl-lookup.c (do_lookup_x): Likewise.
12908 (add_dependency): Likewise.
12909 (_dl_lookup_symbol_x): Likewise.
12910 (_dl_debug_bindings): Likewise.
12911 * elf/dl-open.c (_dl_show_scope): Likewise.
12912 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12913 * elf/dl-version.c (match_symbol): Likewise.
12914 (_dl_check_map_versions): Likewise.
12915 * elf/rtld.c (dl_main): Likewise.
12916 (print_unresolved): Use RTLD_PROGNAME.
12917 (print_missing_version): Likewise.
12918 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12919 (elf_machine_rela): Likewise.
12920 * sysdeps/powerpc/powerpc32/dl-machine.c
12921 (__process_machine_rela): Likewise.
12922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12924 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12926 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12928 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12935 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12937 * po/be.po: Add descriptive title.
12938 * po/zh_CN.po: Likewise.
12939 * po/header.pot: Likewise.
12941 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12943 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12945 (enlarge_archive): Likewise.
12947 2013-05-28 Ben North <ben@redfrontdoor.org>
12949 * manual/arith.texi (frexp): It is the magnitude of the return
12950 value which lies in [0.5, 1), not the return value itself.
12952 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12956 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12958 * stdio-common/bug26.c (main): Correct fscanf template.
12960 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12961 declare _dl_skip_args.
12963 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12966 * manual/platform.texi: Add missing @end deftypefun.
12968 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12972 bit of mantissa of 2^16382.
12973 * math/libm-test.inc (hypot_test_data): Add more tests.
12975 * math/libm-test.inc: Add drem and pow10 to list of tested
12977 (pow10_test): New function.
12978 (drem_test): Likewise.
12979 (drem_test_tonearest): Likewise.
12980 (drem_test_towardzero): Likewise.
12981 (drem_test_downward): Likewise.
12982 (drem_test_upward): Likewise.
12983 (main): Call the new functions.
12985 * math/libm-test.inc (finite_test_data): Remove.
12986 (finite_test): Run tests from isfinite_test_data.
12987 (gamma_test_data): Remove.
12988 (gamma_test): Run tests from lgamma_test_data.
12989 * sysdeps/i386/fpu/libm-test-ulps: Update.
12990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12992 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12994 * manual/platform.texi: Add PowerPC PPR function set documentation.
12995 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12998 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13000 * math/libm-test.inc (MAX_EXP): Define.
13002 (ulp): New function.
13003 (check_float_internal): Use ULPDIFF.
13004 (cpow_test): Disable failing test.
13005 (check_ulp): Test ulp() implemetnation.
13006 (main): Call check_ulp before starting tests.
13008 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13010 * math/gen-libm-test.pl (generate_testfile): Do not handle
13011 START_DATA and END_DATA.
13012 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13014 (acos_tonearest_test_data): Likewise.
13015 (acos_towardzero_test_data): Likewise.
13016 (acos_downward_test_data): Likewise.
13017 (acos_upward_test_data): Likewise.
13018 (acosh_test_data): Likewise.
13019 (asin_test_data): Likewise.
13020 (asin_tonearest_test_data): Likewise.
13021 (asin_towardzero_test_data): Likewise.
13022 (asin_downward_test_data): Likewise.
13023 (asin_upward_test_data): Likewise.
13024 (asinh_test_data): Likewise.
13025 (atan_test_data): Likewise.
13026 (atanh_test_data): Likewise.
13027 (atan2_test_data): Likewise.
13028 (cabs_test_data): Likewise.
13029 (cacos_test_data): Likewise.
13030 (cacosh_test_data): Likewise.
13031 (carg_test_data): Likewise.
13032 (casin_test_data): Likewise.
13033 (casinh_test_data): Likewise.
13034 (catan_test_data): Likewise.
13035 (catanh_test_data): Likewise.
13036 (cbrt_test_data): Likewise.
13037 (ccos_test_data): Likewise.
13038 (ccosh_test_data): Likewise.
13039 (ceil_test_data): Likewise.
13040 (cexp_test_data): Likewise.
13041 (cimag_test_data): Likewise.
13042 (clog_test_data): Likewise.
13043 (clog10_test_data): Likewise.
13044 (conj_test_data): Likewise.
13045 (copysign_test_data): Likewise.
13046 (cos_test_data): Likewise.
13047 (cos_tonearest_test_data): Likewise.
13048 (cos_towardzero_test_data): Likewise.
13049 (cos_downward_test_data): Likewise.
13050 (cos_upward_test_data): Likewise.
13051 (cosh_test_data): Likewise.
13052 (cosh_tonearest_test_data): Likewise.
13053 (cosh_towardzero_test_data): Likewise.
13054 (cosh_downward_test_data): Likewise.
13055 (cosh_upward_test_data): Likewise.
13056 (cpow_test_data): Likewise.
13057 (cproj_test_data): Likewise.
13058 (creal_test_data): Likewise.
13059 (csin_test_data): Likewise.
13060 (csinh_test_data): Likewise.
13061 (csqrt_test_data): Likewise.
13062 (ctan_test_data): Likewise.
13063 (ctan_tonearest_test_data): Likewise.
13064 (ctan_towardzero_test_data): Likewise.
13065 (ctan_downward_test_data): Likewise.
13066 (ctan_upward_test_data): Likewise.
13067 (ctanh_test_data): Likewise.
13068 (ctanh_tonearest_test_data): Likewise.
13069 (ctanh_towardzero_test_data): Likewise.
13070 (ctanh_downward_test_data): Likewise.
13071 (ctanh_upward_test_data): Likewise.
13072 (erf_test_data): Likewise.
13073 (erfc_test_data): Likewise.
13074 (exp_test_data): Likewise.
13075 (exp_tonearest_test_data): Likewise.
13076 (exp_towardzero_test_data): Likewise.
13077 (exp_downward_test_data): Likewise.
13078 (exp_upward_test_data): Likewise.
13079 (exp10_test_data): Likewise.
13080 (exp2_test_data): Likewise.
13081 (expm1_test_data): Likewise.
13082 (fabs_test_data): Likewise.
13083 (fdim_test_data): Likewise.
13084 (finite_test_data): Likewise.
13085 (floor_test_data): Likewise.
13086 (fma_test_data): Likewise.
13087 (fma_towardzero_test_data): Likewise.
13088 (fma_downward_test_data): Likewise.
13089 (fma_upward_test_data): Likewise.
13090 (fmax_test_data): Likewise.
13091 (fmin_test_data): Likewise.
13092 (fmod_test_data): Likewise.
13093 (fpclassify_test_data): Likewise.
13094 (frexp_test_data): Likewise.
13095 (gamma_test_data): Likewise.
13096 (hypot_test_data): Likewise.
13097 (ilogb_test_data): Likewise.
13098 (isfinite_test_data): Likewise.
13099 (isgreater_test_data): Likewise.
13100 (isgreaterequal_test_data): Likewise.
13101 (isinf_test_data): Likewise.
13102 (isless_test_data): Likewise.
13103 (islessequal_test_data): Likewise.
13104 (islessgreater_test_data): Likewise.
13105 (isnan_test_data): Likewise.
13106 (isnormal_test_data): Likewise.
13107 (issignaling_test_data): Likewise.
13108 (isunordered_test_data): Likewise.
13109 (j0_test_data): Likewise.
13110 (j1_test_data): Likewise.
13111 (jn_test_data): Likewise.
13112 (ldexp_test_data): Likewise.
13113 (lgamma_test_data): Likewise.
13114 (lrint_test_data): Likewise.
13115 (lrint_tonearest_test_data): Likewise.
13116 (lrint_towardzero_test_data): Likewise.
13117 (lrint_downward_test_data): Likewise.
13118 (lrint_upward_test_data): Likewise.
13119 (llrint_test_data): Likewise.
13120 (llrint_tonearest_test_data): Likewise.
13121 (llrint_towardzero_test_data): Likewise.
13122 (llrint_downward_test_data): Likewise.
13123 (llrint_upward_test_data): Likewise.
13124 (log_test_data): Likewise.
13125 (log10_test_data): Likewise.
13126 (log1p_test_data): Likewise.
13127 (log2_test_data): Likewise.
13128 (logb_test_data): Likewise.
13129 (logb_downward_test_data): Likewise.
13130 (lround_test_data): Likewise.
13131 (llround_test_data): Likewise.
13132 (modf_test_data): Likewise.
13133 (nearbyint_test_data): Likewise.
13134 (nextafter_test_data): Likewise.
13135 (nexttoward_test_data): Likewise.
13136 (pow_test_data): Likewise.
13137 (pow_tonearest_test_data): Likewise.
13138 (pow_towardzero_test_data): Likewise.
13139 (pow_downward_test_data): Likewise.
13140 (pow_upward_test_data): Likewise.
13141 (remainder_test_data): Likewise.
13142 (remainder_tonearest_test_data): Likewise.
13143 (remainder_towardzero_test_data): Likewise.
13144 (remainder_downward_test_data): Likewise.
13145 (remainder_upward_test_data): Likewise.
13146 (remquo_test_data): Likewise.
13147 (rint_test_data): Likewise.
13148 (rint_tonearest_test_data): Likewise.
13149 (rint_towardzero_test_data): Likewise.
13150 (rint_downward_test_data): Likewise.
13151 (rint_upward_test_data): Likewise.
13152 (round_test_data): Likewise.
13153 (scalb_test_data): Likewise.
13154 (scalbn_test_data): Likewise.
13155 (scalbln_test_data): Likewise.
13156 (signbit_test_data): Likewise.
13157 (sin_test_data): Likewise.
13158 (sin_tonearest_test_data): Likewise.
13159 (sin_towardzero_test_data): Likewise.
13160 (sin_downward_test_data): Likewise.
13161 (sin_upward_test_data): Likewise.
13162 (sincos_test_data): Likewise.
13163 (sinh_test_data): Likewise.
13164 (sinh_tonearest_test_data): Likewise.
13165 (sinh_towardzero_test_data): Likewise.
13166 (sinh_downward_test_data): Likewise.
13167 (sinh_upward_test_data): Likewise.
13168 (sqrt_test_data): Likewise.
13169 (tan_test_data): Likewise.
13170 (tan_tonearest_test_data): Likewise.
13171 (tan_towardzero_test_data): Likewise.
13172 (tan_downward_test_data): Likewise.
13173 (tan_upward_test_data): Likewise.
13174 (tanh_test_data): Likewise.
13175 (tgamma_test_data): Likewise.
13176 (trunc_test_data): Likewise.
13177 (y0_test_data): Likewise.
13178 (y1_test_data): Likewise.
13179 (yn_test_data): Likewise.
13180 (significand_test_data): Likewise.
13182 * math/gen-libm-test.pl (@functions): Remove variable.
13183 (generate_testfile): Don't handle START and END lines.
13184 * math/libm-test.inc (START): New macro.
13186 (END_COMPLEX): Likewise.
13187 (acos_test): Use END macro without arguments.
13188 (acos_test_tonearest): Likewise.
13189 (acos_test_towardzero): Likewise.
13190 (acos_test_downward): Likewise.
13191 (acos_test_upward): Likewise.
13192 (acosh_test): Likewise.
13193 (asin_test): Likewise.
13194 (asin_test_tonearest): Likewise.
13195 (asin_test_towardzero): Likewise.
13196 (asin_test_downward): Likewise.
13197 (asin_test_upward): Likewise.
13198 (asinh_test): Likewise.
13199 (atan_test): Likewise.
13200 (atanh_test): Likewise.
13201 (atan2_test): Likewise.
13202 (cabs_test): Likewise.
13203 (cacos_test): Use END_COMPLEX macro without arguments.
13204 (cacosh_test): Likewise.
13205 (carg_test): Use END macro without arguments.
13206 (casin_test): Use END_COMPLEX macro without arguments.
13207 (casinh_test): Likewise.
13208 (catan_test): Likewise.
13209 (catanh_test): Likewise.
13210 (cbrt_test): Use END macro without arguments.
13211 (ccos_test): Use END_COMPLEX macro without arguments.
13212 (ccosh_test): Likewise.
13213 (ceil_test): Use END macro without arguments.
13214 (cexp_test): Use END_COMPLEX macro without arguments.
13215 (cimag_test): Use END macro without arguments.
13216 (clog_test): Use END_COMPLEX macro without arguments.
13217 (clog10_test): Likewise.
13218 (conj_test): Likewise.
13219 (copysign_test): Use END macro without arguments.
13220 (cos_test): Likewise.
13221 (cos_test_tonearest): Likewise.
13222 (cos_test_towardzero): Likewise.
13223 (cos_test_downward): Likewise.
13224 (cos_test_upward): Likewise.
13225 (cosh_test): Likewise.
13226 (cosh_test_tonearest): Likewise.
13227 (cosh_test_towardzero): Likewise.
13228 (cosh_test_downward): Likewise.
13229 (cosh_test_upward): Likewise.
13230 (cpow_test): Use END_COMPLEX macro without arguments.
13231 (cproj_test): Likewise.
13232 (creal_test): Use END macro without arguments.
13233 (csin_test): Use END_COMPLEX macro without arguments.
13234 (csinh_test): Likewise.
13235 (csqrt_test): Likewise.
13236 (ctan_test): Likewise.
13237 (ctan_test_tonearest): Likewise.
13238 (ctan_test_towardzero): Likewise.
13239 (ctan_test_downward): Likewise.
13240 (ctan_test_upward): Likewise.
13241 (ctanh_test): Likewise.
13242 (ctanh_test_tonearest): Likewise.
13243 (ctanh_test_towardzero): Likewise.
13244 (ctanh_test_downward): Likewise.
13245 (ctanh_test_upward): Likewise.
13246 (erf_test): Use END macro without arguments.
13247 (erfc_test): Likewise.
13248 (exp_test): Likewise.
13249 (exp_test_tonearest): Likewise.
13250 (exp_test_towardzero): Likewise.
13251 (exp_test_downward): Likewise.
13252 (exp_test_upward): Likewise.
13253 (exp10_test): Likewise.
13254 (exp2_test): Likewise.
13255 (expm1_test): Likewise.
13256 (fabs_test): Likewise.
13257 (fdim_test): Likewise.
13258 (finite_test): Likewise.
13259 (floor_test): Likewise.
13260 (fma_test): Likewise.
13261 (fma_test_towardzero): Likewise.
13262 (fma_test_downward): Likewise.
13263 (fma_test_upward): Likewise.
13264 (fmax_test): Likewise.
13265 (fmin_test): Likewise.
13266 (fmod_test): Likewise.
13267 (fpclassify_test): Likewise.
13268 (frexp_test): Likewise.
13269 (gamma_test): Likewise.
13270 (hypot_test): Likewise.
13271 (ilogb_test): Likewise.
13272 (isfinite_test): Likewise.
13273 (isgreater_test): Likewise.
13274 (isgreaterequal_test): Likewise.
13275 (isinf_test): Likewise.
13276 (isless_test): Likewise.
13277 (islessequal_test): Likewise.
13278 (islessgreater_test): Likewise.
13279 (isnan_test): Likewise.
13280 (isnormal_test): Likewise.
13281 (issignaling_test): Likewise.
13282 (isunordered_test): Likewise.
13283 (j0_test): Likewise.
13284 (j1_test): Likewise.
13285 (jn_test): Likewise.
13286 (ldexp_test): Likewise.
13287 (lgamma_test): Likewise.
13288 (lrint_test): Likewise.
13289 (lrint_test_tonearest): Likewise.
13290 (lrint_test_towardzero): Likewise.
13291 (lrint_test_downward): Likewise.
13292 (lrint_test_upward): Likewise.
13293 (llrint_test): Likewise.
13294 (llrint_test_tonearest): Likewise.
13295 (llrint_test_towardzero): Likewise.
13296 (llrint_test_downward): Likewise.
13297 (llrint_test_upward): Likewise.
13298 (log_test): Likewise.
13299 (log10_test): Likewise.
13300 (log1p_test): Likewise.
13301 (log2_test): Likewise.
13302 (logb_test): Likewise.
13303 (logb_test_downward): Likewise.
13304 (lround_test): Likewise.
13305 (llround_test): Likewise.
13306 (modf_test): Likewise.
13307 (nearbyint_test): Likewise.
13308 (nextafter_test): Likewise.
13309 (nexttoward_test): Likewise.
13310 (pow_test): Likewise.
13311 (pow_test_tonearest): Likewise.
13312 (pow_test_towardzero): Likewise.
13313 (pow_test_downward): Likewise.
13314 (pow_test_upward): Likewise.
13315 (remainder_test): Likewise.
13316 (remainder_test_tonearest): Likewise.
13317 (remainder_test_towardzero): Likewise.
13318 (remainder_test_downward): Likewise.
13319 (remainder_test_upward): Likewise.
13320 (remquo_test): Likewise.
13321 (rint_test): Likewise.
13322 (rint_test_tonearest): Likewise.
13323 (rint_test_towardzero): Likewise.
13324 (rint_test_downward): Likewise.
13325 (rint_test_upward): Likewise.
13326 (round_test): Likewise.
13327 (scalb_test): Likewise.
13328 (scalbn_test): Likewise.
13329 (scalbln_test): Likewise.
13330 (signbit_test): Likewise.
13331 (sin_test): Likewise.
13332 (sin_test_tonearest): Likewise.
13333 (sin_test_towardzero): Likewise.
13334 (sin_test_downward): Likewise.
13335 (sin_test_upward): Likewise.
13336 (sincos_test): Likewise.
13337 (sinh_test): Likewise.
13338 (sinh_test_tonearest): Likewise.
13339 (sinh_test_towardzero): Likewise.
13340 (sinh_test_downward): Likewise.
13341 (sinh_test_upward): Likewise.
13342 (sqrt_test): Likewise.
13343 (tan_test): Likewise.
13344 (tan_test_tonearest): Likewise.
13345 (tan_test_towardzero): Likewise.
13346 (tan_test_downward): Likewise.
13347 (tan_test_upward): Likewise.
13348 (tanh_test): Likewise.
13349 (tgamma_test): Likewise.
13350 (trunc_test): Likewise.
13351 (y0_test): Likewise.
13352 (y1_test): Likewise.
13353 (yn_test): Likewise.
13354 (significand_test): Likewise.
13356 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13359 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13361 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13364 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13365 __ppc_mdoio and __ppc_mdoom.
13366 * manual/platform.texi: Document new functions __ppc_yield,
13367 __ppc_mdoio and __ppc_mdoom.
13369 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13371 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13372 (main): Mention "tls" pseudo-hwcap is legacy.
13373 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13375 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13377 * math/gen-libm-test.pl (parse_args): Output only string of
13378 arguments as text for test name, not full call or descriptions of
13379 tests for extra outputs.
13380 (generate_testfile): Do not pass function name to parse_args.
13381 Generate this_func variable from START.
13382 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13384 (struct test_ff_f_data): Likewise.
13385 (test_ff_f_data_nexttoward): Likewise.
13386 (struct test_fi_f_data): Likewise.
13387 (struct test_fl_f_data): Likewise.
13388 (struct test_if_f_data): Likewise.
13389 (struct test_fff_f_data): Likewise.
13390 (struct test_c_f_data): Likewise.
13391 (struct test_f_f1_data): Likewise. Remove field extra_name.
13392 (struct test_fF_f1_data): Likewise.
13393 (struct test_ffI_f1_data): Likewise.
13394 (struct test_c_c_data): Rename test_name field to arg_str.
13395 (struct test_cc_c_data): Likewise.
13396 (struct test_f_i_data): Likewise.
13397 (struct test_ff_i_data): Likewise.
13398 (struct test_f_l_data): Likewise.
13399 (struct test_f_L_data): Likewise.
13400 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13402 (COMMON_TEST_SETUP): New macro.
13403 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13404 (COMMON_TEST_CLEANUP): Likewise.
13405 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13406 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13408 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13409 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13411 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13412 (RUN_TEST_fff_f): Take argument string. Call new setup and
13414 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13415 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13417 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13418 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13420 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13421 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13423 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13424 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13426 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13427 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13429 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13430 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13432 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13433 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13435 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13436 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13438 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13439 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13441 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13442 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13444 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13445 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13447 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13448 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13450 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13451 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13453 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13454 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13456 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13457 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13459 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13461 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13463 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13464 to _sifields.sigfault.
13465 (si_addr_lsb): Define new macro.
13466 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13468 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13470 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13473 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13475 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13477 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13478 loading the domain.
13480 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13482 * math/gen-libm-test.pl (parse_args): Do not include expected
13483 result in test name.
13484 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13485 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13486 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13487 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13488 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13491 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13493 * benchtests/Makefile: Sort function entries.
13495 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13496 tanh, asinh, acosh, atanh.
13497 * benchtests/acos-inputs: New file.
13498 * benchtests/acosh-inputs: New file.
13499 * benchtests/asin-inputs: New file.
13500 * benchtests/asinh-inputs: New file.
13501 * benchtests/atanh-inputs: New file.
13502 * benchtests/cosh-inputs: New file.
13503 * benchtests/log-inputs: New file.
13504 * benchtests/sinh-inputs: New file.
13505 * benchtests/tanh-inputs: New file.
13507 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13510 * posix/tst-getaddrinfo4.c: New test.
13511 * posix/Makefile (tests): Add it.
13513 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13516 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13517 when no services were used.
13518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13519 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13521 2013-05-21 Andreas Schwab <schwab@suse.de>
13524 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13525 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13527 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13528 redundant variable declarations and reallocation of buffer when
13529 parsing as IPv6 address. Always set NSS status when called from
13530 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13531 buffer too small. Correct computation of needed size.
13532 * nss/Makefile (tests): Add test-digits-dots.
13533 * nss/test-digits-dots.c: New test.
13535 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13537 * benchtests/Makefile: Remove instructions for adding
13539 * benchtests/README: New file to explain how to execute and
13540 enhance the benchmark tests.
13542 2013-05-21 Andreas Schwab <schwab@suse.de>
13545 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13546 * setjmp/tst-sigsetjmp.c: New test.
13548 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13550 * sysdeps/x86_64/memset.S (memset): New implementation.
13551 (__bzero): Likewise.
13552 (__memset_tail): New function.
13554 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13556 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13557 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13558 __memcpy_sse2_unaligned ifunc selection.
13559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13560 Add memcpy-sse2-unaligned.S.
13561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13562 Add: __memcpy_sse2_unaligned.
13564 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13567 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13568 math_force_eval before restoring floating-point envrionment.
13569 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13572 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13574 (__nearbyintl): Use math_force_eval before restoring
13575 floating-point environment.
13576 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13578 * math/gen-libm-test.pl (special_functions): Remove.
13579 (parse_args): Don't handle TEST_extra. Handle functions with no
13581 * math/libm-test.inc (struct test_sincos_data): Replace with
13582 struct test_fFF_11_data.
13583 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13584 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13585 (sincos_test_data): Change element type to struct
13586 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13587 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13588 RUN_TEST_LOOP_sincos.
13589 * math/README.libm-test: Don't mention special handling of
13590 individual functions.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13593 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13594 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13595 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13598 * math/gen-libm-test.pl (get_variable): Remove function.
13599 (parse_args): Don't show pointer parameters to call in test
13600 names. Use "extra output N" in test names for extra outputs
13601 rather than naming variables.
13603 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13606 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13607 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13608 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13610 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13612 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13615 * math/gen-libm-test.pl (@tests): Remove variable.
13616 ($count): Likewise.
13617 (new_test): Remove function.
13618 (show_exceptions): New function.
13619 (special_functions): Use show_exceptions instead of new_test.
13620 (parse_args): Likewise.
13621 (generate_testfile): Pass only function name in generated call to
13622 print_max_error or print_complex_max_error.
13623 (get_ulps): Do not handle complex tests specially.
13624 (output_test): Rename to ...
13625 (get_all_ulps_for_test): ... this. Return a string rather than
13626 printing to a file. Require ulps to be present.
13627 (output_ulps): Generate arrays rather than #defines.
13628 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13629 (struct ulp_data): New type.
13630 (BUILD_COMPLEX_ULP): Remove macro.
13631 (compare_ulp_data): New function.
13632 (find_ulps): Likewise.
13633 (find_test_ulps): Likewise.
13634 (find_function_ulps): Likewise.
13635 (find_complex_function_ulps): Likewise.
13636 (print_max_error): Determine allowed ulps using
13637 find_function_ulps.
13638 (print_complex_max_error): Determine allowed ulps using
13639 find_complex_function_ulps.
13640 (check_float_internal): Determine max ulps using find_test_ulps.
13641 (check_float): Do not take max_ulp parameter. Update call to
13642 check_float_internal.
13643 (check_complex): Likewise.
13644 (check_int): Do not take max_ulp parameter.
13645 (check_long): Likewise.
13646 (check_bool): Likewise.
13647 (check_longlong): Likewise.
13648 (struct test_f_f_data): Remove max_ulp field.
13649 (struct test_ff_f_data): Likewise.
13650 (struct test_ff_f_data_nexttoward): Likewise.
13651 (struct test_fi_f_data): Likewise.
13652 (struct test_fl_f_data): Likewise.
13653 (struct test_if_f_data): Likewise.
13654 (struct test_fff_f_data): Likewise.
13655 (struct test_c_f_data): Likewise.
13656 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13657 (struct test_fF_f1_data): Likewise.
13658 (struct test_ffI_f1_data): Likewise.
13659 (struct test_c_c_data): Remove max_ulp field.
13660 (struct test_cc_c_data): Likewise.
13661 (struct test_f_i_data): Likewise.
13662 (struct test_ff_i_data): Likewise.
13663 (struct test_f_l_data): Likewise.
13664 (struct test_f_L_data): Likewise.
13665 (struct test_sincos_data): Likewise.
13666 (RUN_TEST_f_f): Do not handle ulps.
13667 (RUN_TEST_LOOP_f_f): Likewise.
13668 (RUN_TEST_2_f): Likewise.
13669 (RUN_TEST_LOOP_2_f): Likewise.
13670 (RUN_TEST_fff_f): Likewise.
13671 (RUN_TEST_LOOP_fff_f): Likewise.
13672 (RUN_TEST_c_f): Likewise.
13673 (RUN_TEST_LOOP_c_f): Likewise.
13674 (RUN_TEST_f_f1): Likewise.
13675 (RUN_TEST_LOOP_f_f1): Likewise.
13676 (RUN_TEST_fF_f1): Likewise.
13677 (RUN_TEST_LOOP_fF_f1): Likewise.
13678 (RUN_TEST_fI_f1): Likewise.
13679 (RUN_TEST_LOOP_fI_f1): Likewise.
13680 (RUN_TEST_ffI_f1): Likewise.
13681 (RUN_TEST_LOOP_ffI_f1): Likewise.
13682 (RUN_TEST_c_c): Likewise.
13683 (RUN_TEST_LOOP_c_c): Likewise.
13684 (RUN_TEST_cc_c): Likewise.
13685 (RUN_TEST_LOOP_cc_c): Likewise.
13686 (RUN_TEST_f_i): Likewise.
13687 (RUN_TEST_LOOP_f_i): Likewise.
13688 (RUN_TEST_f_i_tg): Likewise.
13689 (RUN_TEST_LOOP_f_i_tg): Likewise.
13690 (RUN_TEST_ff_i_tg): Likewise.
13691 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13692 (RUN_TEST_f_b): Likewise.
13693 (RUN_TEST_LOOP_f_b): Likewise.
13694 (RUN_TEST_f_b_tg): Likewise.
13695 (RUN_TEST_LOOP_f_b_tg): Likewise.
13696 (RUN_TEST_f_l): Likewise.
13697 (RUN_TEST_LOOP_f_l): Likewise.
13698 (RUN_TEST_f_L): Likewise.
13699 (RUN_TEST_LOOP_f_L): Likewise.
13700 (RUN_TEST_sincos): Likewise.
13701 (RUN_TEST_LOOP_sincos): Likewise.
13703 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13707 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13708 main case of finite arguments, set rounding mode to FE_TONEAREST
13709 and discard exceptions.
13710 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13712 (remainder_tonearest_test_data): New variable.
13713 (remainder_test_tonearest): New function.
13714 (remainder_towardzero_test_data): New variable.
13715 (remainder_test_towardzero): New function.
13716 (remainder_downward_test_data): New variable.
13717 (remainder_test_downward): New function.
13718 (remainder_upward_test_data): New variable.
13719 (remainder_test_upward): New function.
13720 (main): Call the new test functions.
13722 * math/libm-test.inc (struct test_f_f1_data): Remove field
13724 (struct test_fF_f1_data): Likewise.
13725 (struct test_ffI_f1_data): Likewise.
13726 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13727 based on value of EXTRA_EXPECTED.
13728 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13729 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13730 EXTRA_VAR based on value of EXTRA_EXPECTED.
13731 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13732 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13733 EXTRA_VAR based on value of EXTRA_EXPECTED.
13734 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13735 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13736 EXTRA_VAR based on value of EXTRA_EXPECTED.
13737 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13738 * math/gen-libm-test.pl (parse_args): Don't output initializers
13739 for extra output values.
13741 * math/libm-test.inc (check_int): Expect result to be exactly
13742 equal to expected value and do not handle ulps.
13743 (check_long): Likewise.
13744 (check_longlong): Likewise.
13746 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13748 (cimag_test_data): Likewise.
13749 (conj_test_data): Likewise.
13750 (copysign_test_data): Likewise.
13751 (cproj_test_data): Likewise.
13752 (creal_test_data): Likewise.
13753 (fabs_test_data): Likewise.
13754 (fdim_test_data): Likewise.
13755 (finite_test_data): Likewise.
13756 (floor_test_data): Likewise.
13757 (fmax_test_data): Likewise.
13758 (fmin_test_data): Likewise.
13759 (fmod_test_data): Likewise.
13760 (fpclassify_test_data): Likewise.
13761 (frexp_test_data): Likewise.
13762 (ilogb_test_data): Likewise.
13763 (isfinite_test_data): Likewise.
13764 (isgreater_test_data): Likewise.
13765 (isgreaterequal_test_data): Likewise.
13766 (isinf_test_data): Likewise.
13767 (isless_test_data): Likewise.
13768 (islessequal_test_data): Likewise.
13769 (islessgreater_test_data): Likewise.
13770 (isnan_test_data): Likewise.
13771 (isnormal_test_data): Likewise.
13772 (issignaling_test_data): Likewise.
13773 (isunordered_test_data): Likewise.
13774 (ldexp_test_data): Likewise.
13775 (lrint_test_data): Likewise.
13776 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13777 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13778 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13779 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13780 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13781 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13783 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13784 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13785 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13786 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13788 (lrint_downward_test_data): Test for "inexact" exceptions.
13789 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13790 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13791 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13793 (lrint_upward_test_data): Test for "inexact" exceptions.
13794 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13796 (llrint_test_data): Test for "inexact" exceptions.
13797 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13798 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13799 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13800 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13801 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13802 (llrint_downward_test_data): Test for "inexact" exceptions.
13803 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13804 (llrint_upward_test_data): Test for "inexact" exceptions.
13805 (logb_test_data): Likewise.
13806 (logb_downward_test_data): Likewise.
13807 (nextafter_test_data): Likewise.
13808 (nexttoward_test_data): Likewise.
13809 (remainder_test_data): Likewise.
13810 (remquo_test_data): Likewise.
13811 (scalbn_test_data): Likewise.
13812 (scalbln_test_data): Likewise.
13813 (signbit_test_data): Likewise.
13814 (sqrt_test_data): Likewise.
13815 (significand_test_data): Likewise.
13817 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13820 * benchtests/bench-modf.c (struct args): Mark arg0 as
13822 * scripts/bench.pl: Mark members of struct args as volatile.
13824 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13827 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13828 negative infinity on POWER6 or lower.
13829 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13831 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13834 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13835 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13836 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13837 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13838 (_FP_SETQNAN): New macro.
13839 (_FP_SETQNAN_SEMIRAW): Likewise.
13840 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13841 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13842 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13843 (FP_EXTEND): Use _FP_FRAC_SNANP.
13844 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13845 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13849 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13852 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13854 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13855 with DIVIDE_BY_ZERO_EXCEPTION.
13856 (gamma_test_data): Likewise.
13857 (lgamma_test_data): Likewise.
13858 (log_test_data): Likewise.
13859 (log10_test_data): Likewise.
13860 (log2_test_data): Likewise.
13861 (tgamma_test_data): Likewise.
13863 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13864 (acos_test_tonearest): Likewise.
13865 (acos_test_towardzero): Likewise.
13866 (acos_test_downward): Likewise.
13867 (acos_test_upward): Likewise.
13868 (acosh_test): Likewise.
13869 (asin_test): Likewise.
13870 (asin_test_tonearest): Likewise.
13871 (asin_test_towardzero): Likewise.
13872 (asin_test_downward): Likewise.
13873 (asin_test_upward): Likewise.
13874 (asinh_test): Likewise.
13875 (atan_test): Likewise.
13876 (atanh_test): Likewise.
13877 (atan2_test): Likewise.
13878 (cabs_test): Likewise.
13879 (cacos_test): Likewise.
13880 (cacosh_test): Likewise.
13881 (casin_test): Likewise.
13882 (casinh_test): Likewise.
13883 (catan_test): Likewise.
13884 (catanh_test): Likewise.
13885 (cbrt_test): Likewise.
13886 (ccos_test): Likewise.
13887 (ccosh_test): Likewise.
13888 (cexp_test): Likewise.
13889 (clog_test): Likewise.
13890 (clog10_test): Likewise.
13891 (cos_test): Likewise.
13892 (cos_test_tonearest): Likewise.
13893 (cos_test_towardzero): Likewise.
13894 (cos_test_downward): Likewise.
13895 (cos_test_upward): Likewise.
13896 (cosh_test): Likewise.
13897 (cosh_test_tonearest): Likewise.
13898 (cosh_test_towardzero): Likewise.
13899 (cosh_test_downward): Likewise.
13900 (cosh_test_upward): Likewise.
13901 (cpow_test): Likewise.
13902 (csin_test): Likewise.
13903 (csinh_test): Likewise.
13904 (csqrt_test): Likewise.
13905 (ctan_test): Likewise.
13906 (ctan_test_tonearest): Likewise.
13907 (ctan_test_towardzero): Likewise.
13908 (ctan_test_downward): Likewise.
13909 (ctan_test_upward): Likewise.
13910 (ctanh_test): Likewise.
13911 (ctanh_test_tonearest): Likewise.
13912 (ctanh_test_towardzero): Likewise.
13913 (ctanh_test_downward): Likewise.
13914 (ctanh_test_upward): Likewise.
13915 (erf_test): Likewise.
13916 (erfc_test): Likewise.
13917 (exp_test): Likewise.
13918 (exp_test_tonearest): Likewise.
13919 (exp_test_towardzero): Likewise.
13920 (exp_test_downward): Likewise.
13921 (exp_test_upward): Likewise.
13922 (exp10_test): Likewise.
13923 (exp2_test): Likewise.
13924 (expm1_test): Likewise.
13925 (fmod_test): Likewise.
13926 (gamma_test): Likewise.
13927 (hypot_test): Likewise.
13928 (j0_test): Likewise.
13929 (j1_test): Likewise.
13930 (jn_test): Likewise.
13931 (lgamma_test): Likewise.
13932 (log_test): Likewise.
13933 (log10_test): Likewise.
13934 (log1p_test): Likewise.
13935 (log2_test): Likewise.
13936 (logb_test_downward): Likewise.
13937 (pow_test): Likewise.
13938 (pow_test_tonearest): Likewise.
13939 (pow_test_towardzero): Likewise.
13940 (pow_test_downward): Likewise.
13941 (pow_test_upward): Likewise.
13942 (remainder_test): Likewise.
13943 (remquo_test): Likewise.
13944 (sin_test): Likewise.
13945 (sin_test_tonearest): Likewise.
13946 (sin_test_towardzero): Likewise.
13947 (sin_test_downward): Likewise.
13948 (sin_test_upward): Likewise.
13949 (sincos_test): Likewise.
13950 (sinh_test): Likewise.
13951 (sinh_test_tonearest): Likewise.
13952 (sinh_test_towardzero): Likewise.
13953 (sinh_test_downward): Likewise.
13954 (sinh_test_upward): Likewise.
13955 (sqrt_test): Likewise.
13956 (tan_test): Likewise.
13957 (tan_test_tonearest): Likewise.
13958 (tan_test_towardzero): Likewise.
13959 (tan_test_downward): Likewise.
13960 (tan_test_upward): Likewise.
13961 (tanh_test): Likewise.
13962 (tgamma_test): Likewise.
13963 (y0_test): Likewise.
13964 (y1_test): Likewise.
13965 (yn_test): Likewise.
13967 * math/gen-libm-test.pl (adjust_arg): Remove function.
13968 (special_function): Remove argument $in_func. Only handle
13969 generating output for tables of tests, not inside functions.
13970 (parse_args): Likewise.
13971 (generate_testfile): Remove variable $in_func. Update call to
13973 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13974 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13975 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13976 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13977 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13978 (MAX_VALUE_INIT): Rename macro to max_value.
13979 (MIN_VALUE_INIT): Rename macro to min_value.
13980 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13981 (plus_zero): Remove variable.
13982 (minus_zero): Likewise.
13983 (plus_infty): Likewise.
13984 (minus_infty): Likewise.
13985 (qnan_value): Likewise.
13986 (max_value): Likewise.
13987 (min_value): Likewise.
13988 (min_subnorm_value): Likewise.
13990 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13992 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13993 uint64_t or uint32_t usage.
13994 * crypt/sha256-block.c: Likewise.
13995 * crypt/sha256-crypt.c: Likewise.
13996 * crypt/sha256.c: Likewise.
13997 * crypt/sha512-block.c: Likewise.
13998 * crypt/sha512-crypt.c: Likewise.
13999 * crypt/sha512.c: Likewise.
14000 * debug/backtrace-tst.c: Likewise.
14001 * debug/pcprofiledump.c: Likewise.
14002 * elf/cache.c: Likewise.
14003 * elf/dl-cache.c: Likewise.
14004 * elf/dl-misc.c: Likewise.
14005 * elf/dl-profile.c: Likewise.
14006 * elf/dl-support.c: Likewise.
14007 * elf/ldconfig.c: Likewise.
14008 * elf/sprof.c: Likewise.
14009 * iconv/dummy-repertoire.c: Likewise.
14010 * iconv/iconv_charmap.c: Likewise.
14011 * iconv/skeleton.c: Likewise.
14012 * iconvdata/8bit-generic.c: Likewise.
14013 * iconvdata/cp737.h: Likewise.
14014 * iconvdata/cp775.h: Likewise.
14015 * iconvdata/ibm1008.h: Likewise.
14016 * iconvdata/ibm1025.h: Likewise.
14017 * iconvdata/ibm1046.h: Likewise.
14018 * iconvdata/ibm1097.h: Likewise.
14019 * iconvdata/ibm1112.h: Likewise.
14020 * iconvdata/ibm1122.h: Likewise.
14021 * iconvdata/ibm1123.h: Likewise.
14022 * iconvdata/ibm1124.h: Likewise.
14023 * iconvdata/ibm1129.h: Likewise.
14024 * iconvdata/ibm1130.h: Likewise.
14025 * iconvdata/ibm1132.h: Likewise.
14026 * iconvdata/ibm1133.h: Likewise.
14027 * iconvdata/ibm1137.h: Likewise.
14028 * iconvdata/ibm1140.h: Likewise.
14029 * iconvdata/ibm1141.h: Likewise.
14030 * iconvdata/ibm1142.h: Likewise.
14031 * iconvdata/ibm1143.h: Likewise.
14032 * iconvdata/ibm1144.h: Likewise.
14033 * iconvdata/ibm1145.h: Likewise.
14034 * iconvdata/ibm1146.h: Likewise.
14035 * iconvdata/ibm1147.h: Likewise.
14036 * iconvdata/ibm1148.h: Likewise.
14037 * iconvdata/ibm1149.h: Likewise.
14038 * iconvdata/ibm1153.h: Likewise.
14039 * iconvdata/ibm1154.h: Likewise.
14040 * iconvdata/ibm1155.h: Likewise.
14041 * iconvdata/ibm1156.h: Likewise.
14042 * iconvdata/ibm1157.h: Likewise.
14043 * iconvdata/ibm1158.h: Likewise.
14044 * iconvdata/ibm1160.h: Likewise.
14045 * iconvdata/ibm1161.h: Likewise.
14046 * iconvdata/ibm1162.h: Likewise.
14047 * iconvdata/ibm1163.h: Likewise.
14048 * iconvdata/ibm1164.h: Likewise.
14049 * iconvdata/ibm1166.h: Likewise.
14050 * iconvdata/ibm1167.h: Likewise.
14051 * iconvdata/ibm12712.h: Likewise.
14052 * iconvdata/ibm1390.h: Likewise.
14053 * iconvdata/ibm1399.h: Likewise.
14054 * iconvdata/ibm16804.h: Likewise.
14055 * iconvdata/ibm4517.h: Likewise.
14056 * iconvdata/ibm4899.h: Likewise.
14057 * iconvdata/ibm4909.h: Likewise.
14058 * iconvdata/ibm4971.h: Likewise.
14059 * iconvdata/ibm5347.h: Likewise.
14060 * iconvdata/ibm803.h: Likewise.
14061 * iconvdata/ibm856.h: Likewise.
14062 * iconvdata/ibm901.h: Likewise.
14063 * iconvdata/ibm902.h: Likewise.
14064 * iconvdata/ibm9030.h: Likewise.
14065 * iconvdata/ibm9066.h: Likewise.
14066 * iconvdata/ibm921.h: Likewise.
14067 * iconvdata/ibm922.h: Likewise.
14068 * iconvdata/ibm9448.h: Likewise.
14069 * iconvdata/isiri-3342.h: Likewise.
14070 * iconvdata/jis0201.h: Likewise.
14071 * include/link.h: Likewise.
14072 * include/netdb.h: Likewise.
14073 * inet/check_native.c: Likewise.
14074 * inet/check_pf.c: Likewise.
14075 * inet/getipv4sourcefilter.c: Likewise.
14076 * inet/getnameinfo.c: Likewise.
14077 * inet/getsourcefilter.c: Likewise.
14078 * inet/htonl.c: Likewise.
14079 * inet/setipv4sourcefilter.c: Likewise.
14080 * inet/setsourcefilter.c: Likewise.
14081 * inet/test-inet6_opt.c: Likewise.
14082 * inet/tst-network.c: Likewise.
14083 * locale/C-collate.c: Likewise.
14084 * locale/C-ctype.c: Likewise.
14085 * locale/C-time.c: Likewise.
14086 * locale/C-translit.h: Likewise.
14087 * locale/loadarchive.c: Likewise.
14088 * locale/programs/3level.h: Likewise.
14089 * locale/programs/charmap.c: Likewise.
14090 * locale/programs/charmap.h: Likewise.
14091 * locale/programs/ld-address.c: Likewise.
14092 * locale/programs/ld-collate.c: Likewise.
14093 * locale/programs/ld-ctype.c: Likewise.
14094 * locale/programs/ld-identification.c: Likewise.
14095 * locale/programs/ld-measurement.c: Likewise.
14096 * locale/programs/ld-messages.c: Likewise.
14097 * locale/programs/ld-monetary.c: Likewise.
14098 * locale/programs/ld-name.c: Likewise.
14099 * locale/programs/ld-numeric.c: Likewise.
14100 * locale/programs/ld-paper.c: Likewise.
14101 * locale/programs/ld-telephone.c: Likewise.
14102 * locale/programs/ld-time.c: Likewise.
14103 * locale/programs/linereader.c: Likewise.
14104 * locale/programs/locale.c: Likewise.
14105 * locale/programs/locarchive.c: Likewise.
14106 * locale/programs/locfile.h: Likewise.
14107 * locale/programs/repertoire.c: Likewise.
14108 * locale/programs/simple-hash.c: Likewise.
14109 * locale/programs/simple-hash.h: Likewise.
14110 * malloc/memusage.c: Likewise.
14111 * malloc/memusagestat.c: Likewise.
14112 * nis/nis_defaults.c: Likewise.
14113 * nis/nis_hash.c: Likewise.
14114 * nis/nis_print.c: Likewise.
14115 * nis/nis_xdr.c: Likewise.
14116 * nscd/connections.c: Likewise.
14117 * nscd/hstcache.c: Likewise.
14118 * nscd/nscd_gethst_r.c: Likewise.
14119 * nscd/nscd_getserv_r.c: Likewise.
14120 * nscd/nscd_helper.c: Likewise.
14121 * nscd/servicescache.c: Likewise.
14122 * nss/makedb.c: Likewise.
14123 * nss/nss_db/db-XXX.c: Likewise.
14124 * nss/nss_db/db-initgroups.c: Likewise.
14125 * nss/nss_db/db-netgrp.c: Likewise.
14126 * nss/nss_files/files-network.c: Likewise.
14127 * nss/nss_files/files-parse.c: Likewise.
14128 * posix/bug-regex5.c: Likewise.
14129 * posix/fnmatch_loop.c: Likewise.
14130 * posix/regcomp.c: Likewise.
14131 * posix/regexec.c: Likewise.
14132 * posix/tst-rfc3484-2.c: Likewise.
14133 * posix/tst-rfc3484-3.c: Likewise.
14134 * posix/tst-rfc3484.c: Likewise.
14135 * resolv/nss_dns/dns-canon.c: Likewise.
14136 * resolv/nss_dns/dns-network.c: Likewise.
14137 * resolv/res_init.c: Likewise.
14138 * resolv/res_mkquery.c: Likewise.
14139 * resolv/tst-aton.c: Likewise.
14140 * stdlib/cxa_atexit.c: Likewise.
14141 * stdlib/cxa_finalize.c: Likewise.
14142 * stdlib/gen-fpioconst.c: Likewise.
14143 * stdlib/strtol_l.c: Likewise.
14144 * string/tst-endian.c: Likewise.
14145 * sunrpc/auth_des.c: Likewise.
14146 * sunrpc/clnt_udp.c: Likewise.
14147 * sunrpc/rtime.c: Likewise.
14148 * sunrpc/svcauth_des.c: Likewise.
14149 * sunrpc/xdr.c: Likewise.
14150 * sunrpc/xdr_intXX_t.c: Likewise.
14151 * sunrpc/xdr_rec.c: Likewise.
14152 * sysdeps/generic/ldconfig.h: Likewise.
14153 * sysdeps/generic/ldsodefs.h: Likewise.
14154 * sysdeps/generic/memusage.h: Likewise.
14155 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14158 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14165 * sysdeps/posix/getaddrinfo.c: Likewise.
14166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14168 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14169 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14170 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14171 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14172 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14173 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14174 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14175 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14176 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14177 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14178 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14179 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14181 * sysdeps/x86_64/dl-tls.h: Likewise.
14182 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14183 * time/alt_digit.c: Likewise.
14184 * time/era.c: Likewise.
14185 * wcsmbs/tst-c16c32-1.c: Likewise.
14187 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14189 * math/libm-test.inc (struct test_sincos_data): New type.
14190 (RUN_TEST_LOOP_sincos): New macro.
14191 (sincos_test_data): New variable.
14192 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14194 2013-05-16 Richard Henderson <rth@redhat.com>
14196 * math/atest-exp2.c (LIMB64): New macro.
14197 (CONSTSZ): New macro.
14198 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14200 (print_mpn_fp): ... to function scope.
14201 (read_mpn_hex): Remove.
14202 (get_log2): Remove.
14203 (exp2_mpn): Use mp_log2.
14204 (main): Use mp_exp1.
14206 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14208 * math/libm-test.inc: Remove comment about not testing "inexact"
14210 (INEXACT_EXCEPTION): New macro.
14211 (NO_INEXACT_EXCEPTION): Likewise.
14212 (INVALID_EXCEPTION_OK): Update value.
14213 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14214 (OVERFLOW_EXCEPTION_OK): Likewise.
14215 (UNDERFLOW_EXCEPTION_OK): Likewise.
14216 (IGNORE_ZERO_INF_SIGN): Likewise.
14217 (ERRNO_UNCHANGED): Likewise.
14218 (ERRNO_EDOM): Likewise.
14219 (ERRNO_ERANGE): Likewise.
14220 (test_exceptions): Handle testing "inexact" exceptions.
14221 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14222 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14223 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14224 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14226 (rint_towardzero_test_data): Likewise.
14227 (rint_downward_test_data): Likewise.
14228 (rint_upward_test_data): Likewise.
14230 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14231 with OVERFLOW_EXCEPTION.
14232 (exp10_test_data): Likewise.
14233 (exp2_test_data): Likewise.
14234 (expm1_test_data): Likewise.
14235 (lgamma_test_data): Likewise.
14236 (pow_test_data): Likewise.
14237 (tgamma_test_data): Likewise.
14238 (yn_test_data): Remove duplicate test of overflow.
14240 * math/libm-test.inc (struct test_cc_c_data): New type.
14241 (RUN_TEST_LOOP_cc_c): New macro.
14242 (cpow_test_data): New variable.
14243 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14245 * math/libm-test.inc (struct test_f_L_data): New type.
14246 (RUN_TEST_LOOP_f_L): New macro.
14247 (llrint_test_data): New variable.
14248 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14249 (llrint_tonearest_test_data): New variable.
14250 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14251 (llrint_towardzero_test_data): New variable.
14252 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14253 (llrint_downward_test_data): New variable.
14254 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14255 (llrint_upward_test_data): New variable.
14256 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14257 (llround_test_data): New variable.
14258 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14260 2013-05-13 Peter Collingbourne <pcc@google.com>
14262 * math/atest-exp2.c (get_log2): Remove const attribute.
14264 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14266 * math/libm-test.inc (struct test_f_l_data): New type.
14267 (RUN_TEST_LOOP_f_l): New macro.
14268 (lrint_test_data): New variable.
14269 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14270 (lrint_tonearest_test_data): New variable.
14271 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14272 (lrint_towardzero_test_data): New variable.
14273 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14274 (lrint_downward_test_data): New variable.
14275 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14276 (lrint_upward_test_data): New variable.
14277 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14278 (lround_test_data): New variable.
14279 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14281 2013-05-15 Peter Collingbourne <pcc@google.com>
14283 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14284 (EXTRACT_WORDS64) Use where appropriate.
14285 (INSERT_WORDS64) Likewise.
14287 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14288 constraints with x constraints.
14289 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14291 * malloc/obstack.c (_obstack_compat): Add initializer.
14293 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14296 si_trapno and add si_addr_lsb to _sifields.sigfault.
14297 (si_trapno): Remove macro.
14298 (si_addr_lsb): Define new macro.
14299 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14301 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14303 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14304 instead of TEST_f_l.
14305 (llrint_test_tonearest): Likewise.
14306 (llrint_test_towardzero): Likewise.
14307 (llrint_test_downward): Likewise.
14308 (llrint_test_upward): Likewise.
14309 (llround_test): Likewise.
14311 * math/libm-test.inc (struct test_f_i_data): Add comment.
14312 (RUN_TEST_LOOP_f_b): New macro.
14313 (RUN_TEST_LOOP_f_b_tg): Likewise.
14314 (finite_test_data): New variable.
14315 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14316 (isfinite_test_data): New variable.
14317 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14318 (isinf_test_data): New variable.
14319 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14320 (isnan_test_data): New variable.
14321 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14322 (isnormal_test_data): New variable.
14323 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14324 (issignaling_test_data): New variable.
14325 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14326 (signbit_test_data): New variable.
14327 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14329 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14330 with INVALID_EXCEPTION.
14331 (acosh_test_data): Likewise.
14332 (asin_test_data): Likewise.
14333 (atanh_test_data): Likewise.
14334 (fmod_test_data): Likewise.
14335 (log_test_data): Likewise.
14336 (log10_test_data): Likewise.
14337 (log2_test_data): Likewise.
14338 (pow_test_data): Likewise.
14339 (sqrt_test_data): Likewise.
14340 (y0_test_data): Likewise.
14341 (y1_test_data): Likewise.
14342 (yn_test_data): Likewise.
14344 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14347 * math/libm-test.inc (struct test_ff_i_data): New type.
14348 (RUN_TEST_LOOP_ff_i_tg): New macro.
14349 (isgreater_test_data): New variable.
14350 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14351 (isgreaterequal_test_data): New variable.
14352 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14353 (isless_test_data): New variable.
14354 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14355 (islessequal_test_data): New variable.
14356 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14357 (islessgreater_test_data): New variable.
14358 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14359 (isunordered_test_data): New variable.
14360 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14362 2013-05-14 David S. Miller <davem@davemloft.net>
14364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14366 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14368 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14370 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14372 (struct test_f_i_data): Change type of max_ulp to int.
14374 * math/libm-test.inc (test_ffI_f1_data): New type.
14375 (RUN_TEST_LOOP_ffI_f1): New macro.
14376 (remquo_test_data): New variable.
14377 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14379 * setjmp/tst-setjmp-fp.c: New file.
14380 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14381 (link-libm): New variable.
14382 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14384 * math/libm-test.inc (struct test_f_i_data): New type.
14385 (RUN_TEST_LOOP_f_i): New macro.
14386 (RUN_TEST_LOOP_f_i_tg): Likewise.
14387 (fpclassify_test_data): New variable.
14388 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14389 (ilogb_test_data): New variable.
14390 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14392 * math/libm-test.inc (scalbln_test): Correct function name in END
14395 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14396 (RUN_TEST_LOOP_fI_f1): New macro.
14397 (frexp_test_data): New variable.
14398 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14400 * math/libm-test.inc (struct test_fF_f1_data): New type.
14401 (RUN_TEST_LOOP_fF_f1): New macro.
14402 (modf_test_data): New variable.
14403 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14405 * math/libm-test.inc (struct test_f_f1_data): New type.
14406 (RUN_TEST_LOOP_f_f1): New macro.
14407 (gamma_test_data): New variable.
14408 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14409 (lgamma_test_data): New variable.
14410 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14412 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14414 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14415 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14416 (main): Comment "tls" pseudo-hwcap.
14418 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14420 * math/libm-test.inc (struct test_fl_f_data): New type.
14421 (RUN_TEST_LOOP_fl_f): New variable.
14422 (scalbln_test_data): New variable.
14423 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14425 * math/libm-test.inc (struct test_fi_f_data): New type.
14426 (RUN_TEST_LOOP_fi_f): New macro.
14427 (ldexp_test_data): New variable.
14428 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14429 (scalbn_test_data): New variable.
14430 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14432 * math/libm-test.inc (struct test_c_f_data): New type.
14433 (RUN_TEST_LOOP_c_f): New macro.
14434 (cabs_test_data): New variable.
14435 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14436 (carg_test_data): New variable.
14437 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14438 (cimag_test_data): New variable.
14439 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14440 (creal_test_data): New variable.
14441 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14443 * math/libm-test.inc (struct test_if_f_data): New type.
14444 (RUN_TEST_LOOP_if_f): New macro.
14445 (jn_test_data): New variable.
14446 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14447 (yn_test_data): New variable.
14448 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14450 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14452 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14454 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14455 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14457 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14459 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14460 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14461 (bench-deps): Add bench-timing.h.
14462 * benchtests-bench-skeleton.c: Include bench-timing.h.
14463 (main): Use TIMING_* macros instead of clock_gettime.
14464 * benchtests/bench-timing.h: New file.
14467 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14468 Renamed from _LIB_VERSION.
14469 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14471 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14473 * math/libm-test.inc (struct test_fff_f_data): New type.
14474 (RUN_TEST_LOOP_fff_f): New macro.
14475 (fma_test_data): New variable.
14476 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14477 (fma_towardzero_test_data): New variable.
14478 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14479 (fma_downward_test_data): New variable.
14480 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14481 (fma_upward_test_data): New variable.
14482 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14484 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14485 (struct test_c_c_data): New type.
14486 (RUN_TEST_LOOP_c_c): New macro.
14487 (cacos_test_data): New variable.
14488 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14489 (cacosh_test_data): New variable.
14490 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14491 (casin_test_data): New variable.
14492 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14493 (casinh_test_data): New variable.
14494 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14495 (catan_test_data): New variable.
14496 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14497 (catanh_test_data): New variable.
14498 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14499 (ccos_test_data): New variable.
14500 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14501 (ccosh_test_data): New variable.
14502 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14503 (cexp_test_data): New variable.
14504 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14505 (clog_test_data): New variable.
14506 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14507 (clog10_test_data): New variable.
14508 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14509 (conj_test_data): New variable.
14510 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14511 (cproj_test_data): New variable.
14512 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14513 (csin_test_data): New variable.
14514 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14515 (csinh_test_data): New variable.
14516 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14517 (csqrt_test_data): New variable.
14518 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14519 (ctan_test_data): New variable.
14520 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14521 (ctan_tonearest_test_data): New variable.
14522 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14523 (ctan_towardzero_test_data): New variable.
14524 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14525 (ctan_downward_test_data): New variable.
14526 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14527 (ctan_upward_test_data): New variable.
14528 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14529 (ctanh_test_data): New variable.
14530 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14531 (ctanh_tonearest_test_data): New variable.
14532 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14533 (ctanh_towardzero_test_data): New variable.
14534 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14535 (ctanh_downward_test_data): New variable.
14536 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14537 (ctanh_upward_test_data): New variable.
14538 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14539 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14542 * math/libm-test.inc (struct test_ff_f_data): New type.
14543 (struct test_ff_f_data_nexttoward): Likewise.
14544 (RUN_TEST_LOOP_2_f): New macro.
14545 (RUN_TEST_LOOP_ff_f): Likewise.
14546 (atan2_test_data): New variable.
14547 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14548 (copysign_test_data): New variable.
14549 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14550 (fdim_test_data): New variable.
14551 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14552 (fmax_test_data): New variable.
14553 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14554 (fmin_test_data): New variable.
14555 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14556 (fmod_test_data): New variable.
14557 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14558 (hypot_test_data): New variable.
14559 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14560 (nextafter_test_data): New variable.
14561 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14562 (nexttoward_test_data): New variable.
14563 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14564 (pow_test_data): New variable.
14565 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14566 (pow_tonearest_test_data): New variable.
14567 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14568 (pow_towardzero_test_data): New variable.
14569 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14570 (pow_downward_test_data): New variable.
14571 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14572 (pow_upward_test_data): New variable.
14573 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14574 (remainder_test_data): New variable.
14575 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14576 (scalb_test_data): New variable.
14577 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14578 * sysdeps/i386/fpu/libm-test-ulps: Update.
14580 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14582 * math/libm-test.inc (fma_test): Use max_value instead of local
14584 (nextafter_test): Likewise.
14586 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14587 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14588 (acos_downward_test_data): New variable.
14589 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14590 (acos_upward_test_data): New variable.
14591 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14592 (acosh_test_data): New variable.
14593 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (asin_test_data): New variable.
14595 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (asin_tonearest_test_data): New variable.
14597 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14598 (asin_towardzero_test_data): New variable.
14599 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14600 (asin_downward_test_data): New variable.
14601 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14602 (asin_upward_test_data): New variable.
14603 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14604 (asinh_test_data): New variable.
14605 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14606 (atan_test_data): New variable.
14607 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14608 (atanh_test_data): New variable.
14609 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14610 (cbrt_test_data): New variable.
14611 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14612 (ceil_test_data): New variable.
14613 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14614 (cos_test_data): New variable.
14615 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14616 (cos_tonearest_test_data): New variable.
14617 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14618 (cos_towardzero_test_data): New variable.
14619 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14620 (cos_downward_test_data): New variable.
14621 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14622 (cos_upward_test_data): New variable.
14623 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14624 (cosh_test_data): New variable.
14625 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14626 (cosh_tonearest_test_data): New variable.
14627 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14628 (cosh_towardzero_test_data): New variable.
14629 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14630 (cosh_downward_test_data): New variable.
14631 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14632 (cosh_upward_test_data): New variable.
14633 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14634 (erf_test_data): New variable.
14635 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14636 (erfc_test_data): New variable.
14637 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14638 (exp_test_data): New variable.
14639 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14640 (exp_tonearest_test_data): New variable.
14641 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14642 (exp_towardzero_test_data): New variable.
14643 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14644 (exp_downward_test_data): New variable.
14645 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14646 (exp_upward_test_data): New variable.
14647 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14648 (exp10_test_data): New variable.
14649 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14650 (exp2_test_data): New variable.
14651 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14652 (expm1_test_data): New variable.
14653 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14654 (fabs_test_data): New variable.
14655 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14656 (floor_test_data): New variable.
14657 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14658 (j0_test_data): New variable.
14659 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14660 (j1_test_data): New variable.
14661 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14662 (log_test_data): New variable.
14663 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14664 (log10_test_data): New variable.
14665 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14666 (log1p_test_data): New variable.
14667 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14668 (log2_test_data): New variable.
14669 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14670 (logb_test_data): New variable.
14671 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14672 (logb_downward_test_data): New variable.
14673 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14674 (nearbyint_test_data): New variable.
14675 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14676 (rint_test_data): New variable.
14677 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14678 (rint_tonearest_test_data): New variable.
14679 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14680 (rint_towardzero_test_data): New variable.
14681 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14682 (rint_downward_test_data): New variable.
14683 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14684 (rint_upward_test_data): New variable.
14685 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14686 (round_test_data): New variable.
14687 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14688 (sin_test_data): New variable.
14689 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14690 (sin_tonearest_test_data): New variable.
14691 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14692 (sin_towardzero_test_data): New variable.
14693 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14694 (sin_downward_test_data): New variable.
14695 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14696 (sin_upward_test_data): New variable.
14697 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14698 (sinh_test_data): New variable.
14699 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14700 (sinh_tonearest_test_data): New variable.
14701 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14702 (sinh_towardzero_test_data): New variable.
14703 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14704 (sinh_downward_test_data): New variable.
14705 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14706 (sinh_upward_test_data): New variable.
14707 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14708 (sqrt_test_data): New variable.
14709 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14710 (tan_test_data): New variable.
14711 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14712 (tan_tonearest_test_data): New variable.
14713 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14714 (tan_towardzero_test_data): New variable.
14715 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14716 (tan_downward_test_data): New variable.
14717 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14718 (tan_upward_test_data): New variable.
14719 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14720 (tanh_test_data): New variable.
14721 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14722 (tgamma_test_data): New variable.
14723 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14724 (trunc_test_data): New variable.
14725 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14726 (y0_test_data): New variable.
14727 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14728 (y1_test_data): New variable.
14729 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14730 (significand_test_data): New variable.
14731 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14733 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14736 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14738 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14740 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14742 2013-05-10 Andreas Jaeger <aj@suse.de>
14745 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14746 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14748 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14750 * math/gen-libm-test.pl (adjust_arg): New function.
14751 (special_functions): Handle generating output in both functions
14753 (parse_args): Likewise.
14754 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14755 $in_func argument to parse_args.
14756 * math/libm-test.inc (struct test_f_f_data): New type.
14757 (IF_ROUND_INIT_): New macro.
14758 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14759 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14760 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14761 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14762 (ROUND_RESTORE_): Likewise.
14763 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14764 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14765 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14766 (ROUND_RESTORE_FE_UPWARD): Likewise.
14767 (RUN_TEST_LOOP_f_f): New macro.
14768 (acos_test_data): New variable.
14769 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14770 (acos_tonearest_test_data): New variable.
14771 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14773 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14775 * benchtests/bench-skeleton.c (startup): Fix coding style.
14777 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14780 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14781 negative infinity argument.
14782 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14783 negative infinity argument.
14784 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14785 negative infinity argument.
14786 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14789 2013-05-10 Florian Weimer <fweimer@redhat.com>
14791 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14792 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14793 * iconv/iconv_prog.c (main): Likewise.
14794 * locale/programs/charmap-dir.c (charmap_readdir)
14795 (fopen_uncompressed): Likewise.
14796 * locale/programs/locfile.c (siblings_uncached)
14797 (write_locale_data): Use lstat64 instead of lstat.
14798 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14801 2013-05-10 Andreas Jaeger <aj@suse.de>
14804 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14806 Include <locale.h>.
14808 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14810 * elf/dl-close.c (_dl_close_worker): Add comments.
14812 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14817 (__ieee754_rem_pio2l): Update comments.
14820 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14822 (__ieee754_rem_pio2l): Update comments.
14824 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14825 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14827 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14830 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14831 (M_PI_34_LOG10El): Likewise.
14832 (M_PI2_LOG10El): Likewise.
14833 (M_PI4_LOG10El): Likewise.
14834 (M_PI_LOG10El): Likewise.
14836 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14840 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14842 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14843 (MINUS_ZERO_INIT): Likewise.
14844 (PLUS_INFTY_INIT): Likewise.
14845 (MINUS_INFTY_INIT): Likewise.
14846 (QNAN_VALUE_INIT): Likewise.
14847 (MAX_VALUE_INIT): Likewise.
14848 (MIN_VALUE_INIT): Likewise.
14849 (MIN_SUBNORM_VALUE_INIT): Likewise.
14850 (plus_zero): Initialize with PLUS_ZERO_INIT.
14851 (minus_zero): Initialize with MINUS_ZERO_INIT.
14852 (plus_infty): Initialize with PLUS_INFTY_INIT.
14853 (minus_infty): Initialize with MINUS_INFTY_INIT.
14854 (qnan_value): Initialize with QNAN_VALUE_INIT.
14855 (max_value): Initialize with MAX_VALUE_INIT.
14856 (min_value): Initialize with MIN_VALUE_INIT.
14857 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14859 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14860 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14861 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14862 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14864 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14865 (RUN_TEST_2_f): Likewise.
14866 (RUN_TEST_ff_f): Likewise.
14867 (RUN_TEST_fi_f): Likewise.
14868 (RUN_TEST_fl_f): Likewise.
14869 (RUN_TEST_fff_f): Likewise.
14870 (RUN_TEST_c_f): Likewise.
14871 (RUN_TEST_f_f1): Likewise.
14872 (RUN_TEST_fF_f1): Likewise.
14873 (RUN_TEST_fI_f1): Likewise.
14874 (RUN_TEST_ffI_f1): Likewise.
14875 (RUN_TEST_c_c): Likewise.
14876 (RUN_TEST_cc_c): Likewise.
14877 (RUN_TEST_f_i): Likewise.
14878 (RUN_TEST_f_i_tg): Likewise.
14879 (RUN_TEST_ff_i_tg): Likewise.
14880 (RUN_TEST_f_b): Likewise.
14881 (RUN_TEST_f_b_tg): Likewise.
14882 (RUN_TEST_f_l): Likewise.
14883 (RUN_TEST_f_L): Likewise.
14884 (RUN_TEST_sincos): Likewise.
14885 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14886 whether to show exceptions. Do not include ");\n" in return
14888 (special_functions): Output call to RUN_TEST_sincos instead of
14889 check_float calls. Update calls to new_test.
14890 (parse_args): Output call to single RUN_TEST_* macro instead of
14891 check_* calls and other assignments. Update calls to new_test.
14897 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14898 input to result for tgamma overflow.
14899 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14900 (gamma_coeff): New variable.
14901 (NCOEFF): New macro.
14902 (gamma_positive): New function.
14903 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14904 underflow here. Use gamma_positive instead of exp (lgamma) for
14906 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14907 (gamma_coeff): New variable.
14908 (NCOEFF): New macro.
14909 (gammaf_positive): New function.
14910 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14911 underflow here. Use gamma_positive instead of exp (lgamma) for
14913 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14914 (gamma_coeff): New variable.
14915 (NCOEFF): New macro.
14916 (gammal_positive): New function.
14917 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14918 underflow here. Use gamma_positive instead of exp (lgamma) for
14920 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14921 (gamma_coeff): New variable.
14922 (NCOEFF): New macro.
14923 (gammal_positive): New function.
14924 (__ieee754_gammal_r): Handle positive infinity, overflow and
14925 underflow here. Handle NaN the same as positive infinity. Remove
14926 check x < 0xffffffff for negative integers. Use gamma_positive
14927 instead of exp (lgamma) for other arguments.
14928 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14929 (gamma_coeff): New variable.
14930 (NCOEFF): New macro.
14931 (gammal_positive): New function.
14932 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14933 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14937 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14938 * sysdeps/generic/math_private.h (__gamma_productf): New
14940 (__gamma_product): Likewise.
14941 (__gamma_productl): Likewise.
14942 * math/Makefile (libm-calls): Add gamma_product.
14943 * math/libm-test.inc (tgamma_test): Add more tests.
14944 * sysdeps/i386/fpu/libm-test-ulps: Update.
14945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14949 * benchtests/bench-skeleton.c (main): Preheat CPU.
14951 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14953 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14955 2013-05-07 Roland McGrath <roland@hack.frob.com>
14957 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14958 and _dl_skip_args_internal.
14960 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14962 * manual/message.texi (Message Translation): Talk about users.
14963 Message to key mapping impacts design.
14965 2013-05-06 Roland McGrath <roland@hack.frob.com>
14967 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14969 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14971 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14972 * sysdeps/wordsize-64/glob64.c: ... here.
14974 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14975 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14978 * debug/getlogin_r_chk.c: Moved to ...
14979 * login/getlogin_r_chk.c: ... here.
14980 * debug/Makefile (routines): Move getlogin_r_chk to ...
14981 * login/Makefile (routines): ... here.
14982 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14983 * login/Versions (libc: GLIBC_2.4): ... here.
14985 * io/poll.c (__poll): Renamed from poll.
14986 Add libc_hidden_def.
14987 (poll): Define as weak alias.
14989 * debug/ptsname_r_chk.c: Moved to ...
14990 * login/ptsname_r_chk.c: ... here.
14991 * debug/Makefile (routines): Move ptsname_r_chk to ...
14992 * login/Makefile (routines): ... here.
14993 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14994 * login/Versions (libc: GLIBC_2.4): ... here.
14996 * posix/getlogin.c: Moved to ...
14997 * login/getlogin.c: ... here.
14998 * posix/getlogin_r.c: Moved to ...
14999 * login/getlogin_r.c: ... here.
15000 * posix/getlogin_r.c: Moved to ...
15001 * login/getlogin_r.c: ... here.
15002 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15003 * login/Makefile (routines): ... here.
15004 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15005 * login/Versions (libc: GLIBC_2.0): ... here.
15007 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15008 (setrlimit): Define as weak alias.
15010 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15011 Call __ names for open, ftruncate, and close.
15012 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15013 (truncate): Define as weak alias.
15015 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15017 * math/gen-libm-test.pl (parse_args): Initialize x before each
15018 test of frexp, modf and remquo.
15020 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15021 test signgam value.
15023 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15027 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15029 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15031 2013-05-06 Roland McGrath <roland@hack.frob.com>
15033 * elf/dl-writev.h: New file.
15034 * elf/dl-misc.c: Include it.
15035 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15036 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15038 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15040 * math/libm-test.inc (noXFails): Remove variable.
15041 (noXPasses): Likewise.
15042 (BUILD_COMPLEX_INT): Remove macro.
15043 (print_screen): Remove xfail argument.
15044 (print_screen_max_error): Likewise.
15045 (update_stats): Likewise.
15046 (print_max_error): Likewise. Update calls to other affected
15048 (print_complex_max_error): Likewise.
15049 (test_single_exception): Update calls to print_screen.
15050 (test_single_errno): Likewise.
15051 (check_float_internal): Remove xfail argument. Update calls to
15052 other affected functions.
15053 (check_float): Likewise.
15054 (check_complex): Likewise.
15055 (check_int): Likewise.
15056 (check_long): Likewise.
15057 (check_bool): Likewise.
15058 (check_longlong): Likewise.
15059 (main): Don't print noXFails and noXPasses.
15060 * math/gen-libm-test.pl (top level): Don't mention expected
15061 failure handling in comment.
15062 (new_test): Don't handle expected failures.
15063 (parse_args): Don't mention expected failure handling in comment.
15064 (generate_testfile): Don't handle expected failures.
15065 (parse_ulps): Likewise.
15066 (print_ulps_file): Likewise.
15067 (get_failure): Remove function.
15068 (output_test): Don't handle expected failures.
15069 * make/README.libm-test: Don't mention expected failure handling.
15071 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15072 (minus_zero): Likewise.
15073 (plus_infty): Likewise.
15074 (minus_infty): Likewise.
15075 (qnan_value): Likewise.
15076 (max_value): Likewise.
15077 (min_value): Likewise.
15078 (min_subnorm_value): Likewise.
15079 (initialize): Do not initialize those variables dynamically.
15081 2013-05-03 Roland McGrath <roland@hack.frob.com>
15083 * io/open.c (__open_2): Moved to ...
15084 * io/open_2.c: ... this new file.
15085 * io/open64.c (__open64_2): Moved to ...
15086 * io/open64_2.c: ... this new file.
15087 * io/openat.c (__openat_2): Moved to ...
15088 * io/openat_2.c: ... this new file.
15089 * io/openat64.c (__openat64_2): Moved to ...
15090 * io/openat64_2.c: ... this new file.
15091 * io/Makefile (routines): Add them.
15092 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15093 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15094 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15095 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15096 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15097 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15098 (__openat64): Add hidden_ver.
15099 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15100 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15102 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15103 Separately conditionalize setting of GLRO(dl_sysinfo) so
15104 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15105 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15107 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15109 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15112 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15113 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15114 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15115 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15116 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15118 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15120 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15121 test signgam value.
15123 * math/libm-test.inc (hypot_test): Do not use
15124 IGNORE_ZERO_INF_SIGN.
15126 2013-05-03 Andreas Jaeger <aj@suse.de>
15128 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15130 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15131 (PF_MAX): Adjust for VSOCK change.
15133 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15137 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15140 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15141 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15142 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15144 2013-05-02 David S. Miller <davem@davemloft.net>
15146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15148 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15150 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15152 2013-05-01 Roland McGrath <roland@hack.frob.com>
15154 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15156 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15159 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15160 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15161 Use __attribute__ ((__gnu_inline__)).
15162 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15163 Don't use __attribute__ ((__gnu_inline__)).
15165 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15168 * math/s_catan.c (__catan): Handle small real or imaginary part of
15169 input specially to avoid spurious underflow.
15170 * math/s_catanf.c (__catanf): Likewise.
15171 * math/s_catanh.c (__catanh): Likewise.
15172 * math/s_catanhf.c (__catanhf): Likewise.
15173 * math/s_catanhl.c (__catanhl): Likewise.
15174 * math/s_catanl.c (__catanl): Likewise.
15175 * math/libm-test.inc (catan_test): Add more tests.
15176 (catanh_test): Likewise.
15177 * sysdeps/i386/fpu/libm-test-ulps: Update.
15178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15180 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15184 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15187 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15188 accurately for denominator in atan2.
15189 * math/s_catanf.c (__catanf): Likewise.
15190 * math/s_catanh.c (__catanh): Likewise.
15191 * math/s_catanhf.c (__catanhf): Likewise.
15192 * math/s_catanhl.c (__catanhl): Likewise.
15193 * math/s_catanl.c (__catanl): Likewise.
15194 * math/libm-test.inc (catan_test): Add more tests.
15195 (catanh_test): Likewise.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15199 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15201 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15203 * benchtests/Makefile (bench): Remove slow benchmarks.
15204 * benchtests/atan-inputs: Add slow benchmark inputs.
15205 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15206 (BENCH_FUNC): Accept variant offset.
15208 * benchtests/bench-skeleton.c (main): Run benchmark for each
15210 * benchtests/cos-inputs: Add slow benchmark inputs.
15211 * benchtests/exp-inputs: Likewise.
15212 * benchtests/pow-inputs: Likewise.
15213 * benchtests/sin-inputs: Likewise.
15214 * benchtests/slowatan-inputs: Remove.
15215 * benchtests/slowatan.c: Remove.
15216 * benchtests/slowcos-inputs: Remove.
15217 * benchtests/slowcos.c: Remove.
15218 * benchtests/slowexp-inputs: Remove.
15219 * benchtests/slowexp.c: Remove.
15220 * benchtests/slowpow-inputs: Remove.
15221 * benchtests/slowpow.c: Remove.
15222 * benchtests/slowsin-inputs: Remove.
15223 * benchtests/slowsin.c: Remove.
15224 * benchtests/slowtan-inputs: Remove.
15225 * benchtests/slowtan.c: Remove.
15226 * benchtests/tan-inputs: Add slow benchmark inputs.
15227 * scripts/bench.pl: Parse comments and directives.
15229 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15231 ($(objpfx)bench-%.c): Remove *-ITER.
15232 * benchtests/bench-modf.c: Remove definition of ITER.
15233 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15234 (main): Loop for DURATION seconds instead of fixed number of
15236 * scripts/bench.pl: Don't expect iterations in parameters.
15238 2013-04-29 Roland McGrath <roland@hack.frob.com>
15240 * io/fchdir.c (__fchdir): Renamed from fchdir.
15241 (fchdir): Define as weak alias.
15243 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15245 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15246 (ERRNO_EDOM): Likewise.
15247 (ERRNO_ERANGE): Likewise.
15248 (noErrnoTests): New variable.
15249 (init_max_error): Set errno to 0.
15250 (test_single_errno): New function.
15251 (test_errno): Likewise.
15252 (check_float_internal): Call test_errno. Set errno to 0.
15253 (check_complex): Refer to errno tests in comment.
15254 (check_int): Call test_errno. Set errno to 0.
15255 (check_long): Likewise.
15256 (check_bool): Likewise.
15257 (check_longlong): Likewise.
15258 (cos_test): Use ERRNO_* flags for errno tests instead of
15260 (expm1_test): Likewise.
15261 (fmod_test): Likewise.
15262 (ilogb_test): Likewise.
15263 (lgamma_test): Likewise.
15264 (pow_test): Likewise.
15265 (remainder_test): Likewise.
15266 (sin_test): Likewise.
15267 (tan_test): Likewise.
15268 (yn_test): Likewise.
15269 (initialize): Set errno to 0.
15270 (main): Print number of errno tests.
15271 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15273 2013-04-29 Andreas Jaeger <aj@suse.de>
15276 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15280 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15281 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15285 * stdlib/random.c (__initstate): Return NULL if
15289 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15290 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15293 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15297 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15299 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15300 of individual tests.
15301 (casin_test): Likewise.
15302 (casinh_test): Likewise.
15304 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15307 * math/s_catan.c (__catan): Handle arguments with large real or
15308 imaginary part separately without squaring.
15309 * math/s_catanf.c (__catanf): Likewise.
15310 * math/s_catanh.c (__catanh): Likewise.
15311 * math/s_catanhf.c (__catanhf): Likewise.
15312 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15314 (__catanhl): Handle arguments with large real or imaginary part
15315 separately without squaring.
15316 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15318 (__catanl): Handle arguments with large real or imaginary part
15319 separately without squaring.
15320 * math/libm-test.inc (catan_test): Add more tests.
15321 (catanh_test): Likewise.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15325 2013-04-27 Andreas Jaeger <aj@suse.de>
15328 * stdlib/stdlib.h: Update guards for qecvt.
15329 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15332 2013-04-27 Allan McRae <allan@archlinux.org>
15334 * sysdeps/i386/fpu/libm-test-ulps: Update.
15336 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15339 * math/s_catan.c: Include <float.h>.
15340 (__catan): Ensure underflow exception occurs for underflowed
15342 * math/s_catanf.c: Include <float.h>.
15343 (__catanf): Ensure underflow exception occurs for underflowed
15345 * math/s_catanh.c: Include <float.h>.
15346 (__catanh): Ensure underflow exception occurs for underflowed
15348 * math/s_catanhf.c: Include <float.h>.
15349 (__catanhf): Ensure underflow exception occurs for underflowed
15351 * math/s_catanhl.c: Include <float.h>.
15352 (__catanhl): Ensure underflow exception occurs for underflowed
15354 * math/s_catanl.c: Include <float.h>.
15355 (__catanl): Ensure underflow exception occurs for underflowed
15357 * math/libm-test.inc (catan_test): Add more tests.
15358 (catanh_test): Likewise.
15361 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15362 underflowed result.
15363 * math/s_ccoshf.c (__ccoshf): Likewise.
15364 * math/s_ccoshl.c (__ccoshl): Likewise.
15365 * math/s_csin.c (__csin): Likewise.
15366 * math/s_csinf.c (__csinf): Likewise.
15367 * math/s_csinh.c (__csinh): Likewise.
15368 * math/s_csinhf.c (__csinhf): Likewise.
15369 * math/s_csinhl.c (__csinhl): Likewise.
15370 * math/s_csinl.c (__csinl): Likewise.
15371 * math/libm-test.inc (ccos_test): Add more tests.
15372 (ccosh_test): Likewise.
15373 (csin_test): Likewise.
15374 (csinh_test): Likewise.
15376 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15378 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15379 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15380 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15381 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15382 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15383 powerpc/power5+/fpu folders.
15384 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15387 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15391 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15393 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15394 additions to variable.
15395 [$(config-machine) = x86_64] (modules-names): Likewise.
15396 ($(objpfx)tst-audit3): Remove dependency.
15397 ($(objpfx)tst-audit3.out): Likewise.
15398 ($(objpfx)tst-audit4): Likewise.
15399 ($(objpfx)tst-audit4.out): Likewise.
15400 ($(objpfx)tst-audit5): Likewise.
15401 ($(objpfx)tst-audit5.out): Likewise.
15402 ($(objpfx)tst-audit6): Likewise.
15403 ($(objpfx)tst-audit6.out): Likewise.
15404 ($(objpfx)tst-audit7): Likewise.
15405 ($(objpfx)tst-audit7.out): Likewise.
15406 (tst-audit3-ENV): Remove variable.
15407 (tst-audit4-ENV): Likewise.
15408 (tst-audit5-ENV): Likewise.
15409 (tst-audit6-ENV): Likewise.
15410 (tst-audit7-ENV): Likewise.
15411 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15412 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15413 addition to variable.
15414 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15415 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15416 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15417 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15418 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15419 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15420 tst-audit3, tst-audit4 and tst-audit5.
15421 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15422 tst-audit6 and tst-audit7.
15423 [$(subdir) = elf] (modules-names): Add audit modules for those
15425 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15426 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15427 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15428 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15429 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15430 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15431 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15432 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15433 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15434 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15435 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15436 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15437 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15438 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15439 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15440 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15442 [$(subdir) = elf && $(config-cflags-avx) = yes]
15443 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15444 [$(subdir) = elf && $(config-cflags-avx) = yes]
15445 (CFLAGS-tst-auditmod4a.c): Likewise.
15446 [$(subdir) = elf && $(config-cflags-avx) = yes]
15447 (CFLAGS-tst-auditmod4b.c): Likewise.
15448 [$(subdir) = elf && $(config-cflags-avx) = yes]
15449 (CFLAGS-tst-auditmod6b.c): Likewise.
15450 [$(subdir) = elf && $(config-cflags-avx) = yes]
15451 (CFLAGS-tst-auditmod6c.c): Likewise.
15452 [$(subdir) = elf && $(config-cflags-avx) = yes]
15453 (CFLAGS-tst-auditmod7b.c): Likewise.
15454 * elf/tst-audit3.c: Move to ...
15455 * sysdeps/x86_64/tst-audit3.c: ... here.
15456 * elf/tst-audit4.c: Move to ...
15457 * sysdeps/x86_64/tst-audit4.c: ... here.
15458 * elf/tst-audit5.c: Move to ...
15459 * sysdeps/x86_64/tst-audit5.c: ... here.
15460 * elf/tst-audit6.c: Move to ...
15461 * sysdeps/x86_64/tst-audit6.c: ... here.
15462 * elf/tst-audit7.c: Move to ...
15463 * sysdeps/x86_64/tst-audit7.c: ... here.
15464 * elf/tst-auditmod3a.c: Move to ...
15465 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15466 * elf/tst-auditmod3b.c: Move to ...
15467 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15468 * elf/tst-auditmod4a.c: Move to ...
15469 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15470 * elf/tst-auditmod4b.c: Move to ...
15471 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15472 * elf/tst-auditmod5a.c: Move to ...
15473 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15474 * elf/tst-auditmod5b.c: Move to ...
15475 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15476 * elf/tst-auditmod6a.c: Move to ...
15477 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15478 * elf/tst-auditmod6b.c: Move to ...
15479 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15480 * elf/tst-auditmod6c.c: Move to ...
15481 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15482 * elf/tst-auditmod7a.c: Move to ...
15483 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15484 * elf/tst-auditmod7b.c: Move to ...
15485 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15487 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15490 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15491 define unconditionally.
15492 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15493 define unconditionally.
15494 (INT8_C, INT16_C, etc.): Likewise.
15496 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15498 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15499 __ehdr_start with hidden visibility.
15501 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15503 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15505 * math/libm-test.inc (cos_test): Use accurate hex constants.
15506 (sincost_test): Likewise.
15508 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15510 * math/libm-test.inc (catan_test): Add more tests.
15511 (catanh_test): Likewise.
15513 * math/s_catanf.c (__catanf): Use suffixed floating-point
15515 * math/s_catanhf.c (__catanhf): Likewise.
15516 * math/s_catanhl.c (__catanhl): Likewise.
15517 * math/s_catanl.c (__catanl): Likewise.
15520 * math/s_catan.c (__catan): Calculate imaginary part of result
15521 with log1p not log unless computing log of number close to 0.
15522 * math/s_catanf.c (__catanf): Likewise.
15523 * math/s_catanl.c (__catanl): Likewise.
15524 * math/s_catanh.c (__catanh): Calculate real part of result with
15525 log1p not log unless computing log of number close to 0.
15526 * math/s_catanhf.c (__catanhf): Likewise.
15527 * math/s_catanhl.c (__catanhl): Likewise.
15528 * math/libm-test.inc (catan_test): Add more tests.
15529 (catanh_test): Likewise.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update.
15531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15533 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15535 * benchtests/Makefile: Mention files in which fast and slow
15536 paths of math functions are implemented.
15538 2013-04-23 Roland McGrath <roland@hack.frob.com>
15540 * sysdeps/posix/timespec_get.c: New file.
15542 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15544 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15546 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15548 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15549 powerpc/power5/fpu folders.
15550 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15551 * benchtests/Makefile: Add modf testcase.
15552 * benchtests/bench-modf.c: New file: Benchmark test for mo
15554 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * time/Makefile (tests): Add tst-strptime-whitespace.
15558 * time/strptime_l.c (get_number): Use ISSPACE.
15559 (__strptime_internal): Likewise.
15560 * time/tst-strptime-whitespace.c: New test case.
15562 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15564 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15566 (_nss_files_init): Set it here.
15568 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15570 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15571 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15574 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15576 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15578 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15583 2013-04-21 David S. Miller <davem@davemloft.net>
15585 * po/ru.po: Update Russion translation from translation project.
15587 2013-04-17 Adam Conrad <adconrad@0c3.net>
15589 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15592 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15594 * configure.in: Remove i386 configure warning. Remove i386 case.
15595 * configure: Regenerate.
15596 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15597 Add example to error message.
15598 * sysdeps/i386/configure: Regenerate.
15600 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15602 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15604 * benchtests/cos-inputs: New file.
15605 * benchtests/slowcos-inputs: New file.
15606 * benchtests/slowcos.c: New file.
15607 * benchtests/slowtan-inputs: New file.
15608 * benchtests/slowtan.c: New file.
15609 * benchtests/tan-inputs: New file.
15611 2013-04-16 Roland McGrath <roland@hack.frob.com>
15613 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15616 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15618 * benchtests/Makefile: Include cppflags-iterator.mk to add
15619 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15621 * Makefile.in (bench-clean): New target.
15622 * benchtests/Makefile (bench-clean): Likewise.
15624 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15626 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15628 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15630 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15632 2013-04-15 Andreas Schwab <schwab@suse.de>
15634 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15635 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15636 * nscd/pwdcache.c (cache_addpw): Likewise.
15637 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15640 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15642 * benchtests/Makefile (bench): Write all output to
15643 bench-out.tmp together.
15645 2013-04-15 Andreas Schwab <schwab@suse.de>
15647 * nscd/nscd.c (main): Don't fork again after closing files.
15649 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15653 * benchtests/Rules (bench-deps): Collect dependencies into a
15654 single variable. Add Makefile to dependencies.
15655 ($(objpfx)bench-%.c): Depend on bench-deps.
15657 2013-04-12 Roland McGrath <roland@hack.frob.com>
15658 Xavier Roche <roche+kml2@exalead.com>
15661 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15662 just that it's a file descriptor.
15663 * manual/llio.texi (Synchronizing AIO Operations): Update description
15664 for EBADF error from aio_fsync.
15666 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * Rules (bench): Move target definition...
15669 * benchtests/Makefile: ... here.
15671 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15673 * math/libm-test.inc (cos_test): Fix PI/2 test.
15674 (sincos_test): Likewise.
15675 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15676 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15678 2013-04-11 Andreas Schwab <schwab@suse.de>
15681 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15682 accept exponent character only when digits were seen.
15683 * stdio-common/Makefile (tests): Add bug26.
15684 * stdio-common/bug26.c: New file.
15687 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15690 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15692 * Makeconfig (rtld-prefix): Define built linker prefix.
15693 * Rules (run-bench): Use it.
15694 * math/Makefile (run-regen-ulps): Likewise.
15696 * Rules (bench): Remove eval.
15698 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15699 Roland McGrath <roland@hack.frob.com>
15700 Ondrej Bilka <neleai@seznam.cz>
15703 * time/getdate.c: Include ctype.h and alloca.h.
15704 (__getdate_r): Trim leading and trailing spaces of input.
15705 * time/tst-getdate.c (tests): Add tests with leading and
15708 2013-04-08 Roland McGrath <roland@hack.frob.com>
15711 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15712 when computing value.
15714 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15716 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15717 Use testrun.sh to run libm tests.
15720 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15722 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15725 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15727 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15729 * Makefile.in (regen-ulps): New target.
15730 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15731 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15732 [ifneq (no,$(PERL)] (regen-ulps): New target.
15733 [ifeq (no,$(PERL)] (regen-ulps): New target.
15734 * math/libm-test.inc (ulps_file_name): Define.
15735 (output_dir): New variable.
15736 (options): Add "output-dir" option.
15737 (parse_opt): Handle 'o' case.
15738 (main): If output_dir is non-NULL use it as a prefix
15740 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15742 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15744 [BZ #10060, #10062]
15745 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15746 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15747 fail configure if __sync_val_compare_and_swap is not inlined.
15748 * sysdeps/i386/configure: Regenerate.
15749 * configure.in: Build for i686 when configured for i386.
15750 * configure: Regenerate.
15751 * README: Remove i386 reference.
15753 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15755 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15758 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15760 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15761 (lmsnanval): New variables.
15762 (F): Add conversion tests.
15763 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15764 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15766 * stdio-common/tstdiomisc.c (F): Properly collect individual
15769 [BZ #14686, #15336]
15770 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15771 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15772 Instead, use input NaN values or generate a qNaN by arithmetic
15773 operation. Also fix bugs to comply with the standard.
15774 * math/libm-test.inc (remainder_test): Add more tests.
15776 [BZ #15335, #15342]
15777 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15779 input NaN values or generate a qNaN by arithmetic operation.
15781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15784 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15787 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15790 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15791 underflowed result.
15792 * math/s_cexpf.c (__cexpf): Likewise.
15793 * math/s_cexpl.c (__cexpl): Likewise.
15794 * math/libm-test.inc (cexp_test): Add more tests.
15796 2013-04-03 Andreas Schwab <schwab@suse.de>
15799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15800 order arrays from heap if bigger than alloca cutoff.
15802 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15804 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15805 (SNAN_TESTS_double): Refer to GCC PR56831.
15806 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15809 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15811 * Rules (bench): Move bench.out after the run is complete.
15813 * Rules (bench): Echo currently running benchmark.
15815 * benchtests/Makefile (bench): Add atan and slowatan.
15816 * benchtests/atan-inputs: New file.
15817 * benchtests/slowatan-inputs: New file.
15818 * benchtests/slowatan.c: New file.
15820 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15825 * sysdeps/unix/sysv/linux/kernel-features.h
15826 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15827 __ASSUME_XFS_RESTRICTED_CHOWN.
15828 * sysdeps/unix/sysv/linux/pathconf.c
15829 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15830 Save and restore errno.
15832 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15835 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15836 arguments using __kernel_casinh.
15837 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15838 arguments using __kernel_casinhf.
15839 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15840 arguments using __kernel_casinhl.
15841 * math/libm-test.inc (cacosh_test): Add more tests.
15842 * sysdeps/i386/fpu/libm-test-ulps: Update.
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15845 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15847 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15850 * bench/Makefile (bench): Add sin and slowsin.
15851 * benchtests/sin-inputs: New file.
15852 * benchtests/slowsin-inputs: New file.
15853 * benchtests/slowsin.c: New file.
15855 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15856 (bench): Add slowexp and slowpow.
15857 (exp-ITER): Increase iterations.
15858 (pow-ITER): Likewise.
15859 * benchtests/exp-inputs: Change input.
15860 * benchtests/pow-inputs: Likewise.
15861 * benchtests/slowexp-inputs: New file.
15862 * benchtests/slowexp.c: New file.
15863 * benchtests/slowpow-inputs: New file.
15864 * benchtests/slowpow.c: New file.
15866 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15868 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15870 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15871 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15872 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15873 * benchtests/Makefile: Add rint benchtest.
15874 * benchtests/rint-inputs: Input for rint benchtest.
15876 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15878 * Versions.def (libm): Add GLIBC_2.18.
15879 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15880 hidden libm prototypes.
15881 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15882 * math/Makefile (libm-calls): Add s_issignaling.
15883 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15884 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15885 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15887 * math/math.h [__USE_GNU] (issignaling): New macro.
15888 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15889 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15891 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15894 * manual/arith.texi (issignaling): New section.
15895 * manual/libm-err-tab.pl (@all_functions): Update comment.
15896 * math/gen-libm-test.pl (parse_args): Apply special handling for
15898 * math/libm-test.inc (print_float, issignaling_test): New
15900 (check_float_internal): Add issignaling checks.
15901 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15902 default definition.
15903 * sysdeps/powerpc/math-tests.h: New file.
15904 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15906 * math/test-snan.c (TEST_FUNC): Likewise.
15908 2013-03-30 David S. Miller <davem@davemloft.net>
15910 * po/de.po: Update from translation team.
15912 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15915 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15916 imaginary part less than 1.0 and real part less than 0.5
15918 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15919 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15920 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15921 (cacos_test): Add more tests.
15922 (casin_test): Likewise.
15923 (casinh_test): Likewise.
15924 * sysdeps/i386/fpu/libm-test-ulps: Update.
15925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15927 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15929 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15930 ONE with its value.
15932 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15933 (__pow_mp): Replace ONE and MONE with their values.
15934 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15936 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15937 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15938 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15941 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15943 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15944 (__pow_mp): Replace ZERO and MZERO with their values.
15945 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15946 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15949 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15950 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15953 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15955 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15957 2013-03-28 Roland McGrath <roland@hack.frob.com>
15959 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15960 Declare with __attribute__ ((weak)).
15961 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15962 Call __call_tls_dtors only if it's not NULL.
15964 2013-03-28 Roland McGrath <roland@hack.frob.com>
15966 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15967 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15968 magic __ehdr_start linker symbol if it's defined.
15969 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15970 them up here if it was already done.
15972 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15973 (_dl_aux_init): Use const in cast when setting it.
15974 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15975 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15976 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15978 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15980 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15981 * csu/libc-tls.c: Nor here.
15982 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15984 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15985 (__libc_message): Never call vsyslog.
15987 2013-03-28 Alan Modra <amodra@gmail.com>
15989 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15991 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15994 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16001 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16004 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16005 Don't add gid passed as argument.
16007 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16009 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16012 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16013 imaginary part between 1.0 and 1.5 and real part less than 0.5
16015 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16016 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16017 * math/libm-test.inc (cacos_test): Add more tests.
16018 (casin_test): Likewise.
16019 (casinh_test): Likewise.
16020 * sysdeps/i386/fpu/libm-test-ulps: Update.
16021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16025 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16028 (denorm): Likewise.
16029 (__dbl_mp): Likewise.
16030 (add_magnitudes): Likewise.
16031 (sub_magnitudes): Likewise.
16039 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16041 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16042 (__dubcos): Likewise.
16043 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16044 (__ieee754_acos): Likewise.
16045 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16046 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16047 (__exp1): Likewise.
16048 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16051 (my_log2): Likewise.
16052 (checkint): Likewise.
16053 * sysdeps/ieee754/dbl-64/e_remainder.c
16054 (__ieee754_remainder): Likewise.
16055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16057 (bsloww): Likewise.
16058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16060 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16061 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16062 MANTISSA_STORE_T to store computations on mantissa. Use
16063 macros for rounding and division.
16064 (denorm): Likewise.
16065 (__dbl_mp): Likewise.
16066 (add_magnitudes): Likewise.
16067 (sub_magnitudes): Likewise.
16070 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16071 powers of two in terms of TWOPOW macro.
16072 (mp_no): Make type of mantissa as MANTISSA_T.
16073 [!RADIXI]: Define RADIXI.
16074 [!TWO52]: Define TWO52.
16075 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16077 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16079 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16080 llroundl symbol when building for PPC32.
16082 2013-03-24 Mark H Weaver <mhw@netris.org>
16084 * manual/arith.texi (Normalization Functions): Fix prototypes for
16085 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16087 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16091 high value to check if expl overflow.
16092 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16093 to check for underflow and overflow.
16094 * math/libm-test.inc: Add exp test.
16096 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16099 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16102 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16104 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16107 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16109 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16110 wrap blocks consisting of several statements.
16112 * sysdeps/generic/math-tests.h: New file.
16113 * sysdeps/i386/fpu/math-tests.h: Likewise.
16114 * math/test-snan.c: Include it.
16115 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16117 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16120 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16121 (__ieee754_j0l): Do not improve calculations using cos of twice
16122 input for inputs above LDBL_MAX / 2.0L.
16123 (__ieee754_y0l): Likewise.
16124 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16125 (__ieee754_j1l): Do not improve calculations using cos of twice
16126 input for inputs above LDBL_MAX / 2.0L.
16127 (__ieee754_y1l): Likewise.
16128 * math/libm-test.inc (j0_test): Add another test.
16129 (j1_test): Likewise.
16130 (y0_test): Likewise.
16131 (y1_test): Likewise.
16132 * sysdeps/i386/fpu/libm-test-ulps: Update.
16134 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16136 * Rules ($(objpfx)bench-%.c): Include code from a C source
16139 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16143 imaginary part 1.0 and real part less than 0.5 specially.
16144 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16145 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16146 * math/libm-test.inc (cacos_test): Add more tests.
16147 (casin_test): Likewise.
16148 (casinh_test): Likewise.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16152 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16154 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16155 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16157 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16159 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16160 * config.make.in (config-cflags-sse4): Remove variable.
16161 (config-cflags-avx): Likewise.
16162 (config-cflags-sse2avx): Likewise.
16163 (config-cflags-novzeroupper): Likewise.
16164 (config-asflags-i686): Likewise.
16165 (have-mfma4): Likewise.
16166 (have-as-vis3): Likewise.
16168 * configure.in (MIG): Do not AC_SUBST.
16169 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16170 (libc_cv_cc_sse4): Do not AC_SUBST.
16171 (libc_cv_cc_avx): Likewise.
16172 (libc_cv_cc_sse2avx): Likewise.
16173 (libc_cv_cc_novzeroupper): Likewise.
16174 (libc_cv_cc_fma4): Likewise.
16175 (libc_cv_as_i686): Likewise.
16176 (libc_cv_sparc_as_vis3): Likewise.
16177 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16179 (config-asflags-i686): Likewise.
16180 (config-cflags-avx): Likewise.
16181 (config-cflags-sse2avx): Likewise.
16182 (have-mfma4): Likewise.
16183 (config-cflags-novzeroupper): Likewise.
16184 * sysdeps/mach/configure.in (MIG): Likewise.
16185 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16186 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16188 (config-cflags-avx): Likewise.
16189 (config-cflags-sse2avx): Likewise.
16190 (have-mfma4): Likewise.
16191 (config-cflags-novzeroupper): Likewise.
16192 * configure: Regenerated.
16193 * sysdeps/i386/configure: Likewise.
16194 * sysdeps/mach/configure: Likewise.
16195 * sysdeps/sparc/configure: Likewise.
16196 * sysdeps/x86_64/configure: Likewise.
16198 2013-03-20 Roland McGrath <roland@hack.frob.com>
16201 * locale/programs/localedef.c (options): Put N_ translation marker
16202 on argument names, not just descriptions.
16204 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16206 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16208 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16211 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16213 2013-03-19 Roland McGrath <roland@hack.frob.com>
16215 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16216 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16217 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16218 [!BEFORE_ABORT] (before_abort): New function.
16219 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16220 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16221 (writev_for_fatal): New function.
16222 (WRITEV_FOR_FATAL): New macro; call that.
16223 (backtrace_and_maps): New function.
16224 (BEFORE_ABORT): New macro; call that.
16225 (struct str_list): Type removed.
16226 (__libc_message, __libc_fatal): Functions removed.
16227 Include <sysdeps/posix/libc_fatal.c> instead.
16229 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16231 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16233 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16236 2013-03-19 Andreas Schwab <schwab@suse.de>
16238 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16239 * sysdeps/gnu/configure: Regenerate.
16241 * configure.in: Substitute libc_cv_rtlddir.
16242 * configure: Regenerate.
16243 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16244 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16245 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16246 * elf/Makefile (install-others, CFLAGS-interp.c)
16247 (ldso_install, common-ldd-rewrite): Likewise.
16248 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16249 $(inst_slibdir)/$(rtld-installed-name).
16250 * scripts/rellns-sh: Add -p option.
16251 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16254 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16256 * manual/nptl.texi: Renamed to ...
16257 * manual/threads.texi: ... this.
16258 * manual/Makefile (chapters): Update.
16260 2013-03-18 Roland McGrath <roland@hack.frob.com>
16263 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16264 on argument names, not just descriptions.
16265 * malloc/memusagestat.c (options): Likewise.
16266 * nss/getent.c (options): Likewise.
16268 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16271 * iconv/iconv_prog.c (options): Put N_ translation marker
16272 on argument names, not just descriptions.
16273 * iconv/iconvconfig.c (options): Likewise.
16275 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16277 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16278 implementation which is faster on all x86_64 architectures.
16279 Tested on AMD, Intel Nehalem, SNB, IVB.
16280 * sysdeps/x86_64/strnlen.S: Likewise.
16282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16283 Remove all multiarch strlen and strnlen versions.
16284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16285 Remove strlen and strnlen related parts.
16287 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16288 Inline strlen part.
16289 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16291 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16292 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16293 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16294 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16295 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16296 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16298 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16300 * manual/memory.texi (Malloc Tunable Parameters):
16301 Sort parameters alphabetically. Add comments for missing entries.
16303 2013-03-17 David S. Miller <davem@davemloft.net>
16305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16307 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16310 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16311 for arguments at most half maximum finite value.
16312 * math/libm-test.inc (j0_test): Add more tests.
16313 (j1_test): Likewise.
16314 (y0_test): Likewise.
16315 (y1_test): Likewise.
16316 * sysdeps/i386/fpu/libm-test-ulps: Update.
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16321 1 / x and functions P and Q for arguments above 0x1p256L.
16322 (__ieee754_y0l): Likewise.
16323 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16324 (__ieee754_y1l): Likewise.
16325 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16326 (j1_test): Likewise.
16327 (y0_test): Likewise.
16328 (y1_test): Likewise.
16330 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16332 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16335 2013-03-15 Roland McGrath <roland@hack.frob.com>
16337 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16338 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16339 zero since it's initialized to EXEC_PAGESIZE.
16341 * sysdeps/unix/sysv/linux/ldsodefs.h
16342 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16343 * sysdeps/generic/ldsodefs.h: ... here.
16345 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16347 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16349 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16351 * math/test-snan.c: Renamed from
16352 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16353 * math/Makefile (tests): Add test-snan.
16354 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16357 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16358 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16360 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16361 __builtin_nan family of functions.
16362 * math/libm-test.inc (initialize): Initialize qnan_value with
16363 __builtin_nan family of functions.
16364 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16366 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16368 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16369 storage class. Initialize qNaN_var and sNaN_var with
16370 __builtin_nan and __builtin_nans families of functions,
16373 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16374 (sqrt_test): Remove duplicate test with qNaN input.
16375 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16376 (round_test, signbit_test, significand_test): Note missing +/-Inf
16377 as well as qNaN tests.
16379 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16380 qNaN_var. Fix a few strings, too.
16381 * math/libm-test.inc (nan_value): Rename to qnan_value.
16382 * math/gen-libm-test.pl (%beautify): Adjust to that.
16383 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16384 * math/test-misc.c (main): Likewise.
16385 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16386 to __qnan_bytes, and __qnan_union, respectively.
16387 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16389 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16390 and lqnanval, respectively.
16391 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16392 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16393 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16394 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16396 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16397 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16400 * math/test-misc.c (main): Fix copy'n'pastos.
16401 * misc/tst-efgcvt.c (special): Likewise.
16403 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16404 Remove declarations.
16406 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16408 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16409 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16410 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16411 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16413 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16415 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16416 macro to return vdso values correctly in IFUNC implementations.
16417 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16418 Optimization by using IFUNC.
16420 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16421 Richard Henderson <rth@redhat.com>
16422 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16424 * Makefile.in (bench): New target.
16425 * NEWS: Mention the benchmark framework.
16426 * Rules (bench): Likewise.
16427 (binaries-bench): Generate binaries for functions to
16429 * benchtests/Makefile: New makefile for benchmark tests.
16430 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16432 * benchtests/exp-inputs: New input file for EXP function.
16433 * benchtests/pow-inputs: New input file for POW function.
16434 * scripts/bench.pl: New script to generate source files for
16435 benchmark programs.
16437 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16439 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16440 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16441 computations on mantissa. Use macros for rounding and
16443 (denorm): Likewise.
16444 (__dbl_mp): Likewise.
16445 (add_magnitudes): Likewise.
16446 (sub_magnitudes): Likewise.
16449 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16450 powers of two in terms of TWOPOW macro.
16451 (mp_no): Make type of mantissa as MANTISSA_T.
16452 [!RADIXI]: Define RADIXI.
16453 [!TWO52]: Define TWO52.
16454 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16456 * manual/nptl.texi (cindex): Modify threads to pthreads.
16458 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16460 * sysdeps/x86_64/preconfigure: Regenerated.
16462 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16465 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16467 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16468 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16470 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16471 * math/libm-test.inc (j0_test): Do not allow one spurious
16472 underflow exception.
16473 (y1_test): Likewise.
16475 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16477 * manual/Makefile (chapters): Add nptl.
16478 * manual/debug.texi (Debugging Support): Add link to Threads
16480 * manual/nptl.texi: New file.
16482 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16484 2013-03-14 Petr Baudis <pasky@ucw.cz>
16486 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16487 for non-NULL pointer before the memory validity test. Pointed
16488 out by Holger Brunck <holger.brunck@keymile.com>.
16490 2013-03-13 Andreas Schwab <schwab@suse.de>
16492 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16495 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16497 * timezone/zic.c: Update from tzcode 2013b.
16499 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16501 * manual/install.texi (Configuring and compiling):
16502 Mention i686 and i586.
16503 * INSTALL: Regenerate.
16505 2013-03-12 Roland McGrath <roland@hack.frob.com>
16507 * sysdeps/init_array/elf-init.c: New file.
16509 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16510 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16512 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16513 __gmon_start__ as global, but as static with a .preinit_array pointer.
16514 * sysdeps/init_array/gmon-start.c: New file. Use that.
16515 * sysdeps/init_array/crti.S: New file, empty except for comments.
16516 * sysdeps/init_array/crtn.S: Likewise.
16518 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16520 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16523 Remove Prefer_SSE_for_memop.
16524 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16525 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16526 HAS_PREFER_SSE_FOR_MEMOP.
16527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16530 Remove bzero, memset ifunc support.
16531 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16532 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16533 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16534 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16536 2013-03-11 Andreas Schwab <schwab@suse.de>
16539 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16542 (GLIBC_2.16): Remove pthread_atfork.
16544 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16546 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16547 (ptestcases.h): Likewise.
16549 2013-03-08 Roland McGrath <roland@hack.frob.com>
16551 * Makeconfig ($(common-objpfx)config.status): Depend on
16552 sysdeps/*/preconfigure{,.in} too.
16554 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16556 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16557 (__free_hook): Use void * instead of __malloc_ptr_t.
16558 (__malloc_hook): Likewise.
16559 (__realloc_hook): Likewise.
16560 (__memalign_hook): Likewise.
16561 (__after_morecore_hook): Likewise.
16562 * malloc/arena.c (save_malloc_hook): Likewise.
16563 (save_free_hook): Likewise.
16564 * malloc/hooks.c (malloc_hook_ini): Likewise.
16565 (realloc_hook_ini): Likewise.
16566 (memalign_hook_ini): Likewise.
16567 * malloc/malloc.c (malloc_hook_ini): Likewise.
16568 (realloc_hook_ini): Likewise.
16569 (memalign_hook_ini): Likewise.
16570 (__free_hook): Likewise.
16571 (__malloc_hook): Likewise.
16572 (__realloc_hook): Likewise.
16573 (__memalign_hook): Likewise.
16574 (__libc_malloc): Likewise.
16575 (__libc_free): Likewise.
16576 (__libc_realloc): Likewise.
16577 (__libc_memalign): Likewise.
16578 (__libc_valloc): Likewise.
16579 (__libc_pvalloc): Likewise.
16580 (__libc_calloc): Likewise.
16581 (__posix_memalign): Likewise.
16582 * malloc/morecore.c (__sbrk): Likewise.
16583 (__default_morecore): Likewise.
16585 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16587 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16588 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16589 __malloc_ptrdiff_t.
16591 * malloc/malloc.h (__malloc_size_t): Remove macro.
16592 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16594 (old_memalign_hook): Likewise.
16595 (old_realloc_hook): Likewise.
16596 (struct hdr): Likewise.
16598 (mallochook): Likewise.
16599 (memalignhook): Likewise.
16600 (reallochook): Likewise.
16601 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16602 (tr_old_realloc_hook): Likewise.
16603 (tr_old_memalign_hook): Likewise.
16604 (tr_mallochook): Likewise.
16605 (tr_reallochook): Likewise.
16606 (tr_memalignhook): Likewise.
16608 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16611 default_ldbl_pack and using as default implementation.
16612 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16614 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16615 redundant definition.
16616 (ldbl_insert_mantissa): Likewise.
16617 (ldbl_canonicalize): Likewise.
16618 (ldbl_nearbyint): Likewise.
16619 (ldbl_pack): Rename to ldbl_pack_ppc.
16620 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16621 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16622 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16624 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16627 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16629 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16631 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16632 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16633 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16635 2013-03-07 Andreas Jaeger <aj@suse.de>
16637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16640 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16642 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16643 Include mpa.h and declare __MPEXP.
16644 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16645 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16646 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16647 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16649 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16650 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16652 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16653 (__slowpow): Use long double EXPL and LOGL functions to
16655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16656 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16657 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16658 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16659 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16660 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16663 intermediate variable to calculate exponent.
16665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16669 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16670 [!NO__SQR]: Define __sqr.
16671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16672 and NO__SQR. Remove all code except __mul and __sqr. Include
16673 sysdeps/ieee754/dbl-64/mpa.c.
16674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16677 * posix/Makefile (tests): Add tst-pathconf.
16678 * posix/tst-pathconf.c: New test case.
16679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16681 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16683 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16685 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16687 2013-03-06 Andreas Jaeger <aj@suse.de>
16689 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16690 definition via __MAP_ANONYMOUS.
16692 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16693 it's not part of Linux headers.
16695 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16696 (MAP_HUGE_MASK): Define.
16698 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16700 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16703 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16704 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16706 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16707 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16709 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16711 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16712 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16713 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16714 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16715 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16716 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16722 Handle f2fs and efivarfs.
16724 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16727 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16728 (EFIVARFS_MAGIC): Add.
16729 (F2FS_LINK_MAX): Add.
16731 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16733 * stdio-common/vfprintf.c: Replace __builtin_expect with
16736 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16739 * sysdeps/generic/bp-sym.h: Remove file.
16740 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16741 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16742 <bp-sym.h> and <bp-asm.h>.
16743 (__longjmp): Don't use BP_SYM.
16744 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16746 (memcpy): Don't use BP_SYM.
16747 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (memcpy): Don't use BP_SYM.
16750 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16752 (memcpy): Don't use BP_SYM.
16753 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16755 (memset): Don't use BP_SYM.
16756 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16757 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16758 (__bzero): Don't use BP_SYM.
16759 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16760 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16761 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16762 <bp-sym.h> and <bp-asm.h>.
16763 (memcmp): Don't use BP_SYM. Remove comment about bounded
16765 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16766 <bp-sym.h> and <bp-asm.h>.
16767 (memcpy): Don't use BP_SYM.
16768 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (memset): Don't use BP_SYM.
16771 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16772 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16773 (__bzero): Don't use BP_SYM.
16774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16776 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16777 <bp-sym.h> and <bp-asm.h>.
16778 (strncmp): Don't use BP_SYM. Remove comment about bounded
16780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16781 <bp-sym.h> and <bp-asm.h>.
16782 (memcpy): Don't use BP_SYM.
16783 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16784 <bp-sym.h> and <bp-asm.h>.
16785 (memset): Don't use BP_SYM.
16786 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16787 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16788 (__bzero): Don't use BP_SYM.
16789 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16790 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16791 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__memchr): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (memcmp): Don't use BP_SYM. Remove comment about bounded
16798 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16799 <bp-sym.h> and <bp-asm.h>.
16800 (memcpy): Don't use BP_SYM.
16801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16802 <bp-sym.h> and <bp-asm.h>.
16803 (__mempcpy): Don't use BP_SYM.
16804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16805 <bp-sym.h> and <bp-asm.h>.
16806 (__memrchr): Don't use BP_SYM.
16807 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16808 <bp-sym.h> and <bp-asm.h>.
16809 (memset): Don't use BP_SYM.
16810 (__bzero): Likewise.
16811 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (__rawmemchr): Don't use BP_SYM.
16814 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (__STRCMP): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (strchr): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (__strchrnul): Don't use BP_SYM.
16823 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (strlen): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (strncmp): Don't use BP_SYM. Remove comment about bounded
16830 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (__strnlen): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (__GI__setjmp): Don't use BP_SYM.
16836 (_setjmp): Likewise.
16837 (__sigsetjmp): Likewise.
16838 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16839 (L(start_addresses)): Don't use BP_SYM.
16840 (_start): Likewise.
16841 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16843 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16844 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16845 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16846 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16847 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16849 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16850 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16851 about bounded pointers.
16852 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16853 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16854 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16856 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16857 about bounded pointers. Remove GKM FIXME comments.
16858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16859 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16861 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16862 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16863 Remove GKM FIXME comments.
16864 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16865 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16866 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16868 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16869 about bounded pointers. Remove GKM FIXME comment.
16870 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16872 (strncmp): Don't use BP_SYM. Remove comment about bounded
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16875 <bp-sym.h> and <bp-asm.h>.
16876 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16882 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16884 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16887 2013-03-05 David S. Miller <davem@davemloft.net>
16889 * po/es.po: Update from translation team.
16891 2013-03-05 Andreas Jaeger <aj@suse.de>
16893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16894 <bits/mman-linux.h>.
16895 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16897 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16898 <bits/mman-linux.h> to end of file.
16899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16901 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16902 <bits/mman-linux.h> to end of file.
16903 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16905 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16906 <bits/mman-linux.h> to end of file.
16908 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16909 (MCL_CURRENT, MCL_FUTURE): Define here.
16911 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16916 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16918 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16920 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16921 fourth parameter needed for rt_sigprocmask syscall.
16922 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16923 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16924 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16925 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16926 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16927 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16929 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16932 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16933 comment about bounded pointers.
16934 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16935 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16937 2013-03-04 Andreas Jaeger <aj@suse.de>
16939 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16940 common definitions.
16942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16943 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16944 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16945 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16946 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16949 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16953 __ieee754_sqrl instead of __sqrl.
16955 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16957 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16958 * sysdeps/powerpc/fpu_control.h: ... here.
16959 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16960 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16961 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16962 * sysdeps/powerpc/bits/mathinline.h: ... here.
16964 2013-03-01 Roland McGrath <roland@hack.frob.com>
16966 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16967 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16968 to just [NEED_DL_SYSINFO_DSO].
16969 * elf/dl-support.c: Likewise.
16970 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16971 * elf/rtld.c (dl_main): Likewise.
16972 * elf/setup-vdso.h (setup_vdso): Likewise.
16973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16974 * sysdeps/unix/sysv/linux/dl-sysdep.c
16975 (_dl_discover_osversion): Likewise.
16977 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16979 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16980 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16982 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16984 * NEWS: Mention libm performance improvements and non-x86 PI
16987 * csu/libc-start.c (__pthread_initialize_minimal): Change
16988 function arguments.
16989 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16991 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16994 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16995 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16996 <bp-sym.h> and <bp-asm.h>.
16997 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16998 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17000 (memcpy): Don't use BP_SYM.
17001 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17003 (__mpn_add_n): Don't use BP_SYM.
17004 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17005 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17007 (__mpn_addmul_1): Don't use BP_SYM.
17008 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17009 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17011 (_setjmp): Don't use BP_SYM.
17012 (__novmx_setjmp): Likewise.
17013 (__GI__setjmp): Likewise.
17014 (__vmx_setjmp): Likewise.
17015 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17017 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17018 (__bzero): Don't use BP_SYM.
17019 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (memcpy): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17025 <bp-sym.h> and <bp-asm.h>.
17026 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17027 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17030 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17032 (__mpn_lshift): Don't use BP_SYM.
17033 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17034 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17036 (memset): Don't use BP_SYM.
17037 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17038 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17039 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17041 (__mpn_mul_1): Don't use BP_SYM.
17042 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17044 <bp-sym.h> and <bp-asm.h>.
17045 (memcmp): Don't use BP_SYM.
17046 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17047 <bp-sym.h> and <bp-asm.h>.
17048 (memcpy): Don't use BP_SYM.
17049 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17050 <bp-sym.h> and <bp-asm.h>.
17051 (memset): Don't use BP_SYM.
17052 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17053 <bp-sym.h> and <bp-asm.h>.
17054 (strncmp): Don't use BP_SYM.
17055 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17056 <bp-sym.h> and <bp-asm.h>.
17057 (memcpy): Don't use BP_SYM.
17058 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17059 <bp-sym.h> and <bp-asm.h>.
17060 (memset): Don't use BP_SYM.
17061 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17062 <bp-sym.h> and <bp-asm.h>.
17063 (__memchr): Don't use BP_SYM.
17064 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17065 <bp-sym.h> and <bp-asm.h>.
17066 (memcmp): Don't use BP_SYM.
17067 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17068 <bp-sym.h> and <bp-asm.h>.
17069 (memcpy): Don't use BP_SYM.
17070 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17071 <bp-sym.h> and <bp-asm.h>.
17072 (__mempcpy): Don't use BP_SYM.
17073 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (__memrchr): Don't use BP_SYM.
17076 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17077 <bp-sym.h> and <bp-asm.h>.
17078 (memset): Don't use BP_SYM.
17079 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17080 <bp-sym.h> and <bp-asm.h>.
17081 (__rawmemchr): Don't use BP_SYM.
17082 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17083 <bp-sym.h> and <bp-asm.h>.
17084 (__STRCMP): Don't use BP_SYM.
17085 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17086 <bp-sym.h> and <bp-asm.h>.
17087 (strchr): Don't use BP_SYM.
17088 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17089 <bp-sym.h> and <bp-asm.h>.
17090 (__strchrnul): Don't use BP_SYM.
17091 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17092 <bp-sym.h> and <bp-asm.h>.
17093 (strlen): Don't use BP_SYM.
17094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17095 <bp-sym.h> and <bp-asm.h>.
17096 (strncmp): Don't use BP_SYM.
17097 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (__strnlen): Don't use BP_SYM.
17100 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17102 (__mpn_rshift): Don't use BP_SYM.
17103 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17104 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17105 <bp-sym.h> and <bp-asm.h>.
17106 (__sigsetjmp): Don't use BP_SYM.
17107 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17108 (L(start_addresses)): Don't use BP_SYM.
17109 (_start): Likewise.
17110 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17112 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17113 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17114 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17115 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17117 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17118 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17119 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17120 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17122 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17124 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17125 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17127 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17129 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17130 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17131 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17133 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17135 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17137 (strncmp): Don't use BP_SYM,
17138 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17140 (__mpn_sub_n): Don't use BP_SYM.
17141 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17142 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17144 (__mpn_submul_1): Don't use BP_SYM.
17145 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17147 <bp-sym.h> and <bp-asm.h>.
17148 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17150 <bp-sym.h> and <bp-asm.h>.
17151 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17154 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17157 Use ZK to minimize writes to Z.
17158 (sub_magnitudes): Simplify code a bit.
17159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17160 Use ZK to minimize writes to Z.
17161 (sub_magnitudes): Simplify code a bit.
17163 2013-02-27 Roland McGrath <roland@hack.frob.com>
17165 * csu/gmon-start.c: Add special exception to license text.
17167 2013-02-27 Richard Henderson <rth@redhat.com>
17169 * scripts/config.guess: Update from config.git.
17170 * scripts/config.sub: Likewise.
17172 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17176 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17178 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17180 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17182 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17184 2013-02-26 Roland McGrath <roland@hack.frob.com>
17186 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17187 [$(build-shared = yes].
17189 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17191 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17192 (__mul): Reduce iterations for calculating mantissa.
17194 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17196 (__mpranred): Likewise.
17199 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17200 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17202 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17204 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17205 Define __attribute__.
17207 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17209 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17211 * posix/regex_internal.h (__attribute): Remove.
17212 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17213 (re_string_context_at): Likewise.
17214 (bitset_not): Use __attribute__ and mark function as possibly
17216 (bitset_merge): Likewise.
17217 (bitset_mask): Likewise.
17218 (re_string_char_size_at): Likewise.
17219 (re_string_wchar_at): Likewise.
17220 (re_string_elem_size_at): Likewise.
17222 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17224 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17228 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17232 (denorm): Likewise.
17233 (__dbl_mp): Likewise.
17234 (add_magnitudes): Likewise.
17235 (sub_magnitudes): Likewise.
17239 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17242 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17245 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17249 up changes with default code.
17250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17253 2013-02-24 Allan McRae <allan@archlinux.org>
17255 * manual/socket.texi (The Internet Namespace): Order menu items
17256 to match that in the file.
17258 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17259 node listing of the info page menu.
17261 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/i386/bp-asm.h: Remove file.
17265 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17266 (PARMS): Do not use macros from bp-asm.h.
17270 (__mpn_add_n): Do not use BP_SYM
17271 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17273 (PARMS): Do not use macros from bp-asm.h.
17276 (__mpn_addmul_1): Do not use BP_SYM
17277 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17279 (PARMS): Do not use macros from bp-asm.h.
17280 (SIGMSK): Likewise.
17281 (_setjmp): Likewise. Do not use BP_SYM.
17282 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17284 (PARMS): Do not use macros from bp-asm.h.
17285 (SIGMSK): Likewise.
17286 (setjmp): Likewise. Do not use BP_SYM.
17287 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17289 (PARMS): Do not use macros from bp-asm.h.
17290 (__frexp): Do not use BP_SYM.
17292 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17294 (PARMS): Do not use macros from bp-asm.h.
17295 (__frexpf): Do not use BP_SYM.
17296 (frexpf): Likewise.
17297 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (__frexpl): Do not use BP_SYM.
17301 (frexpl): Likewise.
17302 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (__remquo): Do not use BP_SYM.
17306 (remquo): Likewise.
17307 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17309 (PARMS): Do not use macros from bp-asm.h.
17310 (__remquof): Do not use BP_SYM.
17311 (remquof): Likewise.
17312 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17314 (PARMS): Do not use macros from bp-asm.h.
17315 (__remquol): Do not use BP_SYM.
17316 (remquol): Likewise.
17317 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17319 (PARMS): Do not use macros from bp-asm.h.
17322 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17323 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17325 (PARMS): Do not use macros from bp-asm.h.
17326 (strlen): Do not use BP_SYM.
17327 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17329 (PARMS): Do not use macros from bp-asm.h.
17333 (__mpn_add_n): Do not use BP_SYM.
17334 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17339 (__mpn_addmul_1): Do not use BP_SYM.
17340 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17343 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17345 (PARMS): Do not use macros from bp-asm.h.
17348 (__mpn_lshift): Do not use BP_SYM.
17349 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17351 (PARMS): Do not use macros from bp-asm.h.
17355 (memcpy): Likewise. Do not use BP_SYM.
17356 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17357 libc_hidden_def and weak_alias.
17358 (mempcpy): Do not use BP_SYM in weak_alias.
17359 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17361 (PARMS): Do not use macros from bp-asm.h.
17364 [!BZERO_P] (CHR): Likewise.
17365 (memset): Likewise. Do not use BP_SYM.
17366 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17368 (PARMS): Do not use macros from bp-asm.h.
17371 (__mpn_mul_1): Do not use BP_SYM.
17372 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17374 (PARMS): Do not use macros from bp-asm.h.
17377 (__mpn_rshift): Do not use BP_SYM.
17378 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17380 (PARMS): Do not use macros from bp-asm.h.
17383 (strchr): Likewise. Do not use BP_SYM.
17384 (index): Do not use BP_SYM in weak_alias.
17385 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17387 (PARMS): Do not use macros from bp-asm.h.
17390 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17391 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17393 (PARMS): Do not use macros from bp-asm.h.
17394 (strlen): Do not use BP_SYM.
17395 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17397 (PARMS): Do not use macros from bp-asm.h.
17401 (__mpn_sub_n): Do not use BP_SYM.
17402 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17404 (PARMS): Do not use macros from bp-asm.h.
17407 (__mpn_submul_1): Do not use BP_SYM.
17408 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17410 (PARMS): Do not use macros from bp-asm.h.
17414 (__mpn_add_n): Do not use BP_SYM.
17415 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17418 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17423 (memcmp): Do not use BP_SYM.
17424 (bcmp): Do not use BP_SYM in weak_alias.
17425 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17427 (PARMS): Do not use macros from bp-asm.h.
17431 (memcpy): Likewise. Do not use BP_SYM.
17432 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17434 (PARMS): Do not use macros from bp-asm.h.
17438 (memmove): Likewise. Do not use BP_SYM.
17439 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17441 (PARMS): Do not use macros from bp-asm.h.
17445 (__mempcpy): Likewise. Do not use BP_SYM.
17446 (mempcpy): Do not use BP_SYM in weak_alias.
17447 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17449 (PARMS): Do not use macros from bp-asm.h.
17452 [!BZERO_P] (CHR): Likewise.
17453 (memset): Likewise. Do not use BP_SYM.
17454 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17456 (PARMS): Do not use macros from bp-asm.h.
17458 (strcmp): Do not use BP_SYM.
17459 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17461 (PARMS): Do not use macros from bp-asm.h.
17464 [USE_AS_STRTOK_R] (SAVE): Likewise.
17465 (FUNCTION): Likewise. Do not use BP_SYM.
17466 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17468 (strtok_r): Likewise.
17469 (__GI___strtok_r): Likewise.
17470 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17471 (PARMS): Do not use macros from bp-asm.h.
17474 (__mpn_lshift): Do not use BP_SYM.
17475 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17476 (PARMS): Do not use macros from bp-asm.h.
17479 (__memchr): Do not use BP_SYM.
17480 (memchr): Do not use BP_SYM in weak_alias.
17481 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17482 (PARMS): Do not use macros from bp-asm.h.
17485 (memcmp): Do not use BP_SYM.
17486 (bcmp): Do not use BP_SYM in weak_alias.
17487 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17488 (PARMS): Do not use macros from bp-asm.h.
17491 (__mpn_mul_1): Do not use BP_SYM.
17492 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17494 (PARMS): Do not use macros from bp-asm.h.
17497 (__rawmemchr): Do not use BP_SYM.
17498 (rawmemchr): Do not use BP_SYM in weak_alias.
17499 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17500 (PARMS): Do not use macros from bp-asm.h.
17503 (__mpn_rshift): Do not use BP_SYM.
17504 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17505 (PARMS): Do not use macros from bp-asm.h.
17506 (SIGMSK): Likewise.
17507 (__sigsetjmp): Likewise. Do not use BP_SYM.
17508 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17509 (_start): Do not use BP_SYM.
17510 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17511 (PARMS): Do not use macros from bp-asm.h.
17514 (__stpcpy): Likewise. Do not use BP_SYM.
17515 (stpcpy): Do not use BP_SYM in weak_alias.
17516 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17518 (PARMS): Do not use macros from bp-asm.h.
17522 (__stpncpy): Likewise. Do not use BP_SYM.
17523 (stpncpy): Do not use BP_SYM in weak_alias.
17524 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17528 (strchr): Likewise. Do not use BP_SYM.
17529 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17531 (PARMS): Do not use macros from bp-asm.h.
17534 (__strchrnul): Likewise. Do not use BP_SYM.
17535 (strchrnul): Do not use BP_SYM in weak_alias.
17536 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17538 (PARMS): Do not use macros from bp-asm.h.
17540 (strcspn): Do not use BP_SYM.
17541 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17543 (PARMS): Do not use macros from bp-asm.h.
17546 (strpbrk): Likewise. Do not use BP_SYM.
17547 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17549 (PARMS): Do not use macros from bp-asm.h.
17552 (strrchr): Likewise. Do not use BP_SYM.
17553 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17554 (PARMS): Do not use macros from bp-asm.h.
17556 (strspn): Do not use BP_SYM.
17557 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17558 (PARMS): Do not use macros from bp-asm.h.
17562 (FUNCTION): Likewise. Do not use BP_SYM.
17563 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17565 (strtok_r): Likewise.
17566 (__GI___strtok_r): Likewise.
17567 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17568 (PARMS): Do not use macros from bp-asm.h.
17572 (__mpn_sub_n): Do not use BP_SYM.
17573 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17575 (PARMS): Do not use macros from bp-asm.h.
17578 (__mpn_submul_1): Do not use BP_SYM.
17579 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17581 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17583 (PARMS): Do not use macros from bp-asm.h.
17588 (__clone): Do not use BP_SYM.
17589 (clone): Do not use BP_SYM in weak_alias.
17590 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17592 (PARMS): Do not use macros from bp-asm.h.
17594 (__mmap64): Do not use BP_SYM.
17595 (mmap64): Do not use BP_SYM in weak_alias.
17596 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17597 <bp-sym.h> and <bp-asm.h>.
17598 (PARMS): Do not use macros from bp-asm.h.
17599 (__posix_fadvise64_l64): Do not use BP_SYM.
17600 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17601 (PARMS): Do not use macros from bp-asm.h.
17603 (semtimedop): Do not use BP_SYM.
17604 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17607 2013-02-21 Allan McRae <allan@archlinux.org>
17609 * manual/message.texi (Charset conversion in gettext):
17610 Move @end statement to beginning of line.
17612 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17620 (denorm): Likewise.
17621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17624 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17626 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17627 tail-call to the resolved function if pltexit isn't needed.
17629 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17632 or Y being zero as being unlikely.
17633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17636 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17638 * manual/nss.texi (System Databases and Name Service Switch):
17639 Remove frobnicate @pxref.
17641 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17643 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17644 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17646 2013-02-20 Petr Machata <pmachata@redhat.com>
17648 * elf/elf.h (R_ARM_TARGET1): New macro.
17649 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17650 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17651 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17652 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17653 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17654 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17655 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17656 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17657 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17658 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17659 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17660 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17661 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17662 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17663 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17664 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17665 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17666 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17667 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17668 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17669 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17670 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17671 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17672 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17673 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17674 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17675 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17676 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17677 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17678 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17679 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17680 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17681 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17682 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17683 (R_ARM_THM_GOT_BREL12): Likewise.
17684 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17685 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17686 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17687 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17688 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17689 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17690 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17691 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17692 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17694 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17696 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17697 __attribute_used__ to __attribute__ ((unused)).
17699 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17701 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17704 comment formatting.
17705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17707 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17710 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17712 (ENTER): Remove both macro definitions.
17714 (CHECK_BOUNDS_LOW): Likewise.
17715 (CHECK_BOUNDS_HIGH): Likewise.
17716 (CHECK_BOUNDS_BOTH): Likewise.
17717 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17718 (RETURN_BOUNDED_POINTER): Likewise.
17719 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17720 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17721 (POP_ERRNO_LOCATION_RETURN): Likewise.
17722 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17724 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17726 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17727 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17728 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17729 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17730 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17731 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17732 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17733 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17734 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17735 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17736 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17737 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17738 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17739 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17741 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17742 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17745 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17746 * sysdeps/i386/i586/memset.S (memset): Likewise.
17747 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17748 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17749 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17751 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17752 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17753 Change uses of L(2) to L(out).
17754 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17755 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17756 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17757 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17758 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17760 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17761 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17764 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17765 (RETURN): Do not use macro LEAVE.
17766 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17767 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17768 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17769 * sysdeps/i386/i686/memset.S (memset): Likewise.
17770 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17771 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17772 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17773 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17775 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17776 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17777 L(1_2) and L(1_3) into L(1).
17778 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17779 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17780 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17781 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17782 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17783 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17784 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17785 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17786 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17788 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17789 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17790 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17791 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17792 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17793 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17794 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17795 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17796 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17797 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17798 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17799 * sysdeps/i386/strspn.S (strspn): Likewise.
17800 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17802 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17803 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17804 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17805 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17806 L(1_3) into L(1_1).
17807 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17808 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17809 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17811 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17813 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17815 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17818 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17820 * math/atest-exp.c (exp_mpn): Remove ROUND.
17821 * math/atest-exp2.c (exp_mpn): Likewise.
17822 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17824 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17825 * stdlib/tst-tls-atexit-lib.c: Likewise.
17826 * stdlib/tst-tls-atexit.c: Likewise.
17828 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17830 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17831 and __attribute_alloc_size__.
17833 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17835 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17836 __attribute_alloc_size__.
17837 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17838 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17840 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17842 * include/programs/xmalloc.h: New file.
17843 * catgets/gencat.c: Include it.
17844 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17845 * elf/pldd.c: Likewise.
17846 * iconv/iconv_charmap.c: Likewise.
17847 * iconv/iconvconfig.c: Likewise.
17848 * iconv/strtab.c: Likewise.
17849 * locale/programs/locale.c: Likewise.
17850 * locale/programs/localedef.h: Likewise.
17851 * locale/programs/simple-hash.c: Likewise.
17852 * nscd/nscd.h: Likewise.
17853 * nss/makedb.c: Likewise.
17854 * sysdeps/generic/ldconfig.h: Likewise.
17856 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17858 * Versions.def: Add GLIBC_2.18.
17859 * include/link.h (struct link_map): New member l_tls_dtor_count.
17860 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17861 (__call_tls_dtors): Likewise.
17862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17863 __cxa_thread_atexit_impl.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17880 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17881 (tests): Add test case tst-tls-atexit.
17882 (modules-names): Add shared library for tst-tls-atexit.
17883 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17884 (GLIBC_PRIVATE): Add __call_tls_dtors.
17885 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17887 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17888 * stdlib/tst-tls-atexit.c: New test case.
17889 * stdlib/tst-tls-atexit-lib.c: New test case.
17891 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17893 * elf/Versions (ld): Add _dl_find_dso_for_object.
17894 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17895 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17896 (dl_open_worker): Use _dl_find_dso_for_object.
17897 * elf/dl-sym.c (do_sym): Likewise.
17898 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17900 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17902 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17903 Syntactic changes only.
17904 (_dl_runtime_profile): Do a tail-call to the resolved function.
17906 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17909 * sysdeps/x86_64/bp-asm.h: Remove file.
17910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17911 <bp-sym.h> and <bp-asm.h>.
17912 (__clone): Do not use BP_SYM.
17913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17914 <bp-sym.h> and <bp-asm.h>.
17915 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17916 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17918 (_setjmp): Do not use BP_SYM.
17919 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17921 (setjmp): Do not use BP_SYM.
17922 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17924 (mempcpy): Do not use BP_SYM in weak_alias.
17925 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17927 (strchr): Do not use BP_SYM.
17928 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17930 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17931 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17932 (_start): Do not use BP_SYM.
17933 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17935 (strcat): Do not use BP_SYM.
17936 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17938 (STRCMP): Do not use BP_SYM.
17939 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17941 (STRCPY): Do not use BP_SYM.
17942 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17944 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17946 (FUNCTION): Do not use BP_SYM.
17947 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17949 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17951 2013-02-17 Andreas Jaeger <aj@suse.de>
17953 * time/Versions: Sort entries.
17954 * string/Versions: Likewise.
17955 * resolv/Versions: Likewise.
17956 * posix/Versions: Likewise.
17957 * iconv/Versions: Likewise.
17958 * elf/Versions: Likewise.
17959 * wcsmbs/Versions: Likewise.
17961 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17964 loop termination condition.
17966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17967 variable to calculate EZ.
17970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17971 the lower precision input.
17973 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17976 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17977 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17978 (run-via-rtld-prefix): Do not handle %-bp tests.
17979 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17980 (all-object-suffixes): Remove .ob.
17981 (bppfx): Remove variable.
17982 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17983 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17984 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17985 [$(build-bounded) = yes] (libtype.ob): Likewise.
17986 * Makerules (elide-routines.ob): Remove variable.
17987 (do-tests-clean): Do not handle *-bp.out.
17988 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17989 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17990 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17991 (tests): Do not include $(tests-bp.out).
17992 (xtests): Do not include $(xtests-bp.out).
17993 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17994 [$(build-bounded) = yes] ($(addprefix
17995 $(objpfx),$(binaries-bounded))): Remove rule.
17996 ($(objpfx)%-bp.out): Remove rule.
17997 * config.make.in (build-bounded): Remove variable.
17998 * crypt/Makefile [$(build-bounded) = yes]
17999 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18000 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18001 append to variable.
18002 [$(build-bounded) = yes] (install-lib): Likewise.
18003 [$(build-bounded) = yes] (generated): Likewise.
18004 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18006 * intl/Makefile [$(build-bounded) = yes]
18007 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18008 * math/Makefile [$(build-bounded) = yes]
18009 ($(tests:%=$(objpfx)%-bp): Likewise.
18010 * misc/Makefile [$(build-bounded) = yes]
18011 ($(objpfx)tst-tsearch-bp): Likewise.
18012 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18013 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18015 * string/Makefile (o-objects.ob): Remove variable.
18016 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18017 (CFLAGS-.ob): Remove variable.
18018 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18019 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18020 both definitions of variable.
18021 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18022 (ASFLAGS-.ob): Remove variable.
18024 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18027 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18028 Remove __BOUNDED_POINTERS__ from condition.
18029 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18030 * string/bits/string2.h [!__NO_STRING_INLINES &&
18031 !__BOUNDED_POINTERS__]: Likewise.
18032 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18034 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18035 Remove conditional code.
18036 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18037 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18038 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18042 * csu/libc-start.c: Do not include <bp-sym.h>.
18043 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18044 * elf/dl-open.c: Do not include <bp-sym.h>.
18045 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18046 * math/fegetenv.c: Do not include <bp-sym.h>.
18047 (fegetenv): Do not use BP_SYM in versioned symbols.
18048 * nptl/sysdeps/pthread/bits/libc-lockP.h
18049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18052 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18054 (__pthread_mutex_destroy): Likewise.
18055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18056 (__pthread_mutex_lock): Likewise.
18057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18058 (__pthread_mutex_trylock): Likewise.
18059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18060 (__pthread_mutex_unlock): Likewise.
18061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18062 (__pthread_mutexattr_init): Likewise.
18063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18064 (__pthread_mutexattr_destroy): Likewise.
18065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18066 (__pthread_mutexattr_settype): Likewise.
18067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18068 (__pthread_rwlock_init): Likewise.
18069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18070 (__pthread_rwlock_destroy): Likewise.
18071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18072 (__pthread_rwlock_rdlock): Likewise.
18073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18074 (__pthread_rwlock_tryrdlock): Likewise.
18075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18076 (__pthread_rwlock_wrlock): Likewise.
18077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18078 (__pthread_rwlock_trywrlock): Likewise.
18079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18080 (__pthread_rwlock_unlock): Likewise.
18081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18082 (__pthread_key_create): Likewise.
18083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18084 (__pthread_setspecific): Likewise.
18085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18086 (__pthread_getspecific): Likewise.
18087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18090 (_pthread_cleanup_push_defer): Likewise.
18091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18092 (_pthread_cleanup_pop_restore): Likewise.
18093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18094 (pthread_setcancelstate): Likewise.
18095 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18097 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18098 (memchr): Do not use BP_SYM in weak_alias.
18099 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18100 (fegetenv): Do not use BP_SYM in versioned symbols.
18101 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18102 (fesetenv): Do not use BP_SYM in versioned symbols.
18103 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18104 (feupdateenv): Do not use BP_SYM in versioned symbols.
18105 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18106 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18107 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18108 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18109 (open64): Do not use BP_SYM in weak_alias.
18110 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18111 (fegetenv): Do not use BP_SYM in versioned symbols.
18112 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18113 (fesetenv): Do not use BP_SYM in versioned symbols.
18114 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18115 (feupdateenv): Do not use BP_SYM in versioned symbols.
18116 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18117 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18118 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18119 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18120 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18121 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18122 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18124 (__libc_start_main): Do not use BP_SYM.
18126 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18129 redundant return line.
18131 (denorm): Likewise.
18132 (dbl_mp): Likewise.
18133 (sub_magnitudes): Likewise.
18139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18141 (denorm): Likewise.
18142 (dbl_mp): Likewise.
18143 (sub_magnitudes): Likewise.
18150 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18152 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18153 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18156 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18157 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18159 of __mul for squares.
18160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18164 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18165 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18167 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18170 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18172 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18173 prototype or function definition. Rename ubp_* variables and
18174 parameters. Remove argv definitions conditional on
18175 [__BOUNDED_POINTERS__].
18176 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18177 * elf/dl-runtime.c (_dl_fixup): Likewise.
18178 * include/set-hooks.h (RUN_HOOK): Likewise.
18179 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18181 * string/strcpy.c (strcpy): Do not use __unbounded.
18182 * sysdeps/generic/frame.h (struct layout): Likewise.
18183 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18184 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18185 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18186 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18187 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18188 (__backtrace): Likewise.
18189 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18191 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18192 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18193 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18195 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18196 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18197 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18198 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18199 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18200 Do not use __unbounded.
18201 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18202 Rename __unboundedrlimits parameter to rlimits in prototype.
18203 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18204 Do not use __unbounded.
18205 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18206 not use __ptrvalue.
18207 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18208 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18209 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18210 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18211 __ptrvalue or __unbounded.
18212 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18213 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18215 (__new_msgctl): Do not use __ptrvalue.
18216 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18218 (__libc_msgrcv): Do not use __ptrvalue.
18219 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18220 startup_info): Do not use __unbounded.
18221 (__libc_start_main): Likewise. Rename ubp_* variables and
18222 parameters. Remove argv definitions conditional on
18223 [__BOUNDED_POINTERS__].
18224 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18226 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18228 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18230 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18232 (__new_shmctl): Do not use __ptrvalue.
18233 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18234 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18236 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18237 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18238 (__libc_sigaction): Likewise.
18239 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18242 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18244 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18246 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18248 * string/mempcpy.c: Implement by calling memcpy.
18250 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18258 values in the mantissa.
18260 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18261 minimize writes to Z.
18262 (sub_magnitudes): Simplify code a bit.
18264 2013-02-12 Roland McGrath <roland@hack.frob.com>
18266 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18267 from the message. The linker prefixes all warnings with that already.
18269 2013-02-12 Andreas Schwab <schwab@suse.de>
18272 * posix/regexec.c (extend_buffers): Add parameter min_len.
18273 (check_matching): Pass minimum needed length.
18274 (clean_state_log_if_needed): Likewise.
18275 (get_subexp): Likewise.
18276 * posix/Makefile (tests): Add bug-regex34.
18277 (bug-regex34-ENV): Define.
18278 * posix/bug-regex34.c: New file.
18281 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18282 elements compare against the byte sequence of it, not its name.
18283 * posix/Makefile (tests): Add bug-regex35.
18284 (bug-regex35-ENV): Define.
18285 * posix/bug-regex35.c: New file.
18287 2013-02-11 Tom de Vries <tom@codesourcery.com>
18289 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18291 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18292 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18293 (CHECK_EOL): Add undef.
18295 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18297 * bits/stdlib-bsearch.h: New file.
18298 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18299 * stdlib/stdlib.h: Likewise.
18301 2013-02-11 Roland McGrath <roland@hack.frob.com>
18303 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18304 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18306 * manual/search.texi (Array Search Function): Add missing const in
18308 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18309 declaration to use rlim_t.
18310 (Basic Scheduling Functions): Remove erroneous const from
18311 sched_getparam prototype. Remove erroneous * from
18312 sched_get_priority_max and sched_get_priority_min prototypes.
18313 (Resource Usage): Fix summary @comment on vtimes to refer to
18314 sys/vtimes.h rather than vtimes.h.
18315 Add missing *s in vtimes prototype.
18316 (Limits on Resources): Fix ulimit prototype to return long int.
18317 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18318 prototypes to use long int rather than double.
18319 (BSD Random): Fix initstate and setstate to use char *, not void *.
18320 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18321 prototype to make second argument 'struct aiocb64 *const[]'.
18322 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18323 (Status of AIO Operations): Remove erroneous const in aio_return and
18324 aio_return64 prototypes.
18325 (Synchronizing I/O): Fix sync prototype to return void.
18326 * manual/startup.texi (Suboptions): Remove an erroneous const in
18327 getsubopt prototype.
18328 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18329 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18330 use size_t rather than int.
18331 (Scanning All Users): Likewise for getpwent_r.
18332 (Setting Groups): Add missing const to setgroups prototype.
18333 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18334 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18335 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18336 'const void *' rather than 'const char *'.
18337 (Host Address Functions): Likewise for inet_ntop.
18338 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18339 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18340 ssize_t for return value.
18341 (Sending Data): Likewise for send, sendto, sendmsg.
18342 (Socket Option Functions): Add a missing const in setsockopt prototype.
18343 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18344 use wchar_t for the argument.
18345 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18346 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18348 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18349 double/float/long double for second argument.
18350 Fix return types of significand, significandf, significandl.
18351 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18352 argument in fchmod prototype.
18353 (File Owner): Use uid_t and gid_t in fchown prototype.
18354 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18355 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18356 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18357 use 'const struct dirent **' as argument types to CMP function pointer
18359 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18360 (File Times): Fix summary magic @comment for struct utimbuf and utime
18361 to refer to utime.h, not time.h.
18362 * manual/string.texi (Argz Functions): Add missing const in
18363 argz_extract and argz_next prototypes.
18364 (Finding Tokens in a String): Likewise for basename.
18365 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18366 (Copying and Concatenation): Fix typo in wmemmove prototype.
18367 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18368 (Signal Stack): Remove erroneous const in sigstack prototype.
18369 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18371 (Simple Calendar Time): Likewise for stime.
18372 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18374 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18375 say sys/sysctl.h instead.
18376 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18377 and vsyslog prototypes.
18379 2013-02-11 Tom de Vries <tom@codesourcery.com>
18381 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18384 2013-02-11 Roland McGrath <roland@hack.frob.com>
18386 * misc/sys/mman.h: Fix typo in mremap comment.
18388 2013-02-08 Roland McGrath <roland@hack.frob.com>
18390 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18391 the '\0' terminator.
18393 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18396 * debug/segfault.c: Don't include <bp-checks.h>.
18397 * sysdeps/generic/bp-checks.h: Remove file.
18398 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18399 (__GETDENTS): Don't use CHECK_N.
18400 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18401 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18402 (__getgroups): Don't use CHECK_N.
18403 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18404 (setgroups): Don't use CHECK_N.
18405 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18406 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18407 (__libc_msgrcv): Don't use CHECK_N.
18408 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18409 (__libc_msgsnd): Don't use CHECK_N.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18412 (__libc_pread): Don't use CHECK_N.
18413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18414 include <bp-checks.h>.
18415 (__libc_pread64): Don't use CHECK_N.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18417 include <bp-checks.h>.
18418 (__libc_pwrite): Don't use CHECK_N.
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18420 include <bp-checks.h>.
18421 (__libc_pwrite64): Don't use CHECK_N.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18424 (__libc_pread): Don't use CHECK_N.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18426 include <bp-checks.h>.
18427 (__libc_pread64): Don't use CHECK_N.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18429 include <bp-checks.h>.
18430 (__libc_pwrite): Don't use CHECK_N.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18432 include <bp-checks.h>.
18433 (__libc_pwrite64): Don't use CHECK_N.
18434 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18435 (do_pread): Don't use CHECK_N.
18436 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18437 (do_pread64): Don't use CHECK_N.
18438 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18439 (do_pwrite): Don't use CHECK_N.
18440 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18441 (do_pwrite64): Don't use CHECK_N.
18442 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18443 (__libc_readv): Don't use CHECK_N.
18444 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18445 (semop): Don't use CHECK_N.
18446 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18448 (semtimedop): Don't use CHECK_N.
18449 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18450 (__libc_pread): Don't use CHECK_N.
18451 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18453 (__libc_pread64): Don't use CHECK_N.
18454 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18456 (__libc_pwrite): Don't use CHECK_N.
18457 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18459 (__libc_pwrite64): Don't use CHECK_N.
18460 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18462 (__libc_msgrcv): Don't use CHECK_N.
18463 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18464 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18465 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18466 (__libc_writev): Don't use CHECK_N.
18468 2013-02-08 Roland McGrath <roland@hack.frob.com>
18470 * string/strcpy.c: Removed unused variable.
18472 * Makeconfig (+sysdep-includes): Define with := rather than =.
18473 Use an existing include/ subdir of each sysdeps dir before it.
18475 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18477 * nscd/connection.c (register_traced_file): Comment function.
18478 [HAVE_INOTIFY] (union __inev): Define.
18479 [HAVE_INOTIFY] (inotify_check_files): New function.
18480 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18481 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18483 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18485 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18487 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18488 loaded if not already and that a failure is permanent.
18490 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18493 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18494 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18496 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18499 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18500 (CHECK_1_NULL_OK): Likewise.
18501 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18502 (__fxstat): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18505 (___fxstat64): Do not use CHECK_1.
18506 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18508 (__fxstatat): Do not use CHECK_1.
18509 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18511 (__fxstatat64): Do not use CHECK_1.
18512 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18514 (__fxstat): Do not use CHECK_1.
18515 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18517 (__fxstatat): Do not use CHECK_1.
18518 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18520 (__getresgid): Do not use CHECK_1.
18521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18523 (__getresuid): Do not use CHECK_1.
18524 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18526 (__lxstat): Do not use CHECK_1.
18527 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18529 (__old_msgctl): Do not use CHECK_1.
18530 (__new_msgctl): Likewise.
18531 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18533 (__new_setrlimit): Do not use CHECK_1.
18534 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18536 (__old_shmctl): Do not use CHECK_1.
18537 (__new_shmctl): Likewise.
18538 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18540 (__xstat): Do not use CHECK_1.
18541 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18542 (__lxstat): Do not use CHECK_1.
18543 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18545 (___lxstat64): Do not use CHECK_1.
18546 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18547 (__old_msgctl): Do not use CHECK_1.
18548 (__new_msgctl): Likewise.
18549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18551 (__gettimeofday): Do not use CHECK_1.
18552 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18553 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18554 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18556 (__gettimeofday): Do not use CHECK_1.
18557 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18558 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18559 (__new_shmctl): Do not use CHECK_1.
18560 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18562 (do_sigtimedwait): Do not use CHECK_1.
18563 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18565 (do_sigwaitinfo): Do not use CHECK_1.
18566 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18568 (msgctl): Do not use CHECK_1.
18569 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18571 (shmctl): Do not use CHECK_1.
18572 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18573 (ustat): Do not use CHECK_1.
18574 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18576 (__fxstat): Do not use CHECK_1.
18577 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18579 (__fxstatat): Do not use CHECK_1.
18580 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18582 (__lxstat): Do not use CHECK_1.
18583 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18585 (__xstat): Do not use CHECK_1.
18586 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18587 (__xstat): Do not use CHECK_1.
18588 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18589 (___xstat64): Do not use CHECK_1.
18592 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18594 (CHECK_BOUNDS_HIGH): Likewise.
18595 * string/strcpy.c: Do not include <bp-checks.h>.
18596 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18598 2013-02-07 Roland McGrath <roland@hack.frob.com>
18600 * nscd/nscd-client.h (__nscd_drop_map_ref):
18601 Add __attribute__ ((unused)).
18602 * nis/nss-nisplus.h (niserr2nss): Likewise.
18604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18605 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18607 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18608 Remove inline keyword.
18609 * include/rounding-mode.h (round_away): Likewise.
18610 * libio/wfileops.c (adjust_wide_data): Likewise.
18611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18612 (__m128i_strloadu_tolower): Likewise.
18613 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18614 (__m128i_strloadu_tolower): Likewise.
18615 * time/mktime.c (ydhms_diff): Likewise.
18616 * locale/elem-hash.h (elem_hash): Likewise.
18617 * locale/setlocale.c (setdata): Likewise.
18618 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18619 (re_string_wchar_at): Likewise.
18620 (bitset_not, bitset_merge, bitset_mask): Likewise.
18621 [!(__GNUC__ > 3)] (inline): Remove macro.
18622 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18623 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18624 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18625 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18626 * string/memcmp.c (memcmp_bytes): Likewise.
18627 * locale/programs/locarchive.c (compute_hashval): Likewise.
18628 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18629 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18630 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18631 * nss/getent.c (print_rpc, print_protocols): Likewise.
18632 (print_passwd, print_group, print_aliases): Likewise.
18633 * nis/nss-nisplus.h (niserr2nss): Likewise.
18634 * nscd/connections.c (restart_p): Likewise.
18635 Change return type to bool.
18637 2013-02-05 Roland McGrath <roland@hack.frob.com>
18639 * Makeconfig (all-Depend-files): Add existing
18640 $(sorted-subdirs:=/Depend) files.
18641 (all-subdirs): Remove nss.
18642 * sysdeps/unix/inet/Subdirs: Add it here instead.
18643 * hesiod/Depend: New file.
18645 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18646 instead of calling alloca.
18648 * io/lseek.c (__lseek): Rename to __libc_lseek.
18649 Define __lseek as an alias.
18651 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18653 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18655 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18656 else clause and remove check for non-standard endianness.
18658 2013-02-04 David S. Miller <davem@davemloft.net>
18660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18662 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18665 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18666 (__ubp_memchr): Remove prototype.
18667 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18668 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18669 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18670 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18671 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18673 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18674 (__ubp_memchr): Likewise.
18675 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18676 (__ubp_memchr): Likewise.
18677 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18678 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18679 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18680 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18682 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18683 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18684 (__getcwd): Do not use CHECK_STRING.
18685 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18687 (__real_chown): Do not use CHECK_STRING.
18688 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18690 (fchownat): Do not use CHECK_STRING.
18691 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18693 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18695 (__lchown): Do not use CHECK_STRING.
18696 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18697 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18698 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18699 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18701 include <bp-checks.h>.
18702 (truncate64): Do not use CHECK_STRING.
18703 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18705 (__real_chown): Do not use CHECK_STRING.
18706 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18708 (__lchown): Do not use CHECK_STRING.
18709 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18711 (__chown): Do not use CHECK_STRING.
18712 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18714 (truncate64): Do not use CHECK_STRING.
18715 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18717 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18718 (__xmknod): Do not use CHECK_STRING.
18719 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18721 (__xmknodat): Do not use CHECK_STRING.
18722 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18723 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18725 2013-02-04 Andreas Schwab <schwab@suse.de>
18728 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18729 * include/netdb.h: Likewise for h_errno.
18730 * elf/tst-stackguard1.c: Include <tls.h>.
18732 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18734 * elf/link.h (struct link_map): Extend the l_addr comment.
18735 * include/link.h (struct link_map): Likewise.
18737 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18740 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18741 (BOUNDED_1): Remove macro.
18742 * debug/backtrace.c: Don't include <bp-checks.h>.
18743 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18744 (__backtrace): Likewise.
18745 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18747 (__backtrace): Don't use BOUNDED_1.
18748 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18750 (__backtrace): Don't use BOUNDED_1.
18751 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18752 (__backtrace): Don't use BOUNDED_1.
18753 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18754 (shmat): Don't use BOUNDED_N.
18756 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18759 * sysdeps/generic/bp-start.h: Remove file.
18760 * csu/libc-start.c: Don't include <bp-start.h>.
18761 (LIBC_START_MAIN): Set up __environ directly instead of using
18762 INIT_ARGV_and_ENVIRON.
18763 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18767 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18769 (CHECK_FCNTL): Likewise.
18770 (CHECK_N_PAGES): Likewise.
18773 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18775 (CHECK_SIGSET_NULL_OK): Likewise.
18776 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18778 (sigpending): Don't use CHECK_SIGSET.
18779 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18781 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18782 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18784 (do_sigsuspend): Don't use CHECK_SIGSET.
18785 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18787 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18788 (do_sigwait): Don't use CHECK_SIGSET.
18789 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18792 include <bp-checks.h>.
18793 (sigpending): Don't use CHECK_SIGSET.
18794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18795 include <bp-checks.h>.
18796 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18797 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18799 (sigpending): Don't use CHECK_SIGSET.
18800 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18802 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18805 * sysdeps/generic/bp-semctl.h: Remove file.
18806 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18807 <bp-checks.h> and <bp-semctl.h>.
18808 (__old_semctl): Don't use CHECK_SEMCTL.
18809 (__new_semctl): Likewise.
18810 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18812 (__old_semctl): Don't use CHECK_SEMCTL.
18813 (__new_semctl): Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18815 <bp-checks.h> and <bp-semctl.h>.
18816 (__old_semctl): Don't use CHECK_SEMCTL.
18817 (__new_semctl): Likewise.
18818 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18819 <bp-checks.h> and <bp-semctl.h>.
18820 (semctl): Don't use CHECK_SEMCTL.
18823 * Makerules (elide-bp-thunks): Remove variable.
18824 (elide-routines.oS): Don't use $(elide-bp-thunks).
18825 (elide-routines.os): Likewise.
18826 (elide-routines.o): Likewise.
18827 (elide-routines.op): Likewise.
18828 (elide-routines.og): Likewise.
18829 (objects): Don't use $(bp-thunks).
18830 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18832 (common-generated): Do not add s-proto-bp.d.
18833 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18836 Do not generate makefile rules for bounded-pointer thunks.
18837 * sysdeps/generic/bp-thunks.h: Remove file.
18838 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18839 * sysdeps/unix/s-proto-bp.S: Likewise.
18842 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18843 parts of result separately when argument is not close to line from
18844 -i to i and one part of argument is small.
18845 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18846 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18847 * math/libm-test.inc (cacos_test): Add more tests.
18848 (casin_test): Likewise.
18849 (casinh_test): Likewise.
18850 * sysdeps/i386/fpu/libm-test-ulps: Update.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18853 2013-01-31 David S. Miller <davem@davemloft.net>
18855 * po/de.po: Update from translation team.
18857 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18859 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18861 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18863 * configure.in (_AC_PROG_CC_C89): New definition.
18864 * configure: Regenerate.
18866 * configure.in (AC_PROG_CPP): New definition.
18867 * configure: Regenerate.
18869 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18871 * debug/tst-backtrace.h: New file.
18872 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18873 (ret): Remove variable.
18875 (FAIL): Remove macro.
18876 (NO_INLINE): Likewise.
18877 (fn1): Use match function instead of strstr.
18878 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18879 (ret): Remove variable.
18881 (FAIL): Remove macro.
18882 (NO_INLINE): Likewise.
18883 (fn): Use match function instead of strstr.
18884 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18885 (ret): Remove variable.
18887 (FAIL): Remove macro.
18888 (NO_INLINE): Likewise.
18889 (handle_signal): Use match function instead of strstr.
18890 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18891 (ret): Remove variable.
18893 (FAIL): Remove macro.
18894 (NO_INLINE): Likewise.
18895 (handle_signal): Use match function instead of strstr.
18897 2013-01-23 Roland McGrath <roland@hack.frob.com>
18899 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18901 2013-01-23 David S. Miller <davem@davemloft.net>
18903 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18904 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18905 argument of CAS if possible.
18906 * sysdeps/sparc/sparc64/bits/atomic.h
18907 (__arch_compare_and_exchange_val_32_acq): Likewise.
18908 (__arch_compare_and_exchange_val_64_acq): Likewise.
18910 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18912 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18913 * sysdeps/posix/ulimit.c: ... this.
18914 Include <limits.h>.
18915 * sysdeps/unix/bsd/ulimit.c: Remove file.
18917 2013-01-23 Adam Conrad <adconrad@0c3.net>
18919 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18920 (LDFLAGS-tst-array5): Likewise.
18922 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18925 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18926 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18927 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18928 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18930 2013-01-21 David S. Miller <davem@davemloft.net>
18932 * sysdeps/sparc/backtrace.c: New file.
18933 * sysdeps/sparc/sparc32/backtrace.h: New file.
18934 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18935 * sysdeps/sparc/sparc64/backtrace.h: New file.
18936 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18937 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18940 2013-01-21 Andreas Schwab <schwab@suse.de>
18943 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18946 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18952 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18953 Mark Mitchell <mark@codesourcery.com>
18954 Tom de Vries <tom@codesourcery.com>
18955 Paul Pluzhnikov <ppluzhnikov@google.com>
18957 * debug/tst-backtrace2.c: New file.
18958 * debug/tst-backtrace3.c: Likewise.
18959 * debug/tst-backtrace4.c: Likewise.
18960 * debug/tst-backtrace5.c: Likewise.
18961 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18962 (CFLAGS-tst-backtrace3.c): Likewise.
18963 (CFLAGS-tst-backtrace4.c): Likewise.
18964 (CFLAGS-tst-backtrace5.c): Likewise.
18965 (LDFLAGS-tst-backtrace2): Likewise.
18966 (LDFLAGS-tst-backtrace3): Likewise.
18967 (LDFLAGS-tst-backtrace4): Likewise.
18968 (LDFLAGS-tst-backtrace5): Likewise.
18969 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18970 tst-backtrace4 and tst-backtrace5.
18972 2013-01-18 Anton Blanchard <anton@samba.org>
18973 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18975 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18976 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18977 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18978 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18980 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18981 "+r" and remove output regs list as redundant. Add explicit inline
18982 asm to specify register of return val to work around compiler codegen
18983 bug. Remove (int) cast on return value. Add return type parameter to
18984 use in macro so that this macro does not truncate return value for
18986 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18987 pass to INTERNAL_VSYSCALL_NCS.
18988 (INLINE_VSYSCALL): Add 'long int' as return type to
18989 INTERNAL_VSYSCALL_NCS macro invocation.
18990 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18991 INTERNAL_VSYSCALL_NCS macro invocation.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18994 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18997 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18998 Fix application of SIMD FP exception mask.
19000 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19001 mp_no from a power of two.
19002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19003 __mpexp_twomm1. Use __pow_mp.
19005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19008 2013-01-17 David S. Miller <davem@davemloft.net>
19010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19012 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19015 * include/complex.h: Condition contents on [!_COMPLEX_H].
19016 (__kernel_casinhf): New prototype.
19017 (__kernel_casinh): Likewise.
19018 (__kernel_casinhl): Likewise.
19019 * math/Makefile (libm_calls): Add k_casinh.
19020 * math/k_casinh.c: New file.
19021 * math/k_casinhf.c: Likewise.
19022 * math/k_casinhl.c: Likewise.
19023 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19024 finite nonzero arguments.
19025 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19026 finite nonzero arguments.
19027 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19028 finite nonzero arguments.
19029 * math/s_casinh.c: Do not include <float.h>.
19030 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19031 * math/s_casinhf.c: Do not include <float.h>.
19032 (__casinhf): Move code for finite nonzero arguments to
19034 * math/s_casinhl.c: Do not include <float.h>.
19035 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19037 (__casinhl): Move code for finite nonzero arguments to
19039 * math/libm-test.inc (cacos_test): Add more tests.
19040 * sysdeps/i386/fpu/libm-test-ulps: Update.
19041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19043 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19045 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19046 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19047 [!HAVE_MREMAP]: Remove [defined linux] case.
19048 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19050 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19054 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19056 * elf/elf.h (R_386_SIZE32): New relocation.
19057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19059 (elf_machine_rela): Likewise.
19060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19061 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19063 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19065 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19066 (FP_FAST_FMA): Do not define.
19067 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19068 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19069 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19070 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19071 !_SOFT_FLOAT]: Likewise.
19072 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19073 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19075 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19076 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19077 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19078 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19079 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19080 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19083 2013-01-16 Andreas Schwab <schwab@suse.de>
19086 * include/stdlib.h (__mktemp): Add declaration.
19087 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19088 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19090 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19092 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19094 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19095 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19096 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19098 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19099 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19101 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19103 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19104 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19105 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19107 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19108 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19110 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19112 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19114 2013-01-15 David S. Miller <davem@davemloft.net>
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19117 trunc{,f} to libm-sysdep_routes.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19133 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19136 nearbyint{,f} to libm-sysdep_routes.
19137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19153 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19154 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19157 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19158 libc_feholdexcept and libc_fesetenv.
19160 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19162 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19164 2013-01-14 David S. Miller <davem@davemloft.net>
19166 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19167 (SPARC_ASM_VIS2_IFUNC): Likewise.
19168 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19170 use of 'siam' instruction.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19204 routines to libm-sysdep_routines.
19205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19208 fdim/fdimf to libm-sysdep_routines.
19209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19217 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19218 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19219 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19220 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19222 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19225 to optimize copies.
19227 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19232 local variable MPTWO.
19233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19236 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19238 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19241 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19243 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19245 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19247 * manual/pattern.texi (glob_t): Document gl_flags.
19248 (glob64_t): Likewise.
19250 2013-01-11 David S. Miller <davem@davemloft.net>
19252 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19253 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19254 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19255 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19256 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19257 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19258 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19259 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19260 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19261 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19262 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19263 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19264 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19267 sparc V9 rather than using V8 code.
19268 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19269 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19271 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19273 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19276 2013-01-11 Roland McGrath <roland@hack.frob.com>
19278 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19279 not in the main loop.
19280 * configure: Regenerated.
19282 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19284 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19285 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19287 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19288 [!__GLIBC_HAVE_LONG_LONG] case.
19289 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19290 condition to just #else.
19291 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19292 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19293 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19294 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19296 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19297 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19298 #elif condition to just #else.
19299 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19300 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19301 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19302 #elif condition to just #else.
19304 2013-01-11 Steve Ellcey <sellcey@mips.com>
19306 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19307 (EF_MIPS_ARCH_64): Fix value.
19308 (EF_MIPS_ARCH_32R2): New.
19309 (EF_MIPS_ARCH_64R2): New.
19311 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19313 * Makeconfig (+link-pie-before-libc): New.
19314 (+link-pie-after-libc): Likewise.
19315 (+link-pie-tests): Likewise.
19316 (+link-pie): Rewritten.
19317 (link-before-libc): Remove $(config-LDFLAGS).
19318 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19319 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19320 (config-LDFLAGS): Renamed to ...
19321 (rtld-LDFLAGS): This.
19322 (rtld-tests-LDFLAGS): New macro.
19323 (link-libc-rpath-link): Likewise.
19324 (link-libc-tests-rpath-link): Likewise.
19325 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19326 (link-libc): Prepand $(link-libc-rpath-link).
19327 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19328 (test-program-prefix): New macro.
19329 (test-via-rtld-prefix): Likewise.
19330 (test-program-cmd): Likewise.
19331 (host-test-program-cmd): Likewise.
19332 * Makefile ($(common-objpfx)testrun.sh): Replace
19333 $(run-program-prefix) with $(test-program-prefix).
19334 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19336 ($(common-objpfx)shlib.lds): Likewise.
19337 (build-module-helper): Likewise.
19338 ($(common-objpfx)format.lds): Likewise.
19339 * Rules (binaries-pie-tests): New.
19340 (binaries-pie-notests): Likewise.
19341 (binaries-pie): Rewritten.
19342 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19343 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19344 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19345 (make-test-out): Replace $(host-built-program-cmd) with
19346 $(host-test-program-cmd).
19347 * config.make.in (build-hardcoded-path-in-tests): New variable.
19348 * configure.in (--enable-hardcoded-path-in-tests): New configure
19350 (hardcoded_path_in_tests): New AC_SUBST.
19351 * configure: Regenerated.
19352 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19353 $(built-program-cmd) with $(test-program-cmd).
19354 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19355 (test_program_cmd): This.
19356 * elf/Makefile ($(objpfx)order.out): Run test with
19357 $(test-program-prefix).
19358 ($(objpfx)order2.out): Likewise.
19359 ($(objpfx)tst-initorder.out): Likewise.
19360 ($(objpfx)tst-initorder2.out): Likewise.
19361 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19362 $(test-program-cmd).
19363 ($(objpfx)tst-array1-static.out): Likewise.
19364 ($(objpfx)tst-array2.out): Likewise.
19365 ($(objpfx)tst-array3.out): Likewise.
19366 ($(objpfx)tst-array4.out): Likewise.
19367 ($(objpfx)tst-array5.out): Likewise.
19368 ($(objpfx)tst-array5-static.out): Likewise.
19369 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19370 $(test-program-cmd).
19371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19372 $(run-program-prefix) with $(test-program-prefix).
19373 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19374 (test_program_prefix): This.
19375 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19376 $(run-program-prefix) with $(test-program-prefix).
19377 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19378 (test_program_prefix): This.
19379 * iconvdata/tst-tables.sh: Likewise.
19380 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19381 $(run-program-prefix) with $(test-program-prefix).
19382 ($(objpfx)tst-translit.out): Likewise.
19383 ($(objpfx)tst-gettext2.out): Likewise.
19384 ($(objpfx)tst-gettext4.out): Likewise.
19385 ($(objpfx)tst-gettext6.out): Likewise.
19386 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19387 (test_program_prefix): This.
19388 * intl/tst-gettext2.sh: Likewise.
19389 * intl/tst-gettext4.sh Likewise.
19390 * intl/tst-gettext6.sh: Likewise.
19391 * intl/tst-translit.sh: Likewise.
19392 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19393 with $(test-program-cmd).
19394 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19395 $(run-program-prefix) with $(test-program-prefix).
19396 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19397 (test_program_prefix): This.
19398 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19399 $(run-program-prefix) with $(test-program-prefix).
19400 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19401 (test_program_prefix): This.
19402 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19403 * posix/Makefile ($(objpfx)globtest.out): Replace
19404 $(run-via-rtld-prefix) and $(test-wrapper) with
19405 $(test-program-prefix) and $(test-via-rtld-prefix).
19406 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19407 $(test-program-prefix).
19408 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19409 $(host-test-program-cmd).
19410 (tst-spawn-ARGS): Likewise.
19411 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19412 $(test-program-prefix).
19413 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19414 (test_via_rtld_prefix): This.
19415 (test_wrapper): Renamed to ...
19416 (test_program_prefix): This.
19417 (run_program_prefix): Replaced by test_program_prefix.
19418 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19419 (test_program_prefix): This.
19420 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19421 with $(host-test-program-cmd).
19422 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19423 $(run-program-prefix) with $(test-program-prefix).
19424 ($(objpfx)tst-printf.out): Likewise.
19425 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19426 $(test-program-cmd).
19427 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19428 (test_program_prefix): This.
19429 * stdio-common/tst-unbputc.sh: Likewise.
19430 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19431 $(run-program-prefix) with $(test-program-prefix).
19432 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19433 (test_program_prefix): This.
19434 * string/Makefile ($(objpfx)tst-svc.out): Replace
19435 $(built-program-cmd) with $(test-program-cmd).
19437 2013-01-11 Andreas Jaeger <aj@suse.de>
19440 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19441 value. Sync with Linux 3.7.
19443 2013-01-10 David S. Miller <davem@davemloft.net>
19445 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19446 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19447 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19449 2013-01-10 Roland McGrath <roland@hack.frob.com>
19451 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19453 * configure: Regenerated.
19455 2013-01-10 David S. Miller <davem@davemloft.net>
19457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19458 sparc V9 rather than using V8 code.
19459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19462 2013-01-10 Roland McGrath <roland@hack.frob.com>
19464 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19465 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19466 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19467 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19468 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19469 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19470 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19471 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19472 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19473 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19474 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19475 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19476 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19477 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19478 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19479 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19480 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19481 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19482 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19483 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19484 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19485 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19486 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19487 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19488 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19489 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19490 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19492 2013-01-10 David S. Miller <davem@davemloft.net>
19494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19496 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19498 * posix/Makefile (tests-static): New variable.
19499 (tests): Add $(tests-static).
19500 (tst-exec-static-ARGS): New variable.
19501 (tst-spawn-static-ARGS): Likewise.
19502 * posix/tst-exec-static.c: New file.
19503 * posix/tst-spawn-static.c: Likewise.
19504 * posix/tst-exec.c: Support run directly.
19505 * posix/tst-spawn.c: Likewise.
19507 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19509 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19511 * math/bits/mathcalls.h (llrint): Likewise.
19512 (llround): Likewise.
19513 * stdlib/stdlib.h (struct drand48_data): Likewise.
19514 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19515 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19516 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19518 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19521 (elf_greg_t): Likewise.
19522 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19523 (__jmp_buf): Likewise.
19524 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19526 (llrint): Likewise, for all definitions.
19527 (llrintl): Likewise.
19529 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19530 Remove [__GNUC__] condition.
19531 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19532 condition to just [__USE_ISOC99].
19533 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19535 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19538 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19539 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19541 (_POSIX_V6_ILP32_OFF32): Likewise.
19542 (_XBS5_ILP32_OFF32): Likewise.
19543 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19544 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19546 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19548 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19551 doubles __mpexp_twomm1. Adjust usage.
19552 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19555 2013-01-10 Andreas Schwab <schwab@suse.de>
19558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19559 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19561 2013-01-09 David S. Miller <davem@davemloft.net>
19564 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19565 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19566 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19567 (TCP_FASTOPEN): Define.
19568 (tcp_repair_opt): New structure.
19569 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19571 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19572 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19573 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19574 (tcp_cookie_transactions): New structure.
19576 2013-01-09 Anton Blanchard <anton@samba.org>
19578 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19579 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19581 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19583 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19585 * include/features.h (__USE_ANSI): Remove.
19587 2013-01-09 Roland McGrath <roland@hack.frob.com>
19589 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19591 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19593 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19595 * sysdeps/s390/fpu/libm-test-ulps: Update.
19597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19599 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19603 (denorm): Likewise.
19604 (__mp_dbl): Likewise.
19605 (__dbl_mp): Likewise.
19606 (add_magnitudes): Likewise.
19607 (sub_magnitudes): Likewise.
19613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19617 (denorm): Likewise.
19618 (__mp_dbl): Likewise.
19619 (__dbl_mp): Likewise.
19620 (add_magnitudes): Likewise.
19621 (sub_magnitudes): Likewise.
19627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19631 (denorm): Likewise.
19632 (__mp_dbl): Likewise.
19633 (__dbl_mp): Likewise.
19634 (add_magnitudes): Likewise.
19635 (sub_magnitudes): Likewise.
19642 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19644 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19645 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19646 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19647 2 && __USE_EXTERN_INLINES]: Likewise.
19649 2013-01-08 Andreas Jaeger <aj@suse.de>
19652 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19654 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19655 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19657 2013-01-07 Anton Blanchard <anton@samba.org>
19659 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19660 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19661 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19662 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19663 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19664 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19665 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19666 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19668 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19669 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19670 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19673 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19674 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19675 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19676 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19677 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19679 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19680 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19682 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19683 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19684 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19685 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19686 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19688 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19689 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19691 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19693 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19695 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19696 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19699 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19703 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19705 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19706 (__MALLOC_PMT): Likewise.
19707 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19708 [__GNUC__], only on [_LIBC].
19709 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19710 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19711 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19712 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19713 forward declaration.
19714 (realloc_hook_ini): Likewise.
19715 (memalign_hook_ini): Likewise.
19716 (__libc_memalign): Do not use __MALLOC_PMT in variable
19718 (__libc_valloc): Likewise.
19719 (__libc_pvalloc): Likewise.
19720 (__libc_calloc): Likewise.
19721 (__posix_memalign): Likewise.
19724 * math/s_casinh.c: Include <float.h>.
19725 (__casinh): Do not do computation with squaring and square root
19726 for large arguments.
19727 * math/s_casinhf.c: Include <float.h>.
19728 (__casinhf): Do not do computation with squaring and square root
19729 for large arguments.
19730 * math/s_casinhl.c: Include <float.h>.
19731 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19732 (__casinhl): Do not do computation with squaring and square root
19733 for large arguments.
19734 * math/libm-test.inc (casin_test): Add more tests.
19735 (casinh_test): Likewise.
19736 * sysdeps/i386/fpu/libm-test-ulps: Update.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19741 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19742 (__x86_64_raw_data_cache_size): Likewise.
19743 (__x86_64_data_cache_size_half): Likewise.
19744 (__x86_64_raw_data_cache_size_half): Likewise.
19745 (__x86_64_shared_cache_size): Likewise.
19746 (__x86_64_raw_shared_cache_size): Likewise.
19747 (__x86_64_shared_cache_size_half): Likewise.
19748 (__x86_64_raw_shared_cache_size_half): Likewise.
19749 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19751 (__x86_data_cache_size): This.
19752 (__x86_64_raw_data_cache_size): Renamed to ...
19753 (__x86_raw_data_cache_size): This.
19754 (__x86_64_data_cache_size_half): Renamed to ...
19755 (__x86_data_cache_size_half): This.
19756 (__x86_64_raw_data_cache_size_half): Renamed to ...
19757 (__x86_raw_data_cache_size_half): This.
19758 (__x86_64_shared_cache_size): Renamed to ...
19759 (__x86_shared_cache_size): This.
19760 (__x86_64_raw_shared_cache_size): Renamed to ...
19761 (__x86_raw_shared_cache_size): This.
19762 (__x86_64_shared_cache_size_half): Renamed to ...
19763 (__x86_shared_cache_size_half): This.
19764 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19765 (__x86_raw_shared_cache_size_half): This.
19766 * sysdeps/x86_64/memcpy.S: Updated.
19767 * sysdeps/x86_64/memset.S: Likewise.
19768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19770 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19772 2013-01-04 David S. Miller <davem@davemloft.net>
19774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19776 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19778 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19779 1 to avoid redefinition warning.
19780 (__USE_GNU): Don't define.
19781 (init_signaling_nan): Protoize.
19783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19785 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19789 (__cpymn): Likewise.
19790 (norm): Remove commented code.
19791 (denorm): Likewise.
19792 (__mp_dbl): Likewise.
19794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19795 (__cpymn): Likewise.
19796 (norm): Remove commented code.
19797 (denorm): Likewise.
19798 (__mp_dbl): Likewise.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19802 mp_no value for 1.0 and 2.0.
19803 (norm): Use RADIXI instead of radixi.d.
19804 (denorm): Likewise.
19805 (__mul): Use 0.0 instead of zero.d.
19806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19807 mp_no value for 1.0 and 2.0.
19808 (norm): Use RADIXI instead of radixi.d.
19809 (denorm): Likewise.
19810 (__mul): Use 0.0 instead of zero.d.
19812 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19815 * math/s_casinh.c (__casinh): Reduce finite argument to first
19816 quadrant then set signs of results at the end.
19817 * math/s_casinhf.c (__casinhf): Likewise.
19818 * math/s_casinhl.c (__casinhl): Likewise.
19819 * math/libm-test.inc (casin_test): Add more tests.
19820 (casinh_test): Likewise.
19821 * sysdeps/i386/fpu/libm-test-ulps: Update.
19822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19826 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19828 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19830 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19832 (denorm): Likewise.
19833 (__mp_dbl): Likewise.
19836 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19837 and adjust the header comment.
19839 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19840 variable name from declaration.
19842 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19845 Initialize COMMON_CPUID_INDEX_7 element.
19846 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19847 (CPUID_RTM): Likewise.
19848 (HAS_RTM): Likewise.
19849 (COMMON_CPUID_INDEX_7): New enum.
19851 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19854 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19855 size is zero, record memory as freed.
19857 2013-01-03 Andreas Jaeger <aj@suse.de>
19859 * po/ia.po: Add new Interlingua translation.
19861 2012-01-03 Allan McRae <allan@archlinux.org>
19863 * locale/programs/localedef.c: Fix description of '--posix' flag.
19865 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19867 * NEWS: Update dates in second copyright notice.
19868 * README: Update copyright dates in example.
19869 * manual/libc.texinfo: Update copyright dates.
19870 * scripts/test-installation.pl: Update copyright date in --version
19873 * hurd/ctty-input.c: Fix copyright notice formatting.
19874 * hurd/ctty-output.c: Likewise.
19875 * hurd/dtable.c: Likewise.
19876 * hurd/hurd-raise.c: Likewise.
19877 * hurd/hurdprio.c: Likewise.
19878 * hurd/msgportdemux.c: Likewise.
19879 * misc/sys/file.h: Likewise.
19880 * misc/sys/ioctl.h: Likewise.
19881 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19882 * sysdeps/mach/hurd/chdir.c: Likewise.
19883 * sysdeps/mach/hurd/fchdir.c: Likewise.
19884 * sysdeps/mach/hurd/rename.c: Likewise.
19885 * sysdeps/mach/hurd/rmdir.c: Likewise.
19886 * sysdeps/mach/hurd/seekdir.c: Likewise.
19887 * sysdeps/mach/hurd/setsid.c: Likewise.
19888 * sysdeps/posix/wait3.c: Likewise.
19890 * All files with FSF copyright notices: Update copyright dates
19891 using scripts/update-copyrights.
19892 * intl/plural.c: Regenerated.
19893 * locale/programs/charmap-kw.h: Likewise.
19894 * locale/programs/locfile-kw.h: Likewise.
19896 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19898 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19902 calculation loop and add branch prediction.
19904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19905 check access beyond bounds of m1np.
19907 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19909 (__inv): Remove local variable MPTWO to use the global
19911 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19912 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19914 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19915 MP3HALFS static const.
19917 2013-01-01 David S. Miller <davem@davemloft.net>
19919 * po/ca.po: Update from translation team.
19921 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19923 * scripts/update-copyrights: New file.
19924 * Makeconfig: Reformat copyright notice.
19925 * ctype/ctype.h: Likewise.
19926 * debug/swprintf_chk.c: Likewise.
19927 * elf/dl-cache.c: Likewise.
19928 * elf/dl-debug.c: Likewise.
19929 * elf/dl-object.c: Likewise.
19930 * grp/initgroups.c: Likewise.
19931 * hurd/Makefile: Likewise.
19932 * hurd/hurd/signal.h: Likewise.
19933 * hurd/hurdfault.c: Likewise.
19934 * hurd/hurdioctl.c: Likewise.
19935 * hurd/hurdlookup.c: Likewise.
19936 * hurd/intr-msg.c: Likewise.
19937 * iconv/gconv_open.c: Likewise.
19938 * libio/swprintf.c: Likewise.
19939 * locale/lc-ctype.c: Likewise.
19940 * locale/nl_langinfo.c: Likewise.
19941 * mach/Machrules: Likewise.
19942 * mach/Makefile: Likewise.
19943 * malloc/obstack.h: Likewise.
19944 * manual/Makefile: Likewise.
19945 * manual/tsort.awk: Likewise.
19946 * misc/bits/stab.def: Likewise.
19947 * nis/nis_print_group_entry.c: Likewise.
19948 * nis/nis_table.c: Likewise.
19949 * nis/nss_compat/compat-pwd.c: Likewise.
19950 * nis/nss_compat/compat-spwd.c: Likewise.
19951 * po/Makefile: Likewise.
19952 * posix/fnmatch.c: Likewise.
19953 * posix/regex.h: Likewise.
19954 * resolv/Makefile: Likewise.
19955 * resolv/nss_dns/dns-network.c: Likewise.
19956 * resolv/res_hconf.c: Likewise.
19957 * scripts/gen-sorted.awk: Likewise.
19958 * soft-fp/soft-fp.h: Likewise.
19959 * stdio-common/printf.h: Likewise.
19960 * stdlib/monetary.h: Likewise.
19961 * stdlib/random.c: Likewise.
19962 * stdlib/random_r.c: Likewise.
19963 * sysdeps/generic/Makefile: Likewise.
19964 * sysdeps/gnu/Makefile: Likewise.
19965 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19973 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19974 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19976 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19978 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19979 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19981 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19982 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19993 * sysdeps/mach/hurd/errnos.awk: Likewise.
19994 * sysdeps/mach/hurd/fork.c: Likewise.
19995 * sysdeps/mach/hurd/getcwd.c: Likewise.
19996 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19997 * sysdeps/mach/hurd/mmap.c: Likewise.
19998 * sysdeps/mach/hurd/utimes.c: Likewise.
19999 * sysdeps/mach/hurd/xmknod.c: Likewise.
20000 * sysdeps/posix/profil.c: Likewise.
20001 * sysdeps/posix/readdir_r.c: Likewise.
20002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20003 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20004 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20005 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20007 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20009 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20013 * sysdeps/pthread/lio_listio.c: Likewise.
20014 * sysdeps/sparc/dl-procinfo.h: Likewise.
20015 * sysdeps/unix/i386/sysdep.S: Likewise.
20016 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20017 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20018 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20019 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20021 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20022 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20023 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20024 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20025 * sysdeps/wordsize-32/divdi3.c: Likewise.
20026 * time/sys/time.h: Likewise.
20027 * wcsmbs/Makefile: Likewise.
20029 2013-01-01 David S. Miller <davem@davemloft.net>
20031 * po/fr.po: Update from translation team.
20033 * catgets/gencat.c: Update copyright year.
20034 * csu/version.c: Likewise.
20035 * debug/catchsegv.sh: Likewise.
20036 * debug/pcprofiledump.c: Likewise.
20037 * debug/xtrace.sh: Likewise.
20038 * elf/ldconfig.c: Likewise.
20039 * elf/ldd.bash.in: Likewise.
20040 * elf/pldd.c: Likewise.
20041 * elf/sotruss.ksh: Likewise.
20042 * elf/sprof.c: Likewise.
20043 * iconv/iconv_prog.c: Likewise.
20044 * iconv/iconvconfig.c: Likewise.
20045 * locale/programs/locale.c: Likewise.
20046 * locale/programs/localedef.c: Likewise.
20047 * login/programs/pt_chown.c: Likewise.
20048 * malloc/memusage.sh: Likewise.
20049 * malloc/memusagestat.c: Likewise.
20050 * malloc/mtrace.pl: Likewise.
20051 * nscd/nscd.c: Likewise.
20052 * nss/getent.c: Likewise.
20053 * nss/makedb.c: Likewise.
20054 * posix/getconf.c: Likewise.
20056 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20058 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20061 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20063 * math/bits/mathcalls.h (modf): Use __nonnull.
20065 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20067 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20068 (split): Use macro CN instead of the bare value.
20069 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20072 instead of the bare value.
20073 (power1): Likewise.
20075 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20077 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20079 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20081 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20083 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20084 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20085 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20086 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20088 2012-12-28 Andreas Jaeger <aj@suse.de>
20090 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20091 values are from Linux 3.7.
20093 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20094 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20096 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20098 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20103 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20104 variables with preprocessor constants.
20105 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20106 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20107 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20109 2012-12-27 Bruno Haible <bruno@clisp.org>
20112 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20115 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20118 and use variable directly.
20119 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20121 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20123 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20128 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20129 include directive. Remove local variable MPONE.
20130 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20131 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20132 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20134 2012-12-25 David S. Miller <davem@davemloft.net>
20136 * version.h (RELEASE): Set to "development".
20137 (VERSION): Set to "2.17.90".
20138 * NEWS: Add 2.18 section.
20140 2012-12-21 David S. Miller <davem@davemloft.net>
20142 * po/hr.po: Update from translation team.
20144 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20146 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20148 2012-12-19 Steve Ellcey <sellcey@mips.com>
20150 * NEWS: Mention new memcpy for MIPS.
20152 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20154 * manual/contrib.texi (Contributors): Spelling correction.
20156 2012-12-15 David S. Miller <davem@davemloft.net>
20158 * po/ru.po: Update from translation team.
20160 2012-12-13 David S. Miller <davem@davemloft.net>
20162 * NEWS: Mention IFUNC testsuite enhancements.
20164 * po/pl.po: Update from translation team.
20165 * po/bg.po: Likewise.
20167 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20168 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20170 2012-12-11 David S. Miller <davem@davemloft.net>
20172 * po/sv.po: Update from translation team.
20174 * po/vi.po: Update from translation team.
20176 * po/cs.po: Update from translation team.
20178 * po/de.po: Update from translation team.
20179 * po/eo.po: Likewise.
20180 * po/nl.po: Likewise.
20182 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20185 * manual/argp.texi (Argp Helper Functions): Move node to follow
20186 Argp Parsing State.
20189 * manual/conf.texi (Limits on File System Capacity): Mention if
20190 terminating null is included in the max size.
20192 2012-12-10 Andreas Jaeger <aj@suse.de>
20194 * po/cs.po: Update from translation team.
20196 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20198 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20199 void pointer and cast to uintptr_t.
20200 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20202 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20203 * sysdeps/s390/s390-64/memset.S: Likewise.
20205 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20208 * menual/message.texi (Message Translation): Fix typos.
20209 (Helper programs for gettext): Likewise.
20211 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20214 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20217 2012-12-07 David S. Miller <davem@davemloft.net>
20219 * po/libc.pot: Update.
20221 2012-12-07 Richard Henderson <rth@redhat.com>
20224 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20225 normal/normal case to before the switch.
20226 (_FP_DIV): Likewise.
20228 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20229 Mike Frysinger <vapier@gentoo.org>
20231 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20232 check for __NR_fadvise64_64.
20234 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20236 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20237 0, not just to plain "0" as a statement.
20238 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20241 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20243 * NEWS: Use sourceware.org in Bugzilla URL.
20245 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20248 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20250 * stdio-common/tst-put-error.c (do_test): Add newline to the
20251 padded test to ensure flush.
20253 2012-12-05 Jeff Law <law@redhat.com>
20255 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20257 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20259 * README: Don't refer to ports add-on as distributed separately.
20260 Mention AArch64 in list of systems supported in the ports add-on.
20262 * LICENSES: Add more non-FSF copyright and license notices.
20264 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20267 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20269 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20270 10000 as width of padded output.
20272 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20274 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20277 variable LX with __attribute__ ((unused)).
20278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20280 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20283 with __attribute__ ((unused)).
20285 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20287 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20289 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20291 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20292 (CFLAGS-nldbl-acos.c): New variable.
20293 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20392 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20396 whole low double instead of just low 47 bits when splitting values
20399 2012-12-03 Allan McRae <allan@archlinux.org>
20401 * manual/stdio.texi (Predefined Printf Handlers): Remove
20402 @hsep and @vsep usage.
20404 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20406 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20407 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20409 2012-12-03 Jeff Law <law@redhat.com>
20411 * time/sys/time.h (settimeofday): Do not mark TV argument
20414 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20416 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20417 when currently writing and seek to current position when not.
20418 * libio/Makefile (tests): Remove bug-fclose1.
20419 * libio/bug-fclose1.c: Delete.
20421 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20423 * manual/arith.texi (feenableexcept): Fix typo.
20424 (fedisableexcept): Likewise.
20426 2012-11-30 Roland McGrath <roland@hack.frob.com>
20428 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20429 second, differently-typed declaration, rather than a cast.
20431 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20433 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20434 * include/rpc/svc.h: ... here.
20436 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20439 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20440 depending n and resplen2 to catch cases where answer
20443 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20445 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20446 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20448 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20450 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20452 2012-11-29 Roland McGrath <roland@hack.frob.com>
20454 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20456 2012-11-28 Jeff Law <law@redhat.com>
20459 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20460 dataset_temporary. Track alloca usage into alloca_used.
20461 If dataset is large allocate and release it via malloc/free.
20463 2012-06-04 Florian Weimer <fweimer@redhat.com>
20466 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20468 2012-11-28 David S. Miller <davem@davemloft.net>
20470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20472 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20475 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20476 of pi/2 rounded to nearest to 64 bits.
20477 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20478 nearest to 64 bits.
20479 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20482 2012-11-28 Jeff Law <law@redhat.com>
20483 Martin Osvald <mosvald@redhat.com>
20486 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20487 * sunrpc/svc.c: Include time.h.
20488 (__svc_accept_failed): New function.
20489 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20490 any reason other than EINTR, call __svc_accept_failed.
20491 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20492 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20494 2012-11-28 Andreas Schwab <schwab@suse.de>
20496 * scripts/abilist.awk: Also handle indirect functions in .opd
20499 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/x86/fpu/powl_helper.c: New file.
20503 * sysdeps/x86/fpu/Makefile: Likewise.
20504 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20506 (__ieee754_powl): Use __powl_helper for finite arguments except
20507 integer exponents below 8.
20508 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20510 (__ieee754_powl): Use __powl_helper for finite arguments except
20511 integer exponents below 8.
20512 * math/libm-test.inc (pow_test): Add more tests and enable some
20513 previously disabled tests.
20514 * sysdeps/i386/fpu/libm-test-ulps: Update.
20515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20518 Carlos O'Donell <carlos_odonell@mentor.com>
20520 * nss/makedb.c (is_prime): Assert that input is odd and greater
20521 than 4. Note that fact in a comment too.
20522 (next_prime): Add 4 to input.
20524 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * libio/Makefile (tests): Add test case tst-fwrite-error.
20528 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20529 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20530 * libio/tst-fwrite-error.c: New test case.
20532 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20534 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20535 before casting to void *.
20536 * include/libc-internal.h (__pointer_type): New macro.
20537 (__integer_if_pointer_type_sub): Likewise.
20538 (__integer_if_pointer_type): Likewise.
20539 (cast_to_integer): Likewise.
20540 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20541 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20542 before casting to atomic64_t.
20543 (atomic_exchange_acq): Likewise.
20544 (__arch_exchange_and_add_body): Likewise.
20545 (__arch_add_body): Likewise.
20546 (atomic_add_negative): Likewise.
20547 (atomic_add_zero): Likewise.
20549 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20551 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20552 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20553 (add_fdes): Likewise.
20554 (linear_search_fdes): Likewise.
20555 (binary_search_unencoded_fdes): Likewise.
20557 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20559 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20561 2012-11-24 Adam Conrad <adconrad@0c3.net>
20563 * configure.in: Autodetect C++ header directories.
20564 * configure: Regenerated.
20566 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20568 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20570 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20574 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20576 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20577 LDBL_MANT_DIG == 106]: Disable some tests.
20578 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20580 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20584 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20585 input for small inputs. Return +/- pi/2 for large inputs.
20586 * math/libm-test.inc (atan_test): Add more tests.
20588 * sysdeps/generic/unwind-dw2-fde-glibc.c
20589 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20590 __attribute__ ((unused)).
20593 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20594 x * y if x and y are nonzero and z is zero.
20597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20598 nonzero exponents with absolute value below 0x1p-117 to +/-
20602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20603 up arguments below 2**-450, not just those below 2**-500.
20604 * math/libm-test.inc (hypot_test): Add another test.
20607 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20608 Return a+b for ratio over 2**120, not 2**60.
20609 * math/libm-test.inc (hypot_test): Add another test.
20611 * math/libm-test.inc (clog_test): Use
20612 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20613 (clog10_test): Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20618 2012-11-22 Andreas Schwab <schwab@suse.de>
20620 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20624 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20625 printf output with newline.
20627 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20630 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20631 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20632 -z nodlopen, -z initfirst and -z execstack support.
20633 * configure: Regenerated.
20635 * elf/elf.h (DF_1_NODIRECT): New macro.
20636 (DF_1_IGNMULDEF): Likewise.
20637 (DF_1_NOKSYMS): Likewise.
20638 (DF_1_NOHDR): Likewise.
20639 (DF_1_EDITED): Likewise.
20640 (DF_1_NORELOC): Likewise.
20641 (DF_1_SYMINTPOSE): Likewise.
20642 (DF_1_GLOBAUDIT): Likewise.
20643 (DF_1_SINGLETON): Likewise.
20644 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20645 DT_1_SUPPORTED_MASK bits.
20646 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20648 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20650 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20652 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20654 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20657 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20658 (sendmmsg): Move declarations...
20659 * socket/sys/socket.h: ... here.
20660 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20661 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20663 * socket/recvmmsg.c: ... this new file.
20664 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20665 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20666 definition of __sendmmsg hidden.
20667 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20668 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20669 Move ENOSYS stub into and include it from...
20670 * socket/sendmmsg.c: ... this new file.
20671 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20672 (sysdep_routines): Move recvmmsg and sendmmsg...
20673 * socket/Makefile (routines): ... here.
20674 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20675 (GLIBC_PRIVATE): Add __sendmmsg.
20676 * include/sys/socket.h (__sendmmsg): Add declarations.
20677 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20680 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20683 variable I1 with __attribute__ ((unused)).
20684 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20686 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20688 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20689 DUMMY variables with __attribute__ ((unused)).
20691 * bits/byteswap.h: Include <bits/types.h>.
20692 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20694 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20696 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20697 string_t. Do not manually set errno.
20698 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20699 length with __strnlen. Make sure to both set errno and return it on
20702 2012-11-19 David S. Miller <davem@davemloft.net>
20704 With help from Joseph Myers.
20705 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20706 very large arguments properly.
20707 * math/libm-test.inc (atan_test): New tests.
20708 (atan2_test): New tests.
20709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20712 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20715 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20718 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20719 [POSIX] (EADDRNOTAVAIL): Likewise.
20720 [POSIX] (EAFNOSUPPORT): Likewise.
20721 [POSIX] (EALREADY): Likewise.
20722 [POSIX] (ECONNABORTED): Likewise.
20723 [POSIX] (ECONNREFUSED): Likewise.
20724 [POSIX] (ECONNRESET): Likewise.
20725 [POSIX] (EDESTADDRREQ): Likewise.
20726 [POSIX] (EDQUOT): Likewise.
20727 [POSIX] (EHOSTUNREACH): Likewise.
20728 [POSIX] (EIDRM): Likewise.
20729 [POSIX] (EISCONN): Likewise.
20730 [POSIX] (ELOOP): Likewise.
20731 [POSIX] (EMULTIHOP): Likewise.
20732 [POSIX] (ENETDOWN): Likewise.
20733 [POSIX] (ENETUNREACH): Likewise.
20734 [POSIX] (ENOBUFS): Likewise.
20735 [POSIX] (ENODATA): Likewise.
20736 [POSIX] (ENOLINK): Likewise.
20737 [POSIX] (ENOMSG): Likewise.
20738 [POSIX] (ENOPROTOOPT): Likewise.
20739 [POSIX] (ENOSR): Likewise.
20740 [POSIX] (ENOSTR): Likewise.
20741 [POSIX] (ENOTCONN): Likewise.
20742 [POSIX] (ENOTSOCK): Likewise.
20743 [POSIX] (EOPNOTSUPP): Likewise.
20744 [POSIX] (EOVERFLOW): Likewise.
20745 [POSIX] (EPROTO): Likewise.
20746 [POSIX] (EPROTONOSUPPORT): Likewise.
20747 [POSIX] (EPROTOTYPE): Likewise.
20748 [POSIX] (ESTALE): Likewise.
20749 [POSIX] (ETIME): Likewise.
20750 [POSIX] (ETXTBSY): Likewise.
20751 [POSIX] (EWOULDBLOCK): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20753 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20754 [POSIX] (SEEK_CUR): Likewise.
20755 [POSIX] (SEEK_END): Likewise.
20756 [POSIX || UNIX98] (mode_t): Do not require.
20757 [POSIX] (off_t): Likewise.
20758 [POSIX] (pid_t): Likewise.
20759 [POSIX] (sys/stat.h): Do not allow header.
20760 [POSIX] (unistd.h): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20762 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20764 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20766 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20767 sigevent): Specify elements.
20768 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20770 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20771 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20773 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20774 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20775 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20776 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20777 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20778 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20779 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20780 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20782 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20783 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20784 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20785 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20792 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20794 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20795 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20796 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20797 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20799 Specify lower bound on value.
20800 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20806 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20807 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20809 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20811 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20814 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20820 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20821 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20822 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20828 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20830 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20834 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20835 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20837 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20842 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20845 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20849 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20850 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20851 specify as optional.
20852 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20855 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20856 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20857 [XPG3] (NL_LANGMAX): Likewise.
20858 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20859 [POSIX || XPG3] (NL_NMAX): Likewise.
20860 [POSIX || XPG3] (NL_SETMAX): Likewise.
20861 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20862 [XPG3] (NZERO): Likewise.
20863 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20864 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20865 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20866 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20867 (REG_ERANGE): Expect.
20868 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20870 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20871 Use (void) in prototype.
20872 [POSIX] (*_t): Allow.
20873 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20874 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20875 (WRDE_BADVAL): Expect.
20877 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20879 [XPG3 || XPG4] (O_RSYNC): Likewise.
20880 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20882 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20883 [XPG3 || XPG4] (sigqueue): Likewise.
20884 [XPG3 || XPG4] (sigtimedwait): Likewise.
20885 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20886 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20887 [XPG3 || XPG4] (vsnprintf): Likewise.
20888 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20890 [XPG3 || XPG4] (blksize_t): Likewise.
20891 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20893 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20894 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20895 [XPG3 || XPG4] (struct itimerspec): Likewise.
20896 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20897 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20898 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20899 [XPG3 || XPG4] (clockid_t): Likewise.
20900 [XPG3 || XPG4] (timer_t): Likewise.
20901 [XPG3 || XPG4] (clock_getres): Likewise.
20902 [XPG3 || XPG4] (clock_gettime): Likewise.
20903 [XPG3 || XPG4] (clock_settime): Likewise.
20904 [XPG3 || XPG4] (nanosleep): Likewise.
20905 [XPG3 || XPG4] (timer_create): Likewise.
20906 [XPG3 || XPG4] (timer_delete): Likewise.
20907 [XPG3 || XPG4] (timer_gettime): Likewise.
20908 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20909 [XPG3 || XPG4] (timer_settime): Likewise.
20910 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20911 [XPG3 || XPG4] (getlogin_r): Likewise.
20912 [XPG3 || XPG4] (pread): Likewise.
20913 [XPG3 || XPG4] (pthread_atfork): Likewise.
20914 [XPG3 || XPG4] (pwrite): Likewise.
20917 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20920 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20922 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20923 finalizing MALLSTREAM.
20925 * sysdeps/mach/hurd/syncfs.c: New file.
20927 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20930 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20931 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20932 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20933 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20934 (_nss_dns_gethostbyname4_r): Likewise.
20935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20936 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20938 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20941 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20943 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20945 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20946 * elf/cache.c (print_entry): Print ",AArch64" for
20949 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20950 * elf/cache.c (print_entry): Print ",hard-float" for
20953 2012-11-18 David S. Miller <davem@davemloft.net>
20955 With help from Joseph Myers.
20956 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20958 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20960 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20961 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20963 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20964 * math/libm-test.inc (y0_test): New tests.
20965 (y1_test): New tests.
20966 * sysdeps/i386/fpu/libm-test-ulps: Update.
20967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20970 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20972 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20974 * configure: Regenerated.
20976 2012-11-17 David S. Miller <davem@davemloft.net>
20979 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20980 nonzero exponents with absolute value below 0x1p-128 to +/-
20983 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20985 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20987 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20989 * posix/getconf-speclist.c: New file.
20990 * posix/posix-envs.def: Likewise.
20991 * posix/confstr.c (START_ENV_GROUP): New macro.
20992 (END_ENV_GROUP): Likewise.
20993 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20994 (KNOWN_PRESENT_ENV_STRING): Likewise.
20995 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20996 (UNKNOWN_ENVIRONMENT): Likewise.
20997 (confstr): Include posix-envs.def instead of handling
20998 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20999 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21000 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21001 (END_ENV_GROUP): Likewise.
21002 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21003 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21004 (UNKNOWN_ENVIRONMENT): Likewise.
21005 (__sysconf): Include posix-envs.def instead of handling associated
21006 cases directly here.
21007 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21008 preprocessing getconf-speclist.c rather than running getconf or
21009 generating empty file.
21011 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21013 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21015 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21018 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21020 2012-11-16 David S. Miller <davem@davemloft.net>
21022 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21023 smaller than LDBL_EPSILON/2.0L, just return xm1.
21025 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21027 * elf/tst-array1.c (init): Set constructor priority to 1000.
21028 (fini): Set destructor priority to 1000.
21029 * elf/tst-array2dep.c: Likewise.
21031 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21034 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21035 (_IO_new_file_xsputn): Also return EOF if none of the input
21036 data was written when overflow failed.
21037 * libio/iopadn.c (_IO_padn): Likewise.
21038 * libio/iowpadn.c (_IO_wpadn): Likewise.
21039 * stdio-common/tst-put-error.c: Add copyright notice.
21040 (do_test): Add case for printing padded string.
21041 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21042 _IO_padn returned error.
21043 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21044 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21047 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * libio/libioP.h: Add comment note that the references to C++
21050 bits are now obsolete.
21052 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21054 * math/libm-test.inc (check_complex): Use asprintf.
21056 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21058 * debug/pcprofiledump.c (print_version): Update copyright year.
21059 * malloc/memusagestat.c (print_version): Likewise.
21061 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21064 * elf/Makefile (tests): Add tst-audit8.
21065 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21066 ($(objpfx)tst-audit8.out): New target.
21067 (tst-audit8-ENV): New variable.
21068 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21069 audit if l_reloc_result is NULL.
21070 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21071 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21072 * elf/tst-audit8.c: New file.
21074 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21076 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21077 * misc/Makefile (CFLAGS-select.c): Define.
21078 * posix/Makefile (CFLAGS-pause.c): Define.
21080 2012-11-13 David S. Miller <davem@davemloft.net>
21082 * crypt/Makefile: Move test targets after toplevel Rules
21083 inclusion. Grab any necessary sysdep routines when linking.
21084 * crypt/md5.c (md5_process_block): Remove define, we will always
21085 name it __md5_process_block.
21086 (md5_finish_ctx): Update md5_process_block call.
21087 (md5_stream): Likewise.
21088 (md5_process_bytes): Likewise.
21089 (md5_process_block): Rename to __md5_process_block and move to ...
21090 * crypt/md5-block.c: ... here.
21091 * crypt/sha256.c (sha256_process_block): Move to ...
21092 * crypt/sha256-block.c: ... here.
21093 * crypt/sha512.c (sha512_process_block): Move to ...
21094 * crypt/sha512-block.c: ... here.
21095 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21097 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21098 * sysdeps/sparc/sparc64/multiarch/Makefile
21099 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21101 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21102 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21104 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21105 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21106 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21107 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21108 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21109 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21110 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21111 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21112 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21114 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21115 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21117 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21119 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21121 * timezone/tzselect.ksh: Update from tzcode git revision
21122 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21123 * timezone/zdump.c: Likewise.
21124 * timezone/zic.c: Likewise.
21125 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21126 in TZVERSION setting, not $(PKGVERSION).
21127 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21128 REPORT_BUGS_TO settings.
21131 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21134 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21136 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21137 detection to immediately after _FP_ROUND().
21138 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21141 2012-11-11 David S. Miller <davem@davemloft.net>
21143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21145 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21146 __close rather than their public counterparts.
21148 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21150 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21152 [UNIX98] (sem_timedwait): Do not expect.
21153 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21154 [XPG4 || UNIX98] (sockatmark): Do not expect.
21155 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21156 (clock_getcpuclockid): Do not expect.
21157 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21158 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21160 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21161 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21162 [UNIX98] (vwscanf): Likewise.
21163 [UNIX98] (vswscanf): Likewise.
21165 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21167 * timezone/version.h: Remove file.
21168 * timezone/README: Do not refer to version.h.
21169 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21170 $(objpfx)version.h.
21171 ($(objpfx)zdump.o): Likewise.
21172 ($(objpfx)version.h): New target.
21174 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21176 * timezone/README: Don't mention modification to tzselect.ksh.
21177 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21178 work on unmodified tzselect.ksh. Substitute version numbers in
21181 * Makefile (format-me): Remove.
21182 (INSTALL): Adjust indentation. Use commands directly instead of
21183 using $(format-me).
21185 * aclocal.m4 (ACX_PKGVERSION): New macro.
21186 (ACX_BUGURL): Likewise.
21187 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21188 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21189 (REPORT_BUGS_TO): Likewise.
21190 * configure: Regenerated.
21191 * config.h.in (PKGVERSION): New macro.
21192 (REPORT_BUGS_TO): Likewise.
21193 * config.make.in (PKGVERSION): New variable.
21194 (PKGVERSION_TEXI): Likewise.
21195 (REPORT_BUGS_TO): Likewise.
21196 (REPORT_BUGS_TEXI): Likewise.
21197 * Makefile (format-me): Use -I$(common-objpfx)manual.
21198 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21199 ($(common-objpfx)manual/%): New target.
21200 (manual/%): Remove target.
21201 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21202 (print_version): Use PKGVERSION.
21203 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21204 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21205 and REPORT_BUGS_TO.
21206 ($(objpfx)xtrace): Likewise.
21207 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21208 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21209 (print_version): Use PKGVERSION.
21210 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21211 (do_version): Use PKGVERSION.
21212 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21214 (common-ldd-rewrite): Likewise.
21215 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21216 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21217 (print_version): Use PKGVERSION.
21218 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21219 * elf/pldd.c (argp_program_bug_address): Remove variable.
21220 (more_help): New function.
21221 (argp): Use more_help.
21222 (print_version): Use PKGVERSION.
21223 * elf/sln.c (main): Use PKGVERSION.
21224 (usage): Use REPORT_BUGS_TO.
21225 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21226 (top level): Use PKGVERSION.
21227 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21228 (print_version): Use PKGVERSION.
21229 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21230 (print_version): Use PKGVERSION.
21231 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21232 (print_version): Use PKGVERSION.
21233 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21234 (print_version): Use PKGVERSION.
21235 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21236 (print_version): Use PKGVERSION.
21237 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21238 (print_version): Use PKGVERSION.
21239 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21241 ($(objpfx)memusage): Likewise.
21242 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21243 (do_version): Use PKGVERSION.
21244 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21245 (print_version): Use PKGVERSION.
21246 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21247 ($PKGVERSION): New variable.
21248 ($REPORT_BUGS_TO): Likewise.
21249 (usage): Use $REPORT_BUGS_TO.
21250 (top level): Use $PKGVERSION.
21251 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21252 ($(objpfx)pkgvers.texi): New rule.
21253 ($(objpfx)stamp-pkgvers): Likewise.
21254 * manual/install.texi: Include pkgvers.texi.
21255 (--with-pkgversion): Document new configure option.
21256 (--with-bugurl): Likewise.
21257 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21258 than necessarily for this particular distribution. Use
21259 REPORT_BUGS_TO for where to report bugs.
21260 * INSTALL: Regenerated.
21261 * manual/libc.texinfo: Include pkgvers.texi.
21262 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21263 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21264 (print_version): Use PKGVERSION.
21265 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21266 (print_version): Use PKGVERSION.
21267 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21268 (print_version): Use PKGVERSION.
21269 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21270 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21272 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21273 (print_version): Use PKGVERSION.
21274 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21275 (print_version): Use PKGVERSION.
21276 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21279 * timezone/checktab.awk: Update from tzcode 2012i.
21280 * timezone/ialloc.c: Likewise.
21281 * timezone/private.h: Likewise.
21282 * timezone/scheck.c: Likewise.
21283 * timezone/tzfile.h: Likewise.
21284 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21285 (TZVERSION): Hardcode tzcode version number.
21286 * timezone/zdump.c: Update from tzcode 2012i.
21287 * timezone/zic.c: Likewise.
21288 * timezone/version.h: New file.
21289 * timezone/README: Describe version.h. Update upstream location.
21292 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21293 (mktemp): Enable declaration.
21294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21311 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21312 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21313 for copies of such integer values.
21314 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21315 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21317 2012-11-09 Andreas Jaeger <aj@suse.de>
21319 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21320 definitions and declarations that are provided by
21321 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21323 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21325 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21326 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21327 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21330 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21332 * elf/elf.h: Update comment before AArch64 relocations.
21334 2012-11-07 David S. Miller <davem@davemloft.net>
21336 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21338 (__start_context): Declare.
21339 (__makecontext_ret): Delete.
21340 (__makecontext): Hook up __start_context instead of
21342 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21343 (sysdep_routines): Add __start_context when in stdlib.
21345 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21347 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21348 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21349 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21351 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21352 (READELF): New variable. Use it instead of hardcoded "readelf".
21354 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21356 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21357 * sysdeps/x86/Makefile: Here.
21358 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21359 * sysdeps/x86/tst-xmmymm.sh: This.
21361 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21363 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21365 [UNIX98] (pthread_barrier_t): Do not expect.
21366 [UNIX98] (pthread_barrierattr_t): Likewise.
21367 [UNIX98] (pthread_spinlock_t): Likewise.
21368 [UNIX98] (pthread_barrier_destroy): Likewise.
21369 [UNIX98] (pthread_barrier_init): Likewise.
21370 [UNIX98] (pthread_barrier_wait): Likewise.
21371 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21372 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21373 [UNIX98] (pthread_barrierattr_init): Likewise.
21374 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21375 [UNIX98] (pthread_getcpuclockid): Likewise.
21376 [UNIX98] (pthread_mutex_timedlock): Likewise.
21377 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21378 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21379 [UNIX98] (pthread_sigmask): Likewise.
21380 [UNIX98] (pthread_spin_destroy): Likewise.
21381 [UNIX98] (pthread_spin_init): Likewise.
21382 [UNIX98] (pthread_spin_lock): Likewise.
21383 [UNIX98] (pthread_spin_trylock): Likewise.
21384 [UNIX98] (pthread_spin_unlock): Likewise.
21385 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21387 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21388 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21389 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21390 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21391 [XPG3 || XPG4] (pthread_key_t): Likewise.
21392 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21393 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21394 [XPG3 || XPG4] (pthread_once_t): Likewise.
21395 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21396 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21397 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21398 [XPG3 || XPG4] (pthread_t): Likewise.
21400 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21402 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21404 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21405 Change function return type to int.
21407 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21408 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21409 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21410 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21411 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21412 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21413 [!POSIX] (posix_madvise): Likewise.
21414 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21416 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21417 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21418 (mode_t): Likewise.
21419 (posix_mem_offset): Likewise.
21420 (posix_typed_mem_get_info): Likewise.
21421 (posix_typed_mem_open): Likewise.
21423 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21424 Change condition to [XOPEN2K8].
21426 * conform/conformtest.pl: Preprocess allow-header data with -x c
21427 instead of from stdin.
21428 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21429 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21430 [C99-based standards] (cerfc): Likewise.
21431 [C99-based standards] (cexp2): Likewise.
21432 [C99-based standards] (cexpm1): Likewise.
21433 [C99-based standards] (clog10): Likewise.
21434 [C99-based standards] (clog1p): Likewise.
21435 [C99-based standards] (clog2): Likewise.
21436 [C99-based standards] (clgamma): Likewise.
21437 [C99-based standards] (ctgamma): Likewise.
21438 [C99-based standards] (cerff): Likewise.
21439 [C99-based standards] (cerfcf): Likewise.
21440 [C99-based standards] (cexp2f): Likewise.
21441 [C99-based standards] (cexpm1f): Likewise.
21442 [C99-based standards] (clog10f): Likewise.
21443 [C99-based standards] (clog1pf): Likewise.
21444 [C99-based standards] (clog2f): Likewise.
21445 [C99-based standards] (clgammaf): Likewise.
21446 [C99-based standards] (ctgammaf): Likewise.
21447 [C99-based standards] (cerfl): Likewise.
21448 [C99-based standards] (cerfcl): Likewise.
21449 [C99-based standards] (cexp2l): Likewise.
21450 [C99-based standards] (cexpm1l): Likewise.
21451 [C99-based standards] (clog10l): Likewise.
21452 [C99-based standards] (clog1pl): Likewise.
21453 [C99-based standards] (clog2l): Likewise.
21454 [C99-based standards] (clgammal): Likewise.
21455 [C99-based standards] (ctgammal): Likewise.
21456 * conform/data/inttypes.h-data [C99-based standards]: Include
21457 stdint.h-data. Remove all expectations for stdint.h contents.
21458 [C99-based standards] (PRI*): Do not allow.
21459 [C99-based standards] (SCN*): Likewise.
21460 [C99-based standards] (*_t): Likewise.
21461 [C99-based-standards] (PRId8): Expect macro.
21462 [C99-based-standards] (PRIi8): Likewise.
21463 [C99-based-standards] (PRIo8): Likewise.
21464 [C99-based-standards] (PRIu8): Likewise.
21465 [C99-based-standards] (PRIx8): Likewise.
21466 [C99-based-standards] (PRIX8): Likewise.
21467 [C99-based-standards] (SCNd8): Likewise.
21468 [C99-based-standards] (SCNi8): Likewise.
21469 [C99-based-standards] (SCNo8): Likewise.
21470 [C99-based-standards] (SCNu8): Likewise.
21471 [C99-based-standards] (SCNx8): Likewise.
21472 [C99-based-standards] (PRIdLEAST8): Likewise.
21473 [C99-based-standards] (PRIiLEAST8): Likewise.
21474 [C99-based-standards] (PRIoLEAST8): Likewise.
21475 [C99-based-standards] (PRIuLEAST8): Likewise.
21476 [C99-based-standards] (PRIxLEAST8): Likewise.
21477 [C99-based-standards] (PRIXLEAST8): Likewise.
21478 [C99-based-standards] (SCNdLEAST8): Likewise.
21479 [C99-based-standards] (SCNiLEAST8): Likewise.
21480 [C99-based-standards] (SCNoLEAST8): Likewise.
21481 [C99-based-standards] (SCNuLEAST8): Likewise.
21482 [C99-based-standards] (SCNxLEAST8): Likewise.
21483 [C99-based-standards] (PRIdFAST8): Likewise.
21484 [C99-based-standards] (PRIiFAST8): Likewise.
21485 [C99-based-standards] (PRIoFAST8): Likewise.
21486 [C99-based-standards] (PRIuFAST8): Likewise.
21487 [C99-based-standards] (PRIxFAST8): Likewise.
21488 [C99-based-standards] (PRIXFAST8): Likewise.
21489 [C99-based-standards] (SCNdFAST8): Likewise.
21490 [C99-based-standards] (SCNiFAST8): Likewise.
21491 [C99-based-standards] (SCNoFAST8): Likewise.
21492 [C99-based-standards] (SCNuFAST8): Likewise.
21493 [C99-based-standards] (SCNxFAST8): Likewise.
21494 [C99-based-standards] (PRId16): Likewise.
21495 [C99-based-standards] (PRIi16): Likewise.
21496 [C99-based-standards] (PRIo16): Likewise.
21497 [C99-based-standards] (PRIu16): Likewise.
21498 [C99-based-standards] (PRIx16): Likewise.
21499 [C99-based-standards] (PRIX16): Likewise.
21500 [C99-based-standards] (SCNd16): Likewise.
21501 [C99-based-standards] (SCNi16): Likewise.
21502 [C99-based-standards] (SCNo16): Likewise.
21503 [C99-based-standards] (SCNu16): Likewise.
21504 [C99-based-standards] (SCNx16): Likewise.
21505 [C99-based-standards] (PRIdLEAST16): Likewise.
21506 [C99-based-standards] (PRIiLEAST16): Likewise.
21507 [C99-based-standards] (PRIoLEAST16): Likewise.
21508 [C99-based-standards] (PRIuLEAST16): Likewise.
21509 [C99-based-standards] (PRIxLEAST16): Likewise.
21510 [C99-based-standards] (PRIXLEAST16): Likewise.
21511 [C99-based-standards] (SCNdLEAST16): Likewise.
21512 [C99-based-standards] (SCNiLEAST16): Likewise.
21513 [C99-based-standards] (SCNoLEAST16): Likewise.
21514 [C99-based-standards] (SCNuLEAST16): Likewise.
21515 [C99-based-standards] (SCNxLEAST16): Likewise.
21516 [C99-based-standards] (PRIdFAST16): Likewise.
21517 [C99-based-standards] (PRIiFAST16): Likewise.
21518 [C99-based-standards] (PRIoFAST16): Likewise.
21519 [C99-based-standards] (PRIuFAST16): Likewise.
21520 [C99-based-standards] (PRIxFAST16): Likewise.
21521 [C99-based-standards] (PRIXFAST16): Likewise.
21522 [C99-based-standards] (SCNdFAST16): Likewise.
21523 [C99-based-standards] (SCNiFAST16): Likewise.
21524 [C99-based-standards] (SCNoFAST16): Likewise.
21525 [C99-based-standards] (SCNuFAST16): Likewise.
21526 [C99-based-standards] (SCNxFAST16): Likewise.
21527 [C99-based-standards] (PRId32): Likewise.
21528 [C99-based-standards] (PRIi32): Likewise.
21529 [C99-based-standards] (PRIo32): Likewise.
21530 [C99-based-standards] (PRIu32): Likewise.
21531 [C99-based-standards] (PRIx32): Likewise.
21532 [C99-based-standards] (PRIX32): Likewise.
21533 [C99-based-standards] (SCNd32): Likewise.
21534 [C99-based-standards] (SCNi32): Likewise.
21535 [C99-based-standards] (SCNo32): Likewise.
21536 [C99-based-standards] (SCNu32): Likewise.
21537 [C99-based-standards] (SCNx32): Likewise.
21538 [C99-based-standards] (PRIdLEAST32): Likewise.
21539 [C99-based-standards] (PRIiLEAST32): Likewise.
21540 [C99-based-standards] (PRIoLEAST32): Likewise.
21541 [C99-based-standards] (PRIuLEAST32): Likewise.
21542 [C99-based-standards] (PRIxLEAST32): Likewise.
21543 [C99-based-standards] (PRIXLEAST32): Likewise.
21544 [C99-based-standards] (SCNdLEAST32): Likewise.
21545 [C99-based-standards] (SCNiLEAST32): Likewise.
21546 [C99-based-standards] (SCNoLEAST32): Likewise.
21547 [C99-based-standards] (SCNuLEAST32): Likewise.
21548 [C99-based-standards] (SCNxLEAST32): Likewise.
21549 [C99-based-standards] (PRIdFAST32): Likewise.
21550 [C99-based-standards] (PRIiFAST32): Likewise.
21551 [C99-based-standards] (PRIoFAST32): Likewise.
21552 [C99-based-standards] (PRIuFAST32): Likewise.
21553 [C99-based-standards] (PRIxFAST32): Likewise.
21554 [C99-based-standards] (PRIXFAST32): Likewise.
21555 [C99-based-standards] (SCNdFAST32): Likewise.
21556 [C99-based-standards] (SCNiFAST32): Likewise.
21557 [C99-based-standards] (SCNoFAST32): Likewise.
21558 [C99-based-standards] (SCNuFAST32): Likewise.
21559 [C99-based-standards] (SCNxFAST32): Likewise.
21560 [C99-based-standards] (PRId64): Likewise.
21561 [C99-based-standards] (PRIi64): Likewise.
21562 [C99-based-standards] (PRIo64): Likewise.
21563 [C99-based-standards] (PRIu64): Likewise.
21564 [C99-based-standards] (PRIx64): Likewise.
21565 [C99-based-standards] (PRIX64): Likewise.
21566 [C99-based-standards] (SCNd64): Likewise.
21567 [C99-based-standards] (SCNi64): Likewise.
21568 [C99-based-standards] (SCNo64): Likewise.
21569 [C99-based-standards] (SCNu64): Likewise.
21570 [C99-based-standards] (SCNx64): Likewise.
21571 [C99-based-standards] (PRIdLEAST64): Likewise.
21572 [C99-based-standards] (PRIiLEAST64): Likewise.
21573 [C99-based-standards] (PRIoLEAST64): Likewise.
21574 [C99-based-standards] (PRIuLEAST64): Likewise.
21575 [C99-based-standards] (PRIxLEAST64): Likewise.
21576 [C99-based-standards] (PRIXLEAST64): Likewise.
21577 [C99-based-standards] (SCNdLEAST64): Likewise.
21578 [C99-based-standards] (SCNiLEAST64): Likewise.
21579 [C99-based-standards] (SCNoLEAST64): Likewise.
21580 [C99-based-standards] (SCNuLEAST64): Likewise.
21581 [C99-based-standards] (SCNxLEAST64): Likewise.
21582 [C99-based-standards] (PRIdFAST64): Likewise.
21583 [C99-based-standards] (PRIiFAST64): Likewise.
21584 [C99-based-standards] (PRIoFAST64): Likewise.
21585 [C99-based-standards] (PRIuFAST64): Likewise.
21586 [C99-based-standards] (PRIxFAST64): Likewise.
21587 [C99-based-standards] (PRIXFAST64): Likewise.
21588 [C99-based-standards] (SCNdFAST64): Likewise.
21589 [C99-based-standards] (SCNiFAST64): Likewise.
21590 [C99-based-standards] (SCNoFAST64): Likewise.
21591 [C99-based-standards] (SCNuFAST64): Likewise.
21592 [C99-based-standards] (SCNxFAST64): Likewise.
21593 [C99-based-standards] (PRIdMAX): Likewise.
21594 [C99-based-standards] (PRIiMAX): Likewise.
21595 [C99-based-standards] (PRIoMAX): Likewise.
21596 [C99-based-standards] (PRIuMAX): Likewise.
21597 [C99-based-standards] (PRIxMAX): Likewise.
21598 [C99-based-standards] (PRIXMAX): Likewise.
21599 [C99-based-standards] (SCNdMAX): Likewise.
21600 [C99-based-standards] (SCNiMAX): Likewise.
21601 [C99-based-standards] (SCNoMAX): Likewise.
21602 [C99-based-standards] (SCNuMAX): Likewise.
21603 [C99-based-standards] (SCNxMAX): Likewise.
21604 [C99-based-standards] (PRIdPTR): Likewise.
21605 [C99-based-standards] (PRIiPTR): Likewise.
21606 [C99-based-standards] (PRIoPTR): Likewise.
21607 [C99-based-standards] (PRIuPTR): Likewise.
21608 [C99-based-standards] (PRIxPTR): Likewise.
21609 [C99-based-standards] (PRIXPTR): Likewise.
21610 [C99-based-standards] (SCNdPTR): Likewise.
21611 [C99-based-standards] (SCNiPTR): Likewise.
21612 [C99-based-standards] (SCNoPTR): Likewise.
21613 [C99-based-standards] (SCNuPTR): Likewise.
21614 [C99-based-standards] (SCNxPTR): Likewise.
21615 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21617 * conform/data/stdint.h-data: Update comments to clarify
21619 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21621 [C99-based standards] (INT8_MAX): Likewise.
21622 [C99-based standards] (INT16_MIN): Likewise.
21623 [C99-based standards] (INT16_MAX): Likewise.
21624 [C99-based standards] (INT32_MIN): Likewise.
21625 [C99-based standards] (INT32_MAX): Likewise.
21626 [C99-based standards] (INT64_MIN): Likewise.
21627 [C99-based standards] (INT64_MAX): Likewise.
21628 [C99-based standards] (UINT8_MAX): Likewise.
21629 [C99-based standards] (UINT16_MAX): Likewise.
21630 [C99-based standards] (UINT32_MAX): Likewise.
21631 [C99-based standards] (UINT64_MAX): Likewise.
21632 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21633 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21634 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21635 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21636 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21637 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21638 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21639 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21640 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21641 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21642 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21643 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21644 [C99-based standards] (INT_FAST8_MIN): Likewise.
21645 [C99-based standards] (INT_FAST8_MAX): Likewise.
21646 [C99-based standards] (INT_FAST16_MIN): Likewise.
21647 [C99-based standards] (INT_FAST16_MAX): Likewise.
21648 [C99-based standards] (INT_FAST32_MIN): Likewise.
21649 [C99-based standards] (INT_FAST32_MAX): Likewise.
21650 [C99-based standards] (INT_FAST64_MIN): Likewise.
21651 [C99-based standards] (INT_FAST64_MAX): Likewise.
21652 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21653 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21654 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21655 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21656 [C99-based standards] (INTPTR_MIN): Likewise.
21657 [C99-based standards] (INTPTR_MAX): Likewise.
21658 [C99-based standards] (UINTPTR_MAX): Likewise.
21659 [C99-based standards] (INTMAX_MIN): Likewise.
21660 [C99-based standards] (INTMAX_MAX): Likewise.
21661 [C99-based standards] (UINTMAX_MAX): Likewise.
21662 [C99-based standards] (PTRDIFF_MIN): Likewise.
21663 [C99-based standards] (PTRDIFF_MAX): Likewise.
21664 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21665 [C99-based standards] (SIZE_MAX): Likewise.
21666 [C99-based standards] (WCHAR_MAX): Likewise.
21667 [C99-based standards] (WINT_MAX): Likewise.
21668 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21669 constraint on value.
21670 [C99-based standards] (WCHAR_MIN): Likewise.
21671 [C99-based standards] (WINT_MIN): Likewise.
21672 [C99-based standards] (*_t): Allow.
21673 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21674 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21675 Include math.h-data and complex.h-data. Remove all expectations
21676 of math.h and complex.h contents.
21677 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21679 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21680 (struct tm): Expect tag.
21681 [C99-based-standards] (wcstof): Expect function.
21682 [C99-based-standards] (wcstold): Likewise.
21683 [C99-based-standards] (wcstoll): Likewise.
21684 [C99-based-standards] (wcstoull): Likewise.
21685 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21686 macro-int-constant. Specify type.
21687 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21688 constraint on value.
21689 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21691 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21693 [ISO C standards]: Do not allow headers.
21694 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21695 wcs[abcdefghijklmnopqrstuvwxyz]*.
21696 [ISO C standards] (*_t): Do not allow.
21697 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21699 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21700 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21702 [ISO C standards]: Do not allow headers.
21703 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21704 is[abcdefghijklmnopqrstuvwxyz]*.
21705 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21706 to[abcdefghijklmnopqrstuvwxyz]*.
21707 [ISO C standards] (*_t): Do not allow.
21708 * conform/data/stdalign.h-data: New file.
21709 * conform/data/stdbool.h-data: Likewise.
21710 * conform/data/stdnoreturn.h-data: Likewise.
21712 2012-11-07 Roland McGrath <roland@hack.frob.com>
21715 * manual/filesys.texi (Directory Entries): Typo fix.
21716 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21718 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21720 * elf/elf.h (EM_AARCH64): New macro.
21721 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21722 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21723 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21724 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21725 (R_AARCH64_TLSDESC): Likewise.
21726 (NT_ARM_TLS): Likewise.
21727 (NT_ARM_HW_BREAK): Likewise.
21728 (NT_ARM_HW_WATCH): Likewise.
21730 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21734 (__ieee754_powl): Saturate nonzero exponents with absolute value
21735 below 0x1p-79 to +/- 0x1p-79.
21736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21737 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21738 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21739 nonzero exponents with absolute value below 0x1p-32 to +/-
21741 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21742 (__ieee754_powl): Saturate nonzero exponents with absolute value
21743 below 0x1p-79 to +/- 0x1p-79.
21744 * math/libm-test.inc (pow_test): Add more tests.
21746 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21748 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21749 _dl_s390_cap_flags with kernel. Increase string length.
21750 (_dl_s390_platforms): Add z196 and zEC12.
21752 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21754 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21755 Change XOPEN21K to XOPEN2K.
21757 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21759 * string/memmove.c: Use memcpy when possible.
21761 2012-11-06 Andreas Jaeger <aj@suse.de>
21763 * po/eo.po: Update from translation team.
21765 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21769 exponent and small x and y exponents, scale x or y up. Increase
21770 by 2 the exponent used in scaling up.
21771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21773 * math/libm-test.inc (fma_test): Add more tests.
21774 (fma_test_towardzero): Likewise.
21775 (fma_test_downward): Likewise.
21776 (fma_test_upward): Likewise.
21778 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21781 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21785 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21786 namespace for names of struct fields.
21787 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21789 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21790 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21792 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21795 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21797 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21799 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21803 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21806 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21810 definitely overflow as x * y not x * y + z.
21811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21813 * math/libm-test.inc (fma_test): Add more tests.
21814 (fma_test_towardzero): Likewise.
21815 (fma_test_downward): Likewise.
21816 (fma_test_upward): Likewise.
21818 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21822 * include/stub-tag.h: Remove file.
21823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21825 * manual/maint.texi (Porting): Don't reference it.
21826 * Makerules ($(objpfx)stubs): Likewise.
21827 * dirent/closedir.c: Don't include <stub-tag.h>.
21828 * dirent/dirfd.c: Likewise.
21829 * dirent/fdopendir.c: Likewise.
21830 * dirent/getdents.c: Likewise.
21831 * dirent/getdents64.c: Likewise.
21832 * dirent/opendir.c: Likewise.
21833 * dirent/readdir.c: Likewise.
21834 * dirent/readdir64.c: Likewise.
21835 * dirent/readdir64_r.c: Likewise.
21836 * dirent/readdir_r.c: Likewise.
21837 * dirent/rewinddir.c: Likewise.
21838 * dirent/seekdir.c: Likewise.
21839 * dirent/telldir.c: Likewise.
21840 * gmon/profil.c: Likewise.
21841 * grp/setgroups.c: Likewise.
21842 * inet/if_index.c: Likewise.
21843 * io/access.c: Likewise.
21844 * io/chdir.c: Likewise.
21845 * io/chmod.c: Likewise.
21846 * io/chown.c: Likewise.
21847 * io/close.c: Likewise.
21848 * io/dup.c: Likewise.
21849 * io/dup2.c: Likewise.
21850 * io/dup3.c: Likewise.
21851 * io/euidaccess.c: Likewise.
21852 * io/faccessat.c: Likewise.
21853 * io/fchdir.c: Likewise.
21854 * io/fchmod.c: Likewise.
21855 * io/fchmodat.c: Likewise.
21856 * io/fchown.c: Likewise.
21857 * io/fchownat.c: Likewise.
21858 * io/fcntl.c: Likewise.
21859 * io/flock.c: Likewise.
21860 * io/fstatfs.c: Likewise.
21861 * io/fstatfs64.c: Likewise.
21862 * io/fstatvfs.c: Likewise.
21863 * io/fstatvfs64.c: Likewise.
21864 * io/futimens.c: Likewise.
21865 * io/fxstat.c: Likewise.
21866 * io/fxstat64.c: Likewise.
21867 * io/fxstatat.c: Likewise.
21868 * io/fxstatat64.c: Likewise.
21869 * io/getcwd.c: Likewise.
21870 * io/isatty.c: Likewise.
21871 * io/lchmod.c: Likewise.
21872 * io/lchown.c: Likewise.
21873 * io/link.c: Likewise.
21874 * io/linkat.c: Likewise.
21875 * io/lseek.c: Likewise.
21876 * io/lseek64.c: Likewise.
21877 * io/lxstat64.c: Likewise.
21878 * io/mkdir.c: Likewise.
21879 * io/mkdirat.c: Likewise.
21880 * io/mkfifo.c: Likewise.
21881 * io/mkfifoat.c: Likewise.
21882 * io/open.c: Likewise.
21883 * io/open64.c: Likewise.
21884 * io/openat.c: Likewise.
21885 * io/openat64.c: Likewise.
21886 * io/pipe.c: Likewise.
21887 * io/pipe2.c: Likewise.
21888 * io/poll.c: Likewise.
21889 * io/posix_fadvise.c: Likewise.
21890 * io/posix_fadvise64.c: Likewise.
21891 * io/posix_fallocate.c: Likewise.
21892 * io/posix_fallocate64.c: Likewise.
21893 * io/read.c: Likewise.
21894 * io/readlink.c: Likewise.
21895 * io/readlinkat.c: Likewise.
21896 * io/rmdir.c: Likewise.
21897 * io/sendfile.c: Likewise.
21898 * io/sendfile64.c: Likewise.
21899 * io/statfs.c: Likewise.
21900 * io/statfs64.c: Likewise.
21901 * io/statvfs.c: Likewise.
21902 * io/statvfs64.c: Likewise.
21903 * io/symlink.c: Likewise.
21904 * io/symlinkat.c: Likewise.
21905 * io/ttyname.c: Likewise.
21906 * io/ttyname_r.c: Likewise.
21907 * io/umask.c: Likewise.
21908 * io/unlink.c: Likewise.
21909 * io/unlinkat.c: Likewise.
21910 * io/utime.c: Likewise.
21911 * io/utimensat.c: Likewise.
21912 * io/write.c: Likewise.
21913 * io/xmknod.c: Likewise.
21914 * io/xmknodat.c: Likewise.
21915 * io/xstat.c: Likewise.
21916 * io/xstat64.c: Likewise.
21917 * login/getpt.c: Likewise.
21918 * login/grantpt.c: Likewise.
21919 * login/unlockpt.c: Likewise.
21920 * math/e_acoshl.c: Likewise.
21921 * math/e_acosl.c: Likewise.
21922 * math/e_asinl.c: Likewise.
21923 * math/e_atan2l.c: Likewise.
21924 * math/e_atanhl.c: Likewise.
21925 * math/e_coshl.c: Likewise.
21926 * math/e_expl.c: Likewise.
21927 * math/e_fmodl.c: Likewise.
21928 * math/e_gammal_r.c: Likewise.
21929 * math/e_hypotl.c: Likewise.
21930 * math/e_j0l.c: Likewise.
21931 * math/e_j1l.c: Likewise.
21932 * math/e_jnl.c: Likewise.
21933 * math/e_lgammal_r.c: Likewise.
21934 * math/e_log10l.c: Likewise.
21935 * math/e_log2l.c: Likewise.
21936 * math/e_logl.c: Likewise.
21937 * math/e_powl.c: Likewise.
21938 * math/e_rem_pio2l.c: Likewise.
21939 * math/e_sinhl.c: Likewise.
21940 * math/e_sqrtl.c: Likewise.
21941 * math/fclrexcpt.c: Likewise.
21942 * math/fedisblxcpt.c: Likewise.
21943 * math/feenablxcpt.c: Likewise.
21944 * math/fegetenv.c: Likewise.
21945 * math/fegetexcept.c: Likewise.
21946 * math/fegetround.c: Likewise.
21947 * math/feholdexcpt.c: Likewise.
21948 * math/fesetenv.c: Likewise.
21949 * math/fesetround.c: Likewise.
21950 * math/feupdateenv.c: Likewise.
21951 * math/fgetexcptflg.c: Likewise.
21952 * math/fraiseexcpt.c: Likewise.
21953 * math/fsetexcptflg.c: Likewise.
21954 * math/ftestexcept.c: Likewise.
21955 * math/k_cosl.c: Likewise.
21956 * math/k_rem_pio2l.c: Likewise.
21957 * math/k_sinl.c: Likewise.
21958 * math/k_tanl.c: Likewise.
21959 * math/s_asinhl.c: Likewise.
21960 * math/s_atanl.c: Likewise.
21961 * math/s_cbrtl.c: Likewise.
21962 * math/s_erfl.c: Likewise.
21963 * math/s_expm1l.c: Likewise.
21964 * math/s_log1pl.c: Likewise.
21965 * math/s_tanhl.c: Likewise.
21966 * misc/acct.c: Likewise.
21967 * misc/brk.c: Likewise.
21968 * misc/chflags.c: Likewise.
21969 * misc/chroot.c: Likewise.
21970 * misc/fchflags.c: Likewise.
21971 * misc/fgetxattr.c: Likewise.
21972 * misc/flistxattr.c: Likewise.
21973 * misc/fremovexattr.c: Likewise.
21974 * misc/fsetxattr.c: Likewise.
21975 * misc/fsync.c: Likewise.
21976 * misc/ftruncate.c: Likewise.
21977 * misc/futimes.c: Likewise.
21978 * misc/futimesat.c: Likewise.
21979 * misc/getdomain.c: Likewise.
21980 * misc/getdtsz.c: Likewise.
21981 * misc/gethostid.c: Likewise.
21982 * misc/gethostname.c: Likewise.
21983 * misc/getloadavg.c: Likewise.
21984 * misc/getpagesize.c: Likewise.
21985 * misc/getsysstats.c: Likewise.
21986 * misc/getxattr.c: Likewise.
21987 * misc/gtty.c: Likewise.
21988 * misc/ioctl.c: Likewise.
21989 * misc/lgetxattr.c: Likewise.
21990 * misc/listxattr.c: Likewise.
21991 * misc/llistxattr.c: Likewise.
21992 * misc/lremovexattr.c: Likewise.
21993 * misc/lsetxattr.c: Likewise.
21994 * misc/lutimes.c: Likewise.
21995 * misc/madvise.c: Likewise.
21996 * misc/mincore.c: Likewise.
21997 * misc/mlock.c: Likewise.
21998 * misc/mlockall.c: Likewise.
21999 * misc/mmap.c: Likewise.
22000 * misc/mprotect.c: Likewise.
22001 * misc/msync.c: Likewise.
22002 * misc/munlock.c: Likewise.
22003 * misc/munlockall.c: Likewise.
22004 * misc/munmap.c: Likewise.
22005 * misc/preadv.c: Likewise.
22006 * misc/preadv64.c: Likewise.
22007 * misc/ptrace.c: Likewise.
22008 * misc/pwritev.c: Likewise.
22009 * misc/pwritev64.c: Likewise.
22010 * misc/readv.c: Likewise.
22011 * misc/reboot.c: Likewise.
22012 * misc/remap_file_pages.c: Likewise.
22013 * misc/removexattr.c: Likewise.
22014 * misc/revoke.c: Likewise.
22015 * misc/select.c: Likewise.
22016 * misc/setdomain.c: Likewise.
22017 * misc/setegid.c: Likewise.
22018 * misc/seteuid.c: Likewise.
22019 * misc/sethostid.c: Likewise.
22020 * misc/sethostname.c: Likewise.
22021 * misc/setregid.c: Likewise.
22022 * misc/setreuid.c: Likewise.
22023 * misc/setxattr.c: Likewise.
22024 * misc/sstk.c: Likewise.
22025 * misc/stty.c: Likewise.
22026 * misc/swapoff.c: Likewise.
22027 * misc/swapon.c: Likewise.
22028 * misc/sync.c: Likewise.
22029 * misc/syncfs.c: Likewise.
22030 * misc/syscall.c: Likewise.
22031 * misc/truncate.c: Likewise.
22032 * misc/ualarm.c: Likewise.
22033 * misc/usleep.c: Likewise.
22034 * misc/ustat.c: Likewise.
22035 * misc/utimes.c: Likewise.
22036 * misc/vhangup.c: Likewise.
22037 * misc/writev.c: Likewise.
22038 * posix/_exit.c: Likewise.
22039 * posix/alarm.c: Likewise.
22040 * posix/execve.c: Likewise.
22041 * posix/fexecve.c: Likewise.
22042 * posix/fork.c: Likewise.
22043 * posix/fpathconf.c: Likewise.
22044 * posix/getaddrinfo.c: Likewise.
22045 * posix/getegid.c: Likewise.
22046 * posix/geteuid.c: Likewise.
22047 * posix/getgid.c: Likewise.
22048 * posix/getgroups.c: Likewise.
22049 * posix/getlogin.c: Likewise.
22050 * posix/getlogin_r.c: Likewise.
22051 * posix/getpgid.c: Likewise.
22052 * posix/getpid.c: Likewise.
22053 * posix/getppid.c: Likewise.
22054 * posix/getresgid.c: Likewise.
22055 * posix/getresuid.c: Likewise.
22056 * posix/getsid.c: Likewise.
22057 * posix/getuid.c: Likewise.
22058 * posix/glob64.c: Likewise.
22059 * posix/nanosleep.c: Likewise.
22060 * posix/pathconf.c: Likewise.
22061 * posix/pause.c: Likewise.
22062 * posix/posix_madvise.c: Likewise.
22063 * posix/pread.c: Likewise.
22064 * posix/pread64.c: Likewise.
22065 * posix/pwrite.c: Likewise.
22066 * posix/pwrite64.c: Likewise.
22067 * posix/sched_getaffinity.c: Likewise.
22068 * posix/sched_getp.c: Likewise.
22069 * posix/sched_gets.c: Likewise.
22070 * posix/sched_primax.c: Likewise.
22071 * posix/sched_primin.c: Likewise.
22072 * posix/sched_rr_gi.c: Likewise.
22073 * posix/sched_setaffinity.c: Likewise.
22074 * posix/sched_setp.c: Likewise.
22075 * posix/sched_sets.c: Likewise.
22076 * posix/sched_yield.c: Likewise.
22077 * posix/setgid.c: Likewise.
22078 * posix/setlogin.c: Likewise.
22079 * posix/setpgid.c: Likewise.
22080 * posix/setresgid.c: Likewise.
22081 * posix/setresuid.c: Likewise.
22082 * posix/setsid.c: Likewise.
22083 * posix/setuid.c: Likewise.
22084 * posix/sleep.c: Likewise.
22085 * posix/spawni.c: Likewise.
22086 * posix/sysconf.c: Likewise.
22087 * posix/times.c: Likewise.
22088 * posix/wait.c: Likewise.
22089 * posix/wait3.c: Likewise.
22090 * posix/wait4.c: Likewise.
22091 * posix/waitpid.c: Likewise.
22092 * resolv/gai_sigqueue.c: Likewise.
22093 * resource/getpriority.c: Likewise.
22094 * resource/getrlimit.c: Likewise.
22095 * resource/getrusage.c: Likewise.
22096 * resource/nice.c: Likewise.
22097 * resource/setpriority.c: Likewise.
22098 * resource/setrlimit.c: Likewise.
22099 * resource/ulimit.c: Likewise.
22100 * rt/aio_cancel.c: Likewise.
22101 * rt/aio_fsync.c: Likewise.
22102 * rt/aio_read.c: Likewise.
22103 * rt/aio_sigqueue.c: Likewise.
22104 * rt/aio_suspend.c: Likewise.
22105 * rt/aio_write.c: Likewise.
22106 * rt/clock_getres.c: Likewise.
22107 * rt/clock_gettime.c: Likewise.
22108 * rt/clock_nanosleep.c: Likewise.
22109 * rt/clock_settime.c: Likewise.
22110 * rt/lio_listio.c: Likewise.
22111 * rt/mq_close.c: Likewise.
22112 * rt/mq_getattr.c: Likewise.
22113 * rt/mq_notify.c: Likewise.
22114 * rt/mq_open.c: Likewise.
22115 * rt/mq_receive.c: Likewise.
22116 * rt/mq_send.c: Likewise.
22117 * rt/mq_setattr.c: Likewise.
22118 * rt/mq_timedreceive.c: Likewise.
22119 * rt/mq_timedsend.c: Likewise.
22120 * rt/mq_unlink.c: Likewise.
22121 * rt/shm_open.c: Likewise.
22122 * rt/shm_unlink.c: Likewise.
22123 * rt/timer_create.c: Likewise.
22124 * rt/timer_delete.c: Likewise.
22125 * rt/timer_getoverr.c: Likewise.
22126 * rt/timer_gettime.c: Likewise.
22127 * rt/timer_settime.c: Likewise.
22128 * setjmp/__longjmp.c: Likewise.
22129 * setjmp/setjmp.c: Likewise.
22130 * signal/kill.c: Likewise.
22131 * signal/killpg.c: Likewise.
22132 * signal/raise.c: Likewise.
22133 * signal/sigaction.c: Likewise.
22134 * signal/sigaltstack.c: Likewise.
22135 * signal/sigblock.c: Likewise.
22136 * signal/sigignore.c: Likewise.
22137 * signal/sigintr.c: Likewise.
22138 * signal/signal.c: Likewise.
22139 * signal/sigpause.c: Likewise.
22140 * signal/sigpending.c: Likewise.
22141 * signal/sigqueue.c: Likewise.
22142 * signal/sigreturn.c: Likewise.
22143 * signal/sigset.c: Likewise.
22144 * signal/sigsetmask.c: Likewise.
22145 * signal/sigstack.c: Likewise.
22146 * signal/sigsuspend.c: Likewise.
22147 * signal/sigtimedwait.c: Likewise.
22148 * signal/sigvec.c: Likewise.
22149 * signal/sigwait.c: Likewise.
22150 * signal/sigwaitinfo.c: Likewise.
22151 * signal/sysv_signal.c: Likewise.
22152 * socket/accept.c: Likewise.
22153 * socket/accept4.c: Likewise.
22154 * socket/bind.c: Likewise.
22155 * socket/connect.c: Likewise.
22156 * socket/getpeername.c: Likewise.
22157 * socket/getsockname.c: Likewise.
22158 * socket/getsockopt.c: Likewise.
22159 * socket/isfdtype.c: Likewise.
22160 * socket/listen.c: Likewise.
22161 * socket/recv.c: Likewise.
22162 * socket/recvfrom.c: Likewise.
22163 * socket/recvmsg.c: Likewise.
22164 * socket/send.c: Likewise.
22165 * socket/sendmsg.c: Likewise.
22166 * socket/sendto.c: Likewise.
22167 * socket/setsockopt.c: Likewise.
22168 * socket/shutdown.c: Likewise.
22169 * socket/sockatmark.c: Likewise.
22170 * socket/socket.c: Likewise.
22171 * socket/socketpair.c: Likewise.
22172 * stdio-common/ctermid.c: Likewise.
22173 * stdio-common/cuserid.c: Likewise.
22174 * stdio-common/remove.c: Likewise.
22175 * stdio-common/rename.c: Likewise.
22176 * stdio-common/renameat.c: Likewise.
22177 * stdio-common/tempname.c: Likewise.
22178 * stdlib/getcontext.c: Likewise.
22179 * stdlib/makecontext.c: Likewise.
22180 * stdlib/setcontext.c: Likewise.
22181 * stdlib/swapcontext.c: Likewise.
22182 * stdlib/system.c: Likewise.
22183 * streams/fattach.c: Likewise.
22184 * streams/fdetach.c: Likewise.
22185 * streams/getmsg.c: Likewise.
22186 * streams/getpmsg.c: Likewise.
22187 * streams/putmsg.c: Likewise.
22188 * streams/putpmsg.c: Likewise.
22189 * sysdeps/unix/bsd/getpt.c: Likewise.
22190 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22191 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22192 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22195 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22196 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22197 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22198 * sysvipc/msgctl.c: Likewise.
22199 * sysvipc/msgget.c: Likewise.
22200 * sysvipc/msgrcv.c: Likewise.
22201 * sysvipc/msgsnd.c: Likewise.
22202 * sysvipc/semctl.c: Likewise.
22203 * sysvipc/semget.c: Likewise.
22204 * sysvipc/semop.c: Likewise.
22205 * sysvipc/semtimedop.c: Likewise.
22206 * sysvipc/shmat.c: Likewise.
22207 * sysvipc/shmctl.c: Likewise.
22208 * sysvipc/shmdt.c: Likewise.
22209 * sysvipc/shmget.c: Likewise.
22210 * termios/tcdrain.c: Likewise.
22211 * termios/tcflow.c: Likewise.
22212 * termios/tcflush.c: Likewise.
22213 * termios/tcgetattr.c: Likewise.
22214 * termios/tcgetpgrp.c: Likewise.
22215 * termios/tcsendbrk.c: Likewise.
22216 * termios/tcsetattr.c: Likewise.
22217 * termios/tcsetpgrp.c: Likewise.
22218 * time/adjtime.c: Likewise.
22219 * time/clock.c: Likewise.
22220 * time/getitimer.c: Likewise.
22221 * time/gettimeofday.c: Likewise.
22222 * time/setitimer.c: Likewise.
22223 * time/settimeofday.c: Likewise.
22224 * time/stime.c: Likewise.
22225 * time/time.c: Likewise.
22227 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22229 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22232 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22234 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22236 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22240 FE_TONEAREST before applying Dekker multiplication and Knuth
22241 addition. Clear inexact exceptions and check for exact zero
22242 results afterwards.
22243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22244 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22246 * math/libm-test.inc (fma_test): Add more tests.
22247 (fma_test_towardzero): Likewise.
22248 (fma_test_downward): Likewise.
22249 (fma_test_upward): Likewise.
22250 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22252 (libc_fesetround): New macro.
22253 (libc_fesetroundf): Likewise.
22254 (libc_fesetroundl): Likewise.
22255 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22257 (libc_fesetround_387): Likewise.
22258 (libc_fesetroundf): New macro.
22259 (libc_fesetround): Likewise.
22260 (libc_fesetroundl): Likewise.
22261 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22263 (libc_fesetroundf): New macro.
22264 (libc_fesetround): Likewise.
22265 (libc_fesetroundl): Likewise.
22266 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22267 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22268 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22270 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22271 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22273 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22274 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22276 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22280 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22281 integer constant usable in #if and use that to give value to enum
22283 (FE_DIVBYZERO): Likewise.
22284 (FE_UNDERFLOW): Likewise.
22285 (FE_OVERFLOW): Likewise.
22286 (FE_INVALID): Likewise.
22287 (FE_INVALID_SNAN): Likewise.
22288 (FE_INVALID_ISI): Likewise.
22289 (FE_INVALID_IDI): Likewise.
22290 (FE_INVALID_ZDZ): Likewise.
22291 (FE_INVALID_IMZ): Likewise.
22292 (FE_INVALID_COMPARE): Likewise.
22293 (FE_INVALID_SOFTWARE): Likewise.
22294 (FE_INVALID_SQRT): Likewise.
22295 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22296 (FE_TONEAREST): Likewise.
22297 (FE_TOWARDZERO): Likewise.
22298 (FE_UPWARD): Likewise.
22299 (FE_DOWNWARD): Likewise.
22300 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22301 (FE_DIVBYZERO): Likewise.
22302 (FE_OVERFLOW): Likewise.
22303 (FE_UNDERFLOW): Likewise.
22304 (FE_INEXACT): Likewise.
22305 (FE_TONEAREST): Likewise.
22306 (FE_DOWNWARD): Likewise.
22307 (FE_UPWARD): Likewise.
22308 (FE_TOWARDZERO): Likewise.
22309 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22310 (FE_UNDERFLOW): Likewise.
22311 (FE_OVERFLOW): Likewise.
22312 (FE_DIVBYZERO): Likewise.
22313 (FE_INVALID): Likewise.
22314 (FE_TONEAREST): Likewise.
22315 (FE_TOWARDZERO): Likewise.
22316 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22317 (FE_OVERFLOW): Likewise.
22318 (FE_UNDERFLOW): Likewise.
22319 (FE_DIVBYZERO): Likewise.
22320 (FE_INEXACT): Likewise.
22321 (FE_TONEAREST): Likewise.
22322 (FE_TOWARDZERO): Likewise.
22323 (FE_UPWARD): Likewise.
22324 (FE_DOWNWARD): Likewise.
22325 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22326 (FE_DIVBYZERO): Likewise.
22327 (FE_OVERFLOW): Likewise.
22328 (FE_UNDERFLOW): Likewise.
22329 (FE_INEXACT): Likewise.
22330 (FE_TONEAREST): Likewise.
22331 (FE_DOWNWARD): Likewise.
22332 (FE_UPWARD): Likewise.
22333 (FE_TOWARDZERO): Likewise.
22335 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22337 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22339 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22341 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22342 commands. Quote $PWD.
22343 (blacklist_exports): Don't use remove_newlines. Replace "declare
22345 (remove_newlines): Remove.
22347 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22349 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22350 * stdlib/stdlib.h (atof): Moved to ...
22351 * include/bits/stdlib-float.h: Here. New file.
22352 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22353 * stdlib/bits/stdlib-float.h: New file.
22354 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22356 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22359 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22361 * conform/conformtest.pl (@headers): Add fenv.h.
22362 * conform/data/fenv.h-data: New file.
22363 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22364 include of <math/fenv.h>.
22366 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22367 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22368 && !UNIX98]. Enables tests for XOPEN2K8.
22369 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22370 POSIX2008]: Likewise.
22372 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22373 (struct rusage): Do not expect type or its members.
22376 * math/math.h (FP_NAN): Define macro to integer constant usable in
22377 #if and use that to give value to enum constant.
22378 (FP_INFINITE): Likewise.
22379 (FP_ZERO): Likewise.
22380 (FP_SUBNORMAL): Likewise.
22381 (FP_NORMAL): Likewise.
22383 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22385 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22386 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22389 2012-11-02 Roland McGrath <roland@hack.frob.com>
22391 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22392 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22393 autoconf-time if not.
22394 * configure.in: Remove AC_PREREQ.
22396 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22398 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22399 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22400 of the internal implementation.
22402 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22404 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22405 except include of <misc/sys/syslog.h>.
22407 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22410 function returns with a NULL context exit with zero.
22412 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22414 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22416 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22418 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22419 (run_program_cmd): This.
22420 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22421 (tst_langinfo): New variable. Use it.
22423 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22425 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22426 floating point opcodes.
22428 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22430 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22433 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22435 * sysdeps/mach/hurd/powerpc: Remove directory.
22436 * sysdeps/mach/powerpc: Likewise.
22438 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22440 * scripts/check-local-headers.sh: Ignore c++ headers.
22442 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22444 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22445 __libc_cleanup_region_start argument.
22447 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22452 x * y using scaling, not as x * y + z.
22453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22455 * math/libm-test.inc (fma_test): Add more tests.
22456 (fma_test_towardzero): Likewise.
22457 (fma_test_downward): Likewise.
22458 (fma_test_upward): Likewise.
22460 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22462 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22464 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22466 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22469 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22471 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22473 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22480 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22483 Fix the order of the list for glibc 2.17.
22484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22487 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22491 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22495 for low part of x being zero before using __atanl (y).
22496 * math/libm-test.inc (atan2_test): Add another test.
22498 * manual/install.texi (Configuring and compiling): Document
22499 general use of test-wrapper and test-wrapper-env.
22500 * INSTALL: Regenerated.
22502 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22503 (__fma): Do not extract and scale down low bits on after-rounding
22504 systems when result rounded to normal precision would have normal
22506 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22507 (__fmal): Do not extract and scale down low bits on after-rounding
22508 systems when result rounded to normal precision would have normal
22510 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22511 (__fmal): Do not extract and scale down low bits on after-rounding
22512 systems when result rounded to normal precision would have normal
22514 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22516 (fma_test): Add more tests.
22517 (fma_test_towardzero): Likewise.
22518 (fma_test_downward): Likewise.
22519 (fma_test_upward): Likewise.
22521 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22523 * sysdeps/i386/tininess.h: Renamed to ...
22524 * sysdeps/x86/tininess.h: This.
22525 * sysdeps/x86_64/tininess.h: Removed.
22527 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22529 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22530 input. Use $(build-program-cmd).
22531 ($(objpfx)tst-array1-static.out): Likewise.
22532 ($(objpfx)tst-array2.out): Likewise.
22533 ($(objpfx)tst-array3.out): Likewise.
22534 ($(objpfx)tst-array4.out): Likewise.
22535 ($(objpfx)tst-array5.out): Likewise.
22536 ($(objpfx)tst-array5-static.out): Likewise.
22538 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22540 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22543 * nss/nsswitch.h (nss_interface_function): Provide new
22544 macro for use with NSS functions.
22545 * grp/initgroups.c: Use new macro.
22546 * nss/getXXbyYY.c: Likewise.
22547 * nss/getXXbyYY_r.c: Likewise.
22548 * nss/getXXent.c: Likewise.
22549 * nss/getXXent_r.c: Likewise.
22550 * sysdeps/posix/getaddrinfo.c: Likewise.
22552 2012-10-30 Andreas Jaeger <aj@suse.de>
22554 * po/ru.po: Update Russion translation from translation project.
22556 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22561 result and shift together with sticky bit instead of replicating
22562 round-to-nearest rounding.
22563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22564 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22565 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22566 missing underflow exceptions.
22567 (fma_test_towardzero): Add more tests.
22568 (fma_test_downward): Likewise.
22569 (fma_test_upward): Likewise.
22572 * sysdeps/generic/tininess.h: New file.
22573 * sysdeps/i386/tininess.h: Likewise.
22574 * sysdeps/sh/tininess.h: Likewise.
22575 * sysdeps/x86_64/tininess.h: Likewise.
22576 * stdlib/tst-strtod-underflow.c: Likewise.
22577 * stdlib/tst-tininess.c: Likewise.
22578 * stdlib/strtod_l.c: Include <tininess.h>.
22579 (round_and_return): Do not set errno for exact underflow cases.
22580 Force an underflow exception when setting errno for underflow.
22581 Determine underflow based on rounding to normal precision if
22582 TININESS_AFTER_ROUNDING.
22583 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22584 ERANGE for exact underflow cases.
22585 * stdlib/Makefile (tests): Add tst-tininess and
22586 tst-strtod-underflow.
22587 ($(objpfx)tst-tininess): Use $(link-libm).
22588 ($(objpfx)tst-strtod-underflow): Likewise.
22590 2012-10-30 Andreas Jaeger <aj@suse.de>
22593 * elf/Makefile (tests): Remove conditional for have-initfini-array
22594 since this is now always required and the variable does not exist
22596 (tests-static): Likewise.
22597 (modules-names): Likewise.
22599 * po/eo.po: Add Esperanto translation from translation project.
22601 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22602 merged with constructor/destructor.
22603 (init_array): Likewise.
22604 * elf/tst-array2dep.c (fini_array): Likewise.
22605 (init_array): Likewise.
22607 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22609 * manual/message.texi: Delete @cartouche tags.
22611 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22613 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22615 * sysdeps/mach/hurd/fsync.c: Likewise.
22617 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22618 [_POSIX_REALTIME_SIGNALS]: Change condition to
22619 [_POSIX_REALTIME_SIGNALS > 0].
22621 2012-10-27 Andreas Jaeger <aj@suse.de>
22623 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22624 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22626 [__WORDSIZE != 64]: Likewise.
22628 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22630 * iconvdata/tst-table.sh: Remove ${SHELL}.
22631 * iconvdata/tst-tables.sh: Likewise.
22633 2012-10-25 David S. Miller <davem@davemloft.net>
22635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22636 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22641 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22642 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22643 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22646 2012-10-25 Roland McGrath <roland@hack.frob.com>
22648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22649 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22652 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22653 Jim Blandy <jimb@codesourcery.com>
22655 * scripts/cross-test-ssh.sh: New file.
22656 * manual/install.texi (Configuring and compiling): Document use of
22658 * INSTALL: Regenerated.
22660 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22662 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22665 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22667 * Makeconfig (run-program-prefix): Fix comment.
22669 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22670 Jim Blandy <jimb@codesourcery.com>
22672 * Makeconfig (test-wrapper): New variable,
22673 (test-wrapper-env): Likewise.
22674 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22675 (run-built-tests): Define to yes.
22676 (run-program-prefix): Use $(test-wrapper).
22677 (built-program-cmd): Likewise.
22678 * Rules (make-test-out): Use $(test-wrapper-env) and
22679 $(host-built-program-cmd).
22680 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22681 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22683 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22684 $(test-wrapper-env) to tst-rtld-load-self.sh.
22685 ($(objpfx)order2.out): Use $(test-wrapper).
22686 ($(objpfx)tst-initorder.out): Likewise.
22687 ($(objpfx)tst-initorder2.out): Likewise.
22688 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22689 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22690 (test_wrapper_env): New variable. Use it to run ld.so.
22691 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22692 Use it to run ld.so.
22693 (test_wrapper_env): Likewise.
22694 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22695 $(test-wrapper) to run-iconv-test.sh.
22696 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22697 (ICONV): Use $test_wrapper.
22698 * posix/Makefile ($(objpfx)globtest.out): Pass
22699 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22700 globtest.sh, not $(run-program-prefix).
22701 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22702 (test_wrapper): Likewise.
22703 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22704 set together with run_via_rtld_prefix.
22705 (run_program_prefix): Define in terms of test_wrapper and
22706 run_via_rtld_prefix.
22708 2012-10-24 Roland McGrath <roland@hack.frob.com>
22710 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22711 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22715 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22716 Declare __clock_getres, __clock_gettime, __clock_settime,
22717 __clock_nanosleep, and __clock_getcpuclockid.
22718 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22719 Remove librt_hidden_def (clock_gettime).
22720 * sysdeps/unix/clock_gettime.c: Likewise.
22721 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22723 * rt/clock_getres.c: Define __clock_getres as an alias.
22724 * sysdeps/posix/clock_getres.c: Likewise.
22725 * rt/clock_settime.c: Define __clock_settime as an alias.
22726 * sysdeps/unix/clock_settime.c: Likewise.
22727 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22728 * sysdeps/unix/clock_nanosleep.c: Likewise.
22729 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22730 * rt/clock-compat.c: New file.
22731 * rt/Makefile (librt-routines): Add clock-compat and move
22732 $(clock-routines) to ...
22733 (routines): ... here, new variable.
22734 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22735 Don't add get_clockfreq here.
22736 * rt/Versions (libc: GLIBC_2.17): New version set.
22737 Add clock_* symbols here.
22738 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22739 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22740 (GLIBC_2.17): Add clock_* symbols.
22741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22752 * NEWS: Mention the move.
22754 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22755 Use __open, __read, __close rather than their public counterparts.
22756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22757 (__get_clockfreq_via_cpuinfo): Likewise.
22758 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22759 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22761 * config.h.in (HAVE_IFUNC): New #undef.
22762 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22764 * configure: Regenerated.
22766 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22768 * configure.in: Move READELF check to start of file.
22769 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22770 libc_cv_asm_gnu_indirect_function in the process.
22771 * configure: Regenerated.
22773 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22775 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22776 send the output to /dev/null.
22777 (libc_cv_cc_with_libunwind): Likewise.
22778 (libc_cv_as_noexecstack): Likewise.
22779 * configure: Regenerate.
22781 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22783 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22785 * posix/globtest.sh (TMPDIR): Do not set.
22786 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22787 (testout): Likewise.
22789 2012-10-24 Andreas Jaeger <aj@suse.de>
22791 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22792 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22793 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22794 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22795 posix_fadvise64, posix_fallocate64.
22797 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22798 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22799 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22801 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22803 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22806 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22807 <bits/fcntl-linux.h>.
22808 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22811 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22812 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22813 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22814 [__WORDSIZE != 64]: Likewise.
22816 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22818 * Makeconfig (run-built-tests): New variable.
22819 * Rules [$(cross-compiling) = yes]: Change condition to
22820 [$(run-built-tests) = no].
22821 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22822 to [$(run-built-tests) = yes].
22823 * elf/Makefile [$(cross-compiling) = no]: Likewise
22824 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22825 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22826 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22827 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22828 * io/Makefile [$(cross-compiling) = no]: Likewise.
22829 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22830 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22831 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22832 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22833 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22834 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22835 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22836 * string/Makefile [$(cross-compiling) = no]: Likewise.
22838 * posix/Makefile ($(objpfx)globtest.out): Pass
22839 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22840 $(rtld-installed-name).
22841 * posix/globtest.sh (elf_objpfx): Remove variable.
22842 (rtld_installed_name): Likewise.
22843 (library_path): Likewise.
22844 (run_program_prefix): New variable. Use for running globtest
22847 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22848 Joseph Myers <joseph@codesourcery.com>
22850 * Makeconfig (host-built-program-cmd): New variable.
22851 * elf/Makefile (tst-stackguard1-ARGS): Use
22852 $(host-built-program-cmd).
22853 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22854 (tst-spawn-ARGS): Likewise.
22855 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22857 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22858 Jim Blandy <jimb@codesourcery.com>
22860 * Makeconfig (run-via-rtld-prefix): New variable.
22861 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22862 (built-program-cmd): Likewise.
22864 2012-10-22 Andreas Jaeger <aj@suse.de>
22866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22867 __O_RSYNC if it exists, otherwise to O_SYNC.
22869 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22870 Joseph Myers <joseph@codesourcery.com>
22872 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22874 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22876 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22879 2012-10-22 Andreas Jaeger <aj@suse.de>
22881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22886 bits/fcntl-linux.h.
22888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22889 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22896 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22897 Joseph Myers <joseph@codesourcery.com>
22899 * config.make.in (NM): New variable.
22901 2012-10-21 Andreas Jaeger <aj@suse.de>
22903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22904 definitions and declarations that are provided by
22905 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22907 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22910 * elf/Makefile (tests-static): Add tst-leaks1-static.
22911 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22912 ($(objpfx)tst-leaks1-static): New rule.
22913 ($(objpfx)tst-leaks1-static-mem): Likewise.
22914 (tst-leaks1-static-ENV): New macro.
22915 * elf/dl-open.c (dl_open_worker): Check the main application
22916 only if SHARED is defined.
22917 * elf/tst-leaks1-static.c: New file.
22919 2012-10-20 Andreas Jaeger <aj@suse.de>
22921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22922 generic values for Linux.
22923 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22924 and declarations that are provided by <bits/fcntl-linux.h> and
22925 include <bits/fcntl-linux.h>.
22926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22929 2012-10-20 Roland McGrath <roland@hack.frob.com>
22931 * io/fcntl.h: Move include of <bits/types.h> to the top and
22932 include it unconditionally.
22934 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22936 * wcsmbs/Makefile (tests-ifunc): New variable.
22937 (tests): Add $(tests-ifunc).
22938 * wcsmbs/test-wcschr-ifunc.c: New file.
22939 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22940 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22941 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22942 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22943 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22945 * string/Makefile (tests-ifunc): New variable.
22946 (tests): Add $(tests-ifunc).
22947 * string/test-memccpy.c (TEST_NAME): New macro.
22948 * string/test-memchr.c (TEST_NAME): Likewise.
22949 * string/test-memcmp.c (TEST_NAME): Likewise.
22950 * string/test-memcpy.c (TEST_NAME): Likewise.
22951 * string/test-memmem.c (TEST_NAME): Likewise.
22952 * string/test-memmove.c (TEST_NAME): Likewise.
22953 * string/test-memset.c (TEST_NAME): Likewise.
22954 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22955 * string/test-stpcpy.c (TEST_NAME): Likewise.
22956 * string/test-stpncpy.c (TEST_NAME): Likewise.
22957 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22958 * string/test-strcasestr.c (TEST_NAME): Likewise.
22959 * string/test-strcat.c (TEST_NAME): Likewise.
22960 * string/test-strchr.c (TEST_NAME): Likewise.
22961 * string/test-strcmp.c(TEST_NAME): Likewise.
22962 * string/test-strcpy.c (TEST_NAME): Likewise.
22963 * string/test-strcspn.c (TEST_NAME): Likewise.
22964 * string/test-strlen.c (TEST_NAME): Likewise.
22965 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22966 * string/test-strncmp.c (TEST_NAME): Likewise.
22967 * string/test-strncpy.c (TEST_NAME): Likewise.
22968 * string/test-strnlen.c (TEST_NAME): Likewise.
22969 * string/test-strpbrk.c (TEST_NAME): Likewise.
22970 * string/test-strrchr.c (TEST_NAME): Likewise.
22971 * string/test-strspn.c (TEST_NAME): Likewise.
22972 * string/test-strstr.c (TEST_NAME): Likewise.
22973 * string/test-bcopy-ifunc.c: New file.
22974 * string/test-bzero-ifunc.c: Likewise.
22975 * string/test-memccpy-ifunc.c: Likewise.
22976 * string/test-memchr-ifunc.c: Likewise.
22977 * string/test-memcmp-ifunc.c: Likewise.
22978 * string/test-memcpy-ifunc.c: Likewise.
22979 * string/test-memmem-ifunc.c: Likewise.
22980 * string/test-memmove-ifunc.c: Likewise.
22981 * string/test-mempcpy-ifunc.c: Likewise.
22982 * string/test-memset-ifunc.c: Likewise.
22983 * string/test-rawmemchr-ifunc.c: Likewise.
22984 * string/test-stpcpy-ifunc.c: Likewise.
22985 * string/test-stpncpy-ifunc.c: Likewise.
22986 * string/test-strcasecmp-ifunc.c: Likewise.
22987 * string/test-strcasestr-ifunc.c: Likewise.
22988 * string/test-strcat-ifunc.c: Likewise.
22989 * string/test-strchr-ifunc.c: Likewise.
22990 * string/test-strchrnul-ifunc.c: Likewise.
22991 * string/test-strcmp-ifunc.c: Likewise.
22992 * string/test-strcpy-ifunc.c: Likewise.
22993 * string/test-strcspn-ifunc.c: Likewise.
22994 * string/test-strlen-ifunc.c: Likewise.
22995 * string/test-strncasecmp-ifunc.c: Likewise.
22996 * string/test-strncat-ifunc.c: Likewise.
22997 * string/test-strncmp-ifunc.c: Likewise.
22998 * string/test-strncpy-ifunc.c: Likewise.
22999 * string/test-strnlen-ifunc.c: Likewise.
23000 * string/test-strpbrk-ifunc.c: Likewise.
23001 * string/test-strrchr-ifunc.c: Likewise.
23002 * string/test-strspn-ifunc.c: Likewise.
23003 * string/test-strstr-ifunc.c: Likewise.
23005 * debug/Makefile (tests-ifunc): New variable.
23006 (tests): Add $(tests-ifunc).
23007 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23008 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23009 * debug/test-stpcpy_chk-ifunc.c: New file.
23010 * debug/test-strcpy_chk-ifunc.c: Likewise.
23012 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23015 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23016 header is not read in.
23018 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23020 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23021 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23022 directly. Pass built executable to script as
23023 $(built-program-cmd).
23024 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23025 $testprogram without using LD_LIBRARY_PATH and $ldso.
23027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23028 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23029 $(rtld-installed-name).
23030 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23031 (rtld_installed_name): Likewise.
23032 (library_path): Likewise.
23033 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23034 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23035 $(run-program-prefix) to tst-tables.sh.
23036 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23037 it to run tst-table-from and tst-table-to.
23038 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23039 Pass it to tst-table.sh.
23040 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23041 $(run-program-prefix) to tst-gettext.sh.
23042 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23044 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23046 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23047 to run tst-gettext.
23048 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23049 to run tst-gettext2.
23050 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23051 to run tst-translit.
23052 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23053 $(run-program-prefix) to tst-mtrace.sh.
23054 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23056 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23057 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23058 $(rtld-installed-name).
23059 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23060 (rtld_installed_name): Likewise.
23061 (run_program_prefix): New variable. Use it to run wordexp-test.
23063 * Makeconfig (ARCH): Remove all definitions.
23064 (machine): Likewise.
23065 [ARCH]: Remove conditional code.
23066 [!objdir]: Give error.
23067 [!objdir] (objpfx): Remove.
23068 [!objdir] (common-objpfx): Likewise.
23069 [!objdir] (common-objdir): Likewise.
23070 * configure.in (config_makefile): Remove. Hardcode Makefile in
23071 AC_CONFIG_FILES call.
23072 * configure: Regenerated.
23075 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23077 (testout): Likewise.
23079 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23080 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23081 $(rtld-installed-name).
23082 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23083 (rtld_installed_name): Likwise.
23084 (runit): Remove function.
23085 (run_getconf): New variable, Use it for running getconf binary.
23087 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23090 * string/test-memmem.c (check_result): New function.
23091 (do_one_test): Use it.
23092 (check1): New function.
23093 (test_main): Use it.
23095 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23097 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23099 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23101 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23102 (_G_LSEEK64): Likewise.
23103 (_G_MMAP64): Likewise.
23104 (_G_FSTAT64): Likewise.
23105 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23106 (_G_LSEEK64): Likewise.
23107 (_G_MMAP64): Likewise.
23108 (_G_FSTAT64): Likewise.
23109 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23110 unconditional. Call __mmap64 directly.
23111 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23112 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23113 __lseek64 directly.
23114 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23115 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23117 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23118 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23119 __lseek64 directly.
23120 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23121 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23122 __lseek64 directly.
23123 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23124 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23125 __lseek64 directly.
23126 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23127 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23128 __fxstat64 directly.
23129 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23130 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23132 (freopen64) [!_G_OPEN64]: Remove conditional code.
23133 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23135 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23136 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23138 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23139 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23141 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23142 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23144 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23145 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23147 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23148 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23150 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23151 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23153 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23155 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23158 * manual/memory.texi (Malloc Tunable Parameters): Add note
23159 about free list pointers overwriting some perturb bytes.
23160 Wording suggested by Roland McGrath.
23162 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23164 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23165 (lgamma_test): Likewise.
23166 (tgamma_test): Likewise.
23168 2012-10-16 Florian Weimer <fweimer@redhat.com>
23171 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23172 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23174 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23176 * NEWS: Mention BZ #14716.
23177 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23178 when removing AVAILABLE1_USES_J macro.
23180 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23182 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23183 (__bswap_64): __uint64_t for unsigned 64-bit int.
23185 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23187 * include/string.h (memmem): Declare libc hidden alias.
23188 * string/memmem.c (memmem): Define libc hidden alias.
23189 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23190 __read, __close instead of open, read, close.
23192 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23195 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23197 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23198 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23199 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23201 (__rawmemchr_sse2): Likewise.
23202 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23203 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23204 (__strchr_sse2): Likewise.
23205 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23206 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23207 (__strcasecmp_sse2): Likewise.
23208 (__strncasecmp_sse2): Likewise.
23209 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23210 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23211 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23212 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23213 (__strrchr_sse2): Likewise.
23214 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23216 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23217 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23218 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23219 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23220 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23221 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23222 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23223 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23224 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23225 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23226 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23227 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23228 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23229 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23230 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23231 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23232 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23233 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23234 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23235 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23236 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23237 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23238 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23239 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23240 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23241 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23242 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23243 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23244 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23245 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23247 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23249 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23250 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23251 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23252 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23254 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23256 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23257 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23258 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23259 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23261 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23263 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23264 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23265 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23266 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23267 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23268 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23269 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23270 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23271 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23272 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23273 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23274 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23275 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23277 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23278 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23279 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23280 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23281 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23282 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23283 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23284 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23285 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23286 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23287 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23288 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23289 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23290 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23291 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23292 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23293 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23294 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23295 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23296 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23297 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23298 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23299 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23300 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23301 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23303 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23304 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23305 * include/ifunc-impl-list.h: New file.
23306 * misc/ifunc-impl-list.c: Likewise.
23307 * misc/Makefile (routines): Add ifunc-impl-list.
23308 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23309 * string/test-string.h: Include <ifunc-impl-list.h>.
23310 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23311 TEST_NAME]: New variables.
23312 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23314 (test_init): Call __libc_ifunc_impl_list to initialize
23315 func_list if TEST_IFUNC and TEST_NAME are defined.
23317 * string/Makefile (strop-tests): Add bcopy and bzero.
23318 * string/test-bcopy.c: New file.
23319 * string/test-bzero.c: Likewise.
23320 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23322 * string/test-memset.c: Support bzero test if TEST_BZERO is
23324 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23326 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23328 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23331 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23333 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23334 * configure: Regenerated.
23336 * Makeconfig (+link-static-before-libc): Don't include
23337 $(link-static-libc).
23339 * libio/libio.h (_IO_pos_t): Remove.
23341 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23343 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23346 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23348 * crypt/crypt-entry.c: Include fips-private.h.
23349 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23350 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23351 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23352 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23354 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23356 * crypt/crypt-private.h: Include stdbool.h.
23357 (_ufc_setup_salt_r): Return bool.
23358 * crypt/crypt-entry.c: Include errno.h.
23359 (__crypt_r): Return NULL with EINVAL for bad salt.
23360 * crypt/crypt_util.c (bad_for_salt): New.
23361 (_ufc_setup_salt_r): Check that salt is long enough and within
23362 the specified alphabet.
23363 * crypt/badsalttest.c: New file.
23364 * crypt/Makefile (tests): Add it.
23365 ($(objpfx)badsalttest): New.
23367 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23369 * NEWS: Add entry for BZ #14602.
23371 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23373 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23375 * math/libm-test.inc: Update comment listing what functions and
23377 (isgreater_test): New function.
23378 (isgreaterequal_test): Likewise.
23379 (isless_test): Likewise.
23380 (islessequal_test): Likewise.
23381 (islessgreater_test): Likewise.
23382 (isunordered_test): Likewise.
23383 (main): Call the new functions.
23385 2012-10-09 Roland McGrath <roland@hack.frob.com>
23387 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23388 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23389 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23390 * sysdeps/i386/configure: Regenerated.
23391 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23392 * sysdeps/mach/configure: Regenerated.
23393 * sysdeps/mach/hurd/configure: Regenerated.
23394 * sysdeps/powerpc/configure: Regenerated.
23395 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23396 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23397 * sysdeps/s390/s390-32/configure: Regenerated.
23398 * sysdeps/s390/s390-64/configure: Regenerated.
23399 * sysdeps/sh/configure: Regenerated.
23400 * sysdeps/sparc/configure: Regenerated.
23401 * sysdeps/unix/sysv/linux/configure: Regenerated.
23402 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23403 * sysdeps/x86_64/configure: Regenerated.
23405 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23406 defined. Don't check if MAP is NULL.
23408 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23410 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23411 (_G_stat64): Likewise.
23412 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23413 (_G_stat64): Likewise.
23414 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23415 instead of struct _G_stat64.
23416 * libio/fileops.c (mmap_remap_check): Likewise.
23417 (decide_maybe_mmap): Likewise.
23418 (_IO_new_file_seekoff): Likewise.
23419 (_IO_file_stat): Likewise.
23420 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23422 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23423 instead of struct _G_stat64.
23424 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23426 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23429 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23431 (CHECK_EOL): New macro.
23432 (two_way_short_needle): Check beginning of haystack for EOL. Use
23434 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23435 Replace with CHECK_EOL.
23436 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23437 Replace with CHECK_EOL.
23439 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23441 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23443 * math/libm-test.inc: Update comment listing what functions and
23445 (finite_test): New function.
23446 (isinf_test): Likewise.
23447 (isnan_test): Likewise.
23448 (fpclassify_test): Test subnormal input.
23449 (isfinite_test): Likewise.
23450 (isnormal_test): Likewise.
23451 (main): Call the new functions.
23453 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23456 * Makerules (%.dynsym): Force C locale when running
23457 $(OBJDUMP) --dynamic-syms.
23459 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23461 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23464 2012-10-06 David S. Miller <davem@davemloft.net>
23466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23467 upper 32-bits of the length value in %o2 since we use branch-on-register
23468 tests which consider the entire 64-bit register.
23470 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23472 * string/test-strstr.c (check2): Add a test for page boundary.
23474 2012-10-05 David S. Miller <davem@davemloft.net>
23476 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23482 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23483 and bzero when HWCAP_SPARC_CRYPTO is present.
23485 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23488 * string/test-strstr.c (check2): New function.
23489 (test_main): Call check2.
23491 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23493 * string/bug-strcasestr1.c (do_test): Moved to ...
23494 * string/test-strcasestr.c (check1): Here. New function.
23495 (do_one_test): Break out result checking code into ...
23496 (check_result): This. New function.
23497 (do_one_test): Call check_result.
23498 (test_main): Call check1.
23499 * string/bug-strchr1.c (do_test): Moved to ...
23500 * string/test-strchr.c (check1): Here. New function.
23501 (do_one_test): Break out result checking code into ...
23502 (check_result): This. New function.
23503 (do_one_test): Call check_result.
23504 (test_main): Call check1.
23505 * string/bug-strstr1.c (main): Moved to ...
23506 * string/test-strstr.c (check1): Here. New function.
23507 (do_one_test): Break out result checking code into ...
23508 (check_result): This. New function.
23509 (do_one_test): Call check_result.
23510 (test_main): Call check1.
23511 * string/bug-strcasestr1.c: Removed.
23512 * string/bug-strchr1.c: Likewise.
23513 * string/bug-strstr1.c: Likewise.
23515 * elf/Makefile (dl-routines): Add hwcaps.
23516 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23517 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23518 (_dl_important_hwcaps): Moved to ...
23519 * elf/dl-hwcaps.c: Here. New file.
23520 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23523 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23524 if IS_IN_rtld isn't defined.
23526 * elf/dl-support.c (_dl_sysinfo_map): New.
23527 Include "get-dynamic-info.h" and "setup-vdso.h".
23528 (_dl_non_dynamic_init): Call setup_vdso.
23529 * elf/dynamic-link.h: Don't include <assert.h>.
23530 (elf_get_dynamic_info): Moved to ...
23531 * elf/get-dynamic-info.h: Here. New file.
23532 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23533 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23534 * elf/setup-vdso.h: Here. New file.
23535 * elf/rtld.c: Include "setup-vdso.h".
23536 (dl_main): Call setup_vdso.
23538 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23540 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23541 creal in comment listing functions tested. List finite, isinf,
23542 isnan, isless, islessequal, isgreater, isgreaterequal,
23543 islessgreater, isunordered, lgamma_r and pow10 as functions and
23544 macros not tested. Mention which functions not tested are aliases
23545 for other functions. Fix typo. Note that signs of NaNs are not
23548 * scripts/config.guess: Update from config.git.
23549 * scripts/config.sub: Likewise.
23551 2012-10-04 Roland McGrath <roland@hack.frob.com>
23553 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23554 * misc/madvise.c (madvise): Renamed to __madvise.
23555 Make madvise a weak alias.
23556 * include/sys/mman.h: Declare __madvise.
23557 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23558 * sysdeps/unix/syscalls.list
23559 (madvise): Make __madvise the strong name, and madvise a weak alias.
23560 * sysdeps/unix/sysv/linux/syscalls.list
23561 (madvise, mmap): Remove redundant entries.
23562 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23563 * malloc/malloc.c (mtrim): Likewise.
23564 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23566 2012-10-03 Roland McGrath <roland@hack.frob.com>
23568 * sysdeps/mach/hurd/dl-cache.c: File removed.
23569 * config.h.in (USE_LDCONFIG): New #undef.
23570 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23571 * configure: Regenerated.
23572 * elf/Makefile (dl-routines): Add dl-cache only under
23573 [$(use-ldconfig) = yes].
23574 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23575 cache on [USE_LDCONFIG].
23576 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23578 * elf/rtld.c (dl_main): Likewise.
23580 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23582 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23583 _SC_LEVEL4_CACHE_LINESIZE.
23585 2012-10-03 Roland McGrath <roland@hack.frob.com>
23587 * sysdeps/unix/bsd/confstr.h: File removed.
23589 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23591 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23594 2012-10-02 Roland McGrath <roland@hack.frob.com>
23596 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23597 Make 'mapoff' field ElfW(Off) rather than off_t.
23599 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23601 * nscd/Makefile: Remove nscd-cflags and all its users.
23602 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23603 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23606 * malloc.c (malloc_printerr): Clarify error message.
23608 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23612 Set bit_FMA_Usable if FMA is supported.
23613 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23615 (bit_FMA4_Usable): Updated.
23616 (index_FMA_Usable): New macro.
23617 (CPUID_FMA): Likewise
23618 (HAS_FMA): Defined with bit_FMA_Usable.
23620 2012-10-01 Roland McGrath <roland@hack.frob.com>
23622 * bits/types.h (__swblk_t): Type removed.
23623 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23624 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23626 (__SWBLK_T_TYPE): Likewise.
23627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23628 (__SWBLK_T_TYPE): Likewise.
23629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23630 (__SWBLK_T_TYPE): Likewise.
23631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23632 (__SWBLK_T_TYPE): Likewise.
23634 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23635 Honza Horak <hhorak@redhat.com>
23637 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23638 (xdr_mapname): Use YPMAXMAP as maxsize.
23639 (xdr_peername): Use YPMAXPEER as maxsize.
23640 (xdr_keydat): Use YPAXRECORD as maxsize.
23641 (xdr_valdat): Use YPMAXRECORD as maxsize.
23643 2012-10-01 Roland McGrath <roland@hack.frob.com>
23645 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23647 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23648 * csu/init-first.c: ... here.
23649 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23650 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23651 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23652 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23653 * sysdeps/i386/init-first.c: File removed.
23654 * sysdeps/sh/init-first.c: File removed.
23656 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23660 if x * y might underflow to zero and z is zero.
23661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23663 * math/libm-test.inc (min_subnorm_value): New variable.
23664 (fma_test): Add more tests.
23665 (fma_test_towardzero): Likewise.
23666 (fma_test_downward): Likewise
23667 (fma_test_upward): Likewise.
23668 (initialize): Set min_subnorm_value.
23670 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23676 mode for addition resulting in exact zero.
23677 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23680 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23682 * math/libm-test.inc (fma_test): Add more tests.
23683 (fma_test_towardzero): New function.
23684 (fma_test_downward): Likewise.
23685 (fma_test_upward): Likewise.
23686 (main): Call the new functions.
23688 2012-09-28 David S. Miller <davem@davemloft.net>
23690 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23692 2012-09-28 Roland McGrath <roland@hack.frob.com>
23694 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23695 instead of SIGALRM.
23697 * sysdeps/gnu/_G_config.h: Moved to ...
23698 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23699 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23700 * sysdeps/generic/_G_config.h: ... here.
23702 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23704 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23706 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23707 Conditionalize target on [libnss_test1.so-version].
23709 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23711 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23712 (elfobjdir): Move out of conditionals.
23714 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23715 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23716 (__nss_lookup_function): Conditionalize label remove_from_tree on
23717 [!DO_STATIC_NSS || SHARED], matching its only use.
23719 2012-09-28 David S. Miller <davem@davemloft.net>
23721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23722 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23724 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23726 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23728 when HWCAP_SPARC_CRYPTO is present.
23730 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23732 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23734 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23737 * stdio-common/vfprintf.c (process_string_arg): Revert
23740 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23742 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23744 * stdio-common/tst-sprintf.c: Include <locale.h>
23745 (main): Test sprintf's handling of incomplete multibyte
23748 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23750 * elf/dl-runtime.c (VERSYMIDX): Removed.
23751 * elf/dl-version.c (VERSYMIDX): Likewise.
23752 * elf/do-rel.h (VERSYMIDX): Likewise.
23753 (VALIDX): Likewise.
23754 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23755 * elf/rtld.c (VALIDX): Likewise.
23756 (ADDRIDX): Likewise.
23757 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23758 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23759 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23760 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23761 (VALIDX): Likewise.
23762 (ADDRIDX): Likewise.
23764 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23766 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23768 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23771 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23773 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23774 addresses are in the same scope as 192.0.2/24.
23775 * posix/gai.conf: Document new scope table defaults.
23777 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23780 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23781 for ftell. Compute offsets from write pointers instead.
23782 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23784 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23787 * libio/Makefile (tests): New test case tst-fseek.
23788 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23789 combination works in wide mode.
23790 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23791 state when the external buffer state changes.
23793 2012-09-27 David S. Miller <davem@davemloft.net>
23796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23797 pass reloc->r_addend in as the 'high' argument to
23798 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23802 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23804 * rt/tst-aio2.c: Include <pthread.h>.
23805 * rt/tst-aio3.c: Likewise.
23807 2012-09-27 Steve Ellcey <sellcey@mips.com>
23809 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23811 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23813 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23814 contents on [SHARED].
23816 2012-09-26 Marek Polacek <polacek@redhat.com>
23820 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23821 for C++ and GCC <4.3 as well as for non GCC compilers.
23823 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23827 2012-09-25 Roland McGrath <roland@hack.frob.com>
23829 * Makefile.in (all, install): Declare with .PHONY.
23830 Reported by Michael Hope <michael.hope@linaro.org>.
23832 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23834 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23835 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23837 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23839 (sydep_routines): Add the new and the internal functions.
23840 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23841 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23843 (GLIBC_2.17): Add the new function.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23845 (GLIBC_2.17): Likewise.
23846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23847 (GLIBC_2.17): Likewise.
23848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23849 (GLIBC_2.17): Likewise.
23850 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23852 2012-09-25 Alan Modra <amodra@gmail.com>
23854 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23855 Add release barrier before setting once_control to say
23856 initialisation is done. Add hints on lwarx. Use macro in
23858 (clear_once_control): Add release barrier.
23860 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23863 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23865 * math/s_clog10.c (__clog10): Likewise.
23866 * math/s_clog10f.c (__clog10f): Likewise.
23867 * math/s_clog10l.c (__clog10l): Likewise.
23868 * math/s_clogf.c (__clogf): Likewise.
23869 * math/s_clogl.c (__clogl): Likewise.
23870 * math/Makefile (libm-calls): Add x2y2m1.
23871 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23872 (__x2y2m1): Likewise.
23873 (__x2y2m1l): Likewise.
23874 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23875 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23878 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23879 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23880 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23881 * sysdeps/i386/fpu/libm-test-ulps: Update.
23882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23885 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23886 int as type of variable DEPTH.
23887 (glob): Use size_t instead of int as type of variables NEWCOUNT
23890 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23892 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23893 Add s_sincosf-sse2.
23894 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23895 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23896 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23897 macros for using routine as __sincosf_ia32.
23898 Use macro for function declaration and weak_alias.
23899 * sysdeps/i386/fpu/libm-test-ulps: Update.
23901 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23904 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23905 subnormal argument.
23906 * math/s_cexpf.c (__cexpf): Likewise.
23907 * math/s_csinf.c (__csinf): Likewise.
23908 * math/s_csinhf.c (__csinhf): Likewise.
23909 * math/s_ctanf.c (__ctanf): Likewise.
23910 * math/s_ctanhf.c (__ctanhf): Likewise.
23911 * math/s_ccosh.c (__ccoshf): Likewise.
23912 * math/s_cexp.c (__cexpl): Likewise.
23913 * math/s_csin.c (__csin): Likewise.
23914 * math/s_csinh.c (__csinh): Likewise.
23915 * math/s_ctan.c (__ctan): Likewise.
23916 * math/s_ctanh.c (ctanh): Likewise.
23917 * math/s_ccoshl.c (__ccoshl): Likewise.
23918 * math/s_cexpl.c (__cexpl): Likewise.
23919 * math/s_csinl.c (__csinl): Likewise.
23920 * math/s_csinhl.c (__csinhl): Likewise.
23921 * math/s_ctanl.c (__ctanl): Likewise.
23922 * math/s_ctanhl.c (__ctanhl): Likewise.
23924 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23926 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23927 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23928 (_IO_off_t): Define to __off_t, not _G_off_t.
23929 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23930 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23931 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23932 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23933 type of __dummy and __dummy2 fields.
23934 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23935 (_G_ssize_t): Likewise.
23936 (_G_off_t): Likewise.
23937 (_G_pid_t): Likewise.
23938 (_G_uid_t): Likewise.
23939 (_G_wchar_t): Likewise.
23940 (_G_wint_t): Likewise.
23941 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23942 (_G_ssize_t): Likewise.
23943 (_G_off_t): Likewise.
23944 (_G_pid_t): Likewise.
23945 (_G_uid_t): Likewise.
23946 (_G_wchar_t): Likewise.
23947 (_G_wint_t): Likewise.
23948 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23949 (_G_ssize_t): Likewise.
23950 (_G_off_t): Likewise.
23951 (_G_pid_t): Likewise.
23952 (_G_uid_t): Likewise.
23953 (_G_wchar_t): Likewise.
23954 (_G_wint_t): Likewise.
23956 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23958 * malloc/arena.c: Include malloc-sysdep.h.
23959 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23960 is sufficient to shrink the heap or an unmap is needed.
23961 * sysdeps/generic/malloc-sysdep.h: New file. Define
23962 new function check_may_shrink_heap.
23963 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23964 new function check_may_shrink_heap.
23966 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23971 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23973 * catgets/test-gencat.sh: Add "set -e".
23974 * elf/tst-pathopt.sh: Likewise.
23975 * grp/tst_fgetgrent.sh: Likewise.
23976 * iconvdata/run-iconv-test.sh: Likewise.
23977 * intl/tst-gettext.sh: Likewise.
23978 * intl/tst-gettext2.sh: Likewise.
23979 * intl/tst-gettext4.sh: Likewise.
23980 * intl/tst-gettext6.sh: Likewise.
23981 * intl/tst-translit.sh: Likewise.
23982 * io/ftwtest-sh: Likewise.
23983 * libio/test-freopen.sh: Likewise.
23984 * malloc/tst-mtrace.sh: Likewise.
23985 * posix/globtest.sh: Likewise.
23986 * posix/tst-getconf.sh: Likewise.
23987 * posix/wordexp-tst.sh: Likewise.
23988 * stdio-common/tst-printf.sh: Likewise.
23989 * stdio-common/tst-unbputc.sh: Likewise.
23990 * stdlib/tst-fmtmsg.sh: Likewise.
23991 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23992 * catgets/Makefile: Do not specify -e option when running
23993 testsuite shell scripts.
23994 * elf/Makefile: Likewise.
23995 * grp/Makefile: Likewise.
23996 * iconvdata/Makefile: Likewise.
23997 * intl/Makefile: Likewise.
23998 * io/Makefile: Likewise.
23999 * libio/Makefile: Likewise.
24000 * malloc/Makefile: Likewise.
24001 * posix/Makefile: Likewise.
24002 * stdio-common/Makefile: Likewise.
24003 * stdlib/Makefile: Likewise.
24004 * sysdeps/x86_64/Makefile: Likewise.
24006 * io/ftwtest-sh: Add copyright header.
24007 * posix/globtest.sh: Likewise.
24008 * posix/tst-getconf.sh: Likewise.
24009 * posix/wordexp-tst.sh: Likewise.
24010 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24012 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24015 * Makeconfig (+link): Defined as $(+link-static) if
24016 $(build-shared) isn't yes.
24017 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24019 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24021 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24024 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24025 new chunk size with MALLOC_ALIGN_MASK.
24027 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24030 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24032 (__printf_fphex): Determine rounding using get_rounding_mode and
24034 * stdio-common/tst-printf-round.c (struct hex_test): New
24036 (hex_tests): New variable.
24037 (test_hex_in_one_mode): New function.
24038 (do_test): Also run tests for hex float output.
24040 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24042 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24043 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24044 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24045 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24046 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24047 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24048 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24049 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24051 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24053 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24054 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24055 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24056 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24058 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24061 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24063 * elf/tst-rtld-load-self.sh: New test.
24064 * elf/Makefile: Run it.
24066 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24069 (tst-writev-ENV): Remove.
24070 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24072 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24074 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24076 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24078 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24080 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24082 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24083 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24087 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24090 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24091 * config.make.in (have-cpp-asm-debuginfo): Removed.
24092 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24093 * configure: Regenerated.
24095 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24098 * stdio-common/printf_fp.c: Include <stdbool.h> and
24100 (___printf_fp): Determine rounding using get_rounding_mode and
24102 * stdio-common/tst-printf-round.c: New file.
24103 * stdio-common/Makefile (tests): Add tst-printf-round.
24104 (link-libm): New variable.
24105 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24107 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24110 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24111 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24113 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24116 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24118 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24119 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24120 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24121 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24123 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24126 * include/rounding-mode.h: New file.
24127 * sysdeps/generic/get-rounding-mode.h: Likewise.
24128 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24129 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24130 (MAX_VALUE): New macro.
24131 (MIN_VALUE): Likewise.
24132 (overflow_value): New function.
24133 (underflow_value): Likewise.
24134 (round_and_return): Use overflow_value and underflow_value to
24135 determine return values in overflow and underflow cases. Use
24136 round_away to determine rounding depending on rounding mode.
24137 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24138 determine return values in overflow and underflow cases.
24139 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24140 (struct test_results): New structure.
24141 (struct test): Use struct test_results to store expected results
24142 for all rounding modes.
24143 (TEST): Include expected results for all rounding modes.
24144 (test_in_one_mode): New function.
24145 (do_test): Use test_in_one_mode to compute and check results.
24146 Check results for all rounding modes.
24147 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24150 2012-12-09 Allan McRae <allan@archlinux.org>
24152 * sysdeps/i386/fpu/libm-test-ulps: Update
24154 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24156 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24157 (_G_int32_t): Likewise.
24158 (_G_uint16_t): Likewise.
24159 (_G_uint32_t): Likewise.
24160 (_G_HAVE_BOOL): Likewise.
24161 (_G_HAVE_ATEXIT): Likewise.
24162 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24163 (_G_HAVE_IO_FILE_OPEN): Likewise.
24164 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24165 (_G_int32_t): Likewise.
24166 (_G_uint16_t): Likewise.
24167 (_G_uint32_t): Likewise.
24168 (_G_HAVE_BOOL): Likewise.
24169 (_G_HAVE_ATEXIT): Likewise.
24170 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24171 (_G_HAVE_IO_FILE_OPEN): Likewise.
24172 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24173 (_G_int32_t): Likewise.
24174 (_G_uint16_t): Likewise.
24175 (_G_uint32_t): Likewise.
24176 (_G_HAVE_BOOL): Likewise.
24177 (_G_HAVE_ATEXIT): Likewise.
24178 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24179 (_G_HAVE_IO_FILE_OPEN): Likewise.
24181 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24183 * csu/libc-tls.c: Update copyright years.
24185 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24187 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24188 [!_G_USING_THUNKS]: Remove conditional code.
24189 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24190 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24192 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24193 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24194 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24195 (_G_VTABLE_LABEL_PREFIX): Likewise.
24196 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24197 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24199 (_G_VTABLE_LABEL_PREFIX): Likewise.
24200 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24201 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24202 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24203 (_G_VTABLE_LABEL_PREFIX): Likewise.
24204 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24206 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24208 * libio/Makefile: Include ../Makeconfig before tests.
24209 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24210 only if $(build-shared) is yes.
24212 * iconv/gconv_db.c: Update copyright years.
24214 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24216 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24217 unwind info if defined PIC. Fix special cases description.
24218 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24220 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24222 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24224 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24226 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24228 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24231 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24232 (LDLIBS-tst-chk4): This.
24233 (LDFLAGS-tst-chk5): Renamed to ...
24234 (LDLIBS-tst-chk5): This.
24235 (LDFLAGS-tst-chk6): Renamed to ...
24236 (LDLIBS-tst-chk6): This.
24237 (LDFLAGS-tst-lfschk4): Renamed to ...
24238 (LDLIBS-tst-lfschk4): This.
24239 (LDFLAGS-tst-lfschk5): Renamed to ...
24240 (LDLIBS-tst-lfschk5): This.
24241 (LDFLAGS-tst-lfschk6): Renamed to ...
24242 (LDLIBS-tst-lfschk6): This.
24244 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24245 on $(common-objpfx)soversions.mk.
24247 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24250 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24253 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24255 * malloc/arena.c (arena_get_retry): New function that gets
24256 another arena for the caller to try its request on.
24257 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24258 current arena cannot fulfill the request.
24259 (__libc_memalign): Likewise.
24260 (__libc_memalign): Likewise.
24261 (__libc_pvalloc): Likewise.
24262 (__libc_calloc): Likewise.
24264 2012-09-05 John Tobey <john.tobey@gmail.com>
24267 * manual/arith.texi (Operations on Complex): Fix description
24268 of carg branch cut.
24270 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24273 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24277 * manual/memory.texi (Memory): Make order of menu items match
24280 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24282 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24283 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24284 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24286 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24288 * csu/libc-tls.c (static_dtv): Renamed to ...
24289 (_dl_static_dtv): This. Make it global.
24290 (_dl_initial_dtv): Removed.
24291 (__libc_setup_tls): Updated.
24292 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24293 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24296 2012-09-06 Petr Machata <pmachata@redhat.com>
24298 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24299 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24300 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24301 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24306 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24307 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24310 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24313 * Makeconfig (link-static-before-libc): Replace $(+prector)
24315 (link-static-after-libc): Replace $(+postctor) with
24317 (link-bounded): Replace $(+prector)/$(+postctor) with
24318 $(+prectorT)/$(+postctorT).
24319 (+prectorT): New macro.
24320 (+postctorT): Likewise.
24322 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24324 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24325 (round_str): Handle values above the maximum for IBM long double
24327 * stdlib/tst-strtod-round.c (tests): Regenerated.
24329 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24331 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24333 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24334 zarch_nohighgprs around the zarch optimized routines.
24335 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24336 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24340 2012-09-05 David S. Miller <davem@davemloft.net>
24342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24344 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24345 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24346 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24347 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24350 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24352 * malloc/arena.c: Fold copyright years.
24353 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24355 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24357 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24359 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24361 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24363 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24365 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24366 change internal state upon failure.
24368 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24370 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24371 * malloc/memusage.c (mmap): Likewise.
24372 (mmap64, mremap): Likewise. Adjust name in comment.
24374 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24376 * libio/fileops.c: Fix typos in comments.
24377 * libio/oldfileops.c: Likewise.
24378 * libio/wfileops.c: Likewise.
24380 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24383 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24384 (tst-malloc-usable-ENV): Set environment for test case.
24385 * malloc/hooks.c (malloc_check_get_size): New function to get
24387 * malloc/malloc.c (musable): Use malloc_check_get_size.
24388 * malloc/tst-malloc-usable.c: New test case.
24390 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24392 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24394 2012-09-05 Allan McRae <allan@archlinux.org>
24397 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24398 determine header location.
24399 * configure: Regenerated.
24401 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24403 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24405 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24406 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24408 (test): Regenerate.
24410 2012-09-04 David S. Miller <davem@davemloft.net>
24412 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24413 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24414 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24416 2012-09-04 Florian Weimer <fweimer@redhat.com>
24418 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24421 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24423 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24426 * libio/iogetdelim.c: Include <limits.h>.
24427 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24428 + len + 1 would overflow.
24430 2012-09-03 Andreas Jaeger <aj@suse.de>
24432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24433 * sysdeps/i386/fpu/libm-test-ulps: Update.
24435 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24437 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24438 Add s_sinf-sse2, s_conf-sse2.
24440 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24441 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24442 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24443 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24445 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24446 for using routine as __sinf_ia32.
24447 Use macro for function declaration and weak_alias.
24448 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24449 for using routine as __cosf_ia32.
24450 Use macro for function declaration and weak_alias.
24452 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24453 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24455 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24456 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24459 * math/libm-test.inc (cos_test): Add more test cases.
24460 (sin_test): Likewise.
24461 (sincos_test): Likewise.
24463 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24465 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24466 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24468 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24470 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24473 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24474 first element of the GOT.
24475 (elf_machine_load_address): Return the difference between
24476 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24478 2012-09-01 Allan McRae <allan@archlinux.org>
24481 * configure.in (AWK): Require gawk version 3.0 or later.
24482 * configure: Regenerated.
24484 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24486 * sysdeps/unix/sysv/linux/kernel-features.h
24487 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24488 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24489 [__NR_clock_getres]: Make code unconditional.
24490 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24491 (clock_getcpuclockid): Remove code left unreachable by removal of
24493 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24494 code unconditional.
24495 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24496 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24497 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24498 Make code unconditional.
24499 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24500 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24501 * sysdeps/unix/sysv/linux/clock_settime.c
24502 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24504 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24505 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24507 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24510 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24511 scripts/test-installation.pl.
24513 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24514 and $ld_so_version if it is set.
24516 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24519 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24520 failure if reading from procfs failed.
24521 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24523 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24525 * sysdeps/unix/sysv/linux/kernel-features.h
24526 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24527 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24528 Remove conditional code.
24529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24530 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24531 Remove conditional code.
24532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24533 * sysdeps/unix/sysv/linux/i386/fxstat.c
24534 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24535 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24536 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24537 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24539 * sysdeps/unix/sysv/linux/i386/lxstat.c
24540 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24541 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24542 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24543 Remove conditional code.
24544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24545 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24546 Remove conditional code.
24547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24548 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24549 <kernel-features.h>.
24550 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24552 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24553 Remove conditional code.
24554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24555 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24556 Remove conditional.
24558 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24561 * NEWS: Add fixed bug number.
24563 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24566 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24567 underflowing exponent in case of negative sign.
24568 * stdlib/tst-strtod-round-data: Add more tests.
24569 * stdlib/tst-strtod-round.c (tests): Regenerated.
24572 * stdlib/strtod_l.c (NDIG): Remove.
24573 (HEXNDIG): Likewise.
24574 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24575 smallest representable value.
24576 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24577 lie within an exact representation of 1/2 ulp of the result.
24578 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24580 (TENS_P9_IDX): Define unconditionally.
24581 (TENS_P9_SIZE): Likewise.
24582 (TENS_P10_IDX): Likewise.
24583 (TENS_P10_SIZE): Likewise.
24584 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24585 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24586 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24587 entries for 10^2^13 and 10^2^14.
24588 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24589 (TENS_P13_IDX): Define.
24590 (TENS_P13_SIZE): Likewise.
24591 (TENS_P14_IDX): Likewise.
24592 (TENS_P14_SIZE): Likewise.
24593 (_fpioconst_pow10): Change array size to
24594 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24596 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24597 1024]: Add entries for 10^2^13 and 10^2^14.
24598 [LAST_POW10 > _LAST_POW10]: Remove #error.
24599 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24600 (_fpioconst_pow10): Change array size to
24601 FPIOCONST_POW10_ARRAY_SIZE.
24602 * stdlib/gen-fpioconst.c: New file.
24603 * stdlib/gen-tst-strtod-round.c: Likewise.
24604 * stdlib/tst-strtod-round-data: Likewise.
24605 * stdlib/tst-strtod-round.c: Likewise.
24606 * stdlib/Makefile (tests): Add tst-strtod-round.
24609 * stdlib/strtod_l.c: Include <stdint.h>.
24610 (NDEBUG): Do not define.
24611 (round_and_return): Change EXPONENT parameter to type intmax_t.
24612 Rearrange calculations to avoid internal overflow possibilities.
24613 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24614 Rearrange calculations to avoid internal overflow possibilities.
24615 Assert that number fits inside MPNSIZE limbs.
24616 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24617 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24618 calculations and add assertions to avoid internal overflow
24619 possibilities. Add casts to avoid signed/unsigned operations.
24620 * stdlib/tst-strtod-overflow.c: New file.
24621 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24623 2012-08-25 Marek Polacek <polacek@redhat.com>
24625 * time/time.h: Fix some typos in comments.
24627 2012-08-23 Roland McGrath <roland@hack.frob.com>
24629 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24630 * posix/tst-rfc3484-2.c: Likewise.
24631 * posix/tst-rfc3484-3.c: Likewise.
24633 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24635 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24636 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24638 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24640 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24641 #include of fxstatat64.c.
24643 2012-08-22 Roland McGrath <roland@hack.frob.com>
24645 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24646 * shadow/getspent_r.c: Likewise.
24647 * shadow/getspnam.c: Likewise.
24648 * shadow/getspnam_r.c: Likewise.
24649 * gshadow/getsgent.c: Likewise.
24650 * gshadow/getsgent_r.c: Likewise.
24651 * gshadow/getsgnam.c: Likewise.
24652 * gshadow/getsgnam_r.c: Likewise.
24653 * inet/getnetbyad.c: Likewise.
24654 * inet/getnetbyad_r.c: Likewise.
24655 * inet/getnetbynm.c: Likewise.
24656 * inet/getnetbynm_r.c: Likewise.
24657 * inet/getnetent.c: Likewise.
24658 * inet/getnetent_r.c: Likewise.
24659 * inet/getproto.c: Likewise.
24660 * inet/getproto_r.c: Likewise.
24661 * inet/getprtent.c: Likewise.
24662 * inet/getprtent_r.c: Likewise.
24663 * inet/getprtname.c: Likewise.
24664 * inet/getprtname_r.c: Likewise.
24665 * inet/getrpcbyname.c: Likewise.
24666 * inet/getrpcbyname_r.c: Likewise.
24667 * inet/getrpcbynumber.c: Likewise.
24668 * inet/getrpcbynumber_r.c: Likewise.
24669 * inet/getrpcent.c: Likewise.
24670 * inet/getrpcent_r.c: Likewise.
24671 * inet/getaliasent.c: Likewise.
24672 * inet/getaliasent_r.c: Likewise.
24673 * inet/getaliasname.c: Likewise.
24674 * inet/getaliasname_r.c: Likewise.
24675 * nscd/getgrgid_r.c: Likewise.
24676 * nscd/getgrnam_r.c: Likewise.
24677 * nscd/gethstbyad_r.c: Likewise.
24678 * nscd/gethstbynm3_r.c: Likewise.
24679 * nscd/getpwnam_r.c: Likewise.
24680 * nscd/getpwuid_r.c: Likewise.
24681 * nscd/getsrvbynm_r.c: Likewise.
24682 * nscd/getsrvbypt_r.c: Likewise.
24683 * nscd/gai.c: Likewise.
24685 * configure.in (build_nscd): New substituted variable, set
24686 by --disable-build-nscd and defaults to $use_nscd.
24687 * configure: Regenerated.
24688 * config.make.in (build-nscd): New substituted variable.
24689 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24690 Change conditional to require [$(build-nscd) = yes] as well.
24691 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24694 * configure.in (use_nscd): New substituted variable, set by
24695 --disable-nscd. If enabled, define USE_NSCD.
24696 * configure: Regenerated.
24697 * config.h.in: Add USE_NSCD.
24698 * config.make.in (use-nscd): New substituted variable.
24699 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24700 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24701 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24702 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24703 (CFLAGS-getgrnam_r.c): Likewise.
24704 (CFLAGS-initgroups.c): Likewise.
24705 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24706 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24708 * inet/getnetgrent_r.c
24709 (nscd_setnetgrent): New function, broken out of ...
24710 (setnetgrent): ... here. Call it.
24711 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24712 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24713 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24714 * nscd/Makefile (routines, aux): Move definitions after include of
24715 Makeconfig. Conditionalize on [$(use-nscd) != no].
24716 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24717 Conditionalize on [USE_NSCD].
24718 (is_nscd, nscd_init_cb): Likewise.
24719 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24720 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24721 * nss/nss_db/db-init.c: Likewise.
24722 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24724 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24725 (make_request): Use it.
24726 (cache_valid_p): New function.
24727 (__check_pf): Use it.
24728 * NEWS: Add item for --disable-nscd.
24730 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24732 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24733 to support sed >= 4.2.1-20-ga9bf076.
24734 * configure: Regenerated.
24736 2012-08-22 Roland McGrath <roland@hack.frob.com>
24738 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24739 Conditionalize whole body on [IREL].
24741 2012-08-22 Jeff Law <law@redhat.com>
24744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24745 if the family is PF_UNSPEC.
24747 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24749 * Makerules (lib-version): Rename from V.
24750 (install-lib-nosubdir): Change V to lib-version.
24752 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24755 * powerpc32/power6/wcschr.c: New file.
24756 * powerpc32/power6/wcscpy.c: New file.
24757 * powerpc32/power6/wcsrchr.c: New file.
24758 * powerpc64/power6/wcschr.c: New file.
24759 * powerpc64/power6/wcscpy.c: New file.
24760 * powerpc64/power6/wcsrchr.c: New file.
24762 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24764 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24765 (two_way_short_needle): Use it.
24766 * string/strstr.c (AVAILABLE1_USES_J): Define.
24767 * string/strcasestr.c: Likewise.
24769 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24771 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24774 * NEWS: Add an entry.
24775 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24776 define their defaults.
24777 (two_way_short_needle): Detect end-of-string on-the-fly.
24778 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24779 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24780 * string/bug-strcasestr1.c: New test.
24781 * string/Makefile: Run it.
24783 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24786 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24787 the first character.
24789 2012-08-21 Roland McGrath <roland@hack.frob.com>
24791 * csu/elf-init.c (__libc_csu_irel): Function removed.
24792 * csu/libc-start.c (apply_irel): New function.
24793 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24795 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24797 * sysdeps/unix/sysv/linux/kernel-features.h
24798 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24799 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24800 <kernel-features.h>.
24801 [__NR_fadvise64_64]: Make code unconditional.
24802 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24803 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24804 !__NR_fadvise64_64)]: Likewise.
24805 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24806 !__NR_fadvise64_64))]: Likewise.
24807 [__NR_fadvise64]: Make code unconditional.
24808 [!__NR_fadvise64]: Remove conditional code.
24809 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24810 <kernel-features.h>.
24811 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24813 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24816 not include <kernel-features.h>.
24817 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24819 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24821 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24822 include <kernel-features.h>.
24823 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24825 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24828 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24830 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24831 slight instruction rearrangements per scrollpipe analysis.
24832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24834 2012-08-20 Roland McGrath <roland@hack.frob.com>
24836 * manual/syslog.texi (syslog; vsyslog, closelog):
24837 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24838 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24840 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24841 DSOCAPS to match condition on defining it.
24843 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24845 * sysdeps/unix/sysv/linux/kernel-features.h
24846 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24848 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24849 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24851 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24852 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24854 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24855 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24857 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24858 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24860 * sysdeps/unix/sysv/linux/kernel-features.h
24861 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24862 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24864 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24865 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24866 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24867 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24868 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24869 Make code unconditional.
24870 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24871 (__mmap64) [!__NR_mmap2]: Likewise.
24872 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24873 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24874 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24875 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24876 [__NR_mmap2]: Make code unconditional.
24877 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24878 (__mmap64) [!__NR_mmap2]: Likewise.
24880 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24882 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24884 2012-08-18 Andreas Jaeger <aj@suse.de>
24886 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24888 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24890 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24891 * include/unistd.h (__have_sock_cloexec): Likewise.
24892 (__have_pipe2): Likewise.
24893 (__have_dup3): Likewise.
24895 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24898 * include/unistd.h (__have_pipe2): Change define into an extern int.
24899 (__have_dup3): Likewise.
24900 * socket/have_sock_cloexec.c: Include fcntl.h.
24901 (__have_pipe2): New variable.
24902 (__have_dup3): Likewise.
24904 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24906 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24908 2012-08-17 Marek Polacek <polacek@redhat.com>
24910 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24911 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24913 2012-08-17 Roland McGrath <roland@hack.frob.com>
24915 * configure.in: Add AC_SUBST for sysheaders.
24916 * configure: Regenerated.
24917 * config.make.in (sysheaders): New substituted variable.
24919 * sysdeps/unix/mkfifo.c: Moved ...
24920 * sysdeps/posix/mkfifo.c: ... here.
24921 * sysdeps/unix/mkfifoat.c: Moved ...
24922 * sysdeps/posix/mkfifoat.c: ... here.
24924 * sysdeps/unix/utime.c: Moved ...
24925 * sysdeps/posix/utime.c: ... here.
24927 * sysdeps/unix/time.c: Moved ...
24928 * sysdeps/posix/time.c: ... here.
24929 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24930 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24932 * sysdeps/unix/nice.c: Moved ...
24933 * sysdeps/posix/nice.c: ... here.
24935 * sysdeps/unix/alarm.c: Moved ...
24936 * sysdeps/posix/alarm.c: ... here.
24938 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24940 2012-08-17 Jeff Law <law@redhat.com>
24942 * intl/Makefile (codeset_mo): New variable.
24943 ($(codeset_mo)): New target.
24944 (tst-codeset.out): Depend on that. Remove explicit rule.
24945 (tst-gettext3.out, tst-gettext5.out): Likewise.
24946 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24947 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24948 * intl/tst-codeset.sh: Remove.
24949 * intl/tst-gettext3.sh: Likewise.
24950 * intl/tst-gettext5.sh: Likewise.
24952 2012-08-17 Roland McGrath <roland@hack.frob.com>
24954 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24955 * sysdeps/unix/syscalls.list: ... here.
24957 * sysdeps/posix/getaddrinfo.c
24958 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24959 (gaiconf_init, gaiconf_reload): Use them.
24960 [!_STATBUF_ST_NSEC]
24961 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24962 Define using time_t rather than struct timespec.
24964 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24965 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24967 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24969 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24970 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24973 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24974 __libc_cleanup_push argument.
24976 * bits/param.h: New file.
24977 * misc/sys/param.h: New file.
24978 * include/sys/param.h: New file.
24979 * misc/Makefile (headers): Add bits/param.h.
24980 * sysdeps/generic/sys/param.h: File removed.
24981 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24982 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24983 * sysdeps/mach/hurd/bits/param.h: New file.
24984 * sysdeps/mach/hurd/sys/param.h: File removed.
24986 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24989 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24991 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24992 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24995 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24996 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24997 rather than -D_IO_MTSAFE_IO conditionally.
24998 * stdio-common/Makefile (CPPFLAGS): Likewise.
24999 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25000 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25001 Use $(libio-mtsafe).
25002 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25003 of -D_IO_MTSAFE_IO.
25004 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25005 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25006 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25007 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25008 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25009 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25010 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25011 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25012 (CFLAGS-fread_u_chk.c): Likewise.
25013 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25014 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25015 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25016 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25017 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25018 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25019 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25020 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25021 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25023 * libio/Makefile: Test [$(libc-reentrant) = yes]
25024 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25027 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25028 * sysdeps/pthread/configure: File removed.
25029 * sysdeps/pthread/Makeconfig: New file.
25030 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25031 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25033 2012-08-16 Gary Benson <gbenson@redhat.com>
25035 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25036 unmapping the first object in a namespace.
25038 2012-08-16 Roland McGrath <roland@hack.frob.com>
25040 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25041 (__internal_setnetgrent): ... this. Add internal_function to
25042 definition. Add libc_hidden_def.
25043 (setnetgrent): Update caller.
25044 (internal_endnetgrent): Renamed to ...
25045 (__internal_endnetgrent): ... this. Add internal_function to
25046 definition. Add libc_hidden_def.
25047 (endnetgrent): Update caller.
25048 (internal_getnetgrent_r): Renamed to ...
25049 (__internal_getnetgrent_r): ... this. Add internal_function to
25050 definition. Add libc_hidden_def.
25051 (__getnetgrent_r): Update caller.
25052 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25054 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25056 * stdlib/longlong.h: Update from GCC.
25058 2012-08-16 Roland McGrath <roland@hack.frob.com>
25060 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25061 on _QL, which is set by umul_ppmm but never used.
25062 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25063 variables, which are set by GMP macros but never used.
25064 * stdio-common/_itowa.c (_itowa): Likewise.
25065 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25066 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25068 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25070 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25071 struct La_sh_regs is not constant.
25072 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25073 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25074 and struct La_sparc64_regs are not constant.
25076 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25078 * sysdeps/unix/sysv/linux/kernel-features.h
25079 (__ASSUME_POSIX_TIMERS): Remove.
25080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25081 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25082 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25083 Make code unconditional.
25084 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25085 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25086 Make code unconditional.
25087 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25088 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25089 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25090 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25091 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25092 Make code unconditional.
25093 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25094 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25095 (__libc_missing_posix_timers): Remove.
25097 2012-08-15 Roland McGrath <roland@hack.frob.com>
25099 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25100 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25102 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25104 * elf/dl-sym.c: Include <stdlib.h>.
25106 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25107 constants, which avoids warnings in 32-bit builds.
25109 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25110 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25112 * misc/lseek.c: File moved to ...
25113 * io/lseek.c: ... here.
25115 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25117 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25118 shifting LEN more than 31 bits at once.
25120 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25123 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25124 segmentation fault for a case of two empty input strings.
25125 * string/test-strncasecmp.c (check1): Renamed to...
25126 (bz12205): ...this.
25127 (bz14195): Add new testcase for two empty input strings and N > 0.
25128 (test_main): Call new testcase, adapt for renamed function.
25130 2012-08-15 Andreas Jaeger <aj@suse.de>
25133 * crypt/md5test2.c: New test, based on test supplied by Serge
25134 Belyshev <belyshev@depni.sinp.msu.ru>.
25135 * crypt/Makefile (xtests): Add md5test-giant..
25136 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25138 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25141 * crypt/md5.c (md5_process_block): Don't assume the buffer
25142 length is less than 2**32.
25143 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25144 length is less than 2**64.
25146 2012-08-15 Roland McGrath <roland@hack.frob.com>
25148 * string/str-two-way.h: Include <sys/param.h>.
25149 (MAX): Macro removed.
25151 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25152 Move #define and #undef of memmove to just before and after
25153 including <string.h>.
25155 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25156 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25157 and after including <string.h>. Move declarations of
25158 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25159 to before #include "string/memmove.c".
25161 * include/dirent.h: Declare __getdirentries.
25163 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25164 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25166 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25168 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25169 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25170 * sysdeps/i386/configure: Regenerated.
25171 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25172 STABS_CURRENT_FILE, and STABS_FUN.
25173 (END): Remove call to STABS_FUN_END.
25174 (STABS_CURRENT_FILE1): Delete.
25175 (STABS_CURRENT_FILE): Likewise.
25176 (STABS_FUN): Likewise.
25177 (STABS_FUN_END): Likewise.
25178 (STABS_FUN2): Likewise.
25179 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25180 * sysdeps/x86_64/configure: Regenerated.
25182 2012-08-14 Roland McGrath <roland@hack.frob.com>
25184 * elf/dl-open.c: Include <atomic.h>.
25185 * elf/dl-lookup.c: Likewise.
25187 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/unix/sysv/linux/kernel-features.h
25190 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25191 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25193 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25195 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25196 condition on __ASSUME_CLONE_THREAD_FLAGS.
25198 2012-08-14 Andreas Jaeger <aj@suse.de>
25200 * sysdeps/i386/fpu/libm-test-ulps: Update.
25202 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25204 * include/atomic.h (atomic_exchange_and_add): Split into ...
25205 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25208 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25212 2012-08-13 Jeff Law <law@redhat.com>
25214 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25215 null byte in the output string.
25217 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25219 * sysdeps/unix/sysv/linux/kernel-features.h
25220 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25221 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25222 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25224 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25225 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25226 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25228 2012-08-09 Jeff Law <law@redhat.com>
25231 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25232 When avoid_arena is set, don't retry in the that arena. Pick the
25233 next one, whatever it might be.
25234 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25235 (arena_lock): Pass in new parameter to arena_get2.
25236 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25238 (__libc_malloc): Unify retrying after main arena failure with
25239 __libc_memalign version.
25240 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25242 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25246 to __redirect_strstr.
25247 (__strstr_sse42): Use typeof __redirect_strstr.
25248 (__strstr_ia32): Likewise.
25249 (__libc_strstr): New prototype.
25250 (strstr): Renamed to ...
25251 (__libc_strstr): This.
25252 (strstr): New strong alias of __libc_strstr.
25253 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25254 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25257 (__libc_time): New prototype.
25258 (time_ifunc): Replace time with __libc_time.
25259 (time): New strong alias and hidden definition of __libc_time.
25260 (__GI_time): Remove strong alias.
25261 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25262 Include <stddef.h>.
25263 (memmove): Redefined to __redirect_memmove.
25264 (__memmove_sse2): Use typeof __redirect_memmove.
25265 (__memmove_ssse3): Likewise.
25266 (__memmove_ssse3_back): Likewise.
25267 (__libc_memmove): New prototype.
25268 (memmove): Renamed to ...
25269 (__libc_memmove): This.
25270 (memmove): New strong alias of __libc_memmove.
25272 2012-08-08 Mark Salter <msalter@redhat.com>
25275 (R_MN10300_TLS_GD): Define.
25276 (R_MN10300_TLS_LD): Likewise.
25277 (R_MN10300_TLS_LDO): Likewise.
25278 (R_MN10300_TLS_GOTIE): Likewise.
25279 (R_MN10300_TLS_IE): Likewise.
25280 (R_MN10300_TLS_LE): Likewise.
25281 (R_MN10300_TLS_DTPMOD): Likewise.
25282 (R_MN10300_TLS_DTPOFF): Likewise.
25283 (R_MN10300_TLS_TPOFF): Likewise.
25284 (R_MN10300_SYM_DIFF): Likewise.
25285 (R_MN10300_ALIGN): Likewise.
25286 (R_MN10300_NUM): Update.
25288 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25290 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25293 2012-08-08 Roland McGrath <roland@hack.frob.com>
25295 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25297 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25298 sysdeps/unix -> sysdeps/posix move.
25299 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25301 2012-08-07 Allan McRae <allan@archlinux.org>
25304 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25305 (SUNOS_CPP): Likewise.
25306 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25308 (open_input): Call CPP using execvp.
25310 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25312 * sysdeps/unix/sysv/linux/kernel-features.h
25313 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25314 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25315 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25316 (__ASSUME_WAITID_SYSCALL): Likewise.
25317 * sysdeps/unix/sysv/linux/dl-execstack.c
25318 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25319 code unconditional.
25320 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25322 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25323 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25324 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25326 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25328 [__ASSUME_WAITID_SYSCALL]: Likewise.
25329 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25331 2012-08-07 Roland McGrath <roland@hack.frob.com>
25333 * sysdeps/unix/closedir.c: Renamed to ...
25334 * sysdeps/posix/closedir.c: ... here.
25335 * sysdeps/unix/dirfd.c: Renamed to ...
25336 * sysdeps/posix/dirfd.c: ... here.
25337 * sysdeps/unix/dirstream.h: Renamed to ...
25338 * sysdeps/posix/dirstream.h: ... here.
25339 * sysdeps/unix/fdopendir.c: Renamed to ...
25340 * sysdeps/posix/fdopendir.c: ... here.
25341 * sysdeps/unix/opendir.c: Renamed to ...
25342 * sysdeps/posix/opendir.c: ... here.
25343 * sysdeps/unix/readdir.c: Renamed to ...
25344 * sysdeps/posix/readdir.c: ... here.
25345 * sysdeps/unix/readdir_r.c: Renamed to ...
25346 * sysdeps/posix/readdir_r.c: ... here.
25347 * sysdeps/unix/rewinddir.c: Renamed to ...
25348 * sysdeps/posix/rewinddir.c: ... here.
25349 * sysdeps/unix/seekdir.c: Renamed to ...
25350 * sysdeps/posix/seekdir.c: ... here.
25351 * sysdeps/unix/telldir.c: Renamed to ...
25352 * sysdeps/posix/telldir.c: ... here.
25353 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25354 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25355 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25356 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25358 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25359 * bits/fcntl.h: ... here.
25361 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25363 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25364 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25365 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25366 (struct flock): Move l_start, l_len to the beginning.
25367 Use __pid_t for l_pid.
25368 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25369 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25370 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25371 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25372 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25373 [__USE_LARGEFILE64] (struct flock64): New type.
25374 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25376 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25377 * bits/dirent.h: ... here.
25379 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25380 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25382 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25385 Change from 2.6.0 to 2.6.16.
25386 * sysdeps/unix/sysv/linux/configure: Regenerated.
25387 * sysdeps/unix/sysv/linux/kernel-features.h
25388 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25389 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25391 (__ASSUME_UTIMES): Likewise.
25392 (__ASSUME_CLONE_STOPPED): Remove.
25393 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25394 architectures, not kernel version.
25395 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25396 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25397 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25398 (__ASSUME_WAITID_SYSCALL): Likewise.
25399 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25400 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25401 * README: State 2.6.16 as minimum Linux kernel version. Do not
25402 refer to older versions.
25404 2012-08-06 Roland McGrath <roland@hack.frob.com>
25406 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25407 Define alphasort64 as an alias.
25408 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25409 Define versionsort64 as an alias.
25410 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25411 Define scandir64 as an alias.
25412 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25413 Define scandirat64 as an alias.
25414 * dirent/alphasort64.c (alphasort64):
25415 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25416 * dirent/versionsort64.c: Likewise.
25417 * dirent/scandir64.c: Likewise.
25418 * dirent/scandirat64.c: Likewise.
25419 * sysdeps/wordsize-64/alphasort.c: File removed.
25420 * sysdeps/wordsize-64/alphasort64.c: File removed.
25421 * sysdeps/wordsize-64/scandir.c: File removed.
25422 * sysdeps/wordsize-64/scandir64.c: File removed.
25423 * sysdeps/wordsize-64/scandirat.c: File removed.
25424 * sysdeps/wordsize-64/scandirat64.c: File removed.
25425 * sysdeps/wordsize-64/versionsort.c: File removed.
25426 * sysdeps/wordsize-64/versionsort64.c: File removed.
25427 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25428 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25429 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25430 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25436 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25438 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25440 [defined __arch64__ || defined __sparcv9]
25441 (__INO_T_MATCHES_INO64_T): New macro.
25442 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25443 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25444 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25445 * sysdeps/unix/sysv/linux/bits/dirent.h
25446 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25447 (_DIRENT_MATCHES_DIRENT64): New macro.
25449 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25450 Define lockf64 as an alias.
25451 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25452 Define fseeko64 as an alias.
25453 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25454 Define ftello64 as an alias.
25455 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25456 Define _IO_fgetpos64 and fgetpos64 as aliases.
25457 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25458 Define _IO_fsetpos64 and fsetpos64 as aliases.
25459 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25460 Conditionalize body on this.
25461 * libio/fseeko64.c: Likewise.
25462 * libio/ftello64.c: Likewise.
25463 * libio/iofgetpos64.c: Likewise.
25464 * libio/iofsetpos64.c: Likewise.
25465 * sysdeps/wordsize-64/lockf.c: File removed.
25466 * sysdeps/wordsize-64/lockf64.c: File removed.
25467 * sysdeps/wordsize-64/fseeko.c: File removed.
25468 * sysdeps/wordsize-64/fseeko64.c: File removed.
25469 * sysdeps/wordsize-64/ftello.c: File removed.
25470 * sysdeps/wordsize-64/ftello64.c: File removed.
25471 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25472 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25473 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25474 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25475 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25476 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25477 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25478 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25479 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25480 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25482 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25483 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25484 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25486 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25488 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25490 [defined __arch64__ || defined __sparcv9]
25491 (__OFF_T_MATCHES_OFF64_T): New macro.
25492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25493 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25495 (__OFF_T_MATCHES_OFF64_T): New macro.
25497 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25499 * stdlib/secure-getenv.c (__secure_getenv): Replace
25500 GLIBC_2_16 with GLIBC_2_17.
25502 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25504 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25505 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25507 2012-08-03 David S. Miller <davem@davemloft.net>
25509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25511 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25513 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25515 (__ASSUME_CORRECT_SI_PID): Likewise.
25516 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25517 (__ASSUME_TMPFS_NAME): Likewise.
25518 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25519 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25520 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25521 (HAVE_AUX_SECURE): Make definition unconditional.
25522 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25523 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25525 2012-08-03 Roland McGrath <roland@hack.frob.com>
25527 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25528 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25529 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25530 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25531 __eloop_threshold instead of SYMLOOP_MAX.
25533 * sysdeps/generic/eloop-threshold.h: New file.
25534 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25536 * elf/chroot_canon.c (chroot_canon): Likewise.
25538 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25542 Change to 2.6.0 everywhere.
25543 * sysdeps/unix/sysv/linux/configure: Regenerated.
25544 * sysdeps/unix/sysv/linux/kernel-features.h
25545 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25546 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25548 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25549 (__ASSUME_FUTEX_REQUEUE): Remove.
25550 (__ASSUME_STATFS64): Define unconditionally.
25551 (__ASSUME_AT_SECURE): Likewise.
25552 (__ASSUME_CORRECT_SI_PID): Likewise.
25553 (__ASSUME_TGKILL): Define without depending on kernel version for
25555 (__ASSUME_UTIMES): Likewise.
25556 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25558 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25559 (__ASSUME_TMPFS_NAME): Likewise.
25560 * README: Update reference to Linux kernel versions.
25562 2012-08-02 Marek Polacek <polacek@redhat.com>
25565 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25566 libc_cv_asm_type_prefix with %.
25567 * configure: Regenerated.
25568 * include/libc-symbols.h: Remove comment about
25569 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25570 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25571 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25572 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25573 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25574 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25575 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25576 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25577 * elf/tst-unique2mod1.c: Likewise.
25578 * elf/tst-unique1mod2.c: Likewise.
25579 * elf/tst-unique1mod1.c: Likewise.
25580 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25581 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25582 Replace ASM_TYPE_DIRECTIVE with .type.
25583 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25584 * sysdeps/i386/sysdep.h: Likewise.
25585 * sysdeps/x86_64/sysdep.h: Likewise.
25586 * sysdeps/sh/sysdep.h: Likewise.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25588 Do not define ASM_TYPE_DIRECTIVE.
25589 * sysdeps/powerpc/sysdep.h: Likewise.
25590 * sysdeps/powerpc/powerpc32/sysdep.h:
25591 Replace ASM_TYPE_DIRECTIVE with .type.
25592 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25593 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25594 * sysdeps/i386/fpu/e_powf.S: Likewise.
25595 * sysdeps/i386/fpu/e_expl.S: Likewise.
25596 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25598 * sysdeps/i386/fpu/e_pow.S: Likewise.
25599 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25601 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25602 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25603 * sysdeps/i386/fpu/e_log2.S: Likewise.
25604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25606 * sysdeps/i386/fpu/e_powl.S: Likewise.
25607 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25608 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25609 * sysdeps/i386/fpu/e_logl.S: Likewise.
25610 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25611 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25612 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25614 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25615 * sysdeps/i386/fpu/e_log.S: Likewise.
25616 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25617 * sysdeps/i386/fpu/e_logf.S: Likewise.
25618 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25619 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25621 * sysdeps/i386/fpu/e_log10.S: Likewise.
25622 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25623 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25624 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25625 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25626 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25627 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25629 * sysdeps/i386/i686/strtok.S: Likewise.
25630 * sysdeps/i386/i386-mcount.S: Likewise.
25631 * sysdeps/i386/strtok.S: Likewise.
25632 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25633 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25634 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25635 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25636 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25637 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25638 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25639 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25640 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25641 * sysdeps/x86_64/_mcount.S: Likewise.
25642 * sysdeps/x86_64/strtok.S: Likewise.
25643 * sysdeps/sh/_mcount.S: Likewise.
25645 2012-08-01 Roland McGrath <roland@hack.frob.com>
25647 * libio/iofopen.c: Include <fcntl.h>.
25648 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25649 (_IO_fopen64, fopen64): Define as aliases.
25650 * libio/iofopen64.c: Include <fcntl.h>.
25651 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25652 Conditionalize body on this.
25653 * sysdeps/wordsize-64/iofopen.c: File removed.
25654 * sysdeps/wordsize-64/iofopen64.c: File removed.
25656 2012-08-01 Marek Polacek <polacek@redhat.com>
25658 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25659 Use dlfcn directly instead of a variable.
25660 (binfmt-subdir): Do not define.
25663 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25666 Remove all definitions.
25667 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25668 <kernel-features.h>.
25669 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25670 (miss_F_GETOWN_EX): Remove all definitions.
25671 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25673 [!__ASSUME_FCNTL64]: Remove conditional code.
25674 [__ASSUME_FCNTL64]: Make code unconditional.
25675 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25676 <kernel-features.h>.
25677 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25678 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25679 (lockf64) [__NR_fcntl64]: Make code unconditional.
25680 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25682 * sysdeps/unix/sysv/linux/kernel-features.h
25683 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25684 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25685 Make code unconditional.
25686 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25687 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25689 [__NR_vfork]: Make code unconditional.
25690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25693 [__NR_vfork]: Make code unconditional.
25694 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25695 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25697 2012-08-01 Roland McGrath <roland@hack.frob.com>
25699 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25700 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25702 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25703 Define mkstemp64 as an alias.
25704 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25705 Define mkstemps64 as an alias.
25706 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25707 Define mkostemp64 as an alias.
25708 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25709 Define mkostemps64 as an alias.
25710 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25711 Conditionalize body on this.
25712 * misc/mkostemp64.c: Likewise.
25713 * misc/mkostemps64.c: Likewise.
25714 * misc/mkstemps64.c: Likewise.
25715 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25716 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25717 * sysdeps/wordsize-64/mkostemp.c: File removed.
25718 * sysdeps/wordsize-64/mkstemp.c: File removed.
25719 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25720 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25721 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25722 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25725 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25726 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25727 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25728 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25730 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25731 compat_symbol macros from <shlib-compat.h> rather than the underlying
25732 default_symbol_version and symbol_version macros, so that DEFAULT
25733 lines in shlib-versions are respected.
25734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25736 2012-08-01 Florian Weimer <fweimer@redhat.com>
25738 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25739 Declare with warn_unused_result.
25740 (setgid, setregid, setegid, setresgid): Likewise.
25741 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25743 * WUR-REPORT: Remove set*id functions.
25745 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25747 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25749 2012-07-31 Roland McGrath <roland@hack.frob.com>
25752 * include/sys/socket.h (__libc_accept, __libc_accept4):
25753 Add attribute_hidden.
25754 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25756 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25758 * inet/getnetgrent_r.c (setup): Likewise.
25760 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25762 2012-07-31 David S. Miller <davem@davemloft.net>
25764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25766 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25769 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25770 value between 1.0 and 2.0 and smaller part has absolute value less
25772 * math/s_clog10.c (__clog10): Likewise.
25773 * math/s_clog10f.c (__clog10f): Likewise.
25774 * math/s_clog10l.c (__clog10l): Likewise.
25775 * math/s_clogf.c (__clogf): Likewise.
25776 * math/s_clogl.c (__clogl): Likewise.
25777 * math/libm-test.inc (clog_test): Add more tests.
25778 (clog10_test): Likewise.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25782 2012-07-31 Florian Weimer <fweimer@redhat.com>
25784 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25785 Exit with zero in case no suitable GID is found, and write a
25786 message to standard error.
25788 2012-07-30 Roland McGrath <roland@hack.frob.com>
25790 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25792 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25793 (MAXPATHLEN): Removed.
25794 (NOGROUP, NODEV): New macros.
25795 (setbit, clrbit, isset, isclr): New macros.
25796 (howmany, roundup, powerof2): New macros.
25797 (DEV_BSIZE): New macro.
25799 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25800 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25802 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25803 definition on [!__NO_LONG_DOUBLE_MATH].
25805 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25806 PTR_MANGLE and PTR_DEMANGLE.
25808 * socket/accept4.c (accept4): Rename to __libc_accept4.
25809 Define accept4 as a weak alias.
25811 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25812 on [_DIRENT_HAVE_D_TYPE].
25813 * io/ftw.c (ftw_dir): Likewise.
25815 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25817 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25819 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25820 Use the BSD numbers rather than the arbitrary ones we had.
25821 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25822 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25823 (SIGXCPU, SIGXFSZ): New macros.
25826 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25827 initializer on [_LIBC_REENTRANT].
25829 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25830 definitions inside [_POSIX_MAPPED_FILES].
25832 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25834 * dirent/opendir.c: Include <fcntl.h>.
25836 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25837 (__libc_getspecific): Likewise.
25838 (__libc_key_create): Likewise.
25840 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25841 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25842 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25843 (tmpfile64): Define as alias.
25844 * sysdeps/wordsize-64/tmpfile.c: File removed.
25845 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25847 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25849 * stdio-common/vfscanf.c: Include <stdbool.h>.
25850 * nss/makedb.c: Likewise.
25851 * stdio-common/_i18n_number.h: Likewise.
25852 * argp/argp-help.c: Likewise.
25853 * posix/wordexp.c: Likewise.
25854 * sysdeps/posix/spawni.c: Likewise.
25855 * nss/nss_files/files-initgroups.c: Likewise.
25856 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25857 * nss/nss_files/files-initgroups.c: Likewise.
25858 * nss/nss_db/db-netgrp.c: Likewise.
25859 * nss/nss_db/db-initgroups.c: Likewise.
25860 * io/fchmodat.c: Include <sys/stat.h>.
25862 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25863 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25865 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25868 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25869 Add multiple inclusion protection.
25871 2012-07-27 David S. Miller <davem@davemloft.net>
25873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25875 2012-07-27 Gary Benson <gbenson@redhat.com>
25878 * elf/rtld.c: Include <stap-probe.h>.
25879 (dl_main): Added static probes "init_start" and "init_complete".
25880 * elf/dl-load.c: Include <stap-probe.h>.
25881 (lose): Take new parameter "nsid".
25882 Added static probe "map_failed".
25883 (_dl_map_object_from_fd): Pass namespace id to lose.
25884 Added static probe "map_start".
25885 (open_verify): Pass namespace id to lose.
25886 * elf/dl-open.c: Include <stap-probe.h>.
25887 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25888 and "reloc_complete".
25889 * elf/dl-close.c: Include <stap-probe.h>.
25890 (_dl_close_worker): Added static probes "unmap_start" and
25892 * elf/rtld-debugger-interface.txt: New file documenting the above.
25894 2012-07-26 Roland McGrath <roland@hack.frob.com>
25896 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25897 rather than a string variable.
25898 * sunrpc/rpc_main.c (h_output): Likewise.
25899 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25901 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25903 * inet/check_native.c: New file.
25905 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25908 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25909 if larger part has absolute value 1.0.
25910 * math/s_clog10.c (__clog10): Likewise.
25911 * math/s_clog10f.c (__clog10f): Likewise.
25912 * math/s_clog10l.c (__clog10l): Likewise.
25913 * math/s_clogf.c (__clogf): Likewise.
25914 * math/s_clogl.c (__clogl): Likewise.
25915 * math/libm-test.inc (clog_test): Add more tests.
25916 (clog10_test): Likewise.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25920 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25921 (pltexit): Likewise.
25922 (La_regs): Likewise.
25923 (La_retval): Likewise.
25924 (int_retval): Likewise.
25925 Update #error for removed macros to refer only to definitions in
25927 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25929 (pltexit): Likewise.
25930 (La_regs): Likewise.
25931 (La_retval): Likewise.
25932 (int_retval): Likewise.
25933 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25935 (pltexit): Likewise.
25936 (La_regs): Likewise.
25937 (La_retval): Likewise.
25938 (int_retval): Likewise.
25939 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25941 (pltexit): Likewise.
25942 (La_regs): Likewise.
25943 (La_retval): Likewise.
25944 (int_retval): Likewise.
25945 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25947 (pltexit): Likewise.
25948 (La_regs): Likewise.
25949 (La_retval): Likewise.
25950 (int_retval): Likewise.
25951 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25953 (pltexit): Likewise.
25954 (La_regs): Likewise.
25955 (La_retval): Likewise.
25956 (int_retval): Likewise.
25957 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25959 (pltexit): Likewise.
25960 (La_regs): Likewise.
25961 (La_retval): Likewise.
25962 (int_retval): Likewise.
25963 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25964 macro definitions in tst-audit.h.
25965 * sysdeps/i386/tst-audit.h: New file.
25966 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25967 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25968 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25969 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25970 * sysdeps/sh/tst-audit.h: Likewise.
25971 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25972 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25973 * sysdeps/x86_64/tst-audit.h: Likewise.
25975 2012-07-26 Andreas Jaeger <aj@suse.de>
25977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25980 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25981 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25982 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25984 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25985 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25986 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25988 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25991 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25993 (si_call_addr, si_syscall, si_arch): Define new macro.
25994 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25996 (si_call_addr, si_syscall, si_arch): Define new marcro.
25997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25999 (si_call_addr, si_syscall, si_arch): Define new macro.
26000 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26002 (si_call_addr, si_syscall, si_arch): Define new macro.
26004 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26008 Change to 2.4.21 where previously 2.4.1.
26009 * sysdeps/unix/sysv/linux/configure: Regenerated.
26010 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26011 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26012 Linux kernel version.
26013 (__ASSUME_STD_AUXV): Remove.
26014 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26016 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26017 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26018 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26019 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26020 (__ASSUME_NETLINK_SUPPORT): Likewise.
26021 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26022 (__no_netlink_support): Remove conditional definition.
26023 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26025 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26026 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26027 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26028 (if_nameindex_ioctl): Remove.
26029 (if_nameindex_netlink): Do not handle __no_netlink_support.
26030 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26032 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26033 Remove conditional code.
26034 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26036 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26038 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26039 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26040 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26042 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26043 [!__ASSUME_STD_AUXV]: Remove conditional code.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26045 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26046 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26048 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26049 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26051 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26053 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26054 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26056 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26058 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26061 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26064 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26065 code unconditional.
26066 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26068 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26070 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26073 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26075 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26078 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26079 code unconditional.
26080 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26082 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26084 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26087 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26088 code unconditional.
26089 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26091 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26093 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26096 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26098 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26099 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26100 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26101 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26102 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26103 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26104 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26105 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26106 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26107 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26108 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26109 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26110 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26111 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26112 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26113 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26114 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26116 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26118 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26119 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26122 2012-07-25 Florian Weimer <fweimer@redhat.com>
26124 * Versions.def: Add GLIBC_2.17.
26125 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26126 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26127 Introduce __libc_secure_getenv.
26128 * stdlib/Versions (2.17): Add secure_getenv
26129 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26130 * stdlib/secure-getenv.c: Rename __secure_getenv to
26131 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26132 symbol __secure_getenv for GLIBC_2.0.
26133 * stdlib/tst-secure-getenv.c: New.
26134 * stdlib/Makefile (tests): Add testcase.
26135 * manual/startup.texi (Environment Access): Document
26137 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26138 __libc_secure_getenv.
26139 * inet/ruserpass.c (ruserpass): Likewise.
26140 * malloc/mtrace.c (mtrace): Likewise.
26141 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26142 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26143 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26144 * sysdeps/posix/tempname.c: Likewise. Evaluate
26145 HAVE_SECURE_GETENV.
26146 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26147 __secure_getenv to __libc_secure_getenv.
26148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26161 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26163 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26164 (struct La_i86_retval): Likewise.
26165 (struct La_x86_64_regs): Likewise.
26166 (struct La_x86_64_retval): Likewise.
26167 (struct La_x32_regs): Likewise.
26168 (struct La_x32_retval): Likewise.
26169 (struct La_ppc32_regs): Likewise.
26170 (struct La_ppc32_retval): Likewise.
26171 (struct La_ppc64_regs): Likewise.
26172 (struct La_ppc64_retval): Likewise.
26173 (struct La_sh_regs): Likewise.
26174 (struct La_sh_retval): Likewise.
26175 (struct La_s390_32_regs): Likewise.
26176 (struct La_s390_32_retval): Likewise.
26177 (struct La_s390_64_regs): Likewise.
26178 (struct La_s390_64_retval): Likewise.
26179 (struct La_sparc32_regs): Likewise.
26180 (struct La_sparc32_retval): Likewise.
26181 (struct La_sparc64_regs): Likewise.
26182 (struct La_sparc64_retval): Likewise.
26183 (struct audit_ifaces): Remove architecture-specific pltenter and
26185 * sysdeps/i386/ldsodefs.h: New file.
26186 * sysdeps/powerpc/ldsodefs.h: Likewise.
26187 * sysdeps/s390/ldsodefs.h: Likewise.
26188 * sysdeps/sh/ldsodefs.h: Likewise.
26189 * sysdeps/sparc/ldsodefs.h: Likewise.
26190 * sysdeps/x86_64/ldsodefs.h: Likewise.
26192 2012-07-25 Marek Polacek <polacek@redhat.com>
26195 * math/libm-test.inc (yn_test): Add another test.
26196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26197 to ERANGE when the result is +-Inf.
26198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26199 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26200 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26201 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26203 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26205 * conform/data/time.h-data (NULL): Use macro-constant. Require
26207 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26209 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26211 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26213 * configure.in <sysdeps resolving>: Correct printing
26215 * configure: Regenerate.
26217 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26219 * math/w_ilogb.c: Include <limits.h>.
26220 * math/w_ilogbl.c: Likewise.
26222 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26224 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26225 va_copy. Document allowing for unavailable va_copy only as
26226 pre-C99 compatibility.
26227 * manual/string.texi (Copying and Concatenation): Use va_copy
26228 instead of __va_copy in concat example.
26230 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26232 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26233 (__sendto): Use create_address_port. Initialize APORT and deallocate
26236 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26237 with O_NOLINK passed to __file_name_lookup.
26239 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26240 with O_NOLINK passed to __file_name_lookup.
26242 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26243 negative N or less than NGIDS.
26245 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26246 type to string_t. Set ERANGE as errno and return it if NAME is not big
26247 enough. Use memcpy instead of strncpy.
26249 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26251 * elf/Makefile (check-data): Remove.
26252 (localplt.data): New vpath directive.
26253 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26254 instead of $(check-data).
26255 * scripts/data/localplt-generic.data: Move to ...
26256 * sysdeps/generic/localplt.data: ... here.
26257 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26258 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26259 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26262 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26265 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26268 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26271 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26274 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26278 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26280 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26281 PPC32 and PPC64 files.
26282 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26283 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26285 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26287 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26288 __makecontext_ret to ...
26289 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26290 ... here and call exit if uc_link is NULL. New file.
26291 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26292 __makecontext_ret.S.
26293 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26294 __makecontext_ret to ...
26295 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26296 ... here and call exit if uc_link is NULL. New file.
26297 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26298 __makecontext_ret.S.
26300 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26302 * elf/elf.h (R_390_IRELATIVE): New definition.
26303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26304 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26305 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26306 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26307 (elf_machine_lazy_rel): Likewise.
26308 * sysdeps/s390/dl-irel.h: New file.
26309 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26310 * sysdeps/s390/s390-64/memset.S: New asm code.
26311 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26312 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26313 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26314 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26315 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26316 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26318 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26319 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26320 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26321 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26322 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26323 * sysdeps/s390/s390-32/memset.S: New asm code.
26324 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26326 2012-07-17 Marek Polacek <polacek@redhat.com>
26329 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26330 * sysdeps/s390/s390-64/configure.in: Likewise.
26331 * sysdeps/sparc/configure.in: Likewise.
26332 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26333 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26334 * sysdeps/i386/configure.in: Likewise.
26335 * sysdeps/x86_64/configure.in: Likewise.
26336 * sysdeps/sh/configure.in: Likewise.
26337 * sysdeps/s390/s390-32/configure: Regenerated.
26338 * sysdeps/s390/s390-64/configure: Likewise.
26339 * sysdeps/x86_64/configure: Likewise.
26340 * sysdeps/sh/configure: Likewise.
26341 * sysdeps/powerpc/powerpc64/configure: Likewise.
26342 * sysdeps/powerpc/powerpc32/configure: Likewise.
26343 * sysdeps/sparc/configure: Likwise.
26344 * sysdeps/i386/configure: Likewise.
26346 * elf/dl-open.c: Comment fixes.
26348 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26350 * Makefile [CXX] (check-data): Remove.
26351 [CXX] (c++-types.data): New vpath directive.
26352 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26353 vpath. Do not allow for C++ type data being missing.
26354 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26355 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26356 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26357 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26358 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26359 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26360 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26363 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26366 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26369 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26372 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26375 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26378 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26381 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26384 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26385 definitions to architecture-specific files.
26386 (TLS_IE): Likewise.
26387 (TLS_LD): Likewise.
26388 (TLS_GD): Likewise.
26389 * sysdeps/i386/tls-macros.h: New file.
26390 * sysdeps/powerpc/tls-macros.h: Likewise.
26391 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26392 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26393 * sysdeps/sh/tls-macros.h: Likewise.
26394 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26395 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26396 * sysdeps/x86_64/tls-macros.h: Likewise.
26398 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26400 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26401 zero value for regular exit case.
26403 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26404 (__start_context): Preserve zero value for regular exit case.
26406 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26407 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26409 * manual/setjmp.texi (setcontext): Clarify normal process
26410 termination when uc_link is the null pointer.
26411 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26414 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26416 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26417 preprocessor. Test for each exception mask separately.
26419 2012-07-16 Andreas Jaeger <aj@suse.de>
26421 * po/ru.po: Update from translation team.
26423 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26425 * conform/data/string.h-data (NULL): Use macro-constant. Require
26427 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26428 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26429 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26430 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26433 2012-07-13 Andreas Jaeger <aj@suse.de>
26435 * po/fr.po: Update from translation team.
26437 2012-07-12 Marek Polacek <polacek@redhat.com>
26440 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26444 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26447 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26448 Change to 2.4.1 where previously 2.4.0.
26449 * sysdeps/unix/sysv/linux/configure: Regenerated.
26450 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26451 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26453 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26454 (__ASSUME_AT_CLKTCK): Remove.
26455 (__ASSUME_AT_PAGESIZE): Likewise.
26456 (__ASSUME_AT_XID): Likewise.
26457 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26458 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26459 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26461 (HAVE_AUX_PAGESIZE): Likewise.
26462 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26463 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26464 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26466 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26470 the temporary buffer used to invoke __gethostbyname2_r,
26471 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26472 host_data / struct gaih_addrtuple.
26473 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26474 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26475 header file nss/nsswitch.h.
26476 * nss/nsswitch.h (global scope): Add definition of implementation
26477 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26478 resolv/nss_dns/dns-host.c).
26480 2012-07-11 Andreas Jaeger <aj@suse.de>
26482 * po/fr.po: Update from translation team.
26484 * po/sv.po: Update from translation team
26485 * po/fr.po: Another update from translation team.
26487 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26489 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26490 for subnormals or multiply small sinh result by itself.
26491 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26494 2012-07-11 David S. Miller <davem@davemloft.net>
26496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26498 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26501 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26502 (INTERNAL_MARK): Shift it here.
26504 2012-07-10 Marek Polacek <polacek@redhat.com>
26507 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26508 libc_cv_asm_global_directive with .globl.
26509 * configure: Regenerated.
26510 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26512 * sysdeps/i386/configure: Regenerated.
26513 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26515 * sysdeps/x86_64/configure: Regenerated.
26516 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26517 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26518 * elf/tst-unique2mod2.c: Likewise.
26519 * elf/tst-unique2mod1.c: Likewise.
26520 * elf/tst-unique1mod2.c: Likewise.
26521 * elf/tst-unique1mod1.c: Likewise.
26522 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26523 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26524 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26525 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26526 * sysdeps/mach/sysdep.h: Likewise.
26527 * sysdeps/i386/sysdep.h: Likewise.
26528 * sysdeps/i386/i386-mcount.S: Likewise.
26529 * sysdeps/x86_64/_mcount.S: Likewise.
26530 * sysdeps/x86_64/sysdep.h: Likewise.
26531 * sysdeps/sh/_mcount.S: Likewise.
26532 * sysdeps/sh/sysdep.h: Likewise.
26533 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26534 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26535 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26536 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26537 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26538 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26539 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26540 * locale/localeinfo.h: Likewise.
26541 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26542 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26544 2012-07-09 Roland McGrath <roland@hack.frob.com>
26547 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26549 * manual/message.texi (The Uniforum approach): Likewise.
26550 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26551 (glibc iconv Implementation): Likewise.
26553 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26556 * math/s_clog.c (__clog): Avoid scaling a value down where that
26557 could result in underflow.
26558 * math/s_clog10.c (__clog10): Likewise.
26559 * math/s_clog10f.c (__clog10f): Likewise.
26560 * math/s_clog10l.c (__clog10l): Likewise.
26561 * math/s_clogf.c (__clogf): Likewise.
26562 * math/s_clogl.c (__clogl): Likewise.
26563 * math/libm-test.inc (clog_test): Add more tests.
26564 (clog10_test): Likewise.
26565 * sysdeps/i386/fpu/libm-test-ulps: Update.
26566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26568 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26571 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26572 by 7 not 8 to examine high bit of fractional part.
26575 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26576 for call to __mcount_internal.
26577 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26578 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26579 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26581 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26584 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26585 approximation for values within 0x1p-13f of an odd multiple of
26587 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26588 exception. Add more tests.
26589 * sysdeps/i386/fpu/libm-test-ulps: Update.
26592 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26593 inputs and return -1 for them. Do not check for +Inf in case not
26594 reachable for +Inf.
26595 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26596 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26597 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26598 and return -1 for them. Do not check for +Inf in case not
26599 reachable for +Inf.
26600 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26602 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26603 and return -1 for them. Do not check for +Inf in case not
26604 reachable for +Inf.
26605 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26606 spurious underflow.
26607 * sysdeps/i386/fpu/libm-test-ulps: Update.
26608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26610 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26612 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26614 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26618 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26619 could result in spurious underflow. Scale down values above
26620 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26621 * math/s_csqrtf.c (__csqrtf): Likewise.
26622 * math/s_csqrtl.c (__csqrtl): Likewise.
26623 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26624 spurious underflow.
26625 * sysdeps/i386/fpu/libm-test-ulps: Update.
26626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26628 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26630 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26632 * catgets/xopen-msg.awk: New file.
26633 * catgets/xopen-msg.sed: Removed.
26635 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26637 * intl/po2test.awk: New file.
26638 * intl/po2test.sed: Removed.
26640 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26643 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26644 or multiply small sinh result by itself.
26645 * math/s_ctanf.c (__ctanf): Likewise.
26646 * math/s_ctanh.c (__ctanh): Likewise.
26647 * math/s_ctanhf.c (__ctanhf): Likewise.
26648 * math/s_ctanhl.c (__ctanhl): Likewise.
26649 * math/s_ctanl.c (__ctanl): Likewise.
26650 * math/libm-test.inc (ctan_test_tonearest): New function.
26651 (ctan_test_towardzero): Likewise.
26652 (ctan_test_downward): Likewise.
26653 (ctan_test_upward): Likewise.
26654 (ctanh_test_tonearest): Likewise.
26655 (ctanh_test_towardzero): Likewise.
26656 (ctanh_test_downward): Likewise.
26657 (ctanh_test_upward): Likewise.
26658 (main): Call these new functions.
26659 * sysdeps/i386/fpu/libm-test-ulps: Update.
26660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26662 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26664 * .gitignore: Delete /ports entry.
26666 2012-07-03 Andreas Jaeger <aj@suse.de>
26668 * po/bg.po: Update from translation team.
26669 * po/cs.po: Likewise.
26670 * po/de.po: Likewise.
26671 * po/hr.po: Likewise.
26672 * po/nl.pl: Likewise.
26673 * po/pl.po: Likewise.
26674 * po/vi.po: Likewise.
26676 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26678 * Makeconfig [!+link] (+link-before-libc): New variable.
26679 [!+link] (+link-after-libc): Likewise.
26680 [!+link] (+link-tests): Likewise.
26681 [!+link] (+link): Define in terms of $(+link-before-libc) and
26682 $(+link-after-libc).
26683 [!+link-static] (+link-static-before-libc): New variable.
26684 [!+link-static] (+link-static-after-libc): Likewise.
26685 [!+link-static] (+link-static-tests): Likewise.
26686 [!+link-static] (+link-static): Define in terms of
26687 $(+link-static-before-libc) and $(+link-static-after-libc).
26688 [build-shared] (link-libc-before-gnulib): New variable.
26689 [build-shared] (link-libc-tests): Likewise.
26690 [build-shared] (link-libc): Define in terms of
26691 $(link-libc-before-gnulib).
26692 [!build-shared] (link-libc-tests): New variable.
26693 (link-libc-static-tests): New variable.
26694 [!gnulib] (gnulib-arch): New variable.
26695 [!gnulib] (gnulib-tests): Likewise.
26696 [!gnulib] (static-gnulib-arch): Likewise.
26697 [!gnulib] (static-gnulib-tests): Likewise.
26698 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26699 Define with "=" instead of ":=".
26700 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26701 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26702 * Rules (binaries-all-notests): New variable.
26703 (binaries-all-tests): Likewise.
26704 (binaries-static-notests): Likewise.
26705 (binaries-static-tests): Likewise.
26706 (binaries-all): Define using $(binaries-all-notests) and
26707 $(binaries-all-tests).
26708 (binaries-static): Define using $(binaries-static-notests) and
26709 $(binaries-static-tests).
26710 (binaries-shared-tests): New variable.
26711 (binaries-shared-notests): Likewise.
26712 (binaries-shared): Remove variable.
26713 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26714 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26715 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26716 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26717 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26718 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26719 * elf/Makefile (sln-modules): New variable.
26720 (extra-objs): Add $(sln-modules:=.o).
26721 (ldconfig-modules): Add static-stubs.
26722 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26723 * elf/static-stubs.c: New file.
26726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26727 by 7 not 8 to examine high bit of fractional part. Use volatile
26728 variables when splitting into final array of floats if
26729 __FLT_EVAL_METHOD__ != 0.
26730 * math/libm-test.inc (cos_test): Add another test.
26731 (sin_test): Likewise.
26732 * sysdeps/i386/fpu/libm-test-ulps: Update.
26735 * math/libm-test.inc (cosh_test): Add more tests.
26737 * version.h (RELEASE): Set to "development".
26738 (VERSION): Set to "2.16.90".
26740 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26742 * NEWS: Update copyright. Remove last-updated date.
26743 Mention math library bug fixes and timezone data changes.
26744 * README: Mention GNU/Hurd, x32, and HPPA support status.
26746 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26748 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26750 2012-06-27 Andreas Jaeger <aj@suse.de>
26752 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26754 2012-06-25 Andreas Jaeger <aj@suse.de>
26756 * sysdeps/s390/fpu/libm-test-ulps: Update.
26758 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26759 Thomas Schwinge <thomas@codesourcery.com>
26761 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26762 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26766 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26768 * sysdeps/mach/start.c: Remove file.
26769 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26770 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26771 * sysdeps/sh/init-first.c: Likewise.
26773 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26774 registers for frame unwinding purposes, add CFI directives.
26775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26776 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26777 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26780 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26781 __fortify_fail returning.
26782 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26784 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26785 sysdeps/sh/____longjmp_chk.S.
26786 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26787 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26788 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26789 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26791 * sysdeps/sh/abort-instr.h: New file.
26792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26793 process in case exit returns.
26795 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26796 initialize the GOT register before use.
26798 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26799 calculation of ARGC > 4.
26801 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26802 meaningful names to some local labels.
26804 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26805 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26808 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26809 (__arch_compare_and_exchange_val_16_acq): Likewise.
26810 (__arch_compare_and_exchange_val_32_acq): Likewise.
26811 (atomic_exchange_and_add): Fix gUSA sequence.
26812 (atomic_add): Likewise.
26813 (atomic_add_negative): Likewise.
26814 (atomic_add_zero): Likewise.
26815 (atomic_bit_test_set): Likewise.
26817 2012-06-22 Andreas Schwab <schwab@redhat.com>
26820 * include/link.h (struct link_map): Add l_free_initfini.
26821 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26823 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26824 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26825 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26828 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26830 * configure.in: Use AC_LANG_SOURCE.
26831 * configure: Regenerate.
26833 2012-06-22 Roland McGrath <roland@hack.frob.com>
26835 * configure.in (libc_cv_localstatedir): New substituted variable.
26836 * configure: Regenerated.
26837 * config.make.in (localstatedir): New variable, substituted from
26838 libc_cv_localstatedir.
26839 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26840 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26841 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26842 * sysdeps/gnu/configure: Regenerated.
26844 2012-06-21 Jeff Law <law@redhat.com>
26847 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26848 free. Simplify list management for _LIBC case.
26850 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26854 Clear sign bit of 64-bit integer value before comparing against
26857 * sysdeps/mach/configure: Regenerated.
26859 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26862 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26864 2012-06-21 Jeff Law <law@redhat.com>
26867 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26868 uint16_t for elements in the "seen" array to avoid char overflows.
26869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26870 * elf/dl-open.c (dl_open_worker): Likewise.
26872 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26874 * scripts/list-sources.sh: Scan PORTS for translations.
26875 * po/libc.pot: Regenerated.
26877 2012-06-21 Andreas Jaeger <aj@suse.de>
26880 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26882 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26883 * bits/byteswap-16.h (__bswap_16): Likewise.
26884 * bits/byteswap.h (__bswap_constant_16): Likewise.
26886 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26889 * sysdeps/i386/fpu_control.h: Removed.
26890 * sysdeps/x86_64/fpu_control.h: Moved to ...
26891 * sysdeps/x86/fpu_control.h: Here.
26893 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26894 (_FPU_SETCW): Likewise.
26896 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26899 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26900 * sysdeps/x86/fpu/bits/mathinline.h: This.
26901 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26905 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26906 functions if __x86_64__ is defined.
26908 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26910 * string/endian.h: Add !__ASSEMBLER__ condition for including
26911 conversion interfaces.
26913 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26917 of ABS(x) in calculating zero to negative powers other than odd
26919 * math/libm-test.inc (pow_test): Add more tests.
26921 2012-06-15 Andreas Jaeger <aj@suse.de>
26923 * manual/contrib.texi (Contributors): Update entry of Liubov
26924 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26927 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26929 * string/string.h: Add __wur to GNU version of strerror_r.
26931 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26934 * string/Makefile (tests): Add tst-strtok_r.
26935 * string/tst-strtok_r.c: New file.
26936 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26937 RAX_LP/RDX_LP on SAVE_PTR.
26939 2012-06-14 Roland McGrath <roland@hack.frob.com>
26941 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26943 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26945 * libm_test.inc (csqrt_test): Allow more spurious underflow
26947 (j0_test): Likewise.
26948 (j1_test): Likewise.
26949 (y0_test): Likewise.
26950 (y1_test): Likewise.
26952 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26954 * po/Makefile (libc.pot): Use UTF-8 charset.
26956 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26959 Suppress sign-conversion warning from FD_SET.
26960 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26961 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26962 not unsigned long int.
26963 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26965 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26969 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26970 __extern_always_inline instead of __extern_inline.
26971 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26972 (__signbit): Likewise.
26973 (__signbitl): Support C++ namespace.
26974 (lrintf): New inline function.
26976 (llrintf): Likewise.
26977 (llrint): Likewise.
26987 (floorf): Likewise.
26988 (nearbyint): Likewise.
26989 (nearbyintf): Likewise.
26991 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26994 non-default versions.
26996 2012-06-11 Roland McGrath <roland@hack.frob.com>
26999 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27001 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27003 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27004 (FE_UPWARD, FE_DOWNWARD): Don't define.
27005 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27006 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27008 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27010 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27011 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27013 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27015 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27017 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27018 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27020 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27023 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27024 * sysdeps/i386/fpu/Implies: New file.
27025 * sysdeps/x86_64/fpu/Implies: Likewise.
27026 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27027 * sysdeps/x86/fpu/bits/fenv.h: This.
27029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27032 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27035 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27036 character 0xffff that matches the last element of the
27039 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27044 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27047 values higher than 25.6283.
27049 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27051 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27052 subnormal exponent extraction and add some __builtin_expect.
27053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27054 Fix for subnormal mantissa calculation.
27056 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27058 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27059 cpu2 is -1 and errno is not ENOSYS.
27061 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27064 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27065 * sysdeps/x86/bits/string.h: This.
27066 * sysdeps/x86_64/bits/string.h: Removed.
27068 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27069 if not compiling for x86-64, but compiling for >= i486.
27071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27072 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27075 New macro from Linux kernel 3.4.0.
27076 (FP_XSTATE_MAGIC2): Likewise.
27077 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27078 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27079 (struct _fpx_sw_bytes): New struct.
27080 (struct _xsave_hdr): Likewise.
27081 (struct _ymmh_state): Likewise.
27082 (struct _xstate): Likewise.
27084 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27085 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27086 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27087 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27088 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27089 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27091 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27092 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27093 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27094 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27095 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27096 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27098 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27101 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27102 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27103 (sysdep_headers): Include sys/platform/ppc.h.
27104 * sysdeps/powerpc/test-gettimebase.c: Test for
27105 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27106 * manual/Makefile (appendices): Include platform.texi.
27107 * manual/contrib.texi (Contributors): Update @node pointers.
27108 * manual/maint.texi (Maintenance): Likewise.
27109 (Platform): New node.
27110 * manual/platform.texi: New file. Document the new features.
27112 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27113 Jakub Jelinek <jakub@redhat.com>
27116 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27117 where __builtin_expect is unavailable.
27119 2012-06-03 David S. Miller <davem@davemloft.net>
27121 * stdlib/longlong.h: Updated from GCC.
27123 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27126 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27127 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27130 (GLIBC_2.16): Likewise.
27132 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27134 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27136 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27139 (default-abi): New variable.
27140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27141 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27143 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27145 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27150 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27151 definition. Document in comment.
27153 2012-06-01 David S. Miller <davem@davemloft.net>
27155 * stdlib/longlong.h: Updated from GCC.
27157 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27160 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27161 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27162 sys/debugreg.h sys/io.h here.
27163 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27164 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27166 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27167 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27168 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27169 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27170 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27171 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27173 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27174 Define only if __x86_64__ is defined.
27176 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27179 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27180 Use int64_t for variable i.
27181 * math/libm-test.inc (fmod_test): Add more tests.
27183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27184 z computation is not scheduled after fetestexcept.
27185 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27186 Use math_force_eval instead of asm to ensure calculation scheduled
27187 before exception test.
27188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27189 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27191 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27194 computation is not scheduled after fetestexcept.
27196 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27199 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27200 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27202 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27204 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27205 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27207 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27210 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27212 (__WCHAR_MIN): Support __WORDSIZE == 64.
27213 (__WCHAR_MAX): Likewise.
27215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27220 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27223 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27226 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27227 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27229 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27230 Defined to 1 if __x86_64__ isn't defined.
27231 (_STAT_VER_LINUX_OLD): New.
27232 (st_atime): Remove duplicate.
27233 (st_mtime): Likewise.
27234 (st_ctime): Likewise.
27236 2012-05-31 David S. Miller <davem@davemloft.net>
27238 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27241 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27243 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27247 * elf/dl-reloc.c: Include <_itoa.h>.
27248 (_dl_reloc_bad_type): Remove use of INTUSE.
27249 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27250 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27251 * stdio-common/psiginfo.c (psiginfo): Likewise.
27252 * stdio-common/psignal.c (psignal): Likewise.
27253 * string/strsignal.c (strsignal): Likewise.
27254 * include/signal.h (_sys_siglist): Declare hidden proto.
27255 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27256 INTVARDEF with libc_hidden_data_def.
27257 * stdio-common/itoa-udigits.c: Likewise.
27258 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27259 (_itoa_lower_digits_internal): Remove declaration.
27260 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27261 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27262 (_sys_sigabbrev_internal): Remove aliases.
27263 (_sys_siglist): Define hidden alias.
27265 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27270 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27273 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27276 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27277 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27278 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27279 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27280 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27281 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27283 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27284 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27285 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27287 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27297 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27299 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27300 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27301 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27302 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27303 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27304 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27306 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27307 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27309 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27310 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27314 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27316 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27317 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27319 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27321 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27322 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27323 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27325 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27327 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27329 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27331 * math/math.h (M_El): Use two more decimal places.
27332 (M_LOG2El): Likewise.
27333 (M_LOG10El): Likewise.
27334 (M_LN2l): Likewise.
27335 (M_LN10l): Likewise.
27337 (M_PI_2l): Likewise.
27338 (M_PI_4l): Likewise.
27339 (M_1_PIl): Likewise.
27340 (M_2_PIl): Likewise.
27341 (M_2_SQRTPIl): Likewise.
27342 (M_SQRT2l): Likewise.
27343 (M_SQRT1_2l): Likewise.
27345 2012-05-31 David S. Miller <davem@davemloft.net>
27347 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27348 values between float registers.
27349 * sysdeps/sparc/sparc64/memset.S: Likewise.
27350 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27352 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27354 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27355 -D_FORTIFY_SOURCE=1.
27356 (CPPFLAGS-tst-longjmp_chk.c): Define.
27357 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27358 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27359 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27360 CFLAGS-tst-wchar-h.c.
27362 2012-05-31 Marek Polacek <polacek@redhat.com>
27365 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27366 __endmntent_internal): Remove declaration.
27367 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27368 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27369 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27371 2012-05-30 David S. Miller <davem@davemloft.net>
27373 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27374 (___Q_simulate_exceptions): Use real FP ops rather than writing
27376 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27379 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27382 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27383 * sysdeps/x86/bits/xtitypes.h: This.
27385 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27386 * sysdeps/x86/bits/wordsize.h: This.
27388 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27389 * sysdeps/x86/bits/huge_vall.h: This.
27391 * sysdeps/i386/bits/select.h: Removed.
27392 * sysdeps/x86_64/bits/select.h: Renamed to ...
27393 * sysdeps/x86/bits/select.h: This.
27395 * sysdeps/i386/bits/setjmp.h: Removed.
27396 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27397 * sysdeps/x86/bits/setjmp.h: This.
27399 * sysdeps/i386/bits/mathdef.h: Removed.
27400 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27401 * sysdeps/x86/bits/mathdef.h: This.
27403 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27406 * include/sys/socket.h (__connect_internal)
27407 (__libc_sa_len_internal): Remove declaration.
27408 (__connect, __libc_sa_len): Declare hidden_proto.
27409 (SA_LEN): Remove use of INTUSE.
27410 * socket/connect.c: Add libc_hidden_def.
27411 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27412 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27413 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27415 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27417 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27418 of adding _internal alias.
27420 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27423 * sysdeps/i386/bits/link.h: Removed.
27424 * sysdeps/i386/bits/linkmap.h: Likewise.
27425 * sysdeps/x86_64/bits/link.h: Renamed to ...
27426 * sysdeps/x86/bits/link.h: This.
27427 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27428 * sysdeps/x86/bits/linkmap.h: This.
27430 * sysdeps/i386/bits/endian.h: Removed.
27431 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27432 * sysdeps/x86/bits/endian.h: This.
27434 * sysdeps/i386/bits/byteswap.h: Removed.
27435 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27436 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27437 * sysdeps/x86/bits/byteswap.h: This.
27438 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27439 * sysdeps/x86/bits/byteswap-16.h: This.
27440 * sysdeps/i386/Implies: Add x86.
27441 * sysdeps/x86_64/Implies: Likewise.
27443 2012-05-30 David S. Miller <davem@davemloft.net>
27445 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27446 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27448 (FP_TRAPPING_EXCEPTIONS): Define.
27449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27450 (FP_TRAPPING_EXCEPTIONS): Define.
27451 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27452 subnormals only when inexact has been signalled or underflow
27453 exceptions are enabled.
27454 (_FP_PACK_CANONICAL): Likewise.
27456 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27460 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27462 2012-05-30 Richard Henderson <rth@twiddle.net>
27464 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27465 with #ifndef NOT_IN_libc.
27467 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27468 marked to avoid plt entry.
27470 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27473 * Makeconfig (default-abi): New macro.
27474 (abi-includes): Likewise.
27475 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27476 $(abi-$(default-abi)-lib-soname) for soname if defined.
27477 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27479 * Makefile (installed-stubs): Likewise.
27480 * include/stubs-biarch.h: Removed.
27481 * scripts/lib-names.awk: Only handle one library at a time.
27482 * scripts/soversions.awk: Remove WORDSIZE support.
27483 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27485 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27487 (syscall-list-default-condition): Likewise.
27488 (syscall-list-default-condition): Likewise.
27489 (syscall-list-includes): Likewise.
27490 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27491 syscall-list-* with abi-*. Handle undefined abi-variants.
27492 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27493 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27494 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27495 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27497 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27499 (syscall-list-32-options): Likewise.
27500 (syscall-list-32-condition): Likewise.
27501 (syscall-list-64-options): Likewise.
27502 (syscall-list-64-condition): Likewise.
27503 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27505 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27508 (abi-64-ld-soname): New macro.
27509 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27510 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27513 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27514 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27516 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27518 * sysdeps/unix/sysv/linux/kernel-features.h
27519 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27520 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27521 include <kernel-features.h>.
27522 [!__NR_ftruncate64]: Remove conditional code.
27523 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27524 [__NR_ftruncate64]: Make code unconditional.
27525 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27526 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27527 include <kernel-features.h>.
27528 [!__NR_ftruncate64]: Remove conditional code.
27529 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27530 [__NR_ftruncate64]: Make code unconditional.
27531 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27533 include <kernel-features.h>.
27534 [!__NR_ftruncate64]: Remove conditional code.
27535 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27536 [__NR_ftruncate64]: Make code unconditional.
27537 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27539 include <kernel-features.h>.
27540 [!__NR_ftruncate64]: Remove conditional code.
27541 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27542 [__NR_ftruncate64]: Make code unconditional.
27543 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27545 * configure.in (libc_cv_fpie): Weaken to a compile test using
27546 LIBC_TRY_CC_OPTION.
27547 * configure: Regenerated.
27549 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27564 2012-05-27 David S. Miller <davem@davemloft.net>
27566 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27568 (__Q_simulate_exceptions): Return void. Change to simulate
27569 exceptions by writing into the %fsr.
27570 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27571 (__Qp_handle_exceptions): Likewise.
27573 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27574 __Qp_handle_exceptions.
27575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27576 __Qp_handle_exceptions.
27577 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27578 as unused and give dummy FP_RND_NEAREST initializer.
27579 (FP_INHIBIT_RESULTS): Define.
27580 (___Q_simulate_exceptions): Update declaration.
27581 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27583 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27584 as unused and give dummy FP_RND_NEAREST initializer.
27585 (__Qp_handle_exceptions): Update declaration.
27586 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27589 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27591 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27592 the temporary FPU control word.
27593 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27594 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27595 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27596 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27597 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27598 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27599 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27600 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27601 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27602 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27603 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27605 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27607 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27610 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27612 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27613 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27614 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27615 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27617 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27618 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27621 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27623 * po/h.po: Update from translation team.
27625 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27627 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27629 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27630 handling of denormals.
27631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27632 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27633 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27634 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27640 2012-05-26 Marek Polacek <polacek@redhat.com>
27643 * math/libm-test.inc (fma_test): Don't always expect underflow
27646 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27649 * elf/tst-execstack.c: Include stackinfo.h.
27650 (do_test): Adjust test case to ensure that pthread_getattr_np
27651 behaviour remains the same after marking stack executable.
27653 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27655 * sysdeps/unix/sysv/linux/kernel-features.h
27656 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27657 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27659 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27660 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27661 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27663 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27664 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27666 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27668 * configure.in: Define the default includes to being none.
27669 * configure: Regenerated.
27671 2012-05-25 Roland McGrath <roland@hack.frob.com>
27673 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27674 * sysdeps/x86_64/setjmp.S: Likewise.
27675 * sysdeps/i386/bsd-setjmp.S: Likewise.
27676 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27677 * sysdeps/i386/setjmp.S: Likewise.
27678 * sysdeps/i386/__longjmp.S: Likewise.
27679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27682 * include/stap-probe.h: New file.
27683 * configure.in: Handle --enable-systemtap.
27684 * configure: Regenerated.
27685 * config.h.in (USE_STAP_PROBE): New #undef.
27686 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27687 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27688 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27690 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27694 to 2.4.0 where earlier.
27695 * sysdeps/unix/sysv/linux/configure: Regenerated.
27696 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27697 <kernel-features.h>.
27698 [__ASSUME_32BITUIDS]: Make code unconditional.
27699 [!__ASSUME_32BITUIDS]: Remove conditional code.
27700 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27701 <kernel-features.h>.
27702 [__ASSUME_32BITUIDS]: Make code unconditional.
27703 [!__ASSUME_32BITUIDS]: Remove conditional code.
27704 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27705 [__ASSUME_32BITUIDS]: Make code unconditional.
27706 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27707 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27708 <kernel-features.h>.
27709 [__ASSUME_32BITUIDS]: Make code unconditional.
27710 [!__ASSUME_32BITUIDS]: Remove conditional code.
27711 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27712 <kernel-features.h>.
27713 [__ASSUME_32BITUIDS]: Make code unconditional.
27714 [!__ASSUME_32BITUIDS]: Remove conditional code.
27715 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27716 <kernel-features.h>.
27717 [__ASSUME_32BITUIDS]: Make code unconditional.
27718 [!__ASSUME_32BITUIDS]: Remove conditional code.
27719 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27720 <kernel-features.h>.
27721 [__ASSUME_32BITUIDS]: Make code unconditional.
27722 [!__ASSUME_32BITUIDS]: Remove conditional code.
27723 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27724 <kernel-features.h>.
27725 [__ASSUME_32BITUIDS]: Make code unconditional.
27726 [!__ASSUME_32BITUIDS]: Remove conditional code.
27727 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27728 <kernel-features.h>.
27729 [__ASSUME_32BITUIDS]: Make code unconditional.
27730 [!__ASSUME_32BITUIDS]: Remove conditional code.
27731 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27732 <kernel-features.h>.
27733 [__ASSUME_32BITUIDS]: Make code unconditional.
27734 [!__ASSUME_32BITUIDS]: Remove conditional code.
27735 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27736 <kernel-features.h>.
27737 [__ASSUME_32BITUIDS]: Make code unconditional.
27738 [!__ASSUME_32BITUIDS]: Remove conditional code.
27739 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27740 <kernel-features.h>.
27741 [__ASSUME_32BITUIDS]: Make code unconditional.
27742 [!__ASSUME_32BITUIDS]: Remove conditional code.
27743 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27744 <kernel-features.h>.
27745 [__ASSUME_32BITUIDS]: Make code unconditional.
27746 [!__ASSUME_32BITUIDS]: Remove conditional code.
27747 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27748 <kernel-features.h>.
27749 [__NR_setresgid] (__setresgid): Do not declare.
27750 [__ASSUME_32BITUIDS]: Make code unconditional.
27751 [!__ASSUME_32BITUIDS]: Remove conditional code.
27752 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27753 <kernel-features.h>.
27754 [__NR_setresuid] (__setresuid): Do not declare.
27755 [__ASSUME_32BITUIDS]: Make code unconditional.
27756 [!__ASSUME_32BITUIDS]: Remove conditional code.
27757 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27758 <kernel-features.h>.
27759 [__ASSUME_32BITUIDS]: Make code unconditional.
27760 [!__ASSUME_32BITUIDS]: Remove conditional code.
27761 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27762 <kernel-features.h>.
27763 [__ASSUME_32BITUIDS]: Make code unconditional.
27764 [!__ASSUME_32BITUIDS]: Remove conditional code.
27765 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27766 <kernel-features.h>.
27767 [__ASSUME_32BITUIDS]: Make code unconditional.
27768 [!__ASSUME_32BITUIDS]: Remove conditional code.
27769 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27770 <kernel-features.h>.
27771 [__ASSUME_32BITUIDS]: Make code unconditional.
27772 [!__ASSUME_32BITUIDS]: Remove conditional code.
27773 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27774 <kernel-features.h>.
27775 [__ASSUME_32BITUIDS]: Make code unconditional.
27776 [!__ASSUME_32BITUIDS]: Remove conditional code.
27777 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27778 <kernel-features.h>.
27779 [__ASSUME_32BITUIDS]: Make code unconditional.
27780 [!__ASSUME_32BITUIDS]: Remove conditional code.
27781 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27782 <kernel-features.h>.
27783 [__ASSUME_32BITUIDS]: Make code unconditional.
27784 [!__ASSUME_32BITUIDS]: Remove conditional code.
27785 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27786 <kernel-features.h>.
27787 [__ASSUME_32BITUIDS]: Make code unconditional.
27788 [!__ASSUME_32BITUIDS]: Remove conditional code.
27789 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27790 <kernel-features.h>.
27791 [__ASSUME_32BITUIDS]: Make code unconditional.
27792 [!__ASSUME_32BITUIDS]: Remove conditional code.
27793 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27794 <kernel-features.h>.
27795 [__ASSUME_32BITUIDS]: Make code unconditional.
27796 [!__ASSUME_32BITUIDS]: Remove conditional code.
27797 * sysdeps/unix/sysv/linux/kernel-features.h
27798 (__ASSUME_SETRESUID_SYSCALL): Remove.
27799 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27800 (__ASSUME_32BITUIDS): Likewise.
27801 (__ASSUME_LDT_WORKS): Likewise.
27802 (__ASSUME_O_DIRECTORY): Likewise.
27803 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27804 architecture but not kernel version.
27805 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27806 (__ASSUME_MMAP2_SYSCALL): Likewise.
27807 (__ASSUME_STAT64_SYSCALL): Likewise.
27808 (__ASSUME_IPC64): Likewise.
27809 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27810 <kernel-features.h>.
27811 [__ASSUME_32BITUIDS]: Make code unconditional.
27812 [!__ASSUME_32BITUIDS]: Remove conditional code.
27813 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27814 <kernel-features.h>.
27815 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27816 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27817 132096]: Remove conditional code.
27818 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27819 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27820 <kernel-features.h>.
27821 [__ASSUME_32BITUIDS]: Make code unconditional.
27822 [!__ASSUME_32BITUIDS]: Remove conditional code.
27823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27824 <kernel-features.h>.
27825 [__ASSUME_32BITUIDS]: Make code unconditional.
27826 [!__ASSUME_32BITUIDS]: Remove conditional code.
27827 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27828 <kernel-features.h>.
27829 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27831 (__setresgid): Do not declare.
27832 [__ASSUME_32BITUIDS]: Make code unconditional.
27833 [!__ASSUME_32BITUIDS]: Remove conditional code.
27834 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27835 <kernel-features.h>.
27836 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27838 (__setresuid): Do not declare.
27839 [__ASSUME_32BITUIDS]: Make code unconditional.
27840 [!__ASSUME_32BITUIDS]: Remove conditional code.
27841 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27846 <kernel-features.h>.
27847 [__ASSUME_32BITUIDS]: Make code unconditional.
27848 [!__ASSUME_32BITUIDS]: Remove conditional code.
27850 2012-05-25 Richard Henderson <rth@twiddle.net>
27852 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27853 dl_hwcap to ifunc resolver.
27854 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27856 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27857 dl_hwcap to ifunc resolver.
27858 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27860 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27864 for |x| <= 2**-26, not 2**-57.
27865 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27868 2012-05-24 Jeff Law <law@redhat.com>
27870 * stdio-common/Makefile (tests): Add bug25.
27871 * stdio-common/bug25.c: New test.
27873 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27876 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27877 multiple of MALLOC_ALIGNMENT in size.
27878 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27880 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27882 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27884 (FILENAME_MAX): Use macro-int-constant.
27885 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27886 (_IOFBF): Use macro-int-constant.
27887 (_IOLBF): Likewise.
27888 (_IONBF): Likewise.
27889 (SEEK_CUR): Likewise.
27890 (SEEK_END): Likewise.
27891 (SEEK_SET): Likewise.
27892 (TMP_MAX): Likewise.
27893 (EOF): Use macro-int-constant. Require < 0.
27894 (NULL): Use macro-constant. Require == 0.
27895 (stdin): Require type to be FILE *.
27896 (stdout): Likewise.
27897 (stderr): Likewise.
27898 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27899 macro-int-constant.
27900 (EXIT_SUCCESS): Likewise.
27901 (NULL): Use macro-constant. Require == 0.
27902 (RAND_MAX): Use macro-int-constant.
27903 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27904 [C99-based standards] (strtof): Require function.
27905 [C99-based standards] (strtold): Likewise.
27906 [C99-based standards] (strtoll): Likewise.
27907 [C99-based standards] (strtoull): Likewise.
27908 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27909 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27910 [ISO || ISO99 || ISO11] (math.h): Likewise.
27911 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27912 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27915 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27918 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27919 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27920 * intl/dgettext.c (DCGETTEXT): Likewise.
27921 * intl/gettext.c (DCGETTEXT): Likewise.
27922 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27923 * posix/regex_internal.h (gettext): Likewise.
27924 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27925 Remove declaration.
27926 * include/argz.h (__argz_count_internal)
27927 (__argz_stringify_internal): Remove declaration.
27928 (__argz_count, __argz_stringify): Declare hidden proto.
27929 * intl/dcgettext.c: Remove use of INTDEF.
27930 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27931 * string/argz-stringify.c: Likewise.
27932 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27933 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27934 Declare hidden proto.
27935 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27936 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27937 Declare hidden proto.
27938 * include/stdio.h (__asprintf_internal): Don't declare.
27939 (__asprintf): Don't define as macro. Declare hidden proto.
27940 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27941 (__fsetlocking): Declare hidden proto.
27942 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27943 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27945 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27946 (_IO_setlinebuf): Remove use of INTUSE.
27947 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27948 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27949 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27950 Remove declaration.
27951 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27952 (_IO_do_flush): Remove use of INTUSE.
27953 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27954 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27955 (_IO_adjust_column, _IO_least_wmarker)
27956 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27957 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27958 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27959 (_IO_default_doallocate, _IO_wdefault_doallocate)
27960 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27961 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27962 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27963 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27964 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27965 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27966 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27967 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27968 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27969 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27970 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27971 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27972 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27974 (_IO_flush_all_internal, _IO_adjust_column_internal)
27975 (_IO_default_uflow_internal, _IO_default_finish_internal)
27976 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27977 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27978 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27979 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27980 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27981 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27982 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27983 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27984 (_IO_file_close_internal, _IO_file_close_it_internal)
27985 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27986 (_IO_file_init_internal, _IO_file_attach_internal)
27987 (_IO_file_fopen_internal, _IO_file_read_internal)
27988 (_IO_file_sync_internal, _IO_file_seek_internal)
27989 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27990 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27991 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27992 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27993 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27994 (_IO_list_all_internal, _IO_link_in_internal)
27995 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27996 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27997 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27998 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27999 (_IO_do_write_internal, _IO_padn_internal)
28000 (_IO_getline_info_internal, _IO_getline_internal)
28001 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28002 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28003 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28004 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28005 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28006 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28007 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28008 with libc_hidden_ver, remove use of INTUSE.
28009 * libio/genops.c: Likewise.
28010 * libio/freopen.c: Likewise.
28011 * libio/freopen64.c: Likewise.
28012 * libio/iofclose.c: Likewise.
28013 * libio/iofdopen.c: Likewise.
28014 * libio/iofflush.c: Likewise.
28015 * libio/iofflush_u.c: Likewise.
28016 * libio/iofgets.c: Likewise.
28017 * libio/iofgets_u.c: Likewise.
28018 * libio/iofopen.c: Likewise.
28019 * libio/iofopncook.c: Likewise.
28020 * libio/iofread.c: Likewise.
28021 * libio/iofread_u.c: Likewise.
28022 * libio/ioftell.c: Likewise.
28023 * libio/iofwrite.c: Likewise.
28024 * libio/iogetline.c: Likewise.
28025 * libio/iogets.c: Likewise.
28026 * libio/iogetwline.c: Likewise.
28027 * libio/iopadn.c: Likewise.
28028 * libio/iopopen.c: Likewise.
28029 * libio/ioseekoff.c: Likewise.
28030 * libio/ioseekpos.c: Likewise.
28031 * libio/iosetbuffer.c: Likewise.
28032 * libio/iosetvbuf.c: Likewise.
28033 * libio/ioungetc.c: Likewise.
28034 * libio/ioungetwc.c: Likewise.
28035 * libio/iovdprintf.c: Likewise.
28036 * libio/iovsprintf.c: Likewise.
28037 * libio/iovsscanf.c: Likewise.
28038 * libio/memstream.c: Likewise.
28039 * libio/obprintf.c: Likewise.
28040 * libio/oldfileops.c: Likewise.
28041 * libio/oldiofclose.c: Likewise.
28042 * libio/oldiofdopen.c: Likewise.
28043 * libio/oldiofopen.c: Likewise.
28044 * libio/oldiopopen.c: Likewise.
28045 * libio/oldstdfiles.c: Likewise.
28046 * libio/putc.c: Likewise.
28047 * libio/setbuf.c: Likewise.
28048 * libio/setlinebuf.c: Likewise.
28049 * libio/stdfiles.c: Likewise.
28050 * libio/strops.c: Likewise.
28051 * libio/vasprintf.c: Likewise.
28052 * libio/vscanf.c: Likewise.
28053 * libio/vsnprintf.c: Likewise.
28054 * libio/vswprintf.c: Likewise.
28055 * libio/wfiledoalloc.c: Likewise.
28056 * libio/wfileops.c: Likewise.
28057 * libio/wgenops.c: Likewise.
28058 * libio/wmemstream.c: Likewise.
28059 * libio/wstrops.c: Likewise.
28060 * libio/__fpurge.c: Likewise.
28061 * libio/__fsetlocking.c: Likewise.
28062 * assert/assert.c: Likewise.
28063 * debug/fgets_chk.c: Likewise.
28064 * debug/fgets_u_chk.c: Likewise.
28065 * debug/fread_chk.c: Likewise.
28066 * debug/fread_u_chk.c: Likewise.
28067 * debug/gets_chk.c: Likewise.
28068 * debug/obprintf_chk.c: Likewise.
28069 * debug/vasprintf_chk.c: Likewise.
28070 * debug/vdprintf_chk.c: Likewise.
28071 * debug/vsnprintf_chk.c: Likewise.
28072 * debug/vsprintf_chk.c: Likewise.
28073 * malloc/mtrace.c: Likewise.
28074 * misc/error.c: Likewise.
28075 * misc/syslog.c: Likewise.
28076 * stdio-common/asprintf.c: Likewise.
28077 * stdio-common/fxprintf.c: Likewise.
28078 * stdio-common/getw.c: Likewise.
28079 * stdio-common/isoc99_fscanf.c: Likewise.
28080 * stdio-common/isoc99_scanf.c: Likewise.
28081 * stdio-common/isoc99_vfscanf.c: Likewise.
28082 * stdio-common/isoc99_vscanf.c: Likewise.
28083 * stdio-common/isoc99_vsscanf.c: Likewise.
28084 * stdio-common/printf-prs.c: Likewise.
28085 * stdio-common/printf_fp.c: Likewise.
28086 * stdio-common/printf_fphex.c: Likewise.
28087 * stdio-common/printf_size.c: Likewise.
28088 * stdio-common/putw.c: Likewise.
28089 * stdio-common/scanf.c: Likewise.
28090 * stdio-common/sprintf.c: Likewise.
28091 * stdio-common/tmpfile.c: Likewise.
28092 * stdio-common/vfprintf.c: Likewise.
28093 * stdio-common/vfscanf.c: Likewise.
28094 * stdlib/strfmon_l.c: Likewise.
28095 * sunrpc/openchild.c: Likewise.
28096 * sunrpc/xdr_stdio.c: Likewise.
28097 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28098 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28100 2012-05-24 Roland McGrath <roland@hack.frob.com>
28102 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28104 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28105 in the third column, to generate for the shared library an IFUNC
28106 that uses _dl_vdso_vsym.
28107 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28108 * Makeconfig (object-suffixes-noshared): New variable.
28110 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28111 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28112 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28113 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28116 * include/sys/time.h (__gettimeofday): Remove macro.
28117 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28118 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28120 (__gettimeofday): Add libc_hidden_def.
28121 (gettimeofday): Add libc_hidden_weak.
28122 * sysdeps/mach/gettimeofday.c: Likewise.
28123 * sysdeps/posix/gettimeofday.c: Likewise.
28124 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28125 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28127 (__gettimeofday_internal): Remove strong_alias.
28128 (__gettimeofday): Add libc_hidden_def.
28129 (gettimeofday): Add libc_hidden_weak.
28130 * sysdeps/unix/syscalls.list (gettimeofday):
28131 Remove __gettimeofday_internal alias.
28133 2012-05-24 Daniel Jacobowitz <drow@false.org>
28134 H.J. Lu <hongjiu.lu@intel.com>
28137 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28138 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28139 (largebin_index_32_big): New.
28140 (largebin_index): Use it for 16-byte alignment.
28141 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28142 correction with front_misalign.
28144 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28172 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28173 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28175 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28179 * math/libm-test.inc (exp_test): Add test from bug 14036.
28180 (pow_test): Add test from bug 10846.
28182 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28184 (special_function): Do not include flags in test name.
28185 (parse_args): Likewise.
28186 * sysdeps/i386/fpu/libm-test-ulps: Update.
28187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28188 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28189 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28192 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28194 * math/libm-test.inc ("Philosophy"): Update comment about
28196 (UNDERFLOW_EXCEPTION): New macro.
28197 (UNDERFLOW_EXCEPTION_OK): Likewise.
28198 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28199 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28200 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28201 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28202 (INVALID_EXCEPTION_OK): Update value.
28203 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28204 (OVERFLOW_EXCEPTION_OK): Likewise.
28205 (IGNORE_ZERO_INF_SIGN): Likewise.
28206 (test_exceptions): Handle underflow exceptions.
28207 (acos_test): Update for underflow exception expectations.
28208 (cexp_test): Likewise.
28209 (clog_test): Likewise.
28210 (clog10_test): Likewise.
28211 (csqrt_test): Likewise.
28212 (ctan_test): Likewise.
28213 (ctanh_test): Likewise.
28214 (exp_test): Likewise.
28215 (exp10_test): Likewise.
28216 (exp2_test): Likewise.
28217 (expm1_test): Likewise.
28218 (fma_test): Likewise.
28219 (j0_test): Likewise.
28220 (jn_test): Likewise.
28221 (nexttoward_test): Likewise.
28222 (pow_test): Likewise.
28223 (scalbn_test): Likewise.
28224 (scalbln_test): Likewise.
28225 (tan_test): Likewise.
28226 (y1_test): Likewise.
28227 * sysdeps/i386/fpu/libm-test-ulps: Update.
28228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28230 2012-05-23 David S. Miller <davem@davemloft.net>
28232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28233 (__libc_sigaction): Remove unused local variables.
28235 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28237 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28239 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28241 mktime: avoid signed integer overflow
28242 * time/mktime.c (__mktime_internal): Do not mishandle the case
28243 where diff == INT_MIN.
28245 mktime: simplify computation of average
28246 * time/mktime.c (ranged_convert): Use new time_t_avg function
28247 instead of rolling our own (probably-slower) code.
28249 mktime: do not assume signed right shift propagates sign bit
28250 * time/mktime.c (isdst_differ): New static function.
28251 (__mktime_internal): No need to normalize tm_isdst now.
28252 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28255 mktime: merge another wrapv change from gnulib
28256 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28257 from some compilers.
28259 mktime: remove incorrect attempt at unusual arithmetics
28260 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28261 The code didn't really work on such machines anyway.
28262 (TYPE_MINIMUM): Assume two's complement.
28263 (twos_complement_arithmetic): Verify that long_int and time_t
28264 are two's complement (or unsigned, in the latter case).
28266 mktime: check signed shifts on long_int and time_t, too
28267 * time/mktime.c (SHR): Check that shifts work as desired
28268 on the types long_int and time_t too, as SHR is used on
28271 mktime: do not assume 'long' is wide enough
28272 * time/mktime.c (verify): Move decl up.
28273 (long_int): New type.
28274 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28275 to remove assumption in the code that 'long' is wide enough to
28276 store year values. This assumption is not true on x32 and on
28277 some non-glibc platforms.
28279 mktime: merge wrapv change from gnulib
28280 * time/mktime.c (WRAPV): New macro.
28281 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28282 (guess_time_tm, __mktime_internal): Do not assume that signed
28283 integer overflow wraps around; modern compilers generate code
28284 where this assumption is no longer valid.
28286 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28288 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28289 Replace "jmp L(pseudo_end)" with "ret".
28290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28293 2012-05-23 Andreas Jaeger <aj@suse.de>
28295 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28296 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28298 2012-05-23 Andreas Jaeger <aj@suse.de>
28299 Maximilian Attems <max@stro.at>
28301 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28304 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28307 code so that pseudo_end is just ret and the stack pointer is
28308 correct also for static library in error case.
28310 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28313 move to syscalls.list.
28314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28319 * manual/install.texi (Running make install): Do not mention Linux
28320 kernel version for which pt_chown is not needed.
28321 (Linux): Do not mention problems with nscd with 2.0 kernels.
28322 * INSTALL: Regenerated.
28324 2012-05-23 Andreas Jaeger <aj@suse.de>
28326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28327 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28329 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28331 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28333 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28335 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28337 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28339 * sysdeps/unix/sysv/linux/bits/in.h
28340 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28342 2012-05-22 Roland McGrath <roland@hack.frob.com>
28344 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28345 (PREPARE_VERSION): Just use assert instead, it will be elided
28346 under [NDEBUG] anyway.
28348 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28350 * sysdeps/unix/sysv/linux/Makefile: Include
28351 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28352 (sysdep_routines): Remove sysctl.
28353 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28354 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28355 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28356 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28357 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28359 2012-05-22 Andreas Jaeger <aj@suse.de>
28361 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28362 that pseudo_end is just ret and the stack pointer is correct also
28363 for static library in error case.
28365 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28368 * nss/nsswitch.c (defconfig_entries): New variable.
28369 (__nss_database_lookup): Don't leak defconfig entries.
28370 (nss_parse_service_list): Don't leak on error paths.
28371 (free_database_entries): New function.
28372 (free_defconfig): New function.
28373 (free_mem): Move common code to free_database_entries.
28375 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28377 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28379 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28381 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28382 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28385 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28386 (INTERNAL_SYSCALL_TYPES): Likewise.
28387 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28388 (LOAD_REGS_TYPES_[1-6]): Likewise.
28389 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28390 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28392 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28394 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28395 copysignl for GLIBC_2_0.
28396 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28397 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28399 logbl for GLIBC_2_0.
28400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28401 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28403 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28406 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28408 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28411 * time/mktime.c: Update copyright years.
28413 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28415 mktime: merge comment-quoting-style change from gnulib
28416 * time/mktime.c: Quote 'like this' in comments.
28417 The GNU coding standards suggest that we no longer quote `like this',
28418 as "`" and "'" are typically rendered asymmetrically nowadays.
28419 The typical gnulib style is to quote 'like this' when quoting
28420 code, and "like this" when quoting English.
28422 * time/mktime.c (compile-command): Add "-I.".
28424 mktime: merge mktime-internal.h change from gnulib
28425 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28427 mktime: merge time_r change from gnulib
28428 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28430 mktime: merge DEBUG change from gnulib
28431 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28432 case system <time.h> has a #define.
28434 mktime: merge <sys/types.h> change from gnulib
28435 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28436 since <time.t> is now guaranteed to define time_t.
28438 mktime: merge HAVE_CONFIG_H change from gnulib
28439 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28441 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28446 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28448 (struct rusage): Use anonymous union to pad each field to
28451 2012-05-21 David S. Miller <davem@davemloft.net>
28453 * Makefules (o-iterator): Remove .s cases.
28454 (compile-command.s): Delete.
28455 (COMPILE.s): Delete.
28456 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28458 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28460 * configure.in (libc_cv_predef_stack_protector): Only consider
28461 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28462 * configure: Regenerated.
28464 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28467 New macro. Use R*LP on int and pointer.
28468 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28469 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28470 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28471 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28473 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28474 [__WORDSIZE_TIME64_COMPAT32] instead of
28475 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28476 (struct utmp): Likewise.
28477 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28478 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28480 (__WORDSIZE_TIME64_COMPAT32): This.
28481 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28482 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28483 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28484 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28485 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28486 (__WORDSIZE_TIME64_COMPAT32): New macro.
28488 2012-05-21 Andreas Jaeger <aj@suse.de>
28490 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28491 only if [SHARED]. Add prototype for __wcschr_ia32.
28493 2012-05-21 Roland McGrath <roland@hack.frob.com>
28495 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28496 of %rbp unmolested in the jmp_buf while mangling the low bits.
28497 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28498 unmolested high bits of %rbp while demangling the low bits.
28499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28501 2012-05-21 Andreas Jaeger <aj@suse.de>
28503 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28504 * sunrpc/svc_simple.c: Use it for registerrpc.
28505 * sunrpc/xcrypt.c: Use it for passwd2des.
28507 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28509 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28511 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28512 Don't define if [__SYSCALL_WORDSIZE != 32].
28513 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28516 2012-05-21 Bruno Haible <bruno@clisp.org>
28517 Andreas Jaeger <aj@suse.de>
28519 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28520 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28521 inptr and inend for must_buffer_ch.
28522 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28523 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28524 * stdio-common/Makefile (tests): Remove bug15.
28525 (bug15-ENV): Remove macro.
28526 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28529 2012-05-19 Andreas Jaeger <aj@suse.de>
28530 Roland McGrath <roland@hack.frob.com>
28532 * manual/contrib.texi: Completely rewritten. It contains now an
28533 alphabetical list of contributors and their contributions.
28535 2012-05-21 Richard Henderson <rth@twiddle.net>
28537 * misc/getauxval.c (__getauxval): Use unsigned long int.
28538 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28539 (getauxval): Use unsigned long int.
28541 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28545 2012-05-21 Roland McGrath <roland@hack.frob.com>
28547 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28548 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28549 __alignof__ (long double).
28551 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28555 2012-05-20 Richard Henderson <rth@twiddle.net>
28557 * misc/getauxval.c: New file.
28558 * misc/sys/auxv.h: New file.
28559 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28560 (routines): Add getauxval.
28561 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28562 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28563 * elf/dl-sysdep.c (_dl_auxv): Remove.
28564 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28565 * elf/dl-support.c (_dl_auxv): New variable.
28566 (_dl_aux_init): Initialize it.
28567 * manual/startup.texi (Auxiliary Vector): New node.
28568 * sysdeps/generic/bits/hwcap.h: New file.
28569 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28570 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28571 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28572 * sysdeps/sparc/sysdep.h: ... here. Include it.
28573 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28574 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28586 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28590 2012-05-19 David S. Miller <davem@davemloft.net>
28592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28594 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28597 * math/s_ccosh.c: Include <float.h>
28598 (__ccosh): Avoid internal overflow calculating sinh and cosh
28599 values before multiplying by sin and cos values.
28600 * math/s_ccoshf.c: Likewise.
28601 * math/s_ccoshl.c: Likewise.
28602 * math/s_csin.c: Likewise.
28603 * math/s_csinf.c: Likewise.
28604 * math/s_csinl.c: Likewise.
28605 * math/s_csinh.c: Likewise.
28606 * math/s_csinhf.c: Likewise.
28607 * math/s_csinhl.c: Likewise.
28608 * math/libm-test.inc (ccos_test): Add more tests.
28609 (ccosh_test): Likewise.
28610 (csin_test): Likewise.
28611 (csinh_test): Likewise.
28612 * sysdeps/i386/fpu/libm-test-ulps: Update.
28613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28615 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28617 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28618 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28620 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28622 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28624 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28625 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28626 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28627 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28628 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28629 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28630 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28631 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28632 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28633 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28634 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28635 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28636 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28637 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28638 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28639 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28640 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28641 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28642 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28643 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28644 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28645 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28646 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28647 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28648 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28649 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28650 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28651 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28652 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28653 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28654 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28656 2012-05-18 Andreas Jaeger <aj@suse.de>
28658 * csu/.gitignore: Delete.
28660 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28662 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28663 (timex): Use __syscall_slong_t.
28665 2012-05-18 Andreas Jaeger <aj@suse.de>
28666 Carlos O'Donell <carlos_odonell@mentor.com>
28668 * manual/install.texi (Configuring and compiling): Update
28669 description about files modified in the source directory.
28670 * INSTALL: Regenerated.
28672 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28674 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28675 value. Use "or" to set return value to -1.
28676 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28677 negate return value.
28679 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28681 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28682 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28683 failure if the compiler has Graphite support disabled.
28684 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28686 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28687 (CFLAGS-memmove.c): Likewise.
28688 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28691 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28693 * sysdeps/x86_64/x32/_itoa.h: New file.
28695 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28696 getdents system call only if kernel and user dirents have the
28697 same d_ino and d_off.
28699 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28700 LLONG_MAX != LONG_MAX.
28701 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28702 (_fitoa_word): Likewise.
28704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28706 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28707 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28710 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28711 include <bits/wordsize.h>. Check __x86_64__ instead of
28713 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28714 if __x86_64__ is defined. Use anonymous union on fpstate.
28716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28719 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28721 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28722 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28723 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28724 Refer to _rtld_local_ro instead of _rtld_global_ro.
28725 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28727 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28729 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28731 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28732 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28733 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28735 * sysdeps/powerpc/powerpc32/dl-machine.c
28736 (__elf_machine_runtime_setup) [PROF]: Don't reference
28739 2012-05-18 Andreas Jaeger <aj@suse.de>
28741 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28742 function only available for GCCs before 3.4 since GCC 3.4
28743 introduced a builtin.
28745 (llrintf): Likewise.
28746 (llrint): Likewise.
28753 (nearbyint): Likewise.
28754 (nearbyintf): Likewise.
28758 (floorf): Likewise.
28760 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28762 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28763 on both fields and cast pointer to __syscall_ulong_t.
28765 * bits/types.h (__fsword_t): New type.
28766 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28767 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28769 (__FSWORD_T_TYPE): Likewise.
28770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28771 (__FSWORD_T_TYPE): Likewise.
28772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28773 (__FSWORD_T_TYPE): Likewise.
28774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28775 (__FSWORD_T_TYPE): Likewise.
28776 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28777 __SWORD_TYPE with __fsword_t.
28778 (statfs64): Likewise.
28780 2012-05-17 David S. Miller <davem@davemloft.net>
28782 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28784 2012-05-17 Andreas Jaeger <aj@suse.de>
28786 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28789 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28791 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28793 2012-05-17 Andreas Jaeger <aj@suse.de>
28795 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28798 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28800 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28802 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28804 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28805 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28807 2012-05-17 Andreas Jaeger <aj@suse.de>
28808 Carlos O'Donell <carlos_odonell@mentor.com>
28811 * sysdeps/x86_64/multiarch/init-arch.h
28812 (bit_YMM_Usable): Rename to...
28813 (bit_AVX_Usable): ... this.
28814 (bit_FMA4_Usable): New macro.
28815 (bit_XMM_state): New macro.
28816 (bit_YMM_state): New macro.
28817 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28818 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28819 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28820 (CPUID_OSXSAVE): New macro.
28821 (CPUID_AVX): New macro.
28822 (CPUID_FMA4): New macro.
28823 (index_YMM_Usable): Rename to...
28824 (index_AVX_Usable): ... this.
28825 (HAS_AVX): Use HAS_ARCH_FEATURE.
28826 (HAS_FMA4): Likewise.
28827 (HAS_YMM_USABLE): Remove.
28828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28829 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28831 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28832 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28833 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28834 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28835 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28837 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28839 * math/libm-test.c: Support platforms without multiple rounding modes.
28840 * math/bug-nextafter.c: Support platforms without FP exceptions.
28841 * math/bug-nexttoward.c: Likewise.
28842 * math/test-fenv.c: Likewise.
28843 * math/test-misc.c: Likewise.
28844 * stdlib/bug-getcontext.c: Likewise.
28846 2012-05-17 Andreas Jaeger <aj@suse.de>
28848 * manual/examples/search.c (critter_cmp): Change signature to
28850 * manual/string.texi (Collation Functions): Likewise.
28852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28854 * bits/types.h: Fold copyright years.
28855 * bits/typesizes.h: Likewise.
28856 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28859 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28860 * time/time.h: Likewise.
28862 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28865 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28866 in instead of returning them. Return void.
28867 (__libc_mallinfo): Accumulate over all arenas.
28868 (__malloc_stats): Adjust for change in int_mallinfo interface.
28870 2012-05-16 Roland McGrath <roland@hack.frob.com>
28873 * configure.in (NM): Add AC_CHECK_TOOL for it.
28874 (libc_extra_cflags): New substituted variable.
28875 Check for -fstack-protector being used implicitly.
28876 * configure: Regenerated.
28877 * config.make.in (config-extra-cflags): New variable,
28878 gets @libc_extra_cflags@.
28879 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28882 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28883 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28884 * configure: Regenerated.
28885 * config.make.in (CPPUNDEFS): New substituted variable.
28886 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28887 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28888 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28890 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28892 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28893 (mq_attr): Use __syscall_slong_t.
28895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28897 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28898 Check __x86_64__ instead of __WORDSIZE.
28899 (_STAT_VER_LINUX): Likewise.
28900 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28901 __syscall_ulong_t and __syscall_slong_t.
28902 (stat64): Likewise.
28904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28910 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28914 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28917 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28918 include <bits/wordsize.h>. Check __x86_64__ instead of
28920 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28922 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28925 include <bits/wordsize.h>. Check __x86_64__ instead of
28927 (user_regs_struct): Use "__extension__ unsigned long long"
28928 instead of "unsigned long" if __x86_64__ is defined.
28929 (user): Likewise. Pad after pointer field if __ILP32__ is
28932 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28934 * configure.in (makeinfo): Require version 4.5 or later. Allow
28936 * configure: Regenerated.
28937 * manual/install.texi (texinfo): Increase version requirement to
28939 * INSTALL: Regenerated.
28941 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28945 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28947 * sysdeps/x86_64/x32/ffs.c: New file.
28949 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28951 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28952 defined. Use __syscall_ulong_t.
28953 (shminfo): Use __syscall_ulong_t.
28954 (shm_info): Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28959 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28961 (msgqnum_t): Use __syscall_ulong_t.
28962 (msglen_t): Likewise.
28963 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28966 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28967 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28969 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28971 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28972 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28974 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28978 include <bits/wordsize.h>. Check __x86_64__ instead of
28981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28982 "unsigned long long int" if __x86_64__ is defined.
28983 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28986 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28987 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28989 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28991 (GET_PC): Cast to uintptr_t first.
28992 (GET_FRAME): Likewise.
28993 (GET_STACK): Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28996 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28997 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28998 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28999 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29000 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29001 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29002 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29003 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29004 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29005 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29007 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29009 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29010 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29011 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29016 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29017 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29018 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29019 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29020 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29021 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29022 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29023 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29025 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29027 * Makerules (+depfiles): Also collect depfiles from .oS in
29029 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29030 .oS, $(libnldbl-routines)).
29032 * Makerules (native-compile-mkdep-flags): Define.
29033 * sunrpc/Makefile (extra-objs): Add $(addprefix
29034 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29035 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29036 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29037 calling $(make-target-directory).
29039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29041 * bits/types.h (__snseconds_t): Removed.
29042 * time/time.h (struct timespec): Replace __snseconds_t with
29044 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29045 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29048 (__SNSECONDS_T_TYPE): Likewise.
29049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29050 (__SNSECONDS_T_TYPE): Likewise.
29051 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29052 (__SNSECONDS_T_TYPE): Likewise.
29054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/mach/hurd/bits/typesizes.h
29057 (__SYSCALL_SLONG_TYPE): New macro.
29058 (__SYSCALL_ULONG_TYPE): Likewise.
29060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29062 * bits/types.h (__syscall_slong_t): New type.
29063 (__syscall_ulong_t): Likewise.
29065 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29066 (__SYSCALL_ULONG_TYPE): Likewise.
29067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29068 (__SYSCALL_SLONG_TYPE): Likewise.
29069 (__SYSCALL_ULONG_TYPE): Likewise.
29070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29071 (__SYSCALL_SLONG_TYPE): Likewise.
29072 (__SYSCALL_ULONG_TYPE): Likewise.
29073 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29074 (__SYSCALL_SLONG_TYPE): Likewise.
29075 (__SYSCALL_ULONG_TYPE): Likewise.
29077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29079 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29080 Add sigaltstack-offsets.sym.
29081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29082 <sigaltstack-offsets.h>.
29083 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29084 longjmp_msg pointer.
29085 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29086 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29088 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29090 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29092 * elf/stackguard-macros.h: Remove file.
29093 * sysdeps/generic/stackguard-macros.h: New file.
29094 * sysdeps/i386/stackguard-macros.h: Likewise.
29095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29101 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29102 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29103 <elf/stackguard-macros.h>.
29106 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29107 __aligned__ in attribute.
29108 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29109 (gregset_t): Likewise.
29111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29113 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29114 * sysdeps/x86_64/64/Implies-after: Here. New file.
29115 * sysdeps/x86_64/x32/Implies-after: New file.
29117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29119 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29120 and access return value for _dl_profile_fixup. Use R10_LP to
29123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29125 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29129 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29130 * sysdeps/x86_64/x32/sysdep.h: New file.
29132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29134 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29135 * sysdeps/x86_64/setjmp.S: Likewise.
29137 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29139 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29140 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29141 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29143 remove unused global constant.
29145 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29147 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29148 include of <not-cancel.h>.
29150 2012-05-15 Roland McGrath <roland@hack.frob.com>
29152 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29154 2012-05-15 Jeff Law <law@redhat.com>
29155 Andreas Jaeger <aj@suse.de>
29158 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29160 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29161 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29162 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29163 code changing __hst_map_handle.map.
29165 2012-05-15 Roland McGrath <roland@hack.frob.com>
29167 * configure.in (sysnames): Look for Implies-before and Implies-after
29169 * configure: Regenerated.
29171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29173 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29174 8-byte data alignment with LP_SIZE alignment.
29176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29178 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29183 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29187 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29191 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29195 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29196 (stackinfo_sub_sp): Likewise.
29198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29215 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29219 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29220 into R11_LP and load __x86_64_shared_cache_size_half into
29223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29228 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29237 powerpc32/power7/fpu/s_logb.c via #include.
29238 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29239 powerpc32/power7/fpu/s_logbf.c via #include.
29240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29241 powerpc32/power7/fpu/s_logbl.c via #include.
29243 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29245 * README.libm: Remove file.
29247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29249 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29250 count for x32. Use R*_LP and omit operand-size suffix.
29252 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29254 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29255 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29256 * sysdeps/x86_64/x32/shlib-versions: New file.
29258 2012-05-14 Roland McGrath <roland@hack.frob.com>
29260 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29261 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29262 Use _dl_fatal_printf instead.
29264 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29266 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29267 set if not set by the user. Do not allow for being unset.
29268 * sysdeps/unix/sysv/linux/configure: Regenerated.
29270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29272 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29273 the `q' suffix from lea and replace .quad with ASM_ADDR.
29275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29278 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29280 (PTR_DEMANGLE): Likewise.
29282 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29284 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29286 (ASM_ADDR): Likewise.
29287 (RAX_LP): Likewise.
29288 (RBP_LP): Likewise.
29289 (RBX_LP): Likewise.
29290 (RCX_LP): Likewise.
29291 (RDI_LP): Likewise.
29292 (RSI_LP): Likewise.
29293 (RSP_LP): Likewise.
29296 (R10_LP): Likewise.
29297 (R10_LP): Likewise.
29298 (R11_LP): Likewise.
29299 (R12_LP): Likewise.
29300 (R13_LP): Likewise.
29301 (R14_LP): Likewise.
29302 (R15_LP): Likewise.
29304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29306 * sysdeps/x86_64/x32/dl-machine.h: New file.
29308 2012-05-14 Andreas Jaeger <aj@suse.de>
29310 * manual/Makefile (subdir): Remove export of subdir.
29311 (all): Remove target.
29312 (.PHONY): Remove all from list.
29313 (mkinstalldirs): Remove.
29314 (.PHONY): Remove installdirs from list.
29315 ($(inst_infodir)/libc.info): Use make-target-directory.
29316 (installdirs): Remove.
29317 (subdir_%): Remove.
29318 (glibc-targets): Remove.
29321 ($(objpfx)stubs ../po/manual.pot): Remove.
29322 ($(objpfx)stamp%): Remove.
29323 (make-target-directory): Remove.
29324 (subdir_install): Remove.
29325 (routines): Remove.
29332 * manual/.gitignore: Remove, it's not needed anymore.
29333 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29335 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29337 (texis): Renamed to $(objpfx)texis.
29338 (texis-path): New, contains path to generated files.
29339 (chapters.%): Use texis-path for complete path, add extra argument
29341 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29342 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29343 (summary,texi, stamp-summary): Use complete path of
29344 files. Generate files in build dir.
29345 (dir-add.texi): Build in build dir.
29346 (libm-err.texi,stamp-libm-err): Likewise.
29347 (version.texi, stamp-version): Likewise.
29348 (.%c.texi): Likewise.
29349 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29350 (mostlyclean): Remove target.
29351 (realclean): Remove target.
29352 (generated): Add new variable with contents from mostlyclean and
29353 realclean, remove entries duplicated in common-mostlyclean, add
29354 stamp-libm-err and stamp-version.
29355 (generated-dirs): Add libc directory.
29356 ($(inst_infodir)/libc.info): Install files from build dir.
29358 * manual/install.texi (Configuring and compiling): Adjust since
29359 the info files are not part of the tar ball anymore.
29361 2012-05-14 Andreas Jaeger <aj@suse.de>
29363 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29366 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29370 to 2.2.0 where earlier.
29371 * sysdeps/unix/sysv/linux/configure: Regenerated.
29372 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29373 Remove conditional code.
29374 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29376 Remove conditional code.
29377 [!__NR_lchown]: Likewise.
29378 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29379 [__NR_lchown]: Likewise.
29380 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29381 comment referencing __ASSUME_LCHOWN_SYSCALL.
29382 * sysdeps/unix/sysv/linux/i386/sigaction.c
29383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29386 Remove conditional code.
29387 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29388 (__protocol_available): Remove #if 0 code.
29389 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29391 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/kernel-features.h
29393 (__ASSUME_GETCWD_SYSCALL): Don't define.
29394 (__ASSUME_REALTIME_SIGNALS): Likewise.
29395 (__ASSUME_PREAD_SYSCALL): Likewise.
29396 (__ASSUME_PWRITE_SYSCALL): Likewise.
29397 (__ASSUME_POLL_SYSCALL): Likewise.
29398 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29399 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29401 (__ASSUME_SIOCGIFNAME): Don't define.
29402 (__ASSUME_MSG_NOSIGNAL): Likewise.
29403 (__ASSUME_SENDFILE): Define unconditionally.
29404 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29405 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29407 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29408 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29409 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29410 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29411 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29412 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29413 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29418 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29427 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29430 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29436 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29438 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29439 Remove conditional code.
29440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29441 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29442 Remove conditional code.
29443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29444 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29445 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29447 Remove conditional code.
29448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29449 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29450 Remove conditional code.
29451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29452 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29453 Remove conditional code.
29454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29455 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29456 Remove conditional code.
29457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29458 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29459 Remove conditional code.
29460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29461 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29462 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29463 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29464 * sysdeps/unix/sysv/linux/sigaction.c
29465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29467 * sysdeps/unix/sysv/linux/sigpending.c
29468 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29469 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29470 * sysdeps/unix/sysv/linux/sigprocmask.c
29471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29473 * sysdeps/unix/sysv/linux/sigsuspend.c
29474 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29475 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29476 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29477 (__libc_missing_rt_sigs): Remove.
29478 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29479 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29480 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29481 Remove conditional code.
29482 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29483 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29486 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29487 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29488 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29490 2012-05-14 Andreas Jaeger <aj@suse.de>
29492 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29493 it's not used in glibc.
29494 (__coshm1): Likewise.
29495 (__acosh1p): Likewise.
29498 * manual/string.texi (Copying and Concatenation): Add missing
29499 variable in concat example.
29500 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29506 __builtin_clzl with __builtin_clzll.
29508 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29511 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29514 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29516 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29517 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29518 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29519 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29521 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29523 * NEWS: Update ia64 info.
29525 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29527 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29530 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29532 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29533 * sysdeps/unix/syscalls.list (dup3): Likewise.
29534 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29535 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29537 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29539 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29540 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29542 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29544 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29546 (TLS_IE): Use mov/add instead of movq/addq to load thread
29548 (TLS_GD_PREFIX): New.
29551 2012-05-11 David S. Miller <davem@davemloft.net>
29553 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29554 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29555 (_FPU_SETCW): Likewise.
29557 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29559 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29560 is 32-byte aligned.
29562 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29565 * iconvdata/gb18030.c: Update tables.
29566 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29567 characters specially.
29568 (BODY for TO_LOOP): Add encoding of missing ranges.
29570 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29573 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29574 * sysdeps/mach/hurd/dup3.c: Likewise.
29575 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29576 * sysdeps/powerpc/memmove.c:: Likewise.
29578 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29581 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29583 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29585 * elf/elf.h (R_X86_64_RELATIVE64): New.
29586 (R_X86_64_NUM): Updated.
29587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29588 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29589 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29590 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29591 tst-quad1pie tst-quad2pie
29592 (modules-names): Add tst-quadmod1 tst-quadmod2.
29593 ($(objpfx)tst-quad1): New dependency.
29594 ($(objpfx)tst-quad2): Likewise.
29595 ($(objpfx)tst-quad1pie): Likewise.
29596 ($(objpfx)tst-quad2pie): Likewise.
29597 * sysdeps/x86_64/tst-quad1.c: New file.
29598 * sysdeps/x86_64/tst-quad1pie.c: New file.
29599 * sysdeps/x86_64/tst-quad2.c: Likewise.
29600 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29601 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29602 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29603 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29604 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29608 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29609 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29610 * streams/stropts.h (t_scalar_t): Define type.
29612 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29613 (_PATH_PRESERVE): Set to "/var/lib".
29614 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29616 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29619 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29620 if __dir_mkfile succeeded.
29622 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29623 checking for _hurd_dtablesize. Unlock it right after having
29624 finished _hurd_dtable allocation.
29626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29628 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29629 * sysdeps/mach/hurd/configure: Regenerated.
29630 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29631 special-casing to...
29632 * sysdeps/gnu/configure.in: ... this new file.
29633 * sysdeps/unix/sysv/linux/configure: Regenerated.
29634 * sysdeps/gnu/configure: New generated file.
29636 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29637 for Linux: use nsec instead of usec, as well as:
29638 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29639 members of type struct timespec.
29640 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29642 (struct stat64): Likewise.
29643 (_STATBUF_ST_NSEC): New macro.
29644 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29646 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29647 __strtoul_internal rather than strtoul.
29649 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29651 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29656 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29657 which preserves existing values.
29658 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29660 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29662 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29663 TIMEOUT values. Return EINVAL for NFDS values either negative or
29664 greater than FD_SETSIZE.
29666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29668 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29669 allocated, call __vm_protect to finish enabling the existing space, and
29670 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29671 allocate the remainder.
29673 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29675 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29676 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29680 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29681 sysdeps/mach/hurd/readlink.c.
29683 * posix/tst-sysconf.c (posix_options): Only use
29684 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29685 _POSIX_SYNCHRONIZED_IO when they are defined
29686 * sysdeps/mach/hurd/bits/posix_opt.h:
29687 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29688 (_XOPEN_REALTIME): Undefine macro.
29689 (_XOPEN_REALTIME_THREADS): Undefine macro.
29690 (_XOPEN_SHM): Undefine macro.
29691 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29693 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29695 (_POSIX_ASYNC_IO): Undefine macro.
29696 (_POSIX_PRIORITIZED_IO): Undefine macro.
29697 (_POSIX_SPIN_LOCKS): Define macro to -1.
29699 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29700 SA_NODEFER, SA_RESETHAND.
29701 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29702 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29707 * elf/Makefile (pldd-modules): Define unconditionally.
29709 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29711 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29715 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29716 Return ENOENT when name is empty.
29717 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29721 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29723 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29727 Fix mlock in all cases except non-readable pages.
29728 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29729 instead of VM_PROT_ALL as parameter to __vm_wire function.
29731 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29732 (__mkdir): When path is `/', just fail with EEXIST.
29733 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29735 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29737 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29738 <sys/uio.h> (for writev).
29739 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29740 and <sys/param.h> (for MIN).
29742 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29744 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29745 REQUESTED_TIME. Properly set the remaining time and return EINTR
29748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29750 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29751 Depend on against $(link-rpcuserlibs).
29753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29755 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29756 (__libc_stack_end): Do not use attribute_relro.
29757 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29758 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29759 to libthread-provided value.
29760 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29766 * bits/libc-lock.h (__libc_once_get): New macro.
29767 * sysdeps/mach/bits/libc-lock.h: Likewise.
29768 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29770 instead of using implementation details.
29772 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29773 * libio/freopen.c: Likewise.
29774 * libio/freopen64.c: Likewise.
29775 * misc/syslog.c: Likewise.
29776 * nscd/connections.c: Likewise.
29777 * nscd/netgroupcache.c: Likewise.
29778 * sysdeps/posix/getcwd.c: Likewise.
29780 2012-05-10 Roland McGrath <roland@hack.frob.com>
29782 * math/w_ilogbf.c: Add #include <limits.h>.
29784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29786 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29787 path instead of returning without unlocking.
29789 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29790 immediate-write ioctls.
29791 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29795 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29796 __builtin_frame_address instead of making assumptions about the
29797 location of the return address relative to DATA. Force early load of
29798 the return address.
29799 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29800 __builtin_frame_address.
29803 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29804 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29805 implement dup3 and do some further code clean-ups.
29806 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29807 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29811 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29813 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29814 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29815 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29816 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29817 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29820 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29821 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29822 when handler == SIG_ERR, not when handler != SIG_ERR.
29824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29826 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29827 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29830 accept4 for GNU Hurd.
29831 * include/sys/socket.h (__libc_accept4): New prototype.
29832 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29833 to implement __libc_accept4.
29834 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29836 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29838 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29839 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29840 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29841 signal-defines.sym.
29843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29845 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29849 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29850 assertion on O_CLOEXEC flag.
29851 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29852 * hurd/intern-fd.c: Likewise.
29853 * hurd/port2fd.c: Likewise.
29855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29858 * bits/in.h (IPV6_PKTINFO): Define new macro.
29859 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29861 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29866 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29868 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29871 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29872 * math/libm-test.inc (logb_test) : Additional logb tests.
29874 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29875 Andreas Jaeger <aj@suse.de>
29877 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29878 * configure: Regenerated.
29879 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29880 * config.make.in (link-obsolete-rpc): New substituted variable.
29881 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29882 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29883 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29884 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29885 so that libc.a contains the symbols.
29886 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29887 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29888 * sunrpc/auth_none.c: Likewise.
29889 * sunrpc/auth_unix.c: Likewise.
29890 * sunrpc/authdes_prot.c: Likewise.
29891 * sunrpc/authuxprot.c: Likewise.
29892 * sunrpc/clnt_gen.c: Likewise.
29893 * sunrpc/clnt_perr.c: Likewise.
29894 * sunrpc/clnt_raw.c: Likewise.
29895 * sunrpc/clnt_simp.c: Likewise.
29896 * sunrpc/clnt_tcp.c: Likewise.
29897 * sunrpc/clnt_udp.c: Likewise.
29898 * sunrpc/clnt_unix.c: Likewise.
29899 * sunrpc/des_crypt.c: Likewise.
29900 * sunrpc/des_soft.c: Likewise.
29901 * sunrpc/get_myaddr.c: Likewise.
29902 * sunrpc/key_call.c: Likewise.
29903 * sunrpc/key_prot.c: Likewise.
29904 * sunrpc/netname.c: Likewise.
29905 * sunrpc/pm_getmaps.c: Likewise.
29906 * sunrpc/pm_getport.c: Likewise.
29907 * sunrpc/pmap_clnt.c: Likewise.
29908 * sunrpc/pmap_prot.c: Likewise.
29909 * sunrpc/pmap_prot2.c: Likewise.
29910 * sunrpc/pmap_rmt.c: Likewise.
29911 * sunrpc/publickey.c: Likewise.
29912 * sunrpc/rpc_cmsg.c: Likewise.
29913 * sunrpc/rpc_common.c: Likewise.
29914 * sunrpc/rpc_dtable.c: Likewise.
29915 * sunrpc/rpc_prot.c: Likewise.
29916 * sunrpc/rpc_thread.c: Likewise.
29917 * sunrpc/rtime.c: Likewise.
29918 * sunrpc/svc.c: Likewise.
29919 * sunrpc/svc_auth.c: Likewise.
29920 * sunrpc/svc_raw.c: Likewise.
29921 * sunrpc/svc_run.c: Likewise.
29922 * sunrpc/svc_tcp.c: Likewise.
29923 * sunrpc/svc_udp.c: Likewise.
29924 * sunrpc/svc_unix.c: Likewise.
29925 * sunrpc/svcauth_des.c: Likewise.
29926 * sunrpc/xcrypt.c: Likewise.
29927 * sunrpc/xdr.c: Likewise.
29928 * sunrpc/xdr_array.c: Likewise.
29929 * sunrpc/xdr_float.c: Likewise.
29930 * sunrpc/xdr_intXX_t.c: Likewise.
29931 * sunrpc/xdr_mem.c: Likewise.
29932 * sunrpc/xdr_rec.c: Likewise.
29933 * sunrpc/xdr_ref.c: Likewise.
29934 * sunrpc/xdr_sizeof.c: Likewise.
29935 * sunrpc/xdr_stdio.c: Likewise.
29937 2012-05-10 Roland McGrath <roland@hack.frob.com>
29939 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29940 change. Update copyright years.
29942 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29944 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29946 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29947 Joseph Myers <joseph@codesourcery.com>
29948 Paul Pluzhnikov <ppluzhnikov@google.com>
29951 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29953 [cross-compiling] (extra-libs): Likewise.
29954 [cross-compiling] (extra-libs-others): Likewise.
29955 [cross-compiling] (librpcsvc-routines): Likewise.
29956 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29957 [cross-compiling] (omit-deps): Likewise.
29958 (sunrpc-CPPFLAGS): New variable.
29959 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29960 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29961 (cross-rpcgen-objs): New variable.
29962 (extra-objs): Append $(cross-rpcgen-objs).
29963 ($(cross-rpcgen-objs)): New rule.
29964 ($(objpfx)cross-rpcgen): Likewise.
29965 (rpcgen-cmd): Define to use $(built-program-file). Expand
29967 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29968 ($(objpfx)x%.stmp): Likewise.
29969 * sunrpc/proto.h [IS_IN_build] (_): Define.
29970 [IS_IN_build] (_libc_intl_domainname): Likewise.
29972 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29975 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29976 and R_X86_64_TPOFF64.
29978 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29980 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29981 sysdeps/unix/sysv/syscalls.list.
29984 * sysdeps/unix/sysv/syscalls.list: Remove file.
29986 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29989 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29990 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29991 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29992 (__LC_IDENTIFICATION): Make these macros useful in #if
29993 expressions, as required by C99.
29995 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29997 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29998 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30001 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30003 * stdlib/longlong.h: Updated from GCC.
30005 2012-05-09 Andreas Jaeger <aj@suse.de>
30007 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30008 default is first entry.
30009 (run_mode): Set type.
30010 (main): Remove informal message about syslog.
30011 (options): Fix typo.
30014 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30017 (llrintf): Likewise.
30018 (llrint): Likewise.
30021 (nearbyint): Likewise.
30022 (nearbyintf): Likewise.
30024 2012-05-09 Andreas Jaeger <aj@suse.de>
30025 Pedro Alves <palves@redhat.com>
30027 * nscd/nscd.c (run_mode): Use enum.
30028 (main): Cleanup coding style issue.
30030 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30031 Andreas Jaeger <aj@suse.de>
30033 * nscd/nscd.c (go_background): Replaced with...
30034 (run_mode): ... this.
30035 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30036 (options): Add -F --foreground.
30037 (main): Implement it.
30038 (parse_opt): Parse it.
30040 2012-05-09 Andreas Jaeger <aj@suse.de>
30043 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30044 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30045 -Wconversion warning.
30046 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30049 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30051 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30053 (LC_ALL): Use macro-int-constant.
30054 (LC_COLLATE): Likewise.
30055 (LC_CTYPE): Likewise.
30056 (LC_MESSAGES): Likewise.
30057 (LC_MONETARY): Likewise.
30058 (LC_NUMERIC): Likewise.
30059 (LC_TIME): Likewise.
30060 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30061 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30063 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30065 [C99-based standards] (float_t): Expect type.
30066 [C99-based standards] (double_t): Expect type.
30067 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30069 [C99-based standards] (HUGE_VALL): Likewise.
30070 [C99-based standards] (INFINITY): Likewise.
30071 [C99-based standards] (NAN): Likewise.
30072 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30073 [C99-based standards] (FP_NAN): Likewise.
30074 [C99-based standards] (FP_NORMAL): Likewise.
30075 [C99-based standards] (FP_SUBNORMAL): Likewise.
30076 [C99-based standards] (FP_ZERO): Likewise.
30077 [C99-based standards] (FP_FAST_FMA): Use
30078 optional-macro-int-constant. Specify type. Require == 1.
30079 [C99-based standards] (FP_FAST_FMAF): Likewise.
30080 [C99-based standards] (FP_FAST_FMAL): Likewise.
30081 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30082 [C99-based standards] (FP_ILOGBNAN): Likewise.
30083 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30085 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30086 [C99-based standards] (math_errhandling): Specify type.
30087 [ISO99 || ISO11] (signgam): Do not allow.
30088 [non-C99-based standards] (copysignf): Do not allow.
30089 [non-C99-based standards] (exp2f): Likewise.
30090 [non-C99-based standards] (log2f): Likewise.
30091 [non-C99-based standards] (modff): Allow.
30092 [non-C99-based standards] (erff): Do not allow.
30093 [non-C99-based standards] (erfcf): Likewise.
30094 [non-C99-based standards] (gammaf): Likewise.
30095 [non-C99-based standards] (hypotf): Likewise.
30096 [non-C99-based standards] (j0f): Likewise.
30097 [non-C99-based standards] (j1f): Likewise.
30098 [non-C99-based standards] (jnf): Likewise.
30099 [non-C99-based standards] (lgammaf): Likewise.
30100 [non-C99-based standards] (tgammaf): Likewise.
30101 [non-C99-based standards] (y0f): Likewise.
30102 [non-C99-based standards] (y1f): Likewise.
30103 [non-C99-based standards] (ynf): Likewise.
30104 [non-C99-based standards] (isnanf): Likewise.
30105 [non-C99-based standards] (acoshf): Likewise.
30106 [non-C99-based standards] (asinhf): Likewise.
30107 [non-C99-based standards] (atanhf): Likewise.
30108 [non-C99-based standards] (cbrtf): Likewise.
30109 [non-C99-based standards] (expm1f): Likewise.
30110 [non-C99-based standards] (ilogbf): Likewise.
30111 [non-C99-based standards] (log1pf): Likewise.
30112 [non-C99-based standards] (logbf): Likewise.
30113 [non-C99-based standards] (nextafterf): Likewise.
30114 [non-C99-based standards] (remainderf): Likewise.
30115 [non-C99-based standards] (rintf): Likewise.
30116 [non-C99-based standards] (scalbf): Likewise.
30117 [non-C99-based standards] (copysignl): Likewise.
30118 [non-C99-based standards] (exp2l): Likewise.
30119 [non-C99-based standards] (log2l): Likewise.
30120 [non-C99-based standards] (modfl): Allow.
30121 [non-C99-based standards] (erfl): Do not allow.
30122 [non-C99-based standards] (erfcl): Likewise.
30123 [non-C99-based standards] (gammal): Likewise.
30124 [non-C99-based standards] (hypotl): Likewise.
30125 [non-C99-based standards] (j0l): Likewise.
30126 [non-C99-based standards] (j1l): Likewise.
30127 [non-C99-based standards] (jnl): Likewise.
30128 [non-C99-based standards] (lgammal): Likewise.
30129 [non-C99-based standards] (tgammal): Likewise.
30130 [non-C99-based standards] (y0l): Likewise.
30131 [non-C99-based standards] (y1l): Likewise.
30132 [non-C99-based standards] (ynl): Likewise.
30133 [non-C99-based standards] (isnanl): Likewise.
30134 [non-C99-based standards] (acoshl): Likewise.
30135 [non-C99-based standards] (asinhl): Likewise.
30136 [non-C99-based standards] (atanhl): Likewise.
30137 [non-C99-based standards] (cbrtl): Likewise.
30138 [non-C99-based standards] (expm1l): Likewise.
30139 [non-C99-based standards] (ilogbl): Likewise.
30140 [non-C99-based standards] (log1pl): Likewise.
30141 [non-C99-based standards] (logbl): Likewise.
30142 [non-C99-based standards] (nextafterl): Likewise.
30143 [non-C99-based standards] (remainderl): Likewise.
30144 [non-C99-based standards] (rintl): Likewise.
30145 [non-C99-based standards] (scalbl): Likewise.
30146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30147 [non-C99-based standards] (FP_*): Do not allow.
30148 [C99-based standards] (FP_*): Change to
30149 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30150 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30152 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30153 (SIG_ERR): Likewise.
30154 [X/Open-based standards] (SIG_HOLD): Likewise.
30155 (SIG_IGN): Likewise.
30156 (SIGABRT): Use macro-int-constant. Specify type. Require
30158 (SIGFPE): Likewise.
30159 (SIGILL): Likewise.
30160 (SIGINT): Likewise.
30161 (SIGSEGV): Likewise.
30162 (SIGTER): Likewise.
30163 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30164 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30165 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30166 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30167 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30168 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30169 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30170 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30171 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30172 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30173 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30174 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30175 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30176 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30177 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30178 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30179 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30180 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30181 [X/Open-based standards] (SIGTRAP): Likewise.
30182 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30183 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30184 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30185 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30186 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30189 2012-05-08 Ian Wienand <ianw@vmware.com>
30192 * time/tzset.c (__tzset_parse_tz): Update default rules for
30193 daylight time changes in the Energy Policy Act of 2005.
30195 2012-05-09 Andreas Jaeger <aj@suse.de>
30198 * elf/ldconfig.c (parse_conf): Change string to make clear that
30199 ldconfig only issued a warning if ld.so.conf does not exist.
30201 2012-05-08 David S. Miller <davem@davemloft.net>
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30204 movxtod instead of popping the value on the stack.
30206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30208 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30210 * config.h.in: Add HAVE_ARM_PCS_VFP.
30212 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30215 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30216 checking but the checks are disabled for any reason.
30218 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30220 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30221 and ELF64_R_TYPE with ELFW(R_TYPE).
30223 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30225 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30226 (ulimit): Likewise.
30228 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30229 (settimeofday): Likewise.
30231 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30233 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30234 a struct th_u2 inside the union, and move tu_block/tu_code into
30235 a new th_u3 union of tu_block/tu_code inside of that. Move
30236 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30237 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30238 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30239 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30240 (th_stuff): Change to th_u1.tu_stuff.
30242 (th_msg): Change to th_u1.th_u2.tu_data.
30244 2012-05-07 David S. Miller <davem@davemloft.net>
30246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30249 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30250 (SETUP_PIC_REG): Use it.
30251 (SETUP_PIC_REG_LEAF): Use it.
30253 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30257 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30259 (EXPL_FINITE): Likewise.
30260 (FLDLOG): Likewise.
30261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30262 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30266 (EXPL_FINITE): Likewise.
30267 (FLDLOG): Likewise.
30268 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30269 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30271 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30272 test of -max_value argument for long double.
30273 * sysdeps/i386/fpu/libm-test-ulps: Update.
30274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30276 2012-05-06 David S. Miller <davem@davemloft.net>
30278 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30279 quad soft-float symbols whose references which are compiler
30281 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30283 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30287 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30289 (EXPL_FINITE): Likewise.
30290 (FLDLOG): Likewise.
30293 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30294 Adjust comments for base varying.
30295 (__expl_finite): Change alias to EXPL_FINITE.
30296 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30298 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30299 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30301 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30304 (EXPL_FINITE): Likewise.
30305 (FLDLOG): Likewise.
30308 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30309 Adjust comments for base varying.
30310 (__expl_finite): Change alias to EXPL_FINITE.
30311 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30316 * math/libm-test.inc (check_float_internal): Correct ulp
30317 calculation for subnormal expected results.
30319 2012-05-06 Andreas Jaeger <aj@suse.de>
30321 * Makeconfig (+math-flags): New, set to -frounding-math.
30322 (+cflags): Add +math-flags so that all of glibc gets compiled with
30325 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30327 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30329 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30335 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30336 (__ieee754_expl): Allow for and saturate large arguments.
30337 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30338 (u_threshold): Likewise.
30339 (__exp): Call __ieee754_exp before checking for overflow and
30341 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30342 (u_threshold): Likewise.
30343 (__expf): Call __ieee754_expf before checking for overflow and
30345 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30346 (u_threshold): Likewise.
30347 (__expl): Call __ieee754_expl before checking for overflow and
30349 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30350 (__ieee754_expl): Allow for and saturate large arguments.
30351 * math/libm-test.inc (exp_test): Add another test. Do not allow
30352 missing overflow exception on overflow.
30353 (expm1_test): Do not allow missing overflow exception on overflow.
30355 * sysdeps/i386/fpu/e_expl.c: Move to ...
30356 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30357 rather than using inline asm.
30358 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30359 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30360 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30362 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30365 (signal): Likewise.
30369 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30372 sysdeps/unix/common/syscalls.list.
30373 (fchmod): Likewise.
30374 (fchown): Likewise.
30375 (ftruncate): Likewise.
30376 (getrusage): Likewise.
30377 (gettimeofday): Likewise.
30378 (setpgid): Likewise.
30379 (setregid): Likewise.
30380 (setreuid): Likewise.
30381 (sigaction): Likewise.
30382 (truncate): Likewise.
30383 (vhangup): Likewise.
30384 * sysdeps/unix/common/syscalls.list: Remove file.
30385 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30386 * sysdeps/unix/sysv/linux/Implies: Likewise.
30388 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30390 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30392 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30396 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30399 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30402 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30405 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30408 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30411 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30414 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30418 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30422 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30425 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30429 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30433 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30435 * sysdeps/unix/common/bits/dirent.h: Remove file.
30436 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30438 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30439 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30440 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30441 * sysdeps/unix/bsd/isatty.c: Likewise.
30442 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30443 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30444 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30446 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30450 long double comparison inaccuracies.
30451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30454 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30456 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30457 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30459 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30463 nonzero digits before rounding a hex value.
30464 * stdlib/tst-strtod.c (tests): Add another test.
30466 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30468 * sysdeps/s390/fpu/libm-test-ulps: Update.
30470 2012-05-03 Andreas Jaeger <aj@suse.de>
30472 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30473 does not get optimized out.
30474 (malloc_opt_barrier): New.
30476 2012-05-03 Andreas Jaeger <aj@suse.de>
30477 Roland McGrath <roland@hack.frob.com>
30479 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30480 intermediate file deletion.
30481 (generated): Add .symlist files.
30483 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30486 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30487 Redirect under this condition.
30488 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30489 [__USE_GNU] (__dprintf_chk): Not under this condition.
30490 [__USE_GNU] (__vdprintf_chk): Likewise.
30491 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30492 under this condition.
30493 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30494 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30495 [__USE_XOPEN2K8] (vdprintf): Likewise.
30496 [__USE_GNU] (__dprintf_chk): Not under this condition.
30497 [__USE_GNU] (__vdprintf_chk): Likewise.
30498 [__USE_GNU] (dprintf): Likewise.
30499 [__USE_GNU] (vdprintf): Likewise.
30501 2012-05-03 Roland McGrath <roland@hack.frob.com>
30503 * elf/Makefile (common-generated): Set this instead of generated for
30504 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30505 $(all-built-dso)-derived lists.
30507 2012-05-03 Andreas Jaeger <aj@suse.de>
30509 * sysdeps/i386/fpu/libm-test-ulps: Update.
30512 * FAQ.in: Likewise.
30513 * scripts/gen-FAQ.pl: Likewise.
30514 * manual/install.texi (Installation): Point to online location of
30516 * Makefile (files-for-dist): Remove FAQ.
30519 2012-05-02 Allan McRae <allan@archlinux.org>
30521 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30522 (LDFLAGS-reldepmod5.so): Likewise.
30523 (LDFLAGS-reldep6mod1.so): Likewise.
30524 (LDFLAGS-reldep6mod4.so): Likewise.
30525 (LDFLAGS-reldep8mod3.so): Likewise.
30526 (LDFLAGS-unload4mod1.so): Likewise.
30527 (LDFLAGS-unload4mod2.so): Likewise.
30528 (LDFLAGS-tst-initorder): Likewise.
30529 (LDFLAGS-tst-initordera2.so): Likewise.
30530 (LDFLAGS-tst-initordera3.so): Likewise.
30531 (LDFLAGS-tst-initordera4.so): Likewise.
30532 (LDFLAGS-tst-initorderb2.so): Likewise.
30533 (LDFLAGS-noload): Likewise.
30534 (LDFLAGS-next): Likewise.
30535 (LDFLAGS-order2mod1.so): Likewise.
30536 (LDFLAGS-order2mod2.so): Likewise.
30537 (LDFLAGS-tst-initorder2): Likewise.
30538 (LDFLAGS-tst-initorder2a.so): Likewise.
30539 (LDFLAGS-tst-initorder2b.so): Likewise.
30540 (LDFLAGS-tst-initorder2c.so): Likewise.
30541 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30543 2012-05-02 David S. Miller <davem@davemloft.net>
30545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30547 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30550 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30552 2012-05-02 Andreas Jaeger <aj@suse.de>
30554 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30555 since we manipulate rounding mode.
30556 (CPPFLAGS-test-idouble.c): Likewise.
30557 (CPPFLAGS-test-ifloat.c): Likewise.
30558 (CFLAGS-test-ldouble.c): Likewise.
30559 (CFLAGS-test-double.c): Likewise.
30560 (CFLAGS-test-float.c): Likewise.
30561 (CFLAGS-test-misc.c): Likewise.
30562 (CFLAGS-test-test-fenv.c): Likewise.
30564 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30568 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30569 comparisons to determine direction to adjust input.
30571 2012-05-01 Roland McGrath <roland@hack.frob.com>
30573 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30574 output to the target.
30576 * scripts/localplt.awk: New file.
30577 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30578 (check-localplt-CFLAGS): Variable removed.
30579 ($(all-built-dso:=.jmprel)): New static pattern rule.
30580 (generated): Add those targets.
30581 (localplt-built-dso): New variable.
30582 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30584 * elf/check-localplt.c: File removed.
30586 * scripts/check-execstack.awk: New file.
30587 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30588 (check-execstack-CFLAGS): Variable removed.
30589 ($(objpfx)check-execstack.h): Target removed.
30590 ($(objpfx)execstack-default): New target.
30591 (generated): Add that instead of check-execstack.h.
30592 ($(all-built-dso:=.phdr)): New static pattern rule.
30593 (generated): Add those targets.
30594 * elf/check-execstack.c: File removed.
30596 * scripts/check-textrel.awk: New file.
30597 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30598 (check-textrel-CFLAGS): Variable removed.
30599 (all-built-dso): Use := to define.o
30600 ($(all-built-dso:=.dyn)): New static pattern rule.
30601 (generated): Add those targets.
30602 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30603 * config.make.in (READELF): New substituted variable.
30604 * elf/check-textrel.c: File removed.
30606 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30608 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30610 * conform/data/ctype.h-data [C99-based standards] (isblank):
30612 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30613 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30615 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30616 Specify type. Require positive value.
30617 (EILSEQ): Likewise.
30618 (ERANGE): Likewise.
30619 [ISO || POSIX] (EILSEQ): Do not expect.
30620 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30621 Specify type. Require positive value.
30622 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30637 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30638 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30639 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30640 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30641 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30642 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30643 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30644 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30645 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30646 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30647 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30648 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30649 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30650 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30651 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30652 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30654 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30696 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30697 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30698 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30700 (FLT_ROUNDS): Expect as macro, not constant.
30701 (FLT_MANT_DIG): Use macro-int-constant.
30702 (DBL_MANT_DIG): Likewise.
30703 (LDBL_MANT_DIG): Likewise.
30704 (FLT_DIG): Likewise.
30705 (DBL_DIG): Likewise.
30706 (LDBL_DIG): Likewise.
30707 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30708 (DBL_MIN_EXP): Likewise.
30709 (LDBL_MIN_EXP): Likewise.
30710 (FLT_MAX_EXP): Use macro-int-constant.
30711 (DBL_MAX_EXP): Likewise.
30712 (LDBL_MAX_EXP): Likewise.
30713 (FLT_MAX_10_EXP): Likewise.
30714 (DBL_MAX_10_EXP): Likewise.
30715 (LDBL_MAX_10_EXP): Likewise.
30716 (FLT_MAX): Use macro-constant.
30717 (DBL_MAX): Likewise.
30718 (LDBL_MAX): Likewise.
30719 (FLT_EPSILON): Use macro-constant. Give upper bound.
30720 (DBL_EPSILON): Likewise.
30721 (LDBL_EPSILON): Likewise.
30722 (FLT_MIN): Likewise.
30723 (DBL_MIN): Likewise.
30724 (LDBL_MIN): Likewise.
30725 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30726 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30727 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30728 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30729 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30730 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30731 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30732 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30733 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30734 [ISO11] (FLT_TRUE_MIN): Likewise.
30735 [ISO11] (LDBL_TRUE_MIN): Likewise.
30736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30737 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30738 (SCHAR_MIN): Use macro-int-constant. Specify type.
30739 (SCHAR_MAX): Likewise.
30740 (UCHAR_MAX): Likewise.
30741 (CHAR_MIN): Likewise.
30742 (CHAR_MAX): Likewise.
30743 (MB_LEN_MAX): Use macro-int-constant.
30744 (SHRT_MIN): Use macro-int-constant. Specify type.
30745 (SHRT_MAX): Likewise.
30746 (USHRT_MAX): Likewise.
30747 (INT_MAX): Likewise.
30748 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30750 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30752 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30754 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30755 bound negative. Suffix upper bound with "L".
30756 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30758 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30760 [C99-based standards] (LLONG_MAX): Likewise.
30761 [C99-based standards] (ULLONG_MAX): Likewise.
30762 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30764 [ISO11] (max_align_t): Require type.
30765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30767 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30768 from $CFLAGS, without defining away __attribute__ calls.
30769 (checknamespace): Use $CFLAGS_namespace.
30771 * conform/conformtest.pl (@keywords): Only include C99 keywords
30772 for standards based on C99 or C11.
30774 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30776 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30779 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30780 usability of symbols in #if.
30782 * conform/conformtest.pl: If macro or constant types start
30783 "promoted:", expect the symbol to be of the following type
30784 promoted by the integer promotions.
30786 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30787 in one place. Also handle "macro-constant".
30789 * conform/conformtest.pl: Only accept expected macro values with
30790 "==". Parse all "macro" lines in one place.
30791 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30793 * conform/conformtest.pl: Handle braced types on "constant" lines
30794 instead of handling "typed-constant".
30795 * conform/data/signal.h-data: Use "constant" instead of
30798 * conform/conformtest.pl: Handle "optional-" at start of lines in
30799 one place rather than duplicating several cases. Handle each
30800 format of "macro" line with initial "optional-".
30802 * conform/conformtest.pl: Only accept expected constant or
30803 optional-constant values with "==". Parse all "constant" lines in
30804 one place. Parse all "optional-constant" lines in one place.
30805 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30806 * conform/data/fmtmsg.h-data: Likewise.
30807 * conform/data/netinet/in.h-data: Likewise.
30808 * conform/data/tar.h-data: Likewise.
30809 * conform/data/limits.h-data: Use "==" form on "constant" and
30810 "optional-constant" lines.
30812 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30813 Use -std=c99 for XOPEN2K.
30814 (@knownproblems): Remove.
30815 (newtoken): Don't check %isknown.
30817 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30818 Do not expect macro.
30819 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30831 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30832 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30849 [XPG3] (acosh): Likewise.
30850 [XPG3] (asinh): Likewise.
30851 [XPG3] (atanh): Likewise.
30852 [XPG3] (cbrt): Likewise.
30853 [XPG3] (expm1): Likewise.
30854 [XPG3] (ilogb): Likewise.
30855 [XPG3] (log1p): Likewise.
30856 [XPG3] (logb): Likewise.
30857 [XPG3] (nextafter): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30860 [XPG3] (remainder): Likewise.
30861 [XPG3] (rint): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30869 [UNIX98 || XOPEN2K] (scalb): Expect.
30870 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30871 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31008 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31009 _XOPEN_SOURCE_EXTENDED for XPG4.
31011 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31013 * Makeconfig (localtime): Remove variable.
31014 (inst_localtime-file): Likewise.
31016 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31037 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31041 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31042 comparisons to determine direction to adjust input.
31043 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31044 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31045 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31051 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31052 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31054 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31056 * math/libm-test.inc (nexttoward_test): Add more tests.
31058 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31062 in version GLIBC_2.1, not GLIBC_2.0.
31063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31066 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31069 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31071 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31072 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31073 * math/libm-test.inc (acos_test): Add more tests.
31074 (asin_test): Likewise.
31075 * sysdeps/i386/fpu/libm-test-ulps: Update.
31076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31079 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31081 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31082 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31083 * math/libm-test.inc (acos_test_tonearest): New function.
31084 (acos_test_towardzero): Likewise.
31085 (acos_test_downward): Likewise.
31086 (acos_test_upward): Likewise.
31087 (asin_test_tonearest): Likewise.
31088 (asin_test_towardzero): Likewise.
31089 (asin_test_downward): Likewise.
31090 (asin_test_upward): Likewise.
31091 (main): Call the new functions.
31092 * sysdeps/i386/fpu/libm-test-ulps: Update.
31093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31097 * math/e_exp10.c: Include <float.h>.
31098 (__ieee754_exp10): Handle underflow here rather than multiplying
31099 large negative argument by M_LN10.
31100 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31102 * math/e_exp10l.c: Include <float.h>.
31103 (__ieee754_exp10l): Handle underflow here rather than multiplying
31104 large negative argument by M_LN10l.
31105 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31106 spurious overflow exception on underflow.
31108 2012-04-29 Marek Polacek <polacek@redhat.com>
31110 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31111 (__fortify_function): New macro.
31112 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31113 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31114 __extern_always_inline.
31115 * libio/bits/stdio2.h: Likewise.
31116 * libio/bits/stdio.h: Likewise.
31117 * string/string.h: Likewise.
31118 * string/bits/string3.h: Likewise.
31119 * include/stdio.h: Likewise.
31120 * stdlib/bits/stdlib.h: Likewise.
31121 * stdlib/stdlib.h: Likewise.
31122 * rt/bits/mqueue2.h: Likewise.
31123 * rt/mqueue.h: Likewise.
31124 * posix/bits/unistd.h: Likewise.
31125 * posix/unistd.h: Likewise.
31126 * io/bits/poll2.h: Likewise.
31127 * io/bits/fcntl2.h: Likewise.
31128 * io/fcntl.h: Likewise.
31129 * io/sys/poll.h: Likewise.
31130 * misc/bits/syslog.h: Likewise.
31131 * misc/bits/syslog-ldbl.h: Likewise.
31132 * misc/sys/syslog.h: Likewise.
31133 * socket/bits/socket2.h: Likewise.
31134 * socket/sys/socket.h: Likewise.
31135 * debug/tst-chk1.c: Likewise.
31136 * wcsmbs/bits/wchar2.h: Likewise.
31137 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31138 * wcsmbs/wchar.h: Likewise.
31140 2012-04-29 Andreas Jaeger <aj@suse.de>
31142 * Makerules (tests): Remove enable-check-abi protection.
31143 (check-abi-warn): Remove.
31144 (check-abi-%): Remove check-abi-warn usage.
31146 * configure.in: Remove check-abi configure option.
31147 * configure: Regenerated.
31148 * config.make.in (enable-check-abi): Remove.
31150 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31153 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31154 double functions to double *_finite functions.
31157 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31158 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31160 * stdio-common/Makefile (tests): Add tst-sprintf3.
31161 * stdio-common/tst-sprintf3.c: New file.
31163 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31164 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31166 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31168 * conform/conformtest.pl: Remove duplicate typed-constant
31171 2012-04-28 David S. Miller <davem@davemloft.net>
31173 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31174 (check-abi-%): Remove AWK script prerequisite and explicit
31176 (check-abi): Rewrite to just diff the symlist with the abilist.
31177 (config-tls, config-abi-config): Delete, no longer used.
31178 (update-abi-%): Remove AWK script and explicit abilist directory.
31179 (update-abi): Rewrite to simply compare and conditionally copy the
31180 symlist and the sysdep abilist file. Remove update-abi-config
31182 * abilist/ld.abilist: Remove.
31183 * abilist/libBrokenLocale.abilist: Remove.
31184 * abilist/libanl.abilist: Remove.
31185 * abilist/libcrypt.abilist: Remove.
31186 * abilist/libdl.abilist: Remove.
31187 * abilist/librt.abilist: Remove.
31188 * abilist/libthread_db.abilist: Remove.
31189 * abilist/libutil.abilist: Remove.
31190 * scripts/extract-abilist.awk: Remove.
31191 * scripts/merge-abilist.awk: Remove.
31192 * sysdeps/generic/libcidn.abilist: New file.
31193 * sysdeps/generic/libnss_compat.abilist: New file.
31194 * sysdeps/generic/libnss_db.abilist: New file.
31195 * sysdeps/generic/libnss_dns.abilist: New file.
31196 * sysdeps/generic/libnss_files.abilist: New file.
31197 * sysdeps/generic/libnss_hesiod.abilist: New file.
31198 * sysdeps/generic/libnss_nis.abilist: New file.
31199 * sysdeps/generic/libnss_nisplus.abilist: New file.
31200 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31201 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31202 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31204 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31205 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31206 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31207 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31208 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31209 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31210 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31211 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31212 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31214 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31215 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31216 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31217 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31219 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31220 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31221 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31222 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31223 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31224 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31226 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31227 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31228 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31230 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31333 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31334 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31335 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31338 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31339 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31340 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31341 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31342 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31343 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31344 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31345 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31346 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31398 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31400 * conform/conformtest.pl: Fix typo in handling typed-constant from
31403 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31405 * README: Cut down references to pre-2.6 Linux kernels and
31406 Linuxthreads. Update lists of configurations in libc and ports
31407 and sort alphabetically. Say "or newer" with Linux kernel version
31410 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31412 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31415 * math/libm-test.inc (logb_test_downward): New test to expose
31416 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31419 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31422 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31424 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31425 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31427 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31429 * sysdeps/unix/i386/brk.S: Remove file.
31430 * sysdeps/unix/i386/dl-brk.S: Likewise.
31431 * sysdeps/unix/i386/pipe.S: Likewise.
31432 * sysdeps/unix/i386/sigreturn.S: Likewise.
31433 * sysdeps/unix/i386/syscall.S: Likewise.
31434 * sysdeps/unix/i386/vfork.S: Likewise.
31435 * sysdeps/unix/i386/wait.S: Likewise.
31437 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31438 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31440 * configure.in (arm*-none*): Do not allow without
31441 --enable-hacker-mode.
31442 (netbsd*): Remove case setting base_os.
31443 (386bsd*): Likewise.
31444 (freebsd*): Likewise.
31447 (sunos*): Likewise.
31448 (ultrix*): Likewise.
31449 (newsos*): Likewise.
31450 (dynix*): Likewise.
31456 (minix*): Likewise.
31457 (irix4*): Likewise.
31458 (irix6*): Likewise.
31459 (solaris[2-9]*): Likewise.
31461 * configure: Regenerated.
31463 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31466 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31467 overflow or cancellation in calculating denominator.
31468 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31469 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31470 down expression to avoid unexpected rounding in newer GCCs.
31471 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31473 2012-04-26 David S. Miller <davem@davemloft.net>
31475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31476 long-double compat symbols.
31477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31491 2012-04-25 David S. Miller <davem@davemloft.net>
31493 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31494 HWCAP_* values only after the memory barriers have been defined.
31495 (atomic_full_barrier): Define.
31496 (atomic_read_barrier): Define.
31497 (atomic_write_barrier): Define.
31499 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31501 * shlib-versions: Add libgcc_s version information.
31502 * sysdeps/generic/libgcc_s.h: Remove.
31503 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31505 * sysdeps/gnu/unwind-resume.c: Likewise.
31506 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31508 2012-04-25 David S. Miller <davem@davemloft.net>
31510 * sysdeps/unix/sparc/brk.S: Delete.
31511 * sysdeps/unix/sparc/dl-brk.S: Delete.
31512 * sysdeps/unix/sparc/pipe.S: Delete.
31513 * sysdeps/unix/sparc/sysdep.S: Delete.
31514 * sysdeps/unix/sparc/sysdep.h: Delete.
31515 * sysdeps/unix/sparc/vfork.S: Delete.
31516 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31517 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31519 (ret_ERRVAL, r0, r1, MOVE): Define.
31520 (JUMPTARGET): Remove.
31521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31522 sysdeps/unix/sparc/sysdep.h
31523 (ENTRY, END): Remove.
31524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31526 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31528 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31529 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31532 * timezone/README: Update upstream location and email address for
31534 * timezone/zdump.c: Update from tzcode 2012b.
31535 * timezone/zic.c: Likewise.
31537 * configure.in (libc_cv_as_needed): Remove test.
31538 * configure: Regenerated.
31539 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31540 conditional definition.
31541 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31542 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31543 * config.make.in (have-as-needed): Remove variable.
31545 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31546 Paul Pluzhnikov <ppluzhnikov@google.com>
31548 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31551 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31553 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31554 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31555 * sysdeps/sh/strlen.S: Likewise.
31557 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31559 * sysdeps/unix/fork.S: Remove file.
31560 * sysdeps/unix/i386/fork.S: Likewise.
31561 * sysdeps/unix/sparc/fork.S: Likewise.
31563 * sysdeps/unix/system.c: Remove file.
31564 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31566 * sysdeps/unix/getegid.S: Remove file.
31567 * sysdeps/unix/geteuid.S: Likewise.
31569 2012-04-24 Roland McGrath <roland@hack.frob.com>
31571 * scripts/check-localplt.awk: New file.
31572 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31574 * scripts/data/localplt-generic.data: Add a comment.
31576 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31577 NODE when __dir_mkfile failed.
31578 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31579 Reported by Ludovic Courtès <ludo@gnu.org>.
31581 2012-04-24 Andreas Jaeger <aj@suse.de>
31583 * Makerules (common-clean): Also remove gen-as-const-headers
31586 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31588 * Makerules (native-compile): Do not change working directory for
31589 build. Use $(OUTPUT_OPTION) in command.
31590 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31592 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31595 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31596 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31597 * math/libm-test.inc (floor_test): Add more tests.
31598 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31600 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31602 * sysdeps/unix/getdents.c: Remove file.
31603 * sysdeps/unix/sysv/getdents.c: Likewise.
31604 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31606 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31607 sysdeps/unix/mman/syscalls.list.
31609 (mprotect): Likewise.
31611 (munmap): Likewise.
31612 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31613 * sysdeps/unix/mman/syscalls.list: Remove.
31614 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31616 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31617 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31618 * configure: Regenerated.
31619 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31620 $(libgcc_s_suffix).
31621 * config.make.in (libgcc_s_suffix): Remove variable.
31623 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31625 * sysdeps/unix/sysv/gethostname.c: Move to ...
31626 * sysdeps/posix/gethostname.c: ... here.
31628 * sysdeps/unix/execve.S: Remove file.
31630 * sysdeps/unix/_exit.S: Remove file.
31632 2012-04-23 Andreas Jaeger <aj@suse.de>
31635 * manual/Makefile: Remove make dist support, there's no
31636 need for a stand-alone documentation tar ball.
31637 (TEXI2DVI): Define always, it's not in Makeconfig.
31640 (edition): Removed.
31641 (glibc-doc-$(edition).tar): Removed
31645 (ETAGS): Remove, it's in Makeconfig.
31646 (move-if-change): Remove, it's in Makeconfig.
31648 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31651 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31652 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31653 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31654 (strtod_l, strtof_l, strtold_l): Remove __wur.
31655 It is not necessarily an error to ignore strtol's return value.
31656 One can reliably look at the stored endptr to decide whether
31657 the number had valid syntax.
31659 2012-04-21 Andreas Jaeger <aj@suse.de>
31662 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31664 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31666 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31667 * sysdeps/unix/sysv/Versions: Remove file.
31669 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31674 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31677 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31678 version from __vm86.
31680 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31682 * sysdeps/unix/common/lxstat.c: Remove file.
31683 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31685 * sysdeps/unix/sysv/Makefile: Remove file.
31687 * sysdeps/unix/sysv/direct.h: Remove file.
31689 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31690 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31691 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31692 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31693 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31694 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31695 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31697 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31699 * sysdeps/unix/xmknod.c: Remove file.
31700 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31702 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31704 * sysdeps/unix/sysv/i386/time.S: Remove file.
31706 * sysdeps/unix/fxstat.c: Remove file.
31707 * sysdeps/unix/xstat.c: Likewise.
31708 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31710 * sysdeps/unix/sysv/sigaction.c: Remove file.
31712 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31713 (sysdep_headers): Remove variable.
31714 [termio.h not in sysdep_headers] (generated): Likewise.
31715 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31716 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31717 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31718 * sysdeps/unix/sysv/tcflow.c: Likewise.
31719 * sysdeps/unix/sysv/tcflush.c: Likewise.
31720 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31721 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31722 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31723 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31724 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31726 * sysdeps/unix/siglist.c: Remove file.
31728 * sysdeps/unix/getppid.S: Remove file.
31730 * sysdeps/unix/mkdir.c: Remove file.
31731 * sysdeps/unix/rmdir.c: Likewise.
31733 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31735 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31737 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31738 errlist-compat value.
31740 2012-04-18 David S. Miller <davem@davemloft.net>
31742 * sysdeps/generic/memcopy.h (reg_char): Delete.
31743 * debug/strcat_chk.c: Use char, not reg_char.
31744 * debug/strcpy_chk.c: Likewise.
31745 * debug/strncat_chk.c: Likewise.
31746 * debug/strncpy_chk.c: Likewise.
31747 * string/memchr.c: Likewise.
31748 * string/memrchr.c: Likewise.
31749 * string/rawmemchr.c: Likewise.
31750 * string/strcat.c: Likewise.
31751 * string/strchr.c: Likewise.
31752 * string/strchrnul.c: Likewise.
31753 * string/strcmp.c: Likewise.
31754 * string/strcpy.c: Likewise.
31755 * string/strncat.c: Likewise.
31756 * string/strncmp.c: Likewise.
31757 * string/strncpy.c: Likewise.
31759 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31761 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31762 __builtin_memcopy is called when src and dest ranges are known to not
31765 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31767 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31768 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31769 fwd_align_merge macro call.
31770 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31771 bwd_align_merge macro call.
31772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31774 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31777 bwd_align_merge macros.
31778 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31779 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31780 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31782 2012-04-18 David S. Miller <davem@davemloft.net>
31784 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31786 2012-04-18 Andreas Jaeger <aj@suse.de>
31789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31790 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31794 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31795 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31797 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31798 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31799 Adjust for changed ldbl-128 files.
31801 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31802 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31803 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31805 2012-04-17 David S. Miller <davem@davemloft.net>
31807 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31809 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31811 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31812 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31813 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31814 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31815 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31816 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31818 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31821 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31822 * math/libm-test.inc: Add ilogb errno and exception tests.
31823 * math/w_ilogb.c: New file: ilogb wrapper.
31824 * math/w_ilogbf.c: New file: ilogbf wrapper.
31825 * math/w_ilogbl.c: New file: ilogbl wrapper.
31826 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31827 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31828 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31829 exception being thrown with 0.0 as argument.
31830 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31831 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31832 exception being thrown with 0.0 as argument.
31833 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31834 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31835 exception being thrown with 0.0 as argument.
31836 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31837 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31838 exception being thrown with 0.0 as argument.
31839 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31840 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31841 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31842 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31843 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31844 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31845 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31846 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31847 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31849 2012-04-17 Petr Baudis <pasky@ucw.cz>
31851 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31854 2012-04-16 Marek Polacek <polacek@redhat.com>
31856 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31858 2012-04-16 Marek Polacek <polacek@redhat.com>
31860 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31861 operands of fdivp instruction.
31863 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31865 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31866 * elf/tst-auditmod3b.c: Likewise.
31867 * elf/tst-auditmod4b.c: Likewise.
31868 * elf/tst-auditmod5b.c: Likewise.
31869 * elf/tst-auditmod6b.c: Likewise.
31870 * elf/tst-auditmod6c.c: Likewise.
31871 * elf/tst-auditmod7b.c: Likewise.
31872 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31873 * sysdeps/x86_64/preconfigure.in: Likewise.
31874 * sysdeps/x86_64/preconfigure: Regenerated.
31876 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31878 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31881 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31884 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31886 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31889 * locale/iso-639.def: Fix gl language name. Spotted by
31892 2012-04-12 Roland McGrath <roland@hack.frob.com>
31895 * libio/libio.h (__io_write_fn): Update comment.
31897 2012-04-12 Petr Baudis <pasky@ucw.cz>
31900 * stdio.texi (Hook Functions): The user provided writer function
31901 is not allowed to return -1.
31903 2012-04-11 David S. Miller <davem@davemloft.net>
31905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31907 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31909 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31910 Add a leading slash to rtkaio.
31912 2012-04-11 Jim Meyering <meyering@redhat.com>
31915 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31916 It is not necessarily an error to ignore fwrite's return
31917 value. One can reliably use ferror to test for errors after
31920 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31922 * bits/types.h (__snseconds_t): New type.
31923 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31925 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31927 (__SNSECONDS_T_TYPE): Likewise.
31928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31929 (__SNSECONDS_T_TYPE): Likewise.
31930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31931 (__SNSECONDS_T_TYPE): Likewise.
31933 2012-04-10 Andreas Jaeger <aj@suse.de>
31936 * manual/time.texi (Processor Time): Return type of times is
31937 elapsed real time since an arbitrary point in the past.
31938 (CPU Time): Move CLK_TCK from here...
31939 (Processor Time): ...to here. Correct description.
31940 * manual/conf.texi (Constants for Sysconf): Correct description of
31943 2012-04-10 David S. Miller <davem@davemloft.net>
31946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31947 where the is a gap between DT_REL(A) and DT_JMPREL.
31949 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31951 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31952 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31953 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31955 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31957 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31958 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31959 (dl_main): Handle --inhibit-cache.
31960 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31962 * elf/dl-load.c (_dl_map_object): Use it.
31963 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31965 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31968 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31969 (__ieee754_powl): Saturate large exponents rather than testing for
31970 overflow of y*log2(x).
31971 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31972 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31976 * math/s_ctan.c: Include <float.h>.
31977 (__ctan): Avoid internal overflow or cancellation in calculating
31979 * math/s_ctanf.c: Likewise.
31980 * math/s_ctanl.c: Likewise.
31981 * math/s_ctanh.c: Likewise.
31982 * math/s_ctanhf.c: Likewise.
31983 * math/s_ctanhl.c: Likewise.
31984 * math/libm-test.inc (ctan_test): Add more tests.
31985 (ctanh_test): Likewise.
31986 * sysdeps/i386/fpu/libm-test-ulps: Update.
31987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31989 2012-04-09 Andreas Jaeger <aj@suse.de>
31992 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31993 is an optional BSD extension.
31996 * manual/stdio.texi (Opening Streams): Document additional fopen
31999 2012-04-09 Roland McGrath <roland@hack.frob.com>
32001 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32002 %eax without telling the compiler.
32004 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32007 * manual/install.texi: Use sourceware.org.
32009 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32012 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32013 (__ieee754_pow): Generate overflow and underflow using huge*huge
32014 and tiny*tiny rather than just returning constant infinity or zero
32015 for large exponents.
32016 * math/libm-test.inc (pow_test): Require overflow exceptions for
32017 applicable cases of large exponents.
32020 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32021 (__ieee754_pow): Use iterative multiplication algorithm only for
32022 integer exponents with absolute value below 1024. Check for odd
32023 integer exponents when using algorithm for real exponents.
32024 * math/libm-test.inc (pow_test): Add more tests.
32025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32027 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32030 * math/libm-test.inc (exp_test): Do not allow overflow exception
32033 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32036 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32037 instead of __kernel_standard_f.
32039 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32041 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32042 * sysdeps/x86_64/memset_chk.S: Likewise.
32044 2012-04-08 Andreas Jaeger <aj@suse.de>
32047 * manual/startup.texi (Environment Access): Describe return value
32048 for putenv and setenv.
32051 * manual/filesys.texi (Directory Entries): Add description for
32055 * manual/filesys.texi (Directory Entries): Clarify that it's file
32056 system not operating system in the description of DT_UNKNOWN.
32059 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32061 2012-04-08 Stephen Compall <s11@member.fsf.org>
32064 * manual/llio.texi (Opening and Closing Files): Add cross
32065 reference to explain mode argument.
32067 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32069 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32070 * sysdeps/x86_64/memset_chk.S: Likewise.
32072 2012-04-07 David S. Miller <davem@davemloft.net>
32074 * elf/elf.h (R_SPARC_WDISP10): Define.
32075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32078 R_SPARC_SIZE64 and R_SPARC_H34.
32080 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32083 conditions and remove no longer applicable assertion.
32085 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32087 * bits/byteswap.h: Include <features.h>.
32088 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32089 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32091 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32093 * bits/byteswap.h (__bswap_16): Removed.
32094 Include <bits/byteswap-16.h> to get __bswap_16.
32095 * sysdeps/i386/bits/byteswap.h: Likewise.
32096 * sysdeps/s390/bits/byteswap.h: Likewise.
32097 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32098 * bits/byteswap-16.h: New file.
32099 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32100 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32101 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32102 * string/Makefile (headers): Add bits/byteswap-16.h.
32104 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32107 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32109 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32110 * nss/tst-nss-static.c: New.
32112 2012-04-06 Robert Millan <rmh@gnu.org>
32115 * manual/llio.texi (File Position Primitive): lseek
32116 refers to WHENCE when it really means OFFSET.
32118 2012-04-06 Andreas Jaeger <aj@suse.de>
32120 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32121 strncmp declarations.
32123 * abilist/libc.abilist: Add __poll and __ppoll.
32125 2012-04-05 David S. Miller <davem@davemloft.net>
32127 * scripts/check-local-headers.sh: Accept a host triplet in the
32128 path matched by the exclude regexp.
32130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32132 * sysdeps/powerpc/powerpc32/dl-machine.h
32133 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32134 * sysdeps/s390/s390-32/dl-machine.h
32135 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32136 * sysdeps/sparc/sparc32/dl-machine.h
32137 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32138 * sysdeps/sparc/sparc64/dl-machine.h
32139 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32141 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32143 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32144 undefined symbol errors.
32146 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32149 2012-04-05 Michael Matz <matz@suse.de>
32152 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32154 2012-04-05 Andreas Jaeger <aj@suse.de>
32157 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32160 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32162 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32163 which ROUND is no valid rounding mode.
32165 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32167 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32169 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32171 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32173 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32174 an exception using FPU order intentionally.
32176 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32178 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32179 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32180 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32181 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32183 2012-04-05 Simon Josefsson <simon@josefsson.org>
32186 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32187 EINVAL when BUFLEN is too smal.
32189 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32192 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32193 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32195 2012-04-03 Andreas Jaeger <aj@suse.de>
32198 * manual/setjmp.texi (System V contexts): Fix sentence.
32201 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32202 New macro for this case.
32203 [!__GNUC__] (__bswap_64): New inline function for this case.
32204 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32205 * bits/byteswap.h: Likewise.
32206 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32207 ull, guard with __GLIBC_HAVE_LONG_LONG.
32209 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32210 __GLIBC_HAVE_LONG_LONG.
32212 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32213 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32215 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32219 inptr and inend, rather than using last_ch.
32221 2012-04-02 David S. Miller <davem@davemloft.net>
32223 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32224 * stdio-common/printf-parse.h (read_int): Change return type to
32225 'int', return -1 on INT_MAX overflow.
32226 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32227 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32228 overflows INT_MAX. Check for overflow of in-format-string precision
32229 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32230 SIZE_MAX not INT_MAX for integer overflow test.
32231 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32232 skip the construct in the format string but do not record anything.
32233 * stdio-common/bug22.c: Adjust to test both width/prevision
32234 INT_MAX overflow as well as total length INT_MAX overflow. Check
32235 explicitly for proper errno values.
32237 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32239 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32241 * string/test-strcmp.c [! WIDE]: Likewise.
32242 * time/tst-mktime2.c: Likewise for INT_MAX.
32243 * string/test-string.h: #include <sys/param.h> for MIN.
32245 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32246 * sysdeps/i386/init-first.c (init): Likewise.
32247 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32248 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32249 * sysdeps/sh/init-first.c (init): Likewise.
32251 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32253 * po/ru.po: Update from translation team.
32254 * po/vi.po: Likewise.
32256 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32258 * resolv/nss_dns/dns-host.c: Merge copyright years.
32260 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32263 Optimize memcpy with prefetch if
32264 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32265 src, dst pointers have unequal 16 byte alignments.
32267 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32270 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32271 from a CNAME entry and return the minimum ttl for the query.
32272 (gaih_getanswer_slice): Likewise.
32274 2012-03-30 Jeff Law <law@redhat.com>
32276 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32278 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32279 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32281 * resolv/nss_dns/dns-host.c: Update copyright year.
32283 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32285 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32286 requests to save a system call. Fix check that all bytes are sent.
32288 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32289 comments for sendmmsg.
32291 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32294 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32295 with only 1 character between 0x0041 and 0x01b0.
32296 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32297 * wcsmbs/tst-mbsnrtowcs.c: New file.
32299 2012-03-29 David S. Miller <davem@davemloft.net>
32301 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32302 small copies by hand.
32304 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32307 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32308 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32311 2012-03-28 David S. Miller <davem@davemloft.net>
32313 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32314 that branches into memcpy.
32315 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32317 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32318 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32321 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32322 implementation too.
32323 * sysdeps/sparc/mempcpy.S: New file.
32325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32326 the IFUNC routine in the libc case.
32327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32329 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32330 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32331 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32332 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32333 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32334 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32335 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32336 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32338 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32339 loop to 256 bytes instead of 64 bytes and fix test signedness.
32341 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32342 * sysdeps/sparc/sparc32/Makefile: rather than here...
32343 * sysdeps/sparc/sparc64/Makefile: and here.
32345 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32347 * malloc/mallocbug.c: Avoid warnings about unused variables.
32349 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32352 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32353 in the right place. Discard and retry query if response is
32354 larger than input buffer size.
32356 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32362 x for large integer exponent.
32363 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32364 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32365 sign of result as needed afterwards.
32366 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32367 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32368 result for underflowing pow the same as for overflow.
32369 (__kernel_standard_l): Handle powl overflow and underflow here
32370 rather than calling __kernel_standard.
32371 * math/libm-test.inc (pow_test): Add more tests.
32386 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32387 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32388 (__kernel_standard_l): New function.
32389 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32391 * math/w_acosl.c (__acosl): Likewise.
32392 * math/w_asinl.c (__asinl): Likewise.
32393 * math/w_atan2l.c (__atan2l): Likewise.
32394 * math/w_atanhl.c (__atanhl): Likewise.
32395 * math/w_coshl.c (__coshl): Likewise.
32396 * math/w_exp10l.c (__exp10l): Likewise.
32397 * math/w_exp2l.c (__exp2l): Likewise.
32398 * math/w_fmodl.c (__fmodl): Likewise.
32399 * math/w_hypotl.c (__hypotl): Likewise.
32400 * math/w_j0l.c (__j0l, __y0l): Likewise.
32401 * math/w_j1l.c (__j1l, __y1l): Likewise.
32402 * math/w_jnl.c (__jnl, __ynl): Likewise.
32403 * math/w_lgammal.c (__lgammal): Likewise.
32404 * math/w_log10l.c (__log10l): Likewise.
32405 * math/w_log2l.c (__log2l): Likewise.
32406 * math/w_logl.c (__logl): Likewise.
32407 * math/w_powl.c (__powl): Likewise.
32408 * math/w_remainderl.c (__remainderl): Likewise.
32409 * math/w_scalbl.c (sysv_scalbl): Likewise.
32410 * math/w_sinhl.c (__sinhl): Likewise.
32411 * math/w_sqrtl.c (__sqrtl): Likewise.
32412 * math/w_tgammal.c (__tgammal): Likewise.
32413 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32414 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32415 * math/libm-test.inc (acos_test): Add more tests.
32416 (acosh_test): Likewise.
32417 (asin_test): Likewise.
32418 (atanh_test): Likewise.
32419 (exp_test): Likewise.
32420 (exp10_test): Likewise.
32421 (exp2_test): Likewise.
32422 (expm1_test): Likewise.
32423 (lgamma_test): Likewise.
32424 (log_test): Likewise.
32425 (log10_test): Likewise.
32426 (log1p_test): Likewise.
32427 (log2_test): Likewise.
32428 (pow_test): Do not allow some spurious overflow exceptions.
32429 (sqrt_test): Add more tests.
32430 (tgamma_test): Likewise.
32431 (y0_test): Likewise.
32432 (y1_test): Likewise.
32433 (yn_test): Likewise.
32435 2012-03-27 Anton Blanchard <anton@samba.org>
32437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32439 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32443 2012-03-27 David S. Miller <davem@davemloft.net>
32445 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32447 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32448 have-as-vis3 check.
32450 2012-03-27 Andreas Jaeger <aj@suse.de>
32452 * sysdeps/x86_64/elf/configure.in: Moved to ...
32453 * sysdeps/x86_64/configure.in: ... here.
32454 * sysdeps/x86_64/elf/start.S: Moved to ...
32455 * sysdeps/x86_64/start.S: ... here.
32456 * sysdeps/x86_64/elf/configure: Delete.
32458 * sysdeps/x86_64/configure.in: Merge contents from
32459 sysdeps/i386/configure.in (without i686 check).
32461 * sysdeps/i386/elf/Versions: Merge into ...
32462 * sysdeps/i386/Versions: ... this.
32463 * sysdeps/i386/elf/Versions: Delete file.
32464 * sysdeps/i386/elf/start.S: Moved to ...
32465 * sysdeps/i386/start.S: ...here.
32466 * sysdeps/i386/elf/configure.in: Merge into...
32467 * sysdeps/i386/configure.in: ...here.
32468 * sysdeps/i386/elf/configure.in: Delete file.
32469 * sysdeps/i386/elf/configure: Delete file.
32471 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32472 * debug/backtracesyms.c: ... here.
32473 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32474 * debug/backtracesymsfd.c: ... here.
32475 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32476 * sysdeps/generic/ifunc-sel.h: ... here.
32478 * sysdeps/unix/i386/start.c: Delete file.
32479 * sysdeps/unix/sparc/start.c: Delete file.
32480 * sysdeps/unix/start.c: Delete file.
32482 * sysdeps/sh/elf/configure.in: Moved to ...
32483 * sysdeps/sh/configure.in: ... here.
32484 * sysdeps/sh/elf/start.S: Moved to ...
32485 * sysdeps/sh/start.S: ... here.
32486 * sysdeps/sh/elf/configure: Delete file.
32488 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32489 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32490 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32491 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32492 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32493 * sysdeps/powerpc/powerpc64/start.S: here.
32494 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32495 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32496 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32497 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32498 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32500 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32501 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32502 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32503 * sysdeps/powerpc/powerpc32/start.S: ... here.
32504 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32505 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32506 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32508 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32509 * sysdeps/powerpc/ifunc-sel.h: ... here.
32510 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32511 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32513 * sysdeps/sparc/elf/configure.in: Moved to ...
32514 * sysdeps/sparc/configure.in: ... here.
32515 * sysdeps/sparc/elf/configure: Delete file.
32516 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32517 * sysdeps/sparc/sparc32/start.S: ... here.
32518 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32519 * sysdeps/sparc/sparc64/start.S: ... here.
32520 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32521 * sysdeps/sparc/sparc32/Makefile: ... this.
32522 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32523 * sysdeps/sparc/sparc64/Makefile: ... this.
32525 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32526 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32527 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32528 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32529 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32530 * sysdeps/s390/s390-32/setjmp.S: ... here.
32531 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32532 * sysdeps/s390/s390-32/configure.in: ... here.
32533 * sysdeps/s390/s390-32/elf/configure: Delete file.
32534 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32535 * sysdeps/s390/s390-32/start.S: ... here.
32537 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32538 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32539 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32540 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32541 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32542 * sysdeps/s390/s390-64/setjmp.S: ... here.
32543 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32544 * sysdeps/s390/s390-64/configure.in: ... here
32545 * sysdeps/s390/s390-64/elf/configure: Delete file.
32546 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32547 * sysdeps/s390/s390-64/start.S: ... here.
32548 * sysdeps/s390/s390-64/elf/configure: Delete.
32550 * configure.in: Remove support for elf directories in sysdeps.
32552 * configure: Regenerated.
32553 * sysdeps/i386/configure: Regenerated.
32554 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32555 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32556 * sysdeps/s390/s390-32/configure: Regenerated.
32557 * sysdeps/s390/s390-64/configure: Regenerated.
32558 * sysdeps/sh/configure: Regenerated.
32559 * sysdeps/sparc/configure: Regenerated.
32560 * sysdeps/x86_64/configure: Regenerated.
32562 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32567 denormal result into account.
32569 2012-03-25 Roland McGrath <roland@hack.frob.com>
32571 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32572 Reported by Allan McRae <allan@archlinux.org>.
32574 2012-03-23 Jeff Law <law@redhat.com>
32576 * nss/getnssent.c (__nss_getent): Fix typo.
32578 2012-03-23 David S. Miller <davem@davemloft.net>
32580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32582 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32584 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32585 to pad to uint64_t for each field.
32586 (dl_tls_index): Replace unsigned long with uint64_t.
32588 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32589 Paul Pluzhnikov <ppluzhnikov@google.com>
32592 * grp/Makefile (otherlibs): Don't set it.
32593 * inet/Makefile (otherlibs): Likewise.
32594 * login/Makefile (otherlibs): Likewise.
32595 * nscd/Makefile (otherlibs): Likewise.
32596 * posix/Makefile (otherlibs): Likewise.
32597 * pwd/Makefile (otherlibs): Likewise.
32598 * rt/Makefile (otherlibs): Likewise.
32599 * sunrpc/Makefile (otherlibs): Likewise.
32600 * nss/Makefile (otherlibs): Likewise.
32601 Add libnss_files to routines and static-only-routines.
32602 ($(objpfx)getent): Remove rule.
32603 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32604 static-only-routines.
32606 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32609 * math/s_cexp.c: Include <float.h>.
32610 (__cexp): Handle exp result overflowing not necessarily
32611 overflowing both real and imaginary parts of result.
32612 * math/s_cexpf.c: Likewise.
32613 * math/s_cexpl.c: Likewise.
32614 * math/libm-test.inc (cexp_test): Add more tests.
32615 * sysdeps/i386/fpu/libm-test-ulps: Update.
32616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32618 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32620 * include/link.h (ELFW): New macro.
32621 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32622 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32624 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32626 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32629 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32631 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32633 (struct La_x32_retval): Likewise.
32635 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32637 * sysdeps/x86_64/preconfigure.in: New file.
32638 * sysdeps/x86_64/preconfigure: New generated file.
32640 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32643 * math/e_exp2l.c: Include <float.h>.
32644 (__ieee754_exp2l): Handle overflow and underflow cases
32645 separately. Only pass fractional part of argument to
32647 * math/libm-test.inc (exp2_test): Add more tests.
32649 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32650 negating x to take absolute value.
32651 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32653 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32654 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32656 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32657 computing low part if x was negated.
32658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32660 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32662 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32663 la_x32_gnu_pltexit.
32664 (pltexit): Cast int_retval to ptrdiff_t.
32665 * elf/tst-auditmod3b.c: Likewise.
32666 * elf/tst-auditmod4b.c: Likewise.
32667 * elf/tst-auditmod5b.c: Likewise.
32668 * elf/tst-auditmod6b.c: Likewise.
32669 * elf/tst-auditmod6c.c: Likewise.
32670 * elf/tst-auditmod7b.c: Likewise.
32672 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32673 and x32_gnu_pltexit.
32675 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32676 __ELF_NATIVE_CLASS.
32677 (La_x32_regs): New macro.
32678 (La_x32_retval): Likewise.
32679 (la_x32_gnu_pltenter): New function prototype.
32680 (la_x32_gnu_pltexit): Likewise.
32682 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32689 * configure.in (libc_cv_cc_nofma): Check for option to disable
32690 generation of FMA instructions.
32691 * configure: Regenerate.
32692 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32693 * sysdeps/ieee754/dbl-64/Makefile: New file.
32694 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32695 Remove brandred-fma4.
32696 (CFLAGS-brandred-fma4.c): Remove.
32697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32698 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32703 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32705 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32706 LLONG_MAX != LONG_MAX.
32707 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32708 (_fitoa_word): Likewise.
32709 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32710 LLONG_MAX != LONG_MAX.
32711 * stdio-common/_itowa.h: Include <_itoa.h>.
32712 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32713 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32714 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32715 only if not defined.
32716 (_ITOA_WORD_TYPE): Likewise.
32717 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32718 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32720 2012-03-21 David S. Miller <davem@davemloft.net>
32722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32724 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32726 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32727 of x86_64 when setting libc_cv_slibdir, libdir and
32729 * sysdeps/unix/sysv/linux/configure: Regenerated.
32731 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32733 * manual/lang.texi (Old Varargs): Remove section.
32734 (How Variadic): Update menu.
32735 (va_start): Do not mention varargs.h.
32737 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32738 Joseph Myers <joseph@codesourcery.com>
32740 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32742 * configure: Regenerated.
32744 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32746 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32747 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32750 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32753 * Makefile (files-for-dist): Remove NOTES.
32754 (NOTES): Remove rule.
32755 * README: Don't refer to NOTES.
32756 * manual/creature.texi: Don't include macros.texi.
32757 * manual/intro.texi (creature.texi): Remove comment referring to
32760 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32761 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32762 * configure: Regenerated.
32763 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32764 LIBC_TRY_CC_OPTION.
32765 (libc_cv_as_i686): Likewise.
32766 (libc_cv_cc_avx): Likewise.
32767 (libc_cv_cc_sse2avx): Likewise.
32768 (libc_cv_cc_fma4): Likewise.
32769 (libc_cv_cc_novzeroupper): Likewise.
32770 * sysdeps/i386/configure: Regenerated.
32773 * sysdeps/i386/fpu/s_cexp.S: Remove.
32774 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32775 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32776 * math/libm-test.inc (cexp_test): Add more tests.
32777 * sysdeps/i386/fpu/libm-test-ulps: Update.
32778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32780 2012-03-21 Allan McRae <allan@archlinux.org>
32782 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32784 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32787 * math/w_exp2.c: Do not include <float.h>.
32788 (o_threshold, u_threshold): Remove.
32789 (__exp2): Calculate result before checking finiteness and calling
32791 * math/w_exp2f.c: Likewise.
32792 * math/w_exp2l.c: Likewise.
32793 * math/libm-test.inc (exp2_test): Require overflow exception for
32797 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32798 range of signed 64-bit integers before using fistpll. Remove
32799 checks for whether integers fit in mantissa bits.
32800 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32801 the range of signed 32-bit integers before using fistpl. Remove
32802 checks for whether integers fit in mantissa bits.
32803 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32804 (__ieee754_powl): Test for y outside the range of signed 64-bit
32805 integers before using fistpll. Reduce 64-bit values to 63-bit
32807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32808 divide-by-zero is raised for zero to large negative powers.
32809 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32810 (__ieee754_powl): Test for y outside the range of signed 64-bit
32811 integers before using fistpll. Reduce 64-bit values to 63-bit
32813 * math/libm-test.inc (pow_test): Add more tests.
32815 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32817 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32818 <stdio-common/_itoa.h>.
32819 * debug/segfault.c: Likewise.
32820 * elf/dl-cache.c: Likewise.
32821 * elf/dl-minimal.c: Likewise.
32822 * elf/dl-misc.c: Likewise.
32823 * elf/dl-sysdep.c: Likewise.
32824 * elf/dl-version.c: Likewise.
32825 * elf/rtld.c: Likewise.
32826 * hurd/hurdsock.c: Likewise.
32827 * hurd/lookup-retry.c: Likewise.
32828 * malloc/malloc.c: Likewise.
32829 * malloc/mtrace.c: Likewise.
32830 * nscd/nscd_getgr_r.c: Likewise.
32831 * nscd/nscd_getpw_r.c: Likewise.
32832 * nscd/nscd_getserv_r.c: Likewise.
32833 * posix/getopt_init.c: Likewise.
32834 * posix/wordexp.c: Likewise.
32835 * stdio-common/_itoa.c: Likewise.
32836 * stdio-common/printf_fphex.c: Likewise.
32837 * stdio-common/vfprintf.c: Likewise.
32838 * string/_strerror.c: Likewise.
32839 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32840 * sysdeps/i386/i686/hp-timing.h: Likewise.
32841 * sysdeps/mach/_strerror.c: Likewise.
32842 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32843 * sysdeps/mach/hurd/sethostid.c: Likewise.
32844 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32845 * sysdeps/mach/xpg-strerror.c: Likewise.
32846 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32847 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32848 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32849 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32850 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32851 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32852 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32853 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32854 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32855 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32856 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32857 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32858 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32859 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32860 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32862 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32863 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32864 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32865 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32866 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32868 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32870 * stdio-common/_itoa.h: Moved to ...
32871 * sysdeps/generic/_itoa.h: Here.
32873 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32875 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32876 instead of "_itoa.h" and "_itowa.h".
32877 * stdio-common/vfprintf.: Likewise.
32879 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32881 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32883 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32884 (__signbit): Likwise.
32885 (llrintf): Likwise.
32888 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32890 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32893 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32895 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32896 OVERFLOW_EXCEPTION_OK.
32897 * math/libm-test.inc ("Philosophy"): Update comment about
32899 (OVERFLOW_EXCEPTION): Define.
32900 (OVERFLOW_EXCEPTION_OK): Likewise.
32901 (INVALID_EXCEPTION_OK): Renumber.
32902 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32903 (IGNORE_ZERO_INF_SIGN): Likewise.
32904 (test_exceptions): Handle FE_OVERFLOW.
32905 (exp10_test): Expect overflow exceptions.
32906 (exp2_test): Likewise.
32907 (expm1_test): Likewise.
32908 (nextafter_test): Likewise.
32909 (pow_test): Likewise.
32910 (scalbn_test): Likewise.
32911 (scalbln_test): Likewise.
32913 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32915 * sysdeps/x86_64/bits/atomic.h
32916 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32918 (atomic_exchange_acq): Likewise.
32919 (__arch_exchange_and_add_body): Likewise.
32920 (__arch_add_body): Likewise.
32921 (atomic_add_negative): Likewise.
32922 (atomic_add_zero): Likewise.
32924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32926 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32927 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32929 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32931 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32932 Check __x86_64__ instead of __WORDSIZE.
32934 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32936 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32938 2012-03-19 David S. Miller <davem@davemloft.net>
32940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32942 * sysdeps/sparc/fpu/fenv_private.h: New file.
32943 * sysdeps/sparc/fpu/math_private.h: Use it.
32944 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32946 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32947 (libc_feholdexcept_setroundl): Remove.
32948 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32950 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32951 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32953 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32955 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32956 int64_t instead of long int.
32957 (INSERT_WORDS64): Likwise.
32959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32961 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32962 _Unwind_GetCFA return to _Unwind_Ptr first.
32964 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32967 * math/s_clog.c: Include <float.h>.
32968 (__clog): Scale large or subnormal inputs.
32969 * math/s_clogf.c: Likewise.
32970 * math/s_clogl.c: Likewise.
32971 * math/s_clog10.c: Include <float.h>.
32972 (M_LOG10_2): Define.
32973 (__clog10): Scale large or subnormal inputs.
32974 * math/s_clog10f.c: Likewise.
32975 * math/s_clog10l.c: Likewise.
32976 * math/libm-test.inc (clog_test): Add more tests.
32977 (clog10_test): Likewise.
32978 * sysdeps/i386/fpu/libm-test-ulps: Update.
32979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32982 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32984 * math/libm-test.inc (atan2_test): Add another test.
32986 * Makerules (common-objdir-compile): Remove.
32987 * sysdeps/unix/Makefile (config-generated): Do not add
32988 $(unix-generated) to variable.
32989 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32990 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32992 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32994 [generic bits/local_lim.h] (before-compile): Do not append to
32996 [generic bits/local_lim.h] (common-generated): Likewise.
32997 [generic sys/param.h] (before-compile): Do not append to variable.
32998 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32999 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33000 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33001 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33003 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33004 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33005 [generic sys/param.h] ($(addprefix
33006 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33007 [generic sys/param.h] (common-generated): Do not append to
33009 [generic sys/param.h] (sysdep_headers): Likewise.
33010 [generic bits/errno.h] (before-compile): Do not append to
33012 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33014 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33015 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33016 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33017 [generic bits/errno.h] (common-generated): Do not append to
33019 [generic bits/ioctls.h] (before-compile): Do not append to
33021 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33023 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33024 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33025 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33027 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33028 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33029 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33030 [generic bits/ioctls.h] (common-generated): Do not append to
33032 [generic sys/syscall.h] (syscall.h): Remove variable.
33033 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33035 [generic sys/syscall.h] (before-compile): Do not append to
33037 [generic sys/syscall.h] (common-generated): Likewise.
33038 * sysdeps/unix/errnos-tmpl.c: Remove file.
33039 * sysdeps/unix/errnos.awk: Likewise.
33040 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33041 * sysdeps/unix/ioctls.awk: Likewise.
33042 * sysdeps/unix/mk-local_lim.c: Likewise.
33043 * sysdeps/unix/snarf-ioctls: Likewise.
33045 2012-03-19 Richard Henderson <rth@twiddle.net>
33047 * sysdeps/i386/fpu/fenv_private.h: New file.
33048 * sysdeps/i386/fpu/math_private.h: Use it.
33049 (math_opt_barrier, math_force_eval): Remove.
33050 (libc_feholdexcept_setround_53bit): Remove.
33051 (libc_feupdateenv_53bit): Remove.
33052 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33053 (math_opt_barrier, math_force_eval): Remove.
33054 (libc_feholdexcept): Remove.
33055 (libc_feholdexcept_setround): Remove.
33056 (libc_fetestexcept, libc_fesetenv): Remove.
33057 (libc_feupdateenv_test): Remove.
33058 (libc_feupdateenv, libc_feholdsetround): Remove.
33059 (libc_feresetround): Remove.
33061 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33062 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33064 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33065 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33066 (libc_feupdateenv_testl): New.
33067 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33068 (libc_feupdateenv_testf): New.
33069 (libc_feupdateenv): Use libc_feupdateenv_test.
33070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33071 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33073 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33074 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33075 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33076 (libc_feresetround_noex): New.
33077 (libc_feresetround_noexf): New.
33078 (libc_feresetround_noexl): New.
33079 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33080 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33081 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33082 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33087 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33088 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33089 SET_RESTORE_ROUND_NOEX.
33090 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33091 SET_RESTORE_ROUND_NOEXF.
33092 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33093 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33094 (libc_feholdsetroundf): New.
33095 (libc_feresetround, libc_feresetroundf): New.
33097 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33098 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33099 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33101 * sysdeps/generic/math_private.h: Include <fenv.h>.
33102 (default_libc_feholdexcept): New.
33103 (default_libc_feholdexcept_setround): New.
33104 (default_libc_fesetenv, default_libc_feupdateenv): New.
33105 (libc_feholdexcept): Only define if undefined.
33106 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33107 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33108 (libc_feholdexcept_setroundl): Likewise.
33109 (libc_feholdexcept_setround_53bit): Likewise.
33110 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33111 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33112 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33113 (libc_feupdateenv_53bit): Likewise.
33114 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33115 (libc_feholdexcept): Convert from macro to inline function.
33116 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33117 (libc_fesetenv, libc_feupdateenv): Likewise.
33119 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33120 not previously defined.
33121 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33122 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33123 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33124 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33125 * sysdeps/ieee754/flt-32/math_private.h: New file.
33126 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33127 math_private.h below SET_FLOAT_WORD.
33128 (__isnan, __isinf_ns, __finite): Remove.
33129 (__isnanf, __isinf_nsf, __finitef): Remove.
33131 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33135 2012-03-17 David S. Miller <davem@davemloft.net>
33138 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33141 2012-03-16 David S. Miller <davem@davemloft.net>
33143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33147 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33149 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33150 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33151 sysdep_routines when subdir is sysvipc.
33152 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33153 __getshmlba helper.
33155 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33159 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33162 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33165 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33166 (__lround): Renamed to ...
33167 (__llround): This. Replace long int with long long int.
33168 Define lround functions as aliases of llround functions.
33169 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33173 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33174 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33175 adresses to uintptr_t. Replace "long int" and "unsigned long
33176 int" with "greg_t" on va_arg.
33178 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33181 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33183 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33184 Move e_machine check before EI_CLASS check. Handle x32
33185 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33186 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33187 SKIP_EM_IA_64 and include
33188 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33190 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33191 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33192 (add_system_dir): New macro.
33194 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33195 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33197 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33208 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33210 * math/w_j0f.c (j0f): Likewise.
33212 * math/w_j0l.c (__j0l): Likewise.
33214 * math/w_j1.c (j1): Likewise.
33216 * math/w_j1f.c (j1f): Likewise.
33218 * math/w_j1l.c (__j1l): Likewise.
33220 * math/w_jn.c (jn): Likewise.
33222 * math/w_jnf.c (jnf): Likewise.
33224 * math/w_jnl.c (__jnl): Likewise.
33226 * math/libm-test.inc (j0_test): Add more tests.
33227 (j1_test): Likewise.
33228 (jn_test): Likewise. Add trailing semicolon to existing test.
33229 (y0_test): Likewise.
33230 (y1_test): Likewise.
33231 * sysdeps/i386/fpu/libm-test-ulps: Update.
33232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33236 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33237 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33238 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33239 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33240 (__tanl): Set errno for infinite argument.
33241 * sysdeps/i386/fpu/mptan.c: Remove.
33242 * sysdeps/i386/fpu/s_tan.S: Likewise.
33243 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33244 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33245 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33246 * math/libm-test.inc (tan_test): Add more tests and enable more
33247 tests for double and long double.
33248 * sysdeps/i386/fpu/libm-test-ulps: Update.
33249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33253 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33254 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33256 2012-03-16 Roland McGrath <roland@hack.frob.com>
33258 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33259 * configure.in: Use it for both main tree and add-ons.
33260 * configure: Regenerated.
33262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33264 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33266 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33272 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33273 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33278 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33280 != 0 for prec == 2.
33281 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33282 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33283 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33284 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33285 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33286 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33287 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33288 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33289 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33290 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33291 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33292 * math/libm-test.inc (cos_test): Add more tests and enable more
33293 tests for long double.
33294 (sin_test): Likewise.
33295 (sincos_test): Likewise.
33296 * sysdeps/i386/fpu/libm-test-ulps: Update.
33297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33299 2012-03-16 David S. Miller <davem@davemloft.net>
33301 * sysdeps/sparc/fpu/math_private.h: New file.
33303 2012-03-15 David S. Miller <davem@davemloft.net>
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33319 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33320 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33322 * sysdeps/sparc/sparc-ifunc.h: New file.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33368 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33370 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33374 2012-03-15 Andreas Jaeger <aj@suse.de>
33377 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33378 ieee754/flt-32 implementation for sin, cos and sincos.
33379 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33380 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33381 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33382 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33383 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33384 ieee754/flt-32 implementation for tan.
33386 * math/libm-test.inc (cos_test): Enable some large input tests for
33388 (sin_test): Likewise.
33389 (sincos_test): Likewise.
33390 (tan_test): Add tests for large input.
33392 * sysdeps/i386/fpu/libm-test-ulps: Update.
33394 2012-03-15 Andreas Jaeger <aj@suse.de>
33397 * math/libm-test.inc (cos_test): Add more test cases.
33398 (sin_test): Likewise.
33399 (sincos_test): Likewise.
33401 2012-03-15 Andreas Jaeger <aj@suse.de>
33404 * math/libm-test.inc (cos_test): Add a test case for large input
33406 (sin_test): Likewise.
33407 (sincos_test): Likewise.
33409 2012-03-15 Andreas Jaeger <aj@suse.de>
33410 Joseph Myers <joseph@codesourcery.com>
33413 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33414 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33415 * sysdeps/i386/fpu/branred.c: Likewise.
33416 * sysdeps/i386/fpu/dosincos.c: Likewise.
33417 * sysdeps/i386/fpu/mpa.c: Likewise.
33418 * sysdeps/i386/fpu/s_cos.S: Likewise.
33419 * sysdeps/i386/fpu/s_sin.S: Likewise.
33420 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33421 * sysdeps/i386/fpu/sincos32.c: Likewise.
33423 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33425 (libc_feupdateenv_53bit): Define.
33426 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33428 (libc_feupdateenv_53bit): Define.
33430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33431 53 bit (without extend i386 double precision).
33433 * math/libm-test.inc (sincos_test): Add tests for large input.
33437 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33439 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33443 2012-03-15 David S. Miller <davem@davemloft.net>
33445 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33446 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33447 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33448 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33473 fmin/fmax sysdep routines.
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33476 2012-03-14 David S. Miller <davem@davemloft.net>
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33555 * sysdeps/sparc/configure.in: New file.
33556 * sysdeps/sparc/configure: Generate.
33557 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33558 * configure: Regenerate.
33559 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33560 * config.make.in (have-as-vis3): New.
33561 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33562 available use -Av9d instead of -Av9a.
33563 * sysdeps/sparc/sparc64/Makefile: Likewise.
33564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33575 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33579 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33580 fzeros/fnegs to load 0x80000000 into a float register instead of
33582 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33584 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33588 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33589 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33590 ($(inst_includedir)/bits/syscall.h): Remove rule.
33591 ($(objpfx)bits/syscall.d): Include instead of
33592 $(objpfx)syscall-list.d.
33593 (generated): Change syscall-list.h and syscall-list.d to
33594 bits/syscall.h and bits/syscall.d.
33596 2012-03-14 Roland McGrath <roland@hack.frob.com>
33599 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33601 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33604 * math/s_csqrt.c: Include <float.h>.
33605 (__csqrt): Scale large or subnormal inputs.
33606 * math/s_csqrtf.c: Likewise.
33607 * math/s_csqrtl.c: Likewise.
33608 * math/libm-test.inc (csqrt_test): Add more tests.
33609 * sysdeps/i386/fpu/libm-test-ulps: Update.
33610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33613 * math/libm-test.inc (hypot_test): Add more tests.
33615 2012-03-13 David S. Miller <davem@davemloft.net>
33618 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33619 double-precision for the calculation instead of scaling.
33621 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33623 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33624 manipulate bits before adding and subtracting TWO52[sx].
33625 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33626 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33628 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33630 2012-03-13 David S. Miller <davem@davemloft.net>
33632 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33633 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33635 rtld-global-offsets.h
33636 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33638 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33641 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33643 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33644 'err' in the ifdef scope in which it is actually used.
33646 * nss/nss_db/db-init.c: Include string.h
33648 2012-03-12 David S. Miller <davem@davemloft.net>
33650 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33651 masking out of the most significant byte of random value used.
33652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33653 Fix coding style in previous change.
33655 * sysdeps/unix/sysv/linux/kernel-features.h
33656 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33657 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33659 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33662 2012-03-11 David S. Miller <davem@davemloft.net>
33664 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33665 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33666 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33667 for 'resultvar' otherwise things get truncated on 64-bit.
33669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33670 Fix masking out of the most significant byte of random value used.
33672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33674 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33678 2012-03-09 David S. Miller <davem@davemloft.net>
33680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33681 variables with appropriate CPP guards.
33682 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33683 from the frame pointer, not the stack pointer. Correct layout
33684 comments. Fix test on resulting framesize and the management of
33685 the outregs buffer for pltexit. Preserve floating point return
33686 values across _dl_call_pltexit call.
33687 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33688 framesize and the management of the outregs buffer for pltexit.
33689 Preserve floating point return values across _dl_call_pltexit
33691 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33692 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33693 (la_sparc64_gnu_pltexit): New functions.
33694 (print_exit): Fix format string for return register value.
33696 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33698 * sunrpc/Makefile (others): Add rpcgen.
33699 ($(objpfx)rpcgen): Remove special build rule and dependency on
33701 * sunrpc/rpcgen.c: New file.
33703 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33706 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33707 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33708 * sysdeps/i386/crti.S: Likewise.
33709 * sysdeps/i386/crtn.S: Likewise.
33710 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33711 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33712 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33713 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33714 * sysdeps/sh/crti.S: Likewise.
33715 * sysdeps/sh/crtn.S: Likewise.
33716 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33719 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33721 * locale/programs/locfile-kw.gperf: Likewise.
33722 * locale/programs/charmap-kw.h: Regenerated.
33723 * locale/programs/locfile-kw.h: Likewise.
33726 * intl/plural.y: Replace FSF snail mail address with URL.
33727 * intl/plural.c: Regenerated.
33729 2012-03-09 Richard Henderson <rth@twiddle.net>
33731 * include/math_private.h: Remove file.
33732 * math/math_private.h: Move file ...
33733 * sysdeps/generic/math_private.h: ... here.
33735 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33736 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33737 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33739 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33740 and <math_private.h>.
33741 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33742 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33743 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33744 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33745 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33833 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33834 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33845 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33849 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33850 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33851 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33852 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33853 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33854 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33855 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33856 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33857 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33858 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33859 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33862 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33863 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33864 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33865 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33866 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33867 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33868 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33869 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33870 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33871 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33872 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33873 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33874 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33875 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33876 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33877 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33878 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33879 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33880 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33882 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33883 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33884 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33885 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33886 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33887 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33888 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33889 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33890 * sysdeps/ieee754/k_standard.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34013 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34023 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34039 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34040 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34041 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34051 * sysdeps/ieee754/s_lib_version.c: Likewise.
34052 * sysdeps/ieee754/s_matherr.c: Likewise.
34053 * sysdeps/ieee754/s_signgam.c: Likewise.
34054 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34055 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34056 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34057 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34058 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34059 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34060 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34061 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34062 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34063 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34064 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34065 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34066 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34067 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34068 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34069 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34070 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34072 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34076 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34078 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34079 * sunrpc/rpc_main.c: Likewise.
34080 * sunrpc/rpc_svcout.c: Likewise.
34082 2012-03-09 David S. Miller <davem@davemloft.net>
34084 * include/math_private.h: New file.
34086 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34088 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34089 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34090 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34091 from <bits/socket_type.h>.
34092 (enum __socket_type): Don't define here.
34093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34095 bits/socket_type.h.
34098 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34099 checking __USE_GNU.
34101 * Makerules ($(inst_includedir)/%.h): New rule.
34102 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34103 (install-others): Remove variable setting.
34104 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34106 2012-03-08 Richard Henderson <rth@twiddle.net>
34108 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34109 from macro to inline function; merge with the
34110 !__LIBC_INTERNAL_MATH_INLINES version.
34111 (__ieee754_sqrtf): Likewise.
34113 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34114 to inline function.
34115 (__rintf, __floor, __floorf): Likewise.
34117 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34118 macro to inline function.
34119 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34122 not <math/math_private.h>.
34124 2012-03-08 David S. Miller <davem@davemloft.net>
34126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34128 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34130 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34132 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34134 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34135 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34137 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34139 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34140 be defined individually, they must be defined as a block. Define
34141 S for printing a string instead of hidint the different by using a
34142 macro for adding the 'l'.
34143 * stdio-common/tst-fphex-wide.c: Adjust.
34145 2012-03-07 Marek Polacek <polacek@redhat.com>
34147 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34149 2012-03-08 Marek Polacek <polacek@redhat.com>
34152 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34153 * stdio-common/tst-fphex.c: Define a few macros to make the
34154 test reusable. Use them.
34155 * stdio-common/tst-fphex-wide.c: New file.
34157 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34160 * manual/macros.texi (gnusystems): New macro.
34161 (nongnusystems): Likewise.
34162 (gnulinuxhurdsystems): Likewise.
34163 (gnuhurdsystems): Likewise..
34164 (gnulinuxsystems): Likewise.
34165 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34166 variants of the GNU system, not "GNU system".
34167 * manual/conf.texi: Likewise.
34168 * manual/errno.texi: Likewise. Update example of errno macro
34170 * manual/filesys.texi: Likewise.
34171 (getumask): Document as specific to GNU/Hurd.
34172 * manual/install.texi: Likewise. Reword some references to
34174 * manual/intro.texi: Likewise.
34175 * manual/io.texi: Likewise.
34176 (File Name Portability): Detail which constraints are inapplicable
34177 to all GNU systems and which are only inapplicable to GNU/Hurd.
34178 * manual/job.texi: Likewise.
34179 * manual/llio.texi: Likewise.
34180 (O_NOCTTY): Document as present on GNU/Linux.
34181 * manual/maint.texi: Likewise.
34182 * manual/memory.texi: Likewise.
34183 * manual/pattern.texi: Likewise.
34184 * manual/pipe.texi: Likewise.
34185 * manual/process.texi: Likewise.
34186 * manual/resource.texi: Likewise.
34187 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34189 * manual/setjmp.texi: Likewise.
34190 * manual/signal.texi: Likewise.
34191 * manual/startup.texi: Likewise.
34192 * manual/stdio.texi: Likewise.
34193 * manual/terminal.texi: Likewise.
34194 (ONLCR): Document as POSIX.
34195 (OXTABS): Document availability on GNU/Linux as XTABS.
34196 (ONOEOT): Document availability separately from other bits.
34197 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34198 * manual/time.texi: Likewise.
34199 * manual/users.texi: Likewise.
34200 * INSTALL: Regenerated.
34201 * sysdeps/gnu/errlist.c: Regenerated.
34203 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34204 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34205 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34207 * configure: Regenerated.
34209 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34211 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34212 default includes instead of AC_HEADER_CHECK.
34213 * sysdeps/i386/configure: Regenerated.
34216 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34217 * math/s_cacoshf.c (__cacoshf): Likewise.
34218 * math/s_cacoshl.c (__cacoshl): Likewise.
34219 * math/s_casinh.c (__casinh): Set signs of result from argument.
34220 * math/s_casinhf.c (__casinhf): Likewise.
34221 * math/s_casinhl.c (__casinhl): Likewise.
34222 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34223 (casinh_test): Add more tests.
34224 * sysdeps/i386/fpu/libm-test-ulps: Update.
34225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34227 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34229 * po/zh_TW.po: Update from translation team.
34231 * login/Makefile (distribute): Remove variable.
34232 * catgets/Makefile: Likewise.
34233 * mach/Makefile: Likewise.
34234 * malloc/Makefile: Likewise.
34235 * misc/Makefile: Likewise.
34236 * iconv/Makefile: Likewise.
34237 * nscd/Makefile: Likewise.
34238 * hurd/Makefile: Likewise.
34239 * manual/Makefile: Likewise.
34240 * locale/Makefile: Likewise.
34241 * intl/Makefile: Likewise.
34242 * conform/Makefile: Likewise.
34243 * nss/Makefile: Likewise.
34244 * time/Makefile: Likewise.
34245 * soft-fp/Makefile: Likewise.
34246 * dirent/Makefile: Likewise.
34247 * gmon/Makefile: Likewise.
34248 * po/Makefile: Likewise.
34249 * rt/Makefile: Likewise.
34250 * socket/Makefile: Likewise.
34251 * math/Makefile: Likewise.
34252 * signal/Makefile: Likewise.
34253 * debug/Makefile: Likewise.
34254 * elf/Makefile: Likewise.
34255 * timezone/Makefile: Likewise.
34256 * stdlib/Makefile: Likewise.
34257 * iconvdata/Makefile: Likewise.
34258 * sunrpc/Makefile: Likewise.
34259 * io/Makefile: Likewise.
34260 * argp/Makefile: Likewise.
34261 * inet/Makefile: Likewise.
34262 * hesiod/Makefile: Likewise.
34263 * grp/Makefile: Likewise.
34264 * csu/Makefile: Likewise.
34265 * wctype/Makefile: Likewise.
34266 * crypt/Makefile: Likewise.
34267 * libio/Makefile: Likewise.
34268 * string/Makefile: Likewise.
34269 * nis/Makefile: Likewise.
34270 * resolv/Makefile: Likewise.
34271 * stdio-common/Makefile: Likewise.
34272 * wcsmbs/Makefile: Likewise.
34273 * dlfcn/Makefile: Likewise.
34274 * posix/Makefile: Likewise.
34277 * timezone/Makefile: Don't install timezone files, just the programs
34280 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34282 * nss/databases.def: Add missing gshadow entry.
34284 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34286 2012-03-06 Marek Polacek <polacek@redhat.com>
34289 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34290 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34291 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34292 * stdio-common/tst-long-dbl-fphex.c: New file.
34294 2012-03-06 David S. Miller <davem@davemloft.net>
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34297 (set_obp_int): New function.
34298 (get_obp_int): New function.
34299 (__get_clockfreq_via_dev_openprom): Likewise.
34300 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34301 Avoid unused variable warnings on 'val' and use builtin_expect.
34302 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34304 (INLINE_CLONE_SYSCALL): Likewise.
34306 2012-03-05 David S. Miller <davem@davemloft.net>
34308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34310 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34315 only for |x| >= 40.
34316 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34318 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34321 Replace gettimeofday with __vdso_gettimeofday.
34323 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34324 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34325 __vdso_clock_gettime and __vdso_getcpu.
34327 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34328 time with __vdso_time.
34330 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34332 * manual/lang.texi (size_t): Note types to which size_t may be
34333 equivalent with the GNU C Library, but do not describe when
34334 differences between them are significant.
34336 2012-03-05 Andreas Jaeger <aj@suse.de>
34338 * sysdeps/i386/fpu/libm-test-ulps: Update.
34340 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34343 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34344 (__ieee754_pow): Save and restore rounding mode and use
34345 round-to-nearest for main computations.
34346 * math/libm-test.inc (pow_test_tonearest): New function.
34347 (pow_test_towardzero): Likewise.
34348 (pow_test_downward): Likewise.
34349 (pow_test_upward): Likewise.
34350 (main): Call the new functions.
34351 * sysdeps/i386/fpu/libm-test-ulps: Update.
34352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34355 * math/libm-test.inc (cosh_test_tonearest): New function.
34356 (cosh_test_towardzero): Likewise.
34357 (cosh_test_downward): Likewise.
34358 (cosh_test_upward): Likewise.
34359 (sinh_test_tonearest): Likewise.
34360 (sinh_test_towardzero): Likewise.
34361 (sinh_test_downward): Likewise.
34362 (sinh_test_upward): Likewise.
34363 (main): Call the new functions.
34364 * sysdeps/i386/fpu/libm-test-ulps: Update.
34365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34367 2012-03-05 Tom de Vries <tom@codesourcery.com>
34369 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34370 default stack guard is set in last bytes.
34371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34373 2012-03-05 Kees Cook <keescook@chromium.org>
34375 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34378 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34379 possibly allocate from heap instead of stack.
34380 * stdio-common/bug-vfprintf-nargs.c: New file.
34381 * stdio-common/Makefile (tests): Add nargs overflow test.
34383 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34387 2012-03-03 Marek Polacek <polacek@redhat.com>
34389 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34390 * math/math_private.h: Likewise.
34391 * stdlib/tst-strtod.c: Likewise.
34392 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34393 * sysdeps/x86_64/bits/atomic.h: Likewise.
34395 2012-03-02 David S. Miller <davem@davemloft.net>
34397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34401 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34402 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34403 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34404 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34406 2012-03-02 Roland McGrath <roland@hack.frob.com>
34409 * manual/examples/README: New file, says the example source files
34410 can be used under GPL>=2.
34411 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34412 line containing just "*/".
34413 * manual/examples/add.c: Add copyright header (GPL>=2).
34414 * manual/examples/argp-ex1.c: Likewise.
34415 * manual/examples/argp-ex2.c: Likewise.
34416 * manual/examples/argp-ex3.c: Likewise.
34417 * manual/examples/argp-ex4.c: Likewise.
34418 * manual/examples/atexit.c: Likewise.
34419 * manual/examples/db.c: Likewise.
34420 * manual/examples/dir.c: Likewise.
34421 * manual/examples/dir2.c: Likewise.
34422 * manual/examples/execinfo.c: Likewise.
34423 * manual/examples/filecli.c: Likewise.
34424 * manual/examples/filesrv.c: Likewise.
34425 * manual/examples/fmtmsgexpl.c: Likewise.
34426 * manual/examples/genpass.c: Likewise.
34427 * manual/examples/inetcli.c: Likewise.
34428 * manual/examples/inetsrv.c: Likewise.
34429 * manual/examples/isockad.c: Likewise.
34430 * manual/examples/longopt.c: Likewise.
34431 * manual/examples/memopen.c: Likewise.
34432 * manual/examples/memstrm.c: Likewise.
34433 * manual/examples/mkfsock.c: Likewise.
34434 * manual/examples/mkisock.c: Likewise.
34435 * manual/examples/mygetpass.c: Likewise.
34436 * manual/examples/pipe.c: Likewise.
34437 * manual/examples/popen.c: Likewise.
34438 * manual/examples/rprintf.c: Likewise.
34439 * manual/examples/search.c: Likewise.
34440 * manual/examples/select.c: Likewise.
34441 * manual/examples/setjmp.c: Likewise.
34442 * manual/examples/sigh1.c: Likewise.
34443 * manual/examples/sigusr.c: Likewise.
34444 * manual/examples/stpcpy.c: Likewise.
34445 * manual/examples/strdupa.c: Likewise.
34446 * manual/examples/strftim.c: Likewise.
34447 * manual/examples/strncat.c: Likewise.
34448 * manual/examples/subopt.c: Likewise.
34449 * manual/examples/swapcontext.c: Likewise.
34450 * manual/examples/termios.c: Likewise.
34451 * manual/examples/testopt.c: Likewise.
34452 * manual/examples/testpass.c: Likewise.
34453 * manual/examples/timeval_subtract.c: Likewise.
34456 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34458 * manual/timeval_subtract.c.texi: ... here, new file.
34460 2012-03-02 David S. Miller <davem@davemloft.net>
34462 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34464 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34467 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34468 (__sin): Save and restore rounding mode and use round-to-nearest
34469 for all computations.
34470 (__cos): Save and restore rounding mode and use round-to-nearest
34471 for all computations.
34472 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34474 (tan): Save and restore rounding mode and use round-to-nearest for
34476 * math/libm-test.inc (cos_test_tonearest): New function.
34477 (cos_test_towardzero): Likewise.
34478 (cos_test_downward): Likewise.
34479 (cos_test_upward): Likewise.
34480 (sin_test_tonearest): Likewise.
34481 (sin_test_towardzero): Likewise.
34482 (sin_test_downward): Likewise.
34483 (sin_test_upward): Likewise.
34484 (tan_test_tonearest): Likewise.
34485 (tan_test_towardzero): Likewise.
34486 (tan_test_downward): Likewise.
34487 (tan_test_upward): Likewise.
34488 (main): Call the new functions.
34489 * sysdeps/i386/fpu/libm-test-ulps: Update.
34490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34493 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34494 small n, then large n, before computing and testing k+n.
34495 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34500 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34501 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34508 * math/libm-test.inc (scalbn_test): Add more tests.
34509 (scalbln_test): Likewise.
34511 * manual/filesys.texi (mode_t): Describe constraints on size and
34512 signedness, not exact equivalence to a particular type.
34514 (ino64_t): Likewise.
34516 (nlink_t): Likewise.
34517 (blkcnt_t): Likewise.
34518 (blkcnt64_t): Likewise.
34519 * manual/llio.texi (off_t): Likewise.
34522 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34523 (__ieee754_exp): Save and restore rounding mode and use
34524 round-to-nearest for all computations.
34525 * math/libm-test.inc (exp_test_tonearest): New function.
34526 (exp_test_towardzero): Likewise.
34527 (exp_test_downward): Likewise.
34528 (exp_test_upward): Likewise.
34529 (main): Call the new functions.
34530 * sysdeps/i386/fpu/libm-test-ulps: Update.
34531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34533 2012-03-01 Chris Demetriou <cgd@google.com>
34535 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34536 have predictable order.
34538 2012-03-01 David S. Miller <davem@davemloft.net>
34540 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34542 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34543 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34544 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34545 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34547 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34548 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34549 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34551 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34552 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34553 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34554 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34555 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34560 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34563 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34564 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34565 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34566 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34567 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34568 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34570 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34571 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34572 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34573 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34577 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34579 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34580 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34581 * sysdeps/sparc/elf/configure: Regenerated.
34583 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34585 * configure.in (AS, LD): Require binutils 2.20 or later.
34586 * configure: Regenerated.
34587 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34588 as required minimum version.
34589 * INSTALL: Regenerated.
34593 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34594 before squaring exponent.
34595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34596 bottom long double and 27 bits of top long double before squaring
34598 * math/libm-test.inc (erfc_test): Add more tests.
34599 * sysdeps/i386/fpu/libm-test-ulps: Update.
34600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34603 2012-03-01 Kai Tietz <ktietz@redhat.com>
34605 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34606 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34607 containing bit-fields.
34608 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34609 * soft-fp/single.h (_FP_UNION_S): Likewise.
34610 * soft-fp/double.h (_FP_UNION_D): Likewise.
34612 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34615 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34616 not include ../strcmp.S.
34617 [USE_AS_STRNCASECMP_L]: Likewise.
34618 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34619 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34620 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34621 (__strncasecmp_l_ia32): Define as alias to
34622 __strncasecmp_l_nonascii.
34625 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34626 * sysdeps/i386/fpu/libm-test-ulps: Update.
34627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34629 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34632 2012-02-29 Jeff Law <law@redhat.com>
34634 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34635 out of bounds read.
34637 2012-02-29 Marek Polacek <polacek@redhat.com>
34640 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34641 * elf/Makefile: Add rules to run tst-unused-dep.out.
34643 2012-02-28 David S. Miller <davem@davemloft.net>
34645 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34646 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34649 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34650 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34652 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34654 * math/libm-test.inc (llround_test): Move one test from
34655 lround_test. Use TEST_f_L in moved test.
34656 (lround_test): Move misplaced test to llround_test. Add testcase
34659 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34661 * sysdeps/x86_64/fpu/e_expf.S: New file.
34662 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34664 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34667 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34668 of remain_len that may cause incomplete multi-byte character and
34670 * posix/bug-regex33.c: New file.
34671 * posix/Makefile (tests): Add bug-regex33.
34673 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34675 * manual/macros.texi: New file.
34676 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34677 * manual/libc.texinfo: Include macros.texi.
34678 * manual/creatute.texi: Likewise.
34679 * manual/install.texi: Likewise.
34680 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34681 @glibcadj{} in references to the GNU C Library.
34682 * manual/charset.texi: Likewise.
34683 * manual/conf.texi: Likewise.
34684 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34685 when not using those macros.
34686 * manual/creature.texi: Likewise.
34687 * manual/crypt.texi: Likewise.
34688 * manual/errno.texi: Likewise.
34689 * manual/filesys.texi: Likewise.
34690 * manual/header.texi: Likewise.
34691 * manual/install.texi: Likewise.
34692 * manual/intro.texi: Likewise.
34693 * manual/io.texi: Likewise.
34694 * manual/job.texi: Likewise.
34695 * manual/lang.texi: Likewise.
34696 * manual/libc.texiinfo: Likewise.
34697 * manual/llio.texi: Likewise.
34698 * manual/locale.texi: Likewise.
34699 * manual/maint.texi: Likewise.
34700 * manual/math.texi: Likewise.
34701 * manual/memory.texi: Likewise.
34702 * manual/message.texi: Likewise.
34703 * manual/nss.texi: Likewise.
34704 * manual/pattern.texi: Likewise.
34705 * manual/process.texi: Likewise.
34706 * manual/resource.texi: Likewise.
34707 * manual/search.texi: Likewise.
34708 * manual/setjmp.texi: Likewise.
34709 * manual/signal.texi: Likewise.
34710 * manual/socket.texi: Likewise.
34711 * manual/startup.texi: Likewise.
34712 * manual/stdio.texi: Likewise.
34713 * manual/string.texi: Likewise.
34714 * manual/sysinfo.texi: Likewise.
34715 * manual/syslog.texi: Likewise.
34716 * manual/terminal.texi: Likewise.
34717 * manual/time.texi: Likewise.
34718 * manual/users.texi: Likewise.
34719 * INSTALL: Regenerated.
34720 * NOTES: Regenerated.
34721 * sysdeps/gnu/errlist.c: Regenerated.
34723 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34725 * include/dirent.h: Include <dirstream.h> before
34728 2012-02-28 David S. Miller <davem@davemloft.net>
34730 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34731 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34732 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34735 2012-02-27 David S. Miller <davem@davemloft.net>
34737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34739 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34740 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34743 frame pointer instead of stack pointer relative arg slot.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34748 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34751 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34753 2012-02-27 David S. Miller <davem@davemloft.net>
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34761 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34762 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34764 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34766 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34767 later. Allow versions 5-9.
34768 * configure: Regenerated.
34769 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34770 required minimum version and 4.6 as recommended version. Do not
34771 mention bugs in GCC 2.7 and 2.8.
34772 * INSTALL: Regenerated.
34774 2012-02-27 David S. Miller <davem@davemloft.net>
34776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34782 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34783 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34786 manipulate bits before adding and subtracting TWO112[sx].
34787 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34789 2012-02-27 Roland McGrath <roland@hack.frob.com>
34792 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34793 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34794 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34795 being in POSIX, because they are in 1003.1-2008.
34797 * rt/tst-aio.c: Include <fcntl.h>.
34798 * rt/tst-aio7.c: Likewise.
34799 * rt/tst-aio64.c: Likewise.
34801 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34803 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34805 * manual/install.texi (--with-headers): Describe headers as
34806 interface headers, not private headers.
34807 (Specific advice for GNU/Linux systems): Describe use of headers
34808 from "make headers_install", not private headers from older
34810 * INSTALL: Regenerated.
34811 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34813 * sysdeps/unix/sysv/linux/configure: Regenerated.
34815 * manual/llio.texi (fclean): Remove documentation.
34817 * manual/Makefile (libc-texi-generated): New variable. Include
34819 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34820 $(libc-texi-generated), not duplicated list of files.
34821 (version.texi, stamp-version): New rules.
34822 (realclean): Remove $(libc-texi-generated), not individual files
34823 from that list. Do not remove dir-add.texinfo.
34824 * manual/libc.texinfo: Comment out uses of edition numbers and
34825 references to printed manual. Remove last-updated dates.
34826 (EDITION): Comment out.
34828 (VERSION, UPDATED): Remove.
34829 (version.texi): Include.
34831 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34833 * sysdeps/posix/spawni.c: Include <signal.h>.
34834 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34835 * sysdeps/pthread/aio_fsync.c: Likewise.
34837 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34839 * conform/Makefile (tests): Run only when not cross-compiling and
34840 when fast-check is not defined.
34842 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34843 * conform/data/limits.h-data: Fixes for POSIX2008.
34844 * conform/run-conformtest.sh: Run all tests.
34845 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34847 * include/bits/dlfcn.h: Likewise.
34848 * include/langinfo.h: Likewise.
34849 * include/monetary.h: Likewise.
34850 * include/sys/poll.h: Likewise.
34852 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34854 * posix/spawn.h: Define __need_sigset_t.
34855 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34856 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34857 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34858 to get sigevent_t only.
34859 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34860 only for __USE_GNU.
34861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34862 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34863 process_vm_writev only for __USE_GNU.
34864 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34866 * conform/Makefile: For now ignore errors from run-conformtest.
34867 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34868 POSIX to avoid namespace pollution. Don't prepend headers.
34869 * conform/data/aio.h-data: Fixes for POSIX testing.
34870 * conform/data/fcntl.h-data: Likewise.
34871 * conform/data/glob.h-data: Likewise.
34872 * conform/data/grp.h-data: Likewise.
34873 * conform/data/pthread.h-data: Likewise.
34874 * conform/data/pwd.h-data: Likewise.
34875 * conform/data/signal.h-data: Likewise.
34876 * conform/data/spawn.h-data: Likewise.
34877 * conform/data/stdio.h-data: Likewise.
34878 * conform/data/stdlib.h-data: Likewise.
34879 * conform/data/stropts.h-data: Likewise.
34880 * conform/data/sys/mman.h-data: Likewise.
34881 * conform/data/sys/stat.h-data: Likewise.
34882 * conform/data/sys/types.h-data: Likewise.
34883 * conform/data/sys/wait.h-data: Likewise.
34884 * conform/data/time.h-data: Likewise.
34885 * conform/data/unistd.h-data: Likewise.
34886 * conform/data/utime.h-data: Likewise.
34888 * io/sys/stat.h: fchmod was always in POSIX.
34889 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34890 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34891 * rt/aio.h: Define __need_timespec before including <time.h>.
34892 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34893 struct. Add forward declaration of pthread_attr_t and use it in
34895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34897 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34898 always remove CLK_TCK definition.
34900 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34902 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34904 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34906 * conform/run-conformtest.sh: New file.
34907 * conform/Makefile: Run run-conformtest for tests.
34908 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34911 * conform/data/uchar.h-data: New file.
34912 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34913 * conform/data/arpa/inet.h-data: Likewise.
34914 * conform/data/assert.h-data: Likewise.
34915 * conform/data/complex.h-data: Likewise.
34916 * conform/data/cpio.h-data: Likewise.
34917 * conform/data/ctype.h-data: Likewise.
34918 * conform/data/dirent.h-data: Likewise.
34919 * conform/data/dlfcn.h-data: Likewise.
34920 * conform/data/errno.h-data: Likewise.
34921 * conform/data/fcntl.h-data: Likewise.
34922 * conform/data/float.h-data: Likewise.
34923 * conform/data/fmtmsg.h-data: Likewise.
34924 * conform/data/fnmatch.h-data: Likewise.
34925 * conform/data/ftw.h-data: Likewise.
34926 * conform/data/glob.h-data: Likewise.
34927 * conform/data/grp.h-data: Likewise.
34928 * conform/data/iconv.h-data: Likewise.
34929 * conform/data/inttypes.h-data: Likewise.
34930 * conform/data/langinfo.h-data: Likewise.
34931 * conform/data/libgen.h-data: Likewise.
34932 * conform/data/limits.h-data: Likewise.
34933 * conform/data/locale.h-data: Likewise.
34934 * conform/data/math.h-data: Likewise.
34935 * conform/data/monetary.h-data: Likewise.
34936 * conform/data/mqueue.h-data: Likewise.
34937 * conform/data/ndbm.h-data: Likewise.
34938 * conform/data/net/if.h-data: Likewise.
34939 * conform/data/netdb.h-data: Likewise.
34940 * conform/data/netinet/in.h-data: Likewise.
34941 * conform/data/nl_types.h-data: Likewise.
34942 * conform/data/poll.h-data: Likewise.
34943 * conform/data/pthread.h-data: Likewise.
34944 * conform/data/pwd.h-data: Likewise.
34945 * conform/data/regex.h-data: Likewise.
34946 * conform/data/sched.h-data: Likewise.
34947 * conform/data/search.h-data: Likewise.
34948 * conform/data/semaphore.h-data: Likewise.
34949 * conform/data/setjmp.h-data: Likewise.
34950 * conform/data/signal.h-data: Likewise.
34951 * conform/data/spawn.h-data: Likewise.
34952 * conform/data/stdarg.h-data: Likewise.
34953 * conform/data/stdio.h-data: Likewise.
34954 * conform/data/stdlib.h-data: Likewise.
34955 * conform/data/string.h-data: Likewise.
34956 * conform/data/strings.h-data: Likewise.
34957 * conform/data/stropts.h-data: Likewise.
34958 * conform/data/sys/ipc.h-data: Likewise.
34959 * conform/data/sys/mman.h-data: Likewise.
34960 * conform/data/sys/msg.h-data: Likewise.
34961 * conform/data/sys/resource.h-data: Likewise.
34962 * conform/data/sys/select.h-data: Likewise.
34963 * conform/data/sys/sem.h-data: Likewise.
34964 * conform/data/sys/shm.h-data: Likewise.
34965 * conform/data/sys/socket.h-data: Likewise.
34966 * conform/data/sys/stat.h-data: Likewise.
34967 * conform/data/sys/statvfs.h-data: Likewise.
34968 * conform/data/sys/time.h-data: Likewise.
34969 * conform/data/sys/timeb.h-data: Likewise.
34970 * conform/data/sys/times.h-data: Likewise.
34971 * conform/data/sys/types.h-data: Likewise.
34972 * conform/data/sys/uio.h-data: Likewise.
34973 * conform/data/sys/un.h-data: Likewise.
34974 * conform/data/sys/utsname.h-data: Likewise.
34975 * conform/data/sys/wait.h-data: Likewise.
34976 * conform/data/syslog.h-data: Likewise.
34977 * conform/data/tar.h-data: Likewise.
34978 * conform/data/termios.h-data: Likewise.
34979 * conform/data/utime.h-data: Likewise.
34980 * conform/data/utmpx.h-data: Likewise.
34981 * conform/data/varargs.h-data: Likewise.
34982 * conform/data/wchar.h-data: Likewise.
34983 * conform/data/wctype.h-data: Likewise.
34984 * conform/data/wordexp.h-data: Likewise.
34986 * include/stropts.h: New file.
34987 * include/uchar.h: New file.
34988 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34989 * include/assert.h: Likewise.
34990 * include/ctype.h: Likewise.
34991 * include/dirent.h: Likewise.
34992 * include/dlfcn.h: Likewise.
34993 * include/fcntl.h: Likewise.
34994 * include/fnmatch.h: Likewise.
34995 * include/glob.h: Likewise.
34996 * include/grp.h: Likewise.
34997 * include/libio.h: Likewise.
34998 * include/locale.h: Likewise.
34999 * include/math.h: Likewise.
35000 * include/net/if.h: Likewise.
35001 * include/netdb.h: Likewise.
35002 * include/netinet/in.h: Likewise.
35003 * include/pthread.h: Likewise.
35004 * include/pwd.h: Likewise.
35005 * include/regex.h: Likewise.
35006 * include/sched.h: Likewise.
35007 * include/search.h: Likewise.
35008 * include/setjmp.h: Likewise.
35009 * include/signal.h: Likewise.
35010 * include/stdio.h: Likewise.
35011 * include/stdlib.h: Likewise.
35012 * include/string.h: Likewise.
35013 * include/sys/cdefs.h: Likewise.
35014 * include/sys/mman.h: Likewise.
35015 * include/sys/msg.h: Likewise.
35016 * include/sys/resource.h: Likewise.
35017 * include/sys/select.h: Likewise.
35018 * include/sys/socket.h: Likewise.
35019 * include/sys/stat.h: Likewise.
35020 * include/sys/statvfs.h: Likewise.
35021 * include/sys/time.h: Likewise.
35022 * include/sys/times.h: Likewise.
35023 * include/sys/uio.h: Likewise.
35024 * include/sys/utsname.h: Likewise.
35025 * include/sys/wait.h: Likewise.
35026 * include/termios.h: Likewise.
35027 * include/time.h: Likewise.
35028 * include/ulimit.h: Likewise.
35029 * include/unistd.h: Likewise.
35030 * include/utime.h: Likewise.
35031 * include/wchar.h: Likewise.
35032 * include/wctype.h: Likewise.
35033 * include/wordexp.h: Likewise.
35035 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35037 * time/time.h: TIME_UTC must be a macro.
35038 Make timespec_get available for ISO C11 only as well.
35040 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35042 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35043 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35045 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35047 * configure.in: Use -o not -a in test for unsupported multi-arch.
35049 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35051 * manual/texinfo.tex: Update to version 2012-01-19.16.
35053 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35055 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35057 2012-02-24 Roland McGrath <roland@hack.frob.com>
35060 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35061 * manual/fdl-1.3.texi: New file.
35062 * manual/fdl-1.1.texi: File removed.
35065 * manual/libc.texinfo (FDL_VERSION): New @set.
35066 Use it for mention of FDL in cover text.
35067 (Documentation License): Use it in @include file name.
35069 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35070 Roland McGrath <roland@hack.frob.com>
35073 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35074 (not LONG_LONG_MAX and LONG_LONG_MIN.
35075 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35076 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35078 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35080 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35084 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35085 manipulate bits before adding and subtracting TWO23[sx].
35086 * math/libm-test.inc (nearbyint_test): Add more tests.
35088 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35091 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35092 bits before adding and subtracting TWO23[sx].
35093 * math/libm-test.inc (rint_test): Add more tests.
35094 (rint_test_tonearest): Likewise.
35095 (rint_test_towardzero): Likewise.
35096 (rint_test_downward): Likewise.
35097 (rint_test_upward: Likewise.
35099 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35102 * include/stdc-predef.h: New file. Extracted from features.h.
35103 * include/features.h: Include stdc-predef.h.
35104 * Makefile (headers): Add stdc-predef.h.
35105 * CONFORMANCE (Compiler limitations): Update.
35107 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35109 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35111 2012-02-21 David S. Miller <davem@davemloft.net>
35113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35116 2012-02-20 David S. Miller <davem@davemloft.net>
35118 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35119 using a normal save/restore sequence, rather than allocating a
35120 dummy stack frame just to store a frame pointer and restore.
35121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35123 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35125 * manual/install.texi: Fix stray word in line-wrapped comment.
35127 2012-02-20 David S. Miller <davem@davemloft.net>
35129 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35130 both binutils and gcc support GOTDATA.
35132 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35133 "rd %pc" in the PIC register setup sequences.
35135 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35136 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35137 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35138 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35139 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35141 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35144 (SYSCALL_ERROR_HANDLER): Likewise.
35145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35148 (SYSCALL_ERROR_HANDLER): Likewise.
35150 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35151 (HAVE_GCC_GOTDATA): New.
35152 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35153 relocation support in both binutils and gcc.
35154 * sysdeps/sparc/elf/configure: Regenerate.
35156 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35157 * sysdeps/sparc/sparc32/elf/configure: Delete.
35158 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35159 * sysdeps/sparc/sparc64/elf/configure: Delete.
35160 * sysdeps/sparc/elf/configure.in: New file.
35161 * sysdeps/sparc/elf/configure: Generate.
35163 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35164 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35166 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35167 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35171 * manual/install.texi: Do not mention specific glibc version
35173 * manual/libc.texinfo (VERSION, UPDATED): Update.
35174 (@copying): Use @copyright{} and range of years.
35176 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35179 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35180 [crti.S not in sysdirs] (generated): Do not append.
35181 [crti.S not in sysdirs] (omit-deps): Likewise.
35182 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35183 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35184 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35185 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35186 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35188 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35189 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35190 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35191 * csu/defs.awk: Remove file.
35192 * sysdeps/generic/initfini.c: Likewise.
35193 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35195 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35198 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35201 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35202 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35204 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35205 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35207 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35208 (__EPOLL_PACKED): Define to empty if not defined by
35210 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35214 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35216 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35217 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35218 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35219 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35221 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35225 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35227 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35230 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35234 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35239 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35241 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35242 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35244 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35246 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35249 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35251 * math/w_acos.c: Use non-signaling floating-point comparisons.
35252 * math/w_acosf.c: Likewise.
35253 * math/w_acosh.c: Likewise.
35254 * math/w_acoshf.c: Likewise.
35255 * math/w_acoshl.c: Likewise.
35256 * math/w_acosl.c: Likewise.
35257 * math/w_asin.c: Likewise.
35258 * math/w_asinf.c: Likewise.
35259 * math/w_asinl.c: Likewise.
35260 * math/w_atanh.c: Likewise.
35261 * math/w_atanhf.c: Likewise.
35262 * math/w_atanhl.c: Likewise.
35263 * math/w_exp2.c: Likewise.
35264 * math/w_exp2f.c: Likewise.
35265 * math/w_exp2l.c: Likewise.
35266 * math/w_j0.c: Likewise.
35267 * math/w_j0f.c: Likewise.
35268 * math/w_j0l.c: Likewise.
35269 * math/w_j1.c: Likewise.
35270 * math/w_j1f.c: Likewise.
35271 * math/w_j1l.c: Likewise.
35272 * math/w_jn.c: Likewise.
35273 * math/w_jnf.c: Likewise.
35274 * math/w_log.c: Likewise.
35275 * math/w_log10.c: Likewise.
35276 * math/w_log10f.c: Likewise.
35277 * math/w_log10l.c: Likewise.
35278 * math/w_log2.c: Likewise.
35279 * math/w_log2f.c: Likewise.
35280 * math/w_log2l.c: Likewise.
35281 * math/w_logf.c: Likewise.
35282 * math/w_logl.c: Likewise.
35283 * math/w_sqrt.c: Likewise.
35284 * math/w_sqrtf.c: Likewise.
35285 * math/w_sqrtl.c: Likewise.
35286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35287 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35289 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35290 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35292 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35295 * manual/string.texi (strnlen): Use correct parameter name in
35296 equivalent expression.
35298 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35301 * manual/users.texi (seteuid): Consistently use neweuid for
35304 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35307 * manual/nss.texi (Services in the NSS configuration): Correct
35308 list of services in example configuration file.
35310 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35313 * manual/arith.texi: Remove statements about negative zero
35314 behaving identically to zero.
35316 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35319 * manual/install.texi: Do not document upgrading from libc5.
35321 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35324 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35326 2012-02-18 David S. Miller <davem@davemloft.net>
35328 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35329 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35330 %o7 across the call.
35331 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35334 SETUP_PIC_REG_LEAF.
35335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35336 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35337 * sysdeps/sparc/crtn.S: Likewise.
35339 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35341 * aout/Makefile: Remove.
35343 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35346 * manual/examples/argp-ex1.c (main): Format definition in GNU
35348 * manual/examples/argp-ex2.c (main): Likewise.
35349 * manual/examples/argp-ex3.c (main): Likewise.
35350 * manual/examples/argp-ex4.c (main): Likewise.
35351 * manual/examples/longopt.c (main): Use new-style prototype
35353 * manual/examples/strncat.c (main): Specify return type and use
35354 (void) for arguments.
35355 * manual/examples/subopt.c (main): Use char **argv argument.
35357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35360 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35363 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35366 * manual/string.texi (strchr): Change when strchrnul is
35369 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35372 * manual/locale.texi (setlocale): Document LOCPATH.
35374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35377 * manual/process.texi (execle): Move @dots{} before last argument.
35379 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35382 * manual/charset.texi (Generic Charset Conversion): Fix typo
35383 (LC_TYPE -> LC_CTYPE).
35385 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35388 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35389 (scalbnf): Likewise.
35390 (scalbnl): Likewise.
35391 (scalbln): Likewise.
35392 (scalblnf): Likewise.
35393 (scalblnl): Likewise.
35394 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35395 (vwarnx): Likewise.
35398 * manual/filesys.texi (telldir): Use braces around return type.
35399 * manual/llio.texi (mmap): Add space after comma.
35400 (mmap64): Likewise.
35401 * manual/math.texi (jn): Use @var{} on parameter names.
35407 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35409 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35411 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35412 (sched_get_priority_max): Likewise.
35413 * manual/signal.texi (sigvec): Add space after comma.
35414 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35416 (if_indextoname): Likewise.
35417 (if_freenameindex): Likewise.
35418 (sendto): Use ',' instead of '.' in prototype.
35419 * manual/startup.texi (syscall): Use @dots{} instead of literal
35421 * manual/stdio.texi (__fpending): Separate initial words of
35422 paragraph from @deftypefun line.
35423 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35425 (vsyslog): Use @var{} on parameter names.
35426 * manual/terminal.texi (stty): Use @var{} on parameter names.
35427 * manual/users.texi (getutmp): Use @var{} on parameter names.
35428 (getutmpx): Likewise.
35430 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35433 * manual/stdio.texi (fopen): Fix typos in description of
35436 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35439 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35440 get clock_id definition.
35442 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35445 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35446 (madvise): Cast every argument to void on its own.
35448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35451 * manual/startup.texi (Exit Status): Fix typo.
35453 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35456 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35457 * manual/examples/argp-ex2.c: Likewise.
35458 * manual/examples/argp-ex3.c: Likewise.
35460 2012-02-16 Richard Henderson <rth@redhat.com>
35462 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35463 * sysdeps/s390/s390-32/initfini.c: Remove.
35464 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35465 * sysdeps/s390/s390-64/initfini.c: Remove.
35467 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35469 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35470 compiler output for sysdeps/generic/initfini.c.
35471 * sysdeps/sh/elf/initfini.c: Remove file.
35473 2012-02-16 David S. Miller <davem@davemloft.net>
35476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35478 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35479 * sysdeps/sparc/crti.S: New file.
35480 * sysdeps/sparc/crtn.S: New file.
35481 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35482 * sysdeps/sparc/sparc64/Makefile: Likewise.
35484 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35487 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35489 2012-02-15 Roland McGrath <roland@hack.frob.com>
35492 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35494 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35495 (write, read, close): Likewise.
35496 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35498 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35500 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35501 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35502 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35503 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35505 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35509 2012-02-14 Marek Polacek <polacek@redhat.com>
35511 * sysdeps/x86_64/crti.S: New file.
35512 * sysdeps/x86_64/crtn.S: New file.
35513 * sysdeps/x86_64/elf/initfini.c: Remove file.
35515 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35517 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35518 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35519 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35520 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35522 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35526 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35528 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35529 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35530 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35531 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35533 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35537 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35539 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35540 __feraiseexcept instead of feraiseexcept.
35542 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35543 nanosleep invocations.
35544 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35545 strings, and add error checking for a nanosleep invocations.
35547 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35549 Replace FSF snail mail address with URLs, as per GNU coding standards.
35550 Most of the snail mail addresses were wrong anyway, and omitting
35551 them makes the source code easier to maintain. Almost all of the
35552 changes are to license notices and to locale LC_IDENTIFICATION
35553 addresses, except for this one:
35554 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35555 not its snail mail address.
35557 2012-02-09 Richard Henderson <rth@twiddle.net>
35559 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35560 of kernel-features.h.
35562 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35564 2012-02-08 Marek Polacek <polacek@redhat.com>
35566 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35567 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35568 * sysdeps/gnu/_G_config.h: Likewise.
35569 * sysdeps/generic/_G_config.h: Likewise.
35571 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35573 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35577 * sysdeps/powerpc/powerpc32/crti.S: New file.
35578 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35579 * sysdeps/powerpc/powerpc64/crti.S: New file.
35580 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35582 * Makeconfig (have-initfini): Don't set.
35583 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35584 * configure.in (nopic_initfini): Don't substitute.
35585 * config.h.in (HAVE_INITFINI): Don't #undef.
35586 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35587 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35589 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35591 Support crti.S and crtn.S provided directly by architectures.
35592 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35593 [crti.S in sysdirs] (omit-deps): Likewise.
35594 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35595 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35596 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35597 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35598 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35599 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35600 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35601 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35602 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35603 compiler output for sysdeps/generic/initfini.c.
35604 * sysdeps/i386/elf/Makefile: Remove file.
35605 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35607 2012-02-07 Marek Polacek <polacek@redhat.com>
35609 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35610 * sysdeps/gnu/_G_config.h: Likewise.
35611 * sysdeps/mach/hurd/_G_config.h: Likewise.
35613 2012-02-07 Marek Polacek <polacek@redhat.com>
35615 * math/Makefile (tests): Add tst-CMPLX2.
35616 * math/tst-CMPLX2.c: New file.
35618 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35620 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35622 * math/libm-test.inc (jn_test): Add missing L suffix.
35624 2012-02-06 Marek Polacek <polacek@redhat.com>
35626 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35627 * sysdeps/i386/fpu/e_powf.S: Likewise.
35628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35629 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35631 * sysdeps/i386/fpu/e_pow.S: Likewise.
35632 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35633 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35634 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35635 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35636 * sysdeps/i386/fpu/e_log2.S: Likewise.
35637 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35638 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35639 * sysdeps/i386/fpu/e_powl.S: Likewise.
35640 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35641 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35642 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35643 * sysdeps/i386/fpu/e_logl.S: Likewise.
35644 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35645 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35646 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35647 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35648 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35650 * sysdeps/i386/fpu/e_log.S: Likewise.
35651 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35652 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35653 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35654 * sysdeps/i386/fpu/e_logf.S: Likewise.
35655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35657 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35658 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35659 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35660 * sysdeps/i386/fpu/e_log10.S: Likewise.
35661 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35663 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35664 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35666 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35667 * sysdeps/i386/asm-syntax.h: Likewise.
35668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35671 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35672 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35673 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35674 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35675 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35677 * sysdeps/powerpc/sysdep.h: Likewise.
35678 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35679 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35681 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35684 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35686 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35688 * sysdeps/i386/sysdep.h: Include <features.h>.
35689 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35692 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35694 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35696 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35699 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35701 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35702 (SETUP_PIC_REG): Use GET_PC_THUNK.
35703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35706 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35709 for non-PIC compilation.
35710 (SETUP_PIC_REG): Add .p2align directive.
35711 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35712 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35713 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35714 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35716 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35719 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35720 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35721 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35722 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35723 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35724 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35725 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35726 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35727 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35728 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35729 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35730 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35731 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35733 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35734 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35737 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35739 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35740 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35741 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35743 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35744 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35745 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35746 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35747 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35748 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35749 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35750 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35751 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35753 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35755 * math/tst-CMPLX.c: Include <stdio.h>.
35757 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35759 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35761 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35762 * sysdeps/sparc/bits/mathdef.h: Likewise.
35764 2012-01-31 Marek Polacek <polacek@redhat.com>
35766 * libio/libio.h: Don't define _PARAMS.
35767 * locale/programs/config.h: Don't define PARAMS.
35768 * stdlib/strtol_l.c: Likewise.
35769 (__strtol_l): Remove PARAMS from the prototype.
35771 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35773 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35774 names. Just use the correct names. Remove unnecessary wrapper
35776 * malloc/arena.c: Likewise.
35777 * malloc/hooks.c: Likewise.
35779 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35780 ARENA_TEST says not to. Simplify test for creation of a new arena.
35781 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35783 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35785 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35787 (update_get_addr): New function.
35788 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35789 GET_ADDR_MODULE parameter.
35791 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35793 * crypt/cert.c: Remove __STDC__ conditionals.
35794 * crypt/crypt-entry.c: Likewise.
35795 * crypt/crypt_util.c: Likewise.
35796 * libio/filedoalloc.c: Likewise.
35797 * libio/fileops.c: Likewise.
35798 * libio/genops.c: Likewise.
35799 * libio/iofclose.c: Likewise.
35800 * libio/iofdopen.c: Likewise.
35801 * libio/iofopen.c: Likewise.
35802 * libio/iofopen64.c: Likewise.
35803 * libio/iogetdelim.c: Likewise.
35804 * libio/iopopen.c: Likewise.
35805 * libio/obprintf.c: Likewise.
35806 * libio/oldfileops.c: Likewise.
35807 * libio/oldiofclose.c: Likewise.
35808 * libio/oldiofdopen.c: Likewise.
35809 * libio/oldiofopen.c: Likewise.
35810 * libio/oldiopopen.c: Likewise.
35811 * libio/wfiledoalloc.c: Likewise.
35812 * libio/wgenops.c: Likewise.
35813 * locale/programs/xmalloc.c: Likewise.
35814 * misc/syslog.c: Likewise.
35815 * stdio-common/xbug.c: Likewise.
35816 * string/memchr.c: Likewise.
35817 * string/memcmp.c: Likewise.
35818 * string/memrchr.c: Likewise.
35819 * string/rawmemchr.c: Likewise.
35820 * sysdeps/posix/getcwd.c: Likewise.
35821 * time/strftime_l.c: Likewise.
35823 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35825 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35826 * config.make.in (config-cflags-sse2avx): Define.
35827 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35830 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35832 * scripts/config.guess: Update from upstream config git repository.
35833 * scripts/config.sub: Likewise.
35835 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35837 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35839 (R_TILEPRO_*, R_TILEGX_*): New macros.
35841 * scripts/firstversions.awk: Fix bug in version range handling.
35843 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35845 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35847 * include/sys/epoll.h: New file.
35848 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35851 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35853 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35854 Avoid unnecessary __WORDSIZE == 64 test.
35855 (fmaxf): Use VEX format if possible.
35860 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35861 * math/math_private.h: Remove libc_fegetround* and
35863 * sysdeps/i386/configure.in: Check for -msse2avx.
35864 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35865 also if SSE2AVX is defined.
35866 Remove libc_fegetround* and libc_fesetround*.
35867 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35868 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35877 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35879 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35881 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35883 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35885 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35888 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35890 * Makeconfig (libm): Define.
35891 * elf/Makefile: Add rules to build and run tst-relsort1.
35892 * elf/tst-relsort1.c: New file.
35893 * elf/tst-relsort1mod1.c: New file.
35894 * elf/tst-relsort1mod2.c: New file.
35896 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35898 * math/s_ldexp.c: Remove __STDC__ conditionals.
35899 * math/s_ldexpf.c: Likewise.
35900 * math/s_ldexpl.c: Likewise.
35901 * math/s_nextafter.c: Likewise.
35902 * math/s_nexttowardf.c: Likewise.
35903 * math/s_significand.c: Likewise.
35904 * math/s_significandf.c: Likewise.
35905 * math/s_significandl.c: Likewise.
35906 * math/w_jnl.c: Likewise.
35907 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35908 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35909 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35910 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35911 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35928 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35929 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35930 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35931 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35932 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35934 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35935 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35936 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35937 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35938 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35941 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35942 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35947 * sysdeps/ieee754/k_standard.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35980 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35983 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35991 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36009 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36014 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36022 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36027 * sysdeps/ieee754/s_matherr.c: Likewise.
36028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36033 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36035 * crypt/md5.h: Remove __STDC__ conditionals.
36036 * libio/libioP.h: Likewise.
36037 * locale/programs/config.h: Likewise.
36038 * sysdeps/generic/sysdep.h: Likewise.
36039 * sysdeps/i386/asm-syntax.h: Likewise.
36040 * sysdeps/s390/asm-syntax.h: Likewise.
36041 * sysdeps/unix/sysdep.h: Likewise.
36042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36045 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36047 * libio/libio.h: Remove __STDC__ conditionals.
36048 * malloc/obstack.h: Likewise.
36049 * math/complex.h: Likewise.
36050 * math/math.h: Likewise.
36051 * sysdeps/generic/_G_config.h: Likewise.
36052 * sysdeps/gnu/_G_config.h: Likewise.
36053 * sysdeps/mach/hurd/_G_config.h: Likewise.
36054 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36055 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36056 * sysdeps/sparc/bits/mathdef.h: Likewise.
36058 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36061 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36062 Clean up HAS_* macros.
36063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36064 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36072 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36074 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36076 * elf/tst-unique3.cc (gets): Remove declaration.
36077 * elf/tst-unique3lib.cc (gets): Likewise.
36078 * elf/tst-unique3lib2.cc (gets): Likewise.
36079 * elf/tst-unique4.cc (gets): Likewise.
36081 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36083 * include/stdio.h: Add C++ protection. Add gets declarations and
36085 * debug/tst-chk1.c: Don't declare gets here.
36086 * stdio-common/tst-gets.c: Likewise.
36088 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36090 * posix/glob: Remove directory.
36092 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36094 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36096 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36098 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36099 of the non-standard EPFNOSUPPORT.
36101 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36103 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36104 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36105 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36107 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36109 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36111 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36113 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36115 * nscd/grpcache.c (cache_addgr): Likewise.
36116 * nscd/hstcache.c (cache_addhst): Likewise.
36117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36118 * nscd/pwdcache.c (cache_addpw): Likewise.
36119 * nscd/servicescache.c (cache_addserv): Likewise.
36121 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36123 * malloc/malloc.c: Various cleanups.
36124 * malloc/hooks.c: Likewise.
36126 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36127 * stdlib/bug-fmtmsg1.c: New file.
36129 * stdlib/fmtmsg.c (init): Add missing unlock.
36130 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36132 2012-01-12 Marek Polacek <polacek@redhat.com>
36134 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36137 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36139 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36141 macro to ensure uniqueness of label name.
36142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36145 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36147 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36149 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36150 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36151 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36154 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36158 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36159 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36162 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36164 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36165 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36166 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36169 * math/bits/math-finite.h: Add ldexp support.
36171 2012-01-10 Marek Polacek <polacek@redhat.com>
36173 * locale/programs/localedef.h (show_archive_content): Add noreturn
36176 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36178 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36180 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36182 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36184 * io/Makefile (headers): Add bits/poll2.h.
36186 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36189 typo #include statement.
36191 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36193 * include/sys/cdefs.h: Define __attribute_alloc_size.
36194 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36195 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36196 * elf/pldd.c: Likewise.
36197 * iconv/iconv_charmap.c: Likewise.
36198 * iconv/iconvconfig.c: Likewise.
36199 * iconv/strtab.c: Likewise.
36200 * locale/programs/locale.c: Likewise.
36201 * locale/programs/localedef.h: Likewise.
36202 * locale/programs/simple-hash.c: Likewise.
36203 * nscd/nscd.h: Likewise.
36204 * nss/makedb.c: Likewise.
36205 * sysdeps/generic/ldconfig.h: Likewise.
36206 * locale/programs/localedef.c: Remove xmalloc prototype.
36207 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36209 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36211 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36214 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36216 * math/Makefile (tests): Add tst-CMPLX.
36217 * math/tst-CMPLX.c: New file.
36219 * math/complex.h (CMPLXL): Fix typo.
36221 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36222 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36224 * debug/tst-chk1.c: Add poll and ppoll tests.
36225 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36226 * include/sys/poll.h: Add hidden proto for ppoll.
36227 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36228 * sysdeps/mach/hurd/ppoll.c: Likewise.
36229 * io/ppoll.c: Likewise.
36230 * debug/poll_chk.c: New file.
36231 * debug/ppoll_chk.c: New file.
36232 * include/bits/poll2.h: New file.
36233 * io/bits/poll2.h: New file.
36236 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36238 * configure.in: static is always set to yes. Remove.
36239 * config.make.in: Don't set build-static.
36240 * Makeconfig: Remove use of build-static.
36241 * dlfcn/Makefile: Likewise.
36242 * elf/Makefile: Likewise.
36243 * math/Makefile: Likewise.
36244 * misc/Makefile: Likewise.
36245 * nptl/Makefile: Likewise.
36246 * sysdeps/mach/hurd/Makefile: Likewise.
36248 * configure.in: PWD_P is not used anymore.
36249 * config.make.in: Remove PWD_P entry.
36251 * configure.in: Remove last remnants of RANLIB.
36252 No need to check for signed size_t anymore.
36253 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36255 Remove __builtin_expect test because we require at least gcc 3.4.
36256 * aclocal.m4: Likewise.
36258 * wcsmbs/mbrtoc16.c: Implement using towc function.
36259 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36260 * wcsmbs/wcsmbsload.c: Likewise.
36261 * iconv/gconv_simple.c: Likewise.
36262 * iconv/gconv_int.h: Likewise.
36263 * iconv/gconv_builtin.h: Likewise.
36264 * iconv/iconv_prog.c: Remove CHAR16 handling.
36266 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36268 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36270 * configure.in: Remove --with-elf and --enable-bounded options.
36271 Dont set base_machine for ia64. More non-ELF conditions removed.
36272 Remove testing and setting of leading underscore information.
36273 * config.make.in (build-bounded): Set to no.
36274 * config.h.in: Remove NO_UNDERSCORES entry.
36275 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36277 * csu/start.c: Remove !NO_UNDERSCORE code.
36278 * locale/localeinfo.h: Likewise.
36279 * sysdeps/generic/machine-gmon.h: Likewise.
36280 * sysdeps/generic/sysdep.h: Likewise.
36281 * sysdeps/i386/sysdep.h: Likewise.
36282 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36283 * sysdeps/mach/sysdep.h: Likewise.
36284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36286 * sysdeps/sh/sysdep.h: Likewise.
36287 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36288 * sysdeps/unix/i386/sysdep.S: Likewise.
36289 * sysdeps/unix/sparc/start.c: Likewise.
36290 * sysdeps/unix/sparc/sysdep.S: Likewise.
36291 * sysdeps/unix/sparc/sysdep.h: Likewise.
36292 * sysdeps/unix/start.c: Likewise.
36293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36294 * sysdeps/x86_64/sysdep.h: Likewise.
36296 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36299 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36301 * argp/argp-fmtstream.h: Use const instead __const.
36302 * argp/argp.h: Likewise.
36303 * assert/assert.h: Likewise.
36304 * bits/fenv.h: Likewise.
36305 * bits/sched.h: Likewise.
36306 * bits/sigset.h: Likewise.
36307 * bits/sigthread.h: Likewise.
36308 * catgets/nl_types.h: Likewise.
36309 * conform/data/pthread.h-data: Likewise.
36310 * crypt/crypt-private.h: Likewise.
36311 * crypt/crypt.h: Likewise.
36312 * crypt/crypt_util.c: Likewise.
36313 * ctype/ctype.h: Likewise.
36314 * debug/execinfo.h: Likewise.
36315 * debug/mbsnrtowcs_chk.c: Likewise.
36316 * debug/mbsrtowcs_chk.c: Likewise.
36317 * debug/wcsnrtombs_chk.c: Likewise.
36318 * debug/wcsrtombs_chk.c: Likewise.
36319 * debug/wcstombs_chk.c: Likewise.
36320 * dirent/dirent.h: Likewise.
36321 * dlfcn/dlfcn.h: Likewise.
36322 * elf/neededtest4.c: Likewise.
36323 * grp/grp.h: Likewise.
36324 * gshadow/gshadow.h: Likewise.
36325 * iconv/gconv.h: Likewise.
36326 * iconv/gconv_int.h: Likewise.
36327 * iconv/gconv_simple.c: Likewise.
36328 * iconv/iconv.h: Likewise.
36329 * iconv/loop.c: Likewise.
36330 * iconv/skeleton.c: Likewise.
36331 * include/aio.h: Likewise.
36332 * include/aliases.h: Likewise.
36333 * include/argz.h: Likewise.
36334 * include/arpa/inet.h: Likewise.
36335 * include/assert.h: Likewise.
36336 * include/dirent.h: Likewise.
36337 * include/dlfcn.h: Likewise.
36338 * include/execinfo.h: Likewise.
36339 * include/fcntl.h: Likewise.
36340 * include/fenv.h: Likewise.
36341 * include/glob.h: Likewise.
36342 * include/grp.h: Likewise.
36343 * include/libintl.h: Likewise.
36344 * include/mntent.h: Likewise.
36345 * include/netdb.h: Likewise.
36346 * include/pwd.h: Likewise.
36347 * include/rpc/netdb.h: Likewise.
36348 * include/sched.h: Likewise.
36349 * include/search.h: Likewise.
36350 * include/shadow.h: Likewise.
36351 * include/signal.h: Likewise.
36352 * include/stdio.h: Likewise.
36353 * include/stdlib.h: Likewise.
36354 * include/string.h: Likewise.
36355 * include/sys/socket.h: Likewise.
36356 * include/sys/stat.h: Likewise.
36357 * include/sys/statfs.h: Likewise.
36358 * include/sys/statvfs.h: Likewise.
36359 * include/sys/syslog.h: Likewise.
36360 * include/sys/time.h: Likewise.
36361 * include/sys/uio.h: Likewise.
36362 * include/time.h: Likewise.
36363 * include/unistd.h: Likewise.
36364 * include/utmp.h: Likewise.
36365 * include/wchar.h: Likewise.
36366 * include/wctype.h: Likewise.
36367 * inet/aliases.h: Likewise.
36368 * inet/arpa/inet.h: Likewise.
36369 * inet/netinet/ether.h: Likewise.
36370 * inet/netinet/in.h: Likewise.
36371 * intl/libintl.h: Likewise.
36372 * io/bits/fcntl2.h: Likewise.
36373 * io/fcntl.h: Likewise.
36374 * io/ftw.h: Likewise.
36375 * io/sys/poll.h: Likewise.
36376 * io/sys/stat.h: Likewise.
36377 * io/sys/statfs.h: Likewise.
36378 * io/sys/statvfs.h: Likewise.
36379 * io/utime.h: Likewise.
36380 * libio/bits/stdio.h: Likewise.
36381 * libio/bits/stdio2.h: Likewise.
36382 * libio/libio.h: Likewise.
36383 * libio/libioP.h: Likewise.
36384 * libio/stdio.h: Likewise.
36385 * locale/lc-ctype.c: Likewise.
36386 * locale/locale.h: Likewise.
36387 * login/utmp.h: Likewise.
36388 * malloc/arena.c: Likewise.
36389 * malloc/malloc.c: Likewise.
36390 * malloc/malloc.h: Likewise.
36391 * malloc/mcheck.c: Likewise.
36392 * malloc/mtrace.c: Likewise.
36393 * math/bits/mathcalls.h: Likewise.
36394 * math/fenv.h: Likewise.
36395 * math/math_private.h: Likewise.
36396 * misc/bits/error.h: Likewise.
36397 * misc/bits/syslog.h: Likewise.
36398 * misc/err.h: Likewise.
36399 * misc/error.h: Likewise.
36400 * misc/fstab.h: Likewise.
36401 * misc/mntent.h: Likewise.
36402 * misc/regexp.h: Likewise.
36403 * misc/search.h: Likewise.
36404 * misc/sgtty.h: Likewise.
36405 * misc/sys/mman.h: Likewise.
36406 * misc/sys/syslog.h: Likewise.
36407 * misc/sys/uio.h: Likewise.
36408 * misc/sys/xattr.h: Likewise.
36409 * misc/ttyent.h: Likewise.
36410 * nis/rpcsvc/ypclnt.h: Likewise.
36411 * nss/nss.h: Likewise.
36412 * posix/bits/unistd.h: Likewise.
36413 * posix/fnmatch.h: Likewise.
36414 * posix/glob.h: Likewise.
36415 * posix/sched.h: Likewise.
36416 * posix/spawn.h: Likewise.
36417 * posix/sys/wait.h: Likewise.
36418 * posix/unistd.h: Likewise.
36419 * posix/wordexp.h: Likewise.
36420 * pwd/pwd.h: Likewise.
36421 * resolv/netdb.h: Likewise.
36422 * resource/sys/resource.h: Likewise.
36423 * rt/aio.h: Likewise.
36424 * rt/bits/mqueue2.h: Likewise.
36425 * rt/mqueue.h: Likewise.
36426 * shadow/shadow.h: Likewise.
36427 * signal/signal.h: Likewise.
36428 * socket/send.c: Likewise.
36429 * socket/sendto.c: Likewise.
36430 * socket/sys/socket.h: Likewise.
36431 * stdio-common/printf.h: Likewise.
36432 * stdlib/bits/stdlib.h: Likewise.
36433 * stdlib/fmtmsg.h: Likewise.
36434 * stdlib/monetary.h: Likewise.
36435 * stdlib/stdlib.h: Likewise.
36436 * stdlib/ucontext.h: Likewise.
36437 * streams/stropts.h: Likewise.
36438 * string/argz.h: Likewise.
36439 * string/bits/string2.h: Likewise.
36440 * string/string.h: Likewise.
36441 * string/strings.h: Likewise.
36442 * sunrpc/rpc/auth.h: Likewise.
36443 * sunrpc/rpc/auth_des.h: Likewise.
36444 * sunrpc/rpc/clnt.h: Likewise.
36445 * sunrpc/rpc/netdb.h: Likewise.
36446 * sunrpc/rpc/pmap_clnt.h: Likewise.
36447 * sunrpc/rpc/xdr.h: Likewise.
36448 * sysdeps/generic/inttypes.h: Likewise.
36449 * sysdeps/generic/net/if.h: Likewise.
36450 * sysdeps/generic/sys/swap.h: Likewise.
36451 * sysdeps/gnu/net/if.h: Likewise.
36452 * sysdeps/gnu/utmpx.h: Likewise.
36453 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36454 * sysdeps/i386/i486/bits/string.h: Likewise.
36455 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36456 * sysdeps/s390/bits/string.h: Likewise.
36457 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36458 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36459 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36460 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36461 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36462 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36463 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36464 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36465 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36466 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36467 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36468 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36469 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36470 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36471 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36472 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36473 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36478 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36479 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36480 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36481 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36482 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36483 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36485 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36486 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36487 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36488 * sysvipc/sys/ipc.h: Likewise.
36489 * sysvipc/sys/msg.h: Likewise.
36490 * sysvipc/sys/sem.h: Likewise.
36491 * sysvipc/sys/shm.h: Likewise.
36492 * termios/termios.h: Likewise.
36493 * time/sys/time.h: Likewise.
36494 * time/time.h: Likewise.
36495 * wcsmbs/bits/wchar2.h: Likewise.
36496 * wcsmbs/uchar.h: Likewise.
36497 * wcsmbs/wchar.h: Likewise.
36498 * wctype/wctype.h: Likewise.
36501 * Makeconfig: Remove all but ELF support including AIX support.
36502 * Makerules: Likewise.
36503 * config.h.in: Likewise.
36504 * config.make.in: Likewise.
36505 * configure: Likewise.
36506 * configure.in: Likewise.
36507 * csu/Makefile: Likewise.
36508 * csu/version.c: Likewise.
36509 * debug/Makefile: Likewise.
36510 * dlfcn/Makefile: Likewise.
36511 * elf/Makefile: Likewise.
36512 * extra-lib.mk: Likewise.
36513 * iconv/Makefile: Likewise.
36514 * include/libc-symbols.h: Likewise.
36515 * include/shlib-compat.h: Likewise.
36516 * resolv/Makefile: Likewise.
36517 * resolv/res_libc.c: Likewise.
36518 * rt/Makefile: Likewise.
36519 * sysdeps/i386/asm-syntax.h: Likewise.
36520 * sysdeps/i386/sysdep.h: Likewise.
36521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36522 * sysdeps/mach/sysdep.h: Likewise.
36523 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36524 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36525 * sysdeps/s390/asm-syntax.h: Likewise.
36526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36528 * sysdeps/sh/sysdep.h: Likewise.
36529 * sysdeps/unix/sparc/sysdep.h: Likewise.
36530 * sysdeps/wordsize-32/divdi3.c: Likewise.
36531 * sysdeps/x86_64/sysdep.h: Likewise.
36533 * argp/Versions: Remove _argp_unlock_xxx.
36536 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36537 * abilist/libBrokenLocale.abilist: Likewise.
36538 * abilist/libanl.abilist: Likewise.
36539 * abilist/libc.abilist: Likewise.
36540 * abilist/libcrypt.abilist: Likewise.
36541 * abilist/libdl.abilist: Likewise.
36542 * abilist/libm.abilist: Likewise.
36543 * abilist/libnsl.abilist: Likewise.
36544 * abilist/libpthread.abilist: Likewise.
36545 * abilist/libresolv.abilist: Likewise.
36546 * abilist/librt.abilist: Likewise.
36547 * abilist/libthread_db.abilist: Likewise.
36548 * abilist/libutil.abilist: Likewise.
36549 * abilist/libnss_db.abilist: New file.
36551 * scripts/abilist.awk: Add support for indirect functions.
36553 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36555 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36557 * shlib-versions: Remove entries for ports architectures.
36559 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36561 * elf/stackguard-macros.h: Remove support for IA-64.
36562 * elf/tst-auditmod1.c: Likewise.
36563 * sysdeps/generic/ldsodefs.h: Likewise.
36565 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36566 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36570 * configure.in: Remove --enable-omitfp support.
36572 * config.make.in: Likewise.
36573 * Makeconfig: Likewise.
36574 * manual/install.texi: Likewise.
36576 In case anyone cares, the IA-64 architecture could move to ports.
36577 * sysdeps/ia64/*: Removed.
36578 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36579 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36582 * configure.in: Remove entries for unsupported architectures.
36585 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36586 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36588 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36589 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36590 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36591 fall back to using wcrtomb.
36592 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36593 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36595 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36596 * wcsmbs/tst-c16c32-1.c: New file.
36598 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36601 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36603 * elf/tst-unique3.cc: Add explicit declaration of gets.
36604 * elf/tst-unique3lib.cc: Likewise.
36605 * elf/tst-unique3lib2.cc: Likewise.
36606 * elf/tst-unique4.cc: Likewise.
36608 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36610 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36613 * assert/assert.h (static_assert): Don't define for C++.
36614 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36615 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36617 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36619 * iconv/loop.c (single loop): Fix assertion in storing of
36622 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36624 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36626 * posix/getconf.c: Update copyright year.
36627 * nss/getent.c: Likewise.
36628 * nss/makedb.c: Likewise.
36629 * iconv/iconvconfig.c: Likewise.
36630 * iconv/iconv_prog.c: Likewise.
36631 * elf/ldconfig.c: Likewise.
36632 * elf/pldd.c: Likewise.
36633 * elf/sotruss.ksh: Likewise.
36634 * catgets/gencat.c: Likewise.
36635 * csu/version.c: Likewise.
36636 * elf/ldd.bash.in: Likewise.
36637 * elf/sprof.c (print_version): Likewise.
36638 * locale/programs/locale.c: Likewise.
36639 * locale/programs/localedef.c: Likewise.
36640 * login/programs/pt_chown.c: Likewise.
36641 * nscd/nscd.c (print_version): Likewise.
36642 * debug/xtrace.sh: Likewise.
36643 * malloc/memusage.sh: Likewise.
36644 * malloc/mtrace.pl: Likewise.
36645 * debug/catchsegv.sh: Likewise.
36647 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36649 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36652 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36655 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36656 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36658 * iconv/gconv_int.h: Likewise.
36659 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36660 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36661 from libc for GLIBC_2.16.
36662 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36663 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36664 * wcsmbs/uchar.h: Really define mbstate_t.
36665 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36666 * wcsmbs/c16rtomb.c: New file.
36667 * wcsmbs/mbrtoc16.c: New file.
36668 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36669 for C/POSIX locale.
36670 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36671 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36673 * wcsmbs/wchar.h: Add missing __restrict.
36675 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36678 * time/Makefile (routines): Add timespec_get.
36679 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36680 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36681 timespec for ISO C11.
36682 * time/timespec_get.c: New file.
36683 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36684 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36687 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36688 * stdlib/stdlib.h: Declare aligned_alloc.
36689 * Versions.def: Add GLIBC_2.16 for libc.
36690 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36693 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36696 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36700 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36703 * assert/assert.h (static_assert): Define.
36705 * version.h: Update for 2.16 development version.
36708 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36711 * version.h (RELEASE): Bump for 2.15 release.
36712 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36714 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36715 Patch by Marek Polacek <mpolacek@redhat.com>.
36717 * bits/byteswap.h: Protect long long constants with __extension__.
36718 * sysdeps/i386/bits/byteswap.h: Likewise.
36719 * sysdeps/ia64/bits/byteswap.h: Likewise.
36720 * sysdeps/s390/bits/byteswap.h: Likewise.
36721 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36723 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36726 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36727 destination buffer.
36728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36730 2011-12-23 Marek Polacek <polacek@redhat.com>
36732 * elf/dl-addr.c (determine_info): Add inline keyword.
36733 * elf/tst-auditmod4b.c (check_avx): Likewise.
36734 * elf/tst-auditmod6b.c (check_avx): Likewise.
36735 * elf/tst-auditmod6c.c (check_avx): Likewise.
36736 * elf/tst-auditmod7b.c (check_avx): Likewise.
36738 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36740 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36743 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36747 processing for last bytes.
36749 2011-08-06 Bruno Haible <bruno@clisp.org>
36752 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36753 U+0385, not to U+1FEE.
36756 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36757 entry for U+00A5 U+0301.
36759 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36762 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36763 buffer for the output is too small.
36765 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36769 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36770 SSE flags if possible.
36772 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36775 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36776 processing for last bytes.
36778 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36780 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36781 (syscall-list-default-options, syscall-list-default-condition)
36782 (syscall-list-includes): Define.
36783 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36784 list of ABIs and options and #if conditions for each ABI. Do not
36785 handle common syscalls between ABIs specially.
36786 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36788 (syscall-list-variants, syscall-list-32bit-options)
36789 (syscall-list-32bit-condition, syscall-list-64bit-options)
36790 (syscall-list-64bit-condition): Define.
36791 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36792 (syscall-list-variants, syscall-list-32bit-options)
36793 (syscall-list-32bit-condition, syscall-list-64bit-options)
36794 (syscall-list-64bit-condition): Define.
36795 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36797 (syscall-list-variants, syscall-list-32bit-options)
36798 (syscall-list-32bit-condition, syscall-list-64bit-options)
36799 (syscall-list-64bit-condition): Define.
36800 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36802 (syscall-list-variants, syscall-list-32bit-options)
36803 (syscall-list-32bit-condition, syscall-list-64bit-options)
36804 (syscall-list-64bit-condition): Define.
36806 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36808 * locale/iso-639.def: Add brx entry.
36811 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36812 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36814 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36815 __feraiseexcept_renamed.
36817 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36820 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36821 EPOLLET with unsigned values.
36822 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36823 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36825 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36826 to large cancellation.
36827 * math/s_cacoshf.c: Likewise.
36828 * math/s_cacoshl.c: Likewise.
36830 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36834 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36835 * math/s_cacoshf.c: Likewise.
36836 * math/s_cacoshl.c: Likewise.
36838 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36841 * iconv/gconv.h: Define __GCONV_SWAP.
36842 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36843 * iconvdata/utf-16.c: Likewise.
36844 * iconvdata/utf-32.c: Likewise.
36846 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36850 numerator after shifting it by one limb.
36852 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36855 under [__USE_EXTERN_INLINES].
36857 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36860 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36862 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36864 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36865 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36867 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36868 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36869 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36870 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36871 for strncasecmp/strncasecmp_l compilation.
36872 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36873 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36875 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36878 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36881 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36884 * time/tzfile.c (__tzfile_read): Check values from file header.
36886 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36888 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36889 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36890 * powerpc/powerpc32/dl-start.S: Likewise.
36891 * powerpc/powerpc32/elf/start.S: Likewise.
36892 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36893 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36894 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36895 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36896 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36897 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36898 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36899 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36900 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36901 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36902 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36903 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36904 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36905 * powerpc/powerpc32/memset.S: Likewise.
36906 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36907 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36908 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36909 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36910 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36911 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36912 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36913 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36914 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36915 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36916 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36917 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36918 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36920 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36922 * math/libm-test.inc: Added more nearbyint tests.
36923 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36926 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36928 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36930 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36933 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36935 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36936 Add wcscpy-ssse3 wcscpy-c.
36937 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36938 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36939 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36940 * sysdeps/x86_64/wcschr.S: New file.
36941 * sysdeps/x86_64/wcsrchr.S: New file.
36942 * string/test-strcmp.c: Remove checking of wcscmp function for
36944 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36945 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36946 wcsrchr-sse2 wcsrchr-c.
36947 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36948 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36949 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36950 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36951 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36952 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36953 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36954 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36955 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36956 * wcsmbc/wcschr.c (WCSCHR): New macro.
36958 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36960 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36961 * wcsmbs/test-wcsrchr.c: New file.
36962 * string/test-strrchr.c: Add wcsrchr support.
36964 * wcsmbs/test-wcscpy.c: New file.
36965 * string/test-strcpy.c: Add wcscpy support.
36968 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36970 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36973 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36976 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36978 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36980 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36981 Minor optimizations.
36983 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36984 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36985 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36987 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36989 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36990 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36991 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36992 for gcc to avoid warnings.
36993 * inet/Makefile (tests): Add tst-checks.
36994 * inet/tst-checks.c: New file.
36996 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36999 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37002 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37003 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37005 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37007 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37009 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37012 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37014 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37016 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37017 conditional on GCC version.
37018 (__arch_compare_and_exchange_val_8_acq)
37019 (__arch_compare_and_exchange_val_16_acq)
37020 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37021 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37022 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37024 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37026 * sysdeps/sh/backtrace.c: New file.
37028 2011-12-02 Andreas Schwab <schwab@redhat.com>
37030 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37033 2011-12-01 Andreas Schwab <schwab@redhat.com>
37035 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37036 falling back to utime.
37038 2011-11-30 Andreas Schwab <schwab@redhat.com>
37040 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37041 expectations for float.
37043 2011-11-29 Andreas Schwab <schwab@redhat.com>
37045 * locale/weight.h (findidx): Add parameter len.
37046 * locale/weightwc.h (findidx): Likewise.
37047 * posix/fnmatch_loop.c (FCT): Adjust caller.
37048 * posix/regcomp.c (build_equiv_class): Likewise.
37049 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37050 * posix/regexec.c (check_node_accept_bytes): Likewise.
37051 * string/strcoll_l.c (STRCOLL): Likewise.
37052 * string/strxfrm_l.c (STRXFRM): Likewise.
37054 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37056 * Makefile.in: Remove CVSOPT handling.
37057 * configure.in: Remove use of AC_REVISION.
37058 * iconvdata/Makefile (distribute): No need to filter out CVS.
37059 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37062 2011-11-16 Andreas Schwab <schwab@redhat.com>
37064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37065 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37066 [USE_AS_STRNCASECMP_L]: Likewise.
37067 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37068 NO_TLS_DIRECT_SEG_REFS.
37069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37070 Fix argument offsets for non-PIC.
37071 [USE_AS_STRNCASECMP_L]: Likewise.
37072 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37073 NO_TLS_DIRECT_SEG_REFS.
37075 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37077 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37079 * locale/loadlocale.c (_nl_load_locale): Likewise.
37081 2011-11-15 Andreas Schwab <schwab@redhat.com>
37083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37084 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37086 (SYSCALL_GETTIME): Set errno on error.
37088 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37089 count references to noai6ai_cached.
37091 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37093 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37095 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37096 FD_CLOEXEC for /proc/self/maps.
37098 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37099 FD_CLOEXEC for /proc/meminfo.
37101 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37104 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37105 FD_CLOEXEC for given file.
37107 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37109 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37110 FD_CLOEXEC for /etc/hosts.
37111 (_gethtent): Likewise.
37113 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37115 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37116 cancellation and set FD_CLOEXEC for /etc/netgroup.
37118 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37119 reading /etc/publickey.
37121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37122 allow cancellation when reading /etc/group.
37124 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37126 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37128 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37129 when using data file.
37131 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37133 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37134 (write_nis_obj): Use "c" and "e" in fopen.
37136 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37138 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37140 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37142 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37144 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37147 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37149 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37151 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37153 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37154 file parsing and set FD_CLOEXEC.
37156 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37158 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37160 2011-11-14 Andreas Schwab <schwab@redhat.com>
37162 * malloc/arena.c (arena_get2): Don't call reused_arena when
37163 _int_new_arena failed.
37165 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37167 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37168 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37169 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37173 to compile strcasecmp and strncasecmp.
37174 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37175 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37179 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37182 locale-defines.sym to gen-as-const-headers.
37183 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37184 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37186 to compile strcasecmp and strncasecmp.
37187 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37188 strcasecmp_l and strncasecmp_l.
37189 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37190 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37191 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37193 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37194 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37195 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37196 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37197 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37198 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37199 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37201 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37203 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37204 result of SYSDEP_GETTIME_CPU to retval.
37205 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37206 parameter list to macro. Remove trailing semicolon. Adjust users.
37208 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37211 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37213 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37215 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37216 from unused variable.
37218 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37220 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37223 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37226 * sunrpc/rpc_prot.c (rejected): Fix case value.
37228 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37229 unsigned long long int to avoid warnings in shift.
37231 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37233 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37236 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37237 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37238 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37240 * nis/nis_table.c (nis_list): Use variable of correct type for
37241 result of __follow_path call.
37243 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37245 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37246 of math functions ceil, trunc, floor, round, and sqrt, when
37247 avaliable on the platform.
37248 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37251 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37252 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37254 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37256 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37257 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37259 2011-11-11 Roland McGrath <roland@hack.frob.com>
37261 * include/unistd.h: Fix __readlink return type.
37262 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37264 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37266 * stdlib/ucontext.h: Undo last change for makecontext.
37268 2011-11-11 Andreas Schwab <schwab@redhat.com>
37270 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37272 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37273 * setjmp/setjmp.h: Mark functions as non-leaf.
37274 * setjmp/bits/setjmp2.h: Likewise.
37275 * stdlib/ucontext.h: Likewise.
37277 2011-11-10 Andreas Schwab <schwab@redhat.com>
37279 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37280 (reused_arena): Don't check arena limit.
37281 (arena_get2): Atomically check arena limit.
37283 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37285 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37286 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37291 2011-11-07 Andreas Schwab <schwab@redhat.com>
37293 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37294 handler when locking.
37296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37297 Fix size of allocated buffer.
37299 2011-11-04 Andreas Schwab <schwab@redhat.com>
37302 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37303 declarations for long double functions.
37304 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37306 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37308 2011-11-03 Andreas Schwab <schwab@redhat.com>
37310 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37313 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37316 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37318 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37320 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37322 * include/alloca.h (stackinfo_alloca_round): Define.
37323 (extend_alloca): Use it.
37324 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37325 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37328 * scripts/check-local-headers.sh: Ignore libaudit.h.
37330 * nscd/Makefile (extra-objs): Make recursively expanded.
37332 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37334 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37337 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37338 * posix/tst-rfc3484-2.c: Likewise.
37339 * posix/tst-rfc3484-3.c: Likewise.
37341 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37343 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37345 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37346 process_vm_writev from libc using GLIBC_2.15 version.
37348 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37350 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37352 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37355 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37358 * nss/getent.c (initgroups_keys): Show error message in case no group
37361 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37362 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37363 __bump_nl_timestamp.
37364 * nscd/connections (nscd_init): When host database is served open
37365 netlink socket and request notification about configuration changes.
37366 (main_loop_poll): Track netlink file descriptor and bump timestamp
37367 in case data becomes available.
37368 (main_loop_epoll): Likewise.
37369 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37370 (database_pers_head): Add extra_data fileds.
37371 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37372 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37373 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37376 in6ai data, call __free_in6ai.
37377 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37378 Add -DHAVE_NETLINK.
37379 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37380 interface information. Reuse previous data if netlink timestamp
37382 (__bump_nl_timestamp): New function.
37383 (__free_in6ai): New function.
37385 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37387 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37388 close_not_cancel_no_status here.
37389 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37391 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37394 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37397 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37398 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37399 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37401 2011-07-03 Andreas Jaeger <aj@suse.de>
37404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37405 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37406 * math/libm-test.inc (sin_test): Add test case.
37408 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37411 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37412 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37414 * elf/chroot_canon.c (chroot_canon): Cleanups.
37416 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37419 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37420 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37422 * string/test-strchr.c: Make usable for strchrnul testing.
37423 * string/test-strchrnul.c: New file.
37424 * string/Makefile (strop-tests): Add strchrnul.
37426 * po/it.po: Update from translation team.
37427 * po/es.po: Likewise.
37429 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37431 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37432 the three constants needed as parameters. Drop the others.
37433 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37434 __m128i_strloadu_tolower.
37435 Create and initialize variable zero and use it in all the places
37436 where _mm_setzero_si128 was used.
37438 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37439 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37440 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37443 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37444 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37445 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37446 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37447 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37448 __mpranred, __mptan.
37449 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37450 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37451 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37452 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37453 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37454 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37455 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37456 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37457 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37459 2011-10-28 Andreas Schwab <schwab@redhat.com>
37461 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37462 redefine if SHARED.
37463 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37466 wide char related routines to wcsmbs subdir.
37468 2011-10-27 Andreas Schwab <schwab@redhat.com>
37471 * misc/sys/cdefs.h (__THROWNL): Define.
37472 * posix/unistd.h: Use __THREADNL instead of __THREAD
37473 for memory synchronization functions.
37475 2011-10-26 Roland McGrath <roland@hack.frob.com>
37478 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37480 * manual/stdio.texi (Obstack Streams): Node removed.
37482 2011-10-26 Andreas Schwab <schwab@redhat.com>
37484 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37486 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37488 * math/math_private.h (math_force_eval): Allow non-addressable
37490 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37492 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37495 file is not needed.
37497 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37500 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37501 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37504 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37506 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37507 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37508 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37509 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37510 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37511 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37512 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37513 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37514 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37515 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37516 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37517 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37518 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37519 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37520 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37521 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37522 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37523 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37524 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37526 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37527 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37530 place. Use VEX encoding when compiling for AVX.
37532 2011-10-25 Andreas Schwab <schwab@redhat.com>
37534 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37535 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37537 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37539 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37541 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37542 useless if() expression.
37543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37554 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37556 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37557 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37559 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37561 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37563 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37565 2011-10-25 Andreas Schwab <schwab@redhat.com>
37567 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37569 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37571 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37573 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37574 .text section. Avoid duplicate constants.
37575 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37585 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37587 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37590 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37592 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37602 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37603 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37604 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37608 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37609 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37610 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37611 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37613 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37616 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37617 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37618 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37619 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37621 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37623 * sysdeps/x86_64/dla.h: Move to ...
37624 * sysdeps/x86_64/fpu/dla.h: ...here.
37625 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37626 situations. Use __builtin_fma only for gcc 4.6 and up.
37628 * config.make.in: Add have-mfma4 entry.
37629 * configure.in: Substitute libc_cv_cc_fma4.
37630 * math/Makefile (dbl-only-routines): Add sincostab.
37631 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37632 Use __sincostab not sincos.
37633 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37640 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37641 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37642 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37643 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37646 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37648 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37649 define aliases when function name is a macro.
37650 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37651 sysdeps/ieee754/dbl-64/sincos.tbl.
37652 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37653 fma4-enabled routines.
37654 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37655 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37656 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37657 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37658 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37659 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37663 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37664 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37665 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37666 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37667 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37668 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37669 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37670 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37671 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37672 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37674 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37675 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37679 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37681 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37682 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37683 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37685 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37696 2011-10-24 Andreas Schwab <schwab@redhat.com>
37698 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37700 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37702 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37704 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37706 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37708 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37709 Remove unused variable magic_bits.
37710 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37712 * string/strnlen.c: Define and use STRNLEN macro.
37713 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37714 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37716 * wcsmbs/wcslen.c: Define and use WCSLEN.
37717 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37718 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37719 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37720 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37721 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37722 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37723 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37725 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37728 strnlen-sse2-no-bsf.
37729 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37731 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37732 Add strnlen support.
37733 (USE_AS_STRNLEN): New macro.
37734 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37735 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37736 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37737 * sysdeps/x86_64/wcslen.S: New file.
37739 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37741 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37742 XMM-moves are used for copying on small sizes.
37744 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37746 * wcsmbs/Makefile (strop-tests): Add wcschr.
37747 * wcsmbs/test-wcschr.c: New file.
37748 * string/test-strchr.c: Update.
37749 Add wcschr support.
37752 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37754 * wcsmbs/Makefile (strop-tests): Add wcslen.
37755 * wcsmbs/test-wcslen.c: New file.
37756 * string/test-strlen.c: Update.
37757 Add wcslen support.
37760 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37762 * po/it.po: Update from translation team.
37764 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37766 * sysdeps/x86_64/wcscmp.S: Update.
37767 Fix wrong comparison semantics.
37768 wcscmp shall use signed comparison not unsigned.
37769 Don't use substraction to avoid overflow bug.
37770 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37771 * wcsmbc/wcscmp.c: Likewise.
37772 * string/test-strcmp.c: Likewise.
37773 Add new tests to check cases with negative values.
37775 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37777 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37778 * sysdeps/x86_64/dla.h: ...here. New file.
37779 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37789 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37792 __ynl_finite aliases.
37794 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37798 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37800 [DLA_FMA] (EMULV): Use DLA_FMA.
37801 [DLA_FMA] (MUL12): Use EMULV.
37802 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37803 that are not needed.
37804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37809 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37812 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37814 * math/s_nan.c: Undef __nan.
37815 * math/s_nanf.c: Undef __nanf.
37816 * math/s_nanl.c: Undef __nanl.
37817 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37820 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37822 * math/s_catan.c: Add branch predictions.
37823 * math/s_catanf.c: Likewise.
37824 * math/s_catanh.c: Likewise.
37825 * math/s_catanhf.c: Likewise.
37826 * math/s_catanhl.c: Likewise.
37827 * math/s_catanl.c: Likewise.
37828 * math/s_cexp.c: Likewise.
37829 * math/s_cexpf.c: Likewise.
37830 * math/s_cexpl.c: Likewise.
37831 * math/s_clog.c: Likewise.
37832 * math/s_clog10.c: Likewise.
37833 * math/s_clog10f.c: Likewise.
37834 * math/s_clog10l.c: Likewise.
37835 * math/s_clogf.c: Likewise.
37836 * math/s_clogl.c: Likewise.
37837 * math/s_csqrt.c: Likewise.
37838 * math/s_csqrtf.c: Likewise.
37839 * math/s_csqrtl.c: Likewise.
37840 * math/s_ctanf.c: Likewise.
37841 * math/s_ctanh.c: Likewise.
37842 * math/s_ctanhf.c: Likewise.
37843 * math/s_ctanhl.c: Likewise.
37844 * math/s_ctanl.c: Likewise.
37846 * math/math_private.h: Define __nan, __nanf, __nanl.
37847 * math/s_cacosh.c: Include <math_private.h>.
37848 * math/s_cacoshl.c: Likewise.
37849 * math/s_casinh.c: Likewise.
37850 * math/s_casinhf.c: Likewise.
37851 * math/s_casinhl.c: Likewise.
37852 * math/s_ccos.c: Rely entire on ccosh.
37853 * math/s_ccosf.c: Rely entire on ccoshf.
37854 * math/s_ccosl.c: Rely entirely on ccoshl.
37855 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37856 Remove tests for FE_INVALID.
37857 * math/s_ccoshf.c: Likewise.
37858 * math/s_ccoshl.c: Likewise.
37859 * math/s_csin.c: Likewise.
37860 * math/s_csinf.c: Likewise.
37861 * math/s_csinh.c Likewise.
37862 * math/s_csinhf.c: Likewise.
37863 * math/s_csinhl.c: Likewise.
37864 * math/s_csinl.c: Likewise.
37865 * math/s_ctan.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37867 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37870 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37873 compilation problems.
37875 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37878 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37880 * sysdeps/i386/configure.in: Test for -mfma4 option.
37881 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37882 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37883 COMMON_CPUID_INDEX_80000001.
37884 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37885 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37886 use it if FMA3 is not supported.
37887 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37889 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37890 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37892 2011-10-20 Andreas Schwab <schwab@redhat.com>
37895 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37896 it would create a cycle with a link time dependency.
37898 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37900 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37902 * string/Makefile (strop-tests): Add rawmemchr.
37903 * string/test-rawmemchr.c: New file.
37905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37907 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37908 when compiling str{,n}casecmp and when AVX is available. Hook up
37909 new optimized code in initializers.
37911 2011-10-19 Andreas Schwab <schwab@redhat.com>
37913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37914 __feraiseexcept instead of feraiseexcept.
37916 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37918 * math/math_private.h: Define defaults for libc_fetestexcept and
37920 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37921 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37922 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37923 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37925 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37926 libc_fetestexcept and libc_feupdateenv.
37928 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37929 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37930 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37931 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37932 libc_feholdexcept_setround.
37934 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37935 Add s_nearbyint-c and s_nearbyintf-c.
37936 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37937 nearbyintf inlines.
37938 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37939 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37940 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37941 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37943 * math/math_private.h: Define defaults for libc_fegetround,
37944 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37945 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37946 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37948 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37949 standard functions.
37950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37951 Remove comments and hacks for old compiler versions.
37952 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37953 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37954 libc_feholdexceptl.
37956 2011-10-18 Andreas Schwab <schwab@redhat.com>
37958 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37959 (__feraiseexcept_renamed): Add __NTH.
37960 (feraiseexcept): Add __NTH. Rename local variables to fix
37961 namespace violations.
37963 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37965 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37967 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37969 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37970 recently added interfaces.
37971 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37973 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37974 about macro parameter expansion.
37976 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37977 __NO_MATH_INLINES is defined. Cleanups.
37979 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37980 and __floorf is target has SSE4.1.
37981 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37982 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37984 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37986 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37988 (floorf): Likewise.
37990 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37992 2011-10-17 Andreas Schwab <schwab@redhat.com>
37994 * misc/sys/cdefs.h: Fix last change.
37996 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37999 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38001 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38003 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38008 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38009 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38011 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38012 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38013 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38014 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38015 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38016 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38017 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38018 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38019 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38020 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38021 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38022 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38023 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38024 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38026 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38027 ceil, ceilf, floor, floorf.
38029 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38030 Perform IRELATIVE relocations last.
38032 * elf/do-rel.h: Add another parameter nrelative, replacing the
38033 local variable with the same name. Change name of the function
38034 to end in Rel or Rela (uppercase).
38035 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38036 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38037 elf_dynamic_do_##reloc function.
38039 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38041 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38042 is sufficient, at least on modern CPUs.
38044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38046 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38047 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38049 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38051 * math/bits/math-finite.h: Add entries for exp.
38052 * math/e_expl.c: Add __*_finite alias.
38053 * sysdeps/i386/fpu/e_exp.S: Likewise.
38054 * sysdeps/i386/fpu/e_expf.S: Likewise.
38055 * sysdeps/i386/fpu/e_expl.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38057 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38060 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38061 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38062 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38064 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38065 is sufficient, at least on modern CPUs.
38067 * ctype/ctype-info.c (__ctype_init): Define.
38068 * include/ctype.h (__ctype_init): Declare.
38069 (__ctype_b_loc): The variable is always initialized.
38070 (__ctype_toupper_loc): Likewise.
38071 (__ctype_tolower_loc): Likewise.
38072 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38073 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38075 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38077 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38079 * configure.in: Also look in $cxxmachine/include for C++ system
38082 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38084 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38085 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38086 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38087 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38088 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38089 (USE_AS_WMEMCMP): New macro.
38091 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38092 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38093 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38094 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38096 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38097 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38098 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38099 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38100 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38101 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38102 (USE_AS_WMEMCMP): New macro.
38103 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38104 * sysdeps/string/test-memcmp.c: Update.
38105 Fix simple_wmemcmp.
38107 * wcsmbs/wmemcmp.c: Update.
38108 (WMEMCMP): New macro.
38111 2011-10-12 Andreas Jaeger <aj@suse.de>
38114 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38116 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38118 * libio/iofwide.c (do_length): Avoid warning.
38120 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38122 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38124 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38126 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38127 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38128 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38129 * sysdeps/i386/i686/fpu/e_log.S: New file.
38130 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38131 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38133 * ctype/ctype.h: Add support for inlined isXXX functions when
38134 compiling C++ code.
38136 2011-10-14 Andreas Schwab <schwab@redhat.com>
38138 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38140 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38142 2011-10-13 Roland McGrath <roland@hack.frob.com>
38145 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38147 2011-10-13 Andreas Schwab <schwab@redhat.com>
38149 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38150 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38153 * sysdeps/x86_64/memrchr.S: Check for zero size.
38155 * string/stratcliff.c: Add memrchr tests.
38157 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38160 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38161 rawmemchr-sse2 rawmemchr-sse2-bsf.
38162 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38163 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38164 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38165 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38166 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38167 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38168 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38169 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38170 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38171 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38172 * string/memrchr.c (MEMRCHR): New macro.
38174 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38176 Add integration with gcc's -ffinite-math-only and optimize wrapper
38178 * Versions.def: Define GLIBC_2.15 version for libm.
38179 * math/Makefile (headers): Add bits/math-finite.h.
38180 * math/bits/math-finite.h: New file.
38181 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38182 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38183 * math/e_acoshl.c: Add __*_finite alias.
38184 * math/e_acosl.c: Likewise.
38185 * math/e_asinl.c: Likewise.
38186 * math/e_atan2l.c: Likewise.
38187 * math/e_atanhl.c: Likewise.
38188 * math/e_coshl.c: Likewise.
38189 * math/e_exp10.c: Likewise.
38190 * math/e_exp10f.c: Likewise.
38191 * math/e_exp10l.c: Likewise.
38192 * math/e_exp2l.c: Likewise.
38193 * math/e_fmodl.c: Likewise.
38194 * math/e_gammal_r.c: Likewise.
38195 * math/e_hypotl.c: Likewise.
38196 * math/e_j0l.c: Likewise.
38197 * math/e_j1l.c: Likewise.
38198 * math/e_jnl.c: Likewise.
38199 * math/e_lgammal_r.c: Likewise.
38200 * math/e_log10l.c: Likewise.
38201 * math/e_log2l.c: Likewise.
38202 * math/e_logl.c: Likewise.
38203 * math/e_powl.c: Likewise.
38204 * math/e_sinhl.c: Likewise.
38205 * math/e_sqrtl.c: Likewise.
38206 * math/e_scalb.c: Completely rewritten and optimized.
38207 * math/e_scalbf.c: Likewise.
38208 * math/e_scalbl.c: Likewise.
38209 * math/w_acos.c: Likewise.
38210 * math/w_acosf.c: Likewise.
38211 * math/w_acosl.c: Likewise.
38212 * math/w_acosh.c: Likewise.
38213 * math/w_acoshf.c: Likewise.
38214 * math/w_acoshl.c: Likewise.
38215 * math/w_asin.c: Likewise.
38216 * math/w_asinf.c: Likewise.
38217 * math/w_asinl.c: Likewise.
38218 * math/w_atan2.c: Likewise.
38219 * math/w_atan2f.c: Likewise.
38220 * math/w_atan2l.c: Likewise.
38221 * math/w_atanh.c: Likewise.
38222 * math/w_atanhf.c: Likewise.
38223 * math/w_atanhl.c: Likewise.
38224 * math/w_exp10.c: Likewise.
38225 * math/w_exp10f.c: Likewise.
38226 * math/w_exp10l.c: Likewise.
38227 * math/w_fmod.c: Likewise.
38228 * math/w_fmodf.c: Likewise.
38229 * math/w_fmodl.c: Likewise.
38230 * math/w_j0.c: Likewise.
38231 * math/w_j0f.c: Likewise.
38232 * math/w_j0l.c: Likewise.
38233 * math/w_j1.c: Likewise.
38234 * math/w_j1f.c: Likewise.
38235 * math/w_j1l.c: Likewise.
38236 * math/w_jn.c: Likewise.
38237 * math/w_jnf.c: Likewise.
38238 * math/w_log.c: Likewise.
38239 * math/w_logf.c: Likewise.
38240 * math/w_logl.c: Likewise.
38241 * math/w_log10.c: Likewise.
38242 * math/w_log10f.c: Likewise.
38243 * math/w_log10l.c: Likewise.
38244 * math/w_log2.c: Likewise.
38245 * math/w_log2f.c: Likewise.
38246 * math/w_log2l.c: Likewise.
38247 * math/w_pow.c: Likewise.
38248 * math/w_powf.c: Likewise.
38249 * math/w_powl.c: Likewise.
38250 * math/w_remainder.c: Likewise.
38251 * math/w_remainderf.c: Likewise.
38252 * math/w_remainderl.c: Likewise.
38253 * math/w_scalb.c: Likewise.
38254 * math/w_scalbf.c: Likewise.
38255 * math/w_scalbl.c: Likewise.
38256 * math/w_sqrt.c: Likewise.
38257 * math/w_sqrtf.c: Likewise.
38258 * math/w_sqrtl.c: Likewise.
38259 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38260 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38262 * math/math_private.h: Declare __kernel_standard_f.
38263 * math/w_cosh.c: Remove cruft and optimize a bit.
38264 * math/w_coshf.c: Likewise.
38265 * math/w_coshl.c: Likewise.
38266 * math/w_exp2.c: Likewise.
38267 * math/w_exp2f.c: Likewise.
38268 * math/w_exp2l.c: Likewise.
38269 * math/w_hypot.c: Likewise.
38270 * math/w_hypotf.c: Likewise.
38271 * math/w_hypotl.c: Likewise.
38272 * math/w_lgamma.c: Likewise.
38273 * math/w_lgamma_r.c: Likewise.
38274 * math/w_lgammaf.c: Likewise.
38275 * math/w_lgammaf_r.c: Likewise.
38276 * math/w_lgammal.c: Likewise.
38277 * math/w_lgammal_r.c: Likewise.
38278 * math/w_sinh.c: Likewise.
38279 * math/w_sinhf.c: Likewise.
38280 * math/w_sinhl.c: Likewise.
38281 * math/w_tgamma.c: Likewise.
38282 * math/w_tgammaf.c: Likewise.
38283 * math/w_tgammal.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38285 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38286 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38287 Minor optimizations. Pretty printing. Remove cruft.
38288 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38289 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38290 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38291 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38292 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38293 * sysdeps/i386/fpu/e_asin.S: Likewise.
38294 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38295 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38296 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38297 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38298 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38299 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38301 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38302 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38303 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38304 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38305 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38306 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38307 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38308 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38309 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38310 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38311 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38312 * sysdeps/i386/fpu/e_log.S: Likewise.
38313 * sysdeps/i386/fpu/e_log10.S: Likewise.
38314 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38316 * sysdeps/i386/fpu/e_log2.S: Likewise.
38317 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38318 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38319 * sysdeps/i386/fpu/e_logf.S: Likewise.
38320 * sysdeps/i386/fpu/e_logl.S: Likewise.
38321 * sysdeps/i386/fpu/e_pow.S: Likewise.
38322 * sysdeps/i386/fpu/e_powf.S: Likewise.
38323 * sysdeps/i386/fpu/e_powl.S: Likewise.
38324 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38325 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38326 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38327 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38328 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38329 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38330 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38331 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38332 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38354 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38355 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38356 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38357 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38358 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38359 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38360 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38361 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38362 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38363 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38364 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38365 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38366 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38367 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38368 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38369 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38370 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38371 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38372 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38373 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38374 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38379 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38383 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38385 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38388 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38389 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38390 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38394 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38398 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38401 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38407 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38410 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38411 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38413 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38414 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38415 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38417 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38418 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38420 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38421 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38422 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38423 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38428 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38429 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38430 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38431 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38432 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38433 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38434 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38435 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38436 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38441 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38443 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38444 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38445 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38446 (__isnanf): Likewise.
38447 (__isinf_ns): Likewise.
38448 (__isinf_nsf): Likewise.
38449 (__finite): Likewise.
38450 (__finitef): Likewise.
38451 (__ieee754_sqrt): Define as macro.
38452 (__ieee754_sqrtf): Define as macro.
38453 (__ieee754_sqrtl): Define as macro.
38454 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38456 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38457 __FINITE_MATH_ONLY__ consistent.
38458 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38460 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38462 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38465 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38467 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38469 * po/ja.po: Update from translation team.
38471 2011-10-08 Roland McGrath <roland@hack.frob.com>
38473 * locale/programs/locarchive.c (prepare_address_space): New function.
38474 (create_archive, enlarge_archive, open_archive): Use it.
38476 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38477 inside [SHARED], where it is used.
38479 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38481 * nss/getent.c (netgroup_keys): Remove unused variable.
38482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38484 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38486 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38487 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38489 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38490 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38491 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38492 * math/Makefile (libm-calls): Add s_isinf_ns.
38493 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38494 * math/multc3.c: Likewise.
38495 * math/s_casin.c: Likewise.
38496 * math/s_casinf.c: Likewise.
38497 * math/s_casinl.c: Likewise.
38498 * math/s_ccos.c: Likewise.
38499 * math/s_ccosf.c: Likewise.
38500 * math/s_ccosl.c: Likewise.
38501 * math/s_ctan.c: Likewise.
38502 * math/s_ctanf.c: Likewise.
38503 * math/s_ctanh.c: Likewise.
38504 * math/s_ctanhf.c: Likewise.
38505 * math/s_ctanhl.c: Likewise.
38506 * math/s_ctanl.c: Likewise.
38507 * math/w_fmod.c: Likewise.
38508 * math/w_fmodf.c: Likewise.
38509 * math/w_fmodl.c: Likewise.
38510 * math/w_remainder.c: Likewise.
38511 * math/w_remainderf.c: Likewise.
38512 * math/w_remainderl.c: Likewise.
38513 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38514 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38515 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38517 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38518 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38519 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38520 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38522 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38524 * stdio-common/printf_fphex.c: Likewise.
38525 * stdio-common/printf_size.c: Likewise.
38527 * math/e_exp10.c: Include math_private.h using <...> not "...".
38528 * math/e_exp10f.c: Likewise.
38529 * math/e_exp10l.c: Likewise.
38530 * math/e_exp2l.c: Likewise.
38531 * math/e_j0l.c: Likewise.
38532 * math/e_j1l.c: Likewise.
38533 * math/e_jnl.c: Likewise.
38534 * math/e_lgammal_r.c: Likewise.
38535 * math/e_rem_pio2l.c: Likewise.
38536 * math/e_scalb.c: Likewise.
38537 * math/e_scalbf.c: Likewise.
38538 * math/e_scalbl.c: Likewise.
38539 * math/k_cosl.c: Likewise.
38540 * math/k_sinl.c: Likewise.
38541 * math/k_tanl.c: Likewise.
38542 * math/s_cacoshf.c: Likewise.
38543 * math/s_catan.c: Likewise.
38544 * math/s_catanf.c: Likewise.
38545 * math/s_catanh.c: Likewise.
38546 * math/s_catanhf.c: Likewise.
38547 * math/s_catanhl.c: Likewise.
38548 * math/s_catanl.c: Likewise.
38549 * math/s_ccosh.c: Likewise.
38550 * math/s_ccoshf.c: Likewise.
38551 * math/s_ccoshl.c: Likewise.
38552 * math/s_cexp.c: Likewise.
38553 * math/s_cexpf.c: Likewise.
38554 * math/s_cexpl.c: Likewise.
38555 * math/s_clog.c: Likewise.
38556 * math/s_clog10.c: Likewise.
38557 * math/s_clog10f.c: Likewise.
38558 * math/s_clog10l.c: Likewise.
38559 * math/s_clogf.c: Likewise.
38560 * math/s_clogl.c: Likewise.
38561 * math/s_csin.c: Likewise.
38562 * math/s_csinf.c: Likewise.
38563 * math/s_csinh.c: Likewise.
38564 * math/s_csinhf.c: Likewise.
38565 * math/s_csinhl.c: Likewise.
38566 * math/s_csinl.c: Likewise.
38567 * math/s_csqrt.c: Likewise.
38568 * math/s_csqrtf.c: Likewise.
38569 * math/s_csqrtl.c: Likewise.
38570 * math/s_ctan.c: Likewise.
38571 * math/s_ctanf.c: Likewise.
38572 * math/s_ctanh.c: Likewise.
38573 * math/s_ctanhf.c: Likewise.
38574 * math/s_ctanhl.c: Likewise.
38575 * math/s_ctanl.c: Likewise.
38576 * math/s_ldexp.c: Likewise.
38577 * math/s_ldexpf.c: Likewise.
38578 * math/s_ldexpl.c: Likewise.
38579 * math/s_significand.c: Likewise.
38580 * math/s_significandf.c: Likewise.
38581 * math/s_significandl.c: Likewise.
38582 * math/w_acos.c: Likewise.
38583 * math/w_acosf.c: Likewise.
38584 * math/w_acosh.c: Likewise.
38585 * math/w_acoshf.c: Likewise.
38586 * math/w_acoshl.c: Likewise.
38587 * math/w_acosl.c: Likewise.
38588 * math/w_asin.c: Likewise.
38589 * math/w_asinf.c: Likewise.
38590 * math/w_asinl.c: Likewise.
38591 * math/w_atan2.c: Likewise.
38592 * math/w_atan2f.c: Likewise.
38593 * math/w_atan2l.c: Likewise.
38594 * math/w_atanh.c: Likewise.
38595 * math/w_atanhf.c: Likewise.
38596 * math/w_atanhl.c: Likewise.
38597 * math/w_cosh.c: Likewise.
38598 * math/w_coshf.c: Likewise.
38599 * math/w_coshl.c: Likewise.
38600 * math/w_dremf.c: Likewise.
38601 * math/w_exp10.c: Likewise.
38602 * math/w_exp10f.c: Likewise.
38603 * math/w_exp10l.c: Likewise.
38604 * math/w_exp2.c: Likewise.
38605 * math/w_exp2f.c: Likewise.
38606 * math/w_fmod.c: Likewise.
38607 * math/w_fmodf.c: Likewise.
38608 * math/w_fmodl.c: Likewise.
38609 * math/w_hypot.c: Likewise.
38610 * math/w_hypotf.c: Likewise.
38611 * math/w_hypotl.c: Likewise.
38612 * math/w_j0.c: Likewise.
38613 * math/w_j0f.c: Likewise.
38614 * math/w_j0l.c: Likewise.
38615 * math/w_j1.c: Likewise.
38616 * math/w_j1f.c: Likewise.
38617 * math/w_j1l.c: Likewise.
38618 * math/w_jn.c: Likewise.
38619 * math/w_jnf.c: Likewise.
38620 * math/w_jnl.c: Likewise.
38621 * math/w_lgamma.c: Likewise.
38622 * math/w_lgamma_r.c: Likewise.
38623 * math/w_lgammaf.c: Likewise.
38624 * math/w_lgammaf_r.c: Likewise.
38625 * math/w_lgammal.c: Likewise.
38626 * math/w_lgammal_r.c: Likewise.
38627 * math/w_log.c: Likewise.
38628 * math/w_log10.c: Likewise.
38629 * math/w_log10f.c: Likewise.
38630 * math/w_log10l.c: Likewise.
38631 * math/w_log2.c: Likewise.
38632 * math/w_log2f.c: Likewise.
38633 * math/w_log2l.c: Likewise.
38634 * math/w_logf.c: Likewise.
38635 * math/w_logl.c: Likewise.
38636 * math/w_pow.c: Likewise.
38637 * math/w_powf.c: Likewise.
38638 * math/w_powl.c: Likewise.
38639 * math/w_remainder.c: Likewise.
38640 * math/w_remainderf.c: Likewise.
38641 * math/w_remainderl.c: Likewise.
38642 * math/w_scalb.c: Likewise.
38643 * math/w_scalbf.c: Likewise.
38644 * math/w_scalbl.c: Likewise.
38645 * math/w_sinh.c: Likewise.
38646 * math/w_sinhf.c: Likewise.
38647 * math/w_sinhl.c: Likewise.
38648 * math/w_sqrt.c: Likewise.
38649 * math/w_sqrtf.c: Likewise.
38650 * math/w_sqrtl.c: Likewise.
38651 * math/w_tgamma.c: Likewise.
38652 * math/w_tgammaf.c: Likewise.
38653 * math/w_tgammal.c: Likewise.
38655 * po/ja.po: Update from translation team.
38657 2011-09-29 Andreas Jaeger <aj@suse.de>
38660 * sunrpc/netname.c (netname2host): Fix logic.
38664 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38666 * math/w_remainder.c (__remainder): Likewise.
38667 * math/w_remainderf.c (__remainderf): Likewise.
38668 * math/libm-test.inc (remainder_test): Add test cases.
38670 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38672 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38675 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38677 * string/test-memcmp.c: Avoid unncessary #defines.
38678 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38680 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38682 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38683 Use new sse2 version for core i3 - i7 as it's faster
38684 than sse42 version.
38685 (bit_Prefer_PMINUB_for_stringop): New.
38686 * sysdeps/x86_64/rawmemchr.S: Update.
38687 Replace with faster SSE2 version.
38688 * sysdeps/x86_64/memrchr.S: New file.
38689 * sysdeps/x86_64/memchr.S: Update.
38690 Replace with faster SSE2 version.
38692 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38694 * elf/dl-load.c (lose): Add cast to avoid warning.
38696 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38698 * po/ca.po: Update from translation team.
38700 * inet/getnetgrent_r.c: Hook up nscd.
38701 * nscd/Makefile (routines): Add nscd_netgroup.
38702 (nscd-modules): Add netgroupcache.
38703 (CFLAGS-netgroupcache.c): Define.
38704 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38705 (cache_search): Add const to second parameter.
38706 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38708 (dbs): Add netgrdb entry.
38709 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38710 (verify_persistent_db): Handle netgrdb.
38711 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38712 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38714 (netgroup_response_header): Define.
38715 (innetgroup_response_header): Define.
38716 (datahead): Add netgroup_response_header and innetgroup_response_header
38718 * nscd/nscd.conf: Add entries for netgroup cache.
38719 * nscd/nscd.h (dbtype): Add netgrdb.
38720 (_PATH_NSCD_NETGROUP_DB): Define.
38721 (netgroup_iov_disabled): Declare.
38722 (xmalloc, xcalloc, xrealloc): Move declarations here.
38723 (cache_search): Adjust prototype.
38724 Add netgroup-related prototypes.
38725 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38726 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38727 (__nscd_innetgr): Declare.
38728 * nscd/selinux.c (perms): Use access_vector_t as element type and
38729 add netgroup-related initializers.
38730 * nscd/netgroupcache.c: New file.
38731 * nscd/nscd_netgroup.c: New file.
38732 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38733 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38734 For four parameters use innetgr.
38735 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38736 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38737 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38738 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38740 * nscd/connections.c (register_traced_file): Don't register file
38741 for disabled databases.
38743 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38745 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38747 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38748 from tree and freeing node.
38750 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38752 * nss/nsswitch.c (__nss_database_lookup): Handle
38753 nss_parse_service_list out of memory case.
38755 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38757 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38758 out of memory case.
38760 2011-10-04 Andreas Schwab <schwab@redhat.com>
38762 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38763 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38765 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38766 elf_machine_rela, elf_machine_lazy_rel.
38767 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38768 (ELF_DYNAMIC_DO_REL): Likewise.
38769 (ELF_DYNAMIC_DO_RELA): Likewise.
38770 (ELF_DYNAMIC_RELOCATE): Likewise.
38771 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38772 to ELF_DYNAMIC_DO_REL.
38773 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38774 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38775 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38777 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38778 skip_ifunc, don't call ifunc function if non-zero.
38779 (elf_machine_rela): Likewise.
38780 (elf_machine_lazy_rel): Likewise.
38781 (elf_machine_lazy_rela): Likewise.
38782 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38783 (elf_machine_lazy_rel): Likewise.
38784 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38786 (elf_machine_lazy_rel): Likewise.
38787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38789 (elf_machine_lazy_rel): Likewise.
38790 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38791 (elf_machine_lazy_rel): Likewise.
38792 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38793 (elf_machine_lazy_rel): Likewise.
38794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38795 (elf_machine_lazy_rel): Likewise.
38796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38797 (elf_machine_lazy_rel): Likewise.
38798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38799 (elf_machine_lazy_rel): Likewise.
38800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38801 (elf_machine_lazy_rel): Likewise.
38803 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38805 * nss/nss_files/files-init.c (_nss_files_init): Use static
38806 initialization for all the *_traced_file variables.
38808 2011-09-28 Andreas Schwab <schwab@redhat.com>
38810 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38812 2011-09-27 Roland McGrath <roland@hack.frob.com>
38815 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38817 2011-09-27 Andreas Schwab <schwab@redhat.com>
38819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38820 Reread the line before reparsing it.
38822 2011-09-26 Andreas Schwab <schwab@redhat.com>
38824 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38826 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38827 Maxim Kuvyrkov <maxim@codesourcery.com>
38828 Joseph Myers <joseph@codesourcery.com>
38830 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38831 if needed for __stack_chk_guard.
38833 2011-09-19 Roland McGrath <roland@hack.frob.com>
38835 * sysdeps/posix/spawni.c (script_execute): Always define it.
38836 It will be optimized away if unused.
38837 (maybe_script_execute): New function.
38838 (__spawni): Call it.
38840 * Makerules: Don't include tls.make.
38841 (config-tls): Always set to thread.
38842 * tls.make.c: File removed.
38844 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38846 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38847 * config.make.in (CPPFLAGS-config): New substituted variable.
38849 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38854 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38855 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38857 2011-09-15 Roland McGrath <roland@hack.frob.com>
38859 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38860 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38862 (CALL_FAIL): Likewise.
38863 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38864 (CALL_FAIL): Macro removed.
38865 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38867 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38869 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38870 for __FINITE_MATH_ONLY__ == 1.
38872 2011-09-15 Andreas Schwab <schwab@redhat.com>
38874 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38875 __ieee754_sqrt instead of sqrt.
38876 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38877 __ieee754_sqrtf instead of sqrtf.
38878 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38879 __floorf instead of floorf.
38880 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38881 __floorf, __truncf instead of floorf, truncf.
38883 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38885 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38887 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38888 __extern_always_inline.
38889 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38892 2011-09-14 Andreas Schwab <schwab@redhat.com>
38894 * elf/rtld.c (dl_main): Also relocate in dependency order when
38895 doing symbol dependency testing.
38897 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38900 Always define `refsym'.
38902 2011-09-13 Andreas Schwab <schwab@redhat.com>
38904 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38905 (__FD_ELT): Renamed from __FDELT.
38906 * misc/bits/select2.h (__FD_ELT): Likewise.
38907 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38908 __FD_MASK instead of __FDELT, __FDMASK.
38909 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38911 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38914 * elf/Makefile (gen-ldd): Fix pattern.
38916 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38917 (init_tls): Likewise.
38919 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38923 2011-09-12 Andreas Schwab <schwab@redhat.com>
38925 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38926 `struct cmsghdr *' instead of `void *'.
38927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38930 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38932 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38934 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38935 ldd_rewrite_script.
38937 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38939 * configure.in: Remove --with-tls option.
38940 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38941 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38942 out in case it is missing.
38943 * sysdeps/ia64/elf/configure.in: Likewise.
38944 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38945 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38946 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38947 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38948 * sysdeps/sh/elf/configure.in: Likewise.
38949 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38950 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38951 * sysdeps/x86_64/elf/configure.in: Likewise.
38952 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38953 * sysdeps/mach/hurd/tls.h: Likewise.
38956 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38959 * configure.in: Fix use of AC_INIT.
38961 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38963 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38965 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38967 * malloc/hooks.c: Likewise.
38970 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38971 variables statically.
38972 (narenas): Initialize.
38973 (list_lock): Initialize.
38974 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38975 initializtion of main_arena and list_lock. Small cleanups.
38976 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38977 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38978 Add initializers to main_arena and mp_.
38979 (malloc_state): Remove pagesize member. Change all users to use
38982 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38983 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38984 is always initialized.
38986 * malloc/malloc.c: Removed unused configurations and dead code.
38987 * malloc/arena.c: Likewise.
38988 * malloc/hooks.c: Likewise.
38989 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38991 * include/tls.h: Removed. USE___THREAD must always be defined.
38992 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38993 * elf/dl-libc.c: Likewise.
38994 * elf/dl-tsd.c: Likewise.
38995 * include/errno.h: Likewise.
38996 * include/netdb.h: Likewise.
38997 * include/resolv.h: Likewise.
38998 * inet/herrno-loc.c: Likewise.
38999 * inet/herrno.c: Likewise.
39000 * malloc/arena.c: Likewise.
39001 * malloc/hooks.c: Likewise.
39002 * malloc/malloc.c: Likewise.
39003 * resolv/res-state.c: Likewise.
39004 * resolv/res_libc.c: Likewise.
39005 * sysdeps/i386/dl-machine.h: Likewise.
39006 * sysdeps/ia64/dl-machine.h: Likewise.
39007 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39008 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39009 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39010 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39011 * sysdeps/sh/dl-machine.h: Likewise.
39012 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39013 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39014 * sysdeps/unix/i386/sysdep.S: Likewise.
39015 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39016 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39021 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39025 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39026 * sysdeps/x86_64/dl-machine.h: Likewise.
39027 * tls.make.c: Likewise.
39029 * configure.in: Remove --with-__thread option. Make tests for
39030 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39031 tls_model attribute fail if no support is available. Remove
39033 * Makeconfig: Adjust for dropped configure option. All features are
39035 * Makerules: Likewise.
39036 * Versions.def: Likewise.
39037 * argp/argp-fmtstream.c: Likewise.
39038 * argp/argp-fmtstream.h: Likewise.
39039 * argp/argp-help.c: Likewise.
39040 * assert/assert.c: Likewise.
39041 * config.h.in: Likewise.
39042 * config.make.in: Likewise.
39043 * configure: Likewise.
39044 * configure.in: Likewise.
39045 * csu/Versions: Likewise.
39046 * csu/init.c: Likewise.
39047 * elf/tst-audit2.c: Likewise.
39048 * elf/tst-tls10.c: Likewise.
39049 * elf/tst-tls10.h: Likewise.
39050 * elf/tst-tls11.c: Likewise.
39051 * elf/tst-tls12.c: Likewise.
39052 * elf/tst-tls14.c: Likewise.
39053 * elf/tst-tlsmod11.c: Likewise.
39054 * elf/tst-tlsmod12.c: Likewise.
39055 * elf/tst-tlsmod13.c: Likewise.
39056 * elf/tst-tlsmod13a.c: Likewise.
39057 * elf/tst-tlsmod14a.c: Likewise.
39058 * elf/tst-tlsmod15b.c: Likewise.
39059 * elf/tst-tlsmod16a.c: Likewise.
39060 * elf/tst-tlsmod16b.c: Likewise.
39061 * elf/tst-tlsmod7.c: Likewise.
39062 * elf/tst-tlsmod8.c: Likewise.
39063 * elf/tst-tlsmod9.c: Likewise.
39064 * gmon/gmon.c: Likewise.
39065 * grp/fgetgrent_r.c: Likewise.
39066 * grp/putgrent.c: Likewise.
39067 * hurd/fopenport.c: Likewise.
39068 * include/libc-symbols.h: Likewise.
39069 * include/tls.h: Likewise.
39070 * intl/gettextP.h: Likewise.
39071 * intl/loadinfo.h: Likewise.
39072 * locale/global-locale.c: Likewise.
39073 * locale/localeinfo.h: Likewise.
39074 * mach/devstream.c: Likewise.
39075 * malloc/arena.c: Likewise.
39076 * malloc/set-freeres.c: Likewise.
39077 * misc/err.c: Likewise.
39078 * misc/getttyent.c: Likewise.
39079 * misc/mntent_r.c: Likewise.
39080 * posix/getopt.c: Likewise.
39081 * posix/wordexp.c: Likewise.
39082 * pwd/fgetpwent_r.c: Likewise.
39083 * resolv/Versions: Likewise.
39084 * resolv/res_hconf.c: Likewise.
39085 * shadow/fgetspent_r.c: Likewise.
39086 * shadow/putspent.c: Likewise.
39087 * stdio-common/printf_fphex.c: Likewise.
39088 * stdio-common/tmpfile.c: Likewise.
39089 * stdlib/abort.c: Likewise.
39090 * stdlib/fmtmsg.c: Likewise.
39091 * sunrpc/auth_unix.c: Likewise.
39092 * sunrpc/clnt_perr.c: Likewise.
39093 * sunrpc/clnt_tcp.c: Likewise.
39094 * sunrpc/clnt_udp.c: Likewise.
39095 * sunrpc/clnt_unix.c: Likewise.
39096 * sunrpc/openchild.c: Likewise.
39097 * sunrpc/svc_simple.c: Likewise.
39098 * sunrpc/svc_tcp.c: Likewise.
39099 * sunrpc/svc_udp.c: Likewise.
39100 * sunrpc/svc_unix.c: Likewise.
39101 * sunrpc/xdr.c: Likewise.
39102 * sunrpc/xdr_array.c: Likewise.
39103 * sunrpc/xdr_rec.c: Likewise.
39104 * sunrpc/xdr_ref.c: Likewise.
39105 * sunrpc/xdr_stdio.c: Likewise.
39107 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39109 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39111 2011-07-03 Andreas Jaeger <aj@suse.de>
39113 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39114 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39115 regenerate with gen-libm-tests.pl.
39117 2010-05-12 Petr Baudis <pasky@suse.cz>
39120 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39121 around j0() zero points by switching to j1().
39122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39127 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39129 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39134 Patch in part by Pavel Roskin <proski@gnu.org>.
39137 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39139 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39140 Free memory block if necessary.
39143 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39144 be NULL. Don't lock in this case.
39146 2011-09-09 Roland McGrath <roland@hack.frob.com>
39148 * elf/elf.h (ELFOSABI_GNU): New macro.
39149 (ELFOSABI_LINUX): Define to that.
39151 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39153 * string/strncat.c (strncat): Undef the symbol in case it has been
39154 defined in bits/string.h.
39156 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39158 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39160 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39163 2011-08-17 Andreas Jaeger <aj@suse.de>
39165 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39167 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39168 Ian Lance Taylor <iant@google.com>
39170 * math/libm-test.inc (lround_test): New testcase.
39171 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39173 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39175 * Makefile: Remove support for automatic cvs check-ins.
39176 * Makerules: Likewise.
39177 * config.make.in: Likewise.
39178 * configure.in: Likewise.
39179 * intl/Makefile: Likewise.
39180 * locale/Makefile: Likewise.
39181 * po/Makefile: Likewise.
39182 * posix/Makefile: Likewise.
39183 * sysdeps/gnu/Makefile: Likewise.
39184 * sysdeps/mach/hurd/Makefile: Likewise.
39185 * sysdeps/sparc/sparc32/Makefile: Likewise.
39188 * posix/Makefile (bug-regex32-ENV): Define.
39189 Patch by John Stanley <jpsinthemix@verizon.net>.
39191 * misc/Makefile (headers): Add bits/select2.h.
39192 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39193 * misc/bits/select2.h: New file.
39194 * include/bits/select2.h: New file.
39195 * debug/Makefile (routines): Add fdelt_chk.
39196 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39197 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39199 * debug/fdelt_chk.c: New file.
39201 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39202 * wcsmbs/test-wmemcmp.c: Likewise.
39203 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39204 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39206 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39208 * string/Makefile (strop-tests): Add memcmp.
39209 * string/test-wmemcmp.c: New file.
39210 * string/test-memcmp.c: Add wmemcmp support.
39212 2011-09-08 Roland McGrath <roland@hack.frob.com>
39215 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39218 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39219 garbage value in a __mach_port_mod_refs call in the cases of the
39220 task-self and thread-self ports.
39222 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39224 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39226 2011-09-08 Andreas Schwab <schwab@redhat.com>
39228 * elf/dl-load.c (lose): Check for non-null L.
39230 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39232 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39234 * elf/dl-libc.c (dlerror_run): Pass back error code from
39238 * elf/dl-load.c (lose): Free l_origin if it is valid.
39240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39242 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39245 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39247 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39249 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39251 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39252 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39253 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39254 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39255 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39256 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39257 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39258 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39259 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39260 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39262 2011-08-15 Alan Modra <amodra@gmail.com>
39265 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39266 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39267 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39268 ppc_mcount to static-only-routines.
39269 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39271 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39272 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39274 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39276 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39277 for finite and infinity parameters.
39279 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39282 and add nop instructions for throughput optimization.
39283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39285 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39287 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39288 aligned copy for power7 with vector-scalar instructions.
39289 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39291 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39296 2011-09-07 Andreas Schwab <schwab@redhat.com>
39299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39302 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39304 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39305 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39306 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39307 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39310 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39312 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39313 Forgot to demangle the pointer.
39315 * sysdeps/i386/sysdep.h: Define atom_text_section.
39316 * sysdeps/x86_64/sysdep.h: Likewise.
39317 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39318 section with atom_text_section.
39319 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39320 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39321 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39323 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39325 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39326 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39327 already be defined. Change to take two parameters and don't assign
39328 result to variable. Adjust all users.
39329 Define INTERNAL_GETTIME if not already defined.
39330 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39333 HAVE_CLOCK_GETTIME_VSYSCALL.
39334 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39337 gettimeofday vsyscall, just use time.
39339 2011-09-06 Andreas Schwab <schwab@redhat.com>
39341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39344 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39346 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39350 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39352 syscall if possible.
39354 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39356 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39357 e_ident. Don't pass to find_mapsXX.
39358 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39360 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39363 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39364 * sysdeps/x86_64/multiarch/strchr.S: Update.
39365 Check bit_slow_BSF bit.
39366 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39367 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39368 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39370 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39373 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39375 (tryshell): Define.
39376 (__spawni): Change last parameter to be flag. Test
39377 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39378 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39379 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39380 * posix/spawni.c: Likewise.
39381 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39382 * posix/spawnp.c: Likewise. Change normal version to use
39383 SPAWN_XFLAGS_USE_PATH.
39384 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39385 SPAWN_XFLAGS_TRY_SHELL.
39388 * posix/glob.h: Remove gcc 1.x support.
39391 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39393 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39396 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39398 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39399 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39400 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39401 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39402 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39403 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39405 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39407 * sysdeps/x86_64/wcscmp.S: New file.
39409 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39410 wcscmp-c wcscmp-sse2
39411 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39412 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39413 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39414 * wcsmbs/wcscmp.c: Allow renaming.
39416 2011-09-05 David S. Miller <davem@davemloft.net>
39418 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39419 stack slot, rather than the struct return pointer slot.
39420 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39421 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39423 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39425 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39427 * po/ja.po: Update from translation team.
39430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39431 kernel in 64-bit binaries.
39433 2011-09-01 David S. Miller <davem@davemloft.net>
39435 * elf/elf.h (HWCAP_SPARC_*): Move to..
39436 * sysdeps/sparc/sysdep.h: this new file and add new values.
39437 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39438 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39439 _DL_HWCAP_COUNT to 24.
39440 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39442 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39443 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39444 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39446 instead of magic constants.
39447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39449 2011-08-31 David S. Miller <davem@davemloft.net>
39451 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39453 Reimplement to do errno handling inline.
39454 (SYSCALL_ERROR_HANDLER): New macro.
39455 (__SYSCALL_STRING): Do not do errno handling in asm.
39456 (__CLONE_SYSCALL_STRING): Delete.
39457 (__INTERNAL_SYSCALL_STRING): Delete.
39458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39459 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39460 (PSEUDO): Reimplement to do errno handling inline.
39461 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39462 (SYSCALL_ERROR_HANDLER): New macro.
39463 (__SYSCALL_STRING): Do not do errno handling in asm.
39464 (__CLONE_SYSCALL_STRING): Delete.
39465 (__INTERNAL_SYSCALL_STRING): Delete.
39466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39467 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39469 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39470 (inline_syscall*): Add 'err' argument.
39471 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39472 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39473 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39474 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39476 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39477 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39479 2011-08-30 Andreas Schwab <schwab@redhat.com>
39481 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39483 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39485 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39488 2011-08-24 David S. Miller <davem@davemloft.net>
39490 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39492 2011-08-24 Andreas Schwab <schwab@redhat.com>
39494 * elf/Makefile: Add rules to build and run unload8 test.
39495 * elf/unload8.c: New file.
39496 * elf/unload8mod1.c: New file.
39497 * elf/unload8mod1x.c: New file.
39498 * elf/unload8mod2.c: New file.
39499 * elf/unload8mod3.c: New file.
39501 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39504 2011-08-23 David S. Miller <davem@davemloft.net>
39506 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39507 subtract stack bias.
39508 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39509 %sp not %fp in calculations.
39510 (_JMPBUF_UNWINDS_ADJ): Likewise.
39512 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39513 (aio_suspend): Call it to force an exception region around the
39514 AIO_MISC_WAIT() invocation.
39516 2011-08-23 Andreas Schwab <schwab@redhat.com>
39518 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39521 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39523 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39525 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39526 and <dl-machine.h>.
39527 (Elf64_FuncDesc): Remove.
39529 2011-08-22 David S. Miller <davem@davemloft.net>
39531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39532 sigaltstack check, add missing cfi directives.
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39534 missing cfi directives, and sigaltstack handling.
39536 2011-08-16 Andreas Schwab <schwab@redhat.com>
39539 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39540 object is seen twice.
39541 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39543 * elf/Makefile (distribute): Add tst-initorder2.c.
39544 (tests): Add tst-initorder2.
39545 (modules-names): Add tst-initorder2a tst-initorder2b
39546 tst-initorder2c tst-initorder2d. Add rules to build them.
39547 ($(objpfx)tst-initorder2.out): New rule.
39548 * elf/tst-initorder2.c: New file.
39549 * elf/tst-initorder2.exp: New file.
39551 2011-08-22 Andreas Schwab <schwab@redhat.com>
39553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39555 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39556 dependencies back to end of function.
39558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39559 $(elfobjdir)/ld.so.
39561 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39564 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39566 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39567 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39568 of __vdso_gettimeofday.
39569 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39570 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39572 (_libc_vdso_platform_setup): Remove initialization of
39573 __vdso_gettimeofday and __vdso_time.
39575 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39577 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39578 and fgetc_unlocked.
39579 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39582 * elf/dl-open.c (add_to_global): Report additions to the global scope
39583 for LD_DEBUG=scopes.
39584 (dl_open_worker): Also print scope of newly loaded dependencies.
39585 (_dl_show_scope): Indicate if there is no scope.
39588 * stdio-common/Makefile (tests): Add bug24.
39589 * stdio-common/bug24.c: New file.
39591 2011-08-19 Andreas Jaeger <aj@suse.de>
39594 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39595 non-existant file when using close-on-exec mode.
39597 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39600 the very first instruction.
39602 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39603 the CFI state in the end.
39604 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39605 inclusion of dl-trampoline.h.
39606 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39608 2011-08-19 Andreas Schwab <schwab@redhat.com>
39610 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39611 expectations for long double.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39614 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39616 2011-08-14 David S. Miller <davem@davemloft.net>
39618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39619 artificual limit depends upon the system page size.
39621 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39623 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39624 * resolv/Makefile: Define CFLAGS-libresolv.
39626 2011-08-17 Andreas Schwab <schwab@redhat.com>
39628 * nss/makedb.c (compute_tables): Make variables used in nested
39631 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39633 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39634 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39635 if buffer was too small.
39637 * elf/pldd.c (main): Attach to all threads in the process.
39638 Rewrite /proc handling to use *at functions.
39640 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39642 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39643 specifies first scope to show.
39644 (dl_open_worker): Update callers. Move printing scope of new
39645 object to before the relocation.
39646 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39647 * sysdeps/generic/ldsodefs.h: Update declaration.
39649 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39650 string for the scope number.
39652 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39654 * nscd/servicescache.c (cache_addserv): Make sure written is always
39657 2011-08-14 Roland McGrath <roland@hack.frob.com>
39659 * sysdeps/i386/i486/bits/atomic.h
39660 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39661 statement expression, so as to suppress "set but not used" warning.
39662 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39664 * string/strncat.c (STRNCAT): Use prototype definition.
39666 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39667 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39669 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39670 (localedef-modules): Add localedef.
39671 (locale-modules): Add locale.
39673 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39674 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39675 to avoid a warning.
39677 2011-08-14 David S. Miller <davem@davemloft.net>
39679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39680 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39682 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39684 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39685 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39686 * elf/rtld.c (dl_main): Set l_name of vDSO.
39687 Call _dl_show_scope when DL_DEBUG_SCOPES.
39688 (process_dl_debug): Recognize scopes flag and also set it for all.
39689 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39690 Declare _dl_show_scope.
39692 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39693 (do_dlopen): Pass caller_dlopen to dl_open.
39694 (__libc_dlopen_mode): Initialize caller_dlopen.
39696 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39697 of libc. Make tolower call locale-independent. Optimize a bit by
39698 using isdigit instead of isalnum.
39699 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39701 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39703 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39704 was a dependency or dynamically loaded.
39706 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39708 * intl/l10nflist.c: Allow architecture-specific pop function.
39709 * sysdeps/x86_64/l10nflist.c: New file.
39711 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39714 2011-08-10 Andreas Schwab <schwab@redhat.com>
39716 * include/dirent.h: Add libc_hidden_proto for scandirat and
39717 scandirat64. Don't declare __scandirat64.
39718 * dirent/scandirat.c: Add libc_hidden_def.
39719 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39720 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39722 2011-08-10 David S. Miller <davem@davemloft.net>
39724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39730 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39732 * Versions.def [libc]: Add GLIBC_2.15.
39733 * dirent/Makefile (routines): Add scandirat and scandirat64.
39734 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39736 * dirent/dirent.h: Declare scandirat and scandirat64.
39737 * dirent/scandirat.c: New file.
39738 * dirent/scandirat64.c: New file.
39739 * sysdeps/wordsize-64/scandirat.c: New file.
39740 * sysdeps/wordsize-64/scandirat64.c: New file.
39741 * dirent/opendir.c: Define opendirat.
39742 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39744 * dirent/scandir64.c: Adjust for scandir.c change.
39745 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39746 __scandirat64, and __scandir_cancel_handler.
39747 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39748 additional parameter and use openat instead of open (outside of ld.so).
39749 Add new __opendir as wrapper around __opendirat.
39750 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39751 here without requiring old scandirat implementation.
39753 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39755 * dirent/scandir.c (cancel_handler): Renamed to
39756 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39757 defined. Adjust users.
39758 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39761 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39763 * string/test-string.h (IMPL): Use __STRING to expand name and then
39766 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39769 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39771 * string/Makefile: Update.
39772 (strop-tests): Append strncat.
39773 * string/test-wcscmp.c: New file.
39774 New comprehensive test for wcscmp.
39775 * string/test-strcmp.c: Update.
39776 (WIDE): New define.
39778 2011-07-22 Andreas Schwab <schwab@redhat.com>
39780 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39783 2011-07-26 Andreas Schwab <schwab@redhat.com>
39785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39786 encoding to ACE if AI_IDN.
39788 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39791 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39793 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39796 Fix overflow bug in strncat.
39797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39799 * string/test-strncat.c: Update.
39800 Add new tests for checking overflow bugs.
39802 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39805 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39806 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39807 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39808 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39809 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39810 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39811 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39812 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39815 (USE_AS_STRCAT): Define.
39816 Add strcat and strncat support.
39817 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39819 2011-07-25 Andreas Schwab <schwab@redhat.com>
39821 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39822 __n bigger than INT_MAX+1.
39823 (__strncmp_g): Likewise.
39825 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39827 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39828 * libio/stido.h: Likewise.
39830 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39835 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39836 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39838 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39839 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39842 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39847 (_dl_x86_64_save_sse): Likewise.
39849 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39851 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39853 (_dl_x86_64_save_sse): Likewise.
39855 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39857 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39859 2011-07-21 Andreas Schwab <schwab@redhat.com>
39861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39863 (_dl_x86_64_save_sse): Use correct AVX check.
39865 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39868 bug in strncpy/strncat.
39869 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39871 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39873 * string/tester.c (test_strcat): Add tests for different alignments
39874 of source and destination.
39875 (test_strncat): Likewise.
39877 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39880 * posix/glob.c (glob): Check passed in values before using them in
39881 expressions to avoid some overflows.
39882 (glob_in_dir): Likewise.
39885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39886 check for AVX enablement so that we don't crash with old kernels and
39888 * elf/tst-audit4.c: Add same checks here.
39889 * elf/tst-audit6.c: Likewise.
39891 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39893 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39895 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39897 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39899 * po/cs.po: Update from translation team.
39900 * po/bg.po: Likewise.
39902 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39904 * misc/sys/cdefs.h: Add support for const attribute.
39905 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39906 to gnu_dev_{major,minor,makedev} functions.
39908 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39910 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39912 2011-07-20 Andreas Schwab <schwab@redhat.com>
39914 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39917 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39920 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39921 register in order to avoid conflicts with the soft frame pointer
39922 being held in r11 when necessary.
39923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39924 (INTERNAL_VSYSCALL_NCS): Likewise.
39926 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39928 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39929 * elf/dl-fini.c (_dl_fini): Adjust caller.
39930 * elf/dl-close.c (_dl_close_worker): Likewise.
39931 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39933 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39935 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39936 "aux_cache->nlibs < 0".
39938 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39939 in the reload-count case.
39941 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39944 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39945 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39946 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39947 * sysdeps/x86_64/multiarch/strcat.S: New file.
39948 * sysdeps/x86_64/multiarch/strncat.S: New file.
39949 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39951 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39952 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39954 (USE_AS_STRCAT): Define.
39955 Add strcat and strncat support.
39956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39958 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39959 * string/strncat.c: Update.
39960 (USE_AS_STRNCAT): Define.
39961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39962 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39964 * sysdeps/x86_64/multiarch/init-arch.h
39965 (bit_Prefer_PMINUB_for_stringop): New.
39966 (index_Prefer_PMINUB_for_stringop): Likewise.
39967 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39968 bit_Prefer_PMINUB_for_stringop.
39970 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39972 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39974 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39975 of casting of buffer.
39976 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39977 buffer32 and buffer64.
39978 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39979 writes instead of casting of buffer.
39980 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39982 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39985 2011-07-19 Andreas Schwab <schwab@redhat.com>
39987 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39989 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39991 * nscd/nscd.c (termination_handler): Don't do anything for a database
39992 if it has not yet been initialized.
39994 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39996 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39998 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40000 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40002 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40004 * po/nl.po: Update from translation team.
40005 * po/sv.po: Likewise.
40007 2011-07-16 Roland McGrath <roland@hack.frob.com>
40009 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40010 now disallowed by GCC.
40012 * configure.in (use-default-link): Default to yes if a test -shared
40013 link meets our qualifications.
40014 * configure: Regenerated.
40016 * config.make.in (output-format): New variable.
40017 * configure.in: Check for ld --print-output-format support.
40018 * configure: Regenerated.
40019 * Makerules ($(common-objpfx)format.lds)
40020 [$(output-format) != unknown]: Just use $(output-format),
40021 instead of the linker-script munging.
40023 2011-07-14 Roland McGrath <roland@hack.frob.com>
40025 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40026 of $(common-objpfx)shlib.lds.
40027 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40029 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40030 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40032 * configure.in (-z relro check): Adjust test code to add a large
40033 writable data section after it.
40034 * configure: Regenerated.
40036 2011-07-11 Roland McGrath <roland@hack.frob.com>
40038 * configure.in (-z relro check): Fix test code to make the variable
40040 * configure: Regenerated.
40042 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40044 * nscd/nscd.h (struct traced_file): Define.
40045 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40046 elements. Add traced_files.
40047 (inotify_fd): Declare.
40048 (register_traced_file): Declare.
40049 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40050 (inotify_fd): Export.
40051 (resolv_conf_descr): Remove.
40052 (nscd_init): Move inotify descriptor creation to main.
40053 Don't register files for notification here.
40054 (register_traced_file): New function.
40055 (invalidate_cache): Don't use reset_res to determine whether to call
40056 res_init, go through the list of registered files.
40057 (main_loop_poll): The inotify descriptors are now stored in the
40058 structures for the traced files.
40059 (main_loop_epoll): Likewise
40060 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40061 to __nss_disable_nscd.
40062 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40063 for a database anymore. Check the records for all the registered
40065 * nss/Makefile (libnss_files-routines): Add files-init.
40066 (libnss_db-routines): Add db-init.
40067 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40068 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40069 * nss/nss_db/db-init.c: New file.
40070 * nss/nss_files/files-init.c: New file.
40071 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40072 __nss_lookup_function.
40073 (__nss_lookup_function): Call nss_load_library.
40074 (nss_load_all_libraries): New function.
40075 (__nss_disable_nscd): Take parameter with callback function for files
40076 to register. Set is_nscd. Load all the DSOs for the NSS modules
40077 used for the cached services.
40078 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40079 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40080 options for features to all the files in nscd.
40082 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40084 2011-07-10 Roland McGrath <roland@hack.frob.com>
40086 * csu/elf-init.c (__libc_csu_init): Comment typo.
40088 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40090 * po/pl.po: Update from translation team.
40091 * po/ja.po: Likewise.
40092 * po/ru.po: Likewise.
40093 * po/ko.po: Likewise.
40094 * po/fr.po: Likewise.
40096 2011-07-09 Roland McGrath <roland@hack.frob.com>
40098 * configure.in (.ctors/.dtors header and trailer check):
40099 Use an empirical test on a built program.
40100 * configure: Regenerated.
40102 * configure.in (-z relro check): Use an empirical test on a built DSO.
40103 Detect, but do not require, on ia64.
40104 * configure: Regenerated.
40106 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40107 Update tests that use readelf to use $READELF instead.
40108 * configure: Regenerated.
40110 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40112 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40113 if the result is not used.
40115 2011-07-05 Andreas Jaeger <aj@suse.de>
40118 * stdlib/tst-strtod.c: Add testcase.
40120 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40122 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40123 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40124 The latter has a higher limit. Take additional parameter to pass to
40126 (__pathconf): Pass file to __statfs_link_max.
40127 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40129 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40133 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40137 (__statfs_filesize_max): Likewise.
40138 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40140 2011-07-05 Andreas Jaeger <aj@suse.de>
40142 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40144 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40146 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40148 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40151 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40153 * Makefile (strop-tests): Add strncat.
40154 * string/test-strncat.c: New file.
40156 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40158 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40160 2011-06-21 Andreas Jaeger <aj@suse.de>
40162 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40163 Copy rule from iconvdata/Makefile.
40165 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40168 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40169 but no long options are defined, just return 'W'.
40171 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40174 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40176 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40178 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40180 (innetgr): Likewise.
40182 2011-07-05 Roland McGrath <roland@hack.frob.com>
40184 * config.make.in (install_root): Default to $(DESTDIR).
40186 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40190 2011-07-02 Roland McGrath <roland@hack.frob.com>
40192 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40194 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40195 containing directory rather than embedding absolute directory names.
40197 * scripts/check-local-headers.sh: Rewritten using awk.
40198 Match by word, not by line. Print error messages for matches.
40199 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40201 * Makerules [shlib-lds-flags empty]:
40202 ($(common-objpfx)libc_pic.opts): New target.
40203 ($(common-objpfx)libc_pic.os.clean): New target.
40204 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40206 * config.make.in (OBJCOPY): New variable.
40207 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40208 * configure: Regenerated.
40210 * config.make.in (use-default-link): New variable.
40211 * configure.in (use_default_link): Grok --with-default-link to set it.
40212 * configure: Regenerated.
40213 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40214 (shlib-lds, shlib-lds-flags): Define to empty.
40216 * Makerules (shlib-lds): New variable.
40217 (shlib-lds-flags): New variable.
40218 (build-shlib, build-moduile, build-module-asneeded): Use it.
40219 ($(common-objpfx)libc.so): Use $(shlib-lds).
40220 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40221 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40223 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40224 DT_FLAGS/DT_FLAGS_1 with zero flags.
40226 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40227 linker script munging.
40229 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40231 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40233 * crypt/sha512.c (sha512_process_block): Perform total addition using
40234 128-bit if possible.
40235 (__sha512_finish_ctx): Likewise.
40236 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40238 * crypt/sha256.c (SWAP64): Define.
40239 (sha256_process_block): Perform total addition using 64-bit if
40241 (__sha256_finish_ctx): Likewise.
40243 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40245 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40247 * nscd/hstcache.c (cache_addhst): Likewise.
40248 * nscd/grpcache.c (cache_addgr): Likewise.
40249 * nscd/aicache.c (addhstaiX): Likewise
40250 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40252 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40254 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40256 * nscd/hstcache.c (cache_addhst): Likewise.
40257 * nscd/grpcache.c (cache_addgr): Likewise.
40258 * nscd/aicache.c (addhstaiX): Likewise
40260 2011-07-01 Andreas Schwab <schwab@redhat.com>
40262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40263 domain only when needed.
40265 2011-06-30 Andreas Schwab <schwab@redhat.com>
40267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40268 is always restored.
40270 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40272 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40273 are re-adding the entry.
40274 * nscd/servicescache.c (cache_addserv): Likewise.
40276 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40278 * sysdeps/generic/dl-irel.h: fix protection against multiple
40280 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40282 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40285 * malloc/memusage.sh: Fix quoting in message.
40286 * debug/xtrace.sh: Likewise.
40288 * configure.in: Remove support for --experimental-malloc option, make
40290 * config.make.in: Likewise.
40291 * malloc/Makefile: Likewise.
40293 2011-06-27 Andreas Schwab <schwab@redhat.com>
40295 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40296 two-byte characters.
40298 2011-06-27 Roland McGrath <roland@hack.frob.com>
40300 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40301 AC_CACHE_CHECK invocation.
40302 * configure: Regenerated.
40304 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40306 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40309 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40310 bit from old_res_options.
40312 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40314 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40315 value type for setfct.
40317 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40320 __gettimeofday instead of gettimeofday.
40322 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40324 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40326 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40333 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40336 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40337 strcpy-sse2-unaligned strncpy-sse2-unaligned
40338 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40339 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40340 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40341 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40342 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40343 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40345 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40346 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40347 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40348 (STRCPY): Support SSE2 and SSSE3 versions.
40350 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40353 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40354 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40355 kernels which artificially limit size of requests.
40357 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40360 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40361 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40362 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40363 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40364 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40365 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40366 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40367 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40369 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40370 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40371 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40372 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40373 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40375 Enable unaligned load optimization for Intel Core i3, i5 and i7
40377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40379 (index_Fast_Unaligned_Load): Define.
40380 (HAS_FAST_UNALIGNED_LOAD): Define.
40382 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40384 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40386 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40390 until it is clear that the information is realy needed.
40391 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40393 2011-06-22 Andreas Schwab <schwab@redhat.com>
40395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40397 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40399 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40400 /sys/devices/system/cpu/online if it is usable.
40402 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40403 reading the information from the /proc filesystem to once a second.
40405 2011-06-21 Andreas Jaeger <aj@suse.de>
40407 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40408 NULL after inclusion of kernel headers.
40410 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40412 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40413 calls to internal_setent.
40416 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40417 addresses using gethostbyname4_r ignore IPv4 addresses.
40419 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40420 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40422 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40424 2011-06-20 David S. Miller <davem@davemloft.net>
40426 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40428 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40430 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40431 (elf_irel): Use it.
40432 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40433 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40434 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40435 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40436 * sysdeps/x86_64/dl-irel.h: Likewise.
40438 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40439 * elf/dl-sym.c: Likewise.
40441 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40443 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40444 need to dereference resplen2.
40446 2011-06-14 Andreas Schwab <schwab@redhat.com>
40448 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40450 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40452 * Makeconfig: Define vardbdir and inst_vardbdir.
40453 * nss/Makefile: Add rules to install db-Makefile.
40455 * nss/nss_db/db-XXX.c: Cleanup.
40457 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40458 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40460 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40461 * nss/makedb.c: Implement -g option to specify that value strings
40462 are generated and should not be added to table iterated over for
40464 * nss/nss_db/db-initgroups.c: New file.
40466 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40469 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40470 (internal_getgrouplist): Adjust to name change.
40471 Update use_initgroups_entry if this is not the first call.
40472 * nss/databases.def: Add initgroups entry.
40474 * nss/makedb.c (compute_tables): Check result of multiple hash table
40475 sizes to minimize maximum chain length.
40477 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40479 * Versions.def: Add entry for libnss_db.
40480 * shlib-versions: Likewise.
40481 * nss/Makefile: Add rules to build libnss_db.
40482 * nss/Versions: Add libnss_db information. Organize libnss_files
40484 * nss/db-Makefile: Add gshadow support. Change rules for the new
40485 makedb progra. Some minor improvements to generate smaller files.
40486 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40488 * nss/makedb.c: ...here.
40489 Improve database format to be smaller and require less memory at
40491 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40493 * nss/nss_db/db-netgrp.c: Likewise.
40494 * nss/nss_db/db-open.c: Likewise.
40495 * nss/nss_files/flies-XXX.x: Adjust comments.
40496 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40497 * nss/nss_files/files-grp.c: Likewise.
40498 * nss/nss_files/files-hosts.c: Likewise.
40499 * nss/nss_files/files-network.c: Likewise.
40500 * nss/nss_files/files-proto.c: Likewise.
40501 * nss/nss_files/files-pwd.c: Likewise.
40502 * nss/nss_files/files-rpc.c: Likewise.
40503 * nss/nss_files/files-service.c: Likewise.
40504 * nss/nss_files/files-sgrp.c: Likewise.
40505 * nss/nss_files/files-spwd.c: Likewise.
40506 * nss/nss_db/db-alias.c: Removed.
40507 * nss/nss_db/dummy-db.h: Removed.
40509 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40511 * nss/makedb.c: Rewritten to not use database library.
40512 * nss/Makefile: Update to build new makedb program.
40514 2011-06-14 Andreas Jaeger <aj@suse.de>
40516 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40517 memset declaration.
40519 2011-06-10 Andreas Schwab <schwab@redhat.com>
40521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40524 2011-06-10 Roland McGrath <roland@hack.frob.com>
40526 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40527 * elf/Makefile ($(objpfx)ld.so): Likewise.
40529 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40530 Don't list ld.so twice in dependencies.
40532 * posix/bug-regex31.c: Include <stdlib.h>.
40534 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40536 * nis/nss_compat/compat-spwd.c
40537 (getspent_next_nss_netgr): Remove unused variable.
40538 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40540 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40541 nonmembers" output to use the right array.
40543 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40545 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40547 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40548 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40549 * catgets/gencat.c (read_input_file): Likewise.
40550 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40552 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40553 variable definition inside #if's controlling its use.
40555 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40557 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40559 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40561 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40564 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40566 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40567 * configure: Regenerated.
40569 * Makerules: Revert last change.
40570 * elf/Makefile: Likewise.
40572 2011-06-09 Roland McGrath <roland@hack.frob.com>
40574 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40575 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40576 (reloc-link): Likewise.
40578 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40580 * elf/Makefile: Add rules to build pldd.
40581 * elf/pldd.c: New file.
40582 * elf/pldd-xx.c: New file.
40584 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40586 * version.h: Update for 2.15 development version.
40588 2011-06-07 David S. Miller <davem@davemloft.net>
40590 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40593 elf_machine_lazy_rel): Likewise.
40594 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40596 elf_machine_lazy_rel): Likewise.
40597 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40598 dl_hwcap via passed in argument.
40599 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40602 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40604 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40606 2011-06-06 Roland McGrath <roland@hack.frob.com>
40609 * manual/fdl-1.1.texi: New file, verbatim from:
40610 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40611 * manual/lgpl-2.1.texi: New file, verbatim from:
40612 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40613 * manual/Makefile (licenses): New variable, list those new file names.
40615 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40617 * manual/fdl.texi: File removed.
40618 * manual/lesser.texi: File removed.
40619 * manual/libc.texinfo (Copying, Documentation License):
40620 Use new @include file names, put @appendix directive before @include.
40622 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40625 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40626 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40627 (mq_open): Add __NTH.
40629 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40632 Assume Intel Core i3/i5/i7 processor if AVX is available.
40634 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40639 2011-05-31 Andreas Schwab <schwab@redhat.com>
40641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40642 memory. Use alloca_account. Fix memory leak when retrying.
40644 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40646 * version.h (RELEASE): Bump for 2.14 release.
40647 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40649 * config.make.in (RANLIB): Remove entry.
40651 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40653 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40654 (libc.pot): Work around missing support for .ksh extension in xgettext.
40657 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40658 if both request failed.
40659 (send_dg): In case of server errors clear resplen or *resplen2.
40662 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40663 when there are multiple maps.
40664 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40665 (_dl_fini): Remove test here.
40667 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40669 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40672 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40673 bit from old_res_options.
40674 (gaih_inet): Likewise.
40677 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40680 * resolv/res_init.c (res_setoptions): Make the code more compact.
40683 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40687 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40689 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40692 * malloc/malloc.h: Declare malloc hook variables as volatile.
40694 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40698 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40699 raise in the comment.
40700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40702 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40704 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40707 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40708 grow the buffers more if it already has to be sufficient.
40709 (build_wcs_upper_buffer): Likewise.
40710 * posix/regexec.c (check_matching): Likewise.
40711 (clean_state_log_if_needed): Likewise.
40712 (extend_buffers): Don't enlarge buffers beyond size of the input
40714 Patches mostly by Emil Wojak <emil@wojak.eu>.
40715 * posix/bug-regex32.c: New file.
40716 * posix/Makefile (tests): Add bug-regex32.
40718 * locale/findlocale.c (_nl_find_locale): Return right away if
40719 _nl_explode_name failed.
40720 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40722 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40724 * debug/xtrace.sh: Unify messages.
40725 * malloc/memusage.sh: Likewise.
40728 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40729 time symbol from vDSO. Substitute with vsyscall if not available.
40730 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40733 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40734 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40735 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40736 Add sendmmsg and internal_sendmmsg.
40737 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40738 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40739 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40741 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40742 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40743 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40745 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40748 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40749 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40755 * iconvdata/Makefile (tests): Add bug-iconv9.
40756 * iconvdata/bug-iconv9.c: New file.
40758 2011-05-27 Andreas Schwab <schwab@redhat.com>
40761 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40763 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40766 (struct user_regs_struct): Change intcs field back to cs.
40768 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40770 * po/ja.po: Update from translation team.
40772 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40775 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40776 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40778 2011-05-20 Andreas Schwab <schwab@redhat.com>
40780 * stdlib/longlong.h: Update from GCC.
40782 2011-05-23 Andreas Schwab <schwab@redhat.com>
40784 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40786 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40787 Add parameter name.
40788 (__sysconf): Pass it down.
40790 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40793 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40795 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40796 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40797 add in in __libc_use_alloca calls. Adjust callers.
40798 (glob): Use malloc in some situations.
40800 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40801 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40804 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40806 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40807 and CLOCK_BOOTTIME_ALARM.
40810 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40813 * string/_strerror.c (__strerror_r): Print negative errors as signed
40817 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40818 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40819 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40821 * configure.in: Fix typo in redirection and correct removal of test
40822 files in two cases.
40825 * locale/setlocale.c (new_composite_name): Fix test to check for
40826 identical name of all categories.
40829 * libio/filedoalloc.c (local_isatty): New function.
40830 (_IO_file_doallocate): Use local_isatty.
40831 * stdio-common/perror.c (perror): In case a new stream is used
40832 forward the stream error.
40833 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40836 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40841 * include/alloca.h (extend_alloca_account): Define.
40844 * posix/regex.h: Fix comments with documentation of user-accessible
40845 fields after compilation and describe correct free'ing of pattern
40846 after re_compile_pattern.
40847 Patch by Reuben Thomas <rrt@sc3d.org>.
40849 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40851 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40852 and -mno-altivec to prevent the compiler from using Altivec and/or
40853 VSX instructions when the corresponding registers are not available.
40855 2011-05-19 Andreas Schwab <schwab@redhat.com>
40857 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40859 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40861 * libio/freopen.c (freopen): Use __dup2, not dup2.
40862 * libio/freopen64.c (freopen64): Likewise.
40864 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40867 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40868 * math/Makefile (tests): Add test-powl.
40869 (CFLAGS-test-powl.c): Define.
40870 * math/test-powl.c: New file.
40872 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40874 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40876 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40879 * iconvdata/gb18030.c: Update to GB18020-2005.
40881 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40883 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40884 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40885 Patch by Aharon Robbins <arnold@skeeve.com>.
40888 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40892 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40893 through underflows.
40896 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40897 point to strings before performing equality test for error_one_per_line
40901 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40905 (struct user_fpregs_struct): Avoid __uint*_t types.
40908 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40909 symbol info. Use it instead of calling _dl_addr locally.
40910 (lock_and_info): New function.
40911 (tr_freehook): Call lock_and_info and pass symbol info as additional
40912 parameter to tr_where.
40913 (tr_mallochook): Likewise.
40914 (tr_reallochook): Likewise.
40915 (tr_memalignhook): Likewise.
40917 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40918 used and couldn't be at all thread-safe.
40920 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40922 * libio/freopen.c (freopen): Don't close old file descriptor
40923 before the new one is opened. Instead dup the new file descriptor
40924 to the old one after the new stream is created.
40925 * libio/freopen64.c (freopen64): Likewise.
40926 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40927 * libio/fileops.c (_IO_new_file_close_it): Handle new
40928 _IO_FLAGS2_NOCLOSE flag.
40929 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40930 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40931 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40932 _IO_FLAGS2_NOCLOSE flag.
40933 * include/unistd.h: Add hidden_proto for dup3.
40934 Define __have_dup3.
40935 * io/dup3.c: Define hidden symbol.
40936 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40939 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40940 when an incomplete long option is used.
40941 * posix/tst-getopt_long1.c: New file.
40942 * posix/Makefile (tests): Add tst-getopt_long1.
40945 * scripts/config.guess: Update from autoconf-2.68.
40946 * scripts/config.sub: Likewise.
40949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40951 (has_cpuclock): ...this. New function.
40952 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40953 macro here based on has_cpuclock code.
40956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40957 First byte (not low byte) is now always NUL.
40958 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40961 Use non-cancelable interfaces.
40964 * locale/iso-639.def: Add entry for Sorani.
40967 * include/stdlib.h: Move include protection to the right place.
40968 Define abort_msg_s. Declare __abort_msg with it.
40969 * stdlib/abort.c (__abort_msg): Adjust type.
40970 * assert/assert.c (__assert_fail_base): New function. Majority
40971 of code from __assert_fail. Allocate memory for __abort_msg with
40973 (__assert_fail): Now call __assert_fail_base.
40974 * assert/assert-perr.c: Remove bulk of implementation. Use
40975 __assert_fail_base.
40976 * include/assert.hL Declare __assert_fail_base.
40977 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40979 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40981 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40985 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40986 until all modules are registered in the DTV.
40987 * elf/Makefile: Add rules to build and run tst-tls19.
40988 * elf/tst-tls19.c: New file.
40989 * elf/tst-tls19mod1.c: New file.
40990 * elf/tst-tls19mod2.c: New file.
40991 * elf/tst-tls19mod3.c: New file.
40992 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40995 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40999 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41000 two-byte sequence errors.
41001 * iconvdata/Makefile (tests): Add bug-iconv8.
41002 * iconvdata/bug-iconv8.c: New file.
41005 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41008 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41011 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41012 (dummy_getcfa): New function.
41013 (init): Get _Unwind_GetCFA address, use dummy if not found.
41014 (backtrace_helper): In recursion check, also check whether CFA changes.
41015 (__backtrace): Completely initialize arg.
41017 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41018 storing incomplete byte sequence in state object. Avoid testing for
41019 guaranteed too small input if we know there is enough data available.
41021 2011-05-11 Andreas Schwab <schwab@redhat.com>
41023 * Makeconfig (+link-pie): Indent.
41024 * Rules (binaries-pie): Define if $(have-fpie) and
41026 (binaries-shared): Also filter out $(binaries-pie).
41027 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41028 * nscd/Makefile (others-pie): Add nscd.
41029 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41030 ($(objpfx)nscd): Remove command override.
41031 * login/Makefile (others-pie): Add pt_chown.
41032 ($(objpfx)pt_chown): Remove command override.
41033 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41034 remove command overrides.
41036 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41038 * libio/tst_putwc.c: Fix error messages.
41041 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41042 currently writing and seek to current position when not.
41043 * libio/Makefile (tests): Add bug-fclose1.
41044 * libio/bug-fclose1.c: New file.
41046 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41049 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41050 don't set DF_1_NODELETE here.
41051 (do_lookup_x): When entering new entry test for copy relocation
41052 and if necessary set DF_1_NODELETE flag.
41053 * elf/tst-unique4.cc: New file.
41054 * elf/tst-unique4.h: New file.
41055 * elf/tst-unique4lib.cc: New file.
41056 * elf/Makefile: Add rules to build and run tst-unique4.
41057 Patch by Piotr Bury <pbury@goahead.com>.
41059 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41065 * misc/mntent_r.c (addmntent): Flush the stream after the output
41068 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41069 (is_trusted_path_normalize): Skip initial colon. Append slash
41070 to empty buffer. Duplicate is_trusted_path code but allow
41071 constructed patch to be prefix.
41072 (is_dst): Allow $ORIGIN followed by /.
41073 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41074 Correct testing of result of is_trusted_path_normalize
41075 (decompose_rpath): Fix warning.
41077 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41080 * grp/initgroups.c (internal_getgrouplist): When we found the service
41081 list through the initgroups entry in nsswitch.conf do not always
41082 continue on a successful lookup. Don't always use the
41083 __nss_group_database value if it is set.
41084 * nss/nsswitch.conf (initgroups): Change action for successful db
41085 lookup to continue for compatibility.
41087 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41090 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41092 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41094 * iconvdata/tst-tables.sh: Likewise.
41095 * iconvdata/cp770.c: New file.
41096 * iconvdata/cp771.c: New file.
41097 * iconvdata/cp772.c: New file.
41098 * iconvdata/cp773.c: New file.
41099 * iconvdata/cp774.c: New file.
41100 * iconvdata/testdata/CP770: New file.
41101 * iconvdata/testdata/CP770..UTF8: New file.
41102 * iconvdata/testdata/CP771: New file.
41103 * iconvdata/testdata/CP771..UTF8: New file.
41104 * iconvdata/testdata/CP772: New file.
41105 * iconvdata/testdata/CP772..UTF8: New file.
41106 * iconvdata/testdata/CP773: New file.
41107 * iconvdata/testdata/CP773..UTF8: New file.
41108 * iconvdata/testdata/CP774: New file.
41109 * iconvdata/testdata/CP774..UTF8: New file.
41111 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41113 * iconvdata/gen-8bit-gap.sh: Likewise.
41114 * iconvdata/gen-8bit.sh: Likewise.
41116 * locale/iso-639.def: Add ary entry.
41119 * locale/C-translit.h.in: Add U20A1 transliteration.
41122 * locale/iso-639.def: Add wae entry.
41123 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41126 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41130 * locale/C-translit.h.in: Add entry for U20B9.
41131 Patch by pravin.d.s@gmail.com.
41133 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41136 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41137 ENAMETOOLONG use generic getcwd.
41138 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41139 in rtld. Use *stat64.
41140 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41141 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41142 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41143 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41144 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41145 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41146 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41147 __fstatat64 macros.
41148 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41149 * dirent/rewinddir.c: Add libc_hidden_def.
41150 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41151 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41153 * include/dirent.h (__alloc_dir): Add flags parameter.
41154 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41155 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41157 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41158 from fdopendir if O_CLOEXEC is already set.
41160 2011-03-15 Alan Modra <amodra@gmail.com>
41162 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41163 l_tls_firstbyte_offset non-zero. Save padding offset in
41164 l_tls_firstbyte_offset for later use.
41165 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41166 freeing static tls block.
41168 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41170 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41171 where #ifdef was intended. The intent is to prevent ARG_MAX from
41172 being defined by the kernel headers.
41174 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41177 * resolv/resolv.h: Define RES_NOTLDQUERY.
41178 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41179 no-tld-query and set RES_NOTLDQUERY.
41180 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41181 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41182 modern BIND to search name as TLD unless forbidden.
41184 2011-05-07 Petr Baudis <pasky@suse.cz>
41185 Ulrich Drepper <drepper@gmail.com>
41188 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41189 (is_trusted_path): ...to here.
41190 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41191 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41192 using is_trusted_path_normalize() in setuid scripts.
41194 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41196 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41197 __BEGIN/__END_DECLS.
41199 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41201 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41202 NSS_STATUS_NOTFOUND if no record was found.
41204 2011-05-05 Andreas Schwab <schwab@redhat.com>
41206 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41207 (headers-not-in-tirpc): Remove rpc/netdb.h
41208 * resolv/netdb.h: Revert last change.
41210 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41212 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41213 circular dependency between libgcc.a and libc.a.
41215 2011-05-05 Andreas Schwab <schwab@redhat.com>
41217 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41218 * nis/Makefile: Don't install rpcsvc/*.
41219 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41220 instead of <rpc/types.h>.
41221 (MAXHOSTNAMELEN): Define.
41223 2011-05-03 Andreas Schwab <schwab@redhat.com>
41225 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41227 2011-04-28 Maciej Babinski <mbabinski@google.com>
41230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41231 gethostbyname4_r when IPv6 results are possible.
41233 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41236 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41237 _PC_PIPE_BUF handling.
41239 2011-04-30 Bruno Haible <bruno@clisp.org>
41242 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41243 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41245 * inet/getnameinfo.c (getnameinfo): Likewise.
41247 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41249 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41250 to groups setting in database lookup.
41251 * nss/nsswitch.conf: Add initgroups entry.
41253 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41256 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41258 Patch by Eric Blake <eblake@redhat.com>.
41260 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41262 * sunrpc/Makefile (need-export-routines): Add svc_run.
41263 (routines): Remove svc_run.
41264 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41265 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41266 * sunrpc/svc_run.c (svc_run): Likewise.
41267 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41269 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41272 problem in reallocation in last patch.
41274 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41276 * sunrpc/Makefile: Move inclusion of Rules.
41278 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41280 * nss/nss_files/files-initgroups.c: New file.
41281 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41282 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41283 _nss_files_initgroups_dyn.
41285 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41287 * elf/elf.h (R_ARM_IRELATIVE): Define.
41289 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41291 * po/ru.po: Update from translation team.
41293 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41295 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41298 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41301 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41302 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41303 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41305 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41307 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41309 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41315 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41320 * stdlib/bug-getcontext.c: New file.
41321 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41323 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41325 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41326 instructions into .machine "z9-109".
41327 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41328 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41330 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41332 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41333 between environment variables and auxiliary vector.
41335 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41337 * Makefile: Add rules to build linkobj/libc.so.
41338 * include/libc-symbols.h: Define libc_hidden_nolink.
41339 * include/rpc/auth.h: Mark functions which are to be hidden.
41340 * include/rpc/auth_des.h: Likewise.
41341 * include/rpc/auth_unix.h: Likewise.
41342 * include/rpc/clnt.h: Likewise.
41343 * include/rpc/des_crypt.h: Likewise.
41344 * include/rpc/key_prot.h: Likewise.
41345 * include/rpc/pmap_clnt.h: Likewise.
41346 * include/rpc/pmap_prot.h: Likewise.
41347 * include/rpc/pmap_rmt.h: Likewise.
41348 * include/rpc/rpc_msg.h: Likewise.
41349 * include/rpc/svc.h: Likewise.
41350 * include/rpc/svc_auth.h: Likewise.
41351 * include/rpc/xdr.h: Likewise.
41352 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41353 * nss/Makefile: Likewise.
41354 * sunrpc/Makefile: Don't install headers. Build library with normal
41355 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41356 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41357 for the compat linking library. Remove use of INTDEF/INTUSE.
41358 * sunrpc/auth_none.c: Likewise.
41359 * sunrpc/auth_unix.c: Likewise.
41360 * sunrpc/authdes_prot.c: Likewise.
41361 * sunrpc/authuxprot.c: Likewise.
41362 * sunrpc/clnt_gen.c: Likewise.
41363 * sunrpc/clnt_perr.c: Likewise.
41364 * sunrpc/clnt_raw.c: Likewise.
41365 * sunrpc/clnt_simp.c: Likewise.
41366 * sunrpc/clnt_tcp.c: Likewise.
41367 * sunrpc/clnt_udp.c: Likewise.
41368 * sunrpc/clnt_unix.c: Likewise.
41369 * sunrpc/des_crypt.c: Likewise.
41370 * sunrpc/des_soft.c: Likewise.
41371 * sunrpc/get_myaddr.c: Likewise.
41372 * sunrpc/key_call.c: Likewise.
41373 * sunrpc/key_prot.c: Likewise.
41374 * sunrpc/netname.c: Likewise.
41375 * sunrpc/pm_getmaps.c: Likewise.
41376 * sunrpc/pm_getport.c: Likewise.
41377 * sunrpc/pmap_clnt.c: Likewise.
41378 * sunrpc/pmap_prot.c: Likewise.
41379 * sunrpc/pmap_prot2.c: Likewise.
41380 * sunrpc/pmap_rmt.c: Likewise.
41381 * sunrpc/publickey.c: Likewise.
41382 * sunrpc/rpc_cmsg.c: Likewise.
41383 * sunrpc/rpc_common.c: Likewise.
41384 * sunrpc/rpc_dtable.c: Likewise.
41385 * sunrpc/rpc_prot.c: Likewise.
41386 * sunrpc/rpc_thread.c: Likewise.
41387 * sunrpc/rtime.c: Likewise.
41388 * sunrpc/svc.c: Likewise.
41389 * sunrpc/svc_auth.c: Likewise.
41390 * sunrpc/svc_authux.c: Likewise.
41391 * sunrpc/svc_raw.c: Likewise.
41392 * sunrpc/svc_run.c: Likewise.
41393 * sunrpc/svc_simple.c: Likewise.
41394 * sunrpc/svc_tcp.c: Likewise.
41395 * sunrpc/svc_udp.c: Likewise.
41396 * sunrpc/svc_unix.c: Likewise.
41397 * sunrpc/svcauth_des.c: Likewise.
41398 * sunrpc/xcrypt.c: Likewise.
41399 * sunrpc/xdr.c: Likewise.
41400 * sunrpc/xdr_array.c: Likewise.
41401 * sunrpc/xdr_float.c: Likewise.
41402 * sunrpc/xdr_intXX_t.c: Likewise.
41403 * sunrpc/xdr_mem.c: Likewise.
41404 * sunrpc/xdr_rec.c: Likewise.
41405 * sunrpc/xdr_ref.c: Likewise.
41406 * sunrpc/xdr_sizeof.c: Likewise.
41407 * sunrpc/xdr_stdio.c: Likewise.
41409 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41412 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41413 * sysdeps/ia64/dl-tls.h: Likewise.
41414 * sysdeps/powerpc/dl-tls.h: Likewise.
41415 * sysdeps/s390/dl-tls.h: Likewise.
41416 * sysdeps/sh/dl-tls.h: Likewise.
41417 * sysdeps/sparc/dl-tls.h: Likewise.
41418 * sysdeps/x86_64/dl-tls.h: Likewise.
41419 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41421 2011-03-14 Andreas Schwab <schwab@redhat.com>
41423 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41424 rpath element also skip the following colon.
41425 (expand_dynamic_string_token): Add is_path parameter and pass
41426 down to DL_DST_REQUIRED and _dl_dst_substitute.
41427 (decompose_rpath): Call expand_dynamic_string_token with
41428 non-zero is_path. Ignore empty rpaths.
41429 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41432 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41437 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41440 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41441 Patch by Filipe David Manana <fdmanana@apache.org>.
41443 2011-04-07 Andreas Schwab <schwab@redhat.com>
41445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41446 Maintain aligned stack.
41447 (CHECK_RSP): Remove unused macro.
41449 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41451 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41452 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41454 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41456 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41458 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41460 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41463 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41464 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41465 * sysdeps/x86_64/memmove.c: New file.
41466 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41467 (memcpy): Renamed to ...
41468 (__new_memcpy): This.
41469 (memcpy): Provide GLIBC_2_14 memcpy.
41470 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41471 (memcpy): Provide GLIBC_2_2_5 memcpy.
41473 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41476 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41478 2011-03-30 Andreas Schwab <schwab@redhat.com>
41480 * misc/syncfs.c: New file.
41481 * misc/Makefile (routines): Add syncfs.
41482 * posix/unistd.h: Declare syncfs.
41483 * sysdeps/unix/syscalls.list: Add syncfs.
41485 2011-04-01 Andreas Schwab <schwab@redhat.com>
41487 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41494 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41497 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41499 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41500 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41501 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41507 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41508 sync_file_range.c with -fexceptions.
41509 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41510 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41511 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41512 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41513 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41514 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41516 sync_file_range as cancellation point
41517 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41518 now a wrapper around __call_sync_file_range with cancellation handling.
41519 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41520 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41521 function name to __call_sync_file_range.
41522 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41523 Add call_sync_file_range.
41525 2011-04-01 Andreas Schwab <schwab@redhat.com>
41527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41530 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41532 * iconv/iconv.h: Fix typo in comment.
41533 * io/fcntl.h: Likewise.
41534 * libio/stdio.h: Likewise.
41535 * posix/spawn.h: Likewise.
41536 * posix/unistd.h: Likewise.
41537 * stdlib/stdlib.h: Likewise.
41538 * time/time.h: Likewise.
41539 * wcsmbs/wchar.h: Likewise.
41541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41542 open_by_handle): Add.
41543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41544 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41545 Augment a few comments.
41546 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41548 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41551 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41554 * io/fcntl.h (AT_EMPTY_PATH): Define.
41556 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41558 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41559 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41560 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41562 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41563 * Versions.def: Add GLIBC_2.14.
41564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41567 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41569 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41571 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41573 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41576 * string/test-strncmp.c (do_page_test): New function.
41577 (check2): Likewise.
41578 (test_main): Call check2.
41579 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41581 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41585 Handle cache information in CPU leaf 4.
41586 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41588 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41591 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41592 character representation.
41593 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41595 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41597 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41598 END(__isnan) to END(__isnanf) to match function entry point/label
41599 EALIGN(__isnanf,...).
41601 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41603 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41605 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41608 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41609 copy from the symbol referenced in the relocation to initialize the
41611 Patch by Piotr Bury <pbury@goahead.com>.
41612 * elf/Makefile: Add rules to build and tst-unique3.
41613 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41614 * elf/tst-unique3.cc: New file.
41615 * elf/tst-unique3.h: New file.
41616 * elf/tst-unique3lib.cc: New file.
41617 * elf/tst-unique3lib2.cc: New file.
41619 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41621 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41623 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41624 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41627 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41629 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41630 to-be-loaded object along a path to loader is ld.so.
41632 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41633 Ulrich Drepper <drepper@gmail.com>
41635 * sysdeps/x86_64/memset.S: After aligning destination, code
41636 branches to different locations depending on the value of
41637 misalignment, when multiarch is enabled. Fix this.
41639 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41641 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41642 Set _x86_64_preferred_memory_instruction for AMD processsors.
41643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41644 Set bit_Prefer_SSE_for_memop for AMD processors.
41646 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41648 * libio/fmemopen.c (fmemopen): Optimize a bit.
41650 2011-03-03 Andreas Schwab <schwab@redhat.com>
41652 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41654 2011-03-03 Roland McGrath <roland@redhat.com>
41656 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41658 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41660 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41661 __bzero_ultra1 instead of __memset_ultra1.
41663 2011-02-23 Andreas Schwab <schwab@redhat.com>
41664 Ulrich Drepper <drepper@gmail.com>
41667 * include/link.h (struct link_map): Add l_orig_initfini.
41668 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41669 returning unsuccessfully.
41670 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41671 close of a file loaded at startup, restore the original l_initfini
41673 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41674 list, store the pointer.
41675 * elf/Makefile ($(objpfx)noload-mem): New rule.
41676 (noload-ENV): Define.
41677 (tests): Add $(objpfx)noload-mem.
41678 * elf/noload.c: Include <memcheck.h>.
41679 (main): Call mtrace. Close all opened handles.
41681 2011-02-17 Andreas Schwab <schwab@redhat.com>
41684 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41685 dependencies are missing.
41687 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41689 Fix __if_freereq crash: Unlike the generic version which uses free,
41691 * sysdeps/mach/hurd/ifreq.h: New file.
41693 2011-01-27 Petr Baudis <pasky@suse.cz>
41694 Ulrich Drepper <drepper@gmail.com>
41697 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41698 to extend_alloca().
41699 * stdio-common/bug23.c: New file.
41700 * stdio-common/Makefile (tests): Add bug23.
41702 2010-09-28 Andreas Schwab <schwab@redhat.com>
41703 Ulrich Drepper <drepper@gmail.com>
41706 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41707 before performing relro protection. At old place add assertion
41708 to make sure nothing changed.
41710 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41711 Glauber de Oliveira Costa <glommer@gmail.com>
41713 * elf/elf.h: Add new ARM TLS relocs.
41715 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41718 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41720 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41722 * sysdeps/wordsize-64/tst-writev.c: New file.
41724 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41726 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41727 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41728 insns in _dl_start to prevent a TOC reference before relocs are
41731 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41734 * Makeconfig: Remove RANLIB definition.
41735 * Makerules: Don't use RANLIB.
41736 * aclocal.m4: Remove ranlib test.
41737 * configure.in: No need to check for ranlib.
41738 * elf/rtld-Rules: Don't use RANLIB.
41740 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41742 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41744 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41745 inclusion protection macro.
41747 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41748 SIGRTMIN and SIGRTMAX and print information in that case only when
41749 SIGRTMIN is defined.
41751 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41753 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41754 arginfo fn returning -1.
41756 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41757 and thousands string is zero terminated.
41759 2011-02-03 Andreas Schwab <schwab@redhat.com>
41761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41762 sysdeps/unix/sysv/linux/bits/socket.h.
41764 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41766 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41767 (__CPU_COUNT): Remove old macros.
41768 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41769 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41770 (__CPU_ALLOC, __CPU_FREE): Add macros.
41771 (__sched_cpualloc, __sched_cpufree): Add declarations.
41773 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41775 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41776 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41777 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41778 (readdhstai): Return value of addhstaiX call.
41779 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41780 (addgrbyX): Return value returned by cache_addgr.
41781 (readdgrbyname): Return value returned by addgrbyX.
41782 (readdgrbygid): Likewise.
41783 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41784 (addpwbyX): Return value returned by cache_addpw.
41785 (readdpwbyname): Return value returned by addhstbyX.
41786 (readdpwbyuid): Likewise.
41787 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41788 (addservbyX): Return value returned by cache_addserv.
41789 (readdservbyname): Return value returned by addservbyX:
41790 (readdservbyport): Likewise.
41791 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41792 (addhstbyX): Return value returned by cache_addhst.
41793 (readdhstbyname): Return value returned by addhstbyX.
41794 (readdhstbyaddr): Likewise.
41795 (readdhstbynamev6): Likewise.
41796 (readdhstbyaddrv6): Likewise.
41797 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41798 (readdinitgroups): Return value returned by addinitgroupsX.
41799 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41800 (prune_cache): Keep track of timeout value of re-added entries.
41801 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41802 * nscd/nscd.h: Adjust prototypes of readd* functions.
41804 2011-02-04 Roland McGrath <roland@redhat.com>
41806 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41807 (nis_stats): Likewise.
41808 * nis/nis_modify.c (nis_modify): Likewise.
41809 * nis/nis_remove.c (nis_remove): Likewise.
41810 * nis/nis_add.c (nis_add): Likewise.
41812 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41814 * posix/fnmatch_loop.c: Add some consts.
41816 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41818 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41821 * config.make.in (config-cflags-novzeroupper): Define.
41822 * configure.in: Substitute libc_cv_cc_novzeroupper.
41823 * elf/Makefile (AVX-CFLAGS): Define.
41824 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41825 (CFLAGS-tst-auditmod4a.c): Likewise.
41826 (CFLAGS-tst-auditmod4b.c): Likewise.
41827 (CFLAGS-tst-auditmod6b.c): Likewise.
41828 (CFLAGS-tst-auditmod6c.c): Likewise.
41829 (CFLAGS-tst-auditmod7b.c): Likewise.
41830 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41832 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41834 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41835 function to the callback.
41836 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41838 2011-02-02 Andreas Schwab <schwab@redhat.com>
41840 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41843 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41846 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41848 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41850 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41853 * elf/Makefile: Add rules to build and run new test.
41854 * elf/tst-initorder.c: New file.
41855 * elf/tst-initorder.exp: New file.
41856 * elf/tst-initordera1.c: New file.
41857 * elf/tst-initordera2.c: New file.
41858 * elf/tst-initordera3.c: New file.
41859 * elf/tst-initordera4.c: New file.
41860 * elf/tst-initorderb1.c: New file.
41861 * elf/tst-initorderb2.c: New file.
41862 * elf/tst-order-a1.c: New file.
41863 * elf/tst-order-a2.c: New file.
41864 * elf/tst-order-a3.c: New file.
41865 * elf/tst-order-a4.c: New file.
41866 * elf/tst-order-b1.c: New file.
41867 * elf/tst-order-b2.c: New file.
41868 * elf/tst-order-main.c: New file.
41869 New test case by George Gensure <werkt0@gmail.com>.
41871 2010-10-01 Andreas Schwab <schwab@redhat.com>
41873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41874 decoding ACE if AI_CANONIDN.
41876 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41878 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41880 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41882 * version.h (RELEASE): Bump for 2.13 release.
41883 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41885 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41889 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41891 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41892 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41894 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41896 * posix/getconf.c: Update copyright year.
41897 * catgets/gencat.c: Likewise.
41898 * csu/version.c: Likewise.
41899 * debug/catchsegv.sh: Likewise.
41900 * debug/xtrace.sh: Likewise.
41901 * elf/ldconfig.c: Likewise.
41902 * elf/ldd.bash.in: Likewise.
41903 * elf/sprof.c (print_version): Likewise.
41904 * iconv/iconv_prog.c: Likewise.
41905 * iconv/iconvconfig.c: Likewise.
41906 * locale/programs/locale.c: Likewise.
41907 * locale/programs/localedef.c: Likewise.
41908 * malloc/memusage.sh: Likewise.
41909 * malloc/mtrace.pl: Likewise.
41910 * nscd/nscd.c (print_version): Likewise.
41911 * nss/getent.c: Likewise.
41913 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41914 PF_CAIF, and PF_ALG.
41915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41917 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41919 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41920 (modules-names): Use them.
41921 (ifunc-test-modules, ifunc-pie-tests): Define.
41922 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41923 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41924 (test-extras): Likewise.
41925 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41926 $(compile-command.c).
41927 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41928 (all-built-dso): Define.
41929 (check-textrel.out, check-execstack.out): Depend on it.
41931 * configure.in: Don't override --enable-multi-arch.
41933 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41936 * nscd/hstcache.c (tryagain): Define.
41937 (cache_addhst): Return tryagain not notfound for temporary errors.
41938 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41941 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41944 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41945 to make the syscall.
41946 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41949 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41950 and fall back to matching as normal character if the string ends before
41951 the matching ']' is found. This is what POSIX requires.
41952 * posix/testfnm.c: Adjust test result.
41953 * posix/globtest.sh: Adjust test result. Add new test.
41954 * posix/tst-fnmatch.input: Likewise.
41955 * posix/tst-fnmatch2.c: Add new test.
41957 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41959 * elf/Makefile (check-execstack): Revert last change. Depend on
41961 (check-execstack.h): New target.
41962 (generated): Add check-execstack.h.
41963 * elf/check-execstack.c: Include "check-execstack.h".
41964 (main): Revert last change.
41965 (handle_file): Return zero if GNU_STACK is absent and
41966 DEFAULT_STACK_PERMS doesn't include PF_X.
41968 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41970 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41971 in child fails because the descriptor is already closed.
41972 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41973 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41977 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41981 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41982 temporary buffer used to handle multi lookups locally.
41983 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41985 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41987 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41990 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41992 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41993 alignment for SSE2.
41995 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41998 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41999 characters. When rounding increased number of integer digits recompute
42001 * stdio-common/tst-grouping.c: New file.
42002 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42004 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42006 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42007 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42009 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42011 * bits/select.h: Likewise.
42013 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42015 * po/ja.po: Update from translation team.
42017 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42020 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42021 implementation just like for lxstat, fxstatat, et al.
42023 2010-12-27 Jim Meyering <meyering@redhat.com>
42026 * posix/regexec.c (build_trtable): Return failure indication upon
42027 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42029 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42032 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42033 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42034 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42035 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42038 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42041 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42042 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42044 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42046 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42047 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42048 script has SORT_BY_INIT_PRIORITY.
42049 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42050 NO_CTORS_DTORS_SECTIONS is defined.
42051 * elf/soinit.c: Likewise.
42052 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42053 NO_CTORS_DTORS_SECTIONS is defined.
42054 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42055 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42056 * sysdeps/sh/init-first.c: Likewise.
42057 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42059 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42061 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42062 always use the slow path.
42064 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42066 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42067 similar rule which adds the sysdep directories to the header search in
42068 order to pick up the correct platform stackinfo.h.
42069 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42070 perform test if it is, otherwise return successfully without testing.
42071 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42072 DEFAULT_STACK_PERMS define in stackinfo.h.
42073 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42074 defined in stackinfo.h.
42075 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42076 DEFAULT_STACK_PERMS defined in stackinfo.h.
42077 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42078 * sysdeps/ia64/stackinfo.h: Likewise.
42079 * sysdeps/s390/stackinfo.h: Likewise.
42080 * sysdeps/sh/stackinfo.h: Likewise.
42081 * sysdeps/sparc/stackinfo.h: Likewise.
42082 * sysdeps/x86_64/stackinfo.h: Likewise.
42083 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42084 PF_X for powerpc64. Retain PF_X for powerpc32.
42086 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42088 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42090 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42091 GETDENTS_64BIT_ALIGNED.
42093 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42095 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42097 2010-12-10 Andreas Schwab <schwab@redhat.com>
42099 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42102 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42103 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42105 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42106 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42108 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42111 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42114 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42116 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42118 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42120 * po/it.po: Update from translation team.
42122 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42127 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42129 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42131 2010-11-24 Andreas Schwab <schwab@redhat.com>
42133 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42135 (gaih_getanswer_slice): Likewise.
42137 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42141 2010-05-31 Petr Baudis <pasky@suse.cz>
42144 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42145 silently even in the chroot mode.
42147 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42149 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42150 last patch a bit. Pretty printing
42152 2010-05-31 Petr Baudis <pasky@suse.cz>
42155 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42156 initialization of skip_initgroups_dyn.
42158 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42160 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42163 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42165 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42167 2010-11-11 Andreas Schwab <schwab@redhat.com>
42169 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42170 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42171 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42172 ($(objpfx)tst-fnmatch-mem): New rule.
42173 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42174 * posix/tst-fnmatch.c (main): Call mtrace.
42176 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42179 Support Intel processor model 6 and model 0x2c.
42181 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42183 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42186 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42189 * string/test-strncasecmp.c (check_result): New function.
42190 (do_one_test): Use it.
42191 (check1): New function.
42192 (test_main): Use it.
42193 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42194 Support strcasecmp and strncasecmp.
42196 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42199 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42202 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42204 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42208 * sysdeps/x86_64/multiarch/bzero.S: New file.
42209 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42210 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42211 * sysdeps/x86_64/multiarch/memset.S: New file.
42212 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42214 Set bit_Prefer_SSE_for_memop for Intel processors.
42215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42217 (index_Prefer_SSE_for_memop): Define.
42218 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42220 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42222 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42223 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42225 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42228 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42229 (__x86_64_raw_data_cache_size_half): Likewise.
42230 (__x86_64_raw_shared_cache_size): Likewise.
42231 (__x86_64_raw_shared_cache_size_half): Likewise.
42233 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42234 (__x86_64_raw_data_cache_size_half): Likewise.
42235 (__x86_64_raw_shared_cache_size): Likewise.
42236 (__x86_64_raw_shared_cache_size_half): Likewise.
42237 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42238 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42239 and __x86_64_raw_shared_cache_size_half. Round
42240 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42241 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42242 to multiple of 256 bytes.
42244 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42247 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42248 of inacessible symlinks. Verify result of symlink before returning it.
42249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42250 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42252 2010-10-28 Erich Ritz <erichritz@gmail.com>
42254 * math/math.h (isinf): Fix typo in comment.
42256 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42258 * po/da.po: Update from translation team.
42260 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42262 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42263 is added to the list.
42265 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42266 Ulrich Drepper <drepper@gmail.com>
42268 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42269 the global list here. Move code to...
42270 (_dl_add_to_namespace_list): ...here. New function.
42271 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42272 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42273 * elf/dl-load.c (lose): Don't remove the element from the list.
42274 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42275 (_dl_map_object): Likewise.
42277 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42280 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42281 into all bytes of SSE register.
42282 Patch by Richard Li <richardpku@gmail.com>.
42284 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42287 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42290 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42292 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42293 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42295 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42300 2010-10-22 Andreas Schwab <schwab@redhat.com>
42302 * include/dlfcn.h (__RTLD_SECURE): Define.
42303 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42304 mode & __RTLD_SECURE instead.
42305 (open_path): Rename preloaded parameter to secure.
42306 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42307 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42308 * elf/dl-deps.c (openaux): Likewise.
42309 * elf/rtld.c (struct map_args): Remove is_preloaded.
42310 (map_doit): Don't use it.
42311 (dl_main): Likewise.
42312 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42313 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42315 2010-09-09 Andreas Schwab <schwab@redhat.com>
42317 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42318 (sysd-rules-targets): Remove duplicates.
42319 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42320 rtld-%.$o dependency.
42322 2010-10-18 Andreas Schwab <schwab@redhat.com>
42324 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42325 _dl_map_object do it.
42327 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42329 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42330 fast fma builtins, define the macros in the C99 standard.
42331 (FP_FAST_FMAF): Likewise.
42332 (FP_FAST_FMAL): Likewise.
42333 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42335 * bits/mathdef.h: Update copyright year.
42336 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42338 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42340 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42341 builtins, define the macros in the C99 standard.
42342 (FP_FAST_FMAF): Likewise.
42343 (FP_FAST_FMAL): Likewise.
42344 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42346 (FP_FAST_FMAF): Likewise.
42348 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42351 * math/libm-test.inc (fma_test): Some new testcases.
42352 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42353 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42354 y and infinite z. Do multiplication by C already in long double.
42355 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42357 y and infinite z. Do bitwise or of inexact bit into u.d.
42358 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42359 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42360 * sysdeps/i386/fpu/s_fma.S: Removed.
42361 * sysdeps/i386/fpu/s_fmal.S: Removed.
42363 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42366 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42368 computation is not scheduled after fetestexcept. Fix value
42369 of minimum denormal long double.
42371 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42374 * math/libm-test.inc (fma_test): Add some more tests.
42375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42378 2010-10-15 Andreas Schwab <schwab@redhat.com>
42380 * scripts/data/localplt-s390-linux-gnu.data: New file.
42381 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42383 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42386 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42387 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42389 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42391 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42393 if one of x and y is very large and the other is subnormal.
42394 * sysdeps/s390/fpu/s_fmaf.c: New file.
42395 * sysdeps/s390/fpu/s_fma.c: New file.
42396 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42397 * sysdeps/powerpc/fpu/s_fma.S: New file.
42398 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42399 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42400 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42402 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42405 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42408 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42409 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42410 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42411 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42412 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42415 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42418 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42419 * posix/bug-regex31.input: Add test case.
42421 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42423 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42424 * posix/bug-regex31.input: New file.
42427 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42428 (parse_sub_exp): Fix last change, use postorder.
42430 * posix/bug-regex31.c: New file.
42431 * posix/Makefile: Add rules to build and run bug-regex31.
42433 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42436 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42439 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42440 to have entries in sys_siglist.
42443 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42446 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42449 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42450 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42451 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42452 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42453 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42454 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42455 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42456 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42457 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42458 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42459 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42460 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42461 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42462 * math/ftestexcept.c (fetestexcept): Likewise.
42463 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42464 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42465 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42466 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42467 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42468 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42471 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42474 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42477 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42479 * string/bug-strstr1.c: New file.
42480 * string/Makefile: Add rules to build and run bug-strstr1.
42482 2010-10-05 Eric Blake <eblake@redhat.com>
42485 * string/str-two-way.h (two_way_long_needle): Always clear memory
42486 when skipping input due to the shift table.
42488 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42491 * malloc/mcheck.c: Handle large requests.
42494 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42495 for strncmp and strncasecmp.
42496 * string/stratcliff.c: Add tests for strcmp and strncmp.
42497 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42499 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42501 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42504 2010-09-30 Andreas Jaeger <aj@suse.de>
42506 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42507 (CGROUP_SUPER_MAGIC): Define.
42508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42509 Handle btrfs and cgroup file systems.
42510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42513 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42515 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42516 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42518 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42521 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42522 trying to locate the ELF header.
42524 2010-09-27 Andreas Schwab <schwab@redhat.com>
42527 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42528 Mask out sign-bit copies when constructing f_fsid.
42530 2010-09-24 Petr Baudis <pasky@suse.cz>
42532 * debug/stack_chk_fail_local.c: Add missing licence exception.
42533 * debug/warning-nop.c: Likewise.
42535 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42538 implementing getdents64 using getdents syscall, set d_type if
42539 __ASSUME_GETDENTS32_D_TYPE.
42541 2010-09-16 Andreas Schwab <schwab@redhat.com>
42543 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42544 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42546 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42549 * posix/unistd.h: Undo change of feature selection for ftruncate from
42552 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42554 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42557 2010-09-20 Andreas Schwab <schwab@redhat.com>
42559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42561 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42563 2010-09-14 Andreas Schwab <schwab@redhat.com>
42565 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42566 variables after CHECK_SP call.
42567 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42569 2010-09-13 Andreas Schwab <schwab@redhat.com>
42570 Ulrich Drepper <drepper@redhat.com>
42572 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42573 re-relocationg ld.so.
42574 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42575 _dl_init_paths call.
42576 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42579 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42581 * resolv/res_init.c (__res_vinit): Count the default server we added.
42583 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42584 Ulrich Drepper <drepper@redhat.com>
42587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42588 (____longjmp_chk): Use %ebx for saving value across system call.
42591 2010-09-06 Andreas Schwab <schwab@redhat.com>
42593 * manual/Makefile: Don't mix pattern rules with normal rules.
42595 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42597 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42599 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42600 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42601 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42602 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42603 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42606 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42609 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42610 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42612 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42614 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42615 * sysdeps/x86_64/addmul_1.S: Likewise.
42616 * sysdeps/x86_64/lshift.S: Likewise.
42617 * sysdeps/x86_64/mul_1.S: Likewise.
42618 * sysdeps/x86_64/rshift.S: Likewise.
42619 * sysdeps/x86_64/sub_n.S: Likewise.
42620 * sysdeps/x86_64/submul_1.S: Likewise.
42622 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42624 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42625 Define __sched_param instead of SCHED_* and sched_param when
42626 <bits/sched.h> is included with __need_schedparam defined.
42627 * bits/sched.h [__need_schedparam]
42628 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42629 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42630 (__defined_schedparam): Define to 1.
42631 (__sched_param): New structure, identical to sched_param.
42632 (__need_schedparam): Undefine.
42634 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42637 (epoll_create1): Declare.
42639 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42641 2010-08-31 Andreas Schwab <schwab@redhat.com>
42644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42645 shifting retval into place.
42647 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42649 * nis/rpcsvc/nis.h: Update copyright notice.
42650 * nis/rpcsvc/nis.x: Likewise.
42651 * nis/rpcsvc/nis_callback.h: Likewise.
42652 * nis/rpcsvc/nis_callback.x: Likewise.
42653 * nis/rpcsvc/nis_object.x: Likewise.
42654 * nis/rpcsvc/nis_tags.h: Likewise.
42655 * nis/rpcsvc/yp.h: Likewise.
42656 * nis/rpcsvc/yp.x: Likewise.
42657 * nis/rpcsvc/ypupd.h: Likewise.
42658 * nis/yp_xdr.c: Likewise.
42659 * nis/ypupdate_xdr.c: Likewise.
42661 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42662 mainly the body of pmap_getport. Add parameters to specify timeouts.
42663 (pmap_getport): Use __libc_rpc_getport.
42664 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42665 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42666 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42668 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42673 2010-08-27 Roland McGrath <roland@redhat.com>
42675 * sysdeps/i386/i686/multiarch/Makefile
42676 (CFLAGS-varshift.c): New variable.
42678 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42680 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42681 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42685 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42687 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42689 * sysdeps/x86_64/strlen.S: Unroll the loop.
42690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42691 strlen-sse2 strlen-sse2-bsf.
42692 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42693 __strlen_no_bsf if bit_Slow_BSF is set.
42694 (__strlen_sse42): Removed.
42695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42696 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42698 2010-08-25 Roland McGrath <roland@redhat.com>
42700 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42701 * sysdeps/x86_64/multiarch/varshift.c: New file.
42702 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42703 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42704 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42705 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42707 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42710 strlen-sse2 strlen-sse2-bsf.
42711 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42712 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42713 (__strlen_sse2): Removed.
42714 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42717 bit_Slow_BSF for Atom.
42718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42719 (index_Slow_BSF): Define.
42720 (HAS_SLOW_BSF): Define.
42722 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42725 * resolv/res_init.c (__res_vinit): When no server address at all
42726 is given default to loopback.
42728 2010-08-24 Roland McGrath <roland@redhat.com>
42730 * configure.in: Remove config-name.h generation.
42731 * configure: Regenerated.
42732 * config-name.in: File removed.
42733 * scripts/config-uname.sh: New file.
42734 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42735 ($(objdir)config-name.h): New target.
42737 * sunrpc/rpc_parse.h: Avoid nested comment.
42739 2010-08-24 Richard Henderson <rth@redhat.com>
42740 Ulrich Drepper <drepper@redhat.com>
42741 H.J. Lu <hongjiu.lu@intel.com>
42743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42745 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42746 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42747 _mm_alignr_epi8 with _mm_loadu_si128.
42748 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42749 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42750 (__m128i_shift_right): Removed.
42751 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42752 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42753 * sysdeps/x86_64/multiarch/varshift.h: New file.
42754 * sysdeps/x86_64/multiarch/varshift.S: New file.
42756 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42758 * configure.in: Move assembler checks to before sysdep dir checking.
42760 2010-08-20 Petr Baudis <pasky@suse.cz>
42762 * LICENSES: Sync the sunrpc license.
42764 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42766 * sunrpc/auth_des.c: Update copyright notice once again.
42767 * sunrpc/auth_none.c: Likewise.
42768 * sunrpc/auth_unix.c: Likewise.
42769 * sunrpc/authdes_prot.c: Likewise.
42770 * sunrpc/authuxprot.c: Likewise.
42771 * sunrpc/bindrsvprt.c: Likewise.
42772 * sunrpc/clnt_gen.c: Likewise.
42773 * sunrpc/clnt_perr.c: Likewise.
42774 * sunrpc/clnt_raw.c: Likewise.
42775 * sunrpc/clnt_simp.c: Likewise.
42776 * sunrpc/clnt_tcp.c: Likewise.
42777 * sunrpc/clnt_udp.c: Likewise.
42778 * sunrpc/clnt_unix.c: Likewise.
42779 * sunrpc/des_crypt.c: Likewise.
42780 * sunrpc/des_soft.c: Likewise.
42781 * sunrpc/get_myaddr.c: Likewise.
42782 * sunrpc/getrpcport.c: Likewise.
42783 * sunrpc/key_call.c: Likewise.
42784 * sunrpc/key_prot.c: Likewise.
42785 * sunrpc/openchild.c: Likewise.
42786 * sunrpc/pm_getmaps.c: Likewise.
42787 * sunrpc/pm_getport.c: Likewise.
42788 * sunrpc/pmap_clnt.c: Likewise.
42789 * sunrpc/pmap_prot.c: Likewise.
42790 * sunrpc/pmap_prot2.c: Likewise.
42791 * sunrpc/pmap_rmt.c: Likewise.
42792 * sunrpc/rpc/auth.h: Likewise.
42793 * sunrpc/rpc/auth_unix.h: Likewise.
42794 * sunrpc/rpc/clnt.h: Likewise.
42795 * sunrpc/rpc/des_crypt.h: Likewise.
42796 * sunrpc/rpc/key_prot.h: Likewise.
42797 * sunrpc/rpc/netdb.h: Likewise.
42798 * sunrpc/rpc/pmap_clnt.h: Likewise.
42799 * sunrpc/rpc/pmap_prot.h: Likewise.
42800 * sunrpc/rpc/pmap_rmt.h: Likewise.
42801 * sunrpc/rpc/rpc.h: Likewise.
42802 * sunrpc/rpc/rpc_des.h: Likewise.
42803 * sunrpc/rpc/rpc_msg.h: Likewise.
42804 * sunrpc/rpc/svc.h: Likewise.
42805 * sunrpc/rpc/svc_auth.h: Likewise.
42806 * sunrpc/rpc/types.h: Likewise.
42807 * sunrpc/rpc/xdr.h: Likewise.
42808 * sunrpc/rpc_clntout.c: Likewise.
42809 * sunrpc/rpc_cmsg.c: Likewise.
42810 * sunrpc/rpc_common.c: Likewise.
42811 * sunrpc/rpc_cout.c: Likewise.
42812 * sunrpc/rpc_dtable.c: Likewise.
42813 * sunrpc/rpc_hout.c: Likewise.
42814 * sunrpc/rpc_main.c: Likewise.
42815 * sunrpc/rpc_parse.c: Likewise.
42816 * sunrpc/rpc_parse.h: Likewise.
42817 * sunrpc/rpc_prot.c: Likewise.
42818 * sunrpc/rpc_sample.c: Likewise.
42819 * sunrpc/rpc_scan.c: Likewise.
42820 * sunrpc/rpc_scan.h: Likewise.
42821 * sunrpc/rpc_svcout.c: Likewise.
42822 * sunrpc/rpc_tblout.c: Likewise.
42823 * sunrpc/rpc_util.c: Likewise.
42824 * sunrpc/rpc_util.h: Likewise.
42825 * sunrpc/rpcinfo.c: Likewise.
42826 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42827 * sunrpc/rpcsvc/key_prot.x: Likewise.
42828 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42829 * sunrpc/rpcsvc/mount.x: Likewise.
42830 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42831 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42832 * sunrpc/rpcsvc/rex.x: Likewise.
42833 * sunrpc/rpcsvc/rstat.x: Likewise.
42834 * sunrpc/rpcsvc/rusers.x: Likewise.
42835 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42836 * sunrpc/rpcsvc/spray.x: Likewise.
42837 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42838 * sunrpc/rtime.c: Likewise.
42839 * sunrpc/svc.c: Likewise.
42840 * sunrpc/svc_auth.c: Likewise.
42841 * sunrpc/svc_authux.c: Likewise.
42842 * sunrpc/svc_raw.c: Likewise.
42843 * sunrpc/svc_run.c: Likewise.
42844 * sunrpc/svc_simple.c: Likewise.
42845 * sunrpc/svc_tcp.c: Likewise.
42846 * sunrpc/svc_udp.c: Likewise.
42847 * sunrpc/svc_unix.c: Likewise.
42848 * sunrpc/svcauth_des.c: Likewise.
42849 * sunrpc/xcrypt.c: Likewise.
42850 * sunrpc/xdr.c: Likewise.
42851 * sunrpc/xdr_array.c: Likewise.
42852 * sunrpc/xdr_float.c: Likewise.
42853 * sunrpc/xdr_mem.c: Likewise.
42854 * sunrpc/xdr_rec.c: Likewise.
42855 * sunrpc/xdr_ref.c: Likewise.
42856 * sunrpc/xdr_sizeof.c: Likewise.
42857 * sunrpc/xdr_stdio.c: Likewise.
42859 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42862 2010-08-19 Andreas Schwab <schwab@redhat.com>
42864 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42866 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42868 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42870 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42871 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42872 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42873 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42874 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42875 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42876 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42878 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42879 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42880 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42881 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42883 2010-07-26 Anton Blanchard <anton@samba.org>
42885 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42886 * malloc/arena.c (heap_trim): Likewise.
42888 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42890 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42893 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42895 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42897 * sysdeps/i386/elf/Makefile: New file.
42899 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42901 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42902 from fanotify_init.
42903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42904 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42906 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42908 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42910 * sysdeps/multiarch/strcmp.S: Likewise.
42912 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42914 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42915 strncase_l-nonascii.
42916 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42917 Add strncase_l-ssse3.
42918 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42919 * sysdeps/x86_64/strcmp.S: Likewise.
42920 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42921 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42922 * sysdeps/x86_64/strncase.S: New file.
42923 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42924 * sysdeps/x86_64/strncase_l.S: New file.
42925 * string/Makefile (strop-tests): Add strncasecmp.
42926 * string/test-strncasecmp.c: New file.
42928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42931 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42932 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42934 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42936 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42938 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42940 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42944 2010-05-01 Alan Modra <amodra@gmail.com>
42946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42947 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42948 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42949 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42950 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42951 tidying. Don't tail-call __sigjmp_save for static lib.
42952 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42954 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42955 (CALL_MCOUNT): Add eh info, and nop after bl.
42956 (TAIL_CALL_SYSCALL_ERROR): New macro.
42957 (PSEUDO_RET): Use it.
42958 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42959 Correct save location of integer regs and cr.
42960 (_dl_profile_resolve): Correct cr save location. Delete nops
42961 after bl when SHARED. Reduce cfi size a little by better
42962 placement of cfi directives.
42963 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42964 make a stack frame. Instead use parm save area as a temp.
42965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42966 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42968 Don't make a stack frame for parent, use parm save area.
42969 Increase child stack frame to 112 bytes. Don't save unused reg,
42970 and adjust reg usage. Set up cfi on error recovery and
42971 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42973 (__makecontext): Add dummy nop after jump to exit.
42974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42975 Use correct parm save area and cr save, reduce stack frame.
42976 Correct cfi for possible PSEUDO_RET frame setup.
42977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42978 Branch to local label emitted by PSEUDO_RET rather than
42981 2010-08-12 Andreas Schwab <schwab@redhat.com>
42984 * locale/programs/locale.c (print_assignment): New function.
42985 (show_locale_vars): Use it.
42987 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42989 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42991 (struct statfs64): Likewise.
42992 (_STATFS_F_FLAGS): Define.
42993 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42994 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42995 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42996 (ST_VALID): Define locally.
42997 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42998 __statvfs_getflags, use the provided value.
42999 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43000 __ASSUME_STATFS_F_FLAGS.
43002 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43004 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43005 Add sys/fanotify.h.
43006 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43007 fanotify_mask for GLIBC_2.13.
43008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43009 fanotify_init and fanotify_mark.
43010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43011 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43013 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43015 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43016 prlimit64 for GLIBC_2.13.
43017 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43022 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43023 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43024 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43027 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43030 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43031 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43033 * nss/Makefile: Add rules to build and run tst-nss-test1.
43034 * shlib-versions: Add entry for libnss_test1.
43035 * nss/nss_test1.c: New file.
43036 * nss/tst-nss-test1.c: New file.
43038 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43039 (__nss_configure_lookup): Set appropriate entry in
43040 __nss_configure_lookup to true.
43041 * nss/nsswitch.h: Define enum with indeces of databases in
43042 databases and __nss_database_custom arrays. Declare
43043 __nss_database_custom.
43044 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43045 to avoid using nscd when custom rules are installed.
43046 * nss/getXXbyYY_r.c: Likewise.
43047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43049 * nss/nss_files/files-parse.c: Whitespace fixes.
43051 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43054 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43055 * posix/fnmatch_loop.c: Likewise.
43057 2010-07-17 Andi Kleen <ak@linux.intel.com>
43059 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43060 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43061 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43062 * Versions.def [GLIBC_2.13]: Add.
43064 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43066 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43067 Also fail if tpwd after pwuid call is NULL.
43069 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43071 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43072 when converting to ms.
43074 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43076 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43077 EOPNOTSUPP errors with ENOTTY.
43078 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43079 EOPNOTSUPP errors with ENOTTY.
43081 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43083 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43084 Add strcasecmp_l-ssse3.
43085 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43087 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43088 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43089 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43091 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43093 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43095 * string/Makefile (strop-tests): Add strcasecmp.
43096 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43097 strcasecmp_l-nonascii.
43098 (gen-as-const-headers): Add locale-defines.sym.
43099 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43100 * sysdeps/x86_64/strcasecmp.S: New file.
43101 * sysdeps/x86_64/strcasecmp_l.S: New file.
43102 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43103 * sysdeps/x86_64/locale-defines.sym: New file.
43104 * string/test-strcasecmp.c: New file.
43106 * string/test-strcasestr.c: Test both ends of the range of characters.
43107 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43109 2010-07-29 Roland McGrath <roland@redhat.com>
43112 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43114 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43116 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43119 2010-07-27 Andreas Schwab <schwab@redhat.com>
43121 * manual/memory.texi (Malloc Tunable Parameters): Document
43124 2010-07-26 Roland McGrath <roland@redhat.com>
43127 * configure.in (-fgnu89-inline check): Set and substitute
43128 gnu89_inline, not libc_cv_gnu89_inline.
43129 * configure: Regenerated.
43130 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43132 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43134 * string/test-strnlen.c: New file.
43135 * string/Makefile (strop-tests): Add strnlen.
43136 * string/tester.c (test_strnlen): Add a few more test cases.
43137 * string/tst-strlen.c: Better error reporting.
43139 * sysdeps/x86_64/strnlen.S: New file.
43141 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43143 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43144 lower-latency instructions.
43146 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43148 * string/test-strcasestr.c: New file.
43149 * string/test-strstr.c: New file.
43150 * string/Makefile (strop-tests): Add strstr and strcasestr.
43151 * string/str-two-way.h: Don't undefine MAX.
43152 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43154 2010-07-21 Andreas Schwab <schwab@redhat.com>
43156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43157 strcasestr-nonascii.
43158 (CFLAGS-strcasestr-nonascii.c): Define.
43159 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43160 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43161 Remove unused attribute.
43163 2010-07-20 Roland McGrath <roland@redhat.com>
43165 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43166 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43167 ld.so.cache was broken. With it, there is no way to disable dsocaps
43168 like LD_HWCAP_MASK can disable hwcaps.
43170 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43172 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43174 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43176 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43177 call in strcasestr.
43178 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43179 __strcasestr_sse42_nonascii.
43180 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43181 strcasestr-nonascii.c.
43182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43184 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43186 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43188 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43189 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43191 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43193 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43196 2010-07-06 Andreas Schwab <schwab@redhat.com>
43199 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43202 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43205 _PC_PIPE_BUF using F_GETPIPE_SZ.
43207 2010-07-05 Roland McGrath <roland@redhat.com>
43209 * manual/arith.texi (Rounding Functions): Fix rint description
43210 implicit in round description.
43212 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43214 * elf/Makefile: Fix linking for a few tests to make recent linker
43217 2010-06-30 Andreas Schwab <schwab@redhat.com>
43219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43220 $(common-objpfx)libc_nonshared.a.
43222 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43224 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43225 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43226 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43227 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43228 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43230 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43231 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43246 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43247 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43248 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43249 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43250 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43251 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43252 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43253 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43254 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43255 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43256 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43257 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43273 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43275 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43276 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43277 * string/memmove.c (memmove): Renamed to ...
43278 (MEMMOVE): ...this. Default to memmove.
43279 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43280 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43283 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43284 mempcpy-ssse3-back memmove-ssse3-back.
43285 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43288 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43289 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43290 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43291 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43292 * sysdeps/x86_64/multiarch/memmove.c: New file.
43293 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43294 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43295 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43296 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43300 (index_Fast_Copy_Backward): Define.
43301 (HAS_ARCH_FEATURE): Define.
43302 (HAS_FAST_REP_STRING): Define.
43303 (HAS_FAST_COPY_BACKWARD): Define.
43305 2010-06-21 Andreas Schwab <schwab@redhat.com>
43307 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43308 Restore proper fallback handling.
43310 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43313 * posix/group_member.c (__group_member): Correct checking loop.
43315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43316 OOM in getpwuid_r correctly. Return error number when the caller
43317 should return, otherwise -1.
43318 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43319 call returning > 0 value.
43320 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43322 2010-06-07 Andreas Schwab <schwab@redhat.com>
43324 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43325 libc_nonshared.a from targets in modules-names.
43327 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43329 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43332 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43335 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43337 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43339 2010-06-02 Andreas Schwab <schwab@redhat.com>
43341 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43343 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43354 2010-06-14 Roland McGrath <roland@redhat.com>
43356 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43358 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43360 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43361 __REDIRECT followed by __THROW.
43362 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43363 * posix/getopt.h (getopt): Likewise.
43365 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43367 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43368 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43369 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43371 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43372 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43374 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43376 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43378 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43382 Properly check family and model.
43384 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43386 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43388 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43390 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43392 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43394 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43397 2010-05-19 Andreas Schwab <schwab@redhat.com>
43399 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43402 2010-05-21 Andreas Schwab <schwab@redhat.com>
43404 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43405 and internal_recvmmsg.
43406 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43407 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43409 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43411 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43412 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43413 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43415 2010-05-20 Andreas Schwab <schwab@redhat.com>
43417 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43419 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43421 POWER7 optimizations.
43422 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43423 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43425 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43427 * version.h: Update for 2.13 development version.
43429 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43431 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43432 exceptions. Return 0.
43434 2010-05-07 Roland McGrath <roland@redhat.com>
43436 * elf/ldconfig.c (main): Add a const.
43438 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43440 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43441 (args_options): Add no-idn option.
43442 (ahosts_keys_int): Add idn_flags to ai_flags.
43443 (parse_option): Handle 'i' option to clear idn_flags.
43445 * malloc/malloc.c (_int_free): Possible race in the most recently
43446 added check. Only act on the data if no current modification
43449 See ChangeLog.17 for earlier changes.